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MiB,EAAQ7B,SAASc,cAAc,OACrCe,EAAMd,UAAY,QAClBc,EAAMlB,MAAMC,gBAAkB,OAAO,KAErC,MAAM,EAAQZ,SAASc,cAAc,OACrC,EAAMC,UAAY,QAElB,MAAMe,EAAM9B,SAASc,cAAc,OACnCgB,EAAIf,UAAY,MAEhB,MAAMgB,EAAa/B,SAASc,cAAc,OAC1CiB,EAAWhB,UAAY,cACvBgB,EAAWpB,MAAMqB,UAAY,SAASvB,KACtCsB,EAAWpB,MAAMsB,gBAAkB,MAEnC,MAAMC,EAA4BlC,SAASc,cAAc,UAEzDoB,EAAOC,IAAM,aACbD,EAAOnB,UAAY,oBAEnBmB,EAAOE,YAAc,IACrBF,EAAOvB,MAAM0B,gBAAkB,QAC/BH,EAAOvB,MAAM2B,MAAQ,OACrBJ,EAAOvB,MAAM4B,OAAS,OACtBL,EAAOvB,MAAM6B,aAAe,MAE5BV,EAAIW,OAAOP,GACX,EAAMO,OAAOX,GACb/B,EAAM0C,OAAOd,GACbA,EAAYc,OAAOb,GACnBD,EAAYc,OAAOZ,GAEnBhB,EAAa4B,OAAOV,GACpBA,EAAWU,OAAO,GAClBV,EAAWU,OAAOzB,GAClBH,EAAa4B,OAAOxB,GAEpBA,EAAOwB,OAAOtB,GACdF,EAAOwB,OAAOpB,GACdJ,EAAOwB,OAAOjB,GACdP,EAAOwB,OAAOf,GACdT,EAAOwB,OAAOhB,GAEd1B,EAAM0C,OAAO5B,E","sources":["webpack://com.senseven.leaksense/webpack/bootstrap","webpack://com.senseven.leaksense/webpack/runtime/publicPath","webpack://com.senseven.leaksense/./src/browser.ts"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","__webpack_require__.p = \"\";","import Logo from 'img/pdf_logo.png'\nimport DemoPhoneBackground2 from 'img/demo_phone_background.png'\nimport DemoPhoneBackgroundBg from 'img/demo_phone_background_bg.jpg'\nimport LinkedInIcon from 'img/icons/linkedin_2.png'\nimport MailIcon from 'img/icons/mail_2.png'\n\nconst body = document.getElementById('body')\n\n// const demoPhoneBackgroundWidth = 1107\n// const demoPhoneBackgroundHeight = 680\nconst demoPhoneBackgroundWidth = 1154\nconst demoPhoneBackgroundHeight = 709 + 64 + 60 + 10 // 64 footer, 60 top, 10 spazi\nconst scaleWidth = Math.max(window.innerWidth / demoPhoneBackgroundWidth, 0.8)\nconst scaleHeight = Math.max(window.innerHeight / demoPhoneBackgroundHeight, 0.8)\nconst scale = Math.min(1.2, scaleWidth, scaleHeight)\nbody!.style.backgroundImage = `url(${DemoPhoneBackgroundBg})`\n\nconst frameWrapper = document.createElement('div')\nframeWrapper.className = 'frame-wrapper'\n// frameWrapper.style.transform = `scale(${scale})`\n// frameWrapper.style.transformOrigin = 'top'\n\nconst demoBg = document.createElement('div')\ndemoBg.className = 'demo-background'\ndemoBg.style.backgroundImage = `url(${DemoPhoneBackground2})`\n\nconst footer = document.createElement('div')\nfooter.className = 'footer'\nfooter.style.top = `${709 * scale}px`\n\nconst footerText = document.createElement('div')\nfooterText.className = 'footer-text'\nfooterText.innerHTML = 'Senseven GmbH | '\n\nconst footerText2 = document.createElement('a')\nfooterText2.href = 'https://www.senseven.ai/imprint'\nfooterText2.target = '_blank'\nfooterText2.className = 'footer-text2'\nfooterText2.innerHTML = ' Imprint'\n\nconst mailIcon = document.createElement('a')\nmailIcon.href = 'mailto:office@senseven.ai'\nmailIcon.className = 'mail-icon'\nmailIcon.style.backgroundImage = `url(${MailIcon})`\n\nconst appointmentButton = document.createElement('a')\nappointmentButton.href = 'https://meetings.hubspot.com/berezovsky'\nappointmentButton.target = '_blank'\nappointmentButton.className = 'appointment-button'\nappointmentButton.innerHTML = 'Book a meeting'\n\nconst linkedInIcon = document.createElement('a')\nlinkedInIcon.href = 'https://www.linkedin.com/company/sensven/'\nlinkedInIcon.target = '_blank'\nlinkedInIcon.className = 'linkedin-icon'\nlinkedInIcon.style.backgroundImage = `url(${LinkedInIcon})`\n\nconst logoWrapper = document.createElement('div')\nlogoWrapper.className = 'logo-wrapper'\n\nconst logo = document.createElement('div')\nlogo.className = 'logo'\nlogo.style.backgroundImage = `url(${Logo})`\n\nconst title = document.createElement('div')\ntitle.className = 'title'\ntitle.style.backgroundImage = `url(${Logo})`\n\nconst frame = document.createElement('div')\nframe.className = 'frame'\n\nconst app = document.createElement('div')\napp.className = 'app'\n\nconst frameScale = document.createElement('div')\nframeScale.className = 'frame-scale'\nframeScale.style.transform = `scale(${scale})`\nframeScale.style.transformOrigin = 'top'\n\nconst iframe: HTMLIFrameElement = document.createElement('iframe')\n\niframe.src = './app.html'\niframe.className = 'app-iframe-hidden'\n// tslint:disable-next-line: deprecation\niframe.frameBorder = '0'\niframe.style.backgroundColor = 'white'\niframe.style.width = '100%'\niframe.style.height = '100%'\niframe.style.borderRadius = '8px'\n\napp.append(iframe)\nframe.append(app)\nbody!.append(logoWrapper)\nlogoWrapper.append(logo)\nlogoWrapper.append(title)\n\nframeWrapper.append(frameScale)\nframeScale.append(frame)\nframeScale.append(demoBg)\nframeWrapper.append(footer)\n\nfooter.append(footerText)\nfooter.append(footerText2)\nfooter.append(mailIcon)\nfooter.append(linkedInIcon)\nfooter.append(appointmentButton)\n\nbody!.append(frameWrapper)\n"],"names":["__webpack_require__","body","document","getElementById","scaleWidth","Math","max","window","innerWidth","scaleHeight","innerHeight","scale","min","style","backgroundImage","frameWrapper","createElement","className","demoBg","footer","top","footerText","innerHTML","footerText2","href","target","mailIcon","appointmentButton","linkedInIcon","logoWrapper","logo","title","app","frameScale","transform","transformOrigin","iframe","src","frameBorder","backgroundColor","width","height","borderRadius","append"],"sourceRoot":""}