export const __rspack_esm_id="21833";export const __rspack_esm_ids=["21833"];export const __webpack_modules__={976(e,a,t){t.r(a),t.d(a,{HuiIframeCardEditor:()=>_});var i=t(62826),o=t(96196),l=t(44457),r=t(63533),s=t(1087),c=(t(52763),t(84698));const n=(0,r.kp)(c.H,(0,r.Ik)({title:(0,r.lq)((0,r.Yj)()),url:(0,r.lq)((0,r.Yj)()),aspect_ratio:(0,r.lq)((0,r.Yj)()),allow_open_top_navigation:(0,r.lq)((0,r.zM)()),hide_background:(0,r.lq)((0,r.zM)())})),d=[{name:"title",selector:{text:{}}},{name:"",type:"grid",schema:[{name:"url",required:!0,selector:{text:{}}},{name:"aspect_ratio",selector:{text:{}}}]},{name:"hide_background",selector:{boolean:{}}}];class _ extends o.WF{setConfig(e){(0,r.vA)(e,n),this._config=e}render(){return this.hass&&this._config?o.qy` <ha-form .hass="${this.hass}" .data="${this._config}" .schema="${d}" .computeLabel="${this._computeLabelCallback}" .computeHelper="${this._computeHelperCallback}" @value-changed="${this._valueChanged}"></ha-form> `:o.s6}_valueChanged(e){(0,s.r)(this,"config-changed",{config:e.detail.value})}constructor(...e){super(...e),this._computeLabelCallback=e=>"hide_background"===e.name?this.hass.localize("ui.panel.lovelace.editor.card.iframe.hide_background"):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${e.name}`),this._computeHelperCallback=e=>"hide_background"===e.name?this.hass.localize("ui.panel.lovelace.editor.card.iframe.hide_background_helper"):""}}(0,i.Cg)([(0,l.MZ)({attribute:!1})],_.prototype,"hass",void 0),(0,i.Cg)([(0,l.wk)()],_.prototype,"_config",void 0),_=(0,i.Cg)([(0,l.EM)("hui-iframe-card-editor")],_)},84698(e,a,t){t.d(a,{H:()=>o});var i=t(63533);const o=(0,i.Ik)({type:(0,i.Yj)(),view_layout:(0,i.bz)(),layout_options:(0,i.bz)(),grid_options:(0,i.bz)(),visibility:(0,i.bz)(),disabled:(0,i.lq)((0,i.zM)())})}};
//# sourceMappingURL=21833.66aa3dd93db9e12d.js.map