(this.webpackJsonpfrontend=this.webpackJsonpfrontend||[]).push([[0],{44:function(t,e,n){},45:function(t,e,n){},52:function(t,e,n){"use strict";n.r(e);var c=n(6),i=n.n(c),r=n(35),a=n.n(r),o=(n(44),n(45),n(36)),s=n(10),d=n(4),u=n(5),l=n(7),b=n(8),h=n(24),j=n(9),x=function(){var t=new h.a("oidc.criipto");t.setCustomParameters({acr_values:"urn:grn:authn:dk:nemid:poces"});var e=Object(h.b)();return Object(j.jsx)("div",{children:Object(j.jsx)("div",{className:"text-4xl font-medium m-auto flex-center rounded-lg py-3 text-center cursor-pointer text-white bg-red-500 w-48",onClick:function(){return Object(h.d)(e,t).then((function(t){console.log(JSON.stringify(t))})).catch((function(t){console.log(t)}))},children:"Sign in"})})},g=function(t){Object(l.a)(n,t);var e=Object(b.a)(n);function n(t){var c;return Object(d.a)(this,n),(c=e.call(this,t)).auth=Object(h.b)(),c.signOutHandler=function(){c.state.auth.signOut()},c.state={loggedIn:null!=c.auth.currentUser,auth:c.auth},c}return Object(u.a)(n,[{key:"componentDidMount",value:function(){var t=this;Object(h.c)(this.state.auth,(function(e){e?(t.setState({loggedIn:!0}),console.dir(e)):t.setState({loggedIn:!1})}))}},{key:"render",value:function(){return!0===this.state.loggedIn?Object(j.jsxs)("div",{children:[Object(j.jsx)("iframe",{title:"form",width:"1200px",height:"820px",id:"form",src:"https://3ptechdev01.decisions.com/Primary/?FlowId=1887e04e-1b85-11ec-be47-00155d64b800&&sessionid=NS-f1e6d601-3bc8-11ec-9305-6045bd8a6a5a&&ForceFormat=true&uid=".concat(this.state.auth.currentUser.uid,"&Location=TopLeft&Chrome=Off")}),Object(j.jsx)("button",{variant:"primary",className:"button text-base font-medium rounded-lg py-3 text-center cursor-pointer text-white bg-red-500 w-24",onClick:this.signOutHandler,children:"Log out"})]}):Object(j.jsx)("div",{children:Object(j.jsxs)("div",{className:"flex font-inter content-center p-12 antialiased bg-white text-gray-900 tracking-tight flex-col min-h-screen overflow-hidden",children:[Object(j.jsxs)("h1",{className:"text-5xl text-center md:text-6xl font-extrabold leading-tighter tracking-tighter mb-4 mt-8 aos-init aos-animate",children:["Validate an entire construction project in",Object(j.jsx)("br",{}),Object(j.jsx)("span",{className:"bg-clip-text text-9xl text-transparent bg-gradient-to-r text-black",children:"Minutes"})]}),Object(j.jsxs)("p",{className:"text-3xl text-center text-gray-600 mb-8 aos-init aos-animate",children:["Experience the cutting edge of BIM analysis, Create valid construction reports, ",Object(j.jsx)("br",{}),"and get near-instant feedback on your building projects."]}),Object(j.jsx)(x,{})]})})}}]),n}(i.a.Component);var f=function(){return Object(j.jsx)("div",{children:Object(j.jsx)(o.a,{children:Object(j.jsx)(s.c,{children:Object(j.jsx)(s.a,{path:"/",component:g})})})})},m=function(t){t&&t instanceof Function&&n.e(3).then(n.bind(null,53)).then((function(e){var n=e.getCLS,c=e.getFID,i=e.getFCP,r=e.getLCP,a=e.getTTFB;n(t),c(t),i(t),r(t),a(t)}))},p=n(13),O={apiKey:"AIzaSyD6s-L_gD1kUdFPREtynyZh4EwvCbe9eoU",authDomain:"buildingclassifier-298912.firebaseapp.com"};(function(){Object(p.e)(O)})(),a.a.render(Object(j.jsx)(i.a.StrictMode,{children:Object(j.jsx)(f,{})}),document.getElementById("root")),m()}},[[52,1,2]]]); //# sourceMappingURL=main.b40993de.chunk.js.map