export const __rspack_esm_id=45723;export const __rspack_esm_ids=[45723];export const __webpack_modules__={32251(e,t,o){o.d(t,{},{B4:(e,t)=>({...e,customize:void 0!==e[t]}),KF:({field:e,customize:t,options:o})=>[{name:"customize",selector:{boolean:{}}},...t?[{name:e,selector:{select:{mode:"list",reorder:!0,multiple:!0,options:o}}}]:[]],fi:(e,t,o)=>{const{customize:s,...a}=e,i=a;return s&&!i[t]?i[t]=[...o]:s||delete i[t],i}})},23286(e,t,o){o.a(e,async function(e,s){try{o.r(t);o(18111),o(61701);var a=o(15697),i=o(57527),c=o(79224),n=o(90789),r=o(148),l=o(55682),u=o(27556),h=o(32251),d=e([l]);l=(d.then?(await d)():d)[0];class p extends i.WF{setConfig(e){this._config=e}render(){if(!this.hass||!this._config)return i.s6;const e=(0,h.B4)(this._config,"actions"),t=this._schema(e.customize);return i.qy` <ha-form .hass=${this.hass} .data=${e} .schema=${t} .computeLabel=${this._computeLabelCallback} @value-changed=${this._valueChanged}></ha-form> `}_valueChanged(e){const t=(0,h.fi)(e.detail.value,"actions",u.HA);(0,r.r)(this,"config-changed",{config:t})}constructor(...e){super(...e),this._schema=(0,n.A)(e=>(0,h.KF)({field:"actions",customize:e,options:u.HA.map(e=>({value:e,label:this.hass.localize(`ui.panel.lovelace.editor.features.types.counter-actions.actions_list.${e}`)}))})),this._computeLabelCallback=e=>this.hass.localize(`ui.panel.lovelace.editor.features.types.counter-actions.${e.name}`)}}(0,a.Cg)([(0,c.MZ)({attribute:!1})],p.prototype,"hass",void 0),(0,a.Cg)([(0,c.MZ)({attribute:!1})],p.prototype,"context",void 0),(0,a.Cg)([(0,c.wk)()],p.prototype,"_config",void 0),p=(0,a.Cg)([(0,c.EM)("hui-counter-actions-card-feature-editor")],p),o.d(t,{HuiCounterActionsCardFeatureEditor:()=>p}),s()}catch(e){s(e)}})}};
//# sourceMappingURL=45723.70adc49560cef2a0.js.map