"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["34667"],{39046:function(e,t,a){a.r(t),a.d(t,{HuiBarGaugeCardFeatureEditor:function(){return g}});var n,r=a(72153),o=a(44734),i=a(43080),u=a(69683),s=a(6454),c=(a(28706),a(40445)),h=a(96196),f=a(77845),l=a(22786),d=a(1087),g=(a(52763),function(e){function t(){var e;(0,o.A)(this,t);for(var a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];return(e=(0,u.A)(this,t,[].concat(n)))._schema=(0,l.A)(function(){return[{name:"min",default:0,selector:{number:{mode:"box"}}},{name:"max",default:100,selector:{number:{mode:"box"}}}]}),e._computeLabelCallback=function(t){return e.hass.localize("ui.panel.lovelace.editor.features.types.bar-gauge.".concat(t.name))},e}return(0,s.A)(t,e),(0,i.A)(t,[{key:"setConfig",value:function(e){this._config=e}},{key:"render",value:function(){if(!this.hass||!this._config)return h.s6;var e=this._schema();return(0,h.qy)(n||(n=(0,r.A)([' <ha-form .hass="','" .data="','" .schema="','" .computeLabel="','" @value-changed="','"></ha-form> '])),this.hass,this._config,e,this._computeLabelCallback,this._valueChanged)}},{key:"_valueChanged",value:function(e){(0,d.r)(this,"config-changed",{config:e.detail.value})}}])}(h.WF));(0,c.Cg)([(0,f.MZ)({attribute:!1})],g.prototype,"hass",void 0),(0,c.Cg)([(0,f.MZ)({attribute:!1})],g.prototype,"context",void 0),(0,c.Cg)([(0,f.wk)()],g.prototype,"_config",void 0),g=(0,c.Cg)([(0,f.EM)("hui-bar-gauge-card-feature-editor")],g)}}]);
//# sourceMappingURL=34667.2531b7345ac5ae25.js.map