"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[2397],{49612:function(t,o,r){r.a(t,async function(t,a){try{r.r(o);var s,e,n,i=r(28430),l=r(57567),h=r(25979),p=r(12463),c=r(16472),u=(r(28706),r(23792),r(26099),r(38781),r(47764),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721),r(15697)),f=r(57527),d=r(51209),w=r(77811),g=r(93509),v=r(6643),m=r(15977),y=t([g,v]);[g,v]=y.then?(await y)():y;var b=function(t){function o(){var t;(0,l.A)(this,o);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return(t=(0,c.A)(this,o,[].concat(a))).narrow=!1,t}return(0,p.A)(o,t),(0,h.A)(o,[{key:"render",value:function(){return"https:"===location.protocol&&"https:"!==new URL(this.panel.config.url,location.toString()).protocol?(0,f.qy)(s||(s=(0,i.A)([" <hass-error-screen .hass="," .narrow=",' error="Unable to load iframes that load websites over http:// if Home Assistant is served over https://." rootnav></hass-error-screen> '])),this.hass,this.narrow):(0,f.qy)(e||(e=(0,i.A)([" <hass-subpage .hass="," .narrow="," .header="," main-page> <iframe title="," src="," .sandbox=",' allow="fullscreen"></iframe> </hass-subpage> '])),this.hass,this.narrow,this.panel.title,(0,w.J)(null===this.panel.title?void 0:this.panel.title),this.panel.config.url,m.D)}}])}(f.WF);b.styles=(0,f.AH)(n||(n=(0,i.A)(["iframe{background-color:var(--primary-background-color);border:0;width:100%;height:100%;position:absolute}"]))),(0,u.Cg)([(0,d.MZ)({attribute:!1})],b.prototype,"hass",void 0),(0,u.Cg)([(0,d.MZ)({type:Boolean})],b.prototype,"narrow",void 0),(0,u.Cg)([(0,d.MZ)({attribute:!1})],b.prototype,"panel",void 0),b=(0,u.Cg)([(0,d.EM)("ha-panel-iframe")],b),a()}catch(A){a(A)}})},15977:function(t,o,r){r.d(o,{D:function(){return"allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts allow-modals allow-downloads"}})}}]);
//# sourceMappingURL=2397.b0ee0c195ac7ee81.js.map