{"version":3,"sources":["components/Settings.js","components/PricingElement.js","components/Home.js","components/Monitoring.js","components/Profile.js","components/Navbar.js","components/Login.js","components/Register.js","components/Payment.js","App.js","serviceWorker.js","index.js"],"names":["APP_MODES","THEMES","backgroundColor","borderColor","Settings","this","app_mode","theme","API_address","price_list","month","year","paypal_mapping","PricingElement","props","selectPlan","handleSelectPlan","item","settings","Card","style","textAlign","Img","variant","src","image","Body","Title","size","Subtitle","price","safe","Text","content","Button","onClick","Component","Home","plan","history","push","bind","Fragment","Carousel","Item","className","alt","Caption","color","Container","padding","id","Row","Col","sm","lg","md","xs","process","window","open","width","href","monitoringStyle","CLOUD_STATUS","WAIT_FOR_EMAIL_VERIFICATION","WAIT_FOR_EMAIL_VERIFICATION_1","WAIT_FOR_EMAIL_VERIFICATION_3","WAIT_FOR_EMAIL_VERIFICATION_5","WAIT_FOR_EMAIL_VERIFICATION_10","FREE_TRIAL","FREE_TRIAL_ENDS_IN_3_DAYS","ACTIVE","ACTIVE_ENDS_IN_10_DAYS","ACTIVE_ENDS_IN_5_DAYS","ACTIVE_ENDS_IN_1_DAYS","STOPPED","DELETED","CLOUD_STATUS_INFO","Monitoring","pay_now_redirect","evt","location","state","email_valid","loggedIn","fluid","cols","cloud","status","indexOf","name","toUpperCase","sizeMB","activeTo","last_payment_date","margin","to","profileStyle","Profile","input_new_password","password","document","getElementById","value","setState","new_password","change_password","preventDefault","old_password","length","axios","post","user_uuid","user","UUID","md5","then","res","data","success","alert","error_message","toggle_change_password","change_password_shown","email","Form","onSubmit","Group","Label","Control","type","placeholder","required","onChange","Navigation","Navbar","collapseOnSelect","expand","fixed","Brand","userName","Toggle","aria-controls","Collapse","Nav","Link","loginStyle","Login","input_username","username","target","input_password","login","handleSuccessfulAuth","toggle_forgot_password","forgot_password_shown","forgot_password","is_logged_in","marginTop","Register","input_cloud_name","cloud_name","select_cloud_size","cloud_size","select_payment_period","payment_period","input_email","user_name","register","form","currentTarget","checkValidity","grecaptcha","ready","execute","action","token","toLowerCase","e","stopPropagation","selected_plan","payment_card_number","payment_card_cvv","autoComplete","as","defaultValue","paymentStyle","CloudRegister","checkout_button_click","dropin_instance","requestPaymentMethod","err","payload","console","log","payment_method_valid","client_nonce","nonce","input_payment_period","total_price","paypal","Buttons","layout","shape","label","createOrder","actions","order","create","purchase_units","amount","currency_code","parseInt","application_context","shipping_preference","onApprove","capture","details","period","cloud_uuid","uuid","payment_details","wait_payment_status","handleSuccessfulPayment","render","paddingTop","publicIp","require","HomePage","properties","app","App","hide_email","prefix","split","suffix","repeat","read_sesson","session","monitoring_data","user_email","user_email_valid","cloud_status","cloud_active_to","slice","cloud_last_payment_date","auth_data","sessionStorage","setItem","JSON","stringify","response_data","parse","getItem","cloud_data","Date","getFullYear","getMonth","getDate","logout","clear","addStyleToHead","createElement","innerHTML","head","appendChild","addEventListener","a","v4","IPv4","activityObject","elementType","toElement","tagName","address","currentSrc","source","timestamp","getTime","stayAtPageSeconds","timeStamp","cookie","exact","path","Payment","Boolean","hostname","match","ReactDOM","navigator","serviceWorker","registration","unregister","catch","error","message"],"mappings":"+QAAMA,EACK,QADLA,EAEU,OAGVC,EAKQ,CACNC,gBAAiB,UACjBC,YAAa,WAIfC,EAoBF,aAAc,oBACVC,KAAKC,SAAWN,EAChBK,KAAKE,MAAQN,EACbI,KAAKG,YAAcH,KAAKC,WAAWN,EAAkB,wBAAyB,8BAvBhFI,EACKK,WAAa,CAChBC,MAAM,CACF,MAAS,IACT,oBAAW,IACX,oBAAW,KAEfC,KAAK,CACD,MAAS,KACT,oBAAW,KACX,oBAAW,OAVjBP,EAcKQ,eAAiB,CAChB,MAAS,gBACT,oBAAW,gBACX,oBAAW,iBAURR,QCTAS,E,YA7BX,WAAYC,GAAO,IAAD,8BACd,4CAAMA,KAIVC,WAAa,WACT,EAAKD,MAAME,iBAAiB,EAAKF,MAAMG,OAJvC,EAAKC,SAAW,IAAId,EAFN,E,sEAUd,OACI,kBAACe,EAAA,EAAD,CAAMC,MAAO,CAAEC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D8H3C,kBAAmB2L,WACrBA,UAAUC,cAAcrH,MACrBzD,MAAK,SAAA+K,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLrG,QAAQqG,MAAMA,EAAMC,a","file":"static/js/main.f504c29b.chunk.js","sourcesContent":["const APP_MODES={\r\n DEBUG: \"DEBUG\",\r\n PRODUCTION: \"PROD\"\r\n};\r\n\r\nconst THEMES = {\r\n DARK: {\r\n backgroundColor: '#343a40',\r\n borderColor: '#343a40'\r\n },\r\n SKY_BLUE: {\r\n backgroundColor: '#2080b9',\r\n borderColor: '#2080b9'\r\n }\r\n};\r\n\r\nclass Settings{\r\n static price_list = {\r\n month:{\r\n '10240': \"2\",\r\n '‭20480‬': \"3\",\r\n '‭51200‬' :\"5\"\r\n },\r\n year:{\r\n '10240': \"22\",\r\n '‭20480‬': \"33\",\r\n '‭51200‬' :\"55\"\r\n }\r\n }\r\n\r\n static paypal_mapping = {\r\n '10240': \"7YKAZ4WDBWPKQ\",\r\n '‭20480‬': \"USK69ZDEA33MW\",\r\n '‭51200‬' :\"6FQQYS3JVZ2ZW\"\r\n }\r\n\r\n constructor(){\r\n this.app_mode = APP_MODES.PRODUCTION;\r\n this.theme = THEMES.SKY_BLUE;\r\n this.API_address = this.app_mode===APP_MODES.DEBUG ? 'http://localhost:1369': 'https://ccloud.systems/api'\r\n }\r\n};\r\n\r\nexport default Settings;","import React, { Component } from 'react';\r\nimport {Card, Button} from 'react-bootstrap';\r\nimport Settings from './Settings';\r\n\r\nclass PricingElement extends Component{\r\n constructor(props){\r\n super(props);\r\n this.settings = new Settings();\r\n }\r\n\r\n selectPlan = ()=>{\r\n this.props.handleSelectPlan(this.props.item);\r\n }\r\n\r\n render(){\r\n return (\r\n \r\n \r\n \r\n {this.props.size}\r\n
\r\n {this.props.price}\r\n
\r\n {`Ако изберете плащане за година ще спестите: ${this.props.safe}`}\r\n
\r\n {this.props.content}\r\n
\r\n \r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default PricingElement;\r\n","import React, { Component } from 'react';\r\nimport {Carousel, Container, Row, Col, Card, Button} from 'react-bootstrap';\r\nimport PricingElement from './PricingElement';\r\nimport Settings from './Settings';\r\n\r\nclass Home extends Component{\r\n constructor(props){\r\n super(props);\r\n this.handleSelectPlan = this.handleSelectPlan.bind(this);\r\n this.settings = new Settings();\r\n }\r\n\r\n handleSelectPlan = (plan) => {\r\n this.props.handleSelectPlan(plan);\r\n this.props.history.push(\"/register\");\r\n }\r\n\r\n render(){\r\n return(\r\n \r\n \r\n \r\n \r\n \r\n

Всички ваши файлове на едно място

\r\n

Всички ваши файлове на CCLOUD

\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n

Всички ваши файлове на всички ваши устройства

\r\n

Достъп до всичките ви файлове от всякъде

\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n

Само вие можедте да решите с кого да споделите вашите файлове

\r\n

Споделете фаълове с вашето семейство или колеги

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n ДЕМО АКАУНТ\r\n Пробвате CCLOUD с демо акаунт.
ПОМНЕТЕ, не качвайте важни файлове!
Демо акаунт:
Username: demo, Password: demo
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n ПРОБВАЙ БЕЗПЛАТНО!\r\n Всички наши планове предлагат 10 ДНИ БЕЗПЛАТЕН ПРОБЕН ПЕРИОД
Просто се регистрирай.
И не забравяй да потвърдиш имейл адреса си.
И след няколко минути всичко ще е готове
ДА СЕ НАСЛАТИШ НА ТВОЯ CCLOUD
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Споделяйте и коментирайте документи, изпращайте и получавайте имейли, управлявайте вашия календар и провеждайте видео разговори без изтичане на информация.\r\n \r\n\r\n \r\n

Защо CCLOUD?

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Контрол\r\n Защитавате, контролирате и следите информацията и комуникацията във вашата компания. Гарантирано съответствие с бизнес и правни изисквания. Нищо не изтича, дори и метаданни.\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n Продуктивност\r\n Бъдете продуктивни на всяка платформа, без значение дали в офиса или на път. Можете да споделяте, да работите заедно и да комуникирате извън границите на вашата организация. CCLOUD предоставя прозрачнен достъп до вашите данни на всички устройства.\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n

ПОМОЩ И ИНДИВИДУАЛНИ ПЛАНОВЕ

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n ПОМОЩ\r\n Ако срещнете проблеми или имате въпроси, не се колебайте да се свържете с нас\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n ИНДИВИДУАЛЕН ПЛАН\r\n Ако имате нужда от повече пространство или допълнителни функции, не се колебайте да се свържете с нас\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default Home;\r\n","import React, { Component } from 'react';\r\nimport { Container, Row, Col, Button, Card} from 'react-bootstrap';\r\nimport { Redirect } from 'react-router-dom';\r\nimport Settings from './Settings';\r\n\r\nconst monitoringStyle = {\r\n padding:'80px 80px 0 80px',\r\n textAlign:'center'\r\n}\r\n\r\nconst CLOUD_STATUS = {\r\n WAIT_FOR_EMAIL_VERIFICATION: \"WAIT_FOR_EMAIL_VERIFICATION\",\r\n WAIT_FOR_EMAIL_VERIFICATION_1: \"WAIT_FOR_EMAIL_VERIFICATION_1\",\r\n WAIT_FOR_EMAIL_VERIFICATION_3: \"WAIT_FOR_EMAIL_VERIFICATION_3\",\r\n WAIT_FOR_EMAIL_VERIFICATION_5: \"WAIT_FOR_EMAIL_VERIFICATION_5\",\r\n WAIT_FOR_EMAIL_VERIFICATION_10: \"WAIT_FOR_EMAIL_VERIFICATION_10\",\r\n FREE_TRIAL: \"FREE_TRIAL\", // In free trial period (10 days)\r\n FREE_TRIAL_ENDS_IN_3_DAYS: \"FREE_TRIAL_ENDS_IN_3_DAYS\",\r\n ACTIVE: \"ACTIVE\", // Claud is paied and active\r\n ACTIVE_ENDS_IN_10_DAYS: \"ACTIVE_ENDS_IN_10_DAYS\",\r\n ACTIVE_ENDS_IN_5_DAYS: \"ACTIVE_ENDS_IN_5_DAYS\",\r\n ACTIVE_ENDS_IN_1_DAYS: \"ACTIVE_ENDS_IN_1_DAYS\",\r\n STOPPED: \"STOPPED\", // Docker container is stopped for access but it keep all files 7 days and wait for payment\r\n DELETED: \"DELETED\" // All user files are deleted and docker container is stopped\r\n};\r\n\r\nconst CLOUD_STATUS_INFO = {\r\n WAIT_FOR_EMAIL_VERIFICATION: \"Email not verified\",\r\n WAIT_FOR_EMAIL_VERIFICATION_1: \"Email not verified\",\r\n WAIT_FOR_EMAIL_VERIFICATION_3: \"Email not verified\",\r\n WAIT_FOR_EMAIL_VERIFICATION_5: \"Email not verified\",\r\n WAIT_FOR_EMAIL_VERIFICATION_10: \"Email not verified\",\r\n FREE_TRIAL: \"Free trial\",\r\n FREE_TRIAL_ENDS_IN_3_DAYS: \"Ends in 3 days\",\r\n ACTIVE: \"Active\",\r\n ACTIVE_ENDS_IN_10_DAYS: \"Ends in 10 days\",\r\n ACTIVE_ENDS_IN_5_DAYS: \"Ends in 5 days\",\r\n ACTIVE_ENDS_IN_1_DAYS: \"Ends in 1 days\",\r\n STOPPED: \"STOPPED\",\r\n DELETED: \"DELETED\" \r\n}\r\nclass Monitoring extends Component{\r\n constructor(props)\r\n {\r\n super(props);\r\n this.state ={\r\n \r\n }\r\n this.settings = new Settings();\r\n }\r\n\r\n pay_now_redirect = (evt) => {\r\n window.location.href = \"/pay\"\r\n }\r\n\r\n render(){\r\n if(!this.props.email_valid){\r\n return
Моля валидирайте вашия имейл адрес за да активирате профилът си в CCLOUD
\r\n }\r\n return (\r\n this.props.loggedIn ?\r\n \r\n \r\n \r\n \r\n \r\n СТАТУС\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n МОЯТ CCLOUD\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n РАЗМЕР\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n АКТИВЕН ДО\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ПЛАЩАНИЯ\r\n \r\n \r\n \r\n \r\n \r\n {[CLOUD_STATUS.ACTIVE, CLOUD_STATUS.DELETED].indexOf(this.props.cloud.status) === -1 ? : null}\r\n \r\n :\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default Monitoring;\r\n","import React, { Component } from 'react';\r\nimport {Container, Row, Col, Card, Button, Form} from 'react-bootstrap';\r\nimport { Redirect } from 'react-router-dom';\r\nimport Settings from './Settings';\r\nimport axios from 'axios';\r\nimport * as md5 from 'md5';\r\n\r\nconst profileStyle = {\r\n padding:'80px 80px 0 80px',\r\n textAlign:'center'\r\n}\r\nclass Profile extends Component{\r\n constructor(props)\r\n {\r\n super(props)\r\n this.state={\r\n change_password_shown:false,\r\n new_password:null\r\n };\r\n this.settings = new Settings();\r\n }\r\n\r\n input_new_password = () => {\r\n let password = document.getElementById('change_password').value\r\n let re_password = document.getElementById('change_re_password').value\r\n\r\n if (password === re_password) \r\n this.setState({new_password: password});\r\n }\r\n\r\n change_password = (evt) => {\r\n evt.preventDefault();\r\n let old_password = document.getElementById('change_password_old').value\r\n if (!old_password.length){\r\n alert('We need the old password');\r\n return;\r\n }\r\n\r\n if (this.state.new_password){\r\n axios.post(`${this.settings.API_address}/change_password`,\r\n {\r\n user_uuid:this.props.user.UUID,\r\n old_password:md5(old_password),\r\n password:md5(this.state.new_password)\r\n }).then(res => {\r\n if(res.data.success){\r\n this.props.history.push('/login');\r\n }else{\r\n alert(res.data.error_message)\r\n }\r\n });\r\n }else{\r\n alert('Passwords are not match');\r\n }\r\n }\r\n\r\n toggle_change_password = (evt) => {\r\n evt.preventDefault();\r\n this.setState({change_password_shown: !this.state.change_password_shown})\r\n }\r\n\r\n render(){\r\n return (\r\n this.props.loggedIn ?\r\n \r\n \r\n \r\n \r\n \r\n ПОТРЕБИТЕЛ\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ИМЕЙЛ АДРЕС\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ПАРОЛА\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {this.state.change_password_shown ? \r\n \r\n
\r\n \r\n Стара парола\r\n \r\n \r\n \r\n \r\n Нова Парола\r\n \r\n Новата парола отново\r\n \r\n \r\n \r\n
\r\n \r\n
: null}\r\n
\r\n :\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default Profile;\r\n","import React, { Component } from 'react';\r\nimport { Navbar, Nav } from 'react-bootstrap';\r\nimport Settings from './Settings';\r\n\r\nclass Navigation extends Component {\r\n constructor(props){\r\n super(props);\r\n this.settings = new Settings();\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n CCLOUD {this.props.userName}\r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nexport default Navigation;\r\n","import React, { Component } from 'react';\r\nimport {Form, Button, Container, Row, Col} from 'react-bootstrap';\r\nimport axios from 'axios';\r\nimport Settings from './Settings';\r\nimport * as md5 from 'md5';\r\n\r\nconst settings = new Settings();\r\n\r\nconst loginStyle = {\r\n padding:'80px 0 0 0'\r\n}\r\n\r\nclass Login extends Component{\r\n\r\n constructor(props)\r\n {\r\n super(props);\r\n this.state ={\r\n username: '',\r\n password: '',\r\n user_uuid: '',\r\n is_logged_in: false\r\n };\r\n this.forgot_password_shown = false;\r\n }\r\n\r\n input_username = (evt) => {\r\n this.setState({username: evt.target.value})\r\n }\r\n\r\n input_password = (evt) => {\r\n let password = evt.target.value\r\n this.setState({password: password})\r\n }\r\n\r\n login = (evt) =>{\r\n evt.preventDefault();\r\n axios.post(`${settings.API_address}/login`,\r\n {\r\n username:this.state.username,\r\n password:md5(this.state.password)\r\n }).then(res => {\r\n if(res.data.success)\r\n {\r\n this.props.handleSuccessfulAuth(res.data);\r\n this.props.history.push('/');\r\n }else{\r\n alert(res.data.error_message);\r\n }\r\n });\r\n }\r\n\r\n toggle_forgot_password = (evt) =>{\r\n evt.preventDefault();\r\n this.setState({forgot_password_shown:!this.state.forgot_password_shown});\r\n }\r\n\r\n forgot_password = (evt)=>{\r\n evt.preventDefault();\r\n\r\n axios.post(`${settings.API_address}/forgot_password`,\r\n {\r\n email:evt.target[0].value\r\n }).then(res => {\r\n if(res.data.success)\r\n {\r\n alert('Check your email inbox for further steps.')\r\n }else{\r\n alert(res.data.error_message);\r\n }\r\n });\r\n }\r\n render(){\r\n return (\r\n \r\n \r\n \r\n
\r\n \r\n Потребителско Име\r\n \r\n \r\n \r\n \r\n Парола\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {this.state.forgot_password_shown?\r\n \r\n \r\n
\r\n \r\n Вашият имейл адрес\r\n \r\n \r\n \r\n
\r\n \r\n
:null}\r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default Login;","import React, { Component } from 'react';\r\nimport {Form, Button, Container, Row, Col} from 'react-bootstrap';\r\nimport axios from 'axios';\r\nimport Settings from './Settings';\r\nimport * as md5 from 'md5';\r\n\r\nconst settings = new Settings();\r\n\r\nconst loginStyle = {\r\n padding:'80px 0 0 0'\r\n}\r\n\r\nclass Register extends Component{\r\n constructor(props)\r\n {\r\n super(props)\r\n this.state={\r\n email:'',\r\n user_name:'',\r\n password:'',\r\n cloud_name:'',\r\n cloud_size: this.props.selected_plan || '10G',\r\n payment_period: 'month',\r\n payment_card_number: '',\r\n payment_card_cvv: ''\r\n }\r\n }\r\n \r\n input_cloud_name = (evt) => {\r\n this.setState({cloud_name: evt.target.value})\r\n }\r\n\r\n select_cloud_size = (evt) => {\r\n this.setState({cloud_size: evt.target.value})\r\n }\r\n\r\n select_payment_period = (evt) => {\r\n this.setState({payment_period: evt.target.value})\r\n }\r\n\r\n input_email = () => {\r\n this.setState({email: document.getElementById('user_email').value})\r\n }\r\n\r\n input_username = () => {\r\n this.setState({user_name: document.getElementById('user_name').value})\r\n }\r\n\r\n input_password = () => {\r\n let password = document.getElementById('register_password').value\r\n let re_password = document.getElementById('register_re_password').value\r\n\r\n if (password === re_password) \r\n this.setState({password: password})\r\n }\r\n\r\n register = (evt) =>{\r\n const form = evt.currentTarget;\r\n evt.preventDefault();\r\n if (!form.checkValidity()) {\r\n evt.stopPropagation();\r\n return;\r\n }\r\n\r\n window.grecaptcha.ready(() => {\r\n try{\r\n window.grecaptcha.execute('6LdDZVMaAAAAADxJjQMiccckglE8zD1uFPiYLOTs', {action: 'submit'}).then((token) => {\r\n \r\n axios.post(`${settings.API_address}/register`,\r\n {\r\n username:this.state.user_name,\r\n email:this.state.email.toLowerCase(),\r\n password:md5(this.state.password),\r\n cloud_name:this.state.cloud_name.toLowerCase(),\r\n cloud_size: this.state.cloud_size\r\n }).then(res => {\r\n if(res.data.success){\r\n this.props.history.push('/login');\r\n }else{\r\n alert(res.data.error_message)\r\n }\r\n });\r\n })\r\n } catch(e){\r\n alert(e)\r\n }\r\n });\r\n \r\n }\r\n\r\n render(){\r\n return (\r\n \r\n \r\n \r\n
\r\n {/* Email */}\r\n \r\n Имейл адрес\r\n \r\n \r\n Ние никога няма да споделим вашият имейл адрес с някой друг\r\n \r\n \r\n {/* Username */}\r\n \r\n Потребителско Име\r\n \r\n \r\n {/* Password */}\r\n \r\n Парола\r\n \r\n Паролата отново\r\n \r\n \r\n {/* Cloud name */}\r\n \r\n Име на вашия CCLOUD\r\n \r\n \r\n {/* Cloud size */}\r\n \r\n Размер\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default Register;","import React, { Component } from 'react';\r\nimport { Form, Container } from 'react-bootstrap';\r\nimport { Redirect } from 'react-router-dom';\r\nimport axios from 'axios';\r\nimport Settings from './Settings';\r\n// const dropin = require('braintree-web-drop-in');\r\n\r\nconst settings = new Settings();\r\n\r\nconst paymentStyle = {\r\n padding: '80px 80px 0 80px',\r\n textAlign: 'center'\r\n}\r\n\r\nclass CloudRegister extends Component {\r\n\r\n\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n payment_period: \"month\",\r\n total_price: Settings.price_list[\"month\"][this.props.cloud.sizeMB],\r\n dropin_instance: null,\r\n payment_method_valid: false,\r\n client_nonce: null\r\n }\r\n\r\n window.paypal.Buttons({\r\n style: {\r\n layout: 'vertical',\r\n color: 'blue',\r\n shape: 'rect',\r\n label: 'pay'\r\n },\r\n createOrder: (data, actions) => {\r\n return actions.order.create({\r\n purchase_units: [{\r\n amount: {\r\n currency_code: 'EUR',\r\n value: parseInt(this.state.total_price)\r\n }\r\n }],\r\n application_context: {\r\n shipping_preference: 'NO_SHIPPING'\r\n }\r\n });\r\n },\r\n onApprove: (data, actions) => {\r\n return actions.order.capture().then((details) => {\r\n axios.post(`${settings.API_address}/checkout/${this.props.user.UUID}`,\r\n {\r\n amount: this.state.total_price,\r\n period: this.state.payment_period,\r\n cloud_uuid: this.props.cloud.uuid,\r\n payment_details: details\r\n }).then(res => {\r\n if (res.data.success) {\r\n this.setState({ wait_payment_status: false });\r\n this.props.handleSuccessfulPayment(res.data);\r\n this.props.history.push('/');\r\n }\r\n });\r\n });\r\n }\r\n }).render('#dropin-container');\r\n }\r\n\r\n checkout_button_click = (evt) => {\r\n this.state.dropin_instance.requestPaymentMethod((err, payload) => {\r\n if (err) {\r\n console.log(err);\r\n } else {\r\n this.setState({ payment_method_valid: true, client_nonce: payload.nonce });\r\n }\r\n });\r\n }\r\n\r\n input_payment_period = (evt) => {\r\n this.setState({ total_price: Settings.price_list[evt.target.value][`${this.props.cloud.sizeMB}`], payment_period: evt.target.value })\r\n }\r\n\r\n render() {\r\n return (\r\n this.props.loggedIn && this.props.cloud.status !== \"ACTIVE\" ?\r\n \r\n \r\n Period\r\n \r\n \r\n \r\n \r\n \r\n

{`Thank you for your payment: ${this.state.total_price}€`}

\r\n\r\n \r\n \r\n
\r\n : \r\n )\r\n }\r\n}\r\n\r\nexport default CloudRegister;","import 'bootstrap/dist/css/bootstrap.min.css';\r\nimport React, { Component } from 'react';\r\nimport Home from './components/Home';\r\nimport Monitoring from './components/Monitoring';\r\nimport Profile from './components/Profile';\r\nimport Navigation from './components/Navbar';\r\nimport Login from './components/Login';\r\nimport Register from './components/Register';\r\nimport Payment from './components/Payment';\r\nimport { BrowserRouter as Router, Route } from 'react-router-dom';\r\nimport axios from 'axios';\r\nimport Settings from './components/Settings';\r\nconst settings = new Settings();\r\nconst publicIp = require('public-ip');\r\n\r\nfunction HomePage(properties) {\r\n if (properties.properties.app.loggedIn)\r\n return ;\r\n else\r\n return ;\r\n}\r\n\r\nclass App extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.session = JSON.parse(sessionStorage.getItem('auth_data'));\r\n this.state = {\r\n selected_plan: null,\r\n app: {\r\n loggedIn: false\r\n },\r\n user: {\r\n UUID: '',\r\n name: '',\r\n email: '',\r\n email_valid: false\r\n },\r\n cloud: {\r\n uuid: '',\r\n name: '',\r\n status: '',\r\n sizeMB: '',\r\n last_payment_date: ''\r\n }\r\n }\r\n this.read_sesson();\r\n this.handleSuccessfulAuth = this.handleSuccessfulAuth.bind(this);\r\n this.handleSuccessfulPayment = this.handleSuccessfulPayment.bind(this);\r\n this.handleSelectPlan = this.handleSelectPlan.bind(this);\r\n\r\n document.addEventListener(\"Click\", async (evt) => {\r\n let IPv4 = await publicIp.v4();\r\n let activityObject = {\r\n target: {\r\n elementType:evt.toElement.tagName,\r\n address:evt.toElement.href || evt.toElement.currentSrc || \"N/A\"\r\n },\r\n source: {\r\n address: window.location.href\r\n },\r\n timestamp: new Date().getTime(),\r\n stayAtPageSeconds: parseInt(evt.timeStamp/1000),\r\n IPv4:IPv4,\r\n cookie: document.cookie\r\n };\r\n\r\n axios.post(`${settings.API_address}/log_actions`,\r\n activityObject\r\n );\r\n });\r\n }\r\n\r\n hide_email = (email) => {\r\n let prefix = email.split('@')[0];\r\n let suffix = email.split('@')[1];\r\n return `${prefix[0]}${\"*\".repeat(prefix.length - 2)}${prefix[prefix.length - 1]}@${suffix}`;\r\n }\r\n\r\n read_sesson = () => {\r\n if (this.session && this.session.success) {\r\n // eslint-disable-next-line\r\n this.state = {\r\n app: {\r\n loggedIn: this.session.success\r\n },\r\n user: {\r\n UUID: this.session.monitoring_data.user_uuid,\r\n name: this.session.monitoring_data.user_name,\r\n email: this.hide_email(this.session.monitoring_data.user_email),\r\n email_valid: this.session.monitoring_data.user_email_valid\r\n },\r\n cloud: {\r\n name: this.session.monitoring_data.cloud_name,\r\n status: this.session.monitoring_data.cloud_status,\r\n sizeMB: this.session.monitoring_data.cloud_size,\r\n activeTo: this.session.monitoring_data.cloud_active_to ? this.session.monitoring_data.cloud_active_to.slice(0, 10) : '',\r\n last_payment_date: this.session.monitoring_data.cloud_last_payment_date ? this.session.monitoring_data.cloud_last_payment_date.slice(0, 10) : '',\r\n uuid: this.session.monitoring_data.cloud_uuid,\r\n }\r\n };\r\n }\r\n }\r\n\r\n handleSuccessfulAuth = (auth_data) => {\r\n sessionStorage.setItem('auth_data', JSON.stringify(auth_data));\r\n auth_data.success ?\r\n this.setState({\r\n app: {\r\n loggedIn: auth_data.success\r\n },\r\n user: {\r\n UUID: auth_data.monitoring_data.user_uuid,\r\n name: auth_data.monitoring_data.user_name,\r\n email: this.hide_email(auth_data.monitoring_data.user_email),\r\n email_valid: auth_data.monitoring_data.user_email_valid\r\n },\r\n cloud: {\r\n name: auth_data.monitoring_data.cloud_name,\r\n status: auth_data.monitoring_data.cloud_status,\r\n sizeMB: auth_data.monitoring_data.cloud_size,\r\n activeTo: auth_data.monitoring_data.cloud_active_to ? auth_data.monitoring_data.cloud_active_to.slice(0, 10) : '',\r\n last_payment_date: auth_data.monitoring_data.cloud_last_payment_date ? auth_data.monitoring_data.cloud_last_payment_date.slice(0, 10) : '',\r\n uuid: auth_data.monitoring_data.cloud_uuid\r\n }\r\n }) :\r\n this.setState({ app: { loggedIn: auth_data.success } })\r\n }\r\n\r\n handleSuccessfulPayment = (response_data) => {\r\n if (response_data.success) {\r\n let session = JSON.parse(sessionStorage.getItem('auth_data'));\r\n session.monitoring_data.cloud_status = response_data.cloud_status;\r\n sessionStorage.setItem('auth_data', JSON.stringify(session));\r\n let cloud_data = this.state.cloud;\r\n cloud_data.status = response_data.cloud_status;\r\n cloud_data.last_payment_date = `${new Date().getFullYear()}-${new Date().getMonth() + 1}-${new Date().getDate()}`\r\n this.setState({ cloud: cloud_data });\r\n }\r\n }\r\n\r\n logout = () => {\r\n sessionStorage.clear();\r\n window.location.href = \"/\"\r\n }\r\n\r\n handleSelectPlan = (plan) => {\r\n this.setState({ selected_plan: plan });\r\n }\r\n\r\n addStyleToHead = () => {\r\n let style = document.createElement('style');\r\n style.innerHTML = `\r\n html {\r\n scroll-behavior:smooth;\r\n }`;\r\n document.head.appendChild(style);\r\n }\r\n render() {\r\n this.addStyleToHead();\r\n\r\n \r\n\r\n return (\r\n \r\n \r\n\r\n \r\n (\r\n \r\n )} />\r\n\r\n (\r\n \r\n )} />\r\n\r\n (\r\n \r\n )} />\r\n\r\n (\r\n this.logout()\r\n )} />\r\n\r\n (\r\n \r\n )} />\r\n\r\n (\r\n \r\n )} />\r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nexport default App;\r\n","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.0/8 are considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl, {\r\n headers: { 'Service-Worker': 'script' }\r\n })\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready\r\n .then(registration => {\r\n registration.unregister();\r\n })\r\n .catch(error => {\r\n console.error(error.message);\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport App from './App';\r\nimport * as serviceWorker from './serviceWorker';\r\n\r\nReactDOM.render(, document.getElementById('root'));\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: https://bit.ly/CRA-PWA\r\nserviceWorker.unregister();\r\n"],"sourceRoot":""}