{"version":3,"sources":["../webpack/bootstrap","stores/destinations.ts","stores/currentPageHeader.ts","stores/sources.ts","webpack:///./src/ui/components/FloatingLabelInput/FloatingLabel.less?5cfa","webpack:///./src/ui/pages/GetStartedPage/GetStartedPage.module.less?9f7f","utils/queryParams.ts","stores/entitiesStore.ts","utils/numbers.ts","ui/components/FloatingLabelInput/FloatingLabel.tsx","ui/components/FloatingLabelInput/FloatingLabelInput.tsx","ui/components/LabelWithTooltip/LabelWithTooltip.tsx","stores/helpers.ts","ui/components/EntityNotFound/EntityNotFound.tsx","utils/arrays.ts","stores/inAppNotifications.ts","ui/components/NotFound/NotFound.tsx","ui/pages/GetStartedPage/LoginForm.tsx","ui/pages/GetStartedPage/SignupForm.tsx","ui/pages/GetStartedPage/GetStartedPage.tsx","webpack:///./src/ui/components/ConnectionCard/ConnectionCard.module.less?3798","ui/pages/SourcesPage/SourcesPage.routes.ts","ui/pages/DestinationsPage/DestinationsPage.routes.ts","ui/components/PageHeader/PageHeader.tsx","utils/destinations.utils.ts","ui/components/PageNotFound/PageNotFound.tsx","utils/apiKeys.utils.ts","ui/components/LabelEllipsis/LabelEllipsis.tsx","ui/components/EditableName/EditableName.tsx","ui/components/ConnectionCard/ConnectionCard.tsx","utils/errorIncludes.ts","webpack:///./src/ui/components/ActionNotification/ActionNotification.less?73f3","stores/_initializeAllStores.ts","webpack:///./src/ui/components/PageHeader/PageHeader.module.less?f437","ui/components/StatisticsChart/StatisticsChart.tsx","webpack:///./src/ui/components/StatisticsChart/StatisticsChart.module.less?0dc8","ui/components/Breadcrumbs/Breadcrumbs.tsx","stores/apiKeys.ts","ui/pages/GetStartedPage/LoginPage.tsx","ui/pages/GetStartedPage/SignupPage.tsx","utils/typeCheck.ts","ui/components/ActionNotification/ActionNotification.tsx"],"names":["DestinationsStore","idField","hideElements","dst","destinationsReferenceMap","_type","hidden","apiKeysStore","services","ApplicationServices","get","makeObservable","createFreeDatabase","flow","id","destination","backendApiClient","post","projectId","activeProject","credentials","freeDatabaseDestination","_comment","_id","_uid","randomId","_mappings","_onlyKeys","_connectionTestOk","_sources","_formData","pguser","pgpassword","pghost","pgport","pgdatabase","mode","flowResult","generateAddInitialApiKeyIfNeeded","linkedFreeDatabaseDestination","list","uid","add","EntitiesStore","destinationsStore","CurrentPageHeader","_breadcrumbs","makeAutoObservable","length","link","title","map","element","breadcrumbs","console","log","normalized","b","currentPageHeaderStore","sourcesStore","withQueryParams","baseUrl","paramsDict","options","firstSep","includes","Object","entries","reduce","accumulator","current","key","value","undefined","encode","encodeURIComponent","slice","EntitiesStoreStatus","IDLE","GLOBAL_LOADING","BACKGROUND_LOADING","GLOBAL_ERROR","type","schema","_initialized","_state","observable","status","errorMessage","_entities","bind","computed","listHidden","listIncludeHidden","action","bound","pullAll","delete","replace","patch","message","entity","filter","find","getId","showGlobalLoader","resetError","setStatus","storageService","table","getAll","entities","setError","entityToAdd","addedEntity","Error","push","index","findIndex","item","getObjectDepth","assign","len","str","Math","random","toString","substring","substr","getUniqueAutoIncId","base","exists","existsBase","naturalSort","e","startsWith","isNaN","Number","baseTail","FloatingLabelComponent","className","htmlFor","render","hasValue","size","cn","displayName","FloatingLabel","memo","FloatingLabelInputComponent","formName","name","rules","floatingLabelText","prefix","inputType","wrapClassName","prevValues","currentValues","getFieldValue","FloatingLabelInput","React","LabelWithTooltipComponent","documentation","LabelWithTooltip","ConnectionsHelper","stores","sources","destinations","apiKeyId","updateDestinationsConnectionsToApiKey","sourceId","updateDestinationsConnectionsToSource","destinationId","updateSourcesConnectionsToDestination","connectedSourcesIds","updateEntitiesConnections","store","connectedEntitiesIdsField","connectedDestinationsIds","some","isInitialized","apiKeys","nonExistentApiKeys","nonExistentSources","existingApiKeys","existingSources","src","forEach","nonExistentDestinations","existingDestinations","source","Promise","all","nonExistentKey","unconnectDeletedApiKey","nonExistentSrc","unconnectDeletedSource","unconnectDeletedDestination","entityId","connectedEntitiesIds","connectedEntitiesSchema","patches","entityShouldBeConnected","entityIsConnected","connectionsHelper","EntityNotFound","entityDisplayType","entitiesListRoute","history","useHistory","projectRoute","array","collator","Intl","Collator","numeric","sensitivity","sort","compare","toArrayIfNot","arg","isArray","addToArrayIfNotDuplicate","comparator","isEqual","a","removeFromArrayIfFound","substituteArrayValueIfFound","InAppNotificationsStore","_destinationsStore","_apiKeysStore","_connectorsStore","keyIsConnected","isConnected","keyUid","orphanDestinations","icon","ui","editEntityRoute","destinationPageRoutes","editExact","orphanApiKeys","apiKeysReferenceMap","js","apiKeysRoutes","orphanConnectors","sourceProtoType","allSourcesMap","pic","sourcesPageRoutes","notifications","inAppNotificationsStore","NotFound","body","footer","SSO_ERROR_LS_KEY","LoginForm","supportOauth","ssoAuthLink","useServices","useState","loading","setLoading","showPasswordResetForm","setShowPasswordResetForm","useEffect","ssoError","localStorage","getItem","error","removeItem","githubSignIn","userService","initiateGithubLogin","email","analyticsService","track","user","login_type","reloadPage","destroy","getErrorPayload","googleSignIn","initiateGoogleLogin","passwordSignIn","values","trim","password","login","info","remember","required","githubLogo","googleLogo","PasswordResetForm","visible","onSuccess","close","useForm","form","onSubmit","validateFields","sendPasswordReset","SignupForm","tosAgree","setTosAgree","tosHighlight","setTosHighlight","googleSignup","githubSignup","passwordSignup","createUser","handleError","GitHubLogo","WelcomeBackHero","signupEnabled","process","styles","heroLink","JitsuCloudHero","featureList","underline","JitsuSelfHostingHero","GetStartedPage","props","logo","hero","useCloudHero","oauthSupport","root","edit","addExact","logs","task","statistics","newExact","statisticsExact","PageHeaderComponent","connectorPic","PageHeader","DestinationsUtils","getDisplayName","PageNotFound","homeUrl","APIKeyUtil","comment","LabelEllipsis","children","maxLen","trimMiddle","EditableName","update","disabled","propagateEvent","changeName","stopPropagation","preventDefault","newName","prompt","currentName","setSaving","setCurrentName","saving","height","paddingLeft","ActionLink","rest","color","ConnectionCard","connectionCard","connectionCardLoading","editAction","rename","subtitle","menuOverlay","errorIncludes","_response","initializeAllStores","initalizeStoresData","healConnections","onGlobalError","allSettled","initialState","hide_total_data","hide_errors_data","hide_skip_data","hide_success_data","reducer","state","commonLineProps","cursor","activeDot","r","strokeWidth","StatisticsChart","data","granularity","dataToDisplay","legendLabels","useReducer","dispatch","handleClickOnLegend","clickedDataType","chart","point","date","format","backgroundColor","border","NumberFormat","CustomizedXAxisTick","x","y","payload","CustomizedYAxisTick","join","separatorFactory","res","i","Delimiter","BreadcrumbsComponent","project","useProject","showProjectSwitchModal","absolute","indexOf","num","Breadcrumbs","observer","ApiKeysStore","override","newApiKey","generateApiKey","addedApiKey","generateApiToken","serverAuth","jsAuth","origins","postfix","note","LoginPage","getLoginFeatures","oauth","getSSOAuthLink","SignupPage","isObject","Array","hasOwnProperty","object","property","assert","condition","errMsg","errorName","nodejs_assert","assertIsString","allowUndefined","assertIsBoolean","assertIsArray","assertIsArrayOfTypes","typeReferenceValues","actualTypes","from","Set","whitelistedTypes","negatedIntersection","has","assertIsObject","assertHasOwnProperty","assertHasAllProperties","properties","messageFactory","iconsByType","success","warn","content","opts","duration","destroyMessage","msg","maxWidth","prefixCls","actionNotification"],"mappings":";QAAA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;QACA,oDAAoD,6BAA6B,o2FAAo2F;QACr7F;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;;;QAGA;QACA,oBAAoB;QACpB;QACA;QACA;QACA,mCAAmC,6BAA6B,o2FAAo2F;QACp6F;QACA;QACA,mBAAmB,6BAA6B;QAChD;QACA;QACA;QACA;QACA;QACA,mBAAmB,8BAA8B;QACjD;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA,KAAK;QACL;QACA,KAAK;QACL;;QAEA;;QAEA;QACA,iCAAiC;;QAEjC;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA,MAAM;QACN;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,wBAAwB,kCAAkC;QAC1D,MAAM;QACN;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA,0CAA0C,oBAAoB,WAAW;;QAEzE;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA;QACA;QACA;QACA;QACA,GAAG;;QAEH,8BAA8B;QAC9B;;;;;;;;;;;;;;;;;;;;;;;;;AChSA;AAEA;AAEA;AAGA;AAEA;AAEA;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js/main~ea1f58e8.81eda103.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n \t\tvar prefetchChunks = data[3] || [];\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n \t\tdeferredPrefetch.push.apply(deferredPrefetch, prefetchChunks);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\tif(deferredModules.length === 0) {\n \t\t\t// chunk prefetching for javascript\n \t\t\tdeferredPrefetch.forEach(function(chunkId) {\n \t\t\t\tif(installedChunks[chunkId] === undefined) {\n \t\t\t\t\tinstalledChunks[chunkId] = null;\n \t\t\t\t\tvar link = document.createElement('link');\n\n \t\t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\t\tlink.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t\t}\n \t\t\t\t\tlink.rel = \"prefetch\";\n \t\t\t\t\tlink.as = \"script\";\n \t\t\t\t\tlink.href = jsonpScriptSrc(chunkId);\n \t\t\t\t\tdocument.head.appendChild(link);\n \t\t\t\t}\n \t\t\t});\n \t\t\tdeferredPrefetch.length = 0;\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t27: 0\n \t};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t27: 0\n \t};\n\n \tvar deferredModules = [], deferredPrefetch = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"0\":\"84f647ef\",\"1\":\"31f5f943\",\"2\":\"4cb351ab\",\"3\":\"ce107dc0\",\"4\":\"23f5a970\",\"5\":\"5ed44b1a\",\"6\":\"2ca4ebd7\",\"7\":\"2f9564d6\",\"8\":\"e8f0bb6a\",\"9\":\"7d5a95dc\",\"78\":\"3b9c61c9\",\"79\":\"45a9a841\",\"80\":\"476f29c4\",\"81\":\"16d9d310\",\"82\":\"e80e68e2\",\"83\":\"cf622eae\",\"84\":\"87e16ed4\",\"85\":\"37d03494\",\"86\":\"4d212529\",\"87\":\"31b0c744\",\"88\":\"08d4d0a1\",\"89\":\"11b3817c\",\"90\":\"1f508f2f\",\"91\":\"2b6467f4\",\"92\":\"0aef1fde\",\"93\":\"166b55a5\",\"94\":\"2b3a18f5\",\"95\":\"d63dd869\",\"96\":\"8658342f\",\"97\":\"fa131804\",\"98\":\"46447a83\",\"99\":\"babc60d3\",\"100\":\"5d1f17fc\",\"101\":\"6c8d0e34\",\"102\":\"6571d347\",\"103\":\"0ec99b52\",\"104\":\"7c8b6555\",\"105\":\"73146e06\",\"106\":\"33ed97b2\",\"107\":\"4acab5db\",\"108\":\"66902b7e\",\"109\":\"3b2b9040\",\"110\":\"65daffc3\",\"111\":\"1aae765d\",\"112\":\"f1547d95\",\"113\":\"5594b011\",\"114\":\"67f29896\",\"115\":\"f46c619f\",\"116\":\"4f00b58c\",\"117\":\"28e1f14a\",\"118\":\"40b83a14\",\"119\":\"054db2c0\",\"120\":\"6d8ab479\",\"121\":\"df6adf30\",\"122\":\"50826f17\",\"123\":\"22ab011d\",\"124\":\"f2ef117b\",\"125\":\"b4bf326a\",\"126\":\"59839fc8\",\"127\":\"e04e04f8\",\"128\":\"1a61371a\",\"129\":\"c1148dc2\",\"130\":\"044f7060\",\"131\":\"3f53abf2\",\"132\":\"93384d04\",\"133\":\"84a856e4\",\"134\":\"7917bb50\",\"135\":\"75784635\",\"136\":\"a43f201d\",\"137\":\"01e0dafb\",\"138\":\"709ae84a\",\"139\":\"eab94cce\",\"140\":\"ffca2a50\",\"141\":\"aaf36d28\",\"142\":\"7c960a7c\",\"143\":\"0651c7e9\",\"144\":\"829ceb5d\",\"145\":\"0637c172\",\"146\":\"3be1e5c7\",\"147\":\"7e7c2ef6\",\"148\":\"6db27ab4\",\"149\":\"22fb665f\",\"150\":\"0eaa3184\",\"151\":\"105b7b1e\",\"152\":\"56ef5ab6\",\"153\":\"63f51ffd\",\"154\":\"f0b2932b\",\"155\":\"1901f052\",\"156\":\"8781bd3e\",\"157\":\"67f8ab9a\",\"158\":\"a1efdd9d\",\"159\":\"931479e6\",\"160\":\"c494e058\",\"161\":\"f82d00ee\",\"162\":\"912232b6\",\"163\":\"00ba9a16\",\"164\":\"8649a88d\",\"165\":\"56c9dad1\",\"166\":\"dfc66226\",\"167\":\"783ee1cd\",\"168\":\"06c9fa99\",\"169\":\"bc789ed1\",\"170\":\"7c6f7e37\",\"171\":\"9a6d3ca1\",\"172\":\"6a566161\",\"173\":\"43009f51\",\"174\":\"a955cad1\",\"175\":\"7d2cf381\",\"176\":\"7dbf399d\",\"177\":\"f8c877ef\",\"178\":\"037374fd\",\"179\":\"3191854e\",\"180\":\"b14890cf\",\"181\":\"3a0ddef6\",\"182\":\"fa78a26f\",\"183\":\"1aa60178\",\"184\":\"c59bc7f1\",\"185\":\"77087ba6\",\"186\":\"0cfe8230\",\"187\":\"bf2de7a2\",\"188\":\"63bb326f\",\"189\":\"03efafea\",\"190\":\"7d626967\",\"191\":\"3e6e0f5c\",\"192\":\"07415691\",\"193\":\"138dac53\",\"194\":\"a552a0fa\",\"195\":\"30430118\",\"196\":\"de46d5ac\",\"197\":\"46aa83df\",\"198\":\"9a6ca9ba\",\"199\":\"9d7c57ae\",\"200\":\"821476fa\",\"201\":\"768209ef\",\"202\":\"3a0f8652\",\"203\":\"104ca417\",\"204\":\"7ff34351\",\"205\":\"000d29e0\",\"206\":\"1676a767\",\"207\":\"c6bd785e\",\"208\":\"2a087d18\",\"209\":\"40e29462\",\"210\":\"94284bbb\",\"211\":\"3b9f049b\",\"212\":\"07e02e1b\",\"213\":\"29b0f02f\",\"214\":\"e482faf8\",\"215\":\"3b881114\",\"216\":\"b52dbee3\",\"217\":\"6ede5b3b\",\"218\":\"7084066b\",\"219\":\"84245141\",\"220\":\"410e4e46\",\"221\":\"eb1877dc\",\"222\":\"c77e91a0\",\"223\":\"6bdae304\",\"224\":\"43bd6bb1\",\"225\":\"58f776a6\",\"226\":\"0b43de8a\",\"227\":\"6b847816\",\"228\":\"ed11888c\",\"229\":\"4f013409\",\"230\":\"8d65639b\",\"231\":\"fa1600bf\",\"232\":\"f8ba6ed4\",\"233\":\"4050b573\",\"234\":\"98e02ff7\",\"235\":\"4a143a7f\",\"236\":\"4ec1ecf8\",\"237\":\"5383aa26\",\"238\":\"539c59d6\",\"239\":\"b1dc9941\",\"240\":\"9bc81990\",\"241\":\"6cb65b1f\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"0\":1,\"1\":1,\"2\":1,\"4\":1,\"78\":1,\"79\":1,\"80\":1,\"81\":1,\"82\":1,\"83\":1,\"84\":1,\"87\":1,\"89\":1,\"90\":1,\"91\":1,\"93\":1,\"94\":1,\"95\":1,\"97\":1,\"103\":1,\"105\":1,\"106\":1,\"108\":1,\"109\":1,\"110\":1,\"111\":1,\"112\":1,\"113\":1,\"114\":1,\"115\":1,\"117\":1,\"119\":1,\"120\":1,\"124\":1,\"126\":1,\"127\":1,\"129\":1,\"134\":1,\"135\":1,\"147\":1,\"150\":1,\"151\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"static/css/\" + ({}[chunkId]||chunkId) + \".\" + {\"0\":\"5cbf8cb5\",\"1\":\"ebab8496\",\"2\":\"f8716159\",\"3\":\"31d6cfe0\",\"4\":\"b5d3c2a8\",\"5\":\"31d6cfe0\",\"6\":\"31d6cfe0\",\"7\":\"31d6cfe0\",\"8\":\"31d6cfe0\",\"9\":\"31d6cfe0\",\"78\":\"5f551ec3\",\"79\":\"5659bfe2\",\"80\":\"c0359596\",\"81\":\"a600716c\",\"82\":\"12097e3b\",\"83\":\"a42677ec\",\"84\":\"23ab55be\",\"85\":\"31d6cfe0\",\"86\":\"31d6cfe0\",\"87\":\"d9ded62d\",\"88\":\"31d6cfe0\",\"89\":\"6c9f324e\",\"90\":\"33e6bf77\",\"91\":\"217f1b77\",\"92\":\"31d6cfe0\",\"93\":\"7cdba45a\",\"94\":\"094b894c\",\"95\":\"75c49f36\",\"96\":\"31d6cfe0\",\"97\":\"e618851d\",\"98\":\"31d6cfe0\",\"99\":\"31d6cfe0\",\"100\":\"31d6cfe0\",\"101\":\"31d6cfe0\",\"102\":\"31d6cfe0\",\"103\":\"ddd7c7a8\",\"104\":\"31d6cfe0\",\"105\":\"c8d52092\",\"106\":\"204d0035\",\"107\":\"31d6cfe0\",\"108\":\"db46ad77\",\"109\":\"2ee881b7\",\"110\":\"7cd5f45a\",\"111\":\"a813afc6\",\"112\":\"7968e534\",\"113\":\"6d85e83c\",\"114\":\"cef422c6\",\"115\":\"9db74860\",\"116\":\"31d6cfe0\",\"117\":\"8dac13e5\",\"118\":\"31d6cfe0\",\"119\":\"f4ee7a8b\",\"120\":\"ad91a37a\",\"121\":\"31d6cfe0\",\"122\":\"31d6cfe0\",\"123\":\"31d6cfe0\",\"124\":\"48447ad1\",\"125\":\"31d6cfe0\",\"126\":\"b683884c\",\"127\":\"4ae62b3e\",\"128\":\"31d6cfe0\",\"129\":\"b7dbb1fb\",\"130\":\"31d6cfe0\",\"131\":\"31d6cfe0\",\"132\":\"31d6cfe0\",\"133\":\"31d6cfe0\",\"134\":\"3a722c62\",\"135\":\"4ebcfbe7\",\"136\":\"31d6cfe0\",\"137\":\"31d6cfe0\",\"138\":\"31d6cfe0\",\"139\":\"31d6cfe0\",\"140\":\"31d6cfe0\",\"141\":\"31d6cfe0\",\"142\":\"31d6cfe0\",\"143\":\"31d6cfe0\",\"144\":\"31d6cfe0\",\"145\":\"31d6cfe0\",\"146\":\"31d6cfe0\",\"147\":\"bada09a3\",\"148\":\"31d6cfe0\",\"149\":\"31d6cfe0\",\"150\":\"284fd4dd\",\"151\":\"8ee8782f\",\"152\":\"31d6cfe0\",\"153\":\"31d6cfe0\",\"154\":\"31d6cfe0\",\"155\":\"31d6cfe0\",\"156\":\"31d6cfe0\",\"157\":\"31d6cfe0\",\"158\":\"31d6cfe0\",\"159\":\"31d6cfe0\",\"160\":\"31d6cfe0\",\"161\":\"31d6cfe0\",\"162\":\"31d6cfe0\",\"163\":\"31d6cfe0\",\"164\":\"31d6cfe0\",\"165\":\"31d6cfe0\",\"166\":\"31d6cfe0\",\"167\":\"31d6cfe0\",\"168\":\"31d6cfe0\",\"169\":\"31d6cfe0\",\"170\":\"31d6cfe0\",\"171\":\"31d6cfe0\",\"172\":\"31d6cfe0\",\"173\":\"31d6cfe0\",\"174\":\"31d6cfe0\",\"175\":\"31d6cfe0\",\"176\":\"31d6cfe0\",\"177\":\"31d6cfe0\",\"178\":\"31d6cfe0\",\"179\":\"31d6cfe0\",\"180\":\"31d6cfe0\",\"181\":\"31d6cfe0\",\"182\":\"31d6cfe0\",\"183\":\"31d6cfe0\",\"184\":\"31d6cfe0\",\"185\":\"31d6cfe0\",\"186\":\"31d6cfe0\",\"187\":\"31d6cfe0\",\"188\":\"31d6cfe0\",\"189\":\"31d6cfe0\",\"190\":\"31d6cfe0\",\"191\":\"31d6cfe0\",\"192\":\"31d6cfe0\",\"193\":\"31d6cfe0\",\"194\":\"31d6cfe0\",\"195\":\"31d6cfe0\",\"196\":\"31d6cfe0\",\"197\":\"31d6cfe0\",\"198\":\"31d6cfe0\",\"199\":\"31d6cfe0\",\"200\":\"31d6cfe0\",\"201\":\"31d6cfe0\",\"202\":\"31d6cfe0\",\"203\":\"31d6cfe0\",\"204\":\"31d6cfe0\",\"205\":\"31d6cfe0\",\"206\":\"31d6cfe0\",\"207\":\"31d6cfe0\",\"208\":\"31d6cfe0\",\"209\":\"31d6cfe0\",\"210\":\"31d6cfe0\",\"211\":\"31d6cfe0\",\"212\":\"31d6cfe0\",\"213\":\"31d6cfe0\",\"214\":\"31d6cfe0\",\"215\":\"31d6cfe0\",\"216\":\"31d6cfe0\",\"217\":\"31d6cfe0\",\"218\":\"31d6cfe0\",\"219\":\"31d6cfe0\",\"220\":\"31d6cfe0\",\"221\":\"31d6cfe0\",\"222\":\"31d6cfe0\",\"223\":\"31d6cfe0\",\"224\":\"31d6cfe0\",\"225\":\"31d6cfe0\",\"226\":\"31d6cfe0\",\"227\":\"31d6cfe0\",\"228\":\"31d6cfe0\",\"229\":\"31d6cfe0\",\"230\":\"31d6cfe0\",\"231\":\"31d6cfe0\",\"232\":\"31d6cfe0\",\"233\":\"31d6cfe0\",\"234\":\"31d6cfe0\",\"235\":\"31d6cfe0\",\"236\":\"31d6cfe0\",\"237\":\"31d6cfe0\",\"238\":\"31d6cfe0\",\"239\":\"31d6cfe0\",\"240\":\"31d6cfe0\",\"241\":\"31d6cfe0\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = this[\"webpackJsonpjitsu-configurator-ui\"] = this[\"webpackJsonpjitsu-configurator-ui\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \tvar startupResult = (function() {\n \t// add entry module to deferred list\n \tdeferredModules.push([1551,53,37,65,68,62,46,67,60,38,39,40,51,64,66,49,35,36,76,42,56,32,59,57,61,43,73,28,75,77,45,31,69,34,52,63,48,33,72,70,44,41,55,47,50,29,30,54,71,74,58,25,17,14,21,11,19,24,16,26,15,22,10,12,23,20,18,13]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n \t})();\n\n \twebpackJsonpCallback([[], {}, 0, [0,1,2,5,3,6,7,79,140,80,106,93,90,91,4,111,163,155,112,117,126,127,147,164]]);\n \treturn startupResult;\n","// @Libs\nimport { flow, flowResult, makeObservable } from \"mobx\"\n// @Services\nimport ApplicationServices from \"lib/services/ApplicationServices\"\n// @Stores\nimport { EntitiesStore } from \"./entitiesStore\"\nimport { apiKeysStore, ApiKeysStore } from \"./apiKeys\"\n// @Catalog\nimport { destinationsReferenceMap, Destination } from \"@jitsu/catalog\"\n// @Utils\nimport { randomId } from \"utils/numbers\"\n// @Types\nimport type { PgDatabaseCredentials } from \"lib/services/model\"\n\nexport class DestinationsStore extends EntitiesStore {\n private readonly apiKeysStore: ApiKeysStore = apiKeysStore\n protected readonly services: ApplicationServices\n\n constructor() {\n super(\"destinations\", {\n idField: \"_uid\",\n hideElements: dst => destinationsReferenceMap[dst._type]?.hidden,\n })\n this.services = ApplicationServices.get()\n makeObservable(this, {\n createFreeDatabase: flow,\n })\n }\n\n public getDestinationReferenceById(id: string): Destination | null {\n const destination: DestinationData | null = this.get(id)\n return destination ? destinationsReferenceMap[destination._type] : null\n }\n\n public *createFreeDatabase() {\n const credentials: PgDatabaseCredentials = yield this.services.backendApiClient.post(\"/database\", {\n projectId: this.services.activeProject.id,\n })\n const freeDatabaseDestination: DestinationData = {\n _type: \"postgres\",\n _comment:\n \"We set up a test postgres database for you. It's hosted by us and has a 10,000 rows limitation. It's ok\" +\n \" to try with service with it. However, don't use it in production setup. To reveal credentials, click on the 'Edit' button\",\n _id: \"demo_postgres\",\n _uid: randomId(),\n _mappings: null,\n _onlyKeys: [],\n _connectionTestOk: true,\n _sources: [],\n _formData: {\n pguser: credentials[\"User\"],\n pgpassword: credentials[\"Password\"],\n pghost: credentials[\"Host\"],\n pgport: credentials[\"Port\"],\n pgdatabase: credentials[\"Database\"],\n mode: \"stream\",\n },\n }\n yield flowResult(this.apiKeysStore.generateAddInitialApiKeyIfNeeded())\n const linkedFreeDatabaseDestination: DestinationData = {\n ...freeDatabaseDestination,\n _onlyKeys: [this.apiKeysStore.list[0].uid],\n }\n yield flowResult(this.add(linkedFreeDatabaseDestination))\n }\n}\n\nexport const destinationsStore = new DestinationsStore()\n","import { makeAutoObservable } from \"mobx\"\nimport { ReactNode } from \"react\"\nimport { cloneDeep } from \"lodash\"\n\n/**\n * Breadcrumb element\n */\nexport type BreadcrumbElement = {\n /**\n * Link. If not set, the element will not be highlighted\n */\n link?: string\n /**\n * If link is absolute. Otherwise, it's going to be relative to the project\n */\n absolute?: boolean\n /**\n * Link title\n */\n title: ReactNode\n}\n\ninterface ICurrentPageHeader {\n /** the list of breadcrumbs to render */\n breadcrumbs: BreadcrumbElement[]\n /**\n * Sets breadcrumbs. If first element doesn't point to project home, it will be added\n * automatically\n */\n setBreadcrumbs(...breadcrumbs: (BreadcrumbElement | string)[])\n}\n\n/**\n * This store allows components to modify page header.\n *\n * At the moment, it only stores the breadcrumbs at the top of the page\n */\nclass CurrentPageHeader implements ICurrentPageHeader {\n private _breadcrumbs: BreadcrumbElement[]\n\n constructor() {\n makeAutoObservable(this)\n }\n\n get breadcrumbs(): BreadcrumbElement[] {\n if (!this._breadcrumbs || this._breadcrumbs.length == 0) {\n return [{ link: \"/\", title: \"Home\" }]\n }\n /**\n * Deep copying `title` JSX Element object in order to prevent React from freezing it in\n * store on render. Otherwise, MobX _might_ occasionally throw `Dynamic observable objects\n * cannot be frozen`\n */\n return this._breadcrumbs.map(element => ({ ...element, title: cloneDeep(element.title) }))\n }\n\n setBreadcrumbs(...breadcrumbs: (BreadcrumbElement | string)[]) {\n console.log(\"Setting breadcrumbs\", breadcrumbs)\n let normalized: BreadcrumbElement[] = breadcrumbs.map(b => (typeof b === \"string\" ? { title: b } : b))\n this._breadcrumbs =\n normalized.length > 0 && normalized[0].link === \"/\" ? normalized : [{ link: \"/\", title: \"Home\" }, ...normalized]\n }\n}\n\nexport const currentPageHeaderStore: ICurrentPageHeader = new CurrentPageHeader()\n","import { EntitiesStore } from \"./entitiesStore\"\n\nexport type SourcesStore = EntitiesStore\n\nexport const sourcesStore = new EntitiesStore(\"sources\", { idField: \"sourceId\" })\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin\nmodule.exports = {\"box-shadow-base\":\"GetStartedPage_box-shadow-base__2hutx\",\"border-debug\":\"GetStartedPage_border-debug__2WwpL\",\"font-heading\":\"GetStartedPage_font-heading__1pLNn\",\"font-monospace\":\"GetStartedPage_font-monospace__212Cg\",\"ant-select-disabled\":\"GetStartedPage_ant-select-disabled__XDCUk\",\"ant-select\":\"GetStartedPage_ant-select__2-hyG\",\"ant-select-customize-input\":\"GetStartedPage_ant-select-customize-input__3uatj\",\"ant-select-selector\":\"GetStartedPage_ant-select-selector__2hfFQ\",\"ant-input-number-disabled\":\"GetStartedPage_ant-input-number-disabled__2ciM3\",\"ant-select-item-option-selected\":\"GetStartedPage_ant-select-item-option-selected__15uRB\",\"ant-select-item-option-active\":\"GetStartedPage_ant-select-item-option-active__1guRt\",\"ant-dropdown-menu-submenu-active\":\"GetStartedPage_ant-dropdown-menu-submenu-active__7FFzu\",\"ant-dropdown-menu-submenu-title\":\"GetStartedPage_ant-dropdown-menu-submenu-title__2GSDM\",\"ant-collapse-content-box\":\"GetStartedPage_ant-collapse-content-box__22JQx\",\"ant-card\":\"GetStartedPage_ant-card__28IKw\",\"ant-modal-content\":\"GetStartedPage_ant-modal-content__3k8xH\",\"ant-table-tbody\":\"GetStartedPage_ant-table-tbody__3JvM7\",\"ant-table-thead\":\"GetStartedPage_ant-table-thead__1A9TH\",\"ant-checkbox-inner\":\"GetStartedPage_ant-checkbox-inner___VDLR\",\"ant-modal-header\":\"GetStartedPage_ant-modal-header__2l9-D\",\"ant-table\":\"GetStartedPage_ant-table__2jKht\",\"ant-list-split\":\"GetStartedPage_ant-list-split__4J3Ud\",\"ant-list-header\":\"GetStartedPage_ant-list-header__1dTU5\",\"ant-tag\":\"GetStartedPage_ant-tag__3_k28\",\"ant-tooltip-inner\":\"GetStartedPage_ant-tooltip-inner__2v5FA\",\"ant-badge-status-processing\":\"GetStartedPage_ant-badge-status-processing__1vv78\",\"ant-dropdown-menu-item-active\":\"GetStartedPage_ant-dropdown-menu-item-active__3SFvd\",\"ant-dropdown\":\"GetStartedPage_ant-dropdown__2cFGk\",\"ant-popover-inner\":\"GetStartedPage_ant-popover-inner__3QlRt\",\"ant-popover-arrow\":\"GetStartedPage_ant-popover-arrow__2yGau\",\"ant-popover-placement-rightTop\":\"GetStartedPage_ant-popover-placement-rightTop__2YafL\",\"ant-popover-content\":\"GetStartedPage_ant-popover-content__2Dlkl\",\"ant-popover-placement-leftBottom\":\"GetStartedPage_ant-popover-placement-leftBottom__2xKyc\",\"ant-popover-placement-bottomRight\":\"GetStartedPage_ant-popover-placement-bottomRight__1tWl3\",\"ant-popover-placement-top\":\"GetStartedPage_ant-popover-placement-top__1-ql8\",\"icon-size-base\":\"GetStartedPage_icon-size-base__3rYCW\",\"icon-size-lg\":\"GetStartedPage_icon-size-lg__VPktH\",\"ant-tabs-card\":\"GetStartedPage_ant-tabs-card__1kS4v\",\"ant-tabs-tab-active\":\"GetStartedPage_ant-tabs-tab-active__1Aerf\",\"ant-skeleton\":\"GetStartedPage_ant-skeleton__1QpuH\",\"ant-skeleton-paragraph\":\"GetStartedPage_ant-skeleton-paragraph__1pPDY\",\"featureList\":\"GetStartedPage_featureList__3HptX\",\"heroLink\":\"GetStartedPage_heroLink__RRLzL\"};","export const withQueryParams = (\n baseUrl: string,\n paramsDict?: { [key: string]: string },\n options?: { encode?: string[] }\n): string => {\n const firstSep = baseUrl.includes(\"?\") ? \"&\" : \"?\"\n return !paramsDict\n ? baseUrl\n : Object.entries(paramsDict)\n .reduce((accumulator, current) => {\n let [key, value] = current\n if (value === null || value === undefined) {\n return accumulator\n }\n if ((options?.encode ?? []).includes(key)) {\n value = encodeURIComponent(value)\n }\n return `${accumulator}${key}=${value}&`\n }, `${baseUrl}${firstSep}`)\n .slice(0, -1)\n}\n","import ApplicationServices from \"lib/services/ApplicationServices\"\nimport { remove } from \"lodash\"\nimport { makeObservable, observable, computed, action, flow } from \"mobx\"\nimport { getObjectDepth } from \"lib/commons/utils\"\n\nexport type EntityType = \"api_keys\" | \"sources\" | \"destinations\"\nexport type EntityData = ApiKey | SourceData | DestinationData\nexport enum EntitiesStoreStatus {\n \"IDLE\" = \"IDLE\",\n \"GLOBAL_LOADING\" = \"GLOBAL_LOADING\",\n \"BACKGROUND_LOADING\" = \"BACKGROUND_LOADING\",\n \"GLOBAL_ERROR\" = \"GLOBAL_ERROR\",\n}\n\ntype EntitySchema = {\n /** Unique id field of the entity */\n idField: string\n /** Tells which entities to exclude from the `store.list` list*/\n hideElements?: (entity: T) => boolean\n}\n\n// (!) TO DO: move type to this file\nconst { IDLE, GLOBAL_LOADING, BACKGROUND_LOADING, GLOBAL_ERROR } = EntitiesStoreStatus\n\n/**\n * Generic entities store class for manipulating objects.\n *\n * Methods of this class both make API calls and update the subscribed UI components.\n *\n * For creating a new store either instantiate this class or a class that extends this one:\n * @example\n * // Using EntitiesStore class\n * const apiKeysStore = new EntitiesStore(\"api_keys\", {idField: \"uid\"})\n *\n * // Using an extended class\n * const destinationsStore = new DestinationsStore()\n * class DestinationsStore extends EntitiesStore {\n * constructor() {\n * super(\"destinations\", {\n * idField: \"_uid\",\n * connectedEntitiesFields: { sources: \"_sources\", api_keys: \"_only_keys\" },\n * hideElements: dst => destinationsReferenceMap[dst._type]?.hidden,\n * })\n * }\n *\n * public someDestinationsSpecificMethod() {\n * // logic\n * }\n * }\n **/\nexport class EntitiesStore {\n protected _initialized: boolean = false\n protected _state: { status: EntitiesStoreStatus; errorMessage: string } = observable({\n status: IDLE,\n errorMessage: \"\",\n })\n protected readonly type: EntityType\n protected readonly schema: EntitySchema\n protected readonly services: ApplicationServices\n\n _entities: T[] = []\n\n constructor(type: EntityType, schema: EntitySchema) {\n this.type = type\n this.schema = schema\n this.services = ApplicationServices.get()\n this.get = this.get.bind(this)\n makeObservable(this, {\n _entities: observable,\n status: computed,\n errorMessage: computed,\n list: computed,\n listHidden: computed,\n listIncludeHidden: computed,\n get: action.bound,\n pullAll: flow.bound,\n add: flow.bound,\n delete: flow.bound,\n replace: flow.bound,\n patch: flow.bound,\n })\n }\n\n protected setStatus(status: EntitiesStoreStatus) {\n this._state.status = status\n }\n\n protected setError(message: string) {\n this._state.status = GLOBAL_ERROR\n this._state.errorMessage = message\n }\n\n protected resetError() {\n this._state.errorMessage = \"\"\n this._state.status = IDLE\n }\n\n protected getId(entity: T): string {\n return entity[this.schema.idField]\n }\n\n public get list() {\n return this.schema.hideElements\n ? this._entities.filter(element => !this.schema.hideElements(element))\n : this._entities\n }\n\n public get listHidden() {\n return this.schema.hideElements ? this._entities.filter(element => this.schema.hideElements(element)) : []\n }\n\n public get listIncludeHidden() {\n return this._entities\n }\n\n public get status() {\n return this._state.status\n }\n\n public get isInitialized(): boolean {\n return this._initialized\n }\n\n public get errorMessage() {\n return this._state.errorMessage\n }\n\n public get(id: string): T | null {\n return this.list.find(entity => this.getId(entity) === id)\n }\n\n public *pullAll(options?: { showGlobalLoader?: boolean }) {\n const { showGlobalLoader } = options ?? { showGlobalLoader: false }\n this.resetError()\n this.setStatus(showGlobalLoader ? GLOBAL_LOADING : BACKGROUND_LOADING)\n try {\n const entities = yield this.services.storageService.table(this.type).getAll()\n this._entities = entities ?? []\n this._initialized = true\n } catch (error) {\n this.setError(`Failed to fetch ${this.type}: ${error.message || error}`)\n } finally {\n this.setStatus(IDLE)\n }\n }\n\n public *add(entityToAdd: T): Generator {\n this.resetError()\n this.setStatus(BACKGROUND_LOADING)\n try {\n const addedEntity = yield this.services.storageService.table(this.type).add(entityToAdd)\n if (!addedEntity) {\n throw new Error(`Error: '${this.type}' store failed to add an entity ${entityToAdd}`)\n }\n this._entities.push(addedEntity)\n return addedEntity\n } finally {\n this.setStatus(IDLE)\n }\n }\n\n public *delete(id: string) {\n this.resetError()\n this.setStatus(BACKGROUND_LOADING)\n try {\n yield this.services.storageService.table(this.type).delete(id)\n remove(this._entities, entity => this.getId(entity) === id)\n } finally {\n this.setStatus(IDLE)\n }\n }\n\n public *replace(entity: T) {\n this.resetError()\n this.setStatus(BACKGROUND_LOADING)\n try {\n const index = this._entities.findIndex(item => this.getId(item) === this.getId(entity))\n if (index >= 0) {\n yield this.services.storageService.table(this.type).replace(this.getId(entity), entity)\n this._entities[index] = entity\n } else {\n throw new Error(`Error: ${this.type} store failed to replace entity in store. Entity: ${entity}`)\n }\n } finally {\n this.setStatus(IDLE)\n }\n }\n\n public *patch(id: string, patch: Partial) {\n this.resetError()\n this.setStatus(BACKGROUND_LOADING)\n try {\n if (getObjectDepth(patch) > 2) {\n throw new Error(`Entities recursive patch is not supported`)\n }\n yield this.services.storageService.table(this.type).patch(id, patch)\n Object.assign(this.get(id), patch)\n } finally {\n this.setStatus(IDLE)\n }\n }\n}\n","import { naturalSort } from \"./arrays\"\n\nfunction randomId(len?: number) {\n const str = Math.random().toString(36).substring(2, len) + Math.random().toString(36).substring(2, 15)\n return len ? str.substr(0, len) : str\n}\n\nfunction getUniqueAutoIncId(base: string, exists: string[]) {\n if (!exists.includes(base)) {\n return base\n }\n\n const existsBase = naturalSort(exists.filter(e => e.startsWith(base) && !isNaN(Number(e.replace(base, \"\")))))\n\n const baseTail = Number(existsBase[existsBase.length - 1].replace(base, \"\")) + 1\n\n return `${base}${baseTail}`\n}\n\nexport { randomId, getUniqueAutoIncId }\n","// @Libs\nimport { memo } from \"react\"\nimport cn from \"classnames\"\n// @Types\nimport { SizeType } from \"antd/lib/config-provider/SizeContext\"\n// @Styles\nimport \"./FloatingLabel.less\"\n\nexport interface Props {\n className?: string\n htmlFor: string\n render: React.ReactNode\n size?: SizeType\n hasValue?: boolean\n}\n\nconst FloatingLabelComponent = ({ className, htmlFor, render, hasValue, size }: Props) => {\n return (\n \n {render}\n \n )\n}\n\nFloatingLabelComponent.displayName = \"FloatingLabel\"\n\nexport const FloatingLabel = memo(FloatingLabelComponent)\n","// @Libs\nimport * as React from \"react\"\nimport { Form, Input } from \"antd\"\nimport cn from \"classnames\"\nimport get from \"lodash/get\"\n// @Components\nimport { FloatingLabel } from \"ui/components/FloatingLabelInput/FloatingLabel\"\n// @Types\nimport { Rule } from \"antd/lib/form\"\nimport { SizeType } from \"antd/lib/config-provider/SizeContext\"\n\nexport interface Props {\n className?: string\n wrapClassName?: string\n name: any\n formName: string\n floatingLabelText: React.ReactNode\n rules?: Rule[]\n size?: SizeType\n prefix?: React.ReactNode\n inputType?:\n | \"button\"\n | \"checkbox\"\n | \"file\"\n | \"hidden\"\n | \"image\"\n | \"password\"\n | \"radio\"\n | \"reset\"\n | \"submit\"\n | \"text\"\n | \"email\"\n | \"range\"\n | \"search\"\n | \"tel\"\n | \"url\"\n}\n\nconst FloatingLabelInputComponent = ({\n formName,\n name,\n rules,\n floatingLabelText,\n prefix,\n inputType = \"text\",\n size,\n className,\n wrapClassName,\n}: Props) => {\n return (\n get(prevValues, name) !== get(currentValues, name)}>\n {/* ToDo: getInternalHooks what is it??? */}\n {({ getFieldValue }) => (\n \n \n }\n type={inputType}\n size={size}\n />\n \n )}\n \n )\n}\n\nFloatingLabelInputComponent.displayName = \"FloatingLabelInput\"\n\nexport const FloatingLabelInput = React.memo(FloatingLabelInputComponent)\n","// @Libs\nimport React, { memo } from \"react\"\nimport { Tooltip } from \"antd\"\nimport cn from \"classnames\"\n// @Icons\nimport QuestionCircleOutlined from \"@ant-design/icons/lib/icons/QuestionCircleOutlined\"\n\nexport interface Props {\n render?: React.ReactNode\n documentation: React.ReactNode\n className?: string\n}\n\nconst LabelWithTooltipComponent = ({ render, documentation, className }: Props) => (\n \n {render} \n \n \n \n \n)\n\nLabelWithTooltipComponent.displayName = \"LabelWithTooltip\"\n\nexport const LabelWithTooltip = memo(LabelWithTooltipComponent)\n","import { without } from \"lodash\"\nimport { EntitiesStore, EntityData } from \"stores/entitiesStore\"\nimport { ApiKeysStore, apiKeysStore } from \"stores/apiKeys\"\nimport { sourcesStore, SourcesStore } from \"stores/sources\"\nimport { destinationsStore, DestinationsStore } from \"stores/destinations\"\nimport { flowResult } from \"mobx\"\n\nclass ConnectionsHelper {\n private readonly sourcesStore: SourcesStore\n private readonly destinationsStore: DestinationsStore\n private readonly apiKeysStore: ApiKeysStore\n\n constructor(stores: { sources: SourcesStore; destinations: DestinationsStore; apiKeysStore: ApiKeysStore }) {\n this.sourcesStore = stores.sources\n this.destinationsStore = stores.destinations\n this.apiKeysStore = stores.apiKeysStore\n }\n\n public async unconnectDeletedApiKey(apiKeyId: string) {\n await this.updateDestinationsConnectionsToApiKey(apiKeyId, [])\n }\n\n public async unconnectDeletedSource(sourceId: string) {\n await this.updateDestinationsConnectionsToSource(sourceId, [])\n }\n\n public async unconnectDeletedDestination(destinationId: string) {\n await this.updateSourcesConnectionsToDestination(destinationId, [])\n }\n\n public async updateSourcesConnectionsToDestination(destinationId: string, connectedSourcesIds: string[]) {\n await this.updateEntitiesConnections(destinationId, connectedSourcesIds, {\n store: this.sourcesStore,\n idField: \"sourceId\",\n connectedEntitiesIdsField: \"destinations\",\n })\n }\n\n public async updateDestinationsConnectionsToSource(sourceId: string, connectedDestinationsIds: string[]) {\n await this.updateEntitiesConnections(sourceId, connectedDestinationsIds, {\n store: this.destinationsStore,\n idField: \"_uid\",\n connectedEntitiesIdsField: \"_sources\",\n })\n }\n\n public async updateDestinationsConnectionsToApiKey(apiKeyId: string, connectedDestinationsIds: string[]) {\n await this.updateEntitiesConnections(apiKeyId, connectedDestinationsIds, {\n store: this.destinationsStore,\n idField: \"_uid\",\n connectedEntitiesIdsField: \"_onlyKeys\",\n })\n }\n\n /**\n * Finds and unconnects non-existent entities that may exist due\n * to connections management errors in UI\n */\n public async healConnections() {\n if ([this.sourcesStore, this.destinationsStore, this.apiKeysStore].some(store => !store.isInitialized)) {\n return\n }\n\n const destinations = this.destinationsStore.listIncludeHidden\n const sources = this.sourcesStore.listIncludeHidden\n const apiKeys = this.apiKeysStore.listIncludeHidden\n\n const nonExistentApiKeys: string[] = []\n const nonExistentSources: string[] = []\n const existingApiKeys = apiKeys.map(key => key.uid)\n const existingSources = sources.map(src => src.sourceId)\n destinations.forEach(destination => {\n destination._onlyKeys?.forEach(key => {\n if (!existingApiKeys.includes(key)) nonExistentApiKeys.push(key)\n })\n destination._sources?.forEach(src => {\n if (!existingSources.includes(src)) nonExistentSources.push(src)\n })\n })\n\n const nonExistentDestinations: string[] = []\n const existingDestinations = destinations.map(key => key._uid)\n sources.forEach(source => {\n source.destinations.forEach(dst => {\n if (!existingDestinations.includes(dst)) nonExistentDestinations.push(dst)\n })\n })\n\n await Promise.all([\n ...nonExistentApiKeys.map(nonExistentKey => this.unconnectDeletedApiKey(nonExistentKey)),\n ...nonExistentSources.map(nonExistentSrc => this.unconnectDeletedSource(nonExistentSrc)),\n ...nonExistentDestinations.map(nonExistentKey => this.unconnectDeletedDestination(nonExistentKey)),\n ])\n }\n\n /**\n * Updates entities specified in `connectedEntitiesIds` by an entity to the other entities in the list (if not already connected) or disconnects\n * this entity from all entities that are not in the list (if there are ones that connected)\n * @param entityId - entity that will be connected to the every entity in the following list\n * @param connectedEntitiesIds - list of entities that will be connected to the entity specified as the first parameter\n * @param connectedEntitiesSchema - schema of the entities in the list\n *\n * @example\n *\n * // will disconnect all connected destinations from source with `sourceId`\n * await this.updateEntitiesConnections(sourceId, [], {\n * store: this.destinationsStore,\n * idField: \"_uid\",\n * connectedEntitiesIdsField: \"_sources\",\n * })\n *\n * // will connect source with id `sourceId` to all destination with `connectedDestinationsIds` and will de\n * // will disconnect all non-listed destinations in `connectedDestinationsIds` from source with `sourceId`\n * await this.updateEntitiesConnections(sourceId, connectedDestinationsIds, {\n * store: this.destinationsStore,\n * idField: \"_uid\",\n * connectedEntitiesIdsField: \"_sources\",\n * })\n */\n private async updateEntitiesConnections(\n entityId: string,\n connectedEntitiesIds: string[],\n connectedEntitiesSchema: { store: EntitiesStore; idField: string; connectedEntitiesIdsField: string }\n ): Promise {\n const patches: { [id: string]: Partial } = {}\n const { connectedEntitiesIdsField } = connectedEntitiesSchema\n connectedEntitiesSchema.store.list.forEach(entity => {\n const entityShouldBeConnected = connectedEntitiesIds.includes(entity[connectedEntitiesSchema.idField])\n const entityIsConnected = !!entity[connectedEntitiesIdsField]?.includes(entityId)\n if (entityIsConnected === entityShouldBeConnected) return\n\n if (entityShouldBeConnected) {\n patches[entity[connectedEntitiesSchema.idField]] = {\n [connectedEntitiesIdsField]: [...(entity[connectedEntitiesIdsField] ?? []), entityId],\n } as any\n } else {\n patches[entity[connectedEntitiesSchema.idField]] = {\n [connectedEntitiesIdsField]: without(entity[connectedEntitiesIdsField] ?? [], entityId),\n } as any\n }\n })\n\n await Promise.all(\n Object.entries(patches).map(([entityId, patch]) => {\n return flowResult(connectedEntitiesSchema.store.patch(entityId, patch))\n })\n )\n }\n}\n\nexport const connectionsHelper = new ConnectionsHelper({\n sources: sourcesStore,\n destinations: destinationsStore,\n apiKeysStore: apiKeysStore,\n})\n","import { Button } from \"antd\"\nimport { projectRoute } from \"lib/components/ProjectLink/ProjectLink\"\nimport { useHistory } from \"react-router-dom\"\nimport { NotFound } from \"../NotFound/NotFound\"\n\ntype Props = {\n entityDisplayType: \"API Key\" | \"Source\" | \"Destination\"\n entityId: string\n entitiesListRoute: string\n}\n\nexport const EntityNotFound: React.FC = ({ entityDisplayType, entityId, entitiesListRoute }) => {\n const history = useHistory()\n return (\n \n {entityDisplayType} with ID {entityId && {entityId}} not found\n \n }\n footer={\n \n }\n />\n )\n}\n","import { isArray } from \"./typeCheck\"\n\nexport const naturalSort = (array: string[]): string[] => {\n const collator = new Intl.Collator(undefined, {\n numeric: true,\n sensitivity: \"base\",\n })\n\n return array.sort(collator.compare)\n}\n\n/**\n * Converts argument to array of a single value if it is not already an array\n * @param arg - value to convert\n * @returns array\n */\nexport const toArrayIfNot = (arg: T | T[]): T[] => {\n return isArray(arg) ? arg : [arg]\n}\n\n/**\n * Adds value to array if it is not already there. Uses SameValueZero comparison.\n * @param array array to add value to\n * @param value value to add\n * @param comparator custom comparison function that should accept two values and return\n * boolean that is true if elements are equal.\n * @returns a copy of initial array with an added value, or an array without modification\n */\nexport const addToArrayIfNotDuplicate = (array: T[], value: T, comparator?: (a: T, b: T) => boolean): T[] => {\n const isEqual = comparator ?? ((a: T, b: T) => a === b)\n return array.some(item => isEqual(item, value)) ? [...array] : [...array, value]\n}\n\n/**\n * Returns a new array without the passed `value`\n * @param array an original array\n * @param value value to delete\n * @param comparator custom comparison function that should accept two values and return\n * boolean that is true if elements are equal\n * @returns new array without the `value`\n */\nexport const removeFromArrayIfFound = (array: T[], value: T, comparator?: (a: T, b: T) => boolean): T[] => {\n const isEqual = comparator ?? ((a: T, b: T) => a === b)\n return array.filter(item => !isEqual(value, item))\n}\n\nexport const substituteArrayValueIfFound = (array: T[], value: T, comparator?: (a: T, b: T) => boolean): T[] => {\n const isEqual = comparator ?? ((a: T, b: T) => a === b)\n return array.map(item => (isEqual(value, item) ? value : item))\n}\n\n// /**\n// * Deletes all occurences of values from an array.\n// * @param array to delete values from\n// * @param valuesToDelete - a value or an array of values to delete\n// * @returns a new array with deleted values.\n// */\n// export const removeAllFromArrayByValue = (array: T[], valuesToDelete: T | T[]): T[] => {\n// const listOfValuesToDelete = toArrayIfNot(valuesToDelete);\n// return array.filter(value => !listOfValuesToDelete.find(valueToDelete => valueToDelete === value));\n// }\n\n// /**\n// * Deletes the first occurence of values from an array.\n// * @param array to delete values from\n// * @param valuesToDelete - a value or an array of values to delete\n// * @returns a new array with deleted values.\n// */\n// export const removeFromArrayByValue = (array: T[], valuesToDelete: T | T[]): T[] => {\n// let listOfValuesToDelete = toArrayIfNot(valuesToDelete);\n// return array.filter(value => {\n// const needToDelete = !listOfValuesToDelete.find(valueToDelete => valueToDelete === value);\n// if (needToDelete) listOfValuesToDelete = removeAllFromArrayByValue(listOfValuesToDelete, value);\n// return !needToDelete;\n// });\n// }\n","// @Libs\nimport { makeAutoObservable } from \"mobx\"\nimport React from \"react\"\n// @Reference\nimport { destinationsReferenceMap } from \"@jitsu/catalog\"\nimport { allSourcesMap } from \"@jitsu/catalog\"\n// @Routes\nimport { destinationPageRoutes } from \"ui/pages/DestinationsPage/DestinationsPage.routes\"\nimport { sourcesPageRoutes } from \"ui/pages/SourcesPage/SourcesPage.routes\"\n// @Stores\nimport { destinationsStore } from \"./destinations\"\nimport { apiKeysStore } from \"./apiKeys\"\nimport { sourcesStore } from \"./sources\"\nimport { apiKeysReferenceMap } from \"@jitsu/catalog\"\nimport { projectRoute } from \"lib/components/ProjectLink/ProjectLink\"\nimport { apiKeysRoutes } from \"lib/components/ApiKeys/ApiKeysRouter\"\n\nexport type NotificationData = {\n id: string\n title?: string | React.ReactNode\n message: string\n type: \"danger\" | \"error\" | \"warning\" | \"info\"\n icon?: React.ReactNode\n editEntityRoute: string\n}\n\ninterface IInAppNotificationsStore {\n notifications: NotificationData[]\n hasNotifications: boolean\n}\n\nclass InAppNotificationsStore implements IInAppNotificationsStore {\n private _destinationsStore = destinationsStore\n private _apiKeysStore = apiKeysStore\n private _connectorsStore = sourcesStore\n\n constructor() {\n makeAutoObservable(this)\n }\n\n private get orphanApiKeys(): ApiKey[] {\n return this._apiKeysStore.list.filter(({ uid }) => {\n const keyIsConnected = this._destinationsStore.list.reduce(\n (isConnected, destination) => isConnected || destination._onlyKeys.some(keyUid => keyUid === uid),\n false\n )\n return !keyIsConnected\n })\n }\n\n private get orphanDestinations(): DestinationData[] {\n return this._destinationsStore.list.filter(({ _onlyKeys, _sources }) => !_onlyKeys?.length && !_sources?.length)\n }\n\n private get orphanConnectors(): SourceData[] {\n return this._connectorsStore.list.filter(({ destinations }) => !destinations?.length)\n }\n\n public get notifications(): NotificationData[] {\n return [\n ...this.orphanDestinations.map(({ _id, _type }) => ({\n id: _id,\n title: _id,\n message: `The destination does not have any linked Connectors or API keys and thus will not recieve data.`,\n type: \"danger\" as const,\n icon: destinationsReferenceMap[_type]?.ui.icon,\n editEntityRoute: projectRoute(`${destinationPageRoutes.editExact}`, { id: _id }),\n })),\n ...this.orphanApiKeys.map(({ uid }) => ({\n id: uid,\n title: `API Key ${uid}`,\n message: `The API key is not linked to any destination. Events from pixels using this key will be lost.`,\n type: \"danger\" as const,\n icon: apiKeysReferenceMap.js.icon,\n editEntityRoute: projectRoute(apiKeysRoutes.editExact, { id: uid }),\n })),\n ...this.orphanConnectors.map(({ sourceId, sourceProtoType }) => ({\n id: sourceId,\n title: sourceId,\n message: `The source does not have a linked destination to send events to. Data sync is stopped.`,\n type: \"danger\" as const,\n icon: allSourcesMap[sourceProtoType]?.pic,\n editEntityRoute: projectRoute(`${sourcesPageRoutes.editExact}`, { sourceId }),\n })),\n ]\n }\n\n public get hasNotifications(): boolean {\n return !!this.notifications.length\n }\n}\n\nexport const inAppNotificationsStore = new InAppNotificationsStore()\n","type NotFoundProps = {\n body?: React.ReactNode\n footer?: React.ReactNode\n}\n\nexport const NotFound: React.FC = ({ body, footer }) => {\n return (\n
\n \n {\"🕵\"}\n \n {body &&

{body}

}\n {footer}\n
\n )\n}\n","import { useEffect, useState } from \"react\"\nimport { useHistory } from \"react-router-dom\"\nimport { Button, Form, Input, message, Modal } from \"antd\"\nimport { FloatingLabelInput } from \"../../components/FloatingLabelInput/FloatingLabelInput\"\nimport MailOutlined from \"@ant-design/icons/lib/icons/MailOutlined\"\nimport LockOutlined from \"@ant-design/icons/lib/icons/LockOutlined\"\nimport Icon from \"@ant-design/icons\"\nimport githubLogo from \"../../../icons/github.svg\"\nimport googleLogo from \"../../../icons/google.svg\"\nimport { reloadPage } from \"../../../lib/commons/utils\"\nimport { getErrorPayload } from \"../../../lib/services/analytics\"\nimport { useServices } from \"../../../hooks/useServices\"\nimport ApplicationServices from \"../../../lib/services/ApplicationServices\"\nimport UserOutlined from \"@ant-design/icons/lib/icons/UserOutlined\"\n\nexport const SSO_ERROR_LS_KEY = \"sso_error\"\n\nexport function LoginForm({ supportOauth, ssoAuthLink }) {\n const services = useServices()\n const [loading, setLoading] = useState(false)\n const history = useHistory()\n const [showPasswordResetForm, setShowPasswordResetForm] = useState(false)\n\n useEffect(() => {\n const ssoError = localStorage.getItem(SSO_ERROR_LS_KEY)\n if (ssoError) {\n message.error(ssoError)\n localStorage.removeItem(SSO_ERROR_LS_KEY)\n }\n }, [])\n\n const githubSignIn = async () => {\n try {\n const email = await services.userService.initiateGithubLogin()\n await services.analyticsService.track(\"app_login\", { user: { email }, login_type: \"github\" })\n reloadPage()\n } catch (error) {\n message.destroy()\n services.analyticsService.track(\"failed_app_login\", {\n user: { email: null },\n login_type: \"github\",\n ...getErrorPayload(error),\n })\n console.log(\"Github auth error\", error)\n message.error(\"Access denied: \" + error.message)\n } finally {\n setLoading(false)\n }\n }\n\n const googleSignIn = async () => {\n try {\n const email = await services.userService.initiateGoogleLogin()\n await services.analyticsService.track(\"app_login\", { user: { email }, login_type: \"google\" })\n reloadPage()\n } catch (error) {\n message.destroy()\n services.analyticsService.track(\"failed_app_login\", {\n user: { email: null },\n login_type: \"google\",\n ...getErrorPayload(error),\n })\n console.log(\"Google auth error\", error)\n message.error(\"Access denied: \" + error.message)\n } finally {\n setLoading(false)\n }\n }\n\n const passwordSignIn = async values => {\n setLoading(true)\n const email = values[\"email\"].trim()\n const password = values[\"password\"].trim()\n try {\n await services.userService.login(email.trim(), password)\n await services.analyticsService.track(\"app_login\", { user: { email }, login_type: \"password\" })\n reloadPage()\n } catch (error) {\n message.destroy()\n await services.analyticsService.track(\"failed_app_login\", {\n user: { email },\n login_type: \"password\",\n ...getErrorPayload(error),\n })\n console.log(\"Error\", error)\n message.error(\"Invalid login or password\")\n } finally {\n setLoading(false)\n }\n }\n\n return (\n
\n setShowPasswordResetForm(false)}\n onSuccess={() => message.info(\"Password reset e-mail has been sent!\")}\n />\n

Log in to Jitsu

\n {supportOauth && (\n \n )}\n \n }\n size=\"large\"\n inputType=\"email\"\n />\n\n }\n inputType=\"password\"\n />\n\n
\n
\n \n
\n {ssoAuthLink && (\n
\n \n
\n )}\n \n {supportOauth && (\n <>\n
Or sign in with
\n
\n } />}\n >\n Github\n \n } />}\n >\n Google\n \n
\n \n )}\n
\n \n
\n )\n}\n\nfunction PasswordResetForm({ visible, onSuccess, close }) {\n let services = ApplicationServices.get()\n const [loading, setLoading] = useState(false)\n const [error, setError] = useState()\n const [form] = Form.useForm()\n\n const onSubmit = async () => {\n setLoading(true)\n try {\n const values = await form.validateFields()\n await services.userService.sendPasswordReset(values[\"email\"])\n onSuccess()\n close()\n } catch (e) {\n setError(e)\n } finally {\n setLoading(false)\n }\n }\n\n return (\n \n \n \n \n }\n >\n
\n \n } placeholder=\"E-mail\" />\n \n
{error?.message || \"-\"}
\n \n \n )\n}\n","import { useState } from \"react\"\nimport { useServices } from \"../../../hooks/useServices\"\nimport { Button, Checkbox, Form, message } from \"antd\"\nimport { reloadPage } from \"../../../lib/commons/utils\"\nimport { handleError } from \"../../../lib/components/components\"\nimport { NavLink } from \"react-router-dom\"\nimport { FloatingLabelInput } from \"../../components/FloatingLabelInput/FloatingLabelInput\"\nimport MailOutlined from \"@ant-design/icons/lib/icons/MailOutlined\"\nimport LockOutlined from \"@ant-design/icons/lib/icons/LockOutlined\"\nimport Icon from \"@ant-design/icons\"\nimport githubLogo from \"../../../icons/github.svg\"\nimport { default as googleLogo } from \"../../../icons/google.svg\"\nimport { SignupRequest } from \"../../../generated/conf-openapi\"\n\nexport function SignupForm() {\n const [tosAgree, setTosAgree] = useState(false)\n const [tosHighlight, setTosHighlight] = useState(false)\n const [loading, setLoading] = useState(false)\n const services = useServices()\n\n const googleSignup = async () => {\n try {\n if (!tosAgree) {\n message.error(\"To sign up you need to agree to the terms of service\")\n setTosHighlight(true)\n return\n }\n await services.userService.initiateGoogleLogin()\n message.destroy()\n reloadPage()\n } catch (error) {\n message.destroy()\n console.log(\"Google auth error\", error)\n message.error(\"Google signup is unavailable: \" + error.message)\n }\n }\n\n const githubSignup = async () => {\n try {\n if (!tosAgree) {\n message.error(\"To sign up you need to agree to the terms of service\")\n setTosHighlight(true)\n return\n }\n await services.userService.initiateGithubLogin()\n message.destroy()\n reloadPage()\n } catch (error) {\n message.destroy()\n console.log(\"Github auth error\", error)\n message.error(\"Github auth is unavailable: \" + error.message)\n }\n }\n\n const passwordSignup = async values => {\n if (!tosAgree) {\n message.error(\"To sign up you need to agree to the terms of service\")\n setTosHighlight(true)\n return\n }\n setLoading(true)\n try {\n await services.userService.createUser(values as SignupRequest)\n reloadPage()\n } catch (error) {\n handleError(error)\n setLoading(false)\n }\n }\n\n return (\n
\n

Get Started

\n
\n \n Log in\n {\" \"}\n if you have an account\n
\n \n }\n size=\"large\"\n inputType=\"email\"\n />\n\n }\n inputType=\"password\"\n />\n \n setTosAgree(!tosAgree)}\n >\n \n I agree to{\" \"}\n \n Terms of Services\n {\" \"}\n and{\" \"}\n \n Privacy Policy\n \n \n \n \n\n
\n
\n \n
\n
Or sign up with
\n
\n } />}\n >\n Github\n \n } />}\n >\n Google\n \n
\n
\n \n
\n )\n}\n","import styles from \"./GetStartedPage.module.less\"\nimport logo from \"icons/logo.svg\"\nimport { useHistory } from \"react-router-dom\"\nimport { LoginForm } from \"./LoginForm\"\nimport { SignupForm } from \"./SignupForm\"\n\n/**\n * This component is used for both login and signup purposes. Since layout is very similar\n * pu\n */\nexport type GetStartedPageProps = {\n /**\n * If login / signup supports oauth\n */\n oauthSupport: boolean\n /**\n * Link for SSO Authorization\n */\n ssoAuthLink: string\n /**\n * Is this a login page or signup page?\n */\n login: boolean\n\n /**\n * What should we display on a right side (aka Hero?)\n * true - Cloud Copy (aka try Jitsu.Cloud)\n * false - Self-Hosted\n */\n useCloudHero: boolean\n}\n\nfunction GitHubLogo() {\n return (\n \n \n \n )\n}\n\nfunction WelcomeBackHero({ signupEnabled }) {\n let history = useHistory()\n return (\n
\n

