export const __rspack_esm_id=47160;export const __rspack_esm_ids=[47160];export const __webpack_modules__={35787(e,t,a){a.a(e,async function(e,n){try{a.r(t);var o=a(15697),i=a(57527),l=a(79224),c=a(49588),s=a(148),r=a(55682),_=a(87226),h=a(26041),u=e([r,_]);[r,_]=u.then?(await u)():u;const m="M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M11,5A4,4 0 0,1 15,9C15,10.5 14.2,11.77 13,12.46V11.24C13.61,10.69 14,9.89 14,9A3,3 0 0,0 11,6A3,3 0 0,0 8,9C8,9.89 8.39,10.69 9,11.24V12.46C7.8,11.77 7,10.5 7,9A4,4 0 0,1 11,5Z",d=(0,c.Ik)({type:(0,c.eu)("state-label"),entity:(0,c.lq)((0,c.Yj)()),attribute:(0,c.lq)((0,c.Yj)()),prefix:(0,c.lq)((0,c.Yj)()),suffix:(0,c.lq)((0,c.Yj)()),style:(0,c.lq)((0,c.bz)()),title:(0,c.lq)((0,c.Yj)()),tap_action:(0,c.lq)(h.kn),hold_action:(0,c.lq)(h.kn),double_tap_action:(0,c.lq)(h.kn)}),p=[{name:"entity",required:!0,selector:{entity:{}}},{name:"attribute",selector:{attribute:{}},context:{filter_entity:"entity"}},{name:"prefix",selector:{text:{}}},{name:"suffix",selector:{text:{}}},{name:"title",selector:{text:{}}},{name:"interactions",type:"expandable",flatten:!0,iconPath:m,schema:[{name:"tap_action",selector:{ui_action:{default_action:"more-info"}},context:_.Tq},{name:"hold_action",selector:{ui_action:{default_action:"more-info"}},context:_.Tq},{name:"",type:"optional_actions",flatten:!0,schema:[{name:"double_tap_action",selector:{ui_action:{default_action:"none"}},context:_.Tq}]}]},{name:"style",selector:{object:{}}}];class f extends i.WF{setConfig(e){(0,c.vA)(e,d),this._config=e}render(){return this.hass&&this._config?i.qy` <ha-form .hass=${this.hass} .data=${this._config} .schema=${p} .computeLabel=${this._computeLabelCallback} @value-changed=${this._valueChanged}></ha-form> `:i.s6}_valueChanged(e){(0,s.r)(this,"config-changed",{config:e.detail.value})}constructor(...e){super(...e),this._computeLabelCallback=e=>this.hass.localize(`ui.panel.lovelace.editor.card.generic.${e.name}`)||this.hass.localize(`ui.panel.lovelace.editor.elements.${e.name}`)||e.name}}(0,o.Cg)([(0,l.MZ)({attribute:!1})],f.prototype,"hass",void 0),(0,o.Cg)([(0,l.wk)()],f.prototype,"_config",void 0),f=(0,o.Cg)([(0,l.EM)("hui-state-label-element-editor")],f),a.d(t,{HuiStateLabelElementEditor:()=>f}),n()}catch(e){n(e)}})}};
//# sourceMappingURL=47160.d279890766650534.js.map