\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=b22d107a&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=b22d107a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b22d107a\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=3202268f&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=3202268f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3202268f\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n \n \n\n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d543b3e4\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3344f2bf\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=600cb1a8&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=600cb1a8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-600cb1a8\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=e7f9b796&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=e7f9b796&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e7f9b796\"]])\n\nexport default __exports__","\n
\n
\n \n \n \n
\n\n
\n \n \n \n
\n\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=7babaacc&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=7babaacc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7babaacc\"]])\n\nexport default __exports__","var map = {\n\t\"./Battery\": [\n\t\t9651,\n\t\t9,\n\t\t9651\n\t],\n\t\"./Battery.vue\": [\n\t\t9651,\n\t\t9,\n\t\t9651\n\t],\n\t\"./BinarySensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BinarySensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BluetoothDevice\": [\n\t\t9767,\n\t\t9,\n\t\t3490,\n\t\t9767\n\t],\n\t\"./BluetoothDevice.vue\": [\n\t\t9767,\n\t\t9,\n\t\t3490,\n\t\t9767\n\t],\n\t\"./BluetoothService\": [\n\t\t5498,\n\t\t9,\n\t\t3490,\n\t\t5498\n\t],\n\t\"./BluetoothService.vue\": [\n\t\t5498,\n\t\t9,\n\t\t3490,\n\t\t5498\n\t],\n\t\"./Button\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./Button.vue\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./CompositeSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./CompositeSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./ContactSensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./ContactSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./CurrentSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./CurrentSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Device\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./Device.vue\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./DewPointSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./DewPointSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Dimmer\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./Dimmer.vue\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./EnergySensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./EnergySensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Entity\": [\n\t\t1765,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t1765,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3459,\n\t\t9\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3459,\n\t\t9\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EnumSensor\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./EnumSensor.vue\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./EnumSwitch\": [\n\t\t2306,\n\t\t9,\n\t\t2306\n\t],\n\t\"./EnumSwitch.vue\": [\n\t\t2306,\n\t\t9,\n\t\t2306\n\t],\n\t\"./HeartRateSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HeartRateSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HumiditySensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HumiditySensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./IlluminanceSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./IlluminanceSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Index\": [\n\t\t1404,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t1404,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t2315,\n\t\t9,\n\t\t7782,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./Light.vue\": [\n\t\t2315,\n\t\t9,\n\t\t7782,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./LinkQuality\": [\n\t\t8126,\n\t\t9,\n\t\t8126\n\t],\n\t\"./LinkQuality.vue\": [\n\t\t8126,\n\t\t9,\n\t\t8126\n\t],\n\t\"./Modal\": [\n\t\t9429,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t9429,\n\t\t9\n\t],\n\t\"./MotionSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./MotionSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Muted\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Muted.vue\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./NumericSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./NumericSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PowerSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PowerSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PresenceSensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PresenceSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PressureSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PressureSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./RawSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./RawSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Selector\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Sensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Sensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./StepsSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./StepsSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Switch\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Switch.vue\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./TemperatureSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TemperatureSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TimeDurationSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TimeDurationSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./VoltageSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./VoltageSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Volume\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./Volume.vue\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./WeightSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./WeightSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","endsWith","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","endPosition","arguments","length","undefined","len","end","search","un$StartsWith","startsWith","stringSlice","index","class","hasChildren","isCollapsed","value","name","justUpdated","component","parent","children","computedChildren","loading","ref","error","reachable","onClick","$emit","$event","toggleCollapsed","entity","key","id","level","mixins","EntityMixin","emits","data","computed","Object","values","filter","child","collapsed","instance","$refs","methods","valuesEqual","a","b","objectsEqual","event","stopPropagation","classList","contains","onEntityUpdate","entityId","isChildUpdate","setJustUpdated","self","setTimeout","mounted","type","split","map","t","toUpperCase","join","$watch","newValue","oldValue","bus","__exports__","render","src","colorFill","style","colorFillStyle","computedIconNormalized","components","Icon","props","Boolean","default","required","icon","hasColorFill","modalVisible","computedIcon","meta","keys","color","entityType","charAt","Utils","Number","s","entityGroups","selector","title","refresh","modalEntityId","entities","parent_id","childrenByParentId","visible","configValuesByParentId","onEntityModal","displayGroups","group","grouping","entitiesMeta","typesByCategory","pluginIcons","url","imgUrl","onEntityInput","errorEntities","loadingEntities","Loading","Entity","Selector","NoItems","EntityModal","entityScanTimeout","entityTimeouts","selectedEntities","icons","entityTypes","groupEntities","entries","reduce","obj","name_plural","entry","e","sort","localeCompare","attr","_shouldSkipLoading","hasReadableChildren","is_configuration","is_write_only","is_query_disabled","args","plugins","plugin","clearTimeout","console","warn","request","sync","name_override","category","parentId","clearEntityTimeouts","state","onEntityDelete","subscribe","unmounted","unsubscribe","href","external_id","onDelete","editName","onRename","disabled","editIcon","onIconEdit","onIconColorEdit","description","external_url","text","image_url","created_at","updated_at","deleteConfirmDiag","show","childrenCollapsed","prettify","extraInfoCollapsed","specialFields","indexOf","computedConfig","configCollapsed","onConfirm","confirmText","close","cancelText","Modal","modal","hide","proxy","submit","input","focus","EntityIcon","EditButton","NameEditor","ConfirmDialog","configValues","newName","req","newIcon","stringify","Array","isArray","JSON","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/1765.3c1f0eb7.js b/platypush/backend/http/webapp/dist/static/js/1765.3c1f0eb7.js
new file mode 100644
index 0000000000..9ba76ef66d
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/1765.3c1f0eb7.js
@@ -0,0 +1,2 @@
+(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1765],{1765:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var i=n(6252),s=n(3577),l=n(9963);const a={key:0,class:"children fade-in"};function o(e,t,n,o,r,c){const u=(0,i.up)("Entity",!0);return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["entity-container-wrapper",{"with-children":c.hasChildren,collapsed:c.isCollapsed,hidden:!e.value?.name?.length}])},[(0,i._)("div",{class:(0,s.C_)(["row item entity-container",{"with-children":c.hasChildren,collapsed:c.isCollapsed,blink:r.justUpdated}])},[(0,i._)("div",{class:(0,s.C_)(["adjuster",{"col-12":!c.hasChildren,"col-11":c.hasChildren}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{value:e.value,parent:e.parent,children:c.computedChildren,loading:e.loading,ref:"instance",error:e.error||0==e.value?.reachable,onClick:c.onClick,onInput:t[0]||(t[0]=t=>e.$emit("input",t)),onLoading:t[1]||(t[1]=t=>e.$emit("loading",t))},null,8,["value","parent","children","loading","error","onClick"]))],2),c.hasChildren?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"col-1 collapse-toggler",onClick:t[2]||(t[2]=(0,l.iM)(((...e)=>c.toggleCollapsed&&c.toggleCollapsed(...e)),["stop"]))},[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":c.isCollapsed,"fa-chevron-up":!c.isCollapsed}])},null,2)])):(0,i.kq)("",!0)],2),c.isCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(c.computedChildren,(n=>((0,i.wg)(),(0,i.iD)("div",{class:"child",key:n.id},[(0,i.Wm)(u,{value:n,parent:e.value,loading:e.loading,level:e.level+1,onShowModal:t[3]||(t[3]=t=>e.$emit("show-modal",t)),onInput:t=>e.$emit("input",n)},null,8,["value","parent","loading","level","onInput"])])))),128))]))],2)}var r=n(2262),c=n(7909),u=n(5250),d={name:"Entity",mixins:[c["default"]],emits:["input","loading","update","show-modal"],data(){return{component:null,justUpdated:!1}},computed:{computedChildren(){return Object.values(this.children||{}).filter((e=>e))},hasChildren(){return!!this.computedChildren.length},isCollapsed(){return!this.hasChildren||this.collapsed},instance(){return this.$refs.instance}},methods:{valuesEqual(e,t){e={...e},t={...t};for(const n of["updated_at","data"])delete e[n],delete t[n];return this.objectsEqual(e,t)},onClick(e){e.stopPropagation(),e.target.classList.contains("label")||e.target.classList.contains("head")?this.toggleCollapsed():this.$emit("show-modal",this.value.id)},onEntityUpdate(e){const t=e?.id,n=null!=t&&this.children&&t in this.children;n&&this.setJustUpdated()},toggleCollapsed(){this.collapsed=!this.collapsed,this.instance&&(this.instance.collapsed=!this.instance.collapsed)},setJustUpdated(){this.justUpdated=!0;const e=this;setTimeout((()=>e.justUpdated=!1),1e3)}},mounted(){if("Entity"!==this.type){const e=this.type.split("_").map((e=>e[0].toUpperCase()+e.slice(1))).join("");this.$watch((()=>this.value),((e,t)=>{if(this.valuesEqual(t,e))return!1;this.setJustUpdated(),this.$emit("update",{value:e})})),this.component=(0,r.XI)((0,i.RC)((()=>n(7243)(`./${e}`))))}u.$.onEntity(this.onEntityUpdate)}},p=n(3744);const m=(0,p.Z)(d,[["render",o],["__scopeId","data-v-b22d107a"]]);var h=m},3459:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var i=n(6252),s=n(3577),l=n(3540);const a={key:0,src:l,class:"loading"},o={key:1,class:"fas fa-circle-exclamation error"};function r(e,t,n,l,r,c){const u=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["entity-icon-container",{"with-color-fill":!!c.colorFill}]),style:(0,s.j5)(c.colorFillStyle)},[n.loading?((0,i.wg)(),(0,i.iD)("img",a)):n.error?((0,i.wg)(),(0,i.iD)("i",o)):((0,i.wg)(),(0,i.j4)(u,(0,s.vs)((0,i.dG)({key:2},c.computedIconNormalized)),null,16))],6)}var c=n(1478),u={name:"EntityIcon",components:{Icon:c.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:()=>{}},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{computedIcon(){let e={...this.entity?.meta?.icon||{}};return Object.keys(this.icon||{}).length&&(e=this.icon),{...e}},colorFill(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized(){const e={...this.computedIcon};return this.colorFill&&delete e.color,e},type(){let e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},d=n(3744);const p=(0,d.Z)(u,[["render",r],["__scopeId","data-v-4fad24e6"]]);var m=p},7909:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var i=n(6813),s={name:"EntityMixin",mixins:[i.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0},parent:{type:Object,default:()=>{}},children:{type:Object,default:()=>{}},level:{type:Number,default:0}},data(){return{modalVisible:!1,collapsed:!0}},computed:{type(){let e=this.value.type||"";return e.split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}}};const l=s;var a=l},1404:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=n(6252),s=n(3577);const l=e=>((0,i.dD)("data-v-3202268f"),e=e(),(0,i.Cn)(),e),a={class:"row plugin entities-container"},o={class:"col-11 left"},r={class:"col-1 right"},c=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),u=[c],d={class:"groups-canvas"},p=(0,i.Uk)("No entities found"),m={key:2,class:"groups-container"},h={class:"frame"},y={class:"header"},f={class:"section left"},g={class:"section center"},v=["textContent"],_={class:"section right"},w=["onClick"],C=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),b=[C],k={class:"body"};function S(e,t,n,l,c,C){const S=(0,i.up)("Loading"),E=(0,i.up)("Selector"),I=(0,i.up)("EntityModal"),x=(0,i.up)("NoItems"),D=(0,i.up)("Icon"),j=(0,i.up)("Entity");return(0,i.wg)(),(0,i.iD)("div",a,[c.loading?((0,i.wg)(),(0,i.j4)(S,{key:0})):(0,i.kq)("",!0),(0,i._)("header",null,[(0,i._)("div",o,[(0,i.Wm)(E,{"entity-groups":C.entityGroups,value:c.selector,onInput:t[0]||(t[0]=e=>c.selector=e)},null,8,["entity-groups","value"])]),(0,i._)("div",r,[(0,i._)("button",{title:"Refresh",onClick:t[1]||(t[1]=(...e)=>C.refresh&&C.refresh(...e))},u)])]),(0,i._)("div",d,[c.modalEntityId&&c.entities[c.modalEntityId]?((0,i.wg)(),(0,i.j4)(I,{key:0,entity:c.entities[c.modalEntityId],parent:c.entities[c.entities[c.modalEntityId].parent_id],children:C.childrenByParentId(c.modalEntityId),visible:c.modalVisible,"config-values":C.configValuesByParentId(c.modalEntityId),onClose:C.onEntityModal,onEntityUpdate:t[2]||(t[2]=e=>c.modalEntityId=e)},null,8,["entity","parent","children","visible","config-values","onClose"])):(0,i.kq)("",!0),Object.keys(C.displayGroups||{})?.length?((0,i.wg)(),(0,i.iD)("div",m,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(C.displayGroups,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"group fade-in",key:e.name},[(0,i._)("div",h,[(0,i._)("div",y,[(0,i._)("span",f,["category"===c.selector.grouping&&C.entitiesMeta[C.typesByCategory[e.name]]?((0,i.wg)(),(0,i.j4)(D,(0,s.vs)((0,i.dG)({key:0},C.entitiesMeta[C.typesByCategory[e.name]].icon||{})),null,16)):"plugin"===c.selector.grouping&&C.pluginIcons[e.name]?((0,i.wg)(),(0,i.j4)(D,{key:1,class:(0,s.C_)(C.pluginIcons[e.name]?.class),url:C.pluginIcons[e.name]?.imgUrl},null,8,["class","url"])):(0,i.kq)("",!0)]),(0,i._)("span",g,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.name)},null,8,v)]),(0,i._)("span",_,[(0,i._)("button",{title:"Refresh",onClick:t=>C.refresh(e)},b,8,w)])]),(0,i._)("div",k,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.entities,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"entity-frame",key:e.id},[e.parent_id?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(j,{key:0,value:e,children:C.childrenByParentId(e.id),onShowModal:t[3]||(t[3]=e=>C.onEntityModal(e)),onInput:t=>C.onEntityInput(e),error:!!c.errorEntities[e.id],loading:!!c.loadingEntities[e.id],onLoading:t=>c.loadingEntities[e.id]=t},null,8,["value","children","onInput","error","loading","onLoading"]))])))),128))])])])))),128))])):((0,i.wg)(),(0,i.j4)(x,{key:1},{default:(0,i.w5)((()=>[p])),_:1}))])])}var E=n(6813),I=n(1232),x=n(1478);const D={class:"no-items-container"},j={class:"no-items fade-in"};function G(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("div",D,[(0,i._)("div",j,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])}var T={name:"NoItems"},O=n(3744);const q=(0,O.Z)(T,[["render",G],["__scopeId","data-v-6fec32b5"]]);var U=q,$=n(1765),B=n(6518),M=n(9429),L=n(5250),N=n(1359),z=n(7369),F={name:"Entities",components:{Loading:I.Z,Icon:x.Z,Entity:$["default"],Selector:B["default"],NoItems:U,EntityModal:M["default"]},mixins:[E.Z],props:{entityScanTimeout:{type:Number,default:30}},data(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"category",selectedEntities:{}}}},computed:{entitiesMeta(){return z},pluginIcons(){return N},entityTypes(){return this.groupEntities("type")},typesByCategory(){return Object.entries(z).reduce(((e,[t,n])=>(e[n.name_plural]=t,e)),{})},entityGroups(){return{id:Object.entries(this.groupEntities("id")).reduce(((e,[t,n])=>(e[t]=n[0],e)),{}),category:this.groupEntities("category"),plugin:this.groupEntities("plugin")}},displayGroups(){return Object.entries(this.entityGroups[this.selector.grouping]).filter((e=>e[1].filter((e=>!!this.selector.selectedEntities[e.id]&&null==e.parent_id)).length>0)).map((([e,t])=>({name:e,entities:t.filter((e=>e.id in this.selector.selectedEntities))}))).sort(((e,t)=>e.name.localeCompare(t.name)))}},methods:{groupEntities(e){return Object.values(this.entities).filter((e=>null==e.parent_id)).reduce(((t,n)=>{const i=t[n[e]]||{};return i[n.id]=n,t[n[e]]=Object.values(i).sort(((e,t)=>e.name.localeCompare(t.name))),t}),{})},_shouldSkipLoading(e){const t=Object.values(this.childrenByParentId(e.id)),n=t.filter((e=>!e.is_configuration&&!e.is_write_only&&!e.is_query_disabled)).length>0;return e.is_query_disabled||e.is_write_only||t.length&&!n},async refresh(e){const t=(e?e.entities:this.entities)||{},n={};e&&(n.plugins=Object.keys(t.reduce(((e,t)=>(e[t.plugin]=!0,e)),{}))),this.loadingEntities=Object.values(t).reduce(((e,t)=>{if(this._shouldSkipLoading(t))return e;const n=this,i=t.id;return this.entityTimeouts[i]&&clearTimeout(this.entityTimeouts[i]),this.entityTimeouts[i]=setTimeout((()=>{n.loadingEntities[i]&&delete n.loadingEntities[i],n.entityTimeouts[i]&&delete n.entityTimeouts[i],n.errorEntities[i]=t,console.warn(`Scan timeout for ${t.name}`)}),1e3*this.entityScanTimeout),e[i]=!0,e}),{}),await this.request("entities.scan",n)},async sync(){this.loading=!0;try{this.entities=(await this.request("entities.get")).reduce(((e,t)=>(t.name=t?.meta?.name_override||t.name,t.category=z[t.type].name_plural,t.meta={...z[t.type]||{},...t.meta||{}},e[t.id]=t,e)),{}),this.selector.selectedEntities=this.entityGroups.id}finally{this.loading=!1}},childrenByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&!t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},configValuesByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},clearEntityTimeouts(e){this.errorEntities[e]&&delete this.errorEntities[e],this.loadingEntities[e]&&delete this.loadingEntities[e],this.entityTimeouts[e]&&(clearTimeout(this.entityTimeouts[e]),delete this.entityTimeouts[e])},onEntityInput(e){e.category=z[e.type].name_plural,this.entities[e.id]=e,this.clearEntityTimeouts(e.id),this.loadingEntities[e.id]&&delete this.loadingEntities[e.id]},onEntityUpdate(e){const t=e.entity.id;if(null==t)return;this.clearEntityTimeouts(t);const n={...e.entity};null==e.entity?.state&&(n.state=this.entities[t]?.state),n.meta?.name_override?.length?n.name=n.meta.name_override:this.entities[t]?.meta?.name_override?.length?n.name=this.entities[t].meta.name_override:n.name=e.entity?.name||this.entities[t]?.name,n.category=z[n.type].name_plural,n.meta={...z[e.entity.type]||{},...this.entities[t]?.meta||{},...e.entity?.meta||{}},this.entities[t]=n,L.$.publishEntity(n)},onEntityDelete(e){const t=e.entity?.id;null!=t&&(t===this.modalEntityId&&(this.modalEntityId=null),this.entities[t]&&delete this.entities[t])},onEntityModal(e){e?(this.modalEntityId=e,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},async mounted(){this.subscribe(this.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),await this.sync(),await this.refresh()},unmounted(){this.unsubscribe("on-entity-update")}};const Z=(0,O.Z)(F,[["render",S],["__scopeId","data-v-3202268f"]]);var P=Z},9429:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return gt}});var i=n(6252),s=n(3577),l=n(9963);const a=e=>((0,i.dD)("data-v-e7f9b796"),e=e(),(0,i.Cn)(),e),o=(0,i.Uk)(" Are you "),r=a((()=>(0,i._)("b",null,"sure",-1))),c=(0,i.Uk)(" that you want to delete this entity? "),u=a((()=>(0,i._)("br",null,null,-1))),d=a((()=>(0,i._)("br",null,null,-1))),p=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),m=a((()=>(0,i._)("br",null,null,-1))),h=a((()=>(0,i._)("br",null,null,-1))),y=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),f={class:"table-row"},g={class:"title"},v=(0,i.Uk)(" Name "),_={class:"value"},w=["textContent"],C={class:"table-row"},b={class:"title"},k=(0,i.Uk)(" Icon "),S={class:"value icon-canvas"},E={key:0,class:"icon-editor"},I=a((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),x=[I],D=a((()=>(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1))),j={class:"table-row"},G=a((()=>(0,i._)("div",{class:"title"}," Icon color ",-1))),T={class:"value icon-color-picker"},O=["value"],q=a((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),U=[q],$={class:"table-row"},B=a((()=>(0,i._)("div",{class:"title"},"Plugin",-1))),M=["textContent"],L={class:"table-row"},N=a((()=>(0,i._)("div",{class:"title"},"Internal ID",-1))),z=["textContent"],F={key:0,class:"table-row"},Z=a((()=>(0,i._)("div",{class:"title"},"External ID",-1))),P=["textContent"],V={key:1,class:"table-row"},W=a((()=>(0,i._)("div",{class:"title"},"Description",-1))),H=["textContent"],R={key:2,class:"table-row"},K=a((()=>(0,i._)("div",{class:"title"},"External URL",-1))),Y={class:"value url"},A=["href","text"],J={key:3,class:"table-row"},Q=a((()=>(0,i._)("div",{class:"title"},"Image",-1))),X={class:"value"},ee=["src"],te={key:4,class:"table-row"},ne=a((()=>(0,i._)("div",{class:"title"},"Parent",-1))),ie={class:"value"},se=["textContent"],le={key:5,class:"table-row"},ae=a((()=>(0,i._)("div",{class:"title"},"Created at",-1))),oe=["textContent"],re={key:6,class:"table-row"},ce=a((()=>(0,i._)("div",{class:"title"},"Updated at",-1))),ue=["textContent"],de=a((()=>(0,i._)("div",{class:"title"},"Delete Entity",-1))),pe={class:"value"},me=a((()=>(0,i._)("i",{class:"fas fa-trash"},null,-1))),he=[me],ye={key:7,class:"section children-container"},fe=a((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-sitemap"}),(0,i.Uk)(" Children ")],-1))),ge={class:"col-1 pull-right"},ve={key:0,class:"children-container-info"},_e={class:"title"},we={class:"value"},Ce=["onClick","textContent"],be={class:"section extra-info-container"},ke=a((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-circle-info"}),(0,i.Uk)(" Extra Info ")],-1))),Se={class:"col-1 pull-right"},Ee={key:0,class:"extra-info"},Ie={key:0,class:"table-row"},xe=["textContent"],De=["textContent"],je={key:0,class:"table-row"},Ge=["textContent"],Te=["textContent"],Oe={key:8,class:"section config-container"},qe=a((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-screwdriver-wrench"}),(0,i.Uk)(" Configuration ")],-1))),Ue={class:"col-1 pull-right"},$e={key:0,class:"entities"};function Be(e,t,n,a,I,q){const me=(0,i.up)("ConfirmDialog"),Be=(0,i.up)("EditButton"),Me=(0,i.up)("NameEditor"),Le=(0,i.up)("Icon"),Ne=(0,i.up)("EntityIcon"),ze=(0,i.up)("Entity"),Fe=(0,i.up)("Modal",!0);return n.entity?((0,i.wg)(),(0,i.j4)(Fe,{key:0,visible:n.visible,class:"entity-modal",title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((()=>[(0,i.Wm)(me,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:q.onDelete},{default:(0,i.w5)((()=>[o,r,c,u,d,p,m,h,y])),_:1},8,["onInput"]),(0,i._)("div",f,[(0,i._)("div",g,[v,I.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(Be,{key:0,onClick:t[0]||(t[0]=e=>I.editName=!0)}))]),(0,i._)("div",_,[I.editName?((0,i.wg)(),(0,i.j4)(Me,{key:0,value:n.entity.name,onInput:q.onRename,onCancel:t[1]||(t[1]=e=>I.editName=!1),disabled:I.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,s.zw)(n.entity.name)},null,8,w))])]),(0,i._)("div",C,[(0,i._)("div",b,[k,I.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(Be,{key:0,onClick:t[2]||(t[2]=e=>I.editIcon=!0)}))]),(0,i._)("div",S,[I.editIcon?((0,i.wg)(),(0,i.iD)("span",E,[(0,i.Wm)(Me,{value:n.entity.meta?.icon?.class||n.entity.meta?.icon?.url,onInput:q.onIconEdit,onCancel:t[5]||(t[5]=e=>I.editIcon=!1),disabled:I.loading},{default:(0,i.w5)((()=>[(0,i._)("button",{type:"button",title:"Reset",onClick:t[3]||(t[3]=e=>q.onIconEdit(null)),onTouch:t[4]||(t[4]=e=>q.onIconEdit(null))},x,32)])),_:1},8,["value","onInput","disabled"]),D])):((0,i.wg)(),(0,i.j4)(Le,(0,s.vs)((0,i.dG)({key:1},n.entity?.meta?.icon||{})),null,16))])]),(0,i._)("div",j,[G,(0,i._)("div",T,[(0,i._)("input",{type:"color",value:n.entity.meta?.icon?.color,onChange:t[6]||(t[6]=(...e)=>q.onIconColorEdit&&q.onIconColorEdit(...e))},null,40,O),(0,i._)("button",{type:"button",title:"Reset",onClick:t[7]||(t[7]=e=>q.onIconColorEdit(null)),onTouch:t[8]||(t[8]=e=>q.onIconColorEdit(null))},U,32)])]),(0,i._)("div",$,[B,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.plugin)},null,8,M)]),(0,i._)("div",L,[N,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.id)},null,8,z)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",F,[Z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.external_id)},null,8,P)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",V,[W,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.description)},null,8,H)])):(0,i.kq)("",!0),n.entity.external_url?((0,i.wg)(),(0,i.iD)("div",R,[K,(0,i._)("div",Y,[(0,i._)("a",{href:n.entity.external_url,target:"_blank",text:n.entity.external_url},null,8,A)])])):(0,i.kq)("",!0),n.entity.image_url?((0,i.wg)(),(0,i.iD)("div",J,[Q,(0,i._)("div",X,[(0,i._)("img",{class:"entity-image",src:n.entity.image_url},null,8,ee)])])):(0,i.kq)("",!0),n.parent?((0,i.wg)(),(0,i.iD)("div",te,[ne,(0,i._)("div",ie,[(0,i._)("a",{class:"url",onClick:t[9]||(t[9]=t=>e.$emit("entity-update",n.parent.id)),textContent:(0,s.zw)(n.parent.name)},null,8,se)])])):(0,i.kq)("",!0),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",le,[ae,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.created_at))},null,8,oe)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",re,[ce,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.updated_at))},null,8,ue)])):(0,i.kq)("",!0),(0,i._)("div",{class:"table-row delete-entity-container",onClick:t[11]||(t[11]=t=>e.$refs.deleteConfirmDiag.show())},[de,(0,i._)("div",pe,[(0,i._)("button",{onClick:t[10]||(t[10]=(0,l.iM)((t=>e.$refs.deleteConfirmDiag.show()),["stop"]))},he)])]),Object.keys(n.children||{}).length?((0,i.wg)(),(0,i.iD)("div",ye,[(0,i._)("div",{class:"title section-title",onClick:t[12]||(t[12]=e=>I.childrenCollapsed=!I.childrenCollapsed)},[fe,(0,i._)("div",ge,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":I.childrenCollapsed,"fa-chevron-up":!I.childrenCollapsed}])},null,2)])]),I.childrenCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",ve,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.children,(t=>((0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["table-row",{hidden:!t.name?.length||t.is_configuration}]),key:t.id},[(0,i._)("div",_e,[(0,i.Wm)(Ne,{entity:n.entity,icon:n.entity.meta?.icon},null,8,["entity","icon"]),(0,i.Uk)(" "+(0,s.zw)(e.prettify(t.type)),1)]),(0,i._)("div",we,[(0,i._)("a",{class:"url",onClick:n=>e.$emit("entity-update",t.id),textContent:(0,s.zw)(t.name)},null,8,Ce)])],2)))),128))]))])):(0,i.kq)("",!0),(0,i._)("div",be,[(0,i._)("div",{class:"title section-title",onClick:t[13]||(t[13]=e=>I.extraInfoCollapsed=!I.extraInfoCollapsed)},[ke,(0,i._)("div",Se,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":I.extraInfoCollapsed,"fa-chevron-up":!I.extraInfoCollapsed}])},null,2)])]),I.extraInfoCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",Ee,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity,((t,n)=>((0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t&&I.specialFields.indexOf(n)<0?((0,i.wg)(),(0,i.iD)("div",Ie,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.prettify(n))},null,8,xe),(0,i._)("div",{class:"value",textContent:(0,s.zw)(q.stringify(t))},null,8,De)])):(0,i.kq)("",!0)])))),128)),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},((t,n)=>((0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t?((0,i.wg)(),(0,i.iD)("div",je,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.prettify(n))},null,8,Ge),(0,i._)("div",{class:"value",textContent:(0,s.zw)(q.stringify(t))},null,8,Te)])):(0,i.kq)("",!0)])))),128))]))]),q.computedConfig.length?((0,i.wg)(),(0,i.iD)("div",Oe,[(0,i._)("div",{class:"title section-title",onClick:t[14]||(t[14]=e=>I.configCollapsed=!I.configCollapsed)},[qe,(0,i._)("div",Ue,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":I.configCollapsed,"fa-chevron-up":!I.configCollapsed}])},null,2)])]),I.configCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",$e,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(q.computedConfig,(t=>((0,i.wg)(),(0,i.j4)(ze,{key:t.id,value:t,onInput:n=>e.$emit("input",t)},null,8,["value","onInput"])))),128))]))])):(0,i.kq)("",!0)])),_:1},8,["visible","title"])):(0,i.kq)("",!0)}var Me=n(8453),Le=n(1478);const Ne=e=>((0,i.dD)("data-v-d543b3e4"),e=e(),(0,i.Cn)(),e),ze={class:"dialog-content"},Fe=Ne((()=>(0,i._)("i",{class:"fas fa-check"},null,-1))),Ze=Ne((()=>(0,i._)("i",{class:"fas fa-xmark"},null,-1)));function Pe(e,t,n,a,o,r){const c=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(c,{ref:"modal",title:n.title},{default:(0,i.w5)((()=>[(0,i._)("div",ze,[(0,i.WI)(e.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:t[4]||(t[4]=(0,l.iM)(((...e)=>r.onConfirm&&r.onConfirm(...e)),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:t[0]||(t[0]=(...e)=>r.onConfirm&&r.onConfirm(...e)),onTouch:t[1]||(t[1]=(...e)=>r.onConfirm&&r.onConfirm(...e))},[Fe,(0,i.Uk)(" "+(0,s.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:t[2]||(t[2]=(...e)=>r.close&&r.close(...e)),onTouch:t[3]||(t[3]=(...e)=>r.close&&r.close(...e))},[Ze,(0,i.Uk)(" "+(0,s.zw)(n.cancelText),1)],32)],32)])),_:3},8,["title"])}var Ve={emits:["input","click","touch"],components:{Modal:Me.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm(){this.$emit("input"),this.close()},show(){this.$refs.modal.show()},close(){this.$refs.modal.hide()}}},We=n(3744);const He=(0,We.Z)(Ve,[["render",Pe],["__scopeId","data-v-d543b3e4"]]);var Re=He;const Ke=e=>((0,i.dD)("data-v-3344f2bf"),e=e(),(0,i.Cn)(),e),Ye=Ke((()=>(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1))),Ae=[Ye];function Je(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:t[0]||(t[0]=e=>a.proxy(e)),onTouch:t[1]||(t[1]=e=>a.proxy(e)),onInput:t[2]||(t[2]=e=>a.proxy(e))},Ae,32)}var Qe={emits:["input","click","touch"],methods:{proxy(e){this.$emit(e.type,e)}}};const Xe=(0,We.Z)(Qe,[["render",Je],["__scopeId","data-v-3344f2bf"]]);var et=Xe,tt=n(3459);const nt=e=>((0,i.dD)("data-v-600cb1a8"),e=e(),(0,i.Cn)(),e),it=["disabled"],st=nt((()=>(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1))),lt=nt((()=>(0,i._)("i",{class:"fas fa-ban"},null,-1))),at=[lt];function ot(e,t,n,s,a,o){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:t[3]||(t[3]=(0,l.iM)(((...e)=>o.submit&&o.submit(...e)),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>a.text=e),disabled:n.disabled,ref:"input"},null,8,it),[[l.nr,a.text]]),st,(0,i._)("button",{class:"cancel",onClick:t[1]||(t[1]=t=>e.$emit("cancel")),onTouch:t[2]||(t[2]=t=>e.$emit("cancel"))},at,32),(0,i.WI)(e.$slots,"default",{},void 0,!0)],32)}var rt={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,default:!1}},data(){return{text:null}},methods:{proxy(e){this.$emit(e.type,e)},submit(){return this.$emit("input",this.text),!1}},mounted(){this.text=this.value,this.$refs.input.focus()}};const ct=(0,We.Z)(rt,[["render",ot],["__scopeId","data-v-600cb1a8"]]);var ut=ct,dt=n(6813),pt=n(1765),mt=n(7369);const ht=["created_at","data","description","external_id","external_url","id","image_url","is_configuration","meta","name","plugin","updated_at","parent_id"];var yt={name:"EntityModal",components:{Entity:pt["default"],EntityIcon:tt["default"],Modal:Me.Z,EditButton:et,NameEditor:ut,Icon:Le.Z,ConfirmDialog:Re},mixins:[dt.Z],emits:["input","loading","entity-update"],props:{entity:{type:Object,required:!0},parent:{type:Object},children:{type:Object},visible:{type:Boolean,default:!1},configValues:{type:Object,default:()=>{}}},computed:{computedConfig(){return Object.values(this.configValues).sort(((e,t)=>(e.name||"").localeCompare(t.name||"")))}},data(){return{loading:!1,editName:!1,editIcon:!1,configCollapsed:!0,childrenCollapsed:!0,extraInfoCollapsed:!0,specialFields:ht}},methods:{async onRename(e){this.loading=!0;try{const t={};t[this.entity.id]=e,await this.request("entities.rename",t)}finally{this.loading=!1,this.editName=!1}},async onDelete(){this.loading=!0;try{await this.request("entities.delete",[this.entity.id])}finally{this.loading=!1}},async onIconEdit(e){this.loading=!0;try{const t={url:null,class:null};e?.length?e.startsWith("http")?t.url=e:t.class=e:(t.url=(mt[this.entity.type]||{})?.icon?.url,t.class=(mt[this.entity.type]||{})?.icon?.["class"]);const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}},async onIconColorEdit(e){this.loading=!0;try{const t=this.entity.meta?.icon||{};t.color=e?e.target.value:null;const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}},stringify(e){return null==e?"":Array.isArray(e)||"object"===typeof e?JSON.stringify(e,null,2):""+e}}};const ft=(0,We.Z)(yt,[["render",Be],["__scopeId","data-v-e7f9b796"]]);var gt=ft},6518:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var i=n(6252),s=n(3577),l=n(9963);const a={class:"entities-selectors-container"},o={class:"selector"},r={key:1,class:"selector"};function c(e,t,n,c,u,d){const p=(0,i.up)("DropdownItem"),m=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",o,[(0,i.Wm)(m,{title:"Group by","icon-class":"fas fa-object-ungroup",ref:"groupingSelector"},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(e=>((0,i.wg)(),(0,i.j4)(p,{key:e,text:d.prettifyGroupingName(e),"item-class":{selected:n.value?.grouping===e},onClick:t=>d.onGroupingChanged(e)},null,8,["text","item-class","onClick"])))),128))])),_:1},512)]),n.value?.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,s.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(m,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(e=>((0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:e,text:e},d.iconForGroup(e),{"item-class":{selected:!!u.selectedGroups[e]},onClick:(0,l.iM)((t=>d.toggleGroup(e)),["stop"])}),null,16,["text","item-class","onClick"])))),128))])),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",r,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":t[0]||(t[0]=e=>u.searchTerm=e)},null,512),[[l.nr,u.searchTerm]])])):(0,i.kq)("",!0)])}var u=n(6813),d=n(5771),p=n(2684),m=n(7369),h=n(1359),y={name:"Selector",emits:["input"],mixins:[u.Z],components:{Dropdown:d.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings(){return Object.keys(this.entityGroups).filter((e=>"id"!==e))},sortedGroups(){return Object.keys(this.entityGroups[this.value?.grouping]||{}).sort()},typesMeta(){return m},isGroupFilterActive(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities(){return Object.values(this.entityGroups.id).filter((e=>{if(!this.selectedGroups[e[this.value?.grouping]])return!1;if(this.searchTerm?.length){const t=this.searchTerm.toLowerCase();return(e.name||"").toLowerCase().indexOf(t)>=0||(e.plugin||"").toLowerCase().indexOf(t)>=0||(e.external_id||"").toLowerCase().indexOf(t)>=0||(e.id||0).toString()==t}return!0})).reduce(((e,t)=>(e[t.id]=t,e)),{})}},methods:{prettifyGroupingName(e){return e?(e=this.prettify(e),e.endsWith("y")&&(e=e.slice(0,e.length-1)+"ie"),e+="s",e):""},iconForGroup(e){if("plugin"===this.value.grouping&&h[e]){const t=h[e];return{"icon-class":t["class"]?.length||!t.imgUrl?.length?t["class"]:"fas fa-gears","icon-url":t.imgUrl}}return{}},synchronizeSelectedEntities(){const e={...this.value};e.selectedEntities=this.selectedEntities,this.$emit("input",e)},updateSearchTerm(){const e={...this.value};e.searchTerm=this.searchTerm,e.selectedEntities=this.selectedEntities,this.$emit("input",e)},refreshGroupFilter(e){if(e)this.selectedGroups=Object.keys(this.entityGroups[this.value?.grouping]||{}).reduce(((e,t)=>(e[t]=!0,e)),{});else for(const t of Object.keys(this.entityGroups[this.value?.grouping]))null==this.selectedGroups[t]&&(this.selectedGroups[t]=!0);this.synchronizeSelectedEntities()},toggleGroup(e){this.selectedGroups[e]=!this.selectedGroups[e],this.synchronizeSelectedEntities()},onGroupingChanged(e){if(!this.entityGroups[e]||e===this.value?.grouping)return!1;const t={...this.value};t.grouping=e,this.$emit("input",t)}},mounted(){this.refreshGroupFilter(!0),this.$watch((()=>this.value?.grouping),(()=>{this.refreshGroupFilter(!0)})),this.$watch((()=>this.searchTerm),this.updateSearchTerm),this.$watch((()=>this.entityGroups),(()=>{this.refreshGroupFilter(!1)}))}},f=n(3744);const g=(0,f.Z)(y,[["render",c],["__scopeId","data-v-7babaacc"]]);var v=g},7243:function(e,t,n){var i={"./Battery":[9651,9,9651],"./Battery.vue":[9651,9,9651],"./BinarySensor":[7549,9,3490,7549],"./BinarySensor.vue":[7549,9,3490,7549],"./BluetoothDevice":[9767,9,3490,9767],"./BluetoothDevice.vue":[9767,9,3490,9767],"./BluetoothService":[5498,9,3490,5498],"./BluetoothService.vue":[5498,9,3490,5498],"./Button":[8625,9,8475,8625],"./Button.vue":[8625,9,8475,8625],"./CompositeSensor":[7367,9,8475,7367],"./CompositeSensor.vue":[7367,9,8475,7367],"./ContactSensor":[7549,9,3490,7549],"./ContactSensor.vue":[7549,9,3490,7549],"./CurrentSensor":[7367,9,8475,7367],"./CurrentSensor.vue":[7367,9,8475,7367],"./Device":[2018,9,2018],"./Device.vue":[2018,9,2018],"./DewPointSensor":[7367,9,8475,7367],"./DewPointSensor.vue":[7367,9,8475,7367],"./Dimmer":[359,9,7782,359],"./Dimmer.vue":[359,9,7782,359],"./EnergySensor":[7367,9,8475,7367],"./EnergySensor.vue":[7367,9,8475,7367],"./Entity":[1765,9],"./Entity.vue":[1765,9],"./EntityIcon":[3459,9],"./EntityIcon.vue":[3459,9],"./EntityMixin":[7909,9],"./EntityMixin.vue":[7909,9],"./EnumSensor":[8625,9,8475,8625],"./EnumSensor.vue":[8625,9,8475,8625],"./EnumSwitch":[2306,9,2306],"./EnumSwitch.vue":[2306,9,2306],"./HeartRateSensor":[7367,9,8475,7367],"./HeartRateSensor.vue":[7367,9,8475,7367],"./HumiditySensor":[7367,9,8475,7367],"./HumiditySensor.vue":[7367,9,8475,7367],"./IlluminanceSensor":[7367,9,8475,7367],"./IlluminanceSensor.vue":[7367,9,8475,7367],"./Index":[1404,9],"./Index.vue":[1404,9],"./Light":[2315,9,7782,3490,2315],"./Light.vue":[2315,9,7782,3490,2315],"./LinkQuality":[8126,9,8126],"./LinkQuality.vue":[8126,9,8126],"./Modal":[9429,9],"./Modal.vue":[9429,9],"./MotionSensor":[7367,9,8475,7367],"./MotionSensor.vue":[7367,9,8475,7367],"./Muted":[3303,9,3490,3303],"./Muted.vue":[3303,9,3490,3303],"./NumericSensor":[7367,9,8475,7367],"./NumericSensor.vue":[7367,9,8475,7367],"./PowerSensor":[7367,9,8475,7367],"./PowerSensor.vue":[7367,9,8475,7367],"./PresenceSensor":[7549,9,3490,7549],"./PresenceSensor.vue":[7549,9,3490,7549],"./PressureSensor":[7367,9,8475,7367],"./PressureSensor.vue":[7367,9,8475,7367],"./RawSensor":[7367,9,8475,7367],"./RawSensor.vue":[7367,9,8475,7367],"./Selector":[6518,9],"./Selector.vue":[6518,9],"./Sensor":[7367,9,8475,7367],"./Sensor.vue":[7367,9,8475,7367],"./StepsSensor":[7367,9,8475,7367],"./StepsSensor.vue":[7367,9,8475,7367],"./Switch":[3303,9,3490,3303],"./Switch.vue":[3303,9,3490,3303],"./TemperatureSensor":[7367,9,8475,7367],"./TemperatureSensor.vue":[7367,9,8475,7367],"./TimeDurationSensor":[7367,9,8475,7367],"./TimeDurationSensor.vue":[7367,9,8475,7367],"./VoltageSensor":[7367,9,8475,7367],"./VoltageSensor.vue":[7367,9,8475,7367],"./Volume":[359,9,7782,359],"./Volume.vue":[359,9,7782,359],"./WeightSensor":[7367,9,8475,7367],"./WeightSensor.vue":[7367,9,8475,7367],"./common.scss":[65,9,4981,65],"./meta":[7369,3],"./meta.json":[7369,3],"./vars.scss":[5207,9,4981,5207]};function s(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],s=t[0];return Promise.all(t.slice(2).map(n.e)).then((function(){return n.t(s,16|t[1])}))}s.keys=function(){return Object.keys(i)},s.id=7243,e.exports=s},3540:function(e,t,n){"use strict";e.exports=n.p+"static/img/spinner.c0bee445.gif"},7369:function(e){"use strict";e.exports=JSON.parse('{"battery":{"name":"Battery","name_plural":"Batteries","icon":{"class":"fas fa-battery-full"}},"button":{"name":"Button","name_plural":"Buttons","icon":{"class":"fas fa-circle-dot"}},"current_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-bolt"}},"motion_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person-running"}},"bluetooth_device":{"name":"Device","name_plural":"Devices","icon":{"class":"fab fa-bluetooth-b"}},"bluetooth_service":{"name":"Service","name_plural":"Services","icon":{"class":"fas fa-satellite-dish"}},"device":{"name":"Device","name_plural":"Devices","icon":{"class":"fas fa-gear"}},"volume":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-volume-high"}},"dimmer":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-gauge"}},"energy_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"entity":{"name":"Entity","name_plural":"Entities","icon":{"class":"fas fa-circle-question"}},"humidity_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-droplet"}},"dew_point_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-hand-holding-droplet"}},"illuminance_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-sun"}},"light":{"name":"Light","name_plural":"Lights","icon":{"class":"fas fa-lightbulb"}},"contact_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"far fa-hand"}},"presence_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person"}},"weight_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-weight-scale"}},"link_quality":{"name":"Link Quality","name_plural":"Link Qualities","icon":{"class":"fas fa-tower-broadcast"}},"power_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"temperature_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-temperature-half"}},"steps_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-shoe-prints"}},"heart_rate_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-heart-pulse"}},"time_duration_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-clock"}},"pressure_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-gauge"}},"muted":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-volume-xmark"}},"enum_switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-gauge"}},"switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-toggle-on"}},"voltage_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-car-battery"}},"composite_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"binary_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"numeric_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"enum_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"raw_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}}}')}}]);
+//# sourceMappingURL=1765.3c1f0eb7.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/1765.3c1f0eb7.js.map b/platypush/backend/http/webapp/dist/static/js/1765.3c1f0eb7.js.map
new file mode 100644
index 0000000000..7b1b27eb95
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/1765.3c1f0eb7.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/js/1765.3c1f0eb7.js","mappings":"gNA0BSA,MAAM,oB,wEAzBb,QAoCM,OApCDA,OAAK,SAAC,2BAA0B,iBACP,EAAAC,YAAW,UAAa,EAAAC,YAAW,QAAW,EAAAC,OAAOC,MAAMC,WADzF,EAEE,OAqBM,OArBDL,OA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DhM,KAAK8B,QAAO,IAAM9B,KAAKuL,YAAYvL,KAAK+L,kBACxC/L,KAAK8B,QAAO,IAAM9B,KAAK2D,eAAc,KAAQ3D,KAAKgM,oBAAmB,EAAxB,GAC9C,G,UCzKH,MAAM9J,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,uBCTA,IAAIV,EAAM,CACT,YAAa,CACZ,KACA,EACA,MAED,gBAAiB,CAChB,KACA,EACA,MAED,iBAAkB,CACjB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,wBAAyB,CACxB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,yBAA0B,CACzB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,wBAAyB,CACxB,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,EACA,MAED,eAAgB,CACf,KACA,EACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,WAAY,CACX,IACA,EACA,KACA,KAED,eAAgB,CACf,IACA,EACA,KACA,KAED,iBAAkB,CACjB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,GAED,eAAgB,CACf,KACA,GAED,eAAgB,CACf,KACA,GAED,mBAAoB,CACnB,KACA,GAED,gBAAiB,CAChB,KACA,GAED,oBAAqB,CACpB,KACA,GAED,eAAgB,CACf,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,MAED,mBAAoB,CACnB,KACA,EACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,wBAAyB,CACxB,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,KACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,UAAW,CACV,KACA,EACA,KACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,MAED,oBAAqB,CACpB,KACA,EACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,iBAAkB,CACjB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,UAAW,CACV,KACA,EACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,aAAc,CACb,KACA,GAED,iBAAkB,CACjB,KACA,GAED,WAAY,CACX,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,2BAA4B,CAC3B,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,WAAY,CACX,IACA,EACA,KACA,KAED,eAAgB,CACf,IACA,EACA,KACA,KAED,iBAAkB,CACjB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,gBAAiB,CAChB,GACA,EACA,KACA,IAED,SAAU,CACT,KACA,GAED,cAAe,CACd,KACA,GAED,cAAe,CACd,KACA,EACA,KACA,OAGF,SAASyK,EAAoB5B,GAC5B,IAAI6B,EAAoBC,EAAE3K,EAAK6I,GAC9B,OAAO+B,QAAQC,UAAUC,MAAK,WAC7B,IAAItG,EAAI,IAAIuG,MAAM,uBAAyBlC,EAAM,KAEjD,MADArE,EAAEwG,KAAO,mBACHxG,CACP,IAGD,IAAIyG,EAAMjL,EAAI6I,GAAM/K,EAAKmN,EAAI,GAC7B,OAAOL,QAAQM,IAAID,EAAI9K,MAAM,GAAGH,IAAI0K,EAAoBlG,IAAIsG,MAAK,WAChE,OAAOJ,EAAoBzK,EAAEnC,EAAa,GAATmN,EAAI,GACtC,GACD,CACAR,EAAoB9I,KAAO,WAAa,OAAOtD,OAAOsD,KAAK3B,EAAM,EACjEyK,EAAoB3M,GAAK,KACzBqN,EAAOC,QAAUX,C","sources":["webpack://platypush/./src/components/panels/Entities/Entity.vue","webpack://platypush/./src/components/panels/Entities/Entity.vue?6f8a","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue?a9b3","webpack://platypush/./src/components/panels/Entities/Index.vue","webpack://platypush/./src/components/elements/NoItems.vue","webpack://platypush/./src/components/elements/NoItems.vue?70de","webpack://platypush/./src/components/panels/Entities/Index.vue?4523","webpack://platypush/./src/components/panels/Entities/Modal.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue?f384","webpack://platypush/./src/components/elements/EditButton.vue","webpack://platypush/./src/components/elements/EditButton.vue?fb20","webpack://platypush/./src/components/elements/NameEditor.vue","webpack://platypush/./src/components/elements/NameEditor.vue?34cf","webpack://platypush/./src/components/panels/Entities/Modal.vue?d45a","webpack://platypush/./src/components/panels/Entities/Selector.vue","webpack://platypush/./src/components/panels/Entities/Selector.vue?bf8b","webpack://platypush/./src/components/panels/Entities|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object"],"sourcesContent":["\n
\n
\n
\n \n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=b22d107a&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=b22d107a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b22d107a\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=3202268f&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=3202268f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3202268f\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=ca2bd702&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=ca2bd702&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca2bd702\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=51aa9db3&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=51aa9db3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-51aa9db3\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n \n \n\n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d543b3e4\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3344f2bf\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=1405d90f&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=1405d90f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1405d90f\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=48d9692c&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=48d9692c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-48d9692c\"]])\n\nexport default __exports__","\n
\n
\n \n \n \n
\n\n
\n \n \n \n
\n\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=7babaacc&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=7babaacc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7babaacc\"]])\n\nexport default __exports__","var map = {\n\t\"./Battery\": [\n\t\t9651,\n\t\t9,\n\t\t218,\n\t\t9651\n\t],\n\t\"./Battery.vue\": [\n\t\t9651,\n\t\t9,\n\t\t218,\n\t\t9651\n\t],\n\t\"./BinarySensor\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BinarySensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BluetoothDevice\": [\n\t\t4435,\n\t\t9,\n\t\t218,\n\t\t4435\n\t],\n\t\"./BluetoothDevice.vue\": [\n\t\t4435,\n\t\t9,\n\t\t218,\n\t\t4435\n\t],\n\t\"./BluetoothService\": [\n\t\t3077,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3077\n\t],\n\t\"./BluetoothService.vue\": [\n\t\t3077,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3077\n\t],\n\t\"./Button\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./Button.vue\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./CompositeSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./CompositeSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./ContactSensor\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./ContactSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./CurrentSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./CurrentSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Device\": [\n\t\t4435,\n\t\t9,\n\t\t218,\n\t\t4435\n\t],\n\t\"./Device.vue\": [\n\t\t4435,\n\t\t9,\n\t\t218,\n\t\t4435\n\t],\n\t\"./DewPointSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./DewPointSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Dimmer\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./Dimmer.vue\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./EnergySensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./EnergySensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Entity\": [\n\t\t213,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t213,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3459,\n\t\t9,\n\t\t218,\n\t\t3459\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3459,\n\t\t9,\n\t\t218,\n\t\t3459\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EnumSensor\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./EnumSensor.vue\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./EnumSwitch\": [\n\t\t3398,\n\t\t9,\n\t\t218,\n\t\t3398\n\t],\n\t\"./EnumSwitch.vue\": [\n\t\t3398,\n\t\t9,\n\t\t218,\n\t\t3398\n\t],\n\t\"./HeartRateSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./HeartRateSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./HumiditySensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./HumiditySensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./IlluminanceSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./IlluminanceSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Index\": [\n\t\t9688,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t9688,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t2315,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./Light.vue\": [\n\t\t2315,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./LinkQuality\": [\n\t\t8126,\n\t\t9,\n\t\t218,\n\t\t8126\n\t],\n\t\"./LinkQuality.vue\": [\n\t\t8126,\n\t\t9,\n\t\t218,\n\t\t8126\n\t],\n\t\"./Modal\": [\n\t\t8472,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t8472,\n\t\t9\n\t],\n\t\"./MotionSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./MotionSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Muted\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Muted.vue\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./NumericSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./NumericSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./PowerSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./PowerSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./PresenceSensor\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PresenceSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PressureSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./PressureSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./RawSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./RawSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Selector\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Sensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Sensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./StepsSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./StepsSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Switch\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Switch.vue\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./TemperatureSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./TemperatureSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./TimeDurationSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./TimeDurationSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./VoltageSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./VoltageSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Volume\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./Volume.vue\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./WeightSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./WeightSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","endsWith","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","endPosition","arguments","length","undefined","len","end","search","un$StartsWith","startsWith","stringSlice","index","class","hasChildren","isCollapsed","value","name","justUpdated","component","parent","loading","ref","error","reachable","onClick","$emit","$event","toggleCollapsed","computedChildren","entity","key","id","level","mixins","EntityMixin","emits","data","computed","Object","values","children","filter","child","collapsed","instance","$refs","methods","valuesEqual","a","b","objectsEqual","event","classList","contains","stopPropagation","onEntityUpdate","entityId","isChildUpdate","setJustUpdated","self","setTimeout","mounted","type","split","map","t","toUpperCase","join","$watch","newValue","oldValue","bus","__exports__","render","Utils","props","Boolean","default","required","Number","modalVisible","entityType","s","charAt","entityGroups","selector","title","refresh","modalEntityId","entities","visible","configValuesByParentId","onEntityModal","keys","displayGroups","group","grouping","entitiesMeta","typesByCategory","icon","pluginIcons","url","imgUrl","parent_id","childrenByParentId","onEntityInput","errorEntities","loadingEntities","components","Loading","Icon","Entity","Selector","NoItems","EntityModal","entityScanTimeout","entityTimeouts","selectedEntities","meta","icons","entityTypes","groupEntities","entries","reduce","obj","name_plural","entry","e","sort","localeCompare","attr","_shouldSkipLoading","hasReadableChildren","is_configuration","is_write_only","is_query_disabled","args","plugins","plugin","clearTimeout","console","warn","request","sync","name_override","category","parentId","clearEntityTimeouts","state","onEntityDelete","subscribe","unmounted","unsubscribe","href","external_id","onDelete","editName","onRename","disabled","editIcon","onIconEdit","color","onIconColorEdit","description","external_url","text","image_url","src","created_at","updated_at","deleteConfirmDiag","show","computedConfig","configCollapsed","onConfirm","confirmText","close","cancelText","Modal","modal","hide","proxy","submit","deafult","EditButton","NameEditor","ConfirmDialog","configValues","newName","req","newIcon","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","indexOf","prettify","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/213.f2e3adcf.js b/platypush/backend/http/webapp/dist/static/js/213.f2e3adcf.js
deleted file mode 100644
index bc961110c0..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/213.f2e3adcf.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[213],{213:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var i=n(6252),s=n(3577),a=n(9963);const l={key:0,class:"children fade-in"};function o(e,t,n,o,r,u){const c=(0,i.up)("Entity",!0);return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["entity-container-wrapper",{"with-children":u.hasChildren,collapsed:u.isCollapsed,hidden:!e.value?.name?.length}])},[(0,i._)("div",{class:(0,s.C_)(["row item entity-container",{"with-children":u.hasChildren,collapsed:u.isCollapsed,blink:r.justUpdated}])},[(0,i._)("div",{class:(0,s.C_)(["adjuster",{"col-12":!u.hasChildren,"col-11":u.hasChildren}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{value:e.value,parent:e.parent,loading:e.loading,ref:"instance",error:e.error||0==e.value?.reachable,onClick:u.onClick,onInput:t[0]||(t[0]=t=>e.$emit("input",t)),onLoading:t[1]||(t[1]=t=>e.$emit("loading",t))},null,8,["value","parent","loading","error","onClick"]))],2),u.hasChildren?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"col-1 collapse-toggler",onClick:t[2]||(t[2]=(0,a.iM)(((...e)=>u.toggleCollapsed&&u.toggleCollapsed(...e)),["stop"]))},[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":u.isCollapsed,"fa-chevron-up":!u.isCollapsed}])},null,2)])):(0,i.kq)("",!0)],2),u.isCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(u.computedChildren,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"child",key:t.id},[(0,i.Wm)(c,{value:t,parent:e.value,loading:e.loading,level:e.level+1,onInput:n=>e.$emit("input",t)},null,8,["value","parent","loading","level","onInput"])])))),128))]))],2)}var r=n(2262),u=n(7909),c=n(5250),d={name:"Entity",mixins:[u["default"]],emits:["input","loading","update"],data(){return{component:null,justUpdated:!1}},computed:{computedChildren(){return Object.values(this.children||{}).filter((e=>e))},hasChildren(){return!!this.computedChildren.length},isCollapsed(){return!this.hasChildren||this.collapsed},instance(){return this.$refs.instance}},methods:{valuesEqual(e,t){e={...e},t={...t};for(const n of["updated_at","data"])delete e[n],delete t[n];return this.objectsEqual(e,t)},onClick(e){(e.target.classList.contains("label")||e.target.classList.contains("head"))&&(e.stopPropagation(),this.toggleCollapsed())},onEntityUpdate(e){const t=e?.id,n=null!=t&&this.children&&t in this.children;n&&this.setJustUpdated()},toggleCollapsed(){this.collapsed=!this.collapsed,this.instance&&(this.instance.collapsed=!this.instance.collapsed)},setJustUpdated(){this.justUpdated=!0;const e=this;setTimeout((()=>e.justUpdated=!1),1e3)}},mounted(){if("Entity"!==this.type){const e=this.type.split("_").map((e=>e[0].toUpperCase()+e.slice(1))).join("");this.$watch((()=>this.value),((e,t)=>{if(this.valuesEqual(t,e))return!1;this.setJustUpdated(),this.$emit("update",{value:e})})),this.component=(0,r.XI)((0,i.RC)((()=>n(7243)(`./${e}`))))}c.$.onEntity(this.onEntityUpdate)}},p=n(3744);const m=(0,p.Z)(d,[["render",o],["__scopeId","data-v-ca2bd702"]]);var h=m},7909:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var i=n(6813),s={name:"EntityMixin",mixins:[i.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0},parent:{type:Object,default:()=>{}},children:{type:Object,default:()=>{}},level:{type:Number,default:0}},data(){return{modalVisible:!1,collapsed:!0}},computed:{type(){let e=this.value.type||"";return e.split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}}};const a=s;var l=a},9688:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var i=n(6252),s=n(3577);const a=e=>((0,i.dD)("data-v-51aa9db3"),e=e(),(0,i.Cn)(),e),l={class:"row plugin entities-container"},o={class:"col-11 left"},r={class:"col-1 right"},u=a((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),c=[u],d={class:"groups-canvas"},p=(0,i.Uk)("No entities found"),m={key:2,class:"groups-container"},h={class:"frame"},y={class:"header"},g={class:"section left"},f={class:"section center"},v=["textContent"],_={class:"section right"},w=["onClick"],b=a((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),C=[b],S={class:"body"},k=["onClick"];function E(e,t,n,a,u,b){const E=(0,i.up)("Loading"),I=(0,i.up)("Selector"),D=(0,i.up)("EntityModal"),x=(0,i.up)("NoItems"),j=(0,i.up)("Icon"),G=(0,i.up)("Entity");return(0,i.wg)(),(0,i.iD)("div",l,[u.loading?((0,i.wg)(),(0,i.j4)(E,{key:0})):(0,i.kq)("",!0),(0,i._)("header",null,[(0,i._)("div",o,[(0,i.Wm)(I,{"entity-groups":b.entityGroups,value:u.selector,onInput:t[0]||(t[0]=e=>u.selector=e)},null,8,["entity-groups","value"])]),(0,i._)("div",r,[(0,i._)("button",{title:"Refresh",onClick:t[1]||(t[1]=(...e)=>b.refresh&&b.refresh(...e))},c)])]),(0,i._)("div",d,[u.modalEntityId&&u.entities[u.modalEntityId]?((0,i.wg)(),(0,i.j4)(D,{key:0,entity:u.entities[u.modalEntityId],visible:u.modalVisible,"config-values":b.configValuesByParentId(u.modalEntityId),onClose:b.onEntityModal},null,8,["entity","visible","config-values","onClose"])):(0,i.kq)("",!0),Object.keys(b.displayGroups||{})?.length?((0,i.wg)(),(0,i.iD)("div",m,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(b.displayGroups,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"group fade-in",key:e.name},[(0,i._)("div",h,[(0,i._)("div",y,[(0,i._)("span",g,["category"===u.selector.grouping&&b.entitiesMeta[b.typesByCategory[e.name]]?((0,i.wg)(),(0,i.j4)(j,(0,s.vs)((0,i.dG)({key:0},b.entitiesMeta[b.typesByCategory[e.name]].icon||{})),null,16)):"plugin"===u.selector.grouping&&b.pluginIcons[e.name]?((0,i.wg)(),(0,i.j4)(j,{key:1,class:(0,s.C_)(b.pluginIcons[e.name]?.class),url:b.pluginIcons[e.name]?.imgUrl},null,8,["class","url"])):(0,i.kq)("",!0)]),(0,i._)("span",f,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.name)},null,8,v)]),(0,i._)("span",_,[(0,i._)("button",{title:"Refresh",onClick:t=>b.refresh(e)},C,8,w)])]),(0,i._)("div",S,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.entities,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"entity-frame",onClick:t=>b.onEntityModal(e.id),key:e.id},[e.parent_id?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(G,{key:0,value:e,children:b.childrenByParentId(e.id),onInput:t=>b.onEntityInput(e),error:!!u.errorEntities[e.id],loading:!!u.loadingEntities[e.id],onLoading:t=>u.loadingEntities[e.id]=t},null,8,["value","children","onInput","error","loading","onLoading"]))],8,k)))),128))])])])))),128))])):((0,i.wg)(),(0,i.j4)(x,{key:1},{default:(0,i.w5)((()=>[p])),_:1}))])])}var I=n(6813),D=n(1232),x=n(1478);const j={class:"no-items-container"},G={class:"no-items fade-in"};function T(e,t,n,s,a,l){return(0,i.wg)(),(0,i.iD)("div",j,[(0,i._)("div",G,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])}var q={name:"NoItems"},O=n(3744);const U=(0,O.Z)(q,[["render",T],["__scopeId","data-v-6fec32b5"]]);var $=U,B=n(213),M=n(6518),L=n(8472),N=n(5250),Z=n(1359),P=n(7369),z={name:"Entities",components:{Loading:D.Z,Icon:x.Z,Entity:B["default"],Selector:M["default"],NoItems:$,EntityModal:L["default"]},mixins:[I.Z],props:{entityScanTimeout:{type:Number,default:30}},data(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"category",selectedEntities:{}}}},computed:{entitiesMeta(){return P},pluginIcons(){return Z},entityTypes(){return this.groupEntities("type")},typesByCategory(){return Object.entries(P).reduce(((e,[t,n])=>(e[n.name_plural]=t,e)),{})},entityGroups(){return{id:Object.entries(this.groupEntities("id")).reduce(((e,[t,n])=>(e[t]=n[0],e)),{}),category:this.groupEntities("category"),plugin:this.groupEntities("plugin")}},displayGroups(){return Object.entries(this.entityGroups[this.selector.grouping]).filter((e=>e[1].filter((e=>!!this.selector.selectedEntities[e.id]&&null==e.parent_id)).length>0)).map((([e,t])=>({name:e,entities:t.filter((e=>e.id in this.selector.selectedEntities))}))).sort(((e,t)=>e.name.localeCompare(t.name)))}},methods:{groupEntities(e){return Object.values(this.entities).filter((e=>null==e.parent_id)).reduce(((t,n)=>{const i=t[n[e]]||{};return i[n.id]=n,t[n[e]]=Object.values(i).sort(((e,t)=>e.name.localeCompare(t.name))),t}),{})},_shouldSkipLoading(e){const t=Object.values(this.childrenByParentId(e.id)),n=t.filter((e=>!e.is_configuration&&!e.is_write_only&&!e.is_query_disabled)).length>0;return e.is_query_disabled||e.is_write_only||t.length&&!n},async refresh(e){const t=(e?e.entities:this.entities)||{},n={};e&&(n.plugins=Object.keys(t.reduce(((e,t)=>(e[t.plugin]=!0,e)),{}))),this.loadingEntities=Object.values(t).reduce(((e,t)=>{if(this._shouldSkipLoading(t))return e;const n=this,i=t.id;return this.entityTimeouts[i]&&clearTimeout(this.entityTimeouts[i]),this.entityTimeouts[i]=setTimeout((()=>{n.loadingEntities[i]&&delete n.loadingEntities[i],n.entityTimeouts[i]&&delete n.entityTimeouts[i],n.errorEntities[i]=t,console.warn(`Scan timeout for ${t.name}`)}),1e3*this.entityScanTimeout),e[i]=!0,e}),{}),await this.request("entities.scan",n)},async sync(){this.loading=!0;try{this.entities=(await this.request("entities.get")).reduce(((e,t)=>(t.name=t?.meta?.name_override||t.name,t.category=P[t.type].name_plural,t.meta={...P[t.type]||{},...t.meta||{}},e[t.id]=t,e)),{}),this.selector.selectedEntities=this.entityGroups.id}finally{this.loading=!1}},childrenByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&!t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},configValuesByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},clearEntityTimeouts(e){this.errorEntities[e]&&delete this.errorEntities[e],this.loadingEntities[e]&&delete this.loadingEntities[e],this.entityTimeouts[e]&&(clearTimeout(this.entityTimeouts[e]),delete this.entityTimeouts[e])},onEntityInput(e){e.category=P[e.type].name_plural,this.entities[e.id]=e,this.clearEntityTimeouts(e.id),this.loadingEntities[e.id]&&delete this.loadingEntities[e.id]},onEntityUpdate(e){const t=e.entity.id;if(null==t)return;this.clearEntityTimeouts(t);const n={...e.entity};null==e.entity?.state&&(n.state=this.entities[t]?.state),n.meta?.name_override?.length?n.name=n.meta.name_override:this.entities[t]?.meta?.name_override?.length?n.name=this.entities[t].meta.name_override:n.name=e.entity?.name||this.entities[t]?.name,n.category=P[n.type].name_plural,n.meta={...P[e.entity.type]||{},...this.entities[t]?.meta||{},...e.entity?.meta||{}},this.entities[t]=n,N.$.publishEntity(n)},onEntityDelete(e){const t=e.entity?.id;null!=t&&(t===this.modalEntityId&&(this.modalEntityId=null),this.entities[t]&&delete this.entities[t])},onEntityModal(e){e?(this.modalEntityId=e,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},async mounted(){this.subscribe(this.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),await this.sync(),await this.refresh()},unmounted(){this.unsubscribe("on-entity-update")}};const V=(0,O.Z)(z,[["render",E],["__scopeId","data-v-51aa9db3"]]);var R=V},8472:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Qe}});var i=n(6252),s=n(3577);const a=e=>((0,i.dD)("data-v-48d9692c"),e=e(),(0,i.Cn)(),e),l=(0,i.Uk)(" Are you "),o=a((()=>(0,i._)("b",null,"sure",-1))),r=(0,i.Uk)(" that you want to delete this entity? "),u=a((()=>(0,i._)("br",null,null,-1))),c=a((()=>(0,i._)("br",null,null,-1))),d=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),p=a((()=>(0,i._)("br",null,null,-1))),m=a((()=>(0,i._)("br",null,null,-1))),h=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),y={class:"table-row"},g={class:"title"},f=(0,i.Uk)(" Name "),v={class:"value"},_=["textContent"],w={class:"table-row"},b={class:"title"},C=(0,i.Uk)(" Icon "),S={class:"value icon-canvas"},k={key:0,class:"icon-editor"},E=a((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),I=[E],D=a((()=>(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1))),x={class:"table-row"},j=a((()=>(0,i._)("div",{class:"title"}," Icon color ",-1))),G={class:"value icon-color-picker"},T=["value"],q=a((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),O=[q],U={class:"table-row"},$=a((()=>(0,i._)("div",{class:"title"},"Plugin",-1))),B=["textContent"],M={class:"table-row"},L=a((()=>(0,i._)("div",{class:"title"},"Internal ID",-1))),N=["textContent"],Z={key:0,class:"table-row"},P=a((()=>(0,i._)("div",{class:"title"},"External ID",-1))),z=["textContent"],V={key:1,class:"table-row"},R=a((()=>(0,i._)("div",{class:"title"},"Description",-1))),W=["textContent"],F={key:2,class:"table-row"},H=a((()=>(0,i._)("div",{class:"title"},"External URL",-1))),K={class:"value url"},Y=["href","text"],A={key:3,class:"table-row"},J=a((()=>(0,i._)("div",{class:"title"},"Image",-1))),Q={class:"value"},X=["src"],ee={key:0,class:"table-row"},te=["textContent"],ne=["textContent"],ie={key:4,class:"table-row"},se=a((()=>(0,i._)("div",{class:"title"},"Created at",-1))),ae=["textContent"],le={key:5,class:"table-row"},oe=a((()=>(0,i._)("div",{class:"title"},"Updated at",-1))),re=["textContent"],ue={class:"table-row delete-entity-container"},ce=a((()=>(0,i._)("div",{class:"title"},"Delete Entity",-1))),de={class:"value"},pe=a((()=>(0,i._)("i",{class:"fas fa-trash"},null,-1))),me=[pe],he={key:6,class:"config-container"},ye=a((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-screwdriver-wrench"}),(0,i.Uk)(" Configuration ")],-1))),ge={class:"col-1 pull-right"},fe={key:0,class:"entities"};function ve(e,t,n,a,E,q){const pe=(0,i.up)("ConfirmDialog"),ve=(0,i.up)("EditButton"),_e=(0,i.up)("NameEditor"),we=(0,i.up)("Icon"),be=(0,i.up)("Entity"),Ce=(0,i.up)("Modal",!0);return n.entity?((0,i.wg)(),(0,i.j4)(Ce,{key:0,visible:n.visible,class:"entity-modal",title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((()=>[(0,i.Wm)(pe,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:q.onDelete},{default:(0,i.w5)((()=>[l,o,r,u,c,d,p,m,h])),_:1},8,["onInput"]),(0,i._)("div",y,[(0,i._)("div",g,[f,E.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ve,{key:0,onClick:t[0]||(t[0]=e=>E.editName=!0)}))]),(0,i._)("div",v,[E.editName?((0,i.wg)(),(0,i.j4)(_e,{key:0,value:n.entity.name,onInput:q.onRename,onCancel:t[1]||(t[1]=e=>E.editName=!1),disabled:E.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,s.zw)(n.entity.name)},null,8,_))])]),(0,i._)("div",w,[(0,i._)("div",b,[C,E.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ve,{key:0,onClick:t[2]||(t[2]=e=>E.editIcon=!0)}))]),(0,i._)("div",S,[E.editIcon?((0,i.wg)(),(0,i.iD)("span",k,[(0,i.Wm)(_e,{value:n.entity.meta?.icon?.class||n.entity.meta?.icon?.url,onInput:q.onIconEdit,onCancel:t[5]||(t[5]=e=>E.editIcon=!1),disabled:E.loading},{default:(0,i.w5)((()=>[(0,i._)("button",{type:"button",title:"Reset",onClick:t[3]||(t[3]=e=>q.onIconEdit(null)),onTouch:t[4]||(t[4]=e=>q.onIconEdit(null))},I,32)])),_:1},8,["value","onInput","disabled"]),D])):((0,i.wg)(),(0,i.j4)(we,(0,s.vs)((0,i.dG)({key:1},n.entity?.meta?.icon||{})),null,16))])]),(0,i._)("div",x,[j,(0,i._)("div",G,[(0,i._)("input",{type:"color",value:n.entity.meta?.icon?.color,onChange:t[6]||(t[6]=(...e)=>q.onIconColorEdit&&q.onIconColorEdit(...e))},null,40,T),(0,i._)("button",{type:"button",title:"Reset",onClick:t[7]||(t[7]=e=>q.onIconColorEdit(null)),onTouch:t[8]||(t[8]=e=>q.onIconColorEdit(null))},O,32)])]),(0,i._)("div",U,[$,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.plugin)},null,8,B)]),(0,i._)("div",M,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.id)},null,8,N)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",Z,[P,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.external_id)},null,8,z)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",V,[R,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.description)},null,8,W)])):(0,i.kq)("",!0),n.entity.external_url?((0,i.wg)(),(0,i.iD)("div",F,[H,(0,i._)("div",K,[(0,i._)("a",{href:n.entity.external_url,target:"_blank",text:n.entity.external_url},null,8,Y)])])):(0,i.kq)("",!0),n.entity.image_url?((0,i.wg)(),(0,i.iD)("div",A,[J,(0,i._)("div",Q,[(0,i._)("img",{class:"entity-image",src:n.entity.image_url},null,8,X)])])):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},((t,n)=>((0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t?((0,i.wg)(),(0,i.iD)("div",ee,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.prettify(n))},null,8,te),(0,i._)("div",{class:"value",textContent:(0,s.zw)(""+t)},null,8,ne)])):(0,i.kq)("",!0)])))),128)),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",ie,[se,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.created_at))},null,8,ae)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",le,[oe,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.updated_at))},null,8,re)])):(0,i.kq)("",!0),(0,i._)("div",ue,[ce,(0,i._)("div",de,[(0,i._)("button",{onClick:t[9]||(t[9]=t=>e.$refs.deleteConfirmDiag.show())},me)])]),q.computedConfig.length?((0,i.wg)(),(0,i.iD)("div",he,[(0,i._)("div",{class:"title",onClick:t[10]||(t[10]=e=>E.configCollapsed=!E.configCollapsed)},[ye,(0,i._)("div",ge,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":E.configCollapsed,"fa-chevron-up":!E.configCollapsed}])},null,2)])]),E.configCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",fe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(q.computedConfig,(t=>((0,i.wg)(),(0,i.j4)(be,{key:t.id,value:t,onInput:n=>e.$emit("input",t)},null,8,["value","onInput"])))),128))]))])):(0,i.kq)("",!0)])),_:1},8,["visible","title"])):(0,i.kq)("",!0)}var _e=n(8453),we=n(1478),be=n(9963);const Ce=e=>((0,i.dD)("data-v-d543b3e4"),e=e(),(0,i.Cn)(),e),Se={class:"dialog-content"},ke=Ce((()=>(0,i._)("i",{class:"fas fa-check"},null,-1))),Ee=Ce((()=>(0,i._)("i",{class:"fas fa-xmark"},null,-1)));function Ie(e,t,n,a,l,o){const r=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(r,{ref:"modal",title:n.title},{default:(0,i.w5)((()=>[(0,i._)("div",Se,[(0,i.WI)(e.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:t[4]||(t[4]=(0,be.iM)(((...e)=>o.onConfirm&&o.onConfirm(...e)),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:t[0]||(t[0]=(...e)=>o.onConfirm&&o.onConfirm(...e)),onTouch:t[1]||(t[1]=(...e)=>o.onConfirm&&o.onConfirm(...e))},[ke,(0,i.Uk)(" "+(0,s.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:t[2]||(t[2]=(...e)=>o.close&&o.close(...e)),onTouch:t[3]||(t[3]=(...e)=>o.close&&o.close(...e))},[Ee,(0,i.Uk)(" "+(0,s.zw)(n.cancelText),1)],32)],32)])),_:3},8,["title"])}var De={emits:["input","click","touch"],components:{Modal:_e.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm(){this.$emit("input"),this.close()},show(){this.$refs.modal.show()},close(){this.$refs.modal.hide()}}},xe=n(3744);const je=(0,xe.Z)(De,[["render",Ie],["__scopeId","data-v-d543b3e4"]]);var Ge=je;const Te=e=>((0,i.dD)("data-v-3344f2bf"),e=e(),(0,i.Cn)(),e),qe=Te((()=>(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1))),Oe=[qe];function Ue(e,t,n,s,a,l){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:t[0]||(t[0]=e=>l.proxy(e)),onTouch:t[1]||(t[1]=e=>l.proxy(e)),onInput:t[2]||(t[2]=e=>l.proxy(e))},Oe,32)}var $e={emits:["input","click","touch"],methods:{proxy(e){this.$emit(e.type,e)}}};const Be=(0,xe.Z)($e,[["render",Ue],["__scopeId","data-v-3344f2bf"]]);var Me=Be;const Le=e=>((0,i.dD)("data-v-1405d90f"),e=e(),(0,i.Cn)(),e),Ne=["disabled"],Ze=Le((()=>(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1))),Pe=Le((()=>(0,i._)("i",{class:"fas fa-ban"},null,-1))),ze=[Pe];function Ve(e,t,n,s,a,l){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:t[3]||(t[3]=(0,be.iM)(((...e)=>l.submit&&l.submit(...e)),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>a.text=e),disabled:n.disabled},null,8,Ne),[[be.nr,a.text]]),Ze,(0,i._)("button",{class:"cancel",onClick:t[1]||(t[1]=t=>e.$emit("cancel")),onTouch:t[2]||(t[2]=t=>e.$emit("cancel"))},ze,32),(0,i.WI)(e.$slots,"default",{},void 0,!0)],32)}var Re={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,deafult:!1}},data(){return{text:null}},methods:{proxy(e){this.$emit(e.type,e)},submit(){return this.$emit("input",this.text),!1}},mounted(){this.text=this.value}};const We=(0,xe.Z)(Re,[["render",Ve],["__scopeId","data-v-1405d90f"]]);var Fe=We,He=n(6813),Ke=n(213),Ye=n(7369),Ae={name:"EntityModal",components:{Entity:Ke["default"],Modal:_e.Z,EditButton:Me,NameEditor:Fe,Icon:we.Z,ConfirmDialog:Ge},mixins:[He.Z],emits:["input","loading"],props:{entity:{type:Object,required:!0},visible:{type:Boolean,default:!1},configValues:{type:Object,default:()=>{}}},computed:{computedConfig(){return Object.values(this.configValues).sort(((e,t)=>(e.name||"").localeCompare(t.name||"")))}},data(){return{loading:!1,editName:!1,editIcon:!1,configCollapsed:!0}},methods:{async onRename(e){this.loading=!0;try{const t={};t[this.entity.id]=e,await this.request("entities.rename",t)}finally{this.loading=!1,this.editName=!1}},async onDelete(){this.loading=!0;try{await this.request("entities.delete",[this.entity.id])}finally{this.loading=!1}},async onIconEdit(e){this.loading=!0;try{const t={url:null,class:null};e?.length?e.startsWith("http")?t.url=e:t.class=e:(t.url=(Ye[this.entity.type]||{})?.icon?.url,t.class=(Ye[this.entity.type]||{})?.icon?.["class"]);const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}},async onIconColorEdit(e){this.loading=!0;try{const t=this.entity.meta?.icon||{};t.color=e?e.target.value:null;const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}}}};const Je=(0,xe.Z)(Ae,[["render",ve],["__scopeId","data-v-48d9692c"]]);var Qe=Je},6518:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var i=n(6252),s=n(3577),a=n(9963);const l={class:"entities-selectors-container"},o={class:"selector"},r={key:1,class:"selector"};function u(e,t,n,u,c,d){const p=(0,i.up)("DropdownItem"),m=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",l,[(0,i._)("div",o,[(0,i.Wm)(m,{title:"Group by","icon-class":"fas fa-object-ungroup",ref:"groupingSelector"},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(e=>((0,i.wg)(),(0,i.j4)(p,{key:e,text:d.prettifyGroupingName(e),"item-class":{selected:n.value?.grouping===e},onClick:t=>d.onGroupingChanged(e)},null,8,["text","item-class","onClick"])))),128))])),_:1},512)]),n.value?.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,s.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(m,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(e=>((0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:e,text:e},d.iconForGroup(e),{"item-class":{selected:!!c.selectedGroups[e]},onClick:(0,a.iM)((t=>d.toggleGroup(e)),["stop"])}),null,16,["text","item-class","onClick"])))),128))])),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",r,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":t[0]||(t[0]=e=>c.searchTerm=e)},null,512),[[a.nr,c.searchTerm]])])):(0,i.kq)("",!0)])}var c=n(6813),d=n(5771),p=n(2684),m=n(7369),h=n(1359),y={name:"Selector",emits:["input"],mixins:[c.Z],components:{Dropdown:d.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings(){return Object.keys(this.entityGroups).filter((e=>"id"!==e))},sortedGroups(){return Object.keys(this.entityGroups[this.value?.grouping]||{}).sort()},typesMeta(){return m},isGroupFilterActive(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities(){return Object.values(this.entityGroups.id).filter((e=>{if(!this.selectedGroups[e[this.value?.grouping]])return!1;if(this.searchTerm?.length){const t=this.searchTerm.toLowerCase();return(e.name||"").toLowerCase().indexOf(t)>=0||(e.plugin||"").toLowerCase().indexOf(t)>=0||(e.external_id||"").toLowerCase().indexOf(t)>=0||(e.id||0).toString()==t}return!0})).reduce(((e,t)=>(e[t.id]=t,e)),{})}},methods:{prettifyGroupingName(e){return e?(e=this.prettify(e),e.endsWith("y")&&(e=e.slice(0,e.length-1)+"ie"),e+="s",e):""},iconForGroup(e){if("plugin"===this.value.grouping&&h[e]){const t=h[e];return{"icon-class":t["class"]?.length||!t.imgUrl?.length?t["class"]:"fas fa-gears","icon-url":t.imgUrl}}return{}},synchronizeSelectedEntities(){const e={...this.value};e.selectedEntities=this.selectedEntities,this.$emit("input",e)},updateSearchTerm(){const e={...this.value};e.searchTerm=this.searchTerm,e.selectedEntities=this.selectedEntities,this.$emit("input",e)},refreshGroupFilter(e){if(e)this.selectedGroups=Object.keys(this.entityGroups[this.value?.grouping]||{}).reduce(((e,t)=>(e[t]=!0,e)),{});else for(const t of Object.keys(this.entityGroups[this.value?.grouping]))null==this.selectedGroups[t]&&(this.selectedGroups[t]=!0);this.synchronizeSelectedEntities()},toggleGroup(e){this.selectedGroups[e]=!this.selectedGroups[e],this.synchronizeSelectedEntities()},onGroupingChanged(e){if(!this.entityGroups[e]||e===this.value?.grouping)return!1;const t={...this.value};t.grouping=e,this.$emit("input",t)}},mounted(){this.refreshGroupFilter(!0),this.$watch((()=>this.value?.grouping),(()=>{this.refreshGroupFilter(!0)})),this.$watch((()=>this.searchTerm),this.updateSearchTerm),this.$watch((()=>this.entityGroups),(()=>{this.refreshGroupFilter(!1)}))}},g=n(3744);const f=(0,g.Z)(y,[["render",u],["__scopeId","data-v-7babaacc"]]);var v=f},7243:function(e,t,n){var i={"./Battery":[9651,9,218,9651],"./Battery.vue":[9651,9,218,9651],"./BinarySensor":[7549,9,218,3490,7549],"./BinarySensor.vue":[7549,9,218,3490,7549],"./BluetoothDevice":[4435,9,218,4435],"./BluetoothDevice.vue":[4435,9,218,4435],"./BluetoothService":[3077,9,218,3490,3077],"./BluetoothService.vue":[3077,9,218,3490,3077],"./Button":[8625,9,218,5006,8625],"./Button.vue":[8625,9,218,5006,8625],"./CompositeSensor":[1399,9,218,5006,1399],"./CompositeSensor.vue":[1399,9,218,5006,1399],"./ContactSensor":[7549,9,218,3490,7549],"./ContactSensor.vue":[7549,9,218,3490,7549],"./CurrentSensor":[1399,9,218,5006,1399],"./CurrentSensor.vue":[1399,9,218,5006,1399],"./Device":[4435,9,218,4435],"./Device.vue":[4435,9,218,4435],"./DewPointSensor":[1399,9,218,5006,1399],"./DewPointSensor.vue":[1399,9,218,5006,1399],"./Dimmer":[3593,9,7246,218,3593],"./Dimmer.vue":[3593,9,7246,218,3593],"./EnergySensor":[1399,9,218,5006,1399],"./EnergySensor.vue":[1399,9,218,5006,1399],"./Entity":[213,9],"./Entity.vue":[213,9],"./EntityIcon":[3459,9,218,3459],"./EntityIcon.vue":[3459,9,218,3459],"./EntityMixin":[7909,9],"./EntityMixin.vue":[7909,9],"./EnumSensor":[8625,9,218,5006,8625],"./EnumSensor.vue":[8625,9,218,5006,8625],"./EnumSwitch":[3398,9,218,3398],"./EnumSwitch.vue":[3398,9,218,3398],"./HeartRateSensor":[1399,9,218,5006,1399],"./HeartRateSensor.vue":[1399,9,218,5006,1399],"./HumiditySensor":[1399,9,218,5006,1399],"./HumiditySensor.vue":[1399,9,218,5006,1399],"./IlluminanceSensor":[1399,9,218,5006,1399],"./IlluminanceSensor.vue":[1399,9,218,5006,1399],"./Index":[9688,9],"./Index.vue":[9688,9],"./Light":[2315,9,7246,218,3490,2315],"./Light.vue":[2315,9,7246,218,3490,2315],"./LinkQuality":[8126,9,218,8126],"./LinkQuality.vue":[8126,9,218,8126],"./Modal":[8472,9],"./Modal.vue":[8472,9],"./MotionSensor":[1399,9,218,5006,1399],"./MotionSensor.vue":[1399,9,218,5006,1399],"./Muted":[3303,9,218,3490,3303],"./Muted.vue":[3303,9,218,3490,3303],"./NumericSensor":[1399,9,218,5006,1399],"./NumericSensor.vue":[1399,9,218,5006,1399],"./PowerSensor":[1399,9,218,5006,1399],"./PowerSensor.vue":[1399,9,218,5006,1399],"./PresenceSensor":[7549,9,218,3490,7549],"./PresenceSensor.vue":[7549,9,218,3490,7549],"./PressureSensor":[1399,9,218,5006,1399],"./PressureSensor.vue":[1399,9,218,5006,1399],"./RawSensor":[1399,9,218,5006,1399],"./RawSensor.vue":[1399,9,218,5006,1399],"./Selector":[6518,9],"./Selector.vue":[6518,9],"./Sensor":[1399,9,218,5006,1399],"./Sensor.vue":[1399,9,218,5006,1399],"./StepsSensor":[1399,9,218,5006,1399],"./StepsSensor.vue":[1399,9,218,5006,1399],"./Switch":[3303,9,218,3490,3303],"./Switch.vue":[3303,9,218,3490,3303],"./TemperatureSensor":[1399,9,218,5006,1399],"./TemperatureSensor.vue":[1399,9,218,5006,1399],"./TimeDurationSensor":[1399,9,218,5006,1399],"./TimeDurationSensor.vue":[1399,9,218,5006,1399],"./VoltageSensor":[1399,9,218,5006,1399],"./VoltageSensor.vue":[1399,9,218,5006,1399],"./Volume":[3593,9,7246,218,3593],"./Volume.vue":[3593,9,7246,218,3593],"./WeightSensor":[1399,9,218,5006,1399],"./WeightSensor.vue":[1399,9,218,5006,1399],"./common.scss":[65,9,4981,65],"./meta":[7369,3],"./meta.json":[7369,3],"./vars.scss":[5207,9,4981,5207]};function s(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],s=t[0];return Promise.all(t.slice(2).map(n.e)).then((function(){return n.t(s,16|t[1])}))}s.keys=function(){return Object.keys(i)},s.id=7243,e.exports=s},7369:function(e){"use strict";e.exports=JSON.parse('{"battery":{"name":"Battery","name_plural":"Batteries","icon":{"class":"fas fa-battery-full"}},"button":{"name":"Button","name_plural":"Buttons","icon":{"class":"fas fa-circle-dot"}},"current_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-bolt"}},"motion_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person-running"}},"bluetooth_device":{"name":"Device","name_plural":"Devices","icon":{"class":"fab fa-bluetooth-b"}},"bluetooth_service":{"name":"Service","name_plural":"Services","icon":{"class":"fas fa-satellite-dish"}},"device":{"name":"Device","name_plural":"Devices","icon":{"class":"fas fa-gear"}},"volume":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-volume-high"}},"dimmer":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-gauge"}},"energy_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"entity":{"name":"Entity","name_plural":"Entities","icon":{"class":"fas fa-circle-question"}},"humidity_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-droplet"}},"dew_point_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-hand-holding-droplet"}},"illuminance_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-sun"}},"light":{"name":"Light","name_plural":"Lights","icon":{"class":"fas fa-lightbulb"}},"contact_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"far fa-hand"}},"presence_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person"}},"weight_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-weight-scale"}},"link_quality":{"name":"Link Quality","name_plural":"Link Qualities","icon":{"class":"fas fa-tower-broadcast"}},"power_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"temperature_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-temperature-half"}},"steps_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-shoe-prints"}},"heart_rate_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-heart-pulse"}},"time_duration_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-clock"}},"pressure_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-gauge"}},"muted":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-volume-xmark"}},"enum_switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-gauge"}},"switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-toggle-on"}},"voltage_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-car-battery"}},"composite_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"binary_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"numeric_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"enum_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"raw_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}}}')}}]);
-//# sourceMappingURL=213.f2e3adcf.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/213.f2e3adcf.js.map b/platypush/backend/http/webapp/dist/static/js/213.f2e3adcf.js.map
deleted file mode 100644
index 4cdfe49829..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/213.f2e3adcf.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/213.f2e3adcf.js","mappings":"8MAyBSA,MAAM,oB,wEAxBb,QAkCM,OAlCDA,OAAK,SAAC,2BAA0B,iBACP,EAAAC,YAAW,UAAa,EAAAC,YAAW,QAAW,EAAAC,OAAOC,MAAMC,WADzF,EAEE,OAoBM,OApBDL,OAAK,SAAC,4BAA2B,iBACP,EAAAC,YAAW,UAAa,EAAAC,YAAW,MAAS,EAAAI,gBAD3E,EAEE,OAYM,OAZDN,OAAK,SAAC,WAAU,WAAqB,EAAAC,YAAW,SAAY,EAAAA,gBAAjE,cACE,SAUE,QATK,EAAAM,WAAS,CACbJ,MAAO,EAAAA,MACPK,OAAQ,EAAAA,OACRC,QAAS,EAAAA,QACVC,IAAI,WACHC,MAAO,EAAAA,OAAyB,GAAhB,EAAAR,OAAOS,UACvB,QAAO,EAAAC,QACP,QAAK,eAAE,EAAAC,MAAK,QAAUC,IACtB,UAAO,eAAE,EAAAD,MAAK,UAAYC,KAT7B,yDADF,GAcwE,EAAAd,cAAA,WAAxE,QAGM,O,MAHDD,MAAM,yBAA0B,QAAK,8BAAO,EAAAgB,iBAAA,EAAAA,mBAAA,IAAe,YAAhE,EACE,OAC6E,KAD1EhB,OAAK,SAAC,MAAK,mBACgB,EAAAE,YAAW,iBAAoB,EAAAA,gBAD7D,YADF,gBAhBF,GAsBqC,EAAAA,aAArC,iBAAqC,WAArC,QASM,MATN,EASM,gB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aY,IAAaA,IAAa3D,KAAK1B,OAAOqF,SAC3D,OAAO,EAET,MAAMrF,EAAQ,IAAI0B,KAAK1B,OACvBA,EAAMqF,SAAWA,EACjB3D,KAAKf,MAAM,QAASX,EACrB,GAGHiD,UACEvB,KAAKkL,oBAAmB,GACxBlL,KAAK+B,QAAO,IAAM/B,KAAK1B,OAAOqF,WAAU,KAAQ3D,KAAKkL,oBAAmB,EAAxB,IAChDlL,KAAK+B,QAAO,IAAM/B,KAAKuK,YAAYvK,KAAKiL,kBACxCjL,KAAK+B,QAAO,IAAM/B,KAAK+C,eAAc,KAAQ/C,KAAKkL,oBAAmB,EAAxB,GAC9C,G,UCzKH,MAAM/I,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,uBCTA,IAAIV,EAAM,CACT,YAAa,CACZ,KACA,EACA,IACA,MAED,gBAAiB,CAChB,KACA,EACA,IACA,MAED,iBAAkB,CACjB,KACA,EACA,IACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,MAED,wBAAyB,CACxB,KACA,EACA,IACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,yBAA0B,CACzB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,EACA,IACA,KACA,MAED,eAAgB,CACf,KACA,EACA,IACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,KACA,MAED,wBAAyB,CACxB,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,EACA,IACA,MAED,eAAgB,CACf,KACA,EACA,IACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,EACA,KACA,IACA,MAED,eAAgB,CACf,KACA,EACA,KACA,IACA,MAED,iBAAkB,CACjB,KACA,EACA,IACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,IACA,GAED,eAAgB,CACf,IACA,GAED,eAAgB,CACf,KACA,EACA,IACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,MAED,gBAAiB,CAChB,KACA,GAED,oBAAqB,CACpB,KACA,GAED,eAAgB,CACf,KACA,EACA,IACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,KACA,MAED,eAAgB,CACf,KACA,EACA,IACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,KACA,MAED,wBAAyB,CACxB,KACA,EACA,IACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,IACA,KACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,UAAW,CACV,KACA,EACA,KACA,IACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,IACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,IACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,iBAAkB,CACjB,KACA,EACA,IACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,UAAW,CACV,KACA,EACA,IACA,KACA,MAED,cAAe,CACd,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,IACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,IACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,IACA,KACA,MAED,cAAe,CACd,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,aAAc,CACb,KACA,GAED,iBAAkB,CACjB,KACA,GAED,WAAY,CACX,KACA,EACA,IACA,KACA,MAED,eAAgB,CACf,KACA,EACA,IACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,IACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,EACA,IACA,KACA,MAED,eAAgB,CACf,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,IACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,IACA,KACA,MAED,2BAA4B,CAC3B,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,EACA,KACA,IACA,MAED,eAAgB,CACf,KACA,EACA,KACA,IACA,MAED,iBAAkB,CACjB,KACA,EACA,IACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,gBAAiB,CAChB,GACA,EACA,KACA,IAED,SAAU,CACT,KACA,GAED,cAAe,CACd,KACA,GAED,cAAe,CACd,KACA,EACA,KACA,OAGF,SAAS0J,EAAoB1B,GAC5B,IAAI2B,EAAoBC,EAAE5J,EAAKgI,GAC9B,OAAO6B,QAAQC,UAAUC,MAAK,WAC7B,IAAI/F,EAAI,IAAIgG,MAAM,uBAAyBhC,EAAM,KAEjD,MADAhE,EAAEiG,KAAO,mBACHjG,CACP,IAGD,IAAIkG,EAAMlK,EAAIgI,GAAMnK,EAAKqM,EAAI,GAC7B,OAAOL,QAAQM,IAAID,EAAI/J,MAAM,GAAGH,IAAI2J,EAAoB3F,IAAI+F,MAAK,WAChE,OAAOJ,EAAoB1J,EAAEpC,EAAa,GAATqM,EAAI,GACtC,GACD,CACAR,EAAoB5H,KAAO,WAAa,OAAO1D,OAAO0D,KAAK9B,EAAM,EACjE0J,EAAoB7L,GAAK,KACzBuM,EAAOC,QAAUX,C","sources":["webpack://platypush/./src/components/panels/Entities/Entity.vue","webpack://platypush/./src/components/panels/Entities/Entity.vue?6f8a","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue?a9b3","webpack://platypush/./src/components/panels/Entities/Index.vue","webpack://platypush/./src/components/elements/NoItems.vue","webpack://platypush/./src/components/elements/NoItems.vue?70de","webpack://platypush/./src/components/panels/Entities/Index.vue?4523","webpack://platypush/./src/components/panels/Entities/Modal.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue?f384","webpack://platypush/./src/components/elements/EditButton.vue","webpack://platypush/./src/components/elements/EditButton.vue?fb20","webpack://platypush/./src/components/elements/NameEditor.vue","webpack://platypush/./src/components/elements/NameEditor.vue?34cf","webpack://platypush/./src/components/panels/Entities/Modal.vue?d45a","webpack://platypush/./src/components/panels/Entities/Selector.vue","webpack://platypush/./src/components/panels/Entities/Selector.vue?bf8b","webpack://platypush/./src/components/panels/Entities|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object"],"sourcesContent":["\n
\n
\n
\n \n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=ca2bd702&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=ca2bd702&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca2bd702\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=51aa9db3&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=51aa9db3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-51aa9db3\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=8db4988a&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=8db4988a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8db4988a\"]])\n\nexport default __exports__","import { render } from \"./View.vue?vue&type=template&id=70d7a7df&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=70d7a7df&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70d7a7df\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=28d31846&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=28d31846&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28d31846\"]])\n\nexport default __exports__"],"names":["module","exports","Object","is","x","y","$","repeat","target","proto","call","fixRegExpWellKnownSymbolLogic","anObject","requireObjectCoercible","sameValue","toString","getMethod","regExpExec","SEARCH","nativeSearch","maybeCallNative","regexp","O","this","searcher","undefined","RegExp","string","rx","S","res","done","value","previousLastIndex","lastIndex","result","index","class","status","track","buttons","$emit","$event","expanded","buttons_","previous","title","stop","state","next","disabled","muted","volume","range","volumeRange","consume","random","convertTime","elapsed","duration","album","href","$route","fullPath","length","artist","url","name","components","Slider","mixins","Utils","emits","props","type","default","Array","data","keys","lastSync","position","computed","methods","getTime","Date","mounted","self","$watch","setInterval","Math","round","__exports__","Controls","pluginName","String","required","render","ref","withRange","withLabel","min","max","step","onUpdate","Number","Boolean","event","update","$refs","sliderWidth","clientWidth","percent","innerWidth","thumb","style","left","transform","width","newValue"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"static/js/7029-legacy.85f01cbd.js","mappings":"iGAGAA,EAAOC,QAAUC,OAAOC,IAAM,SAAYC,EAAGC,GAE3C,OAAOD,IAAMC,EAAU,IAAND,GAAW,EAAIA,IAAM,EAAIC,EAAID,GAAKA,GAAKC,GAAKA,CAC/D,C,uBCNA,IAAIC,EAAI,EAAQ,MACZC,EAAS,EAAQ,MAIrBD,EAAE,CAAEE,OAAQ,SAAUC,OAAO,GAAQ,CACnCF,OAAQA,G,oCCLV,IAAIG,EAAO,EAAQ,MACfC,EAAgC,EAAQ,MACxCC,EAAW,EAAQ,MACnBC,EAAyB,EAAQ,MACjCC,EAAY,EAAQ,MACpBC,EAAW,EAAQ,MACnBC,EAAY,EAAQ,MACpBC,EAAa,EAAQ,MAGzBN,EAA8B,UAAU,SAAUO,EAAQC,EAAcC,GACtE,MAAO,CAGL,SAAgBC,GACd,IAAIC,EAAIT,EAAuBU,MAC3BC,OAAqBC,GAAVJ,OAAsBI,EAAYT,EAAUK,EAAQH,GACnE,OAAOM,EAAWd,EAAKc,EAAUH,EAAQC,GAAK,IAAII,OAAOL,GAAQH,GAAQH,EAASO,GACpF,EAGA,SAAUK,GACR,IAAIC,EAAKhB,EAASW,MACdM,EAAId,EAASY,GACbG,EAAMV,EAAgBD,EAAcS,EAAIC,GAE5C,GAAIC,EAAIC,KAAM,OAAOD,EAAIE,MAEzB,IAAIC,EAAoBL,EAAGM,UACtBpB,EAAUmB,EAAmB,KAAIL,EAAGM,UAAY,GACrD,IAAIC,EAASlB,EA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EAAMlG,OAAOwB,OACzBT,KAAKkB,MAAMiE,EAAMhC,MAAjB,kBACKgC,GADL,IAEElG,QAAQ,kBACHkG,EAAMlG,QADL,IAEJwB,MAAOT,KAAKqF,MAAMvD,MAAMrB,UAG7B,EAED2E,OAZO,SAYA3E,GACL,IAAM6E,EAActF,KAAKqF,MAAMvD,MAAMyD,YAC/BC,GAAW/E,EAAQT,KAAK8B,MAAM,KAAO9B,KAAK8B,MAAM,GAAK9B,KAAK8B,MAAM,IAChE2D,EAAaD,EAAUF,EACvBI,EAAQ1F,KAAKqF,MAAMK,MAEzBA,EAAMC,MAAMC,KAAZ,UAAsBH,EAAaC,EAAMH,YAAc,EAAvD,MACAvF,KAAKqF,MAAMK,MAAMC,MAAME,UAAvB,qBAAiDL,EAAjD,YACAxF,KAAKqF,MAAMrE,MAAM2E,MAAMG,MAAvB,UAAkCL,EAAlC,KACD,GAGH3B,QA1Da,WA0DH,WACU,MAAd9D,KAAKS,OACPT,KAAKoF,OAAOpF,KAAKS,OACnBT,KAAKgE,QAAO,kBAAM,EAAKvD,KAAX,IAAkB,SAACsF,GAAD,OAAc,EAAKX,OAAOW,EAA1B,GAC/B,I,UCrFH,MAAM3B,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASK,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./node_modules/core-js/internals/same-value.js","webpack://platypush/./node_modules/core-js/modules/es.string.repeat.js","webpack://platypush/./node_modules/core-js/modules/es.string.search.js","webpack://platypush/./src/components/Media/View.vue","webpack://platypush/./src/components/Media/Controls.vue","webpack://platypush/./src/components/Media/Controls.vue?3032","webpack://platypush/./src/components/Media/View.vue?78ca","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f"],"sourcesContent":["// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es-x/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","var $ = require('../internals/export');\nvar repeat = require('../internals/string-repeat');\n\n// `String.prototype.repeat` method\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\n$({ target: 'String', proto: true }, {\n repeat: repeat\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","\n
\n
\n \n
\n
\n \n
\n
\n\n\n\n\n\n","\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n\n \n\n \n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n \n \n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n \n \n \n
\n\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n \n
\n\n
\n
\n \n \n \n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=8db4988a&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=8db4988a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8db4988a\"]])\n\nexport default __exports__","import { render } from \"./View.vue?vue&type=template&id=70d7a7df&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=70d7a7df&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70d7a7df\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=4b38623f&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=4b38623f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4b38623f\"]])\n\nexport default __exports__"],"names":["module","exports","Object","is","x","y","$","repeat","target","proto","call","fixRegExpWellKnownSymbolLogic","anObject","requireObjectCoercible","sameValue","toString","getMethod","regExpExec","SEARCH","nativeSearch","maybeCallNative","regexp","O","this","searcher","undefined","RegExp","string","rx","S","res","done","value","previousLastIndex","lastIndex","result","index","class","status","track","buttons","$emit","$event","expanded","buttons_","previous","title","stop","state","next","disabled","muted","volume","range","volumeRange","consume","random","convertTime","elapsed","duration","album","href","$route","fullPath","length","artist","url","name","components","Slider","mixins","Utils","emits","props","type","default","Array","data","keys","lastSync","position","computed","methods","getTime","Date","mounted","self","$watch","setInterval","Math","round","__exports__","Controls","pluginName","String","required","render","ref","withRange","withLabel","min","max","step","onUpdate","Number","Boolean","event","update","$refs","sliderWidth","clientWidth","percent","innerWidth","thumb","style","left","transform","width","newValue"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7367-legacy.ca6cee67.js b/platypush/backend/http/webapp/dist/static/js/7367-legacy.ca6cee67.js
new file mode 100644
index 0000000000..0a8bda2f7b
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7367-legacy.ca6cee67.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7367],{7367:function(t,e,n){n.r(e),n.d(e,{default:function(){return w}});n(8309);var l=n(6252),a=n(3577),u={class:"entity sensor-container"},s={class:"head"},o={class:"col-1 icon"},i={class:"col-s-8 col-m-9 label"},c=["textContent"],r={key:0,class:"col-s-3 col-m-2 pull-right"},v=["textContent"],d=["textContent"];function p(t,e,n,p,m,h){var f=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",o,[(0,l.Wm)(f,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",i,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,c)]),null!=h.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(h.computedValue)},null,8,v),null!=t.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(t.value.unit)},null,8,d)):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])])}var m=n(7909),h=n(3459),f={name:"Sensor",components:{EntityIcon:h["default"]},mixins:[m["default"]],computed:{computedValue:function(){return null!=this.value.value?this.value.value:this.value._value}}},y=n(3744);const k=(0,y.Z)(f,[["render",p],["__scopeId","data-v-87a36488"]]);var w=k}}]);
+//# sourceMappingURL=7367-legacy.ca6cee67.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7367-legacy.ca6cee67.js.map b/platypush/backend/http/webapp/dist/static/js/7367-legacy.ca6cee67.js.map
new file mode 100644
index 0000000000..f7c2094e4b
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7367-legacy.ca6cee67.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/js/7367-legacy.ca6cee67.js","mappings":"kMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,2BAINA,MAAM,8B,2GAbf,QAoBM,MApBN,EAoBM,EAnBJ,OAkBM,MAlBN,EAkBM,EAjBJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,YAIqB,MAAb,EAAAC,gBAAa,WADvB,QAKM,MALN,EAKM,EAHJ,OAA6C,QAAvCN,MAAM,Q,aAAQ,QAAsB,EAAD,gBAAzC,UAEkB,MAAV,EAAAE,MAAMK,OAAI,WADlB,QAC8B,Q,MADxBP,MAAM,O,aAAO,QAAmB,EAAN,MAACO,OAAjC,+BAHF,kB,yBAcN,GACEF,KAAM,SACNG,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRN,cADQ,WAEN,OAAwB,MAApBO,KAAKX,MAAMA,MACNW,KAAKX,MAAMA,MACbW,KAAKX,MAAMY,MACnB,I,UC/BL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Sensor.vue","webpack://platypush/./src/components/panels/Entities/Sensor.vue?60a5"],"sourcesContent":["\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Sensor.vue?vue&type=template&id=87a36488&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=87a36488&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-87a36488\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","computedValue","unit","components","EntityIcon","mixins","EntityMixin","computed","this","_value","__exports__","render"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7367.9e85aca6.js b/platypush/backend/http/webapp/dist/static/js/7367.9e85aca6.js
new file mode 100644
index 0000000000..eae0243318
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7367.9e85aca6.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7367],{7367:function(t,e,n){n.r(e),n.d(e,{default:function(){return w}});var l=n(6252),a=n(3577);const u={class:"entity sensor-container"},s={class:"head"},o={class:"col-1 icon"},c={class:"col-s-8 col-m-9 label"},i=["textContent"],r={key:0,class:"col-s-3 col-m-2 pull-right"},d=["textContent"],v=["textContent"];function p(t,e,n,p,m,h){const y=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",o,[(0,l.Wm)(y,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",c,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,i)]),null!=h.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(h.computedValue)},null,8,d),null!=t.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(t.value.unit)},null,8,v)):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])])}var m=n(7909),h=n(3459),y={name:"Sensor",components:{EntityIcon:h["default"]},mixins:[m["default"]],computed:{computedValue(){return null!=this.value.value?this.value.value:this.value._value}}},f=n(3744);const k=(0,f.Z)(y,[["render",p],["__scopeId","data-v-87a36488"]]);var w=k}}]);
+//# sourceMappingURL=7367.9e85aca6.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7367.9e85aca6.js.map b/platypush/backend/http/webapp/dist/static/js/7367.9e85aca6.js.map
new file mode 100644
index 0000000000..07147ec224
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7367.9e85aca6.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/js/7367.9e85aca6.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,2BAINA,MAAM,8B,6GAbf,QAoBM,MApBN,EAoBM,EAnBJ,OAkBM,MAlBN,EAkBM,EAjBJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,YAIqB,MAAb,EAAAC,gBAAa,WADvB,QAKM,MALN,EAKM,EAHJ,OAA6C,QAAvCN,MAAM,Q,aAAQ,QAAsB,EAAD,gBAAzC,UAEkB,MAAV,EAAAE,MAAMK,OAAI,WADlB,QAC8B,Q,MADxBP,MAAM,O,aAAO,QAAmB,EAAN,MAACO,OAAjC,+BAHF,kB,yBAcN,GACEF,KAAM,SACNG,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRN,gBACE,OAAwB,MAApBO,KAAKX,MAAMA,MACNW,KAAKX,MAAMA,MACbW,KAAKX,MAAMY,MACnB,I,UC/BL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Sensor.vue","webpack://platypush/./src/components/panels/Entities/Sensor.vue?60a5"],"sourcesContent":["\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Sensor.vue?vue&type=template&id=87a36488&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=87a36488&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-87a36488\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","computedValue","unit","components","EntityIcon","mixins","EntityMixin","computed","this","_value","__exports__","render"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549-legacy.a351a798.js b/platypush/backend/http/webapp/dist/static/js/7549-legacy.a351a798.js
deleted file mode 100644
index 75d9a49941..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/7549-legacy.a351a798.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7549,3459],{6:function(e,t,n){n.d(t,{Z:function(){return f}});var o=n(6252),l=n(3577),i=n(9963),a=function(e){return(0,o.dD)("data-v-a6396ae8"),e=e(),(0,o.Cn)(),e},c=["checked"],r=a((function(){return(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1)})),u={class:"label"};function s(e,t,n,a,s,d){return(0,o.wg)(),(0,o.iD)("div",{class:(0,l.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,i.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:n.value},null,8,c),(0,o._)("label",null,[r,(0,o._)("span",u,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},p=n(3744);const v=(0,p.Z)(d,[["render",s],["__scopeId","data-v-a6396ae8"]]);var f=v},7549:function(e,t,n){n.r(t),n.d(t,{default:function(){return g}});n(8309);var o=n(6252),l=n(3577),i={class:"entity sensor-container"},a={class:"head"},c={class:"col-1 icon"},r={class:"col-s-8 col-m-9 label"},u=["textContent"],s={key:0,class:"col-s-3 col-m-2 pull-right"};function d(e,t,n,d,p,v){var f=(0,o.up)("EntityIcon"),h=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",i,[(0,o._)("div",a,[(0,o._)("div",c,[(0,o.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,o._)("div",r,[(0,o._)("div",{class:"name",textContent:(0,l.zw)(e.value.name)},null,8,u)]),null!=e.value.value?((0,o.wg)(),(0,o.iD)("div",s,[(0,o.Wm)(h,{value:e.value.value,disabled:!0},null,8,["value"])])):(0,o.kq)("",!0)])])}var p=n(7909),v=n(3459),f=n(6),h={name:"BinarySensor",components:{EntityIcon:v["default"],ToggleSwitch:f.Z},mixins:[p["default"]]},y=n(3744);const m=(0,y.Z)(h,[["render",d],["__scopeId","data-v-e7b0b2c4"]]);var g=m},3459:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var o=n(6252),l=n(3577),i=n(3540),a={key:0,src:i,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function r(e,t,n,i,r,u){var s=(0,o.up)("Icon");return(0,o.wg)(),(0,o.iD)("div",{class:(0,l.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,l.j5)(u.colorFillStyle)},[n.loading?((0,o.wg)(),(0,o.iD)("img",a)):n.error?((0,o.wg)(),(0,o.iD)("i",c)):((0,o.wg)(),(0,o.j4)(s,(0,l.vs)((0,o.dG)({key:2},u.computedIconNormalized)),null,16))],6)}var u=n(4648),s=(n(7941),n(7042),n(1478)),d={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:function(){}},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{computedIcon:function(){var e,t,n=(0,u.Z)({},(null===(e=this.entity)||void 0===e||null===(t=e.meta)||void 0===t?void 0:t.icon)||{});return Object.keys(this.icon||{}).length&&(n=this.icon),(0,u.Z)({},n)},colorFill:function(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle:function(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized:function(){var e=(0,u.Z)({},this.computedIcon);return this.colorFill&&delete e.color,e},type:function(){var e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},p=n(3744);const v=(0,p.Z)(d,[["render",r],["__scopeId","data-v-4fad24e6"]]);var f=v},3540:function(e,t,n){e.exports=n.p+"static/img/spinner.c0bee445.gif"}}]);
-//# sourceMappingURL=7549-legacy.a351a798.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549-legacy.a351a798.js.map b/platypush/backend/http/webapp/dist/static/js/7549-legacy.a351a798.js.map
deleted file mode 100644
index 7ef3b2e64f..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/7549-legacy.a351a798.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/7549-legacy.a351a798.js","mappings":"+RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,kBAAP,GAAc,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,uGCROhB,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,2BAINA,MAAM,8B,kGAbf,QAiBM,MAjBN,EAiBM,EAhBJ,OAeM,MAfN,EAeM,EAdJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBiB,OAAQ,EAAAZ,MACRa,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCnB,MAAM,O,aAAO,QAAmB,EAAN,MAACM,OAAhC,YAGuD,MAAX,EAAAD,MAAMA,QAAK,WAAzD,QAEM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,CAAC,CAC1E,EAEDG,uBAhBQ,WAiBN,IAAMI,GAAG,UAAQpB,KAAK0B,cAGtB,OAFI1B,KAAKa,kBACAO,EAAKU,MACPV,CACR,EAED9B,KAvBQ,WAwBN,IAAIyC,EAAc/B,KAAKI,OAAOd,MAAQ,GACtC,OAAOyC,EAAWC,OAAO,GAAGC,cAAgBF,EAAWG,MAAM,EAC9D,I,UCrEL,MAAMhC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue?7e06","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./BinarySensor.vue?vue&type=template&id=e7b0b2c4&scoped=true\"\nimport script from \"./BinarySensor.vue?vue&type=script&lang=js\"\nexport * from \"./BinarySensor.vue?vue&type=script&lang=js\"\n\nimport \"./BinarySensor.vue?vue&type=style&index=0&id=e7b0b2c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e7b0b2c4\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","entity","loading","error","components","EntityIcon","ToggleSwitch","mixins","EntityMixin","src","colorFill","style","colorFillStyle","computedIconNormalized","Icon","Object","required","icon","hasColorFill","data","component","modalVisible","computed","computedIcon","meta","keys","length","color","entityType","charAt","toUpperCase","slice"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549-legacy.ce03d2d0.js b/platypush/backend/http/webapp/dist/static/js/7549-legacy.ce03d2d0.js
new file mode 100644
index 0000000000..91586f05f4
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7549-legacy.ce03d2d0.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7549],{6:function(e,n,t){t.d(n,{Z:function(){return f}});var l=t(6252),a=t(3577),i=t(9963),u=function(e){return(0,l.dD)("data-v-a6396ae8"),e=e(),(0,l.Cn)(),e},o=["checked"],s=u((function(){return(0,l._)("div",{class:"switch"},[(0,l._)("div",{class:"dot"})],-1)})),c={class:"label"};function r(e,n,t,u,r,d){return(0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,i.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,l._)("input",{type:"checkbox",checked:t.value},null,8,o),(0,l._)("label",null,[s,(0,l._)("span",c,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const p=(0,v.Z)(d,[["render",r],["__scopeId","data-v-a6396ae8"]]);var f=p},7549:function(e,n,t){t.r(n),t.d(n,{default:function(){return g}});t(8309);var l=t(6252),a=t(3577),i={class:"entity sensor-container"},u={class:"head"},o={class:"col-1 icon"},s={class:"col-s-8 col-m-9 label"},c=["textContent"],r={key:0,class:"col-s-3 col-m-2 pull-right"};function d(e,n,t,d,v,p){var f=(0,l.up)("EntityIcon"),h=(0,l.up)("ToggleSwitch");return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",u,[(0,l._)("div",o,[(0,l.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",s,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),null!=e.value.value?((0,l.wg)(),(0,l.iD)("div",r,[(0,l.Wm)(h,{value:e.value.value,disabled:!0},null,8,["value"])])):(0,l.kq)("",!0)])])}var v=t(7909),p=t(3459),f=t(6),h={name:"BinarySensor",components:{EntityIcon:p["default"],ToggleSwitch:f.Z},mixins:[v["default"]]},_=t(3744);const b=(0,_.Z)(h,[["render",d],["__scopeId","data-v-e7b0b2c4"]]);var g=b}}]);
+//# sourceMappingURL=7549-legacy.ce03d2d0.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549-legacy.ce03d2d0.js.map b/platypush/backend/http/webapp/dist/static/js/7549-legacy.ce03d2d0.js.map
new file mode 100644
index 0000000000..99c5b891ee
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7549-legacy.ce03d2d0.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/js/7549-legacy.ce03d2d0.js","mappings":"0RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,E,OAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,kBAAP,GAAc,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,uGCROhB,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,2BAINA,MAAM,8B,kGAbf,QAiBM,MAjBN,EAiBM,EAhBJ,OAeM,MAfN,EAeM,EAdJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBiB,OAAQ,EAAAZ,MACRa,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCnB,MAAM,O,aAAO,QAAmB,EAAN,MAACM,OAAhC,YAGuD,MAAX,EAAAD,MAAMA,QAAK,WAAzD,QAEM,MAFN,EAEM,EADJ,QAAsD,GAAvCA,MAAO,EAAAA,MAAMA,MAAQJ,UAAU,GAA9C,sBADF,kB,gCAYN,GACEK,KAAM,eACNc,WAAY,CAACC,WAAAA,EAAA,WAAYC,aAAAA,EAAA,GACzBC,OAAQ,CAACC,EAAA,a,UCtBX,MAAMT,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue?7e06"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./BinarySensor.vue?vue&type=template&id=e7b0b2c4&scoped=true\"\nimport script from \"./BinarySensor.vue?vue&type=script&lang=js\"\nexport * from \"./BinarySensor.vue?vue&type=script&lang=js\"\n\nimport \"./BinarySensor.vue?vue&type=style&index=0&id=e7b0b2c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e7b0b2c4\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","entity","loading","error","components","EntityIcon","ToggleSwitch","mixins","EntityMixin"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549.3f5e0e96.js b/platypush/backend/http/webapp/dist/static/js/7549.3f5e0e96.js
new file mode 100644
index 0000000000..b6d01aeaa7
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7549.3f5e0e96.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7549],{6:function(e,n,t){t.d(n,{Z:function(){return h}});var l=t(6252),a=t(3577),s=t(9963);const i=e=>((0,l.dD)("data-v-a6396ae8"),e=e(),(0,l.Cn)(),e),o=["checked"],c=i((()=>(0,l._)("div",{class:"switch"},[(0,l._)("div",{class:"dot"})],-1))),u={class:"label"};function d(e,n,t,i,d,r){return(0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,l._)("input",{type:"checkbox",checked:t.value},null,8,o),(0,l._)("label",null,[c,(0,l._)("span",u,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const p=(0,v.Z)(r,[["render",d],["__scopeId","data-v-a6396ae8"]]);var h=p},7549:function(e,n,t){t.r(n),t.d(n,{default:function(){return g}});var l=t(6252),a=t(3577);const s={class:"entity sensor-container"},i={class:"head"},o={class:"col-1 icon"},c={class:"col-s-8 col-m-9 label"},u=["textContent"],d={key:0,class:"col-s-3 col-m-2 pull-right"};function r(e,n,t,r,v,p){const h=(0,l.up)("EntityIcon"),f=(0,l.up)("ToggleSwitch");return(0,l.wg)(),(0,l.iD)("div",s,[(0,l._)("div",i,[(0,l._)("div",o,[(0,l.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",c,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,u)]),null!=e.value.value?((0,l.wg)(),(0,l.iD)("div",d,[(0,l.Wm)(f,{value:e.value.value,disabled:!0},null,8,["value"])])):(0,l.kq)("",!0)])])}var v=t(7909),p=t(3459),h=t(6),f={name:"BinarySensor",components:{EntityIcon:p["default"],ToggleSwitch:h.Z},mixins:[v["default"]]},_=t(3744);const b=(0,_.Z)(f,[["render",r],["__scopeId","data-v-e7b0b2c4"]]);var g=b}}]);
+//# sourceMappingURL=7549.3f5e0e96.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549.3f5e0e96.js.map b/platypush/backend/http/webapp/dist/static/js/7549.3f5e0e96.js.map
new file mode 100644
index 0000000000..c741fa51a4
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/7549.3f5e0e96.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/js/7549.3f5e0e96.js","mappings":"qQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,EACrB,I,UC/BL,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,qGCROhB,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,2BAINA,MAAM,8B,oGAbf,QAiBM,MAjBN,EAiBM,EAhBJ,OAeM,MAfN,EAeM,EAdJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBiB,OAAQ,EAAAZ,MACRa,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCnB,MAAM,O,aAAO,QAAmB,EAAN,MAACM,OAAhC,YAGuD,MAAX,EAAAD,MAAMA,QAAK,WAAzD,QAEM,MAFN,EAEM,EADJ,QAAsD,GAAvCA,MAAO,EAAAA,MAAMA,MAAQJ,UAAU,GAA9C,sBADF,kB,gCAYN,GACEK,KAAM,eACNc,WAAY,CAACC,WAAD,aAAaC,aAAY,KACrCC,OAAQ,CAACC,EAAA,a,UCtBX,MAAMT,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue?7e06"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./BinarySensor.vue?vue&type=template&id=e7b0b2c4&scoped=true\"\nimport script from \"./BinarySensor.vue?vue&type=script&lang=js\"\nexport * from \"./BinarySensor.vue?vue&type=script&lang=js\"\n\nimport \"./BinarySensor.vue?vue&type=style&index=0&id=e7b0b2c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e7b0b2c4\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","entity","loading","error","components","EntityIcon","ToggleSwitch","mixins","EntityMixin"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549.8b5472d6.js b/platypush/backend/http/webapp/dist/static/js/7549.8b5472d6.js
deleted file mode 100644
index e7c0386419..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/7549.8b5472d6.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7549,3459],{6:function(e,t,l){l.d(t,{Z:function(){return h}});var n=l(6252),o=l(3577),i=l(9963);const a=e=>((0,n.dD)("data-v-a6396ae8"),e=e(),(0,n.Cn)(),e),c=["checked"],r=a((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),s={class:"label"};function u(e,t,l,a,u,d){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:l.disabled}]),onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>d.onInput&&d.onInput(...e)),["stop"]))},[(0,n._)("input",{type:"checkbox",checked:l.value},null,8,c),(0,n._)("label",null,[r,(0,n._)("span",s,[(0,n.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},p=l(3744);const v=(0,p.Z)(d,[["render",u],["__scopeId","data-v-a6396ae8"]]);var h=v},7549:function(e,t,l){l.r(t),l.d(t,{default:function(){return g}});var n=l(6252),o=l(3577);const i={class:"entity sensor-container"},a={class:"head"},c={class:"col-1 icon"},r={class:"col-s-8 col-m-9 label"},s=["textContent"],u={key:0,class:"col-s-3 col-m-2 pull-right"};function d(e,t,l,d,p,v){const h=(0,n.up)("EntityIcon"),y=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",a,[(0,n._)("div",c,[(0,n.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,n._)("div",r,[(0,n._)("div",{class:"name",textContent:(0,o.zw)(e.value.name)},null,8,s)]),null!=e.value.value?((0,n.wg)(),(0,n.iD)("div",u,[(0,n.Wm)(y,{value:e.value.value,disabled:!0},null,8,["value"])])):(0,n.kq)("",!0)])])}var p=l(7909),v=l(3459),h=l(6),y={name:"BinarySensor",components:{EntityIcon:v["default"],ToggleSwitch:h.Z},mixins:[p["default"]]},f=l(3744);const m=(0,f.Z)(y,[["render",d],["__scopeId","data-v-e7b0b2c4"]]);var g=m},3459:function(e,t,l){l.r(t),l.d(t,{default:function(){return v}});var n=l(6252),o=l(3577),i=l(3540);const a={key:0,src:i,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function r(e,t,l,i,r,s){const u=(0,n.up)("Icon");return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["entity-icon-container",{"with-color-fill":!!s.colorFill}]),style:(0,o.j5)(s.colorFillStyle)},[l.loading?((0,n.wg)(),(0,n.iD)("img",a)):l.error?((0,n.wg)(),(0,n.iD)("i",c)):((0,n.wg)(),(0,n.j4)(u,(0,o.vs)((0,n.dG)({key:2},s.computedIconNormalized)),null,16))],6)}var s=l(1478),u={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:()=>{}},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{computedIcon(){let e={...this.entity?.meta?.icon||{}};return Object.keys(this.icon||{}).length&&(e=this.icon),{...e}},colorFill(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized(){const e={...this.computedIcon};return this.colorFill&&delete e.color,e},type(){let e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},d=l(3744);const p=(0,d.Z)(u,[["render",r],["__scopeId","data-v-4fad24e6"]]);var v=p},3540:function(e,t,l){e.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
-//# sourceMappingURL=7549.8b5472d6.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/7549.8b5472d6.js.map b/platypush/backend/http/webapp/dist/static/js/7549.8b5472d6.js.map
deleted file mode 100644
index 62974758c1..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/7549.8b5472d6.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/7549.8b5472d6.js","mappings":"0QAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,E,CAgBF,OACEC,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I,KACjBtB,MAAO,CACLU,QAAS,CACPf,KAAMM,QACNC,SAAS,GAGXS,MAAO,CACLhB,KAAMM,QACNC,SAAS,GAGXO,OAAQ,CACNd,KAAM4B,OACNC,UAAU,GAGZC,KAAM,CACJ9B,KAAM4B,OACNrB,QAAS,QAGXwB,aAAc,CACZ/B,KAAMM,QACNC,SAAS,IAIbyB,OACE,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRC,eACE,IAAIN,EAAO,IAAKpB,KAAKI,QAAQuB,MAAMP,MAAQ,CAAC,GAG5C,OAFIF,OAAOU,KAAK5B,KAAKoB,MAAQ,CAAC,GAAGS,SAC/BT,EAAOpB,KAAKoB,MACP,IAAIA,EACZ,EAEDP,YACE,OAAOb,KAAKqB,cAAgBrB,KAAK0B,aAAaI,KAC/C,EAEDf,iBACE,OAAOf,KAAKa,YAAcb,KAAKM,MAAQ,CAAC,WAAcN,KAAKa,WAAa,CAAC,CAC1E,EAEDG,yBACE,MAAMI,EAAO,IAAIpB,KAAK0B,cAGtB,OAFI1B,KAAKa,kBACAO,EAAKU,MACPV,CACR,EAED9B,OACE,IAAIyC,EAAc/B,KAAKI,OAAOd,MAAQ,GACtC,OAAOyC,EAAWC,OAAO,GAAGC,cAAgBF,EAAWG,MAAM,EAC9D,I,UCrEL,MAAMhC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue","webpack://platypush/./src/components/panels/Entities/BinarySensor.vue?7e06","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./BinarySensor.vue?vue&type=template&id=e7b0b2c4&scoped=true\"\nimport script from \"./BinarySensor.vue?vue&type=script&lang=js\"\nexport * from \"./BinarySensor.vue?vue&type=script&lang=js\"\n\nimport \"./BinarySensor.vue?vue&type=style&index=0&id=e7b0b2c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e7b0b2c4\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","entity","loading","error","components","EntityIcon","ToggleSwitch","mixins","EntityMixin","src","colorFill","style","colorFillStyle","computedIconNormalized","Icon","Object","required","icon","hasColorFill","data","component","modalVisible","computed","computedIcon","meta","keys","length","color","entityType","charAt","toUpperCase","slice"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126-legacy.d900d4d0.js b/platypush/backend/http/webapp/dist/static/js/8126-legacy.d900d4d0.js
new file mode 100644
index 0000000000..ccb2ac118a
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/8126-legacy.d900d4d0.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8126],{8126:function(t,e,n){n.r(e),n.d(e,{default:function(){return k}});n(8309);var l=n(6252),a=n(3577),u={class:"entity link-quality-container"},i={class:"head"},r={class:"col-1 icon"},s={class:"col-s-8 col-m-9 label"},c=["textContent"],o={class:"col-s-3 col-m-2 buttons pull-right"},v=["textContent"];function d(t,e,n,d,p,f){var h=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",i,[(0,l._)("div",r,[(0,l.Wm)(h,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",s,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,c)]),(0,l._)("div",o,[null!=f.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value-percent",textContent:(0,a.zw)(f.valuePercent+"%")},null,8,v)):(0,l.kq)("",!0)])])])}n(6977);var p=n(7909),f=n(3459),h={name:"LinkQuality",components:{EntityIcon:f["default"]},mixins:[p["default"]],computed:{valuePercent:function(){var t;if(null==(null===(t=this.value)||void 0===t?void 0:t.value))return null;var e=this.value.min||0,n=this.value.max||100;return(100*this.value.value/(n-e)).toFixed(0)}}},m=n(3744);const y=(0,m.Z)(h,[["render",d],["__scopeId","data-v-4ca8847f"]]);var k=y}}]);
+//# sourceMappingURL=8126-legacy.d900d4d0.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126-legacy.d900d4d0.js.map b/platypush/backend/http/webapp/dist/static/js/8126-legacy.d900d4d0.js.map
new file mode 100644
index 0000000000..ba52533afb
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/8126-legacy.d900d4d0.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/js/8126-legacy.d900d4d0.js","mappings":"kMACOA,MAAM,iC,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,qBAINA,MAAM,sC,yFAbf,QAmBM,MAnBN,EAmBM,EAlBJ,OAiBM,MAjBN,EAiBM,EAhBJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,aAGF,OAIM,MAJN,EAIM,CADgB,MAAZ,EAAAC,eAAY,WAFpB,QAEgC,Q,MAF1BN,MAAM,gB,aACV,QAA2B,EAAP,mBADtB,gC,iCAYR,GACEK,KAAM,cACNE,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRL,aADQ,WACO,MACb,GAAyB,OAArB,UAAAM,KAAKV,aAAL,eAAYA,OACd,OAAO,KAET,IAAMW,EAAMD,KAAKV,MAAMW,KAAO,EACxBC,EAAMF,KAAKV,MAAMY,KAAO,IAC9B,OAAS,IAAMF,KAAKV,MAAMA,OAAUY,EAAMD,IAAME,QAAQ,EACzD,I,UCjCL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/LinkQuality.vue","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue?19d2"],"sourcesContent":["\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./LinkQuality.vue?vue&type=template&id=4ca8847f&scoped=true\"\nimport script from \"./LinkQuality.vue?vue&type=script&lang=js\"\nexport * from \"./LinkQuality.vue?vue&type=script&lang=js\"\n\nimport \"./LinkQuality.vue?vue&type=style&index=0&id=4ca8847f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4ca8847f\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","valuePercent","components","EntityIcon","mixins","EntityMixin","computed","this","min","max","toFixed","__exports__","render"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126-legacy.ec568576.js b/platypush/backend/http/webapp/dist/static/js/8126-legacy.ec568576.js
deleted file mode 100644
index c1ac835c66..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/8126-legacy.ec568576.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8126,3459],{3459:function(t,e,n){n.r(e),n.d(e,{default:function(){return f}});var l=n(6252),o=n(3577),i=n(3540),r={key:0,src:i,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function a(t,e,n,i,a,u){var s=(0,l.up)("Icon");return(0,l.wg)(),(0,l.iD)("div",{class:(0,o.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,o.j5)(u.colorFillStyle)},[n.loading?((0,l.wg)(),(0,l.iD)("img",r)):n.error?((0,l.wg)(),(0,l.iD)("i",c)):((0,l.wg)(),(0,l.j4)(s,(0,o.vs)((0,l.dG)({key:2},u.computedIconNormalized)),null,16))],6)}var u=n(4648),s=(n(7941),n(7042),n(1478)),d={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:function(){}},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{computedIcon:function(){var t,e,n=(0,u.Z)({},(null===(t=this.entity)||void 0===t||null===(e=t.meta)||void 0===e?void 0:e.icon)||{});return Object.keys(this.icon||{}).length&&(n=this.icon),(0,u.Z)({},n)},colorFill:function(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle:function(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized:function(){var t=(0,u.Z)({},this.computedIcon);return this.colorFill&&delete t.color,t},type:function(){var t=this.entity.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}},v=n(3744);const p=(0,v.Z)(d,[["render",a],["__scopeId","data-v-4fad24e6"]]);var f=p},8126:function(t,e,n){n.r(e),n.d(e,{default:function(){return g}});n(8309);var l=n(6252),o=n(3577),i={class:"entity link-quality-container"},r={class:"head"},c={class:"col-1 icon"},a={class:"col-s-8 col-m-9 label"},u=["textContent"],s={class:"col-s-3 col-m-2 buttons pull-right"},d=["textContent"];function v(t,e,n,v,p,f){var y=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",r,[(0,l._)("div",c,[(0,l.Wm)(y,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",a,[(0,l._)("div",{class:"name",textContent:(0,o.zw)(t.value.name)},null,8,u)]),(0,l._)("div",s,[null!=f.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value-percent",textContent:(0,o.zw)(f.valuePercent+"%")},null,8,d)):(0,l.kq)("",!0)])])])}n(6977);var p=n(7909),f=n(3459),y={name:"LinkQuality",components:{EntityIcon:f["default"]},mixins:[p["default"]],computed:{valuePercent:function(){var t;if(null==(null===(t=this.value)||void 0===t?void 0:t.value))return null;var e=this.value.min||0,n=this.value.max||100;return(100*this.value.value/(n-e)).toFixed(0)}}},h=n(3744);const m=(0,h.Z)(y,[["render",v],["__scopeId","data-v-4ca8847f"]]);var g=m},3540:function(t,e,n){t.exports=n.p+"static/img/spinner.c0bee445.gif"}}]);
-//# sourceMappingURL=8126-legacy.ec568576.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126-legacy.ec568576.js.map b/platypush/backend/http/webapp/dist/static/js/8126-legacy.ec568576.js.map
deleted file mode 100644
index 18f5f1e81d..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/8126-legacy.ec568576.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/8126-legacy.ec568576.js","mappings":"+MAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,iEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAA+C,4BAAjC,EAAAC,yBAAsB,WALtC,E,2CAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAAA,EAAA,GACbC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAAS,GAGXC,OAAQ,CACNH,KAAMI,OACNC,UAAU,GAGZC,KAAM,CACJN,KAAMI,OACNF,QAAS,WAAQ,GAGnBK,aAAc,CACZP,KAAMC,QACNC,SAAS,IAIbM,KA9Ba,WA+BX,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRC,aADQ,WACO,QACTN,GAAG,WAAS,UAAAO,KAAKV,cAAL,mBAAaW,YAAb,eAAmBR,OAAQ,CAAC,GAG5C,OAFIF,OAAOW,KAAKF,KAAKP,MAAQ,CAAC,GAAGU,SAC/BV,EAAOO,KAAKP,OACd,UAAWA,EACZ,EAEDhB,UARQ,WASN,OAAOuB,KAAKN,cAAgBM,KAAKD,aAAaK,KAC/C,EAEDzB,eAZQ,WAa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C,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue?19d2"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./LinkQuality.vue?vue&type=template&id=4ca8847f&scoped=true\"\nimport script from \"./LinkQuality.vue?vue&type=script&lang=js\"\nexport * from \"./LinkQuality.vue?vue&type=script&lang=js\"\n\nimport \"./LinkQuality.vue?vue&type=style&index=0&id=4ca8847f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4ca8847f\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIconNormalized","name","components","Icon","props","type","Boolean","default","entity","Object","required","icon","hasColorFill","data","component","modalVisible","computed","computedIcon","this","meta","keys","length","color","entityType","charAt","toUpperCase","slice","__exports__","render","value","valuePercent","EntityIcon","mixins","EntityMixin","min","max","toFixed"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126.461774b7.js b/platypush/backend/http/webapp/dist/static/js/8126.461774b7.js
deleted file mode 100644
index b82be7d886..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/8126.461774b7.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8126,3459],{3459:function(t,e,n){n.r(e),n.d(e,{default:function(){return y}});var l=n(6252),o=n(3577),i=n(3540);const c={key:0,src:i,class:"loading"},r={key:1,class:"fas fa-circle-exclamation error"};function a(t,e,n,i,a,s){const u=(0,l.up)("Icon");return(0,l.wg)(),(0,l.iD)("div",{class:(0,o.C_)(["entity-icon-container",{"with-color-fill":!!s.colorFill}]),style:(0,o.j5)(s.colorFillStyle)},[n.loading?((0,l.wg)(),(0,l.iD)("img",c)):n.error?((0,l.wg)(),(0,l.iD)("i",r)):((0,l.wg)(),(0,l.j4)(u,(0,o.vs)((0,l.dG)({key:2},s.computedIconNormalized)),null,16))],6)}var s=n(1478),u={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:()=>{}},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{computedIcon(){let t={...this.entity?.meta?.icon||{}};return Object.keys(this.icon||{}).length&&(t=this.icon),{...t}},colorFill(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized(){const t={...this.computedIcon};return this.colorFill&&delete t.color,t},type(){let t=this.entity.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}},d=n(3744);const p=(0,d.Z)(u,[["render",a],["__scopeId","data-v-4fad24e6"]]);var y=p},8126:function(t,e,n){n.r(e),n.d(e,{default:function(){return g}});var l=n(6252),o=n(3577);const i={class:"entity link-quality-container"},c={class:"head"},r={class:"col-1 icon"},a={class:"col-s-8 col-m-9 label"},s=["textContent"],u={class:"col-s-3 col-m-2 buttons pull-right"},d=["textContent"];function p(t,e,n,p,y,v){const h=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",c,[(0,l._)("div",r,[(0,l.Wm)(h,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",a,[(0,l._)("div",{class:"name",textContent:(0,o.zw)(t.value.name)},null,8,s)]),(0,l._)("div",u,[null!=v.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value-percent",textContent:(0,o.zw)(v.valuePercent+"%")},null,8,d)):(0,l.kq)("",!0)])])])}var y=n(7909),v=n(3459),h={name:"LinkQuality",components:{EntityIcon:v["default"]},mixins:[y["default"]],computed:{valuePercent(){if(null==this.value?.value)return null;const t=this.value.min||0,e=this.value.max||100;return(100*this.value.value/(e-t)).toFixed(0)}}},m=n(3744);const f=(0,m.Z)(h,[["render",p],["__scopeId","data-v-4ca8847f"]]);var g=f},3540:function(t,e,n){t.exports=n.p+"static/img/spinner.c0bee445.gif"}}]);
-//# sourceMappingURL=8126.461774b7.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126.461774b7.js.map b/platypush/backend/http/webapp/dist/static/js/8126.461774b7.js.map
deleted file mode 100644
index 58c436464f..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/8126.461774b7.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/8126.461774b7.js","mappings":"qNAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,mEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAA+C,4BAAjC,EAAAC,yBAAsB,WALtC,E,eAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAI,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,EAIM,CADgB,MAAZ,EAAA6B,eAAY,WAFpB,QAEgC,Q,MAF1BpC,MAAM,gB,aACV,QAA2B,EAAP,mBADtB,gC,yBAYR,GACEO,KAAM,cACNC,WAAY,CAAC6B,WAAU,cACvBC,OAAQ,CAACC,EAAA,YAETjB,SAAU,CACRc,eACE,GAAyB,MAArBZ,KAAKW,OAAOA,MACd,OAAO,KAET,MAAMK,EAAMhB,KAAKW,MAAMK,KAAO,EACxBC,EAAMjB,KAAKW,MAAMM,KAAO,IAC9B,OAAS,IAAMjB,KAAKW,MAAMA,OAAUM,EAAMD,IAAME,QAAQ,EACzD,I,UCjCL,MAAMT,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue?19d2"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./LinkQuality.vue?vue&type=template&id=4ca8847f&scoped=true\"\nimport script from \"./LinkQuality.vue?vue&type=script&lang=js\"\nexport * from \"./LinkQuality.vue?vue&type=script&lang=js\"\n\nimport \"./LinkQuality.vue?vue&type=style&index=0&id=4ca8847f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4ca8847f\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIconNormalized","name","components","Icon","props","type","Boolean","default","entity","Object","required","icon","hasColorFill","data","component","modalVisible","computed","computedIcon","this","meta","keys","length","color","entityType","charAt","toUpperCase","slice","__exports__","render","value","valuePercent","EntityIcon","mixins","EntityMixin","min","max","toFixed"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126.49e7385e.js b/platypush/backend/http/webapp/dist/static/js/8126.49e7385e.js
new file mode 100644
index 0000000000..9ccd07c2e9
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/8126.49e7385e.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8126],{8126:function(t,e,n){n.r(e),n.d(e,{default:function(){return k}});var l=n(6252),a=n(3577);const u={class:"entity link-quality-container"},i={class:"head"},s={class:"col-1 icon"},c={class:"col-s-8 col-m-9 label"},o=["textContent"],r={class:"col-s-3 col-m-2 buttons pull-right"},v=["textContent"];function d(t,e,n,d,p,h){const m=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",i,[(0,l._)("div",s,[(0,l.Wm)(m,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",c,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,o)]),(0,l._)("div",r,[null!=h.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value-percent",textContent:(0,a.zw)(h.valuePercent+"%")},null,8,v)):(0,l.kq)("",!0)])])])}var p=n(7909),h=n(3459),m={name:"LinkQuality",components:{EntityIcon:h["default"]},mixins:[p["default"]],computed:{valuePercent(){if(null==this.value?.value)return null;const t=this.value.min||0,e=this.value.max||100;return(100*this.value.value/(e-t)).toFixed(0)}}},f=n(3744);const y=(0,f.Z)(m,[["render",d],["__scopeId","data-v-4ca8847f"]]);var k=y}}]);
+//# sourceMappingURL=8126.49e7385e.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8126.49e7385e.js.map b/platypush/backend/http/webapp/dist/static/js/8126.49e7385e.js.map
new file mode 100644
index 0000000000..7b9687e8ea
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/8126.49e7385e.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/js/8126.49e7385e.js","mappings":"gMACOA,MAAM,iC,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,qBAINA,MAAM,sC,2FAbf,QAmBM,MAnBN,EAmBM,EAlBJ,OAiBM,MAjBN,EAiBM,EAhBJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,aAGF,OAIM,MAJN,EAIM,CADgB,MAAZ,EAAAC,eAAY,WAFpB,QAEgC,Q,MAF1BN,MAAM,gB,aACV,QAA2B,EAAP,mBADtB,gC,yBAYR,GACEK,KAAM,cACNE,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRL,eACE,GAAyB,MAArBM,KAAKV,OAAOA,MACd,OAAO,KAET,MAAMW,EAAMD,KAAKV,MAAMW,KAAO,EACxBC,EAAMF,KAAKV,MAAMY,KAAO,IAC9B,OAAS,IAAMF,KAAKV,MAAMA,OAAUY,EAAMD,IAAME,QAAQ,EACzD,I,UCjCL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/LinkQuality.vue","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue?19d2"],"sourcesContent":["\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./LinkQuality.vue?vue&type=template&id=4ca8847f&scoped=true\"\nimport script from \"./LinkQuality.vue?vue&type=script&lang=js\"\nexport * from \"./LinkQuality.vue?vue&type=script&lang=js\"\n\nimport \"./LinkQuality.vue?vue&type=style&index=0&id=4ca8847f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4ca8847f\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","valuePercent","components","EntityIcon","mixins","EntityMixin","computed","this","min","max","toFixed","__exports__","render"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/8448-legacy.8c32a9ad.js.map b/platypush/backend/http/webapp/dist/static/js/8448-legacy.8c32a9ad.js.map
deleted file mode 100644
index e99ded0bec..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/8448-legacy.8c32a9ad.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/8448-legacy.8c32a9ad.js","mappings":"uKAAe,SAASA,EAAgBC,EAAUC,GAChD,KAAMD,aAAoBC,GACxB,MAAM,IAAIC,UAAU,oCAEvB,CCJD,SAASC,EAAkBC,EAAQC,GACjC,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAME,OAAQD,IAAK,CACrC,IAAIE,EAAaH,EAAMC,GACvBE,EAAWC,WAAaD,EAAWC,aAAc,EACjDD,EAAWE,cAAe,EACtB,UAAWF,IAAYA,EAAWG,UAAW,GACjDC,OAAOC,eAAeT,EAAQI,EA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H,EAAKxG,cAAgBwG,EAAKJ,cAG/B,GACF,EAEDQ,QAdO,WAeL5M,KAAK6E,MAAM,UACZ,EAEDgI,cAlBO,SAkBOlI,GACZ,GAAIA,EAAMmI,cAAgB9M,KAAK6G,WAG/B,GAAK7G,KAAKsG,OAAO3B,EAAMoI,UAAvB,CAKA,IAAM1F,GAAI,UAAQ1C,GACZ2G,EAAUjE,EAAM0F,gBACf1F,EAAM0F,gBACN1F,EAAMvD,YACNuD,EAAMyF,YAEb9M,KAAK6E,MAAM,gBAAiB,CAC1BuC,GAAIkE,EACJjE,MAAOA,GAVT,MAFErH,KAAK4M,SAcR,EAEDI,kBAvCO,SAuCWrI,GACZA,EAAMmI,cAAgB9M,KAAK6G,YAG/B7G,KAAK4M,SACN,GAGHnH,QAhLa,WAiLXzF,KAAKiN,UAAUjN,KAAK6M,cAAe,kBAC/B,wDACJ7M,KAAKiN,UAAUjN,KAAKgN,kBAAmB,sBACnC,2DACA,4DAEJhN,KAAKyM,mBACN,EAEDS,UA1La,WA2LXlN,KAAKmN,YAAY,mBACjBnN,KAAKmN,YAAY,sBAClB,GmBjNH,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAAStH,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://platypush/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Light/Index.vue","webpack://platypush/./src/components/panels/Panel.vue","webpack://platypush/./src/components/panels/Panel.vue?40a7","webpack://platypush/./src/components/Light/Groups.vue","webpack://platypush/./src/components/MenuPanel.vue","webpack://platypush/./src/components/MenuPanel.vue?e8bb","webpack://platypush/./src/components/Light/Groups.vue?f495","webpack://platypush/./src/components/Light/Group.vue","webpack://platypush/./src/components/Light/Light.vue","webpack://platypush/./src/components/Light/Controls.vue","webpack://platypush/./src/components/Light/Controls.vue?5766","webpack://platypush/./src/components/Light/Light.vue?eed6","webpack://platypush/./src/components/Light/Scene.vue","webpack://platypush/./src/components/Light/Scene.vue?87a4","webpack://platypush/./src/components/Light/Animate.vue","webpack://platypush/./src/components/elements/RangeSlider.vue","webpack://platypush/./src/components/elements/RangeSlider.vue?500a","webpack://platypush/./src/components/Light/Animate.vue?a3c2","webpack://platypush/./src/components/Light/Group.vue?06ce","webpack://platypush/./src/components/panels/Light/Index.vue?36e9"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n hexToRgb(hex) {\n return [\n hex.slice(1, 3),\n hex.slice(3, 5),\n hex.slice(5, 7),\n ].map(_ => parseInt(_, 16))\n }\n\n rgbToHex(rgb) {\n return '#' + rgb.map((x) => {\n let hex = x.toString(16)\n if (hex.length < 2)\n hex = '0' + hex\n return hex\n }).join('')\n }\n}\n","\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=28d31846&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=28d31846&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28d31846\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=a6396ae8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=a6396ae8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6396ae8\"]])\n\nexport default __exports__","\n
\n
\n \n
\n
\n \n
\n
\n\n\n\n\n\n\n","\n","import script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n \n
\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=8db4988a&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=8db4988a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8db4988a\"]])\n\nexport default __exports__","import { render } from \"./View.vue?vue&type=template&id=70d7a7df&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=70d7a7df&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70d7a7df\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=28d31846&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=28d31846&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28d31846\"]])\n\nexport default __exports__"],"names":["name","mixins","Utils","computed","audioExtensions","Set","videoExtensions","mediaExtensions","this","methods","convertTime","time","parseFloat","t","h","parseInt","m","s","attr","ret","push","join","async","resource","download","url","subtitles","Object","request","media","mediaId","media_id","__exports__","class","status","track","buttons","$emit","$event","expanded","buttons_","previous","title","stop","state","next","disabled","muted","value","volume","range","volumeRange","target","consume","random","repeat","elapsed","duration","album","href","$route","fullPath","length","artist","components","Slider","emits","props","type","default","Array","data","keys","lastSync","position","getTime","Date","mounted","self","$watch","setInterval","Math","round","Controls","pluginName","String","required","render","ref","withRange","withLabel","min","max","step","onUpdate","Number","Boolean","event","update","$refs","sliderWidth","clientWidth","percent","innerWidth","thumb","style","left","transform","width","newValue"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"static/js/9978.f8ee0318.js","mappings":"gKAGA,GACEA,KAAM,QACNC,OAAQ,CAACC,EAAA,GAETC,SAAU,CACRC,kBACE,OAAO,IAAIC,IAAI,CACb,MAAO,KAAM,MAAO,MAAO,MAAO,OAAQ,MAAO,MAAO,KACxD,MAAO,MAAO,MAAO,MAAO,OAAQ,MAAO,QAAS,MACpD,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MACxD,OAAQ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IACzD,G,UCrFH,MAAM7E,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASuD,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/Media/Utils.vue","webpack://platypush/./src/components/Media/Utils.vue?af63","webpack://platypush/./src/components/Media/View.vue","webpack://platypush/./src/components/Media/Controls.vue","webpack://platypush/./src/components/Media/Controls.vue?3032","webpack://platypush/./src/components/Media/View.vue?78ca","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f"],"sourcesContent":["\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n
\n \n
\n
\n \n
\n
\n\n\n\n\n\n","\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n\n \n\n \n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n \n \n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n \n \n \n
\n\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n \n
\n\n
\n
\n \n \n \n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=8db4988a&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=8db4988a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8db4988a\"]])\n\nexport default __exports__","import { render } from \"./View.vue?vue&type=template&id=70d7a7df&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\n\nimport \"./View.vue?vue&type=style&index=0&id=70d7a7df&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70d7a7df\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=4b38623f&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=4b38623f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4b38623f\"]])\n\nexport default __exports__"],"names":["name","mixins","Utils","computed","audioExtensions","Set","videoExtensions","mediaExtensions","this","methods","convertTime","time","parseFloat","t","h","parseInt","m","s","attr","ret","push","join","async","resource","download","url","subtitles","Object","request","media","mediaId","media_id","__exports__","class","status","track","buttons","$emit","$event","expanded","buttons_","previous","title","stop","state","next","disabled","muted","value","volume","range","volumeRange","target","consume","random","repeat","elapsed","duration","album","href","$route","fullPath","length","artist","components","Slider","emits","props","type","default","Array","data","keys","lastSync","position","getTime","Date","mounted","self","$watch","setInterval","Math","round","Controls","pluginName","String","required","render","ref","withRange","withLabel","min","max","step","onUpdate","Number","Boolean","event","update","$refs","sliderWidth","clientWidth","percent","innerWidth","thumb","style","left","transform","width","newValue"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/app-legacy.d0b74440.js b/platypush/backend/http/webapp/dist/static/js/app-legacy.78eb7d54.js
similarity index 83%
rename from platypush/backend/http/webapp/dist/static/js/app-legacy.d0b74440.js
rename to platypush/backend/http/webapp/dist/static/js/app-legacy.78eb7d54.js
index f629067bfc..321ca053fb 100644
--- a/platypush/backend/http/webapp/dist/static/js/app-legacy.d0b74440.js
+++ b/platypush/backend/http/webapp/dist/static/js/app-legacy.78eb7d54.js
@@ -1,2 +1,2 @@
-(function(){var e={5250:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var s=n(9652),i=(0,s.Z)();i.publishEntity=function(e){i.emit("entity-update",e)},i.onEntity=function(e){i.on("entity-update",e)},i.publishNotification=function(e){i.emit("notification-create",e)},i.onNotification=function(e){i.on("notification-create",e)}},7663:function(e,t,n){"use strict";n(6992),n(8674),n(9601),n(7727);var s=n(9963),i=n(6252);function r(e,t,n,s,r,a){var o=(0,i.up)("Events"),l=(0,i.up)("Notifications"),c=(0,i.up)("VoiceAssistant"),u=(0,i.up)("Pushbullet"),d=(0,i.up)("Ntfy"),f=(0,i.up)("router-view");return(0,i.wg)(),(0,i.iD)(i.HY,null,[a.hasWebsocket?((0,i.wg)(),(0,i.j4)(o,{key:0,ref:"events","ws-port":r.config["backend.http"].websocket_port},null,8,["ws-port"])):(0,i.kq)("",!0),(0,i.Wm)(l,{ref:"notifications"},null,512),a.hasAssistant?((0,i.wg)(),(0,i.j4)(c,{key:1,ref:"voice-assistant"},null,512)):(0,i.kq)("",!0),a.hasPushbullet?((0,i.wg)(),(0,i.j4)(u,{key:2,ref:"pushbullet"},null,512)):(0,i.kq)("",!0),a.hasNtfy?((0,i.wg)(),(0,i.j4)(d,{key:3,ref:"ntfy"},null,512)):(0,i.kq)("",!0),(0,i.Wm)(f)],64)}var a=n(8534),o=(n(5666),n(9254),{class:"notifications"});function l(e,t,n,s,r,a){var l=(0,i.up)("Notification");return(0,i.wg)(),(0,i.iD)("div",o,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.notifications,(function(e,t,n){return(0,i.wg)(),(0,i.j4)(l,{key:n,id:t,text:e.text,html:e.html,title:e.title,link:e.link,image:e.image,warning:e.warning,error:e.error,onClicked:a.destroy},null,8,["id","text","html","title","link","image","warning","error","onClicked"])})),128))])}n(9653);var c=n(3577),u=["textContent"],d={class:"body"},f={key:0,class:"image col-3"},p={class:"row"},m=["src"],h={key:3,class:"fa fa-exclamation"},g={key:4,class:"fa fa-times"},v=["textContent"],b=["innerHTML"],w=["textContent"],y=["innerHTML"];function k(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",{class:(0,c.C_)(["notification fade-in",{warning:n.warning,error:n.error}]),onClick:t[0]||(t[0]=function(){return a.clicked&&a.clicked.apply(a,arguments)})},[n.title?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"title",textContent:(0,c.zw)(n.title)},null,8,u)):(0,i.kq)("",!0),(0,i._)("div",d,[n.image||n.warning||n.error?((0,i.wg)(),(0,i.iD)("div",f,[(0,i._)("div",p,[n.image&&n.image.src?((0,i.wg)(),(0,i.iD)("img",{key:0,src:n.image.src,alt:""},null,8,m)):n.image&&n.image.icon?((0,i.wg)(),(0,i.iD)("i",{key:1,class:(0,c.C_)(["fa","fa-"+n.image.icon]),style:(0,c.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.image&&n.image.iconClass?((0,i.wg)(),(0,i.iD)("i",{key:2,class:(0,c.C_)(n.image.iconClass),style:(0,c.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.warning?((0,i.wg)(),(0,i.iD)("i",h)):n.error?((0,i.wg)(),(0,i.iD)("i",g)):(0,i.kq)("",!0)])])):(0,i.kq)("",!0),n.text&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"text col-9",textContent:(0,c.zw)(n.text)},null,8,v)):(0,i.kq)("",!0),n.html&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:2,class:"text col-9",innerHTML:n.html},null,8,b)):(0,i.kq)("",!0),n.text&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:3,class:"text row horizontal-center",textContent:(0,c.zw)(n.text)},null,8,w)):(0,i.kq)("",!0),n.html&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:4,class:"text row horizontal-center",innerHTML:n.html},null,8,y)):(0,i.kq)("",!0)])],2)}var x={name:"Notification",props:["id","text","html","title","image","link","error","warning"],methods:{clicked:function(){this.link&&window.open(this.link,"_blank"),this.$emit("clicked",this.id)}}},_=n(3744);const C=(0,_.Z)(x,[["render",k],["__scopeId","data-v-7646705e"]]);var D=C,I={name:"Notifications",components:{Notification:D},props:{duration:{type:Number,default:1e4}},data:function(){return{index:0,notifications:{},timeouts:{}}},methods:{create:function(e){var t=this.index++;this.notifications[t]=e,null==e.duration&&(e.duration=this.duration);var n=e.duration?parseInt(e.duration):0;n&&(this.timeouts[t]=setTimeout(this.destroy.bind(null,t),n))},destroy:function(e){delete this.notifications[e],delete this.timeouts[e]}}};const T=(0,_.Z)(I,[["render",l],["__scopeId","data-v-6dc8bebc"]]);var Z=T,S=n(6813);function U(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div")}var R=n(6347),N=n(9584),P=(n(2479),n(2222),n(7941),n(5250)),j={name:"Events",props:{wsPort:{type:Number,default:8009}},data:function(){return{ws:null,initialized:!1,pending:!1,opened:!1,timeout:null,reconnectMsecs:3e4,handlers:{},handlerNameToEventTypes:{}}},methods:{onWebsocketTimeout:function(){console.log("Websocket reconnection timed out, retrying"),this.pending=!1,this.ws&&this.ws.close(),this.onClose()},onMessage:function(e){var t=[];if(e=e.data,"string"===typeof e)try{e=JSON.parse(e)}catch(r){console.warn("Received invalid non-JSON event"),console.warn(e)}if(console.debug(e),"event"===e.type){null in this.handlers&&t.push(this.handlers[null]),e.args.type in this.handlers&&t.push.apply(t,(0,N.Z)(Object.values(this.handlers[e.args.type])));for(var n=0,s=t;nPlatypush
',3),Oe={key:0,class:"row"},$e=Pe((function(){return(0,i._)("label",null,[(0,i._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password"})],-1)})),Ee=[$e],We={class:"row buttons"},ze=["value"],Le=Pe((function(){return(0,i._)("div",{class:"row pull-right"},[(0,i._)("label",{class:"checkbox"},[(0,i._)("input",{type:"checkbox",name:"remember"}),(0,i.Uk)(" Keep me logged in on this device ")])],-1)}));function Ae(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",je,[(0,i._)("form",Me,[qe,a._register?((0,i.wg)(),(0,i.iD)("div",Oe,Ee)):(0,i.kq)("",!0),(0,i._)("div",We,[(0,i._)("input",{type:"submit",class:"btn btn-primary",value:a._register?"Register":"Login"},null,8,ze)]),Le])])}var Ve={name:"Login",mixins:[S.Z],props:{register:{type:Boolean,required:!1,default:!1}},computed:{_register:function(){return this.parseBoolean(this.register)}}};const He=(0,_.Z)(Ve,[["render",Ae],["__scopeId","data-v-16cef6aa"]]);var Fe=He;function Be(e,t,n,s,r,a){var o=(0,i.up)("Login");return(0,i.wg)(),(0,i.j4)(o,{register:!0})}var Ye={name:"Register",mixins:[Fe],components:{Login:Fe},props:{register:{type:Boolean,required:!1,default:!0}}};const Ke=(0,_.Z)(Ye,[["render",Be]]);var Ge=Ke,Je={key:2,class:"canvas"},Xe={class:"panel"},Qe={key:3,class:"canvas"};function et(e,t,n,s,r,a){var o=(0,i.up)("Loading"),l=(0,i.up)("Nav"),u=(0,i.up)("Settings");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.j4)(l,{key:1,panels:r.components,"selected-panel":r.selectedPanel,hostname:r.hostname,onSelect:t[0]||(t[0]=function(e){return r.selectedPanel=e})},null,8,["panels","selected-panel","hostname"])),"settings"===r.selectedPanel?((0,i.wg)(),(0,i.iD)("div",Je,[(0,i._)("div",Xe,[(0,i.Wm)(u)])])):((0,i.wg)(),(0,i.iD)("div",Qe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.components,(function(e,t){return(0,i.wg)(),(0,i.iD)("div",{class:(0,c.C_)(["panel",{hidden:t!==r.selectedPanel}]),key:t},[t===r.selectedPanel?((0,i.wg)(),(0,i.j4)((0,i.LL)(e.component),{key:0,config:e.config,"plugin-name":t},null,8,["config","plugin-name"])):(0,i.kq)("",!0)],2)})),128))]))])}var tt=n(6084),nt=(n(4723),n(4747),n(9720),n(9600),n(7042),function(e){return(0,i.dD)("data-v-7f000930"),e=e(),(0,i.Cn)(),e}),st=nt((function(){return(0,i._)("i",{class:"fas fa-bars"},null,-1)})),it=["textContent"],rt={class:"plugins"},at=["title","onClick"],ot=["href"],lt={class:"icon"},ct=["src"],ut={key:2,class:"fas fa-puzzle-piece"},dt=["textContent"],ft={class:"footer"},pt={href:"/#settings"},mt=nt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fa fa-cog"})],-1)})),ht={key:0,class:"name"},gt={href:"/logout"},vt=nt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fas fa-sign-out-alt"})],-1)})),bt={key:0,class:"name"};function wt(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("nav",{class:(0,c.C_)({collapsed:r.collapsed})},[(0,i._)("div",{class:"toggler",onClick:t[0]||(t[0]=function(e){return r.collapsed=!r.collapsed})},[st,n.hostname?((0,i.wg)(),(0,i.iD)("span",{key:0,class:"hostname",textContent:(0,c.zw)(n.hostname)},null,8,it)):(0,i.kq)("",!0)]),(0,i._)("ul",rt,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(a.panelNames,(function(e){var t,s;return(0,i.wg)(),(0,i.iD)("li",{key:e,class:(0,c.C_)(["entry",{selected:e===n.selectedPanel}]),title:e,onClick:function(t){return a.onItemClick(e)}},[(0,i._)("a",{href:"/#".concat(e)},[(0,i._)("span",lt,[null!==(t=r.icons[e])&&void 0!==t&&t.class?((0,i.wg)(),(0,i.iD)("i",{key:0,class:(0,c.C_)(r.icons[e].class)},null,2)):null!==(s=r.icons[e])&&void 0!==s&&s.imgUrl?((0,i.wg)(),(0,i.iD)("img",{key:1,src:r.icons[e].imgUrl,alt:"name"},null,8,ct)):((0,i.wg)(),(0,i.iD)("i",ut))]),r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",{key:0,class:"name",textContent:(0,c.zw)("entities"==e?"Home":e)},null,8,dt))],8,ot)],10,at)})),128))]),(0,i._)("ul",ft,[(0,i._)("li",{class:(0,c.C_)({selected:"settings"===n.selectedPanel}),title:"Settings",onClick:t[1]||(t[1]=function(e){return a.onItemClick("settings")})},[(0,i._)("a",pt,[mt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",ht,"Settings"))])],2),(0,i._)("li",{title:"Logout",onClick:t[2]||(t[2]=function(e){return a.onItemClick("logout")})},[(0,i._)("a",gt,[vt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",bt,"Logout"))])])])],2)}n(2707);var yt=n(1359),kt={name:"Nav",emits:["select"],mixins:[S.Z],props:{panels:{type:Object,required:!0},selectedPanel:{type:String},hostname:{type:String}},computed:{panelNames:function(){var e=Object.keys(this.panels),t=e.indexOf("entities");return t>=0?["entities"].concat(e.slice(0,t).concat(e.slice(t+1)).sort()):e.sort()},collapsedDefault:function(){return!(!this.isMobile()&&!this.isTablet())}},methods:{onItemClick:function(e){this.$emit("select",e),this.collapsed=!!this.isMobile()||this.collapsedDefault}},data:function(){return{collapsed:!0,icons:yt,host:null}},mounted:function(){this.collapsed=this.collapsedDefault}};const xt=(0,_.Z)(kt,[["render",wt],["__scopeId","data-v-7f000930"]]);var _t=xt,Ct=n(2715),Dt={name:"Panel",mixins:[S.Z],components:{Settings:Ct["default"],Nav:_t,Loading:ve.Z},data:function(){return{loading:!1,plugins:{},backends:{},procedures:{},components:{},hostname:void 0,selectedPanel:void 0}},methods:{initSelectedPanel:function(){var e=this.$route.hash.match("#?([a-zA-Z0-9.]+)[?]?(.*)"),t=e?e[1]:"entities";null!==t&&void 0!==t&&t.length&&(this.selectedPanel=t)},initPanels:function(){var e=this;this.components={},Object.entries(this.plugins).forEach(function(){var t=(0,a.Z)(regeneratorRuntime.mark((function t(s){var r,o,l,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=(0,tt.Z)(s,2),o=r[0],l=r[1],c=o.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),u=null,t.prev=3,t.next=6,n(3379)("./".concat(c,"/Index"));case 6:u=t.sent,t.next=12;break;case 9:return t.prev=9,t.t0=t["catch"](3),t.abrupt("return");case 12:d=(0,ge.XI)((0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",u);case 1:case"end":return e.stop()}}),e)}))))),e.$options.components[o]=d,e.components[o]={component:d,pluginName:o,config:l};case 15:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e){return t.apply(this,arguments)}}())},parseConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.request("config.get_plugins"),e.request("config.get_backends"),e.request("config.get_procedures"),e.request("config.get_device_id")]);case 2:n=t.sent,s=(0,tt.Z)(n,4),e.plugins=s[0],e.backends=s[1],e.procedures=s[2],e.hostname=s[3],e.initializeDefaultViews();case 9:case"end":return t.stop()}}),t)})))()},initializeDefaultViews:function(){this.plugins.execute={},this.plugins.entities={}}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.parseConfig();case 4:e.initPanels(),e.initSelectedPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const It=(0,_.Z)(Dt,[["render",et],["__scopeId","data-v-fbc09254"]]);var Tt=It,Zt={key:1,class:"canvas"};function St(e,t,n,s,r,a){var o=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.iD)("div",Zt,[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{config:r.config,"plugin-name":a.pluginName},null,8,["config","plugin-name"]))]))])}n(9714);var Ut={name:"Panel",mixins:[S.Z],components:{Settings:Ct["default"],Nav:_t,Loading:ve.Z},data:function(){return{loading:!1,config:{},plugins:{},backends:{},procedures:{},component:void 0,hostname:void 0,selectedPanel:void 0}},computed:{pluginName:function(){return this.$route.params.plugin}},methods:{initPanel:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.pluginName.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),r=null,t.prev=2,t.next=5,n(3379)("./".concat(s,"/Index"));case 5:r=t.sent,t.next=13;break;case 8:return t.prev=8,t.t0=t["catch"](2),console.error(t.t0),e.notify({error:!0,title:"Cannot load plugin ".concat(e.pluginName),text:t.t0.toString()}),t.abrupt("return");case 13:e.component=(0,ge.XI)((0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",r);case 1:case"end":return e.stop()}}),e)}))))),e.$options.components[s]=e.component;case 15:case"end":return t.stop()}}),t,null,[[2,8]])})))()},initConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("config.get");case 2:return n=t.sent,e.config=n[e.pluginName]||{},t.next=6,e.request("config.get_device_id");case 6:e.hostname=t.sent;case 7:case"end":return t.stop()}}),t)})))()}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.initConfig();case 4:return t.next=6,e.initPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const Rt=(0,_.Z)(Ut,[["render",St],["__scopeId","data-v-e339182c"]]);var Nt=Rt,Pt=[{path:"/",name:"Panel",component:Tt},{path:"/dashboard/:name",name:"Dashboard",component:Ze},{path:"/plugin/:plugin",name:"Plugin",component:Nt},{path:"/login",name:"Login",component:Fe},{path:"/register",name:"Register",component:Ge},{path:"/:catchAll(.*)",component:Ne}],jt=(0,pe.p7)({history:(0,pe.PO)(),routes:Pt}),Mt=jt,qt=(0,s.ri)(fe);qt.config.globalProperties._config=window.config,qt.use(Mt).mount("#app")},6813:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});n(1539);var s=n(9669),i=n.n(s),r={name:"Api",methods:{execute:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e4,s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r={};return"target"in e&&e["target"]||(e["target"]="localhost"),"type"in e&&e["type"]||(e["type"]="request"),n&&(r.timeout=n),new Promise((function(n,a){i().post("/execute",e,r).then((function(e){var s;if(e=e.data.response,null!==(s=e.errors)&&void 0!==s&&s.length){var i,r=(null===(i=e.errors)||void 0===i?void 0:i[0])||e;t.notify({text:r,error:!0}),a(r)}else n(e.output)})).catch((function(e){s&&t.notify({text:e,error:!0}),a(e)}))}))},request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return this.execute({type:"request",action:e,args:t},n,s)}}};const a=r;var o=a,l=n(6084),c=(n(4916),n(3123),{name:"Cookies",methods:{getCookies:function(){return document.cookie.split(/;\s*/).reduce((function(e,t){var n=t.split("="),s=(0,l.Z)(n,2),i=s[0],r=s[1];return e[i]=r,e}),{})}}});const u=c;var d=u,f=(n(2222),{name:"DateTime",methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toDateString().substring(0,t?15:10)},formatTime:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toTimeString().substring(0,t?8:5)},formatDateTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"===typeof e&&(e=new Date(Date.parse(e))),"".concat(this.formatDate(e,t),", ").concat(this.formatTime(e,n))}}});const p=f;var m=p,h=n(9584),g=(n(7714),n(2801),n(1174),n(1249),n(3948),n(5250)),v={name:"Events",computed:{_eventsReady:function(){var e;return null===(e=this.$root.$refs.events)||void 0===e?void 0:e.initialized}},methods:{subscribe:function(e,t){for(var n=this,s=arguments.length,i=new Array(s>2?s-2:0),r=2;r1024&&(i===n.length-1?t=s:e/=1024)})),"".concat(e.toFixed(2)," ").concat(t)},objectsEqual:function(e,t){var n;if("object"!==(0,S.Z)(e)||"object"!==(0,S.Z)(t))return!1;if(null==e||null==t)return null==e&&null==t;for(var s=0,i=Object.keys(e||{});st?(t=r,n=[i]):r===t&&n.push(i)}}catch(o){s.e(o)}finally{s.f()}(n.indexOf(this.$el)<0||n.length>1)&&(this.$el.style.zIndex=t+1)}if(this.isVisible&&this.timeout&&!this.timeoutId){var a=function(e){return function(){e.close(),e.timeoutId=void 0}};this.timeoutId=setTimeout(a(this),0+this.timeout)}}}),d=n(3744);const f=(0,d.Z)(u,[["render",l],["__scopeId","data-v-7d1f6e8b"]]);var p=f},5771:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(6252),i=n(9963),r=n(3577),a={class:"dropdown-container",ref:"container"},o=["title"],l=["textContent"],c=["id"];function u(e,t,n,u,d,f){return(0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("button",{title:n.title,ref:"button",onClick:t[0]||(t[0]=(0,i.iM)((function(e){return f.toggle(e)}),["stop"]))},[n.iconClass?((0,s.wg)(),(0,s.iD)("i",{key:0,class:(0,r.C_)(["icon",n.iconClass])},null,2)):(0,s.kq)("",!0),n.text?((0,s.wg)(),(0,s.iD)("span",{key:1,class:"text",textContent:(0,r.zw)(n.text)},null,8,l)):(0,s.kq)("",!0)],8,o),(0,s._)("div",{class:(0,r.C_)(["dropdown fade-in",{hidden:!d.visible}]),id:n.id,ref:"dropdown"},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],10,c)],512)}var d={name:"Dropdown",emits:["click"],props:{id:{type:String},items:{type:Array,default:function(){return[]}},iconClass:{type:String,default:"fa fa-ellipsis-h"},text:{type:String},title:{type:String},keepOpenOnItemClick:{type:Boolean,default:!1}},data:function(){return{visible:!1}},methods:{documentClickHndl:function(e){if(this.visible){var t=e.target;while(t){if(!this.$refs.dropdown)break;if(t===this.$refs.dropdown.element)return;t=t.parentElement}this.close()}},close:function(){this.visible=!1,document.removeEventListener("click",this.documentClickHndl)},open:function(){var e=this;document.addEventListener("click",this.documentClickHndl),this.visible=!0,setTimeout((function(){var t=e.$refs.dropdown;t.style.left=0,t.style.top=parseFloat(getComputedStyle(e.$refs.button).height)+"px",t.getBoundingClientRect().left>window.innerWidth/2&&(t.style.left=-t.clientWidth+parseFloat(getComputedStyle(e.$refs.button).width)+"px"),t.getBoundingClientRect().top>window.innerHeight/2&&(t.style.top=-t.clientHeight+parseFloat(getComputedStyle(e.$refs.button).height)+"px")}),10)},toggle:function(e){e.stopPropagation(),this.$emit("click"),this.visible?this.close():this.open()}}},f=n(3744);const p=(0,f.Z)(d,[["render",u],["__scopeId","data-v-21bf0316"]]);var m=p},2684:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var s=n(6252),i=n(3577),r={key:0,class:"col-2 icon"},a=["textContent"];function o(e,t,n,o,l,c){var u,d,f=(0,s.up)("Icon");return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["row item",n.itemClass]),onClick:t[0]||(t[0]=function(){return c.clicked&&c.clicked.apply(c,arguments)})},[null!==(u=n.iconClass)&&void 0!==u&&u.length||null!==(d=n.iconUrl)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(f,{class:(0,i.C_)(n.iconClass),url:n.iconUrl},null,8,["class","url"])])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,i.C_)(["text",{"col-10":null!=n.iconClass}]),textContent:(0,i.zw)(n.text)},null,10,a)],2)}var l=n(1478),c={name:"DropdownItem",components:{Icon:l.Z},props:{iconClass:{type:String},iconUrl:{type:String},text:{type:String},disabled:{type:Boolean,default:!1},itemClass:{}},methods:{clicked:function(e){if(this.disabled)return!1;this.$parent.$emit("click",e),this.$parent.keepOpenOnItemClick||(this.$parent.visible=!1)}}},u=n(3744);const d=(0,u.Z)(c,[["render",o],["__scopeId","data-v-2cfe8014"]]);var f=d},1478:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(6252),i=n(3577),r={class:"icon-container"},a=["src","alt"];function o(e,t,n,o,l,c){var u,d;return(0,s.wg)(),(0,s.iD)("div",r,[null!==(u=n.url)&&void 0!==u&&u.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:n.url,alt:n.alt},null,8,a)):null!==(d=c.className)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,i.C_)(["icon",c.className]),style:(0,i.j5)({color:n.color})},null,6)):(0,s.kq)("",!0)])}var l={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className:function(){return this.class}}},c=n(3744);const u=(0,c.Z)(l,[["render",o],["__scopeId","data-v-706a3bd1"]]);var d=u},2715:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ce}});var s=n(6252),i={class:"settings-container"},r={class:"col-8"},a={class:"col-4 pull-right"},o=(0,s._)("i",{class:"fa fa-plus"},null,-1),l=[o];function c(e,t,n,o,c,u){var d=(0,s.up)("DropdownItem"),f=(0,s.up)("Dropdown"),p=(0,s.up)("Users"),m=(0,s.up)("Token");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("header",null,[(0,s._)("div",r,[(0,s.Wm)(f,{title:"Select a category","icon-class":"fa fa-ellipsis-h"},{default:(0,s.w5)((function(){return[(0,s.Wm)(d,{text:"Users","icon-class":"fa fa-user","item-class":{selected:"users"===c.selectedView},onClick:t[0]||(t[0]=function(e){return c.selectedView="users"})},null,8,["item-class"]),(0,s.Wm)(d,{text:"Generate a token","icon-class":"fa fa-key","item-class":{selected:"token"===c.selectedView},onClick:t[1]||(t[1]=function(e){return c.selectedView="token"})},null,8,["item-class"])]})),_:1})]),(0,s._)("div",a,["users"===c.selectedView?((0,s.wg)(),(0,s.iD)("button",{key:0,title:"Add User",onClick:t[2]||(t[2]=function(t){return e.$refs.usersView.$refs.addUserModal.show()})},l)):(0,s.kq)("",!0)])]),(0,s._)("main",null,["users"===c.selectedView?((0,s.wg)(),(0,s.j4)(p,{key:0,"session-token":c.sessionToken,"current-user":c.currentUser,ref:"usersView"},null,8,["session-token","current-user"])):"token"===c.selectedView?((0,s.wg)(),(0,s.j4)(m,{key:1,"session-token":c.sessionToken,"current-user":c.currentUser,ref:"tokenView"},null,8,["session-token","current-user"])):(0,s.kq)("",!0)])])}var u=n(8534),d=(n(5666),n(5771)),f=n(2684),p=n(3577),m=n(9963),h={class:"token-container"},g={class:"token-container"},v=(0,s.Uk)(" This is your generated token. Treat it carefully and do not share it with untrusted parties."),b=(0,s._)("br",null,null,-1),w=(0,s.Uk)(" Also, make sure to save it - it WILL NOT be displayed again. "),y=["textContent"],k={class:"body"},x={class:"description"},_=(0,s.Uk)("Generate a JWT authentication token that can be used for API calls to the "),C=(0,s.Uk)("/execute"),D=(0,s.Uk)(" endpoint."),I=(0,s._)("br",null,null,-1),T=(0,s._)("p",null,"You can include the token in your requests in any of the following ways:",-1),Z=(0,s.Uk)("Specify it on the "),S=(0,s.Uk)("Authorization: Bearer"),U=(0,s.Uk)(" header;"),R=(0,s.Uk)("Specify it on the "),N=(0,s.Uk)("X-Token"),P=(0,s.Uk)(" header;"),j=(0,s.Uk)("Specify it as a URL parameter: "),M=(0,s.Uk)("http://site:8008/execute?token=..."),q=(0,s.Uk)(";"),O=(0,s.Uk)("Specify it on the body of your JSON request: "),$=(0,s.Uk)('{"type":"request", "action", "...", "token":"..."}'),E=(0,s.Uk)("."),W=(0,s.Uk)(" Confirm your credentials in order to generate a new token. "),z={class:"form-container"},L=(0,s._)("span",null,"Username",-1),A=["value"],V=(0,s._)("label",null,[(0,s._)("span",null,"Confirm password"),(0,s._)("span",null,[(0,s._)("input",{type:"password",name:"password"})])],-1),H=(0,s._)("label",null,[(0,s._)("span",null,"Token validity in days"),(0,s._)("span",null,[(0,s._)("input",{type:"text",name:"validityDays"})]),(0,s._)("span",{class:"note"},[(0,s.Uk)(" Decimal values are also supported (e.g. "),(0,s._)("i",null,"0.5"),(0,s.Uk)(" to identify 6 hours). An empty or zero value means that the token has no expiry date. ")])],-1),F=(0,s._)("label",null,[(0,s._)("input",{type:"submit",class:"btn btn-primary",value:"Generate token"})],-1);function B(e,t,n,i,r,a){var o=(0,s.up)("Loading"),l=(0,s.up)("Modal"),c=(0,s.up)("tt");return(0,s.wg)(),(0,s.iD)("div",h,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(l,{ref:"tokenModal"},{default:(0,s.w5)((function(){return[(0,s._)("div",g,[(0,s._)("label",null,[v,b,w,(0,s._)("textarea",{class:"token",textContent:(0,p.zw)(r.token),onFocus:t[0]||(t[0]=function(){return a.onTokenSelect&&a.onTokenSelect.apply(a,arguments)})},null,40,y)])])]})),_:1},512),(0,s._)("div",k,[(0,s._)("div",x,[(0,s._)("p",null,[_,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[C]})),_:1}),D]),I,T,(0,s._)("ul",null,[(0,s._)("li",null,[Z,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[S]})),_:1}),U]),(0,s._)("li",null,[R,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[N]})),_:1}),P]),(0,s._)("li",null,[j,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[M]})),_:1}),q]),(0,s._)("li",null,[O,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[$]})),_:1}),E])]),W]),(0,s._)("div",z,[(0,s._)("form",{onSubmit:t[1]||(t[1]=(0,m.iM)((function(){return a.generateToken&&a.generateToken.apply(a,arguments)}),["prevent"])),ref:"generateTokenForm"},[(0,s._)("label",null,[L,(0,s._)("span",null,[(0,s._)("input",{type:"text",name:"username",value:n.currentUser.username,disabled:""},null,8,A)])]),V,H,F],544)])])])}n(1539),n(9714);var Y=n(9669),K=n.n(Y),G=n(1232),J=n(6813),X=n(8453),Q={name:"Token",components:{Modal:X.Z,Loading:G.Z},mixins:[J.Z],props:{currentUser:{type:Object,required:!0}},data:function(){return{loading:!1,token:null}},methods:{generateToken:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){var s,i,r,a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.currentUser.username,r=e.target.password.value,a=null!==(s=e.target.validityDays)&&void 0!==s&&s.length?parseInt(e.target.validityDays.value):0,a||(a=null),t.loading=!0,n.prev=5,n.next=8,K().post("/auth",{username:i,password:r,expiry_days:a});case 8:t.token=n.sent.data.token,null!==(o=t.token)&&void 0!==o&&o.length&&t.$refs.tokenModal.show(),n.next=16;break;case 12:n.prev=12,n.t0=n["catch"](5),console.error(n.t0.toString()),t.notify({text:n.t0.toString(),error:!0});case 16:return n.prev=16,t.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[5,12,16,19]])})))()},onTokenSelect:function(e){e.target.select(),document.execCommand("copy"),this.notify({text:"Token copied to clipboard",image:{iconClass:"fa fa-check"}})}}},ee=n(3744);const te=(0,ee.Z)(Q,[["render",B]]);var ne=te,se=["disabled"],ie=["disabled"],re=["disabled"],ae=["disabled"],oe=["value"],le=["disabled"],ce=["disabled"],ue=["disabled"],de=["disabled"],fe={class:"body"},pe={class:"users-list"},me=["onClick"],he=["textContent"],ge={class:"actions pull-right col-4"};function ve(e,t,n,i,r,a){var o=(0,s.up)("Loading"),l=(0,s.up)("Modal"),c=(0,s.up)("DropdownItem"),u=(0,s.up)("Dropdown");return(0,s.wg)(),(0,s.iD)(s.HY,null,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(l,{ref:"addUserModal",title:"Add User"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"addUserForm",onSubmit:t[0]||(t[0]=function(){return a.createUser&&a.createUser.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",disabled:r.commandRunning},null,8,se)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Password",disabled:r.commandRunning},null,8,ie)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password",disabled:r.commandRunning},null,8,re)]),(0,s._)("label",null,[(0,s._)("input",{type:"submit",class:"btn btn-primary",value:"Create User",disabled:r.commandRunning},null,8,ae)])],544)]})),_:1},512),(0,s.Wm)(l,{ref:"changePasswordModal",title:"Change Password"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"changePasswordForm",onSubmit:t[1]||(t[1]=function(){return a.changePassword&&a.changePassword.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",value:r.selectedUser,disabled:"disabled"},null,8,oe)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Current password",disabled:r.commandRunning},null,8,le)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"new_password",placeholder:"New password",disabled:r.commandRunning},null,8,ce)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_new_password",placeholder:"Confirm new password",disabled:r.commandRunning},null,8,ue)]),(0,s._)("label",null,[(0,s._)("input",{type:"submit",class:"btn btn-primary",value:"Change Password",disabled:r.commandRunning},null,8,de)])],544)]})),_:1},512),(0,s._)("div",fe,[(0,s._)("ul",pe,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(r.users,(function(t){return(0,s.wg)(),(0,s.iD)("li",{key:t.user_id,class:"item user",onClick:function(e){return r.selectedUser=t.username}},[(0,s._)("div",{class:"name col-8",textContent:(0,p.zw)(t.username)},null,8,he),(0,s._)("div",ge,[(0,s.Wm)(u,{title:"User Actions","icon-class":"fa fa-cog"},{default:(0,s.w5)((function(){return[(0,s.Wm)(c,{text:"Change Password",disabled:r.commandRunning,"icon-class":"fa fa-key",onClick:function(n){r.selectedUser=t.username,e.$refs.changePasswordModal.show()}},null,8,["disabled","onClick"]),(0,s.Wm)(c,{text:"Delete User",disabled:r.commandRunning,"icon-class":"fa fa-trash",onClick:function(e){return a.deleteUser(t)}},null,8,["disabled","onClick"])]})),_:2},1024)])],8,me)})),128))])])],64)}var be=n(9584),we=(n(8309),{name:"Users",components:{DropdownItem:f.Z,Loading:G.Z,Modal:X.Z,Dropdown:d.Z},mixins:[J.Z],props:{sessionToken:{type:String,required:!0},currentUser:{type:Object,required:!0}},data:function(){return{users:[],commandRunning:!1,loading:!1,selectedUser:null}},methods:{refresh:function(){var e=this;return(0,u.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("user.get_users");case 4:e.users=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},createUser:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,be.Z)(t.$refs.addUserForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.password===s.confirm_password){n.next=5;break}return t.notify({title:"Unable to create user",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,n.prev=6,n.next=9,t.request("user.create_user",{username:s.username,password:s.password,session_token:t.sessionToken});case 9:return n.prev=9,t.commandRunning=!1,n.finish(9);case 12:return t.notify({text:"User "+s.username+" created",image:{iconClass:"fas fa-check"}}),t.$refs.addUserModal.close(),n.next=16,t.refresh();case 16:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},changePassword:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){var s,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,be.Z)(t.$refs.changePasswordForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.new_password===s.confirm_new_password){n.next=5;break}return t.notify({title:"Unable to update password",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,i=!1,n.prev=7,n.next=10,t.request("user.update_password",{username:s.username,old_password:s.password,new_password:s.new_password});case 10:i=n.sent;case 11:return n.prev=11,t.commandRunning=!1,n.finish(11);case 14:i?(t.$refs.changePasswordModal.close(),t.notify({text:"Password successfully updated",image:{iconClass:"fas fa-check"}})):t.notify({title:"Unable to update password",text:"The current password is incorrect",error:!0,image:{iconClass:"fas fa-times"}});case 15:case"end":return n.stop()}}),n,null,[[7,,11,14]])})))()},deleteUser:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you sure that you want to remove the user "+e.username+"?")){n.next=2;break}return n.abrupt("return");case 2:return t.commandRunning=!0,n.prev=3,n.next=6,t.request("user.delete_user",{username:e.username,session_token:t.sessionToken});case 6:return n.prev=6,t.commandRunning=!1,n.finish(6);case 9:return t.notify({text:"User "+e.username+" removed",image:{iconClass:"fas fa-check"}}),n.next=12,t.refresh();case 12:case"end":return n.stop()}}),n,null,[[3,,6,9]])})))()}},mounted:function(){this.refresh()}});const ye=(0,ee.Z)(we,[["render",ve]]);var ke=ye,xe={name:"Settings",components:{Dropdown:d.Z,DropdownItem:f.Z,Users:ke,Token:ne},mixins:[J.Z],data:function(){return{selectedView:"users",currentUser:null,sessionToken:null}},methods:{refresh:function(){var e=this;return(0,u.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sessionToken=e.getCookies()["session_token"],t.next=3,e.request("user.get_user_by_session",{session_token:e.sessionToken});case 3:e.currentUser=t.sent;case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.refresh()}};const _e=(0,ee.Z)(xe,[["render",c]]);var Ce=_e},3379:function(e,t,n){var s={"./Camera/Index":[5528,5528],"./CameraAndroidIpcam/Index":[6739,6739],"./CameraCv/Index":[8184,5528,8184],"./CameraFfmpeg/Index":[5111,5528,5111],"./CameraGstreamer/Index":[699,5528,699],"./CameraIrMlx90640/Index":[9895,5528,9895],"./CameraPi/Index":[4548,5528,4548],"./Entities/Index":[9688,213],"./Execute/Index":[7643,7643],"./Light/Index":[8448,7246,3490,8448],"./LightHue/Index":[3724,7246,3490,8448,3724],"./Media/Index":[4196,7246,8337,7029,779,4196],"./MediaMplayer/Index":[6509,7246,8337,7029,779,4196,6509],"./MediaMpv/Index":[5895,7246,8337,7029,779,4196,5895],"./MediaOmxplayer/Index":[9633,7246,8337,7029,779,4196,9633],"./MediaVlc/Index":[767,7246,8337,7029,779,4196,767],"./Music/Index":[5781,7246,8337,7029,6833],"./MusicMpd/Index":[2957,7246,8337,7029,6833,2957],"./MusicSnapcast/Index":[2790,7246,3490,2790],"./MusicSpotify/Index":[7196,7246,8337,7029,6833,7196],"./Rtorrent/Index":[2820,8337,779,6162,2820],"./Settings/Index":[2715],"./Sound/Index":[5193,5193],"./Torrent/Index":[9299,8337,779,6162,9299],"./Tts/Index":[2466,4021,2466],"./TtsGoogle/Index":[1938,4021,1938],"./TvSamsungWs/Index":[615,615],"./ZigbeeMqtt/Index":[4848,7246,3490,4848],"./Zwave/Index":[8586,7246,3490,906,6027],"./ZwaveMqtt/Index":[2362,7246,3490,906,2362]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=3379,e.exports=i},6725:function(e,t,n){var s={"./Calendar/Index":[345,345],"./Camera/Index":[2346,2346],"./Component/Index":[5824,7246,3490,5824],"./DateTime/Index":[1595,9575,1595],"./DateTimeWeather/Index":[3138,1798,9575,3138],"./ImageCarousel/Index":[6003,1798,9575,6003],"./Music/Index":[6013,6013],"./Plugin/Index":[1818,1818],"./RssNews/Index":[7420,7420],"./Weather/Index":[1798,1798]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=6725,e.exports=i},1359:function(e){"use strict";e.exports=JSON.parse('{"bluetooth":{"class":"fab fa-bluetooth"},"camera.android.ipcam":{"class":"fab fa-android"},"camera.cv":{"class":"fas fa-camera"},"camera.ffmpeg":{"class":"fas fa-camera"},"camera.gstreamer":{"class":"fas fa-camera"},"camera.ir.mlx90640":{"class":"fas fa-sun"},"camera.pi":{"class":"fas fa-camera"},"entities":{"class":"fa fa-home"},"execute":{"class":"fa fa-play"},"light.hue":{"class":"fas fa-lightbulb"},"media.jellyfin":{"imgUrl":"/icons/jellyfin.svg"},"media.kodi":{"imgUrl":"/icons/kodi.svg"},"media.omxplayer":{"class":"fa fa-film"},"media.mplayer":{"class":"fa fa-film"},"media.mpv":{"class":"fa fa-film"},"media.plex":{"imgUrl":"/icons/plex.svg"},"media.vlc":{"class":"fa fa-film"},"music.mpd":{"class":"fas fa-music"},"music.snapcast":{"class":"fa fa-volume-up"},"music.spotify":{"class":"fab fa-spotify"},"torrent":{"class":"fa fa-magnet"},"rtorrent":{"class":"fa fa-magnet"},"smartthings":{"imgUrl":"/icons/smartthings.png"},"switches":{"class":"fas fa-toggle-on"},"switch.switchbot":{"class":"fas fa-toggle-on"},"switch.tplink":{"class":"fas fa-toggle-on"},"switchbot":{"class":"fas fa-toggle-on"},"sound":{"class":"fa fa-microphone"},"tts":{"class":"far fa-comment"},"tts.google":{"class":"fas fa-comment"},"tv.samsung.ws":{"class":"fas fa-tv"},"zigbee.mqtt":{"imgUrl":"/icons/zigbee.svg"},"zwave":{"imgUrl":"/icons/z-wave.png"},"zwave.mqtt":{"imgUrl":"/icons/z-wave.png"}}')}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,n),r.exports}n.m=e,function(){var e=[];n.O=function(t,s,i,r){if(!s){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((function(e){return n.O[e](s[l])}))?s.splice(l--,1):(o=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[s,i,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(s,i){if(1&i&&(s=this(s)),8&i)return s;if("object"===typeof s&&s){if(4&i&&s.__esModule)return s;if(16&i&&"function"===typeof s.then)return s}var r=Object.create(null);n.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var o=2&i&&s;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((function(e){a[e]=function(){return s[e]}}));return a["default"]=function(){return s},n.d(r,a),r}}(),function(){n.d=function(e,t){for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,s){return n.f[s](e,t),t}),[]))}}(),function(){n.u=function(e){return"static/js/"+e+"-legacy."+{65:"a4e6662a",213:"f5ffee0f",218:"8529d512",345:"dcb6e74e",615:"fba0e1b5",699:"cb1ccfbb",767:"f33d812b",779:"b6f54fbb",906:"411b215f",1399:"7e768542",1595:"69aea4ae",1798:"b42f39d9",1818:"03a52113",1938:"e350f72d",2315:"36b42ec4",2346:"4845c2ae",2362:"034c153c",2466:"b6981a49",2790:"3fcc38e0",2820:"869be689",2957:"a0d5f651",3077:"f26a945c",3138:"fb8e3a20",3303:"25b20d44",3398:"f60988fb",3459:"78c2ebcb",3490:"d482e29b",3593:"0d1a3580",3724:"b00820ce",4021:"a3380d38",4196:"52467354",4435:"8334de27",4548:"e2883bdd",4848:"dbe8981f",4981:"c4835180",5006:"08d1bd17",5111:"262ea3c5",5193:"d8c2e027",5207:"b6625280",5528:"5b7db199",5824:"7b386549",5895:"e1ce8e90",6003:"f3446996",6013:"b02eb716",6027:"15704eec",6162:"bf13f6e2",6509:"ab6d64c3",6739:"c665b953",6833:"45b75b6d",7029:"23944402",7196:"a47a2493",7246:"22fd9eab",7420:"a57de4be",7549:"a351a798",7643:"5b846090",8126:"ec568576",8184:"702db0b7",8337:"fcf13df8",8448:"8c32a9ad",8625:"30fef632",9299:"adb4a75b",9575:"fb8eab70",9633:"8a00fadb",9651:"fc7ada5d",9895:"acee9428"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"static/css/"+e+"."+{65:"b366d0d2",213:"5d8d8711",218:"8bc17e62",345:"27e4fda5",615:"1ac471d9",779:"055e0a78",906:"74183bf9",1798:"d01ab9e8",1818:"13a8969a",2315:"5933bd03",2346:"652ce8d2",2790:"0b991c47",3077:"bc5c0923",3138:"6592932c",3303:"8374ad40",3398:"b6f8640f",3490:"ec1f2ba4",3593:"1362004f",3724:"67859fcb",4021:"af03a7d5",4196:"06732143",4435:"4025d016",4848:"7a0e1cc6",4981:"59b7c5bd",5006:"272cf823",5193:"728e9591",5207:"d020a412",5528:"073578fc",5824:"e84debea",6003:"33443d49",6013:"0f7c5d21",6162:"3c801dd2",6739:"89ef2cab",6833:"7067545d",7029:"bb7f4511",7246:"87555644",7420:"6d705296",7549:"81589a64",7643:"d6678a46",8126:"4a7e8b22",8448:"5ce15271",8625:"bd1a98bc",9575:"aef25003",9651:"f33536b2"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="platypush:";n.l=function(s,i,r,a){if(e[s])e[s].push(i);else{var o,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;uPlatypush
',3),Oe={key:0,class:"row"},$e=Pe((function(){return(0,i._)("label",null,[(0,i._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password"})],-1)})),Ee=[$e],We={class:"row buttons"},ze=["value"],Le=Pe((function(){return(0,i._)("div",{class:"row pull-right"},[(0,i._)("label",{class:"checkbox"},[(0,i._)("input",{type:"checkbox",name:"remember"}),(0,i.Uk)(" Keep me logged in on this device ")])],-1)}));function Ae(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",je,[(0,i._)("form",Me,[qe,a._register?((0,i.wg)(),(0,i.iD)("div",Oe,Ee)):(0,i.kq)("",!0),(0,i._)("div",We,[(0,i._)("input",{type:"submit",class:"btn btn-primary",value:a._register?"Register":"Login"},null,8,ze)]),Le])])}var Ve={name:"Login",mixins:[S.Z],props:{register:{type:Boolean,required:!1,default:!1}},computed:{_register:function(){return this.parseBoolean(this.register)}}};const He=(0,_.Z)(Ve,[["render",Ae],["__scopeId","data-v-16cef6aa"]]);var Fe=He;function Be(e,t,n,s,r,a){var o=(0,i.up)("Login");return(0,i.wg)(),(0,i.j4)(o,{register:!0})}var Ye={name:"Register",mixins:[Fe],components:{Login:Fe},props:{register:{type:Boolean,required:!1,default:!0}}};const Ke=(0,_.Z)(Ye,[["render",Be]]);var Ge=Ke,Je={key:2,class:"canvas"},Xe={class:"panel"},Qe={key:3,class:"canvas"};function et(e,t,n,s,r,a){var o=(0,i.up)("Loading"),l=(0,i.up)("Nav"),u=(0,i.up)("Settings");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.j4)(l,{key:1,panels:r.components,"selected-panel":r.selectedPanel,hostname:r.hostname,onSelect:t[0]||(t[0]=function(e){return r.selectedPanel=e})},null,8,["panels","selected-panel","hostname"])),"settings"===r.selectedPanel?((0,i.wg)(),(0,i.iD)("div",Je,[(0,i._)("div",Xe,[(0,i.Wm)(u)])])):((0,i.wg)(),(0,i.iD)("div",Qe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.components,(function(e,t){return(0,i.wg)(),(0,i.iD)("div",{class:(0,c.C_)(["panel",{hidden:t!==r.selectedPanel}]),key:t},[t===r.selectedPanel?((0,i.wg)(),(0,i.j4)((0,i.LL)(e.component),{key:0,config:e.config,"plugin-name":t},null,8,["config","plugin-name"])):(0,i.kq)("",!0)],2)})),128))]))])}var tt=n(6084),nt=(n(4723),n(4747),n(9720),n(9600),n(7042),function(e){return(0,i.dD)("data-v-7f000930"),e=e(),(0,i.Cn)(),e}),st=nt((function(){return(0,i._)("i",{class:"fas fa-bars"},null,-1)})),it=["textContent"],rt={class:"plugins"},at=["title","onClick"],ot=["href"],lt={class:"icon"},ct=["src"],ut={key:2,class:"fas fa-puzzle-piece"},dt=["textContent"],ft={class:"footer"},pt={href:"/#settings"},mt=nt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fa fa-cog"})],-1)})),ht={key:0,class:"name"},gt={href:"/logout"},vt=nt((function(){return(0,i._)("span",{class:"icon"},[(0,i._)("i",{class:"fas fa-sign-out-alt"})],-1)})),bt={key:0,class:"name"};function wt(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("nav",{class:(0,c.C_)({collapsed:r.collapsed})},[(0,i._)("div",{class:"toggler",onClick:t[0]||(t[0]=function(e){return r.collapsed=!r.collapsed})},[st,n.hostname?((0,i.wg)(),(0,i.iD)("span",{key:0,class:"hostname",textContent:(0,c.zw)(n.hostname)},null,8,it)):(0,i.kq)("",!0)]),(0,i._)("ul",rt,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(a.panelNames,(function(e){var t,s;return(0,i.wg)(),(0,i.iD)("li",{key:e,class:(0,c.C_)(["entry",{selected:e===n.selectedPanel}]),title:e,onClick:function(t){return a.onItemClick(e)}},[(0,i._)("a",{href:"/#".concat(e)},[(0,i._)("span",lt,[null!==(t=r.icons[e])&&void 0!==t&&t.class?((0,i.wg)(),(0,i.iD)("i",{key:0,class:(0,c.C_)(r.icons[e].class)},null,2)):null!==(s=r.icons[e])&&void 0!==s&&s.imgUrl?((0,i.wg)(),(0,i.iD)("img",{key:1,src:r.icons[e].imgUrl,alt:"name"},null,8,ct)):((0,i.wg)(),(0,i.iD)("i",ut))]),r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",{key:0,class:"name",textContent:(0,c.zw)("entities"==e?"Home":e)},null,8,dt))],8,ot)],10,at)})),128))]),(0,i._)("ul",ft,[(0,i._)("li",{class:(0,c.C_)({selected:"settings"===n.selectedPanel}),title:"Settings",onClick:t[1]||(t[1]=function(e){return a.onItemClick("settings")})},[(0,i._)("a",pt,[mt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",ht,"Settings"))])],2),(0,i._)("li",{title:"Logout",onClick:t[2]||(t[2]=function(e){return a.onItemClick("logout")})},[(0,i._)("a",gt,[vt,r.collapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("span",bt,"Logout"))])])])],2)}n(2707);var yt=n(1359),kt={name:"Nav",emits:["select"],mixins:[S.Z],props:{panels:{type:Object,required:!0},selectedPanel:{type:String},hostname:{type:String}},computed:{panelNames:function(){var e=Object.keys(this.panels),t=e.indexOf("entities");return t>=0?["entities"].concat(e.slice(0,t).concat(e.slice(t+1)).sort()):e.sort()},collapsedDefault:function(){return!(!this.isMobile()&&!this.isTablet())}},methods:{onItemClick:function(e){this.$emit("select",e),this.collapsed=!!this.isMobile()||this.collapsedDefault}},data:function(){return{collapsed:!0,icons:yt,host:null}},mounted:function(){this.collapsed=this.collapsedDefault}};const xt=(0,_.Z)(kt,[["render",wt],["__scopeId","data-v-7f000930"]]);var _t=xt,Ct=n(2715),Dt={name:"Panel",mixins:[S.Z],components:{Settings:Ct["default"],Nav:_t,Loading:ve.Z},data:function(){return{loading:!1,plugins:{},backends:{},procedures:{},components:{},hostname:void 0,selectedPanel:void 0}},methods:{initSelectedPanel:function(){var e=this.$route.hash.match("#?([a-zA-Z0-9.]+)[?]?(.*)"),t=e?e[1]:"entities";null!==t&&void 0!==t&&t.length&&(this.selectedPanel=t)},initPanels:function(){var e=this;this.components={},Object.entries(this.plugins).forEach(function(){var t=(0,a.Z)(regeneratorRuntime.mark((function t(s){var r,o,l,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=(0,tt.Z)(s,2),o=r[0],l=r[1],c=o.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),u=null,t.prev=3,t.next=6,n(3379)("./".concat(c,"/Index"));case 6:u=t.sent,t.next=12;break;case 9:return t.prev=9,t.t0=t["catch"](3),t.abrupt("return");case 12:d=(0,ge.XI)((0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",u);case 1:case"end":return e.stop()}}),e)}))))),e.$options.components[o]=d,e.components[o]={component:d,pluginName:o,config:l};case 15:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e){return t.apply(this,arguments)}}())},parseConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.request("config.get_plugins"),e.request("config.get_backends"),e.request("config.get_procedures"),e.request("config.get_device_id")]);case 2:n=t.sent,s=(0,tt.Z)(n,4),e.plugins=s[0],e.backends=s[1],e.procedures=s[2],e.hostname=s[3],e.initializeDefaultViews();case 9:case"end":return t.stop()}}),t)})))()},initializeDefaultViews:function(){this.plugins.execute={},this.plugins.entities={}}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.parseConfig();case 4:e.initPanels(),e.initSelectedPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const It=(0,_.Z)(Dt,[["render",et],["__scopeId","data-v-fbc09254"]]);var Tt=It,Zt={key:1,class:"canvas"};function St(e,t,n,s,r,a){var o=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("main",null,[r.loading?((0,i.wg)(),(0,i.j4)(o,{key:0})):((0,i.wg)(),(0,i.iD)("div",Zt,[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{config:r.config,"plugin-name":a.pluginName},null,8,["config","plugin-name"]))]))])}n(9714);var Ut={name:"Panel",mixins:[S.Z],components:{Settings:Ct["default"],Nav:_t,Loading:ve.Z},data:function(){return{loading:!1,config:{},plugins:{},backends:{},procedures:{},component:void 0,hostname:void 0,selectedPanel:void 0}},computed:{pluginName:function(){return this.$route.params.plugin}},methods:{initPanel:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.pluginName.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),r=null,t.prev=2,t.next=5,n(3379)("./".concat(s,"/Index"));case 5:r=t.sent,t.next=13;break;case 8:return t.prev=8,t.t0=t["catch"](2),console.error(t.t0),e.notify({error:!0,title:"Cannot load plugin ".concat(e.pluginName),text:t.t0.toString()}),t.abrupt("return");case 13:e.component=(0,ge.XI)((0,i.RC)((0,a.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",r);case 1:case"end":return e.stop()}}),e)}))))),e.$options.components[s]=e.component;case 15:case"end":return t.stop()}}),t,null,[[2,8]])})))()},initConfig:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.request("config.get");case 2:return n=t.sent,e.config=n[e.pluginName]||{},t.next=6,e.request("config.get_device_id");case 6:e.hostname=t.sent;case 7:case"end":return t.stop()}}),t)})))()}},mounted:function(){var e=this;return(0,a.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.initConfig();case 4:return t.next=6,e.initPanel();case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()}};const Rt=(0,_.Z)(Ut,[["render",St],["__scopeId","data-v-e339182c"]]);var Nt=Rt,Pt=[{path:"/",name:"Panel",component:Tt},{path:"/dashboard/:name",name:"Dashboard",component:Ze},{path:"/plugin/:plugin",name:"Plugin",component:Nt},{path:"/login",name:"Login",component:Fe},{path:"/register",name:"Register",component:Ge},{path:"/:catchAll(.*)",component:Ne}],jt=(0,pe.p7)({history:(0,pe.PO)(),routes:Pt}),Mt=jt,qt=(0,s.ri)(fe);qt.config.globalProperties._config=window.config,qt.use(Mt).mount("#app")},6813:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});n(1539);var s=n(9669),i=n.n(s),r={name:"Api",methods:{execute:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e4,s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r={};return"target"in e&&e["target"]||(e["target"]="localhost"),"type"in e&&e["type"]||(e["type"]="request"),n&&(r.timeout=n),new Promise((function(n,a){i().post("/execute",e,r).then((function(e){var s;if(e=e.data.response,null!==(s=e.errors)&&void 0!==s&&s.length){var i,r=(null===(i=e.errors)||void 0===i?void 0:i[0])||e;t.notify({text:r,error:!0}),a(r)}else n(e.output)})).catch((function(e){s&&t.notify({text:e,error:!0}),a(e)}))}))},request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return this.execute({type:"request",action:e,args:t},n,s)}}};const a=r;var o=a,l=n(6084),c=(n(4916),n(3123),{name:"Cookies",methods:{getCookies:function(){return document.cookie.split(/;\s*/).reduce((function(e,t){var n=t.split("="),s=(0,l.Z)(n,2),i=s[0],r=s[1];return e[i]=r,e}),{})}}});const u=c;var d=u,f=(n(2222),{name:"DateTime",methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toDateString().substring(0,t?15:10)},formatTime:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toTimeString().substring(0,t?8:5)},formatDateTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"===typeof e&&(e=new Date(Date.parse(e))),"".concat(this.formatDate(e,t),", ").concat(this.formatTime(e,n))}}});const p=f;var m=p,h=n(9584),g=(n(7714),n(2801),n(1174),n(1249),n(3948),n(5250)),v={name:"Events",computed:{_eventsReady:function(){var e;return null===(e=this.$root.$refs.events)||void 0===e?void 0:e.initialized}},methods:{subscribe:function(e,t){for(var n=this,s=arguments.length,i=new Array(s>2?s-2:0),r=2;r1024&&(i===n.length-1?t=s:e/=1024)})),"".concat(e.toFixed(2)," ").concat(t)},objectsEqual:function(e,t){var n;if("object"!==(0,S.Z)(e)||"object"!==(0,S.Z)(t))return!1;if(null==e||null==t)return null==e&&null==t;for(var s=0,i=Object.keys(e||{});st?(t=r,n=[i]):r===t&&n.push(i)}}catch(o){s.e(o)}finally{s.f()}(n.indexOf(this.$el)<0||n.length>1)&&(this.$el.style.zIndex=t+1)}if(this.isVisible&&this.timeout&&!this.timeoutId){var a=function(e){return function(){e.close(),e.timeoutId=void 0}};this.timeoutId=setTimeout(a(this),0+this.timeout)}}}),d=n(3744);const f=(0,d.Z)(u,[["render",l],["__scopeId","data-v-7d1f6e8b"]]);var p=f},5771:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var s=n(6252),i=n(9963),r=n(3577),a={class:"dropdown-container",ref:"container"},o=["title"],l=["textContent"],c=["id"];function u(e,t,n,u,d,f){return(0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("button",{title:n.title,ref:"button",onClick:t[0]||(t[0]=(0,i.iM)((function(e){return f.toggle(e)}),["stop"]))},[n.iconClass?((0,s.wg)(),(0,s.iD)("i",{key:0,class:(0,r.C_)(["icon",n.iconClass])},null,2)):(0,s.kq)("",!0),n.text?((0,s.wg)(),(0,s.iD)("span",{key:1,class:"text",textContent:(0,r.zw)(n.text)},null,8,l)):(0,s.kq)("",!0)],8,o),(0,s._)("div",{class:(0,r.C_)(["dropdown fade-in",{hidden:!d.visible}]),id:n.id,ref:"dropdown"},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],10,c)],512)}var d={name:"Dropdown",emits:["click"],props:{id:{type:String},items:{type:Array,default:function(){return[]}},iconClass:{type:String,default:"fa fa-ellipsis-h"},text:{type:String},title:{type:String},keepOpenOnItemClick:{type:Boolean,default:!1}},data:function(){return{visible:!1}},methods:{documentClickHndl:function(e){if(this.visible){var t=e.target;while(t){if(!this.$refs.dropdown)break;if(t===this.$refs.dropdown.element)return;t=t.parentElement}this.close()}},close:function(){this.visible=!1,document.removeEventListener("click",this.documentClickHndl)},open:function(){var e=this;document.addEventListener("click",this.documentClickHndl),this.visible=!0,setTimeout((function(){var t=e.$refs.dropdown;t.style.left=0,t.style.top=parseFloat(getComputedStyle(e.$refs.button).height)+"px",t.getBoundingClientRect().left>window.innerWidth/2&&(t.style.left=-t.clientWidth+parseFloat(getComputedStyle(e.$refs.button).width)+"px"),t.getBoundingClientRect().top>window.innerHeight/2&&(t.style.top=-t.clientHeight+parseFloat(getComputedStyle(e.$refs.button).height)+"px")}),10)},toggle:function(e){e.stopPropagation(),this.$emit("click"),this.visible?this.close():this.open()}}},f=n(3744);const p=(0,f.Z)(d,[["render",u],["__scopeId","data-v-21bf0316"]]);var m=p},2684:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var s=n(6252),i=n(3577),r={key:0,class:"col-2 icon"},a=["textContent"];function o(e,t,n,o,l,c){var u,d,f=(0,s.up)("Icon");return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["row item",n.itemClass]),onClick:t[0]||(t[0]=function(){return c.clicked&&c.clicked.apply(c,arguments)})},[null!==(u=n.iconClass)&&void 0!==u&&u.length||null!==(d=n.iconUrl)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(f,{class:(0,i.C_)(n.iconClass),url:n.iconUrl},null,8,["class","url"])])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,i.C_)(["text",{"col-10":null!=n.iconClass}]),textContent:(0,i.zw)(n.text)},null,10,a)],2)}var l=n(1478),c={name:"DropdownItem",components:{Icon:l.Z},props:{iconClass:{type:String},iconUrl:{type:String},text:{type:String},disabled:{type:Boolean,default:!1},itemClass:{}},methods:{clicked:function(e){if(this.disabled)return!1;this.$parent.$emit("click",e),this.$parent.keepOpenOnItemClick||(this.$parent.visible=!1)}}},u=n(3744);const d=(0,u.Z)(c,[["render",o],["__scopeId","data-v-2cfe8014"]]);var f=d},1478:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(6252),i=n(3577),r={class:"icon-container"},a=["src","alt"];function o(e,t,n,o,l,c){var u,d;return(0,s.wg)(),(0,s.iD)("div",r,[null!==(u=n.url)&&void 0!==u&&u.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:n.url,alt:n.alt},null,8,a)):null!==(d=c.className)&&void 0!==d&&d.length?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,i.C_)(["icon",c.className]),style:(0,i.j5)({color:n.color})},null,6)):(0,s.kq)("",!0)])}var l={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className:function(){return this.class}}},c=n(3744);const u=(0,c.Z)(l,[["render",o],["__scopeId","data-v-706a3bd1"]]);var d=u},2715:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ce}});var s=n(6252),i={class:"settings-container"},r={class:"col-8"},a={class:"col-4 pull-right"},o=(0,s._)("i",{class:"fa fa-plus"},null,-1),l=[o];function c(e,t,n,o,c,u){var d=(0,s.up)("DropdownItem"),f=(0,s.up)("Dropdown"),p=(0,s.up)("Users"),m=(0,s.up)("Token");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("header",null,[(0,s._)("div",r,[(0,s.Wm)(f,{title:"Select a category","icon-class":"fa fa-ellipsis-h"},{default:(0,s.w5)((function(){return[(0,s.Wm)(d,{text:"Users","icon-class":"fa fa-user","item-class":{selected:"users"===c.selectedView},onClick:t[0]||(t[0]=function(e){return c.selectedView="users"})},null,8,["item-class"]),(0,s.Wm)(d,{text:"Generate a token","icon-class":"fa fa-key","item-class":{selected:"token"===c.selectedView},onClick:t[1]||(t[1]=function(e){return c.selectedView="token"})},null,8,["item-class"])]})),_:1})]),(0,s._)("div",a,["users"===c.selectedView?((0,s.wg)(),(0,s.iD)("button",{key:0,title:"Add User",onClick:t[2]||(t[2]=function(t){return e.$refs.usersView.$refs.addUserModal.show()})},l)):(0,s.kq)("",!0)])]),(0,s._)("main",null,["users"===c.selectedView?((0,s.wg)(),(0,s.j4)(p,{key:0,"session-token":c.sessionToken,"current-user":c.currentUser,ref:"usersView"},null,8,["session-token","current-user"])):"token"===c.selectedView?((0,s.wg)(),(0,s.j4)(m,{key:1,"session-token":c.sessionToken,"current-user":c.currentUser,ref:"tokenView"},null,8,["session-token","current-user"])):(0,s.kq)("",!0)])])}var u=n(8534),d=(n(5666),n(5771)),f=n(2684),p=n(3577),m=n(9963),h={class:"token-container"},g={class:"token-container"},v=(0,s.Uk)(" This is your generated token. Treat it carefully and do not share it with untrusted parties."),b=(0,s._)("br",null,null,-1),w=(0,s.Uk)(" Also, make sure to save it - it WILL NOT be displayed again. "),y=["textContent"],k={class:"body"},x={class:"description"},_=(0,s.Uk)("Generate a JWT authentication token that can be used for API calls to the "),C=(0,s.Uk)("/execute"),D=(0,s.Uk)(" endpoint."),I=(0,s._)("br",null,null,-1),T=(0,s._)("p",null,"You can include the token in your requests in any of the following ways:",-1),Z=(0,s.Uk)("Specify it on the "),S=(0,s.Uk)("Authorization: Bearer"),U=(0,s.Uk)(" header;"),R=(0,s.Uk)("Specify it on the "),N=(0,s.Uk)("X-Token"),P=(0,s.Uk)(" header;"),j=(0,s.Uk)("Specify it as a URL parameter: "),M=(0,s.Uk)("http://site:8008/execute?token=..."),q=(0,s.Uk)(";"),O=(0,s.Uk)("Specify it on the body of your JSON request: "),$=(0,s.Uk)('{"type":"request", "action", "...", "token":"..."}'),E=(0,s.Uk)("."),W=(0,s.Uk)(" Confirm your credentials in order to generate a new token. "),z={class:"form-container"},L=(0,s._)("span",null,"Username",-1),A=["value"],V=(0,s._)("label",null,[(0,s._)("span",null,"Confirm password"),(0,s._)("span",null,[(0,s._)("input",{type:"password",name:"password"})])],-1),H=(0,s._)("label",null,[(0,s._)("span",null,"Token validity in days"),(0,s._)("span",null,[(0,s._)("input",{type:"text",name:"validityDays"})]),(0,s._)("span",{class:"note"},[(0,s.Uk)(" Decimal values are also supported (e.g. "),(0,s._)("i",null,"0.5"),(0,s.Uk)(" to identify 6 hours). An empty or zero value means that the token has no expiry date. ")])],-1),F=(0,s._)("label",null,[(0,s._)("input",{type:"submit",class:"btn btn-primary",value:"Generate token"})],-1);function B(e,t,n,i,r,a){var o=(0,s.up)("Loading"),l=(0,s.up)("Modal"),c=(0,s.up)("tt");return(0,s.wg)(),(0,s.iD)("div",h,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(l,{ref:"tokenModal"},{default:(0,s.w5)((function(){return[(0,s._)("div",g,[(0,s._)("label",null,[v,b,w,(0,s._)("textarea",{class:"token",textContent:(0,p.zw)(r.token),onFocus:t[0]||(t[0]=function(){return a.onTokenSelect&&a.onTokenSelect.apply(a,arguments)})},null,40,y)])])]})),_:1},512),(0,s._)("div",k,[(0,s._)("div",x,[(0,s._)("p",null,[_,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[C]})),_:1}),D]),I,T,(0,s._)("ul",null,[(0,s._)("li",null,[Z,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[S]})),_:1}),U]),(0,s._)("li",null,[R,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[N]})),_:1}),P]),(0,s._)("li",null,[j,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[M]})),_:1}),q]),(0,s._)("li",null,[O,(0,s.Wm)(c,null,{default:(0,s.w5)((function(){return[$]})),_:1}),E])]),W]),(0,s._)("div",z,[(0,s._)("form",{onSubmit:t[1]||(t[1]=(0,m.iM)((function(){return a.generateToken&&a.generateToken.apply(a,arguments)}),["prevent"])),ref:"generateTokenForm"},[(0,s._)("label",null,[L,(0,s._)("span",null,[(0,s._)("input",{type:"text",name:"username",value:n.currentUser.username,disabled:""},null,8,A)])]),V,H,F],544)])])])}n(1539),n(9714);var Y=n(9669),K=n.n(Y),G=n(1232),J=n(6813),X=n(8453),Q={name:"Token",components:{Modal:X.Z,Loading:G.Z},mixins:[J.Z],props:{currentUser:{type:Object,required:!0}},data:function(){return{loading:!1,token:null}},methods:{generateToken:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){var s,i,r,a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.currentUser.username,r=e.target.password.value,a=null!==(s=e.target.validityDays)&&void 0!==s&&s.length?parseInt(e.target.validityDays.value):0,a||(a=null),t.loading=!0,n.prev=5,n.next=8,K().post("/auth",{username:i,password:r,expiry_days:a});case 8:t.token=n.sent.data.token,null!==(o=t.token)&&void 0!==o&&o.length&&t.$refs.tokenModal.show(),n.next=16;break;case 12:n.prev=12,n.t0=n["catch"](5),console.error(n.t0.toString()),t.notify({text:n.t0.toString(),error:!0});case 16:return n.prev=16,t.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[5,12,16,19]])})))()},onTokenSelect:function(e){e.target.select(),document.execCommand("copy"),this.notify({text:"Token copied to clipboard",image:{iconClass:"fa fa-check"}})}}},ee=n(3744);const te=(0,ee.Z)(Q,[["render",B]]);var ne=te,se=["disabled"],ie=["disabled"],re=["disabled"],ae=["disabled"],oe=["value"],le=["disabled"],ce=["disabled"],ue=["disabled"],de=["disabled"],fe={class:"body"},pe={class:"users-list"},me=["onClick"],he=["textContent"],ge={class:"actions pull-right col-4"};function ve(e,t,n,i,r,a){var o=(0,s.up)("Loading"),l=(0,s.up)("Modal"),c=(0,s.up)("DropdownItem"),u=(0,s.up)("Dropdown");return(0,s.wg)(),(0,s.iD)(s.HY,null,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(l,{ref:"addUserModal",title:"Add User"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"addUserForm",onSubmit:t[0]||(t[0]=function(){return a.createUser&&a.createUser.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",disabled:r.commandRunning},null,8,se)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Password",disabled:r.commandRunning},null,8,ie)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password",disabled:r.commandRunning},null,8,re)]),(0,s._)("label",null,[(0,s._)("input",{type:"submit",class:"btn btn-primary",value:"Create User",disabled:r.commandRunning},null,8,ae)])],544)]})),_:1},512),(0,s.Wm)(l,{ref:"changePasswordModal",title:"Change Password"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"changePasswordForm",onSubmit:t[1]||(t[1]=function(){return a.changePassword&&a.changePassword.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",value:r.selectedUser,disabled:"disabled"},null,8,oe)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Current password",disabled:r.commandRunning},null,8,le)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"new_password",placeholder:"New password",disabled:r.commandRunning},null,8,ce)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_new_password",placeholder:"Confirm new password",disabled:r.commandRunning},null,8,ue)]),(0,s._)("label",null,[(0,s._)("input",{type:"submit",class:"btn btn-primary",value:"Change Password",disabled:r.commandRunning},null,8,de)])],544)]})),_:1},512),(0,s._)("div",fe,[(0,s._)("ul",pe,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(r.users,(function(t){return(0,s.wg)(),(0,s.iD)("li",{key:t.user_id,class:"item user",onClick:function(e){return r.selectedUser=t.username}},[(0,s._)("div",{class:"name col-8",textContent:(0,p.zw)(t.username)},null,8,he),(0,s._)("div",ge,[(0,s.Wm)(u,{title:"User Actions","icon-class":"fa fa-cog"},{default:(0,s.w5)((function(){return[(0,s.Wm)(c,{text:"Change Password",disabled:r.commandRunning,"icon-class":"fa fa-key",onClick:function(n){r.selectedUser=t.username,e.$refs.changePasswordModal.show()}},null,8,["disabled","onClick"]),(0,s.Wm)(c,{text:"Delete User",disabled:r.commandRunning,"icon-class":"fa fa-trash",onClick:function(e){return a.deleteUser(t)}},null,8,["disabled","onClick"])]})),_:2},1024)])],8,me)})),128))])])],64)}var be=n(9584),we=(n(8309),{name:"Users",components:{DropdownItem:f.Z,Loading:G.Z,Modal:X.Z,Dropdown:d.Z},mixins:[J.Z],props:{sessionToken:{type:String,required:!0},currentUser:{type:Object,required:!0}},data:function(){return{users:[],commandRunning:!1,loading:!1,selectedUser:null}},methods:{refresh:function(){var e=this;return(0,u.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("user.get_users");case 4:e.users=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},createUser:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,be.Z)(t.$refs.addUserForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.password===s.confirm_password){n.next=5;break}return t.notify({title:"Unable to create user",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,n.prev=6,n.next=9,t.request("user.create_user",{username:s.username,password:s.password,session_token:t.sessionToken});case 9:return n.prev=9,t.commandRunning=!1,n.finish(9);case 12:return t.notify({text:"User "+s.username+" created",image:{iconClass:"fas fa-check"}}),t.$refs.addUserModal.close(),n.next=16,t.refresh();case 16:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},changePassword:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){var s,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,be.Z)(t.$refs.changePasswordForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.new_password===s.confirm_new_password){n.next=5;break}return t.notify({title:"Unable to update password",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,i=!1,n.prev=7,n.next=10,t.request("user.update_password",{username:s.username,old_password:s.password,new_password:s.new_password});case 10:i=n.sent;case 11:return n.prev=11,t.commandRunning=!1,n.finish(11);case 14:i?(t.$refs.changePasswordModal.close(),t.notify({text:"Password successfully updated",image:{iconClass:"fas fa-check"}})):t.notify({title:"Unable to update password",text:"The current password is incorrect",error:!0,image:{iconClass:"fas fa-times"}});case 15:case"end":return n.stop()}}),n,null,[[7,,11,14]])})))()},deleteUser:function(e){var t=this;return(0,u.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you sure that you want to remove the user "+e.username+"?")){n.next=2;break}return n.abrupt("return");case 2:return t.commandRunning=!0,n.prev=3,n.next=6,t.request("user.delete_user",{username:e.username,session_token:t.sessionToken});case 6:return n.prev=6,t.commandRunning=!1,n.finish(6);case 9:return t.notify({text:"User "+e.username+" removed",image:{iconClass:"fas fa-check"}}),n.next=12,t.refresh();case 12:case"end":return n.stop()}}),n,null,[[3,,6,9]])})))()}},mounted:function(){this.refresh()}});const ye=(0,ee.Z)(we,[["render",ve]]);var ke=ye,xe={name:"Settings",components:{Dropdown:d.Z,DropdownItem:f.Z,Users:ke,Token:ne},mixins:[J.Z],data:function(){return{selectedView:"users",currentUser:null,sessionToken:null}},methods:{refresh:function(){var e=this;return(0,u.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sessionToken=e.getCookies()["session_token"],t.next=3,e.request("user.get_user_by_session",{session_token:e.sessionToken});case 3:e.currentUser=t.sent;case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.refresh()}};const _e=(0,ee.Z)(xe,[["render",c]]);var Ce=_e},3379:function(e,t,n){var s={"./Camera/Index":[5528,5528],"./CameraAndroidIpcam/Index":[6739,6739],"./CameraCv/Index":[8184,5528,8184],"./CameraFfmpeg/Index":[5111,5528,5111],"./CameraGstreamer/Index":[699,5528,699],"./CameraIrMlx90640/Index":[9895,5528,9895],"./CameraPi/Index":[4548,5528,4548],"./Entities/Index":[1404,1765],"./Execute/Index":[7643,7643],"./Light/Index":[8448,7782,3490,8448],"./LightHue/Index":[3724,7782,3490,8448,3724],"./Media/Index":[4196,7782,8337,7029,779,4196],"./MediaMplayer/Index":[6509,7782,8337,7029,779,4196,6509],"./MediaMpv/Index":[5895,7782,8337,7029,779,4196,5895],"./MediaOmxplayer/Index":[9633,7782,8337,7029,779,4196,9633],"./MediaVlc/Index":[767,7782,8337,7029,779,4196,767],"./Music/Index":[5781,7782,8337,7029,6833],"./MusicMpd/Index":[2957,7782,8337,7029,6833,2957],"./MusicSnapcast/Index":[2790,7782,3490,2790],"./MusicSpotify/Index":[7196,7782,8337,7029,6833,7196],"./Rtorrent/Index":[2820,8337,779,6162,2820],"./Settings/Index":[2715],"./Sound/Index":[5193,5193],"./Torrent/Index":[9299,8337,779,6162,9299],"./Tts/Index":[2466,4021,2466],"./TtsGoogle/Index":[1938,4021,1938],"./TvSamsungWs/Index":[615,615],"./ZigbeeMqtt/Index":[4848,7782,3490,4848],"./Zwave/Index":[8586,7782,3490,906,6027],"./ZwaveMqtt/Index":[2362,7782,3490,906,2362]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=3379,e.exports=i},6725:function(e,t,n){var s={"./Calendar/Index":[345,345],"./Camera/Index":[2346,2346],"./Component/Index":[5824,7782,3490,5824],"./DateTime/Index":[1595,9575,1595],"./DateTimeWeather/Index":[3138,1798,9575,3138],"./ImageCarousel/Index":[6003,1798,9575,6003],"./Music/Index":[6013,6013],"./Plugin/Index":[1818,1818],"./RssNews/Index":[7420,7420],"./Weather/Index":[1798,1798]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=6725,e.exports=i},1359:function(e){"use strict";e.exports=JSON.parse('{"bluetooth":{"class":"fab fa-bluetooth"},"camera.android.ipcam":{"class":"fab fa-android"},"camera.cv":{"class":"fas fa-camera"},"camera.ffmpeg":{"class":"fas fa-camera"},"camera.gstreamer":{"class":"fas fa-camera"},"camera.ir.mlx90640":{"class":"fas fa-sun"},"camera.pi":{"class":"fas fa-camera"},"entities":{"class":"fa fa-home"},"execute":{"class":"fa fa-play"},"light.hue":{"class":"fas fa-lightbulb"},"media.jellyfin":{"imgUrl":"/icons/jellyfin.svg"},"media.kodi":{"imgUrl":"/icons/kodi.svg"},"media.omxplayer":{"class":"fa fa-film"},"media.mplayer":{"class":"fa fa-film"},"media.mpv":{"class":"fa fa-film"},"media.plex":{"imgUrl":"/icons/plex.svg"},"media.vlc":{"class":"fa fa-film"},"music.mpd":{"class":"fas fa-music"},"music.snapcast":{"class":"fa fa-volume-up"},"music.spotify":{"class":"fab fa-spotify"},"torrent":{"class":"fa fa-magnet"},"rtorrent":{"class":"fa fa-magnet"},"smartthings":{"imgUrl":"/icons/smartthings.png"},"switches":{"class":"fas fa-toggle-on"},"switch.switchbot":{"class":"fas fa-toggle-on"},"switch.tplink":{"class":"fas fa-toggle-on"},"switchbot":{"class":"fas fa-toggle-on"},"sound":{"class":"fa fa-microphone"},"tts":{"class":"far fa-comment"},"tts.google":{"class":"fas fa-comment"},"tv.samsung.ws":{"class":"fas fa-tv"},"zigbee.mqtt":{"imgUrl":"/icons/zigbee.svg"},"zwave":{"imgUrl":"/icons/z-wave.png"},"zwave.mqtt":{"imgUrl":"/icons/z-wave.png"}}')}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,n),r.exports}n.m=e,function(){var e=[];n.O=function(t,s,i,r){if(!s){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((function(e){return n.O[e](s[l])}))?s.splice(l--,1):(o=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[s,i,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(s,i){if(1&i&&(s=this(s)),8&i)return s;if("object"===typeof s&&s){if(4&i&&s.__esModule)return s;if(16&i&&"function"===typeof s.then)return s}var r=Object.create(null);n.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var o=2&i&&s;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((function(e){a[e]=function(){return s[e]}}));return a["default"]=function(){return s},n.d(r,a),r}}(),function(){n.d=function(e,t){for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,s){return n.f[s](e,t),t}),[]))}}(),function(){n.u=function(e){return"static/js/"+e+"-legacy."+{65:"a4e6662a",345:"dcb6e74e",359:"53c8ac19",615:"fba0e1b5",699:"cb1ccfbb",767:"f33d812b",779:"b6f54fbb",906:"8229b138",1595:"69aea4ae",1765:"c53c54e9",1798:"b42f39d9",1818:"03a52113",1938:"e350f72d",2018:"3926893f",2306:"8182246b",2315:"b27ec7f2",2346:"4845c2ae",2362:"034c153c",2466:"b6981a49",2790:"4e9e8b0b",2820:"869be689",2957:"a0d5f651",3138:"fb8e3a20",3303:"8afafd97",3490:"d482e29b",3724:"b00820ce",4021:"a3380d38",4196:"52467354",4548:"e2883bdd",4848:"27e30cbc",4981:"c4835180",5111:"262ea3c5",5193:"d8c2e027",5207:"b6625280",5498:"25114ef6",5528:"5b7db199",5824:"6527ca08",5895:"e1ce8e90",6003:"f3446996",6013:"b02eb716",6027:"15704eec",6162:"bf13f6e2",6509:"ab6d64c3",6739:"c665b953",6833:"45b75b6d",7029:"85f01cbd",7196:"a47a2493",7367:"ca6cee67",7420:"a57de4be",7549:"ce03d2d0",7643:"5b846090",7782:"724314a6",8126:"d900d4d0",8184:"702db0b7",8337:"fcf13df8",8448:"fd3bc403",8475:"6ddd02f1",8625:"f987337f",9299:"adb4a75b",9575:"fb8eab70",9633:"8a00fadb",9651:"a087d69a",9767:"ea98618e",9895:"acee9428"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"static/css/"+e+"."+{65:"cd07cb28",345:"19cf9d0d",359:"7ff12151",615:"8b95243c",779:"e7924cac",906:"cb3bce26",1765:"628b6706",1798:"d0061372",1818:"8baa291c",2018:"111f1bdd",2306:"5a8943cf",2315:"59092f3d",2346:"d171e8f5",2790:"19201b3b",3138:"6108af56",3303:"748a284e",3490:"a327ba57",3724:"0fc70dd7",4021:"fff19b0b",4196:"ea56d2c9",4848:"c9eab7f4",4981:"94bc04e2",5193:"37da0a16",5207:"2b89418c",5498:"48e31b57",5528:"0f93a679",5824:"c1f06cf8",6003:"986b3ae1",6013:"d0054b15",6162:"748a42fd",6739:"11bad71d",6833:"b5d8115c",7029:"b34577f7",7420:"f8b46177",7549:"28d777f0",7643:"6c07b819",7782:"a9f0ac90",8126:"f9fbc50d",8448:"fe9cee1a",8475:"17317c0e",8625:"afb898ab",9575:"21327597",9651:"df0d88c2",9767:"7fce8c39"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="platypush:";n.l=function(s,i,r,a){if(e[s])e[s].push(i);else{var o,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u {\n bus.emit('entity-update', entity)\n}\n\nbus.onEntity = (callback) => {\n bus.on('entity-update', callback)\n}\n\nbus.publishNotification = (notification) => {\n bus.emit('notification-create', notification)\n}\n\nbus.onNotification = (callback) => {\n bus.on('notification-create', callback)\n}\n\nexport { bus }\n","\n \n \n \n \n \n\n \n\n\n\n\n\n\n","\n