System.register(["./p-dde863a3.system.js","./p-1095b4e8.system.js","./p-ed9e4708.system.js"],function(e){"use strict";var t,s,i,r,h,a;return{setters:[function(e){t=e.r;s=e.c;i=e.h;r=e.g},function(){},function(e){h=e.C;a=e.D}],execute:function(){var l=function(){function e(e){t(this,e);this.fullscreenClass="iframe-holder-fullscreen";this.width="100%";this.height="420px";this.fullscreen=false;this.fullscreenMargin="0 0 0 0";this.iframeLoaded=s(this,"iframeLoaded",7)}e.prototype.onIframeLoaded=function(){this.iframeLoaded.emit({src:this.src})};e.prototype.componentDidLoad=function(){this.postRender()};e.prototype.componentDidUpdate=function(){this.postRender()};e.prototype.postRender=function(){var e=this;var t=this.el.getElementsByClassName("ema-iframe-iframe")[0];var s=this.el.getElementsByClassName("ema-iframe-holder")[0];if(!this.fullscreen){h.setVar("width",this.width,this.el);h.setVar("height",this.height,this.el);t.setAttribute("width",h.getVar("width",this.el));t.setAttribute("height",h.getVar("height",this.el))}if(this.fullscreen){var i=this.fullscreenMargin.split(" ");if(i.length&&i.length===1){h.setVar("top",i[0],this.el);h.setVar("right",i[0],this.el);h.setVar("bottom",i[0],this.el);h.setVar("left",i[0],this.el)}if(i.length&&i.length===2){h.setVar("top",i[0],this.el);h.setVar("right",i[1],this.el);h.setVar("bottom",i[0],this.el);h.setVar("left",i[1],this.el)}if(i.length&&i.length===3){h.setVar("top",i[0],this.el);h.setVar("right",i[1],this.el);h.setVar("bottom",i[2],this.el)}if(i.length&&i.length===4){h.setVar("top",i[0],this.el);h.setVar("right",i[1],this.el);h.setVar("bottom",i[2],this.el);h.setVar("left",i[3],this.el)}a.addClass(s,this.fullscreenClass)}if(this.zIndex)h.setVar("zIndex",this.zIndex,this.el);t.onload=function(){h.setVar("visibility","visible",e.el);e.iframeLoaded.emit({src:e.src,el:e.el})}};e.prototype.render=function(){return i("div",{class:"ema-iframe-holder "},i("iframe",{src:this.src,frameborder:"0",class:"ema-iframe-iframe"}))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:true,configurable:true});Object.defineProperty(e,"style",{get:function(){return":root{--ema-color:#343a40;--ema-primary:#007bff;--ema-secondary:#6c757d;--ema-success:#28a745;--ema-info:#17a2b8;--ema-warning:#ffc107;--ema-danger:#dc3545;--ema-light:#f8f9fa;--ema-dark:#343a40;--ema-background:#fff;--ema-background-diap:rgba(29,29,29,0.97);--ema-border-color:#c5c9cd;--ema-border:1px solid #c5c9cd;--ema-border-radius:3px 3px 3px 3px;--ema-box-shadow:1px 1px 10px 1px #ccc;--ema-margin:0.25rem;--ema-margin-sm:0.5rem;--ema-margin-md:1rem;--ema-margin-lg:1.5rem;--ema-margin-xl:2rem;--ema-padding:0.25rem;--ema-padding-sm:0.5rem;--ema-padding-md:1rem;--ema-padding-lg:1.5rem;--ema-padding-xl:2rem;--ema-gray-100:#f8f9fa;--ema-gray-200:#e9ecef;--ema-gray-300:#dee2e6;--ema-gray-400:#ced4da;--ema-gray-500:#adb5bd;--ema-gray-600:#868e96;--ema-gray-700:#495057;--ema-gray-800:#343a40;--ema-gray-900:#212529}ema-iframe{--top:0;--right:0;--bottom:0;--left:0;--visibility:hidden}ema-iframe .ema-iframe-holder{z-index:var(--zIndex);width:var(--width);height:var(--height);visibility:var(--visibility,\"visible\")}ema-iframe .ema-iframe-holder iframe{height:100%;width:100%}ema-iframe .iframe-holder-fullscreen{position:fixed;top:var(--top);right:var(--right);bottom:var(--bottom);left:var(--left);-webkit-overflow-scrolling:touch;overflow-y:scroll}ema-iframe .iframe-holder-fullscreen iframe{height:100%;width:100%}"},enumerable:true,configurable:true});return e}();e("ema_iframe",l)}}});