export const __rspack_esm_id=16443;export const __rspack_esm_ids=[16443];export const __webpack_modules__={24438(t,e,a){a.a(t,async function(t,i){try{a.r(e);var s=a(15697),r=a(358),o=a(57527),c=a(79224),n=a(49938),l=a(98747),d=a(1461),p=a(80189),_=a(46602),h=a(96682),b=t([l,d]);[l,d]=b.then?(await b)():b;class u extends o.WF{render(){return this._localize&&this.stateObj?o.qy` <hr/> <div class="flex"> <div>${this._localize("ui.card.automation.last_triggered")}:</div> <ha-relative-time .datetime=${this.stateObj.attributes.last_triggered} capitalize></ha-relative-time> </div> <div class="actions"> <ha-button appearance="plain" size="s" @click=${this._runActions} .disabled=${this.stateObj.state===h.Hh}> ${this._localize("ui.card.automation.trigger")} </ha-button> </div> `:o.s6}_runActions(){(0,_.lB)(this._api,this.stateObj.entity_id)}}u.styles=o.AH`.flex{justify-content:space-between;display:flex}.actions{margin:var(--ha-space-2) 0;flex-wrap:wrap;justify-content:center;display:flex}hr{border-color:var(--divider-color);margin:var(--ha-space-4) 0;border-bottom:none}`,(0,s.Cg)([(0,c.MZ)({attribute:!1})],u.prototype,"stateObj",void 0),(0,s.Cg)([(0,c.wk)(),(0,n.IW)()],u.prototype,"_localize",void 0),(0,s.Cg)([(0,c.wk)(),(0,r.Fg)({context:p.Ie,subscribe:!0})],u.prototype,"_api",void 0),u=(0,s.Cg)([(0,c.EM)("more-info-automation")],u),i()}catch(t){i(t)}})}};
//# sourceMappingURL=16443.84bbe062a3e197b9.js.map