"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("react-dom"),t=require("react-dom/server"),a=require("react"),i=require("@krakenjs/zoid/dist/zoid.frameworks"),n=require("@material-ui/core/styles"),o=require("../AppHeader/AppHeader.js"),d=require("../../LoadingIndicator/Loader.js"),l=require("react/jsx-runtime");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var c=s(e),u=s(r),f=s(t),m=s(a),h=p(i).create({tag:"dc-isolated-app-zoid-component",url:new URL("DevCenterIsolatedAppPage.html",window.location.origin).href,dimensions:{width:"100%",height:"100%"},prerenderTemplate:function(e){var r=e.doc,t=e.props,a=new n.ServerStyleSheets,i=f.default.renderToStaticMarkup(a.collect(l.jsxs("div",{style:{padding:12,color:"white",fontFamily:"Roboto, sans-serif"},children:[l.jsx(o.default,{app:t.app}),l.jsx("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},children:l.jsx(d.default,{})})]}))),s=r.createElement("html"),p=r.createElement("head");p.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" />';var c=r.createElement("style");c.innerHTML=a.toString(),p.appendChild(c);var u=r.createElement("body");return u.style.margin=0,u.innerHTML=i,s.appendChild(p),s.appendChild(u),s},attributes:{iframe:c.default({},"data-corva-app-iframe",!0)}}).driver("react",{React:m.default,ReactDOM:u.default});exports.APP_IFRAME_ATTRIBUTE="data-corva-app-iframe",exports.DevCenterAppZoidComponent=h;