Welcome back!

\n {signupEnabled && (\n
\n New to Jitsu?{\" \"}\n {!process.env.JITSU_NEXT_URL ? (\n history.push(\"/signup\")}>\n Sign up\n ) : (\n <>
\n Sign up to Jitsu Next\n \n )}\n
\n )}\n
\n )\n}\n\nfunction JitsuCloudHero() {\n return (\n <>\n

Try Jitsu.Cloud

\n
\n
\n Jitsu.Cloud is a hosted version of our open-source project. Start collecting data in as little as 2 minutes\n
\n
\n
    \n
  • \n First{\" \"}\n \n 250k\n {\" \"}\n events per month are tracked for free\n
  • \n
  • \n Use your own tracking domain (track.myapp.com)\n
  • \n
  • \n Community support via Jitsu Public Slack (\n \n join now!\n \n )\n
  • \n
  • \n See all{\" \"}\n \n pricing options\n \n
  • \n
\n
\n

\n Interested in self-hosting?\n

\n \n
\n \n
\n
\n Deploy Jitsu on your own infrastructure in 2 minutes. Free forever!\n
\n \n
\n \n )\n}\n\nfunction JitsuSelfHostingHero() {\n return (\n <>\n

Welcome

\n \n )\n}\n\nexport default function GetStartedPage(props: GetStartedPageProps) {\n return (\n
\n \n \n \n \n
\n
\n {props.login ? (\n \n ) : props.useCloudHero ? (\n \n ) : (\n \n )}\n
\n
\n
\n
\n \n \n \n {props.login ? : }\n
\n \n )\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"box-shadow-base\":\"ConnectionCard_box-shadow-base__26m8j\",\"border-debug\":\"ConnectionCard_border-debug__32pFF\",\"font-heading\":\"ConnectionCard_font-heading__2dlsq\",\"font-monospace\":\"ConnectionCard_font-monospace__39Vok\",\"ant-select-disabled\":\"ConnectionCard_ant-select-disabled__tdwOF\",\"ant-select\":\"ConnectionCard_ant-select__QAlbq\",\"ant-select-customize-input\":\"ConnectionCard_ant-select-customize-input__2WzZH\",\"ant-select-selector\":\"ConnectionCard_ant-select-selector__1toCB\",\"ant-input-number-disabled\":\"ConnectionCard_ant-input-number-disabled__30HJl\",\"ant-select-item-option-selected\":\"ConnectionCard_ant-select-item-option-selected__mSgV5\",\"ant-select-item-option-active\":\"ConnectionCard_ant-select-item-option-active__1TN_u\",\"ant-dropdown-menu-submenu-active\":\"ConnectionCard_ant-dropdown-menu-submenu-active__3QO7T\",\"ant-dropdown-menu-submenu-title\":\"ConnectionCard_ant-dropdown-menu-submenu-title__1R4AG\",\"ant-collapse-content-box\":\"ConnectionCard_ant-collapse-content-box__mow_w\",\"ant-card\":\"ConnectionCard_ant-card__2LT3K\",\"ant-modal-content\":\"ConnectionCard_ant-modal-content__2SwDy\",\"ant-table-tbody\":\"ConnectionCard_ant-table-tbody__vPiqR\",\"ant-table-thead\":\"ConnectionCard_ant-table-thead__3EKj_\",\"ant-checkbox-inner\":\"ConnectionCard_ant-checkbox-inner__2_l3h\",\"ant-modal-header\":\"ConnectionCard_ant-modal-header__2twLx\",\"ant-table\":\"ConnectionCard_ant-table__16Txx\",\"ant-list-split\":\"ConnectionCard_ant-list-split__2XuAf\",\"ant-list-header\":\"ConnectionCard_ant-list-header__noawo\",\"ant-tag\":\"ConnectionCard_ant-tag__1nc_O\",\"ant-tooltip-inner\":\"ConnectionCard_ant-tooltip-inner__3XjD4\",\"ant-badge-status-processing\":\"ConnectionCard_ant-badge-status-processing__2GCcl\",\"ant-dropdown-menu-item-active\":\"ConnectionCard_ant-dropdown-menu-item-active__3CYVz\",\"ant-dropdown\":\"ConnectionCard_ant-dropdown__2RFRN\",\"ant-popover-inner\":\"ConnectionCard_ant-popover-inner__2Ptdx\",\"ant-popover-arrow\":\"ConnectionCard_ant-popover-arrow__3_r0H\",\"ant-popover-placement-rightTop\":\"ConnectionCard_ant-popover-placement-rightTop__PCZHp\",\"ant-popover-content\":\"ConnectionCard_ant-popover-content__noFi6\",\"ant-popover-placement-leftBottom\":\"ConnectionCard_ant-popover-placement-leftBottom__32cvm\",\"ant-popover-placement-bottomRight\":\"ConnectionCard_ant-popover-placement-bottomRight__3CVJt\",\"ant-popover-placement-top\":\"ConnectionCard_ant-popover-placement-top__28VPa\",\"icon-size-base\":\"ConnectionCard_icon-size-base__2JdIe\",\"icon-size-lg\":\"ConnectionCard_icon-size-lg__1soRU\",\"ant-tabs-card\":\"ConnectionCard_ant-tabs-card__1xYTO\",\"ant-tabs-tab-active\":\"ConnectionCard_ant-tabs-tab-active__2pb5x\",\"ant-skeleton\":\"ConnectionCard_ant-skeleton__3hilq\",\"ant-skeleton-paragraph\":\"ConnectionCard_ant-skeleton-paragraph__2lJrG\",\"connectionCard\":\"ConnectionCard_connectionCard__P9lBQ\",\"connectionCardLoading\":\"ConnectionCard_connectionCardLoading__1BDJn\"};","export const sourcesPageRoutes = {\n root: \"/prj-:projectId/sources\",\n add: \"/prj-:projectId/sources/add\",\n edit: \"/prj-:projectId/sources/edit\",\n addExact: \"/prj-:projectId/sources/add/:source/:tabName?\",\n editExact: \"/prj-:projectId/sources/edit/:sourceId\",\n logs: \"/prj-:projectId/sources/logs/:sourceId\",\n task: \"/prj-:projectId/sources/logs/:sourceId/:taskId\",\n} as const\n","export const destinationPageRoutes = {\n root: \"/prj-:projectId/destinations\",\n add: \"/prj-:projectId/destinations/add\",\n edit: \"/prj-:projectId/destinations/edit\",\n statistics: \"/prj-:projectId/destinations/statistics\",\n newExact: \"/prj-:projectId/destinations/new/:type/:tabName?\",\n editExact: \"/prj-:projectId/destinations/edit/:id/:tabName?\",\n statisticsExact: \"/prj-:projectId/destinations/statistics/:id\",\n} as const\n","// @Libs\nimport { memo } from \"react\"\n// @Styles\nimport styles from \"./PageHeader.module.less\"\n\nexport interface Props {\n icon: React.ReactNode\n title: string\n mode: \"edit\" | \"add\" | \"statistics\"\n}\n\nconst PageHeaderComponent = ({ icon, title, mode }: Props) => (\n
\n
{icon}
\n
\n {title} {mode && <>({mode === \"add\" ? \"add new\" : mode})}\n
\n
\n)\n\nPageHeaderComponent.displayName = \"PageHeader\"\n\nexport const PageHeader = memo(PageHeaderComponent)\n","export const DestinationsUtils = {\n getDisplayName(dst: DestinationData) {\n return dst.displayName || dst._id\n },\n}\n","import { Button } from \"antd\"\nimport { projectRoute } from \"lib/components/ProjectLink/ProjectLink\"\nimport { useHistory } from \"react-router-dom\"\nimport { NotFound } from \"../NotFound/NotFound\"\n\ntype Props = {\n homeUrl: string\n}\n\nexport const PageNotFound: React.FC = ({ homeUrl }) => {\n const history = useHistory()\n return (\n history.push(projectRoute(homeUrl))}>\n {`Go to the Homepage`}\n \n }\n />\n )\n}\n","export const APIKeyUtil = {\n getDisplayName: (key: ApiKey) => {\n return key.comment || key.uid\n },\n}\n","import { Tooltip } from \"antd\"\nimport { trimMiddle } from \"../../../lib/commons/utils\"\n\nexport type LabelEllipsisProps = {\n maxLen: number\n children: string\n}\n\nexport function LabelEllipsis(props: LabelEllipsisProps) {\n if (props.children.length <= props.maxLen) {\n return <>{props.children}\n } else {\n return {trimMiddle(props.children, props.maxLen)}\n }\n}\n","import React, { useState } from \"react\"\nimport { LabelEllipsis } from \"../LabelEllipsis/LabelEllipsis\"\n\nexport type EditableNameProps = {\n name: string\n disabled?: boolean\n className?: string\n update: (newName: string) => Promise\n maxLen?: number\n propagateEvent?: boolean\n}\n\nexport function EditableName({\n name,\n className,\n update,\n disabled,\n maxLen = 25,\n propagateEvent = false,\n}: EditableNameProps) {\n const changeName = async e => {\n if (!propagateEvent) {\n e.stopPropagation()\n e.preventDefault()\n }\n let newName = prompt(\"Please, enter a new name\", currentName)\n if (newName) {\n try {\n setSaving(true)\n await update(newName)\n setCurrentName(newName)\n } catch (e) {\n //??\n } finally {\n setSaving(false)\n }\n }\n }\n\n const [saving, setSaving] = useState(false)\n const [currentName, setCurrentName] = useState(name)\n return (\n \n \n {!saving ? currentName : \"Saving...\"}\n \n {!disabled && (\n \n \n \n )}\n \n )\n}\n","/**\n * Displays the 'connection' card - source, or destination or API key\n */\n\nimport React, { ReactElement, ReactNode } from \"react\"\nimport styles from \"./ConnectionCard.module.less\"\nimport { EditableName } from \"../EditableName/EditableName\"\nimport { Badge, Button, Dropdown, Menu, Tooltip } from \"antd\"\nimport EditOutlined from \"@ant-design/icons/lib/icons/EditOutlined\"\nimport { NavLink } from \"react-router-dom\"\nimport DeleteOutlined from \"@ant-design/icons/lib/icons/DeleteOutlined\"\nimport CodeOutlined from \"@ant-design/icons/lib/icons/CodeOutlined\"\nimport SubMenu from \"antd/lib/menu/SubMenu\"\nimport SyncOutlined from \"@ant-design/icons/lib/icons/SyncOutlined\"\n\n/**\n * Action - link or onClick handler\n */\nexport type ConnectionCardAction = string | (() => void) | undefined\n\n/**\n * Returns link (if action is string, meaning URL), or Button\n */\nfunction ActionLink({\n action,\n children,\n ...rest\n}: {\n action: ConnectionCardAction\n children: ReactNode\n [key: string]: any\n}) {\n if (!action) {\n return {children}\n } else if (typeof action === \"string\") {\n return (\n \n {children}\n \n )\n } else {\n return (\n \n {children}\n \n )\n }\n}\n\nexport type ConnectionCardProps = {\n //icon of connection\n icon: ReactNode\n disabled: boolean\n\n deleteAction: ConnectionCardAction\n editAction: ConnectionCardAction\n menuOverlay: ReactElement | undefined\n\n title: string\n rename: (newName: string) => Promise\n\n subtitle: ReactNode\n\n status: ReactNode\n\n //If connection card is loading - we're waiting something from the\n //server which changes the state of the card\n loading?: boolean\n}\n\nexport function ConnectionCard(props: ConnectionCardProps) {\n return (\n
\n
\n
\n
\n {props.icon}\n
\n
\n \n \n \n
{props.subtitle}
\n
\n
\n {props.menuOverlay && (\n \n
â‹®
\n
\n )}\n
\n
\n
{props.status}
\n
\n {props.editAction && !props.disabled && (\n \n \n \n )}\n
\n
\n
\n )\n}\n","export const errorIncludes = (error: any, message: string): boolean => {\n return (\n `${error}`.includes(message) ||\n error?.message?.includes?.(message) ||\n error?._response?.message?.includes?.(message) ||\n error?._response?.error?.includes?.(message)\n )\n}\n","// extracted by mini-css-extract-plugin","import AnalyticsService from \"lib/services/analytics\"\nimport { flowResult } from \"mobx\"\nimport { apiKeysStore } from \"./apiKeys\"\nimport { destinationsStore } from \"./destinations\"\nimport { connectionsHelper } from \"./helpers\"\nimport { sourcesStore } from \"./sources\"\n\nexport const initializeAllStores = async (analyticsService: AnalyticsService): Promise => {\n await initalizeStoresData()\n try {\n await connectionsHelper.healConnections()\n } catch (error) {\n analyticsService.onGlobalError(new Error(`Failed to heal connections after stores initialization: ${error}`))\n }\n}\n\nconst initalizeStoresData = (): Promise<\n [PromiseSettledResult, PromiseSettledResult, PromiseSettledResult]\n> =>\n Promise.allSettled([\n flowResult(apiKeysStore.pullAll({ showGlobalLoader: true })),\n flowResult(destinationsStore.pullAll({ showGlobalLoader: true })),\n flowResult(sourcesStore.pullAll({ showGlobalLoader: true })),\n ])\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"connectorPic\":\"PageHeader_connectorPic__3n6ii\"};","// @Libs\nimport { CartesianGrid, Legend, Line, LineChart, ResponsiveContainer, Tooltip, XAxis, YAxis } from \"recharts\"\nimport { useReducer } from \"react\"\n// @Types\nimport { Moment } from \"moment\"\n// @Styles\nimport styles from \"./StatisticsChart.module.less\"\n\ntype DataType = \"total\" | \"success\" | \"skip\" | \"errors\"\n\ntype DataPoint = { date: Moment } & { [key in DataType]?: number }\n\ntype Props = {\n data: DataPoint[]\n granularity: \"hour\" | \"day\"\n dataToDisplay?: DataType | DataType[]\n legendLabels?: { [key: string]: string }\n}\n\ntype State = {\n [key in `hide_${DataType}_data`]: boolean\n}\n\nconst initialState: State = {\n hide_total_data: false,\n hide_errors_data: false,\n hide_skip_data: false,\n hide_success_data: false,\n}\n\nconst reducer = (state: State, action: { type: DataType }): State => {\n const key = `hide_${action.type}_data`\n return {\n ...state,\n [key]: !state[key],\n }\n}\n\nconst commonLineProps = {\n type: \"monotone\",\n // opacity: 0.9,\n cursor: \"pointer\",\n activeDot: { r: 8 },\n strokeWidth: 2,\n} as const\n\nexport const StatisticsChart: React.FC = ({\n data,\n granularity,\n dataToDisplay = [\"success\", \"skip\", \"errors\"],\n legendLabels = {},\n}) => {\n const [state, dispatch] = useReducer(reducer, initialState)\n\n const handleClickOnLegend = (data: any) => {\n const clickedDataType = data[\"value\"] as DataType\n dispatch({ type: clickedDataType })\n }\n\n return (\n \n ({\n ...point,\n date: granularity == \"hour\" ? point.date.format(\"HH:mm\") : point.date.format(\"DD MMM\"),\n }))}\n >\n } stroke=\"#394e5a\" />\n } stroke=\"#394e5a\" />\n \n legendLabels[value] ?? value} />\n new Intl.NumberFormat(\"en\").format(value)}\n />\n {dataToDisplay.includes(\"total\") && (\n \n )}\n {dataToDisplay.includes(\"success\") && (\n \n )}\n {dataToDisplay.includes(\"skip\") && (\n \n )}\n {dataToDisplay.includes(\"errors\") && (\n \n )}\n \n \n )\n}\n\nconst CustomizedXAxisTick = props => (\n \n \n {props.payload.value}\n \n \n)\n\nconst CustomizedYAxisTick = props => (\n \n \n {new Intl.NumberFormat(\"en\").format(props.payload.value)}\n \n \n)\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chart\":\"StatisticsChart_chart__2R9av\"};","import { NavLink } from \"react-router-dom\"\nimport { observer } from \"mobx-react-lite\"\nimport { currentPageHeaderStore } from \"stores/currentPageHeader\"\nimport ProjectLink from \"lib/components/ProjectLink/ProjectLink\"\nimport useProject from \"hooks/useProject\"\nimport { showProjectSwitchModal } from \"lib/components/ProjectSwitch/ProjectSwitch\"\n\nfunction join(array: T[], separatorFactory: (id: number) => T): T[] {\n let res = []\n for (let i = 0; i < array.length; i++) {\n res.push(array[i])\n if (i !== array.length - 1) {\n res.push(separatorFactory(i))\n }\n }\n return res\n}\n\nfunction Delimiter() {\n return (\n \n \n \n )\n}\n\nconst BreadcrumbsComponent: React.FC<{}> = () => {\n const project = useProject()\n return (\n
\n {project?.name && (\n <>\n \n {project.name}\n
\n \n \n )}\n {join(\n currentPageHeaderStore.breadcrumbs.map((element, index) => (\n
\n {element.link ? (\n element.absolute || element.link.indexOf(\"/prj-\") >= 0 ? (\n \n {element.title}\n \n ) : (\n \n {element.title}\n \n )\n ) : (\n element.title\n )}\n
\n )),\n num => (\n \n )\n )}\n \n )\n}\n\nexport const Breadcrumbs = observer(BreadcrumbsComponent)\n","// @Libs\nimport { flowResult, makeObservable, flow, override } from \"mobx\"\n// @Services\nimport ApplicationServices from \"lib/services/ApplicationServices\"\n// @Utils\nimport { randomId } from \"utils/numbers\"\nimport { EntitiesStore, EntitiesStoreStatus } from \"./entitiesStore\"\n\n//const services = ApplicationServices.get()\nexport class ApiKeysStore extends EntitiesStore {\n protected readonly services: ApplicationServices\n\n constructor() {\n super(\"api_keys\", { idField: \"uid\" })\n this.services = ApplicationServices.get()\n makeObservable(this, {\n add: override,\n generateAddInitialApiKeyIfNeeded: flow,\n })\n }\n\n public *add(key?: Partial): Generator {\n this.resetError()\n this.setStatus(EntitiesStoreStatus.BACKGROUND_LOADING)\n const newApiKey: ApiKey = { ...this.generateApiKey(key.comment), ...(key ?? {}) }\n try {\n const addedApiKey = yield this.services.storageService.table(\"api_keys\").add(newApiKey)\n if (!addedApiKey) {\n throw new Error(`API keys store failed to add a new key: ${newApiKey}`)\n }\n this._entities.push(addedApiKey)\n return addedApiKey\n } finally {\n this.setStatus(EntitiesStoreStatus.IDLE)\n }\n }\n\n public generateApiKey(comment?: string): ApiKey {\n return {\n uid: this.generateApiToken(\"\", 6),\n serverAuth: this.generateApiToken(\"s2s\"),\n jsAuth: this.generateApiToken(\"js\"),\n comment,\n origins: [],\n }\n }\n\n public generateApiToken(type: string, len?: number): string {\n const postfix = `${ApplicationServices.get().activeProject.id}.${randomId(len)}`\n return type.length > 0 ? `${type}.${postfix}` : postfix\n }\n\n public *generateAddInitialApiKeyIfNeeded(options?: { note?: string }) {\n if (!!this.list.length) return\n yield flowResult(this.add({ comment: options?.note }))\n }\n}\n\nexport const apiKeysStore = new ApiKeysStore()\n","import { useServices } from \"../../../hooks/useServices\"\nimport GetStartedPage from \"./GetStartedPage\"\n\nexport default function LoginPage() {\n const services = useServices()\n return (\n \n )\n}\n","import { useServices } from \"../../../hooks/useServices\"\nimport GetStartedPage from \"./GetStartedPage\"\n\nexport default function SignupPage() {\n const services = useServices()\n return (\n \n )\n}\n","// @Libs\nimport nodejs_assert from \"assert\"\n// @Utils\nimport { toArrayIfNot } from \"./arrays\"\n\ntype AssertionOptions = {\n errMsg: string\n allowUndefined?: boolean\n}\n\n/**\n * Checks if value is an object.\n *\n * @param value value to check\n *\n * @returns boolean\n */\nexport function isObject(value: unknown): value is UnknownObject {\n return typeof value === \"object\" && value !== null\n}\n\n/**\n * Checks if value is an array.\n *\n * @param value value to check\n *\n * @returns boolean\n */\nexport function isArray(value: Array | unknown): value is Array {\n return Array.isArray(value)\n}\n\n/**\n * Checks whether the object has a property.\n *\n * @param object object to check\n * @param property property to look for\n *\n * @returns boolean\n */\nexport function hasOwnProperty(\n object: O,\n property: P\n): object is O & Record {\n return object.hasOwnProperty(property)\n}\n\n/**\n * Asserts whether condition is truthy - if not, throws an error.\n * Useful for making type checks that will provide type narrowing.\n *\n * Uses NodeJS built in assertion function. May be overloaded.\n *\n * @param {boolean} condition condition to check\n * @param {string} errMsg error message to throw if condition is falsy\n * @param errorName error name to specify\n *\n * @returns {void} void\n * @throws {AssertionError} NodeJS assertion error\n */\nexport function assert(condition: boolean, errMsg: string, errorName?: string): asserts condition {\n const error = new Error(errMsg)\n error.name = errorName\n nodejs_assert(condition, error)\n}\n\n/**\n * Asserts whether the value is string - if not, throws an error.\n * Useful for making type checks that will provide type narrowing.\n *\n * @param value value to assert\n * @param errMsg error message to throw if assertion fails\n * @param errorName error name to specify\n *\n * @returns void or never\n *\n */\nexport function assertIsString(\n value: unknown,\n options?: AssertionOptions,\n errorName?: string\n): asserts value is string {\n let condition = typeof value === \"string\"\n if (options?.allowUndefined) condition = condition || typeof value === \"undefined\"\n\n assert(condition, options?.errMsg || `array assertion failed - ${value} is not an array`, errorName)\n}\n\n/**\n * Asserts whether the value is boolean - if not, throws an error.\n * Useful for making type checks that will provide type narrowing.\n *\n * @param value value to assert\n * @param errMsg error message to throw if assertion fails\n * @param errorName error name to specify\n *\n * @returns void or never\n *\n */\nexport function assertIsBoolean(value: unknown, errMsg: string, errorName?: string): asserts value is string {\n const condition = typeof value === \"boolean\"\n assert(condition, errMsg || `array assertion failed - ${value} is not an array`, errorName)\n}\n\n/**\n * Asserts whether the value is array - if not, throws an error.\n * Useful for making type checks that will provide type narrowing.\n *\n * @param value value to assert\n * @param errMsg error message to throw if assertion fails\n * @param errorName error name to specify\n *\n * @returns void or never\n *\n */\nexport function assertIsArray(value: unknown, errMsg: string, errorName?: string): asserts value is Array {\n assert(Array.isArray(value), `${errMsg}\\nArray assertion failed: value is not an array`, errorName)\n}\n\n/**\n * Asserts whether the value is an array and whether the type of\n * its values is the same as type of the passed type reference values\n * @param value value to assert\n * @param typeReferenceValues\n * Type reference value or an array of values. Values may be arbitrary,\n * just make sure that their types are ones you want to assert.\n * @example\n * ```\n * const array = ['foo', 'bar', 42, ']\n * ```\n * @param errMsg error message to throw if assertion fails\n * @param errorName error name to specify\n * @returns\n */\nexport function assertIsArrayOfTypes(\n value: unknown,\n typeReferenceValues: T | T[],\n errMsg: string,\n errorName?: string\n): asserts value is Array {\n assertIsArray(value, `${errMsg}\\nassertIsArrayOfTypes error`)\n if (value.length === 0) return\n const actualTypes = Array.from(new Set(value.map(element => typeof element))) // filtering duplicates\n const whitelistedTypes = new Set(toArrayIfNot(typeReferenceValues).map(element => typeof element))\n const negatedIntersection = [...actualTypes].filter(type => !whitelistedTypes.has(type))\n assert(negatedIntersection.length === 0, errMsg || `array of type assertion failed`, errorName)\n}\n\n/**\n * Asserts whether the value is an object - if not, throws an error.\n * Useful for making type checks that will provide type narrowing.\n *\n * @param value value to assert\n * @param errMsg error message to throw if condition is falsy\n * @param errorName error name to specify\n *\n * @returns void or never\n *\n */\nexport function assertIsObject(value: unknown, errMsg: string, errorName?: string): asserts value is UnknownObject {\n assert(isObject(value), `${errMsg}\\nObject assertion failed - value is not an object`, errorName)\n}\n\n/**\n * Asserts that object has a property.\n *\n * @param object object to check\n * @param property property to look for\n * @param errMsg error to display if assertion failed\n * @param errorName error name to specify\n *\n * @returns void or never\n */\nexport function assertHasOwnProperty(\n object: O,\n property: P,\n errMsg: string,\n errorName?: string\n): asserts object is O & Record {\n assert(hasOwnProperty(object, property), errMsg, errorName)\n}\n\n/**\n * Asserts that object has all properties from the argument array\n *\n * @param object object to check\n * @param properties array of properties to look for\n * @param errMsg error to display if assertion failed\n * @param errorName error name to specify\n *\n * @returns void or never\n */\nexport function assertHasAllProperties(\n object: O,\n properties: P,\n errMsg: string,\n errorName?: string\n): asserts object is O & Record {\n properties.forEach(property =>\n assert(hasOwnProperty(object, property), `${errMsg}\\nRequired property '${property}' not found`, errorName)\n )\n}\n","import CheckCircleOutlined from \"@ant-design/icons/lib/icons/CheckCircleOutlined\"\nimport CloseCircleOutlined from \"@ant-design/icons/lib/icons/CloseCircleOutlined\"\nimport InfoCircleOutlined from \"@ant-design/icons/lib/icons/InfoCircleOutlined\"\nimport WarningOutlined from \"@ant-design/icons/lib/icons/WarningOutlined\"\nimport { message, notification, Spin, Typography } from \"antd\"\nimport CloseOutlined from \"@ant-design/icons/lib/icons/CloseOutlined\"\nimport React, { ReactNode } from \"react\"\nimport styles from \"./ActionNotification.less\"\nimport { randomId } from \"../../../utils/numbers\"\n\nexport type ActionNotificationType = \"success\" | \"error\" | \"info\" | \"warn\" | \"loading\"\n\nexport type MessageOptions = {\n duration?: number\n className?: string\n}\n\ntype NotificationActionMethod = (ActionNotificationType, opts?: MessageOptions) => void\n\nfunction messageFactory(type: ActionNotificationType): NotificationActionMethod {\n const iconsByType = {\n success: ,\n error: ,\n info: ,\n warn: ,\n loading: ,\n }\n return (content: ReactNode, opts: MessageOptions = { duration: 7, className: \"\" }) => {\n console.log(opts)\n message.destroy()\n const key = randomId()\n let destroyMessage = () => message.destroy()\n let msg = {\n key: key,\n content: (\n \n
\n {iconsByType[type]}\n
\n \n {content}\n \n
\n \n
\n
\n ),\n type: type,\n duration: opts.duration,\n className: `${styles.message} ${opts.className}`,\n prefixCls: \"jitsu-message\",\n }\n message[type](msg)\n }\n}\n\n/**\n * Notifies user with the result of action. Use it instead of antd message\n */\nexport const actionNotification: Record = {\n success: messageFactory(\"success\"),\n error: messageFactory(\"error\"),\n info: messageFactory(\"info\"),\n warn: messageFactory(\"warn\"),\n loading: messageFactory(\"loading\"),\n}\n"],"sourceRoot":""}