{"version":3,"sources":["api/index.js","api/lastcrash.js","redux/crash.js","redux/user.js","api/user.js","redux/account.js","redux/index.js","configureStore.js","components/shared/Header.js","components/shared/OnboardingText.js","components/Login/index.js","components/Login/Logout.js","components/utils.js","components/Crash/Comments.js","components/Crash/Audit.js","components/shared/Accordion.js","components/Crash/Backtrace.js","components/Crash/Video.js","components/Dashboard/ErrorCodes.js","components/shared/Event.js","components/Crash/Details.js","components/Analytics/Donut.js","components/Analytics/DonutList.js","components/Analytics/TimeChart.js","components/Crash/Summary.js","components/Crash/index.js","components/shared/Overlay.js","components/shared/Modal.js","components/Welcome/index.js","components/shared/Code.js","components/Dashboard/Installation.js","components/Analytics/Map.js","components/Analytics/ReportChart.js","components/Dashboard/ProjectStats.js","components/Analytics/RealTimeBarChart.js","components/Dashboard/RealTime.js","components/Dashboard/ActiveProjectRow.js","components/Settings/AddPaymentMethod.js","components/Onboarding/index.js","components/Dashboard/index.js","components/OldDashboard/index.js","components/Settings/Account.js","components/Settings/ArtifactUpload.js","components/Settings/index.js","serviceWorker.js","components/shared/CustomSnackbar.js","index.js"],"names":["apiUrl","process","callApi","endpoint","a","options","method","body","withAuth","url","headers","accessToken","localStorage","getItem","REACT_APP_CLIENT_ID","fetchOptions","JSON","stringify","fetch","then","res","json","data","length","getArtifactFileUploadUrl","projectId","uuid","getHashes","searchTerm","getAudit","hash_id","onSuccess","onError","dispatch","getState","hashId","error","console","audit","getComments","type","payload","comments","createEditComment","comment","isEdit","api","deleteComment","updateProjectConfig","config","projects","updateUserProjectSettings","settings","_handleProjectsData","createProject","name","project","selectProject","id","api_key","createApiKey","Crash","selectedProjectId","deactivateApiKey","apiKey","key","loadData","getProjectReport","timeframe","getProjects","log","results","getCrashes","count","report","getProjectEvents","timestamp","events","sort","b","getProjectRealtimeReport","getCrash","crash","getCrashEvents","initialState","crashes","hashes","loading","STANDARD_HTTP_HEADERS","userLoad","userId","user","resp","ok","team","logout","catch","err","register","email","first_name","last_name","account_name","account_time_zone","loginEmail","login","code","authData","access_token","setItem","clear","history","push","invite","role","setSnackbarMessage","message","isLoggedIn","snackbarMessage","getPaymentMethods","_handleErrorResponse","_handleSuccessResponse","payment_methods","addPaymentMethod","paymentMethodId","chargeId","paymentChargeId","removePaymentMethod","acceptTerms","paymentMethods","termsAccepted","applicationReducers","Account","state","action","update","$merge","realtimeReport","User","createBrowserHistory","loadState","serializedState","parse","saveState","Header","props","showMenu","closeMenu","bind","this","evt","preventDefault","setState","document","addEventListener","dropdownMenu","contains","target","removeEventListener","hideIcons","className","to","src","alt","onClick","Component","connect","OnboardingText","text","style","display","alignItems","ChevronRightIcon","height","aria-hidden","Login","success","resendCode","pending","timezone","Intl","DateTimeFormat","resolvedOptions","timeZone","queryString","location","search","replace","window","reload","value","string","charAt","toUpperCase","slice","test","toLowerCase","missingInfo","forEach","trim","capitalize","split","join","validate","dataLayer","resend","href","onSubmit","e","sendLoginEmail","onChange","placeholder","loginWithCode","maxLength","fontSize","supportedValuesOf","map","tz","Logout","useDispatch","useEffect","formatTimestamp","format","moment","unix","utc","fromNow","getAppleDeviceName","deviceName","AppleDeviceMapping","Comments","comment_id","created","user_id","createComment","Audit","audits","display_text","Accordion","open","title","titleColor","content","titleClicked","Backtrace","items","platform","loadingDiv","crashDiv","backTraceDiv","thread","threadIndex","div","backtrace","contents","index","crashed","object_name","symbol_name","anr","trace","tabCount","match","weight","matches","c","paddingLeft","fontWeight","Video","showFooter","useState","setVideoEnded","image_url","video_url","device_name","operating_system","build_version","has_video","controls","preload","poster","onEnded","onPlay","IOS_NETWORK_ERRORS","NSURLErrorUnknown","NSURLErrorCancelled","NSURLErrorBadURL","NSURLErrorTimedOut","NSURLErrorUnsupportedURL","NSURLErrorCannotFindHost","NSURLErrorCannotConnectToHost","NSURLErrorNetworkConnectionLost","NSURLErrorDNSLookupFailed","NSURLErrorHTTPTooManyRedirects","NSURLErrorResourceUnavailable","NSURLErrorNotConnectedToInternet","NSURLErrorRedirectToNonExistentLocation","NSURLErrorBadServerResponse","NSURLErrorUserCancelledAuthentication","NSURLErrorUserAuthenticationRequired","NSURLErrorZeroByteResource","NSURLErrorCannotDecodeRawData","NSURLErrorCannotDecodeContentData","NSURLErrorCannotParseResponse","NSURLErrorAppTransportSecurityRequiresSecureConnection","NSURLErrorFileDoesNotExist","NSURLErrorFileIsDirectory","NSURLErrorNoPermissionsToReadFile","NSURLErrorDataLengthExceedsMaximum","NSURLErrorFileOutsideSafeArea","NSURLErrorSecureConnectionFailed","NSURLErrorServerCertificateHasBadDate","NSURLErrorServerCertificateUntrusted","NSURLErrorServerCertificateHasUnknownRoot","NSURLErrorServerCertificateNotYetValid","NSURLErrorClientCertificateRejected","NSURLErrorClientCertificateRequired","NSURLErrorCannotLoadFromNetwork","NSURLErrorCannotCreateFile","NSURLErrorCannotOpenFile","NSURLErrorCannotCloseFile","NSURLErrorCannotWriteToFile","NSURLErrorCannotRemoveFile","NSURLErrorCannotMoveFile","NSURLErrorDownloadDecodingFailedMidStream","NSURLErrorDownloadDecodingFailedToComplete","NSURLErrorInternationalRoamingOff","NSURLErrorCallIsActive","NSURLErrorDataNotAllowed","NSURLErrorRequestBodyStreamExhausted","NSURLErrorBackgroundSessionRequiresSharedContainer","NSURLErrorBackgroundSessionInUseByAnotherProcess","NSURLErrorBackgroundSessionWasDisconnected","EXCLUDE_VALUES","Event","event","details","device_uuid","device","app_version","model","os_name","city","region","country","locationString","image_os_name","hasValue","includes","hasEventValue","eventKey","EventKeyMapping","replaceAll","getEventName","startsWith","parts","errorReason","statusCode","errorCodeNumber","parseInt","NaN","ErrorCodes","getEventValue","Details","allCrashes","numCrashes","crashIndex","setCrashIndex","setCrashes","setCrash","setCrashEvents","backTraceItems","setBackTraceItems","handleKeyUp","prev","next","crashEvents","eventsDiv","useMemo","_backTraceItems","crash_json","crashData","currentCrashes","threads","crash_data","stack_trace","logcat","Donut","width","radius","Math","min","tooltipRef","useRef","containerRef","arc","d3","innerRadius","outerRadius","pie","padAngle","d","color","domain","range","t","mouseover","tooltipDiv","current","rect","getBoundingClientRect","html","clientX","left","clientY","top","class","ref","viewBox","i","onPointerEnter","onPointerMove","onPointerLeave","mouseout","fill","DonutList","limit","sortedEntries","entries","reverse","background","TimeChart","axesRef","curatedData","date","newDates","cursor","Date","getTime","x","y","line","svgElement","selectAll","remove","append","attr","call","ticks","tickSizeOuter","g","select","clone","circle","cx","cy","r","bisect","center","pointermoved","tooltip","invert","path","node","getBBox","w","h","size","toLocaleString","month","day","year","_","stroke","strokeWidth","Summary","hash","osCount","setOSCount","deviceCount","setDeviceCount","devicesCount","setDevicesCount","versionCount","setVersionCount","oldestCrash","setOldestCrash","newestCrash","setNewestCrash","daysCount","setDaysCount","setPlatform","_osCount","_deviceCount","_versionCount","_devicesCount","capitalized","device_public_name","Object","keys","status","days","ceil","modified","osDiv","chartValues","deviceDiv","versionDiv","timeDiv","dateCount","getFullYear","getMonth","getDate","dateString","ai_summary","components","inline","children","exec","dark","PreTag","language","String","TABS","params","useSelector","find","activeView","setActiveView","snackbarOpen","setSnackbarOpen","snackbarText","setSnackbarText","close","getCrashesSuccess","copyUrlToClipboard","navigator","clipboard","writeText","origin","setTimeout","number","crash_name","tab","changeViewClicked","Snackbar","anchorOrigin","vertical","horizontal","onClose","Overlay","classes","ModalBody","documentElement","classList","setWrapperRef","Modal","isOpen","add","disableOutsideClick","wrapperRef","priority","showClose","handleClickOutside","Welcome","React","setName","setError","Code","OBJC","Installation","iOSLanguage","setiOSLanguage","iOSInstallType","setiOSInstallType","androidLanguage","setAndroidLanguage","api_keys","lineHeight","marginBottom","rel","Map","crash_markers","freeze_markers","topology","setTopology","fetchedTopology","objects","countries","geometries","filter","valuemap","countryCode","numeric","isoCountries","values","world","topojson","projection","fitSize","countrymesh","properties","features","m","longitude","latitude","ReportChart","previousData","start","undefined","end","diff","totalCuratedData","adjustedPreviousData","item","strokeDasharray","TIMEFRAMES","ProjectStats","showReport","setShowReport","polling","setPolling","clearInterval","interval","setInterval","statTab","setStatTab","scrollToRef","scrollIntoView","report_start","report_end","toChartValues","ts","hour","getHours","minutes","getMinutes","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","changeRate","totals","positiveChange","changeElement","percentage","previous","changeTypePositive","changeClass","changeDetailsRate","change","toggleReports","crash_coordinates","coordinate","coordinate_parts","lat","parseFloat","long","crashReports","freezeReports","networkReports","deviceReports","toValues","crash_stats_ios","crash_stats_android","os","freeze_stats_ios","freeze_stats_android","dropped_frames_stats","dropped_frames_rate","report_timezone","label","relativeRate","network_errors","networkRequestErrors","errors","newError","sortedGroupedNetworkRequestErrors","errorStrings","error_codes","theReason","statusStrings","status_codes","response_time","toPrecision","network_stats_hostname","hostname","hostname_stats","requests","request_bytes","response_bytes","network_stats","device_events","os_app_version","resolution","locale","accessibility_rate","accessibility_events","crash_stats","freeze_stats","network_error_stats","device_stats","timeframeValue","total_crashes","total_freezes","total_network_errors","total_devices","crash_rate","freeze_rate","RealTimeBarChart","marginTop","marginLeft","boundsWidth","boundsHeight","time","padding","bandwidth","transform","RealTime","crashCount","setCrashCount","freezeCount","setFreezeCount","shouldRefresh","objectToData","object","topVersion","versions","version","version_key","version_count","platformPercentage","os_names","total","os_name_key","app_versions","Listbox","styled","MenuItem","BaseMenuItem","MenuButton","BaseMenuButton","ActiveProjectRow","onProjectSelected","p","Dropdown","Menu","slots","listbox","stripePromise","loadStripe","CustomPaymentElement","stripe","useStripe","elements","useElements","buttonDisabled","setButtonDisabled","errorMessage","setErrorMessage","addPaymentMethodClicked","confirmSetup","redirect","setupIntent","payment_method","disabled","textAlign","AddPaymentMethod","clientSecret","setClientSecret","client_secret","stripeElement","Onboarding","onboardingContent","flexDirection","margin","innerHeight","border","borderTop","borderBottom","maxWidth","Dashboard","crashView","setCrashView","setSearchTerm","setLoading","last_crash_created","filteredHashes","setFilteredHashes","selectedHash","setSelectedHash","mobileState","setMobileState","pollAttempts","setPollAttempts","clearTimeout","installed","timeout","setCrashViewClicked","_crashView","_filteredHashes","showOnboarding","hashesDiv","now","daysSince","createdDate","onCrashClicked","num_crashes","minLength","debounceTimeout","OldDashboard","view","setView","setNumEvents","filterByPlatform","checked","hideCrash","showListView","viewButtonImage","viewButtonAlt","htmlFor","CARD_TYPES","setEmail","setRole","successMsg","setSuccessMsg","errorMsg","setErrorMsg","projectName","setProjectName","projectSuccessMsg","setProjectSuccessMsg","projectErrorMsg","setProjectErrorMsg","paymentMethodsDiv","rows","pm","payment_method_data_stripe","card_type","exp_month","exp_year","last_4","cardTypeImgDiv","indexOf","TableRow","TableCell","sx","confirm","TableContainer","Table","minWidth","aria-label","TableHead","TableBody","teamDiv","teamMember","active","marginRight","validateEmail","ArtifactUpload","file","setFile","uploadUrl","setUploadUrl","uploadHeaders","setUploadHeaders","setPending","setSuccess","_getUUID","arrayBuffer","crypto","subtle","digest","hashBuffer","hashArray","Array","from","Uint8Array","toString","padStart","handleFileSelect","files","upload_url","handleFileUpload","response","Error","accept","CONFIG_OPTIONS","displayName","configType","dropdownOptions","Settings","setConfig","configUpdated","setConfigUpdated","updating","setUpdating","setApiKey","video_size","videoSize","setVideoSize","video_quality","videoQuality","setVideoQuality","configOption","isBoolean","isDropdown","Switch","defaultValue","texTableCellecorationLine","_deactivateApiKey","user_settings","notification_email_enabled","Boolean","CustomSnackbar","autoHideDuration","store","persistedState","createStore","combineReducers","router","connectRouter","compose","applyMiddleware","routerMiddleware","thunk","createLogger","subscribe","configureStore","RequireAuth","render","component","exact","getElementById","info","serviceWorker","ready","registration","unregister"],"mappings":"q5LAAMA,EAASC,+BACR,SAAeC,EAAtB,kC,4CAAO,WAAuBC,GAAvB,uCAAAC,EAAA,6DAAiCC,EAAjC,+BAA2C,CAACC,OAAQ,OAAQC,EAA5D,+BAAmE,GAAIC,IAAvE,iCACCC,EADD,UACUT,EADV,YACoBG,GAErBO,EAAU,CACZ,eAAgB,oBAEdF,GACIG,EAAcC,aAAaC,QAAQ,eACzCH,EAAO,cAAP,iBAAqCC,IAErCD,EAAQ,uBAAyBT,w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v2B,KACzC,kBAAC,IAAD,CAAOiZ,KAAK,WAAWsd,UAAWhyB,KAClC,kBAAC,IAAD,CAAO0U,KAAK,YAAYsd,UAAWxC,KACnC,kBAAC,IAAD,CAAO9a,KAAK,UAAUsd,UAAW1sB,MAEnC,kBAAC,IAAD,CAAOysB,OAAQ,kBAAO,sDAK9B1wB,SAAS6wB,eAAe,SAI1BjB,GAAMp3B,U3CjCG,SAACA,EAAUC,GAChB,IAAMwD,EAAS9E,aAAaC,QAAQ,UAC9BF,EAAcC,aAAaC,QAAQ,eAC1B,OAAX6E,GAAmC,OAAhB/E,IACrB0B,QAAQk4B,KAAR,0CAAgD70B,EAAhD,wBACAzD,EAASwD,EAASC,EAAQ/E,QyCkG1B,kBAAmB6gB,WACrBA,UAAUgZ,cAAcC,MAAMt5B,MAAK,SAAAu5B,GACjCA,EAAaC,kB","file":"static/js/main.680e6e93.chunk.js","sourcesContent":["const apiUrl = process.env.REACT_APP_API_PREFIX\nexport async function callApi(endpoint, options = {method: 'get'}, body = {}, withAuth=true) {\n const url = `${apiUrl}/${endpoint}`\n\n let headers = {\n 'Content-Type': 'application/json'\n }\n if (withAuth) {\n const accessToken = localStorage.getItem('accessToken');\n headers['Authorization'] = `Bearer ${accessToken}`\n } else {\n headers['Lastcrash-Client-ID'] = process.env.REACT_APP_CLIENT_ID\n }\n const fetchOptions = {\n ...options,\n headers\n }\n if (options.method !== 'get') {\n fetchOptions.body = JSON.stringify(body)\n }\n\n return fetch(url, fetchOptions)\n .then(res => {\n // console.log(res)\n return res.json()\n })\n .then(data => {\n if (data.length === 0) {\n return []\n }\n return data\n })\n}\n","import { callApi } from './index'\n\nexport function resolveHash(hashId) {\n return callApi(`hashes/${hashId}/resolve`, {method: 'put'})\n}\n\nexport function reopenHash(hashId) {\n return callApi(`hashes/${hashId}/reopen`, {method: 'put'})\n}\n\nexport function getAudit(hashId) {\n return callApi('audit/' + hashId, {method: 'get'})\n}\n\nexport function getComments(hashId) {\n return callApi('comments/' + hashId, {method: 'get'})\n}\n\nexport function createEditComment(hashId, comment, isEdit) {\n const method = isEdit ? 'put' : 'post'\n return callApi('comments/' + hashId, {method}, {comment})\n}\n\nexport function deleteComment(hashId) {\n return callApi('comments/' + hashId, {method: 'delete'})\n}\n\nexport function updateProjectConfig(projectId, config) {\n return callApi(`projects/${projectId}/config`, {method: 'put'}, {config})\n}\n\nexport function updateUserProjectSettings(projectId, settings) {\n return callApi(`projects/${projectId}/settings`, {method: 'put'}, {settings})\n}\n\nexport function getArtifactFileUploadUrl(projectId, uuid) {\n return callApi(`projects/${projectId}/generate_artifact_upload_url/${uuid}`)\n}\n\nexport function createProject(name) {\n return callApi('projects', {method: 'post'}, {name})\n}\n\nexport function createApiKey(projectId, name) {\n return callApi(`projects/${projectId}/api_key`, {method: 'post'}, {name})\n}\n\nexport function deactivateApiKey(projectId, key) {\n return callApi(`projects/${projectId}/api_key/${key}`, {method: 'delete'})\n}\n\nexport function getProjects() {\n return callApi('projects', {method: 'get'})\n}\n\nexport const getProjectReport = (projectId, timeframe='28') => {\n return callApi(`projects/${projectId}/report?timeframe=${timeframe}`)\n}\n\nexport const getProjectRealtimeReport = (projectId) => {\n return callApi(`projects/${projectId}/realtime`)\n}\n\nexport const getProjectEvents = (projectId, timestamp) => {\n return callApi(`projects/${projectId}/events?timestamp=${timestamp}`)\n}\n\nexport function getHashes(projectId, searchTerm=null) {\n let url = `hashes?project_id=${projectId}`\n if (searchTerm) {\n url += `&search_term=${searchTerm}`\n }\n return callApi(url, {method: 'get'})\n}\n\nexport function getCrashes(hashId) {\n return callApi(`hashes/${hashId}/crashes`, {method: 'get'})\n}\n\nexport function getCrash(hashId, uuid) {\n return callApi(`hashes/${hashId}/crashes/${uuid}`, {method: 'get'})\n}\n\nexport function getCrashEvents(uuid) {\n return callApi(`crashes/${uuid}/events`, {method: 'get'})\n}\n\nexport const getHashReport = (hashId) => {\n return callApi(`hashes/${hashId}/report`)\n}\n\nexport const getPaymentMethods = () => {\n return callApi('payments')\n}\n\nexport const addPaymentMethod = (paymentMethodId, paymentChargeId) => {\n return callApi('payments', {method: 'post'}, { type: \"stripe\", paymentMethodId, paymentChargeId })\n}\n\nexport const removePaymentMethod = (paymentMethodId) => {\n return callApi('payments', {method: 'delete'}, { paymentMethodId })\n}\n\nexport const getStripePaymentIntent = () => {\n return callApi('payments/stripe/intent')\n}\n\nexport const acceptTerms = () => {\n return callApi('terms/accept', {method: 'post'})\n}\n","import update from 'immutability-helper'\n\nimport * as api from '../api/lastcrash'\n\n/**\n * Constants\n */\n\nconst PROJECT_SELECTED = 'PROJECT_SELECTED'\nconst PROJECTS_STORE = 'PROJECTS_STORE'\nconst PROJECT_REPORT_STORE = 'PROJECT_REPORT_STORE'\nconst PROJECT_REALTIME_REPORT_STORE = 'PROJECT_REALTIME_REPORT_STORE'\nconst PROJECT_EVENTS_STORE = 'PROJECT_EVENTS_STORE'\nconst HASH_REPORT_STORE = 'HASH_REPORT_STORE'\nconst HASHES_STORE = 'HASHES_STORE'\nconst CRASHES_STORE = 'CRASHES_STORE'\nconst API_KEY_STORE = 'API_KEY_STORE'\nconst COMMENTS_STORE = 'COMMENTS_STORE'\nconst REPORT_TIMEFRAME_SELECTED = 'REPORT_TIMEFRAME_SELECTED'\n\n/*\n Actions logic\n*/\nfunction _resolveReopenHash(type, hash_id, onSuccess, onError, dispatch) {\n const Func = type === 'resolved' ? api.resolveHash : api.reopenHash\n Func(hash_id).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n dispatch({\n type: HASHES_STORE,\n payload: data.results\n })\n if (onSuccess) {\n onSuccess(data.results)\n }\n }\n })\n}\n\nexport function resolveHash(hash_id, onSuccess, onError) {\n return (dispatch, getState) => {\n _resolveReopenHash('resolved', hash_id, onSuccess, onError, dispatch)\n }\n}\nexport function reopenHash(hash_id, onSuccess, onError) {\n return (dispatch, getState) => {\n _resolveReopenHash('reopened', hash_id, onSuccess, onError, dispatch)\n }\n}\n\nexport function getAudit(hash_id, onSuccess, onError) {\n return (dispatch, getState) => {\n api.getAudit(hash_id).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n if (onSuccess) {\n onSuccess(data.audit)\n }\n }\n })\n }\n}\n\nexport function getComments(hash_id, onSuccess, onError) {\n return (dispatch, getState) => {\n api.getComments(hash_id).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n dispatch({\n type: COMMENTS_STORE,\n payload: {hash_id, comments: data.comments}\n })\n if (onSuccess) {\n onSuccess(data.comments)\n }\n }\n })\n }\n}\n\nexport function createEditComment(hash_id, comment, isEdit, onSuccess, onError) {\n return (dispatch, getState) => {\n api.createEditComment(hash_id, comment, isEdit).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n dispatch({\n type: COMMENTS_STORE,\n payload: {hash_id, comments: data.comments}\n })\n if (onSuccess) {\n onSuccess(data.comments)\n }\n }\n })\n }\n}\n\nexport function deleteComment(hash_id, onSuccess, onError) {\n return (dispatch, getState) => {\n api.deleteComment(hash_id).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n dispatch({\n type: COMMENTS_STORE,\n payload: {hash_id, comments: data.comments}\n })\n if (onSuccess) {\n onSuccess(data.comments)\n }\n }\n })\n }\n}\n\nexport const updateProjectConfig = (projectId, config, onSuccess, onError) => (dispatch, getState) => {\n api.updateProjectConfig(projectId, config).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n return\n }\n if (onSuccess) {\n onSuccess()\n }\n dispatch({\n type: PROJECTS_STORE,\n payload: data.projects\n })\n })\n}\n\nexport const updateUserProjectSettings = (projectId, settings, onSuccess, onError) => (dispatch, getState) => {\n api.updateUserProjectSettings(projectId, settings).then(data => {\n _handleProjectsData(data, dispatch, onSuccess, onError)\n })\n}\n\nconst _handleProjectsData = (data, dispatch, onSuccess, onError) => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n return\n }\n if (onSuccess) {\n onSuccess()\n }\n dispatch({\n type: PROJECTS_STORE,\n payload: data.projects\n })\n}\n\nexport function createProject(name, onSuccess, onError) {\n return (dispatch, getState) => {\n api.createProject(name).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n if (onSuccess) {\n onSuccess()\n }\n dispatch({\n type: PROJECTS_STORE,\n payload: data.projects\n })\n if (data.projects.length === 1) {\n const project = data.projects[0];\n dispatch(selectProject(project.id));\n }\n if (data.api_key) {\n dispatch({\n type: API_KEY_STORE,\n payload: data.api_key\n })\n }\n }\n })\n }\n}\n\nexport function createApiKey(name, onSuccess, onError) {\n return (dispatch, getState) => {\n const projectId = getState().Crash.selectedProjectId\n api.createApiKey(projectId, name).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n if (onSuccess) {\n if (data.api_key) {\n onSuccess(data.api_key)\n } else {\n onSuccess()\n }\n }\n dispatch({\n type: PROJECTS_STORE,\n payload: data.projects\n })\n if (data.api_key) {\n dispatch({\n type: API_KEY_STORE,\n payload: data.api_key\n })\n }\n }\n })\n }\n}\n\nexport const deactivateApiKey = (projectId, apiKey, onSuccess, onError) => (dispatch, getState) => {\n api.deactivateApiKey(projectId, apiKey).then(data => {\n if (data.error) {\n console.error(data.error)\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n if (onSuccess) {\n onSuccess(data)\n }\n dispatch({\n type: PROJECTS_STORE,\n payload: data.projects\n })\n }\n })\n}\n\nexport function selectProject(projectId, onSuccess, loadData=false) {\n return async (dispatch, getState) => {\n dispatch({\n type: PROJECT_SELECTED,\n payload: projectId\n })\n if (loadData) {\n dispatch(getHashes(onSuccess))\n dispatch(getProjectReport(projectId, getState().Crash.timeframe))\n } else {\n if (onSuccess) {\n onSuccess()\n }\n }\n }\n}\n\nexport function getProjects(onSuccess) {\n return async (dispatch, getState) => {\n try {\n const data = await api.getProjects()\n\n dispatch({\n type: PROJECTS_STORE,\n payload: data.projects\n })\n\n if (data.projects.length > 0) { \n if (!getState().Crash.selectedProjectId) {\n const project = data.projects[0];\n dispatch(selectProject(project.id));\n }\n dispatch(getHashes())\n if (getState().Crash.selectedProjectId) {\n dispatch(getProjectReport(getState().Crash.selectedProjectId, getState().Crash.timeframe))\n }\n }\n\n if (onSuccess) {\n onSuccess(data)\n }\n } catch (error) {\n console.log(error)\n }\n }\n}\n\nexport function getHashes(onSuccess) {\n return async (dispatch, getState) => {\n try {\n const projectId = getState().Crash.selectedProjectId\n if (!projectId) {\n console.error('no project ID selected')\n return\n }\n const data = await api.getHashes(projectId)\n\n dispatch({\n type: HASHES_STORE,\n payload: data.results\n })\n\n if (onSuccess) {\n onSuccess(data)\n }\n } catch (error) {\n console.log(error)\n }\n }\n}\n\nexport function getCrashes(hashId, onSuccess) {\n return (dispatch, getState) => {\n api.getCrashes(hashId).then(data => {\n if (data.error) {\n console.log(data.error)\n } else if (data) {\n console.log(`found ${data.count} crashes`)\n\n dispatch({\n type: CRASHES_STORE,\n payload: data.results\n })\n\n if (onSuccess) {\n onSuccess(data.results)\n }\n }\n })\n }\n}\n\nexport const getProjectReport = (projectId, timeframe, onSuccess, onError) => (dispatch, getState) => {\n api.getProjectReport(projectId, timeframe).then(data => {\n if (data.error) {\n console.log(data.error)\n } else if (data) {\n dispatch({\n type: PROJECT_REPORT_STORE,\n payload: { report: data.report, timeframe }\n })\n if (onSuccess) {\n onSuccess(data.report)\n }\n }\n })\n}\n\n\nexport const getProjectEvents = (projectId, timestamp, onSuccess, onError) => (dispatch, getState) => {\n api.getProjectEvents(projectId, timestamp).then(data => {\n if (data.error) {\n console.log(data.error)\n } else if (data) {\n const events = data.events.sort((a,b) => {\n return b.timestamp - a.timestamp\n })\n dispatch({\n type: PROJECT_EVENTS_STORE,\n payload: events\n })\n if (onSuccess) {\n onSuccess(data)\n }\n }\n })\n}\n\nexport const getProjectRealtimeReport = (projectId, onSuccess, onError) => (dispatch, getState) => {\n api.getProjectRealtimeReport(projectId).then(data => {\n if (data.error) {\n console.log(data.error)\n } else if (data) {\n dispatch({\n type: PROJECT_REALTIME_REPORT_STORE,\n payload: data\n })\n if (onSuccess) {\n onSuccess(data)\n }\n }\n })\n}\n\nexport const clearProjectEvents = () => (dispatch) => {\n dispatch({\n type: PROJECT_EVENTS_STORE,\n payload: []\n })\n}\n\nexport function getCrash(hashId, uuid, onSuccess) {\n return (dispatch, getState) => {\n api.getCrash(hashId, uuid).then(data => {\n if (data.error) {\n console.log(data.error)\n } else if (data) {\n if (onSuccess) {\n onSuccess(data.crash)\n }\n }\n })\n }\n}\n\nexport const getCrashEvents = (uuid, onSuccess, onError) => (dispatch, getState) => {\n api.getCrashEvents(uuid).then(data => {\n if (data.error) {\n console.log(data.error)\n onError(data.error)\n } else if (data) {\n if (onSuccess) {\n onSuccess(data.events)\n }\n }\n })\n}\n\n/*\n Reducer logic\n*/\nconst initialState = {\n apiKey: null,\n selectedProjectId: null,\n projects: [],\n crashes: [],\n hashes: [],\n comments: {},\n report: {},\n timeframe: '-1',\n events: [],\n loading: true\n}\n\nexport default function(state = initialState, action) {\n switch(action.type) {\n case PROJECT_SELECTED:\n return update(state, {\n $merge: {\n selectedProjectId: action.payload,\n hashes: [],\n crashes: [],\n events: []\n }\n })\n case PROJECTS_STORE:\n return update(state, {\n $merge: {\n projects: action.payload,\n loading: false\n }\n })\n case PROJECT_REPORT_STORE: \n const { timeframe, report } = action.payload\n console.log(PROJECT_REPORT_STORE, timeframe)\n return update(state, {\n $merge: {\n report, timeframe\n }\n })\n case PROJECT_REALTIME_REPORT_STORE:\n return update(state, {\n $merge: {\n realtimeReport: action.payload.report\n }\n })\n case PROJECT_EVENTS_STORE:\n return update(state, {\n $merge: {\n events: action.payload\n }\n })\n case HASHES_STORE:\n return update(state, {\n $merge: {\n hashes: action.payload\n }\n })\n case CRASHES_STORE:\n return update(state, {\n $merge: {\n crashes: action.payload\n }\n })\n case API_KEY_STORE:\n return update(state, {\n $merge: {\n apiKey: action.payload\n }\n })\n case COMMENTS_STORE:\n const comments = state.comments\n comments[action.payload.hash_id] = action.payload.comments\n return update(state, {\n $merge: {comments}\n })\n case 'USER_LOGOUT':\n return initialState;\n default:\n return state\n }\n}\n","import update from 'immutability-helper';\n\nimport { history } from '../configureStore'\n\nimport * as api from '../api/user'\n\nimport { getProjects } from './crash'\n\nconst STANDARD_HTTP_HEADERS = {\n 'Accept': 'application/json',\n 'Content-Type': 'application/json'\n};\n\n/**\n * Constants\n */\n\nconst USER_STORE = 'USER_STORE'\nconst USER_LOGOUT = 'USER_LOGOUT'\nconst SNACKBAR_STORE = 'SNACKBAR_STORE'\n\n/*\n Actions logic\n*/\n/** Checks if there is a currently logged in user to the app. */\nexport function checkLoggedIn() {\n return (dispatch, getState) => {\n const userId = localStorage.getItem('userId');\n const accessToken = localStorage.getItem('accessToken');\n if (userId !== null && accessToken !== null) {\n console.info(`looks like user is logged in as ${userId}, loading user data`);\n dispatch(userLoad(userId, accessToken));\n }\n };\n}\n\n/** Loads a user id into the redux store. */\nexport function userLoad(userId, accessToken, user) {\n return (dispatch, getState) => {\n if (user) {\n dispatch({\n type: USER_STORE,\n payload: { user }\n });\n dispatch(getProjects())\n } else {\n let headers = STANDARD_HTTP_HEADERS;\n headers['Authorization'] = 'Bearer ' + accessToken;\n fetch(process.env.REACT_APP_API_PREFIX + '/users', {\n headers\n })\n .then(resp => {\n if (resp.ok) {\n return resp.json().then(data => {\n dispatch({\n type: USER_STORE,\n payload: {\n user: data.user,\n team: data.team\n }\n });\n dispatch(getProjects())\n });\n } else {\n dispatch(logout());\n }\n }).catch(err=>{\n console.error(err)\n });\n }\n };\n}\n\nexport function register(email, first_name, last_name, account_name, account_time_zone, onSuccess, onError) {\n return (dispatch, getState) => {\n api.register(email, first_name, last_name, account_name, account_time_zone).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n if (onSuccess) {\n onSuccess(data)\n }\n }\n });\n };\n}\n\nexport function loginEmail(email, onSuccess, onError) {\n return (dispatch, getState) => {\n api.loginEmail(email).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n if (onSuccess) {\n onSuccess()\n }\n }\n });\n };\n}\n\nexport function login(code, onSuccess, onError) {\n return(dispatch, getState) => {\n api.login(code).then(data => {\n if (data.error) {\n console.error(data.error);\n if (onError) {\n onError(data.error)\n }\n } else if (data) {\n dispatch(saveLogin(data));\n if (onSuccess) {\n onSuccess()\n }\n }\n });\n };\n}\n\nexport function saveLogin(authData) {\n return (dispatch, getState) => {\n const {access_token, user} = authData;\n localStorage.setItem('userId', user.id);\n localStorage.setItem('accessToken', access_token);\n dispatch(userLoad(user.id, access_token, user));\n };\n}\n\n/** Resets the db, clears redux, clears async storage. */\nexport function logout() {\n return (dispatch, getState) => {\n dispatch({type: USER_LOGOUT})\n localStorage.clear()\n history.push('/')\n };\n}\n\nexport const invite = (email, role, onSuccess, onError) => (dispatch, getState) => {\n api.invite(email, role).then(data => {\n if (data.error) {\n if (onError) {\n console.error('invite api error: ' + data.error)\n onError(data.error)\n }\n } else {\n dispatch({\n type: USER_STORE,\n payload: data\n })\n if (onSuccess) {\n onSuccess()\n }\n }\n })\n}\n\nexport const setSnackbarMessage = (message) => (dispatch) => {\n dispatch({\n type: SNACKBAR_STORE,\n payload: message\n })\n}\n\n/*\n Reducer logic\n*/\nconst initialState = {\n isLoggedIn: false,\n user: null,\n team: [],\n snackbarMessage: null\n};\n\nexport default function(state = initialState, action) {\n switch (action.type) {\n case SNACKBAR_STORE:\n return update(state, {\n $merge: {\n snackbarMessage: action.payload\n }\n })\n case USER_STORE:\n const {user, team} = action.payload;\n return update(state, {\n $merge: {\n isLoggedIn: !!user,\n user, team\n }\n });\n\n case USER_LOGOUT:\n return initialState;\n\n default:\n return state;\n }\n}\n","import { callApi } from './index'\n\nexport function loginEmail(email) {\n return callApi('login_email', {method: 'post'}, {email}, false)\n}\n\nexport function login(code) {\n return callApi('login', {method: 'post'}, {code}, false)\n}\n\nexport function register(email, first_name, last_name, account_name, account_time_zone) {\n return callApi('register', {method: 'post'}, {email, first_name, last_name, account_name, account_time_zone}, false)\n}\n\nexport function invite(email, role) {\n return callApi('invite', {method: 'post'}, {email, role})\n}","import update from 'immutability-helper'\n\nimport * as api from '../api/lastcrash'\nimport { setSnackbarMessage } from './user'\n\n/**\n * Constants\n */\n\nconst PAYMENT_METHODS_STORE = 'PAYMENT_METHODS_STORE'\nconst TERMS_ACCEPTED = 'TERMS_ACCEPTED'\n\n/*\n Actions logic\n*/\n\nexport const getPaymentMethods = (onSuccess, onError) => (dispatch) => {\n api.getPaymentMethods().then(data => {\n if (data.error) {\n _handleErrorResponse(data.error, onError)\n return\n }\n _handleSuccessResponse(data.payment_methods, onSuccess, dispatch)\n })\n}\n\nexport const addPaymentMethod = (paymentMethodId, chargeId, onSuccess, onError) => (dispatch) => {\n api.addPaymentMethod(paymentMethodId, chargeId).then(data => {\n if (data.error) {\n _handleErrorResponse(data.error, onError)\n return\n }\n dispatch(setSnackbarMessage('Success!'))\n _handleSuccessResponse(data.payment_methods, onSuccess, dispatch)\n })\n}\n\nexport const removePaymentMethod = (paymentMethodId, onSuccess, onError) => (dispatch) => {\n api.removePaymentMethod(paymentMethodId).then(data => {\n if (data.error) {\n _handleErrorResponse(data.error)\n return\n }\n dispatch(setSnackbarMessage('Success!'))\n _handleSuccessResponse(data.payment_methods, onSuccess, dispatch)\n })\n}\n\nexport const acceptTerms = (onSuccess) => (dispatch) => {\n api.acceptTerms().then(data => {\n if (data.error) {\n return\n }\n if (onSuccess) {\n onSuccess()\n }\n dispatch({\n type: TERMS_ACCEPTED\n })\n })\n}\n\n\nconst _handleErrorResponse = (error, onError) => {\n console.error(error);\n if (onError) {\n onError(error)\n }\n}\n\nconst _handleSuccessResponse = (paymentMethods, onSuccess, dispatch) => {\n if (onSuccess) {\n onSuccess()\n }\n dispatch({\n type: PAYMENT_METHODS_STORE,\n payload: paymentMethods\n })\n}\n\n/*\n Reducer logic\n*/\nconst initialState = {\n settings: {},\n paymentMethods: [],\n termsAccepted: false\n};\n\nexport default function(state = initialState, action) {\n switch (action.type) {\n case PAYMENT_METHODS_STORE:\n return update(state, {\n $merge: {\n paymentMethods: action.payload\n }\n });\n\n case TERMS_ACCEPTED:\n return update(state, {\n $merge: {\n termsAccepted: true\n }\n });\n\n case 'USER_LOGOUT':\n return initialState;\n\n default:\n return state;\n }\n}\n","import { combineReducers } from 'redux';\nimport { connectRouter } from 'connected-react-router'\n\nimport Account from './account';\nimport Crash from './crash';\nimport User from './user';\n\nconst applicationReducers = {\n Account, Crash, User\n};\n\nexport default (history) => combineReducers({...applicationReducers, router: connectRouter(history)})\n","import { createBrowserHistory } from 'history'\nimport { applyMiddleware, compose, createStore } from 'redux'\nimport { routerMiddleware } from 'connected-react-router'\n\nimport thunk from 'redux-thunk';\nimport {createLogger} from 'redux-logger';\n\nimport createRootReducer from './redux'\n\nexport const history = createBrowserHistory()\n\nexport default function configureStore() {\n const persistedState = loadState();\n const store = createStore(\n createRootReducer(history), // root reducer with router state\n persistedState,\n compose(\n applyMiddleware(\n routerMiddleware(history), // for dispatching history actions\n thunk,\n createLogger()\n ),\n ),\n )\n store.subscribe(() => {\n saveState(store.getState());\n });\n return store\n}\n\n\nexport const loadState = () => {\n try {\n const serializedState = localStorage.getItem('lastcrash_state');\n if (serializedState === null) {\n return undefined;\n }\n return JSON.parse(serializedState);\n } catch (err) {\n return undefined;\n }\n};\n\nexport const saveState = (state) => {\n try {\n const serializedState = JSON.stringify(state);\n localStorage.setItem('lastcrash_state', serializedState);\n } catch {\n // ignore write errors\n }\n};\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux'\nimport { Link } from 'react-router-dom'\nimport { selectProject } from '../../redux/crash'\nimport { logout } from '../../redux/user'\n\nimport './index.scss'\n\nclass Header extends Component {\n constructor(props) {\n super(props)\n this.state = {\n showMenu: false\n }\n\n this.closeMenu = this.closeMenu.bind(this);\n }\n\n onClick(projectId) {\n this.props.dispatch(selectProject(projectId))\n }\n\n showMenu(evt) {\n evt.preventDefault()\n\n this.setState({ showMenu: true }, () => {\n document.addEventListener('click', this.closeMenu);\n });\n }\n\n closeMenu(evt) {\n if (!this.dropdownMenu || !this.dropdownMenu.contains(evt.target)) {\n this.setState({ showMenu: false }, () => {\n console.log('closeMenu')\n document.removeEventListener('click', this.closeMenu);\n });\n }\n }\n\n render() {\n // const {projects, selectedProjectId, user, dispatch, hideIcons} = this.props\n // const project = projects.filter(p => p.id === selectedProjectId)[0]\n const {user, dispatch, hideIcons} = this.props\n return (\n
\n
\n {children}\n
\n );\n },\n }}\n >{hash.ai_summary}{text}
\n )\n}\nexport default Code","import React, { useState } from 'react'\nimport Code from '../shared/Code'\n\nconst IOS = 'ios'\nconst ANDROID = 'android'\nconst SWIFT = 'swift'\nconst OBJC = 'objective-c'\nconst JAVA = 'java'\nconst KOTLIN = 'kotlin'\nconst COCOAPODS = 'cocoapods'\nconst XCFRAMEWORK = 'xcframework'\n\nconst LATEST_ANDROID_VERSION = '2.0.0' // TODO: pull from server API?\n\nconst Installation = ({project}) => {\n const [platform, setPlatform] = useState(IOS)\n const [iOSLanguage, setiOSLanguage] = useState(SWIFT)\n const [iOSInstallType, setiOSInstallType] = useState(COCOAPODS)\n const [androidLanguage, setAndroidLanguage] = useState(KOTLIN)\n\n const apiKey = project.api_keys[0]\n\n return (\n
\n
\n >\n }\n {iOSInstallType === XCFRAMEWORK &&\n Bool {\n ...\n LastCrash.configure(\"${apiKey?.key}\")\n LastCrash.applicationInitialized()\n ...\n }\n}\n\n`\n } />\n }\n {iOSLanguage === OBJC &&\n \n \n...\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n ...\n [LastCrash configure:@\"${apiKey?.key}\"];\n [LastCrash applicationInitialized];\n ...\n}\n...`\n } />\n
\n }\n >\n :\n <>\n In your project build.gradle file, add the following under allprojects {\"->\"} repositories:\n
\n Then, add the following to your app build.gradle file, then sync your project:\n
\n In the Android manifest for your app ensure the following permissions are granted:\n
\n \n \n)\n`}\n/>\n In your MainActivity file, add LastCrashListener, initialize the SDK, and configure the lastCrashDidCrash method:\n \n setAndroidLanguage(KOTLIN)} className={`ios ${androidLanguage === KOTLIN ? 'active' : ''}`}>Kotlin\n setAndroidLanguage(JAVA)} className={`android ${androidLanguage === JAVA ? 'active' : ''}`}>Java\n \n {androidLanguage === KOTLIN &&\n
\n }\n {androidLanguage === JAVA &&\n
\n }\n >\n }\n