UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

3 lines 24.5 kB
/*! For license information please see chunk.0c6dd4e99b0628685059.js.LICENSE.txt */ (self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[681],{21157:function(n,e,t){"use strict";t(43437);function i(){var n=function(n,e){e||(e=n.slice(0));return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}(['\n/* Most common used flex styles*/\n<dom-module id="iron-flex">\n <template>\n <style>\n .layout.horizontal,\n .layout.vertical {\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n }\n\n .layout.inline {\n display: -ms-inline-flexbox;\n display: -webkit-inline-flex;\n display: inline-flex;\n }\n\n .layout.horizontal {\n -ms-flex-direction: row;\n -webkit-flex-direction: row;\n flex-direction: row;\n }\n\n .layout.vertical {\n -ms-flex-direction: column;\n -webkit-flex-direction: column;\n flex-direction: column;\n }\n\n .layout.wrap {\n -ms-flex-wrap: wrap;\n -webkit-flex-wrap: wrap;\n flex-wrap: wrap;\n }\n\n .layout.no-wrap {\n -ms-flex-wrap: nowrap;\n -webkit-flex-wrap: nowrap;\n flex-wrap: nowrap;\n }\n\n .layout.center,\n .layout.center-center {\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n }\n\n .layout.center-justified,\n .layout.center-center {\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n }\n\n .flex {\n -ms-flex: 1 1 0.000000001px;\n -webkit-flex: 1;\n flex: 1;\n -webkit-flex-basis: 0.000000001px;\n flex-basis: 0.000000001px;\n }\n\n .flex-auto {\n -ms-flex: 1 1 auto;\n -webkit-flex: 1 1 auto;\n flex: 1 1 auto;\n }\n\n .flex-none {\n -ms-flex: none;\n -webkit-flex: none;\n flex: none;\n }\n </style>\n </template>\n</dom-module>\n/* Basic flexbox reverse styles */\n<dom-module id="iron-flex-reverse">\n <template>\n <style>\n .layout.horizontal-reverse,\n .layout.vertical-reverse {\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n }\n\n .layout.horizontal-reverse {\n -ms-flex-direction: row-reverse;\n -webkit-flex-direction: row-reverse;\n flex-direction: row-reverse;\n }\n\n .layout.vertical-reverse {\n -ms-flex-direction: column-reverse;\n -webkit-flex-direction: column-reverse;\n flex-direction: column-reverse;\n }\n\n .layout.wrap-reverse {\n -ms-flex-wrap: wrap-reverse;\n -webkit-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n }\n </style>\n </template>\n</dom-module>\n/* Flexbox alignment */\n<dom-module id="iron-flex-alignment">\n <template>\n <style>\n /**\n * Alignment in cross axis.\n */\n .layout.start {\n -ms-flex-align: start;\n -webkit-align-items: flex-start;\n align-items: flex-start;\n }\n\n .layout.center,\n .layout.center-center {\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n }\n\n .layout.end {\n -ms-flex-align: end;\n -webkit-align-items: flex-end;\n align-items: flex-end;\n }\n\n .layout.baseline {\n -ms-flex-align: baseline;\n -webkit-align-items: baseline;\n align-items: baseline;\n }\n\n /**\n * Alignment in main axis.\n */\n .layout.start-justified {\n -ms-flex-pack: start;\n -webkit-justify-content: flex-start;\n justify-content: flex-start;\n }\n\n .layout.center-justified,\n .layout.center-center {\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n }\n\n .layout.end-justified {\n -ms-flex-pack: end;\n -webkit-justify-content: flex-end;\n justify-content: flex-end;\n }\n\n .layout.around-justified {\n -ms-flex-pack: distribute;\n -webkit-justify-content: space-around;\n justify-content: space-around;\n }\n\n .layout.justified {\n -ms-flex-pack: justify;\n -webkit-justify-content: space-between;\n justify-content: space-between;\n }\n\n /**\n * Self alignment.\n */\n .self-start {\n -ms-align-self: flex-start;\n -webkit-align-self: flex-start;\n align-self: flex-start;\n }\n\n .self-center {\n -ms-align-self: center;\n -webkit-align-self: center;\n align-self: center;\n }\n\n .self-end {\n -ms-align-self: flex-end;\n -webkit-align-self: flex-end;\n align-self: flex-end;\n }\n\n .self-stretch {\n -ms-align-self: stretch;\n -webkit-align-self: stretch;\n align-self: stretch;\n }\n\n .self-baseline {\n -ms-align-self: baseline;\n -webkit-align-self: baseline;\n align-self: baseline;\n }\n\n /**\n * multi-line alignment in main axis.\n */\n .layout.start-aligned {\n -ms-flex-line-pack: start; /* IE10 */\n -ms-align-content: flex-start;\n -webkit-align-content: flex-start;\n align-content: flex-start;\n }\n\n .layout.end-aligned {\n -ms-flex-line-pack: end; /* IE10 */\n -ms-align-content: flex-end;\n -webkit-align-content: flex-end;\n align-content: flex-end;\n }\n\n .layout.center-aligned {\n -ms-flex-line-pack: center; /* IE10 */\n -ms-align-content: center;\n -webkit-align-content: center;\n align-content: center;\n }\n\n .layout.between-aligned {\n -ms-flex-line-pack: justify; /* IE10 */\n -ms-align-content: space-between;\n -webkit-align-content: space-between;\n align-content: space-between;\n }\n\n .layout.around-aligned {\n -ms-flex-line-pack: distribute; /* IE10 */\n -ms-align-content: space-around;\n -webkit-align-content: space-around;\n align-content: space-around;\n }\n </style>\n </template>\n</dom-module>\n/* Non-flexbox positioning helper styles */\n<dom-module id="iron-flex-factors">\n <template>\n <style>\n .flex,\n .flex-1 {\n -ms-flex: 1 1 0.000000001px;\n -webkit-flex: 1;\n flex: 1;\n -webkit-flex-basis: 0.000000001px;\n flex-basis: 0.000000001px;\n }\n\n .flex-2 {\n -ms-flex: 2;\n -webkit-flex: 2;\n flex: 2;\n }\n\n .flex-3 {\n -ms-flex: 3;\n -webkit-flex: 3;\n flex: 3;\n }\n\n .flex-4 {\n -ms-flex: 4;\n -webkit-flex: 4;\n flex: 4;\n }\n\n .flex-5 {\n -ms-flex: 5;\n -webkit-flex: 5;\n flex: 5;\n }\n\n .flex-6 {\n -ms-flex: 6;\n -webkit-flex: 6;\n flex: 6;\n }\n\n .flex-7 {\n -ms-flex: 7;\n -webkit-flex: 7;\n flex: 7;\n }\n\n .flex-8 {\n -ms-flex: 8;\n -webkit-flex: 8;\n flex: 8;\n }\n\n .flex-9 {\n -ms-flex: 9;\n -webkit-flex: 9;\n flex: 9;\n }\n\n .flex-10 {\n -ms-flex: 10;\n -webkit-flex: 10;\n flex: 10;\n }\n\n .flex-11 {\n -ms-flex: 11;\n -webkit-flex: 11;\n flex: 11;\n }\n\n .flex-12 {\n -ms-flex: 12;\n -webkit-flex: 12;\n flex: 12;\n }\n </style>\n </template>\n</dom-module>\n<dom-module id="iron-positioning">\n <template>\n <style>\n .block {\n display: block;\n }\n\n [hidden] {\n display: none !important;\n }\n\n .invisible {\n visibility: hidden !important;\n }\n\n .relative {\n position: relative;\n }\n\n .fit {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n\n body.fullbleed {\n margin: 0;\n height: 100vh;\n }\n\n .scroll {\n -webkit-overflow-scrolling: touch;\n overflow: auto;\n }\n\n /* fixed position */\n .fixed-bottom,\n .fixed-left,\n .fixed-right,\n .fixed-top {\n position: fixed;\n }\n\n .fixed-top {\n top: 0;\n left: 0;\n right: 0;\n }\n\n .fixed-right {\n top: 0;\n right: 0;\n bottom: 0;\n }\n\n .fixed-bottom {\n right: 0;\n bottom: 0;\n left: 0;\n }\n\n .fixed-left {\n top: 0;\n bottom: 0;\n left: 0;\n }\n </style>\n </template>\n</dom-module>\n']);return i=function(){return n},n}var o=(0,t(50856).d)(i());o.setAttribute("style","display: none;"),document.head.appendChild(o.content)},24381:function(n,e,t){"use strict";t.d(e,{Q:function(){return i}});var i=function(n,e){return n?e.map((function(e){return e in n.attributes?"has-"+e:""})).filter((function(n){return""!==n})).join(" "):""}},9146:function(n,e,t){"use strict";t.d(e,{d:function(){return o}});var i=t(40095),o=function(n,e){return n&&n.attributes.supported_features?Object.keys(e).map((function(t){return(0,i.e)(n,Number(t))?e[t]:""})).filter((function(n){return""!==n})).join(" "):""}},37466:function(n,e,t){"use strict";t(21157),t(10983);var i=t(50856),o=t(28426),r=t(56007),l=t(44817);function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(){var n=function(n,e){e||(e=n.slice(0));return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}(['\n <style include="iron-flex"></style>\n <style>\n :host {\n white-space: nowrap;\n }\n [invisible] {\n visibility: hidden !important;\n }\n </style>\n <ha-icon-button\n aria-label="Open cover tilt"\n icon="hass:arrow-top-right"\n on-click="onOpenTiltTap"\n title="Open tilt"\n invisible$="[[!entityObj.supportsOpenTilt]]"\n disabled="[[computeOpenDisabled(stateObj, entityObj)]]"\n ></ha-icon-button>\n <ha-icon-button\n aria-label="Stop cover from moving"\n icon="hass:stop"\n on-click="onStopTiltTap"\n invisible$="[[!entityObj.supportsStopTilt]]"\n disabled="[[computeStopDisabled(stateObj)]]"\n title="Stop tilt"\n ></ha-icon-button>\n <ha-icon-button\n aria-label="Close cover tilt"\n icon="hass:arrow-bottom-left"\n on-click="onCloseTiltTap"\n title="Close tilt"\n invisible$="[[!entityObj.supportsCloseTilt]]"\n disabled="[[computeClosedDisabled(stateObj, entityObj)]]"\n ></ha-icon-button>\n ']);return a=function(){return n},n}function c(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function u(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function f(n,e){return(f=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function p(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,i=y(n);if(e){var o=y(this).constructor;t=Reflect.construct(i,arguments,o)}else t=i.apply(this,arguments);return b(this,t)}}function b(n,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function y(n){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var d=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&f(n,e)}(b,n);var e,t,o,s=p(b);function b(){return c(this,b),s.apply(this,arguments)}return e=b,o=[{key:"template",get:function(){return(0,i.d)(a())}},{key:"properties",get:function(){return{hass:{type:Object},stateObj:{type:Object},entityObj:{type:Object,computed:"computeEntityObj(hass, stateObj)"}}}}],(t=[{key:"computeEntityObj",value:function(n,e){return new l.ZP(n,e)}},{key:"computeStopDisabled",value:function(n){return n.state===r.nZ}},{key:"computeOpenDisabled",value:function(n,e){if(n.state===r.nZ)return!0;var t=!0===n.attributes.assumed_state;return e.isFullyOpenTilt&&!t}},{key:"computeClosedDisabled",value:function(n,e){if(n.state===r.nZ)return!0;var t=!0===n.attributes.assumed_state;return e.isFullyClosedTilt&&!t}},{key:"onOpenTiltTap",value:function(n){n.stopPropagation(),this.entityObj.openCoverTilt()}},{key:"onCloseTiltTap",value:function(n){n.stopPropagation(),this.entityObj.closeCoverTilt()}},{key:"onStopTiltTap",value:function(n){n.stopPropagation(),this.entityObj.stopCoverTilt()}}])&&u(e.prototype,t),o&&u(e,o),b}(o.H3);customElements.define("ha-cover-tilt-controls",d)},73139:function(n,e,t){"use strict";var i=t(50856),o=t(28426);t(16509),t(46998);function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(){var n=function(n,e){e||(e=n.slice(0));return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}(['\n <style>\n :host {\n display: block;\n border-radius: 4px;\n }\n\n .title {\n margin-bottom: 8px;\n color: var(--primary-text-color);\n }\n\n .slider-container {\n display: flex;\n }\n\n ha-icon {\n margin-top: 4px;\n color: var(--secondary-text-color);\n }\n\n ha-slider {\n flex-grow: 1;\n background-image: var(--ha-slider-background);\n }\n </style>\n\n <div class="title">[[caption]]</div>\n <div class="extra-container"><slot name="extra"></slot></div>\n <div class="slider-container">\n <ha-icon icon="[[icon]]" hidden$="[[!icon]]"></ha-icon>\n <ha-slider\n min="[[min]]"\n max="[[max]]"\n step="[[step]]"\n pin="[[pin]]"\n disabled="[[disabled]]"\n value="{{value}}"\n ></ha-slider>\n </div>\n ']);return l=function(){return n},n}function s(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function a(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function c(n,e){return(c=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function u(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,i=p(n);if(e){var o=p(this).constructor;t=Reflect.construct(i,arguments,o)}else t=i.apply(this,arguments);return f(this,t)}}function f(n,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function p(n){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var b=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&c(n,e)}(f,n);var e,t,o,r=u(f);function f(){return s(this,f),r.apply(this,arguments)}return e=f,o=[{key:"template",get:function(){return(0,i.d)(l())}},{key:"properties",get:function(){return{caption:String,disabled:Boolean,min:Number,max:Number,pin:Boolean,step:Number,extra:{type:Boolean,value:!1},ignoreBarTouch:{type:Boolean,value:!0},icon:{type:String,value:""},value:{type:Number,notify:!0}}}}],(t=null)&&a(e.prototype,t),o&&a(e,o),f}(o.H3);customElements.define("ha-labeled-slider",b)},30681:function(n,e,t){"use strict";t.r(e);t(21157);var i=t(50856),o=t(28426),r=t(24381),l=t(9146),s=(t(37466),t(73139),t(1265)),a=t(44817);function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(){var n=function(n,e){e||(e=n.slice(0));return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}(['\n <style include="iron-flex"></style>\n <style>\n .current_position,\n .tilt {\n max-height: 0px;\n overflow: hidden;\n }\n\n .has-set_position .current_position,\n .has-current_position .current_position,\n .has-set_tilt_position .tilt,\n .has-current_tilt_position .tilt {\n max-height: 208px;\n }\n\n [invisible] {\n visibility: hidden !important;\n }\n </style>\n <div class$="[[computeClassNames(stateObj)]]">\n <div class="current_position">\n <ha-labeled-slider\n caption="[[localize(\'ui.card.cover.position\')]]"\n pin=""\n value="{{coverPositionSliderValue}}"\n disabled="[[!entityObj.supportsSetPosition]]"\n on-change="coverPositionSliderChanged"\n ></ha-labeled-slider>\n </div>\n\n <div class="tilt">\n <ha-labeled-slider\n caption="[[localize(\'ui.card.cover.tilt_position\')]]"\n pin=""\n extra=""\n value="{{coverTiltPositionSliderValue}}"\n disabled="[[!entityObj.supportsSetTiltPosition]]"\n on-change="coverTiltPositionSliderChanged"\n >\n <ha-cover-tilt-controls\n slot="extra"\n hidden$="[[entityObj.isTiltOnly]]"\n hass="[[hass]]"\n state-obj="[[stateObj]]"\n ></ha-cover-tilt-controls>\n </ha-labeled-slider>\n </div>\n </div>\n ']);return u=function(){return n},n}function f(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function b(n,e){return(b=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function y(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,i=m(n);if(e){var o=m(this).constructor;t=Reflect.construct(i,arguments,o)}else t=i.apply(this,arguments);return d(this,t)}}function d(n,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function m(n){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var v={4:"has-set_position",128:"has-set_tilt_position"},x=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&b(n,e)}(c,n);var e,t,o,s=y(c);function c(){return f(this,c),s.apply(this,arguments)}return e=c,o=[{key:"template",get:function(){return(0,i.d)(u())}},{key:"properties",get:function(){return{hass:Object,stateObj:{type:Object,observer:"stateObjChanged"},entityObj:{type:Object,computed:"computeEntityObj(hass, stateObj)"},coverPositionSliderValue:Number,coverTiltPositionSliderValue:Number}}}],(t=[{key:"computeEntityObj",value:function(n,e){return new a.ZP(n,e)}},{key:"stateObjChanged",value:function(n){n&&this.setProperties({coverPositionSliderValue:n.attributes.current_position,coverTiltPositionSliderValue:n.attributes.current_tilt_position})}},{key:"computeClassNames",value:function(n){return[(0,r.Q)(n,["current_position","current_tilt_position"]),(0,l.d)(n,v)].join(" ")}},{key:"coverPositionSliderChanged",value:function(n){this.entityObj.setCoverPosition(n.target.value)}},{key:"coverTiltPositionSliderChanged",value:function(n){this.entityObj.setCoverTiltPosition(n.target.value)}}])&&p(e.prototype,t),o&&p(e,o),c}((0,s.Z)(o.H3));customElements.define("more-info-cover",x)},44817:function(n,e,t){"use strict";t.d(e,{ZP:function(){return r},pu:function(){return l}});var i=t(40095);function o(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}var r=function(){function n(e,t){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.hass=e,this.stateObj=t,this._attr=t.attributes,this._feat=this._attr.supported_features}var e,t,r;return e=n,(t=[{key:"openCover",value:function(){this.callService("open_cover")}},{key:"closeCover",value:function(){this.callService("close_cover")}},{key:"stopCover",value:function(){this.callService("stop_cover")}},{key:"openCoverTilt",value:function(){this.callService("open_cover_tilt")}},{key:"closeCoverTilt",value:function(){this.callService("close_cover_tilt")}},{key:"stopCoverTilt",value:function(){this.callService("stop_cover_tilt")}},{key:"setCoverPosition",value:function(n){this.callService("set_cover_position",{position:n})}},{key:"setCoverTiltPosition",value:function(n){this.callService("set_cover_tilt_position",{tilt_position:n})}},{key:"callService",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.entity_id=this.stateObj.entity_id,this.hass.callService("cover",n,e)}},{key:"isFullyOpen",get:function(){return void 0!==this._attr.current_position?100===this._attr.current_position:"open"===this.stateObj.state}},{key:"isFullyClosed",get:function(){return void 0!==this._attr.current_position?0===this._attr.current_position:"closed"===this.stateObj.state}},{key:"isFullyOpenTilt",get:function(){return 100===this._attr.current_tilt_position}},{key:"isFullyClosedTilt",get:function(){return 0===this._attr.current_tilt_position}},{key:"isOpening",get:function(){return"opening"===this.stateObj.state}},{key:"isClosing",get:function(){return"closing"===this.stateObj.state}},{key:"supportsOpen",get:function(){return(0,i.e)(this.stateObj,1)}},{key:"supportsClose",get:function(){return(0,i.e)(this.stateObj,2)}},{key:"supportsSetPosition",get:function(){return(0,i.e)(this.stateObj,4)}},{key:"supportsStop",get:function(){return(0,i.e)(this.stateObj,8)}},{key:"supportsOpenTilt",get:function(){return(0,i.e)(this.stateObj,16)}},{key:"supportsCloseTilt",get:function(){return(0,i.e)(this.stateObj,32)}},{key:"supportsStopTilt",get:function(){return(0,i.e)(this.stateObj,64)}},{key:"supportsSetTiltPosition",get:function(){return(0,i.e)(this.stateObj,128)}},{key:"isTiltOnly",get:function(){var n=this.supportsOpen||this.supportsClose||this.supportsStop;return(this.supportsOpenTilt||this.supportsCloseTilt||this.supportsStopTilt)&&!n}}])&&o(e.prototype,t),r&&o(e,r),n}();function l(n){var e=function(n){return(0,i.e)(n,1)}(n)||function(n){return(0,i.e)(n,2)}(n)||function(n){return(0,i.e)(n,8)}(n);return(function(n){return(0,i.e)(n,16)}(n)||function(n){return(0,i.e)(n,32)}(n)||function(n){return(0,i.e)(n,64)}(n))&&!e}}}]); //# sourceMappingURL=chunk.0c6dd4e99b0628685059.js.map