mftsccs-browser 2.1.15-beta → 2.1.16-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.bundle.js
CHANGED
|
@@ -494,7 +494,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
494
494
|
\***************************************/
|
|
495
495
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
496
496
|
|
|
497
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseUrl: () => (/* binding */ BaseUrl)\n/* harmony export */ });\nclass BaseUrl {\n static setRandomizer(id) {\n console.log('set randomizer', id);\n this.BASE_RANDOMIZER = id;\n }\n static getRandomizer() {\n return this.BASE_RANDOMIZER;\n }\n // static GetConceptUrl:string = this.BASE_URL + '/api/getConcept';\n static GetConceptUrl() {\n return this.BASE_URL + '/api/getConcept';\n }\n static GetConnectionUrl() {\n return this.BASE_URL + '/api/get-connection-by-id';\n }\n static GetConceptBulkUrl() {\n return this.BASE_URL + '/api/get_concept_bulk';\n }\n static GetConnectionBulkUrl() {\n return this.BASE_URL + '/api/get_connection_bulk';\n }\n static GetAllConceptsOfUserUrl() {\n return this.BASE_URL + '/api/get_all_concepts_of_user';\n }\n static GetAllConnectionsOfUserUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_user';\n }\n static GetAllConnectionsOfCompositionUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_composition';\n }\n static GetAllConnectionsOfCompositionBulkUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_composition_bulk';\n }\n static GetConceptByCharacterValueUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_value';\n }\n static GetConceptByCharacterAndTypeUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_and_type';\n }\n static GetConceptByCharacterAndCategoryUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_and_category';\n }\n static GetConceptByCharacterAndCategoryDirectUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_and_category_direct';\n }\n static GetCharacterByCharacterUrl() {\n return this.BASE_URL + '/api/get_character_by_character';\n }\n static GetAllConceptsByTypeUrl() {\n return this.BASE_URL + '/api/get_all_concepts_by_type';\n }\n static GetAllConnectionsOfConceptUrl() {\n return this.BASE_URL + '/api/get-link-connections';\n }\n static GetAllAiData() {\n return this.BASE_URL + '/api/get-preloaded-concepts';\n // return this.AI_URL + '/api/get_ranked_type_id?inpage=300' || process.env.AI_URL || 'https://ai.freeschema.com/api/get_ranked_type_id?inpage=300';\n }\n static PostPrefetchConceptConnections() {\n return this.NODE_URL + '/api/v1/access-tracker/sync-access-tracker';\n }\n static GetSuggestedConcepts() {\n return this.NODE_URL + '/api/v1/access-tracker/list-concepts-file';\n }\n static GetSuggestedConnections() {\n return this.NODE_URL + '/api/v1/access-tracker/list-connections-file';\n }\n static PostLogger() {\n return this.NODE_URL + '/api/v1/logger/logs';\n }\n static GetAllPrefetchConnectionsUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_user?inpage=500';\n }\n static GetAllLinkerConnectionOfConceptUrl() {\n return this.BASE_URL + '/api/get-all-linkers-from-concept';\n }\n static GetAllLinkerConnectionToConceptUrl() {\n return this.BASE_URL + '/api/get-all-linkers-to-concept';\n }\n static DeleteConceptUrl() {\n return this.BASE_URL + '/api/delete_concept';\n }\n static DeleteUserUrl() {\n return this.BASE_URL + '/api/deleteuser';\n }\n static RecursiveSearchUrl() {\n return this.BASE_URL + '/api/recursivesearch-concept-connection';\n }\n static SearchLinkMultipleAllApiUrl() {\n return this.BASE_URL + '/api/Connection/search-link-multiple-all-ccs';\n }\n static MakeTheNameInBackendUrl() {\n return this.BASE_URL + '/api/make-name-from-frontend';\n }\n static SearchAllTypeWithLinker(auth = true) {\n if (auth) {\n return this.BASE_URL + '/api/search-all-with-linker-ccs';\n }\n else {\n return this.BASE_URL + '/api-search-compositions-internal-clean-ccs';\n }\n }\n static LoginUrl() {\n return this.BASE_URL + '/api/auth/login';\n }\n static SignupUrl() {\n return this.BASE_URL + '/api/auth/signup';\n }\n static GetCompositionConnectionBetweenTwoConceptsUrl() {\n return this.BASE_URL + '/api/get-composition-connection-between-two-concepts';\n }\n static SearchCompositionsUrl() {\n return this.BASE_URL + '/api/search-compositions';\n }\n static SearchLinkMultipleAll() {\n return this.BASE_URL + '/api/Connection/search-link-multiple-all';\n }\n static CreateSessionId() {\n return this.BASE_URL + '/api/create-session-id-remote';\n }\n static CreateSessionVisitUrl() {\n return this.BASE_URL + '/api/create-remote-session-visit';\n }\n //////////////////////////////////////////////////////////////////////////////\n /////////////////////Api for viewing internal data //////////////////////////\n static ViewInternalDataUrl() {\n return this.BASE_URL + '/api/view-api-internal-data-ccs-id-bulk';\n }\n static SearchInternalWithAuthenticatedCcsUrl() {\n return this.BASE_URL + '/api/search-composition-internal-authenticated-ccs';\n }\n static SearchInternalWithCcsUrl() {\n return this.BASE_URL + '/api-search-compositions-internal-clean-ccs';\n }\n static CreateGhostConceptApiUrl() {\n return BaseUrl.NODE_URL + '/api/v1/local-concepts';\n }\n static CreateGhostConnectionApiUrl() {\n return BaseUrl.NODE_URL + '/api/v1/local-connections';\n }\n static GetRealConceptById() {\n return BaseUrl.NODE_URL + '/api/v1/local-concepts-translate';\n }\n //////////////////////////////////////////////////////////////////////////////\n //////////////// API For Reserved Ids ///////////////////////////////////////\n static GetReservedIdUrl() {\n return this.BASE_URL + '/api/get_reserved_ids';\n }\n static GetReservedConnectionIdUrl() {\n return this.BASE_URL + '/api/get_reserved_connection_ids';\n }\n /////////////////////////////////////////////////////////////////////////////\n ////////////////API For Creating Data //////////////////////////////////////\n static CreateTheTextDataUrl() {\n return this.BASE_URL + '/api/create_text_data';\n }\n static CreateTheCharacterDataUrl() {\n return this.BASE_URL + '/api/create_character_data';\n }\n static CreateTheConceptUrl() {\n return this.BASE_URL + '/api/create_the_concept';\n }\n static CreateTheConnectionUrl() {\n return this.BASE_URL + '/api/create_the_connection';\n }\n static CreateTheConnectionNewUrl() {\n return this.BASE_URL + '/api/create_the_connection_new';\n }\n static MakeTheTypeConceptUrl() {\n return this.BASE_URL + '/api/make_the_type_concept';\n }\n ////////////////////////////////////////////////////////////////////////\n /////////////////////API FOR Deleting Connection //////////////////////\n static DeleteTheConnectionUrl() {\n return this.BASE_URL + '/api/delete_connection';\n }\n //////////////////////////////////////////////////////////////////////\n //////////////////////API FOR FREESCHEMA QUERY //////////////////////\n static FreeschemaQueryUrl() {\n return this.BASE_URL + '/api/freeschema-query';\n }\n //////////////////////////////////////////////////////////////////////\n //////////////////////API FOR IMAGE UPLOAD //////////////////////\n static uploadImageUrl() {\n return this.BASE_URL + '/api/Image/UploadImage';\n }\n //////////////////////////////////////////////////////////////////////\n //////////////////////API FOR FILE UPLOAD //////////////////////\n static uploadFileUrl() {\n return this.BASE_URL + '/api/Image/UploadFile';\n }\n}\nBaseUrl.BASE_URL = \"https://localhost:7053/\";\nBaseUrl.AI_URL = \"https://ai.freeschema.com\";\nBaseUrl.MQTT_URL = '192.168.1.249';\nBaseUrl.NODE_URL = \"http://localhost:5001\";\nBaseUrl.BASE_APPLICATION = \"\";\nBaseUrl.FLAGS = {\n logApplication: false,\n logPackage: false,\n accessTracker: false,\n isTest: false\n};\nBaseUrl.BASE_RANDOMIZER = 999;\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/DataStructures/BaseUrl.ts?");
|
|
497
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseUrl: () => (/* binding */ BaseUrl)\n/* harmony export */ });\nclass BaseUrl {\n static setRandomizer(id) {\n console.log('set randomizer', id);\n this.BASE_RANDOMIZER = id;\n }\n static getRandomizer() {\n return this.BASE_RANDOMIZER;\n }\n // static GetConceptUrl:string = this.BASE_URL + '/api/getConcept';\n static GetConceptUrl() {\n return this.BASE_URL + '/api/getConcept';\n }\n static GetConnectionUrl() {\n return this.BASE_URL + '/api/get-connection-by-id';\n }\n static GetConceptBulkUrl() {\n return this.BASE_URL + '/api/get_concept_bulk';\n }\n static GetConnectionBulkUrl() {\n return this.BASE_URL + '/api/get_connection_bulk';\n }\n static GetAllConceptsOfUserUrl() {\n return this.BASE_URL + '/api/get_all_concepts_of_user';\n }\n static GetAllConnectionsOfUserUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_user';\n }\n static GetAllConnectionsOfCompositionUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_composition';\n }\n static GetAllConnectionsOfCompositionBulkUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_composition_bulk';\n }\n static GetConceptByCharacterValueUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_value';\n }\n static GetConceptByCharacterAndTypeUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_and_type';\n }\n static GetConceptByCharacterAndCategoryUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_and_category';\n }\n static GetConceptByCharacterAndCategoryDirectUrl() {\n return this.BASE_URL + '/api/get_concept_by_character_and_category_direct';\n }\n static GetCharacterByCharacterUrl() {\n return this.BASE_URL + '/api/get_character_by_character';\n }\n static GetAllConceptsByTypeUrl() {\n return this.BASE_URL + '/api/get_all_concepts_by_type';\n }\n static GetAllConnectionsOfConceptUrl() {\n return this.BASE_URL + '/api/get-link-connections';\n }\n static GetAllAiData() {\n return this.BASE_URL + '/api/get-preloaded-concepts';\n // return this.AI_URL + '/api/get_ranked_type_id?inpage=300' || process.env.AI_URL || 'https://ai.freeschema.com/api/get_ranked_type_id?inpage=300';\n }\n static PostPrefetchConceptConnections() {\n return this.NODE_URL + '/api/v1/access-tracker/sync-access-tracker';\n }\n static GetSuggestedConcepts() {\n return this.NODE_URL + '/api/v1/access-tracker/list-concepts-file';\n }\n static GetSuggestedConnections() {\n return this.NODE_URL + '/api/v1/access-tracker/list-connections-file';\n }\n static PostLogger() {\n return this.NODE_URL + '/api/v1/logger/logs';\n }\n static GetAllPrefetchConnectionsUrl() {\n return this.BASE_URL + '/api/get_all_connections_of_user?inpage=500';\n }\n static GetAllLinkerConnectionOfConceptUrl() {\n return this.BASE_URL + '/api/get-all-linkers-from-concept';\n }\n static GetAllLinkerConnectionToConceptUrl() {\n return this.BASE_URL + '/api/get-all-linkers-to-concept';\n }\n static DeleteConceptUrl() {\n return this.BASE_URL + '/api/delete_concept';\n }\n static DeleteUserUrl() {\n return this.BASE_URL + '/api/deleteuser';\n }\n static RecursiveSearchUrl() {\n return this.BASE_URL + '/api/recursivesearch-concept-connection';\n }\n static SearchLinkMultipleAllApiUrl() {\n return this.BASE_URL + '/api/Connection/search-link-multiple-all-ccs';\n }\n static MakeTheNameInBackendUrl() {\n return this.BASE_URL + '/api/make-name-from-frontend';\n }\n static SearchAllTypeWithLinker(auth = true) {\n if (auth) {\n return this.BASE_URL + '/api/search-all-with-linker-ccs';\n }\n else {\n return this.BASE_URL + '/api-search-compositions-internal-clean-ccs';\n }\n }\n static LoginUrl() {\n return this.BASE_URL + '/api/auth/login';\n }\n static SignupUrl() {\n return this.BASE_URL + '/api/auth/signup';\n }\n static GetCompositionConnectionBetweenTwoConceptsUrl() {\n return this.BASE_URL + '/api/get-composition-connection-between-two-concepts';\n }\n static SearchCompositionsUrl() {\n return this.BASE_URL + '/api/search-compositions';\n }\n static SearchLinkMultipleAll() {\n return this.BASE_URL + '/api/Connection/search-link-multiple-all';\n }\n static CreateSessionId() {\n return this.BASE_URL + '/api/create-session-id-remote';\n }\n static CreateSessionVisitUrl() {\n return this.BASE_URL + '/api/create-remote-session-visit';\n }\n //////////////////////////////////////////////////////////////////////////////\n /////////////////////Api for viewing internal data //////////////////////////\n static ViewInternalDataUrl() {\n return this.BASE_URL + '/api/view-api-internal-data-ccs-id-bulk';\n }\n static SearchInternalWithAuthenticatedCcsUrl() {\n return this.BASE_URL + '/api/search-composition-internal-authenticated-ccs';\n }\n static SearchInternalWithCcsUrl() {\n return this.BASE_URL + '/api-search-compositions-internal-clean-ccs';\n }\n static CreateGhostConceptApiUrl() {\n return BaseUrl.NODE_URL + '/api/v1/local-concepts';\n }\n static CreateGhostConnectionApiUrl() {\n return BaseUrl.NODE_URL + '/api/v1/local-connections';\n }\n static GetRealConceptById() {\n return BaseUrl.NODE_URL + '/api/v1/local-concepts-translate';\n }\n //////////////////////////////////////////////////////////////////////////////\n //////////////// API For Reserved Ids ///////////////////////////////////////\n static GetReservedIdUrl() {\n return this.BASE_URL + '/api/get_reserved_ids';\n }\n static GetReservedConnectionIdUrl() {\n return this.BASE_URL + '/api/get_reserved_connection_ids';\n }\n /////////////////////////////////////////////////////////////////////////////\n ////////////////API For Creating Data //////////////////////////////////////\n static CreateTheTextDataUrl() {\n return this.BASE_URL + '/api/create_text_data';\n }\n static CreateTheCharacterDataUrl() {\n return this.BASE_URL + '/api/create_character_data';\n }\n static CreateTheConceptUrl() {\n return this.BASE_URL + '/api/create_the_concept';\n }\n static CreateTheConnectionUrl() {\n return this.BASE_URL + '/api/create_the_connection';\n }\n static CreateTheConnectionNewUrl() {\n return this.BASE_URL + '/api/create_the_connection_new';\n }\n static MakeTheTypeConceptUrl() {\n return this.BASE_URL + '/api/make_the_type_concept';\n }\n ////////////////////////////////////////////////////////////////////////\n /////////////////////API FOR Deleting Connection //////////////////////\n static DeleteTheConnectionUrl() {\n return this.BASE_URL + '/api/delete_connection';\n }\n //////////////////////////////////////////////////////////////////////\n //////////////////////API FOR FREESCHEMA QUERY //////////////////////\n static FreeschemaQueryUrl() {\n return this.BASE_URL + '/api/freeschema-query';\n }\n //////////////////////////////////////////////////////////////////////\n //////////////////////API FOR IMAGE UPLOAD //////////////////////\n static uploadImageUrl() {\n return this.BASE_URL + '/api/Image/UploadImage';\n }\n //////////////////////////////////////////////////////////////////////\n //////////////////////API FOR FILE UPLOAD //////////////////////\n static uploadFileUrl() {\n return this.BASE_URL + '/api/Image/UploadFile';\n }\n //////////////////////////////////////////////////////////////////////\n //////////////////////// API FOR SENDING MAIL ////////////////////////\n static sendMail() {\n return this.BASE_URL + '/api/sendmail';\n }\n static sendBulkMail() {\n return this.BASE_URL + '/api/sendmail/bulk';\n }\n}\nBaseUrl.BASE_URL = \"https://localhost:7053/\";\nBaseUrl.AI_URL = \"https://ai.freeschema.com\";\nBaseUrl.MQTT_URL = '192.168.1.249';\nBaseUrl.NODE_URL = \"http://localhost:5001\";\nBaseUrl.BASE_APPLICATION = \"\";\nBaseUrl.FLAGS = {\n logApplication: false,\n logPackage: false,\n accessTracker: false,\n isTest: false\n};\nBaseUrl.BASE_RANDOMIZER = 999;\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/DataStructures/BaseUrl.ts?");
|
|
498
498
|
|
|
499
499
|
/***/ }),
|
|
500
500
|
|
|
@@ -1424,7 +1424,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1424
1424
|
\***************************************/
|
|
1425
1425
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1426
1426
|
|
|
1427
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ GetTheConcept)\n/* harmony export */ });\n/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AccessTracker/accessTracker */ \"./src/AccessTracker/accessTracker.ts\");\n/* harmony import */ var _Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Api/GetConcept */ \"./src/Api/GetConcept.ts\");\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../app */ \"./src/app.ts\");\n/* harmony import */ var _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../DataStructures/ConceptData */ \"./src/DataStructures/ConceptData.ts\");\n/* harmony import */ var _CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CreateDefaultConcept */ \"./src/Services/CreateDefaultConcept.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n/**\n *\n * @param id this is the id that can be used to get the concept.\n * @param userId This is the user that calls the concept\n * @returns Concept if it exists\n */\nfunction GetTheConcept(id_1) {\n return __awaiter(this, arguments, void 0, function* (id, userId = 999) {\n let startTime = performance.now();\n // console.log(\"I skip GetTheConcept : \", id)\n // console.log(\"Log from GetTheConcept.............\", id)\n if (_AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__.AccessTracker.activateStatus) {\n try {\n _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__.AccessTracker.incrementConcept(id);\n }\n catch (_a) {\n console.error(\"Error adding connection in access tracker\");\n _app__WEBPACK_IMPORTED_MODULE_2__.Logger.log(\"ERROR\", \"Error Adding Connection\");\n }\n }\n try {\n if (_app__WEBPACK_IMPORTED_MODULE_2__.serviceWorker) {\n try {\n const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.sendMessage)('GetTheConcept', { id, userId });\n return res.data;\n }\n catch (error) {\n console.error('GetTheConcept sw error: ', error);\n (0,_app__WEBPACK_IMPORTED_MODULE_2__.handleServiceWorkerException)(error);\n }\n }\n let concept = (0,_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__.CreateDefaultConcept)();\n if (id < 0) {\n let lconcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.GetUserGhostId)(userId, id);\n concept = (0,_app__WEBPACK_IMPORTED_MODULE_2__.convertFromLConceptToConcept)(lconcept);\n return concept;\n }\n concept = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__.ConceptsData.GetConcept(id);\n if ((concept == null || concept.id == 0) && id != null && id != undefined) {\n let conceptString = yield (0,_Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__.GetConcept)(id);\n concept = conceptString;\n }\n if (concept.id != 0) {\n if (concept.type == null) {\n let conceptType = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__.ConceptsData.GetConcept(concept.typeId);\n if (conceptType == null && concept.typeId != null && concept.typeId != undefined) {\n let typeConceptString = yield (0,_Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__.GetConcept)(concept.typeId);\n let typeConcept = typeConceptString;\n concept.type = typeConcept;\n }\n }\n }\n // Add Log\n // Logger.logInfo(startTime, userId, \"read\", \"unknown\", undefined, 200, concept, \"GetTheConcept\", ['id', 'userId'], \"unknown\", undefined )\n return concept;\n }\n catch (err) {\n console.error(\"this is the error in the getting concept\", err);\n // Add Log\n _app__WEBPACK_IMPORTED_MODULE_2__.Logger.logError(startTime, userId, \"read\", \"unknown\", undefined, 500, err, \"GetTheConcept\", [id, userId], \"unknown\", undefined);\n throw err;\n }\n });\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/Services/GetTheConcept.ts?");
|
|
1427
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ GetTheConcept)\n/* harmony export */ });\n/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AccessTracker/accessTracker */ \"./src/AccessTracker/accessTracker.ts\");\n/* harmony import */ var _Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Api/GetConcept */ \"./src/Api/GetConcept.ts\");\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../app */ \"./src/app.ts\");\n/* harmony import */ var _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../DataStructures/ConceptData */ \"./src/DataStructures/ConceptData.ts\");\n/* harmony import */ var _CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CreateDefaultConcept */ \"./src/Services/CreateDefaultConcept.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n/**\n *\n * @param id this is the id that can be used to get the concept.\n * @param userId This is the user that calls the concept\n * @returns Concept if it exists\n */\nfunction GetTheConcept(id_1) {\n return __awaiter(this, arguments, void 0, function* (id, userId = 999) {\n let startTime = performance.now();\n // console.log(\"I skip GetTheConcept : \", id)\n // console.log(\"Log from GetTheConcept.............\", id)\n if (_AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__.AccessTracker.activateStatus) {\n try {\n _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__.AccessTracker.incrementConcept(id);\n }\n catch (_a) {\n console.error(\"Error adding connection in access tracker\");\n _app__WEBPACK_IMPORTED_MODULE_2__.Logger.log(\"ERROR\", \"Error Adding Connection\");\n }\n }\n try {\n if (_app__WEBPACK_IMPORTED_MODULE_2__.serviceWorker) {\n try {\n console.time(\"serviceworker\");\n const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.sendMessage)('GetTheConcept', { id, userId });\n console.timeEnd(\"serviceworker\");\n return res.data;\n }\n catch (error) {\n console.error('GetTheConcept sw error: ', error);\n (0,_app__WEBPACK_IMPORTED_MODULE_2__.handleServiceWorkerException)(error);\n }\n }\n let concept = (0,_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__.CreateDefaultConcept)();\n if (id < 0) {\n let lconcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.GetUserGhostId)(userId, id);\n concept = (0,_app__WEBPACK_IMPORTED_MODULE_2__.convertFromLConceptToConcept)(lconcept);\n return concept;\n }\n concept = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__.ConceptsData.GetConcept(id);\n if ((concept == null || concept.id == 0) && id != null && id != undefined) {\n let conceptString = yield (0,_Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__.GetConcept)(id);\n concept = conceptString;\n }\n if (concept.id != 0) {\n if (concept.type == null) {\n let conceptType = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__.ConceptsData.GetConcept(concept.typeId);\n if (conceptType == null && concept.typeId != null && concept.typeId != undefined) {\n let typeConceptString = yield (0,_Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__.GetConcept)(concept.typeId);\n let typeConcept = typeConceptString;\n concept.type = typeConcept;\n }\n }\n }\n // Add Log\n // Logger.logInfo(startTime, userId, \"read\", \"unknown\", undefined, 200, concept, \"GetTheConcept\", ['id', 'userId'], \"unknown\", undefined )\n return concept;\n }\n catch (err) {\n console.error(\"this is the error in the getting concept\", err);\n // Add Log\n _app__WEBPACK_IMPORTED_MODULE_2__.Logger.logError(startTime, userId, \"read\", \"unknown\", undefined, 500, err, \"GetTheConcept\", [id, userId], \"unknown\", undefined);\n throw err;\n }\n });\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/Services/GetTheConcept.ts?");
|
|
1428
1428
|
|
|
1429
1429
|
/***/ }),
|
|
1430
1430
|
|
|
@@ -1618,6 +1618,16 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1618
1618
|
|
|
1619
1619
|
/***/ }),
|
|
1620
1620
|
|
|
1621
|
+
/***/ "./src/Services/Mail.ts":
|
|
1622
|
+
/*!******************************!*\
|
|
1623
|
+
!*** ./src/Services/Mail.ts ***!
|
|
1624
|
+
\******************************/
|
|
1625
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1626
|
+
|
|
1627
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sendEmail: () => (/* binding */ sendEmail)\n/* harmony export */ });\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ \"./src/app.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n/**\n * Method to send Email to user\n * @param body FormData | EmailBody\n * @param token string\n * @param bulk boolean\n * @returns JSON | string | null\n */\nconst sendEmail = (body_1, token_1, ...args_1) => __awaiter(void 0, [body_1, token_1, ...args_1], void 0, function* (body, token, bulk = false) {\n try {\n let url = _app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.sendMail();\n if (bulk)\n url = _app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.sendBulkMail();\n const response = yield fetch(url, {\n method: 'POST',\n body: body instanceof FormData ? body : JSON.stringify(body),\n headers: {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${token}`,\n },\n });\n const contentType = response.headers.get('content-type');\n if (!response.ok) {\n // console.log(response.status)\n const errorData = yield response.json();\n // console.log(errorData) // Log error response data\n console.info(`${response.status} ${errorData}`);\n return null;\n }\n const responseData = yield response.json();\n if (contentType && contentType.includes('text/plain')) {\n return yield response.text();\n }\n return responseData;\n }\n catch (err) {\n console.error(err);\n return null;\n }\n});\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/Services/Mail.ts?");
|
|
1628
|
+
|
|
1629
|
+
/***/ }),
|
|
1630
|
+
|
|
1621
1631
|
/***/ "./src/Services/MakeTheCharacter.ts":
|
|
1622
1632
|
/*!******************************************!*\
|
|
1623
1633
|
!*** ./src/Services/MakeTheCharacter.ts ***!
|
|
@@ -1744,7 +1754,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1744
1754
|
\********************************************************/
|
|
1745
1755
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1746
1756
|
|
|
1747
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SearchWithTypeAndLinker: () => (/* binding */ SearchWithTypeAndLinker),\n/* harmony export */ SearchWithTypeAndLinkerDataId: () => (/* binding */ SearchWithTypeAndLinkerDataId),\n/* harmony export */ formatConnections: () => (/* binding */ formatConnections),\n/* harmony export */ formatConnectionsDataId: () => (/* binding */ formatConnectionsDataId),\n/* harmony export */ formatConnectionsJustId: () => (/* binding */ formatConnectionsJustId),\n/* harmony export */ formatDataArrayDataId: () => (/* binding */ formatDataArrayDataId),\n/* harmony export */ formatDataArrayNormal: () => (/* binding */ formatDataArrayNormal),\n/* harmony export */ formatLinkersNormal: () => (/* binding */ formatLinkersNormal)\n/* harmony export */ });\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app */ \"./src/app.ts\");\n/* harmony import */ var _GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../GetCompositionBulk */ \"./src/Services/GetCompositionBulk.ts\");\n/* harmony import */ var _FormatData__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FormatData */ \"./src/Services/Search/FormatData.ts\");\n/* harmony import */ var _SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SearchLinkMultiple */ \"./src/Services/Search/SearchLinkMultiple.ts\");\n/* harmony import */ var _JustIdFormat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./JustIdFormat */ \"./src/Services/Search/JustIdFormat.ts\");\n/* harmony import */ var _DataIdFormat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./DataIdFormat */ \"./src/Services/Search/DataIdFormat.ts\");\n/* harmony import */ var _Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Common/DecodeCountInfo */ \"./src/Services/Common/DecodeCountInfo.ts\");\n/* harmony import */ var _orderingConnections__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./orderingConnections */ \"./src/Services/Search/orderingConnections.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\n\n/**\n * This function will help you search a concept by their type and also to query inside of it.\n * Put the number of compositions you want to get in the searchStructure which can be set by inpage and page\n * Then the type should be set in searchQuery for the compositionName.\n * Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery.\n * This will give the id of the structures.\n */\nfunction SearchWithTypeAndLinkerDataId(searchStructure_1, searchQuery_1) {\n return __awaiter(this, arguments, void 0, function* (searchStructure, searchQuery, token = \"\") {\n let result = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.SearchWithTypeAndLinkerApi)(searchStructure, searchQuery, token);\n let conceptIds = result.compositionIds;\n let connections = result.internalConnections;\n let linkers = result.linkers;\n let reverse = result.reverse;\n let mainCompositionIds = result.mainCompositionIds;\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsWithDataIdInObject)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatFromConnectionsAlteredArray)(prefetchConnections, concepts, conceptIds, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * This function will help you search a concept by their type and also to query inside of it.\n * Put the number of compositions you want to get in the searchStructure which can be set by inpage and page\n * Then the type should be set in searchQuery for the compositionName.\n * Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery.\n * This will not give the id of the structures.\n */\nfunction SearchWithTypeAndLinker(searchStructure_1, searchQuery_1) {\n return __awaiter(this, arguments, void 0, function* (searchStructure, searchQuery, token = \"\") {\n let result = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.SearchWithTypeAndLinkerApi)(searchStructure, searchQuery, token);\n let conceptIds = result.compositionIds;\n let connections = result.internalConnections;\n let linkers = result.linkers;\n let reverse = result.reverse;\n let mainCompositionIds = result.mainCompositionIds;\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsInObject)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatConceptsAndConnections)(prefetchConnections, concepts, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format dataid ##\n * @param linkers\n * @param conceptIds\n * @param connections\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatDataArrayDataId(linkers, conceptIds, connections, mainCompositionIds, reverse) {\n return __awaiter(this, void 0, void 0, function* () {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsWithDataIdInObject)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatFromConnectionsAlteredArray)(prefetchConnections, concepts, conceptIds, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format Normal ##\n * @param linkers\n * @param conceptIds\n * @param connections\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatDataArrayNormal(linkers, conceptIds, connections, mainCompositionIds, reverse) {\n return __awaiter(this, void 0, void 0, function* () {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsInObjectNormal)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatConceptsAndConnections)(prefetchConnections, concepts, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format Normal ##\n * @param linkers\n * @param conceptIds\n * @param connections\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatLinkersNormal(linkers, conceptIds, connections, mainCompositionIds, reverse) {\n return __awaiter(this, void 0, void 0, function* () {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsInObjectNormal)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatConceptsAndConnections)(prefetchConnections, concepts, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format Normal ##\n * This function fetches all the connections and then converts all the connections to the single level connections\n * Then those single level objects are then stiched together to create a complex json/ array.\n * @param linkers\n * @param conceptIds\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatConnections(linkers, conceptIds, mainCompositionIds, reverse, countInfos) {\n return __awaiter(this, void 0, void 0, function* () {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n //let CountDictionary:any = await GetConnectionTypeForCount(countInfos);\n prefetchConnections = (0,_orderingConnections__WEBPACK_IMPORTED_MODULE_7__.orderTheConnections)(prefetchConnections);\n let compositionData = [];\n let newCompositionData = [];\n let time1 = new Date().getTime();\n compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunction)(prefetchConnections, compositionData, reverse);\n console.log(\"format1\", new Date().getTime() - time1);\n let time2 = new Date().getTime();\n compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunctionForData)(prefetchConnections, compositionData, reverse);\n console.log(\"format2\", new Date().getTime() - time2);\n let time3 = new Date().getTime();\n let output = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatConceptsAndConnectionsNormalList)(prefetchConnections, compositionData, mainCompositionIds, newCompositionData, reverse);\n console.log(\"format3\", new Date().getTime() - time3);\n return output;\n });\n}\n/**\n * ## Format JustId ##\n * This function fetches all the connections and then converts all the connections to the single level connections\n * Then those single level objects are then stiched together to create a complex json/ array.\n * @param linkers\n * @param conceptIds\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatConnectionsJustId(linkers_1, conceptIds_1, mainCompositionIds_1, reverse_1, countInfos_1) {\n return __awaiter(this, arguments, void 0, function* (linkers, conceptIds, mainCompositionIds, reverse, countInfos, order = \"DESC\") {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let CountDictionary = yield (0,_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_6__.GetConnectionTypeForCount)(countInfos);\n prefetchConnections = (0,_orderingConnections__WEBPACK_IMPORTED_MODULE_7__.orderTheConnections)(prefetchConnections, order);\n let compositionData = [];\n let newCompositionData = [];\n compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunction)(prefetchConnections, compositionData, reverse);\n compositionData = yield (0,_JustIdFormat__WEBPACK_IMPORTED_MODULE_4__.FormatFunctionDataForDataJustId)(prefetchConnections, compositionData, reverse);\n let output = yield (0,_JustIdFormat__WEBPACK_IMPORTED_MODULE_4__.FormatFromConnectionsAlteredArrayExternalJustId)(prefetchConnections, compositionData, mainCompositionIds, reverse, CountDictionary);\n return output;\n });\n}\n/**\n * ## Format DATA-ID ##\n * This function fetches all the connections and then converts all the connections to the single level connections\n * Then those single level objects are then stiched together to create a complex json/ array.\n * @param linkers\n * @param conceptIds\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatConnectionsDataId(linkers_1, conceptIds_1, mainCompositionIds_1, reverse_1, countInfos_1) {\n return __awaiter(this, arguments, void 0, function* (linkers, conceptIds, mainCompositionIds, reverse, countInfos, order = \"DESC\") {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let CountDictionary = yield (0,_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_6__.GetConnectionTypeForCount)(countInfos);\n prefetchConnections = (0,_orderingConnections__WEBPACK_IMPORTED_MODULE_7__.orderTheConnections)(prefetchConnections, order);\n console.log(\"this is the prfetch connections\", prefetchConnections);\n let compositionData = [];\n let newCompositionData = [];\n compositionData = yield (0,_DataIdFormat__WEBPACK_IMPORTED_MODULE_5__.FormatFunctionData)(prefetchConnections, compositionData, reverse);\n compositionData = yield (0,_DataIdFormat__WEBPACK_IMPORTED_MODULE_5__.FormatFunctionDataForData)(prefetchConnections, compositionData, reverse);\n let output = yield (0,_DataIdFormat__WEBPACK_IMPORTED_MODULE_5__.FormatFromConnectionsAlteredArrayExternal)(prefetchConnections, compositionData, newCompositionData, mainCompositionIds, reverse, CountDictionary);\n return output;\n });\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/Services/Search/SearchWithTypeAndLinker.ts?");
|
|
1757
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SearchWithTypeAndLinker: () => (/* binding */ SearchWithTypeAndLinker),\n/* harmony export */ SearchWithTypeAndLinkerDataId: () => (/* binding */ SearchWithTypeAndLinkerDataId),\n/* harmony export */ formatConnections: () => (/* binding */ formatConnections),\n/* harmony export */ formatConnectionsDataId: () => (/* binding */ formatConnectionsDataId),\n/* harmony export */ formatConnectionsJustId: () => (/* binding */ formatConnectionsJustId),\n/* harmony export */ formatDataArrayDataId: () => (/* binding */ formatDataArrayDataId),\n/* harmony export */ formatDataArrayNormal: () => (/* binding */ formatDataArrayNormal),\n/* harmony export */ formatLinkersNormal: () => (/* binding */ formatLinkersNormal)\n/* harmony export */ });\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app */ \"./src/app.ts\");\n/* harmony import */ var _GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../GetCompositionBulk */ \"./src/Services/GetCompositionBulk.ts\");\n/* harmony import */ var _FormatData__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FormatData */ \"./src/Services/Search/FormatData.ts\");\n/* harmony import */ var _SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SearchLinkMultiple */ \"./src/Services/Search/SearchLinkMultiple.ts\");\n/* harmony import */ var _JustIdFormat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./JustIdFormat */ \"./src/Services/Search/JustIdFormat.ts\");\n/* harmony import */ var _DataIdFormat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./DataIdFormat */ \"./src/Services/Search/DataIdFormat.ts\");\n/* harmony import */ var _Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Common/DecodeCountInfo */ \"./src/Services/Common/DecodeCountInfo.ts\");\n/* harmony import */ var _orderingConnections__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./orderingConnections */ \"./src/Services/Search/orderingConnections.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\n\n/**\n * This function will help you search a concept by their type and also to query inside of it.\n * Put the number of compositions you want to get in the searchStructure which can be set by inpage and page\n * Then the type should be set in searchQuery for the compositionName.\n * Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery.\n * This will give the id of the structures.\n */\nfunction SearchWithTypeAndLinkerDataId(searchStructure_1, searchQuery_1) {\n return __awaiter(this, arguments, void 0, function* (searchStructure, searchQuery, token = \"\") {\n let result = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.SearchWithTypeAndLinkerApi)(searchStructure, searchQuery, token);\n let conceptIds = result.compositionIds;\n let connections = result.internalConnections;\n let linkers = result.linkers;\n let reverse = result.reverse;\n let mainCompositionIds = result.mainCompositionIds;\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsWithDataIdInObject)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatFromConnectionsAlteredArray)(prefetchConnections, concepts, conceptIds, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * This function will help you search a concept by their type and also to query inside of it.\n * Put the number of compositions you want to get in the searchStructure which can be set by inpage and page\n * Then the type should be set in searchQuery for the compositionName.\n * Inside the searchQuery array this you can set the full linker / listLinker in the searchQuery.\n * This will not give the id of the structures.\n */\nfunction SearchWithTypeAndLinker(searchStructure_1, searchQuery_1) {\n return __awaiter(this, arguments, void 0, function* (searchStructure, searchQuery, token = \"\") {\n let result = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.SearchWithTypeAndLinkerApi)(searchStructure, searchQuery, token);\n let conceptIds = result.compositionIds;\n let connections = result.internalConnections;\n let linkers = result.linkers;\n let reverse = result.reverse;\n let mainCompositionIds = result.mainCompositionIds;\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsInObject)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatConceptsAndConnections)(prefetchConnections, concepts, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format dataid ##\n * @param linkers\n * @param conceptIds\n * @param connections\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatDataArrayDataId(linkers, conceptIds, connections, mainCompositionIds, reverse) {\n return __awaiter(this, void 0, void 0, function* () {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsWithDataIdInObject)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatFromConnectionsAlteredArray)(prefetchConnections, concepts, conceptIds, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format Normal ##\n * @param linkers\n * @param conceptIds\n * @param connections\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatDataArrayNormal(linkers, conceptIds, connections, mainCompositionIds, reverse) {\n return __awaiter(this, void 0, void 0, function* () {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsInObjectNormal)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatConceptsAndConnections)(prefetchConnections, concepts, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format Normal ##\n * @param linkers\n * @param conceptIds\n * @param connections\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatLinkersNormal(linkers, conceptIds, connections, mainCompositionIds, reverse) {\n return __awaiter(this, void 0, void 0, function* () {\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let concepts = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetCompositionFromConnectionsInObjectNormal)(conceptIds, connections);\n let output = yield (0,_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_3__.FormatConceptsAndConnections)(prefetchConnections, concepts, mainCompositionIds, reverse);\n return output;\n });\n}\n/**\n * ## Format Normal ##\n * This function fetches all the connections and then converts all the connections to the single level connections\n * Then those single level objects are then stiched together to create a complex json/ array.\n * @param linkers\n * @param conceptIds\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatConnections(linkers, conceptIds, mainCompositionIds, reverse, countInfos) {\n return __awaiter(this, void 0, void 0, function* () {\n if (_app__WEBPACK_IMPORTED_MODULE_0__.serviceWorker) {\n try {\n const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.sendMessage)('formatConnections', { linkers, conceptIds, mainCompositionIds, reverse, countInfos });\n return res.data;\n }\n catch (error) {\n console.error('formatConnections error sw: ', error);\n (0,_app__WEBPACK_IMPORTED_MODULE_0__.handleServiceWorkerException)(error);\n }\n }\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n //let CountDictionary:any = await GetConnectionTypeForCount(countInfos);\n prefetchConnections = (0,_orderingConnections__WEBPACK_IMPORTED_MODULE_7__.orderTheConnections)(prefetchConnections);\n let compositionData = [];\n let newCompositionData = [];\n let time1 = new Date().getTime();\n compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunction)(prefetchConnections, compositionData, reverse);\n console.log(\"format1\", new Date().getTime() - time1);\n let time2 = new Date().getTime();\n compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunctionForData)(prefetchConnections, compositionData, reverse);\n console.log(\"format2\", new Date().getTime() - time2);\n let time3 = new Date().getTime();\n let output = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatConceptsAndConnectionsNormalList)(prefetchConnections, compositionData, mainCompositionIds, newCompositionData, reverse);\n console.log(\"format3\", new Date().getTime() - time3);\n return output;\n });\n}\n/**\n * ## Format JustId ##\n * This function fetches all the connections and then converts all the connections to the single level connections\n * Then those single level objects are then stiched together to create a complex json/ array.\n * @param linkers\n * @param conceptIds\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatConnectionsJustId(linkers_1, conceptIds_1, mainCompositionIds_1, reverse_1, countInfos_1) {\n return __awaiter(this, arguments, void 0, function* (linkers, conceptIds, mainCompositionIds, reverse, countInfos, order = \"DESC\") {\n if (_app__WEBPACK_IMPORTED_MODULE_0__.serviceWorker) {\n try {\n const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.sendMessage)('formatConnectionsJustId', { linkers, conceptIds, mainCompositionIds, reverse, countInfos, order });\n return res.data;\n }\n catch (error) {\n console.error('formatConnectionsJustId error sw: ', error);\n (0,_app__WEBPACK_IMPORTED_MODULE_0__.handleServiceWorkerException)(error);\n }\n }\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let CountDictionary = yield (0,_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_6__.GetConnectionTypeForCount)(countInfos);\n prefetchConnections = (0,_orderingConnections__WEBPACK_IMPORTED_MODULE_7__.orderTheConnections)(prefetchConnections, order);\n let compositionData = [];\n let newCompositionData = [];\n compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunction)(prefetchConnections, compositionData, reverse);\n compositionData = yield (0,_JustIdFormat__WEBPACK_IMPORTED_MODULE_4__.FormatFunctionDataForDataJustId)(prefetchConnections, compositionData, reverse);\n let output = yield (0,_JustIdFormat__WEBPACK_IMPORTED_MODULE_4__.FormatFromConnectionsAlteredArrayExternalJustId)(prefetchConnections, compositionData, mainCompositionIds, reverse, CountDictionary);\n return output;\n });\n}\n/**\n * ## Format DATA-ID ##\n * This function fetches all the connections and then converts all the connections to the single level connections\n * Then those single level objects are then stiched together to create a complex json/ array.\n * @param linkers\n * @param conceptIds\n * @param mainCompositionIds\n * @param reverse\n * @returns\n */\nfunction formatConnectionsDataId(linkers_1, conceptIds_1, mainCompositionIds_1, reverse_1, countInfos_1) {\n return __awaiter(this, arguments, void 0, function* (linkers, conceptIds, mainCompositionIds, reverse, countInfos, order = \"DESC\") {\n if (_app__WEBPACK_IMPORTED_MODULE_0__.serviceWorker) {\n try {\n const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.sendMessage)('formatConnectionsDataId', { linkers, conceptIds, mainCompositionIds, reverse, countInfos, order });\n return res.data;\n }\n catch (error) {\n console.error('GetConnectionDataPrefetch error sw: ', error);\n (0,_app__WEBPACK_IMPORTED_MODULE_0__.handleServiceWorkerException)(error);\n }\n }\n let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);\n let CountDictionary = yield (0,_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_6__.GetConnectionTypeForCount)(countInfos);\n prefetchConnections = (0,_orderingConnections__WEBPACK_IMPORTED_MODULE_7__.orderTheConnections)(prefetchConnections, order);\n console.log(\"this is the prfetch connections\", prefetchConnections);\n let compositionData = [];\n let newCompositionData = [];\n let time1 = new Date().getTime();\n compositionData = yield (0,_DataIdFormat__WEBPACK_IMPORTED_MODULE_5__.FormatFunctionData)(prefetchConnections, compositionData, reverse);\n console.log(\"format1\", new Date().getTime() - time1);\n let time2 = new Date().getTime();\n compositionData = yield (0,_DataIdFormat__WEBPACK_IMPORTED_MODULE_5__.FormatFunctionDataForData)(prefetchConnections, compositionData, reverse);\n console.log(\"format2\", new Date().getTime() - time2);\n let time3 = new Date().getTime();\n let output = yield (0,_DataIdFormat__WEBPACK_IMPORTED_MODULE_5__.FormatFromConnectionsAlteredArrayExternal)(prefetchConnections, compositionData, newCompositionData, mainCompositionIds, reverse, CountDictionary);\n console.log(\"format2\", new Date().getTime() - time3);\n return output;\n });\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/Services/Search/SearchWithTypeAndLinker.ts?");
|
|
1748
1758
|
|
|
1749
1759
|
/***/ }),
|
|
1750
1760
|
|
|
@@ -1994,7 +2004,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1994
2004
|
\*******************************************************/
|
|
1995
2005
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1996
2006
|
|
|
1997
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SchemaQueryListener: () => (/* binding */ SchemaQueryListener),\n/* harmony export */ SearchLinkMultipleAllObservable: () => (/* binding */ SearchLinkMultipleAllObservable)\n/* harmony export */ });\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ \"./src/app.ts\");\n/* harmony import */ var _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Constants/FormatConstants */ \"./src/Constants/FormatConstants.ts\");\n/* harmony import */ var _Services_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Services/Common/DecodeCountInfo */ \"./src/Services/Common/DecodeCountInfo.ts\");\n/* harmony import */ var _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Services/Search/SearchWithTypeAndLinker */ \"./src/Services/Search/SearchWithTypeAndLinker.ts\");\n/* harmony import */ var _DepenedencyObserver__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./DepenedencyObserver */ \"./src/WrapperFunctions/DepenedencyObserver.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\nclass SearchLinkMultipleAllObservable extends _DepenedencyObserver__WEBPACK_IMPORTED_MODULE_4__.DependencyObserver {\n constructor(query, token) {\n super();\n this.mainCompositionIds = [];\n this.query = new _app__WEBPACK_IMPORTED_MODULE_0__.FreeschemaQuery();\n this.countInfoStrings = [];\n this.order = \"DESC\";\n this.query = query;\n this.format = query.outputFormat;\n this.order = query.order;\n }\n bind() {\n return __awaiter(this, void 0, void 0, function* () {\n if (!this.isDataLoaded) {\n this.isDataLoaded = true;\n this.query.outputFormat = _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__.ALLID;\n let result = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.FreeschemaQueryApi)(this.query, \"\");\n this.conceptIds = result.conceptIds;\n this.internalConnections = result.internalConnections;\n this.linkers = result.linkers;\n this.reverse = result.reverse;\n this.mainCompositionIds = result.mainCompositionIds;\n this.countInfoStrings = result.countinfo;\n }\n return yield this.build();\n });\n }\n build() {\n return __awaiter(this, void 0, void 0, function* () {\n let countInfos = (0,_Services_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_2__.DecodeCountInfo)(this.countInfoStrings);\n if (this.format == _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__.DATAID) {\n this.data = yield (0,_Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__.formatConnectionsDataId)(this.linkers, this.conceptIds, this.mainCompositionIds, this.reverse, countInfos, this.order);\n }\n else if (this.format == _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__.JUSTDATA) {\n this.data = yield (0,_Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__.formatConnectionsJustId)(this.linkers, this.conceptIds, this.mainCompositionIds, this.reverse, countInfos, this.order);\n }\n else {\n console.time(\"format\");\n this.data = yield (0,_Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__.formatConnections)(this.linkers, this.conceptIds, this.mainCompositionIds, this.reverse, countInfos);\n console.timeEnd(\"format\");\n //this.data = await formatDataArrayNormal(this.linkers, this.conceptIds, this.internalConnections, this.mainCompositionIds, this.reverse );\n }\n return this.data;\n });\n }\n}\n/**\n *\n * @param id this is the id whose links need to be found\n * @param linker this is the type connection that is connected to the mainConcept(id)\n * @param inpage number of outputs that has to be displayed\n * @param page the page which needs to be displayed as per the inpage parameter\n * @param format the format in which the output should be displayed (NORMAL, DATAID,JUSTDATA,DATAIDDATE)\n */\nfunction SchemaQueryListener(query, token) {\n return new SearchLinkMultipleAllObservable(query, token);\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/WrapperFunctions/SchemaQueryObservable.ts?");
|
|
2007
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SchemaQueryListener: () => (/* binding */ SchemaQueryListener),\n/* harmony export */ SearchLinkMultipleAllObservable: () => (/* binding */ SearchLinkMultipleAllObservable)\n/* harmony export */ });\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ \"./src/app.ts\");\n/* harmony import */ var _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Constants/FormatConstants */ \"./src/Constants/FormatConstants.ts\");\n/* harmony import */ var _Services_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Services/Common/DecodeCountInfo */ \"./src/Services/Common/DecodeCountInfo.ts\");\n/* harmony import */ var _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Services/Search/SearchWithTypeAndLinker */ \"./src/Services/Search/SearchWithTypeAndLinker.ts\");\n/* harmony import */ var _DepenedencyObserver__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./DepenedencyObserver */ \"./src/WrapperFunctions/DepenedencyObserver.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\nclass SearchLinkMultipleAllObservable extends _DepenedencyObserver__WEBPACK_IMPORTED_MODULE_4__.DependencyObserver {\n constructor(query, token) {\n super();\n this.mainCompositionIds = [];\n this.query = new _app__WEBPACK_IMPORTED_MODULE_0__.FreeschemaQuery();\n this.countInfoStrings = [];\n this.order = \"DESC\";\n this.query = query;\n this.format = query.outputFormat;\n this.order = query.order;\n }\n bind() {\n return __awaiter(this, void 0, void 0, function* () {\n if (!this.isDataLoaded) {\n this.isDataLoaded = true;\n this.query.outputFormat = _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__.ALLID;\n let result = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.FreeschemaQueryApi)(this.query, \"\");\n this.conceptIds = result.conceptIds;\n this.internalConnections = result.internalConnections;\n this.linkers = result.linkers;\n this.reverse = result.reverse;\n this.mainCompositionIds = result.mainCompositionIds;\n this.countInfoStrings = result.countinfo;\n }\n return yield this.build();\n });\n }\n build() {\n return __awaiter(this, void 0, void 0, function* () {\n let countInfos = (0,_Services_Common_DecodeCountInfo__WEBPACK_IMPORTED_MODULE_2__.DecodeCountInfo)(this.countInfoStrings);\n if (this.format == _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__.DATAID) {\n console.time(\"format\");\n this.data = yield (0,_Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__.formatConnectionsDataId)(this.linkers, this.conceptIds, this.mainCompositionIds, this.reverse, countInfos, this.order);\n console.timeEnd(\"format\");\n }\n else if (this.format == _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_1__.JUSTDATA) {\n this.data = yield (0,_Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__.formatConnectionsJustId)(this.linkers, this.conceptIds, this.mainCompositionIds, this.reverse, countInfos, this.order);\n }\n else {\n console.time(\"format\");\n this.data = yield (0,_Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_3__.formatConnections)(this.linkers, this.conceptIds, this.mainCompositionIds, this.reverse, countInfos);\n console.timeEnd(\"format\");\n //this.data = await formatDataArrayNormal(this.linkers, this.conceptIds, this.internalConnections, this.mainCompositionIds, this.reverse );\n }\n return this.data;\n });\n }\n}\n/**\n *\n * @param id this is the id whose links need to be found\n * @param linker this is the type connection that is connected to the mainConcept(id)\n * @param inpage number of outputs that has to be displayed\n * @param page the page which needs to be displayed as per the inpage parameter\n * @param format the format in which the output should be displayed (NORMAL, DATAID,JUSTDATA,DATAIDDATE)\n */\nfunction SchemaQueryListener(query, token) {\n return new SearchLinkMultipleAllObservable(query, token);\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/WrapperFunctions/SchemaQueryObservable.ts?");
|
|
1998
2008
|
|
|
1999
2009
|
/***/ }),
|
|
2000
2010
|
|
|
@@ -2014,7 +2024,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
2014
2024
|
\********************/
|
|
2015
2025
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2016
2026
|
|
|
2017
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ADMIN: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.ADMIN),\n/* harmony export */ ALLID: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.ALLID),\n/* harmony export */ AccessTracker: () => (/* reexport safe */ _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_118__.AccessTracker),\n/* harmony export */ AddGhostConcept: () => (/* reexport safe */ _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__.AddGhostConcept),\n/* harmony export */ Anomaly: () => (/* reexport safe */ _Anomaly_anomaly__WEBPACK_IMPORTED_MODULE_109__.Anomaly),\n/* harmony export */ BaseUrl: () => (/* reexport safe */ _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl),\n/* harmony export */ BinaryTree: () => (/* reexport safe */ _DataStructures_BinaryTree__WEBPACK_IMPORTED_MODULE_84__.BinaryTree),\n/* harmony export */ BuilderStatefulWidget: () => (/* reexport safe */ _Widgets_BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_107__.BuilderStatefulWidget),\n/* harmony export */ Composition: () => (/* reexport safe */ _DataStructures_Composition_Composition__WEBPACK_IMPORTED_MODULE_88__.Composition),\n/* harmony export */ CompositionBinaryTree: () => (/* reexport safe */ _DataStructures_Composition_CompositionBinaryTree__WEBPACK_IMPORTED_MODULE_89__.CompositionBinaryTree),\n/* harmony export */ CompositionNode: () => (/* reexport safe */ _DataStructures_Composition_CompositionNode__WEBPACK_IMPORTED_MODULE_90__.CompositionNode),\n/* harmony export */ Concept: () => (/* reexport safe */ _DataStructures_Concept__WEBPACK_IMPORTED_MODULE_78__.Concept),\n/* harmony export */ ConceptsData: () => (/* reexport safe */ _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_82__.ConceptsData),\n/* harmony export */ Connection: () => (/* reexport safe */ _DataStructures_Connection__WEBPACK_IMPORTED_MODULE_81__.Connection),\n/* harmony export */ ConnectionData: () => (/* reexport safe */ _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_83__.ConnectionData),\n/* harmony export */ CreateComposition: () => (/* reexport safe */ _Services_CreateTheComposition__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n/* harmony export */ CreateConnectionBetweenEntityLocal: () => (/* reexport safe */ _Services_CreateConnection_CreateConnectionEntity__WEBPACK_IMPORTED_MODULE_119__.CreateConnectionBetweenEntityLocal),\n/* harmony export */ CreateConnectionBetweenTwoConcepts: () => (/* reexport safe */ _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__.CreateConnectionBetweenTwoConcepts),\n/* harmony export */ CreateConnectionBetweenTwoConceptsGeneral: () => (/* reexport safe */ _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__.CreateConnectionBetweenTwoConceptsGeneral),\n/* harmony export */ CreateConnectionBetweenTwoConceptsLocal: () => (/* reexport safe */ _Services_Local_CreateConnectionBetweenTwoConceptsLocal__WEBPACK_IMPORTED_MODULE_61__.CreateConnectionBetweenTwoConceptsLocal),\n/* harmony export */ CreateDefaultConcept: () => (/* reexport safe */ _Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_19__.CreateDefaultConcept),\n/* harmony export */ CreateDefaultLConcept: () => (/* reexport safe */ _Services_Local_CreateDefaultLConcept__WEBPACK_IMPORTED_MODULE_48__.CreateDefaultLConcept),\n/* harmony export */ CreateSession: () => (/* reexport safe */ _Api_Session_CreateSession__WEBPACK_IMPORTED_MODULE_43__.CreateSession),\n/* harmony export */ CreateSessionVisit: () => (/* reexport safe */ _Api_Session_CreateSessionVisit__WEBPACK_IMPORTED_MODULE_44__.CreateSessionVisit),\n/* harmony export */ CreateTheCompositionLocal: () => (/* reexport safe */ _Services_Local_CreateTheCompositionLocal__WEBPACK_IMPORTED_MODULE_10__.CreateTheCompositionLocal),\n/* harmony export */ CreateTheCompositionWithCache: () => (/* reexport safe */ _Services_Composition_CreateCompositionCache__WEBPACK_IMPORTED_MODULE_47__.CreateTheCompositionWithCache),\n/* harmony export */ CreateTheConnection: () => (/* reexport safe */ _Services_CreateTheConnection__WEBPACK_IMPORTED_MODULE_16__.createTheConnection),\n/* harmony export */ CreateTheConnectionGeneral: () => (/* reexport safe */ _Services_CreateTheConnectionGeneral__WEBPACK_IMPORTED_MODULE_49__.CreateTheConnectionGeneral),\n/* harmony export */ CreateTheConnectionLocal: () => (/* reexport safe */ _Services_Local_CreateTheConnectionLocal__WEBPACK_IMPORTED_MODULE_50__.CreateTheConnectionLocal),\n/* harmony export */ DATAID: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.DATAID),\n/* harmony export */ DATAIDDATE: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.DATAIDDATE),\n/* harmony export */ DelayFunctionExecution: () => (/* reexport safe */ _Services_Common_DelayFunction__WEBPACK_IMPORTED_MODULE_64__.DelayFunctionExecution),\n/* harmony export */ DeleteConceptById: () => (/* reexport safe */ _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__.DeleteConceptById),\n/* harmony export */ DeleteConceptLocal: () => (/* reexport safe */ _Services_Local_DeleteConceptLocal__WEBPACK_IMPORTED_MODULE_62__.DeleteConceptLocal),\n/* harmony export */ DeleteConnectionById: () => (/* reexport safe */ _Services_DeleteConnection__WEBPACK_IMPORTED_MODULE_25__.DeleteConnectionById),\n/* harmony export */ DeleteConnectionByType: () => (/* reexport safe */ _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_113__.DeleteConnectionByType),\n/* harmony export */ DeleteUser: () => (/* reexport safe */ _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__.DeleteUser),\n/* harmony export */ DependencyObserver: () => (/* reexport safe */ _WrapperFunctions_DepenedencyObserver__WEBPACK_IMPORTED_MODULE_69__.DependencyObserver),\n/* harmony export */ FilterSearch: () => (/* reexport safe */ _DataStructures_FilterSearch__WEBPACK_IMPORTED_MODULE_93__.FilterSearch),\n/* harmony export */ FormatFromConnections: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.FormatFromConnections),\n/* harmony export */ FormatFromConnectionsAltered: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.FormatFromConnectionsAltered),\n/* harmony export */ FreeschemaQuery: () => (/* reexport safe */ _DataStructures_Search_FreeschemaQuery__WEBPACK_IMPORTED_MODULE_114__.FreeschemaQuery),\n/* harmony export */ FreeschemaQueryApi: () => (/* reexport safe */ _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_115__.FreeschemaQueryApi),\n/* harmony export */ GetAllConnectionsOfComposition: () => (/* reexport safe */ _Api_GetAllConnectionsOfComposition__WEBPACK_IMPORTED_MODULE_6__.GetAllConnectionsOfComposition),\n/* harmony export */ GetAllConnectionsOfCompositionBulk: () => (/* reexport safe */ _Api_GetAllConnectionsOfCompositionBulk__WEBPACK_IMPORTED_MODULE_34__.GetAllConnectionsOfCompositionBulk),\n/* harmony export */ GetAllTheConnectionsByTypeAndOfTheConcept: () => (/* reexport safe */ _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_113__.GetAllTheConnectionsByTypeAndOfTheConcept),\n/* harmony export */ GetComposition: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetComposition),\n/* harmony export */ GetCompositionBulk: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulk),\n/* harmony export */ GetCompositionBulkWithDataId: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulkWithDataId),\n/* harmony export */ GetCompositionFromConnectionsWithDataId: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataId),\n/* harmony export */ GetCompositionFromConnectionsWithDataIdFromConnections: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataIdFromConnections),\n/* harmony export */ GetCompositionFromConnectionsWithDataIdInObject: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataIdInObject),\n/* harmony export */ GetCompositionFromConnectionsWithDataIdIndex: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataIdIndex),\n/* harmony export */ GetCompositionFromConnectionsWithIndex: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithIndex),\n/* harmony export */ GetCompositionFromConnectionsWithIndexFromConnections: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithIndexFromConnections),\n/* harmony export */ GetCompositionFromMemoryWithConnections: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionFromMemoryWithConnections),\n/* harmony export */ GetCompositionList: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionList),\n/* harmony export */ GetCompositionListAll: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListAll),\n/* harmony export */ GetCompositionListAllWithId: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListAllWithId),\n/* harmony export */ GetCompositionListListener: () => (/* reexport safe */ _WrapperFunctions_GetCompositionListObservable__WEBPACK_IMPORTED_MODULE_72__.GetCompositionListListener),\n/* harmony export */ GetCompositionListLocal: () => (/* reexport safe */ _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__.GetCompositionListLocal),\n/* harmony export */ GetCompositionListLocalWithId: () => (/* reexport safe */ _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__.GetCompositionListLocalWithId),\n/* harmony export */ GetCompositionListWithId: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListWithId),\n/* harmony export */ GetCompositionListWithIdUpdated: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListWithIdUpdated),\n/* harmony export */ GetCompositionListener: () => (/* reexport safe */ _WrapperFunctions_GetCompositionObservable__WEBPACK_IMPORTED_MODULE_71__.GetCompositionListener),\n/* harmony export */ GetCompositionLocal: () => (/* reexport safe */ _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__.GetCompositionLocal),\n/* harmony export */ GetCompositionLocalWithId: () => (/* reexport safe */ _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__.GetCompositionLocalWithId),\n/* harmony export */ GetCompositionWithAllIds: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithAllIds),\n/* harmony export */ GetCompositionWithCache: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithCache),\n/* harmony export */ GetCompositionWithDataIdBulk: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithDataIdBulk),\n/* harmony export */ GetCompositionWithDataIdWithCache: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithDataIdWithCache),\n/* harmony export */ GetCompositionWithId: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithId),\n/* harmony export */ GetCompositionWithIdAndDateFromMemory: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithIdAndDateFromMemory),\n/* harmony export */ GetConceptBulk: () => (/* reexport safe */ _Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_32__.GetConceptBulk),\n/* harmony export */ GetConceptByCharacter: () => (/* reexport safe */ _Services_GetConceptByCharacter__WEBPACK_IMPORTED_MODULE_17__[\"default\"]),\n/* harmony export */ GetConceptByCharacterAndCategoryLocal: () => (/* reexport safe */ _Services_Local_GetConceptByCharacterLocal__WEBPACK_IMPORTED_MODULE_56__.GetConceptByCharacterAndCategoryLocal),\n/* harmony export */ GetConceptByCharacterAndType: () => (/* reexport safe */ _Api_GetConceptByCharacterAndType__WEBPACK_IMPORTED_MODULE_65__.GetConceptByCharacterAndType),\n/* harmony export */ GetConnectionBetweenTwoConceptsLinker: () => (/* reexport safe */ _Services_GetConnectionBetweenTwoConceptsLinker__WEBPACK_IMPORTED_MODULE_63__.GetConnectionBetweenTwoConceptsLinker),\n/* harmony export */ GetConnectionBulk: () => (/* reexport safe */ _Api_GetConnectionBulk__WEBPACK_IMPORTED_MODULE_33__.GetConnectionBulk),\n/* harmony export */ GetConnectionById: () => (/* reexport safe */ _Services_GetConnections__WEBPACK_IMPORTED_MODULE_27__.GetConnectionById),\n/* harmony export */ GetConnectionDataPrefetch: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetConnectionDataPrefetch),\n/* harmony export */ GetConnectionOfTheConcept: () => (/* reexport safe */ _Api_GetConnectionOfTheConcept__WEBPACK_IMPORTED_MODULE_36__.GetConnectionOfTheConcept),\n/* harmony export */ GetLink: () => (/* reexport safe */ _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__.GetLink),\n/* harmony export */ GetLinkListListener: () => (/* reexport safe */ _WrapperFunctions_GetLinkListObservable__WEBPACK_IMPORTED_MODULE_76__.GetLinkListListener),\n/* harmony export */ GetLinkListener: () => (/* reexport safe */ _WrapperFunctions_GetLinkObservable__WEBPACK_IMPORTED_MODULE_74__.GetLinkListener),\n/* harmony export */ GetLinkRaw: () => (/* reexport safe */ _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__.GetLinkRaw),\n/* harmony export */ GetLinkerConnectionFromConcepts: () => (/* reexport safe */ _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__.GetLinkerConnectionFromConcepts),\n/* harmony export */ GetLinkerConnectionToConcepts: () => (/* reexport safe */ _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__.GetLinkerConnectionToConcepts),\n/* harmony export */ GetRelation: () => (/* reexport safe */ _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__.GetRelation),\n/* harmony export */ GetRelationLocal: () => (/* reexport safe */ _Services_Local_GetRelationLocal__WEBPACK_IMPORTED_MODULE_55__.GetRelationLocal),\n/* harmony export */ GetRelationRaw: () => (/* reexport safe */ _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__.GetRelationRaw),\n/* harmony export */ GetTheConcept: () => (/* reexport safe */ _Services_GetTheConcept__WEBPACK_IMPORTED_MODULE_12__[\"default\"]),\n/* harmony export */ GetTheConceptLocal: () => (/* reexport safe */ _Services_Local_GetTheConceptLocal__WEBPACK_IMPORTED_MODULE_53__.GetTheConceptLocal),\n/* harmony export */ GetUserGhostId: () => (/* reexport safe */ _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__.GetUserGhostId),\n/* harmony export */ JUSTDATA: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.JUSTDATA),\n/* harmony export */ LConcept: () => (/* reexport safe */ _DataStructures_Local_LConcept__WEBPACK_IMPORTED_MODULE_79__.LConcept),\n/* harmony export */ LConnection: () => (/* reexport safe */ _DataStructures_Local_LConnection__WEBPACK_IMPORTED_MODULE_80__.LConnection),\n/* harmony export */ LISTNORMAL: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.LISTNORMAL),\n/* harmony export */ LocalConceptsData: () => (/* reexport safe */ _DataStructures_Local_LocalConceptData__WEBPACK_IMPORTED_MODULE_95__.LocalConceptsData),\n/* harmony export */ LocalSyncData: () => (/* reexport safe */ _DataStructures_Local_LocalSyncData__WEBPACK_IMPORTED_MODULE_91__.LocalSyncData),\n/* harmony export */ LocalTransaction: () => (/* reexport safe */ _Services_Transaction_LocalTransaction__WEBPACK_IMPORTED_MODULE_108__.LocalTransaction),\n/* harmony export */ Logger: () => (/* reexport safe */ _Middleware_logger_service__WEBPACK_IMPORTED_MODULE_102__.Logger),\n/* harmony export */ LoginToBackend: () => (/* reexport safe */ _Api_Login__WEBPACK_IMPORTED_MODULE_35__.LoginToBackend),\n/* harmony export */ MakeTheInstanceConcept: () => (/* reexport safe */ _Services_MakeTheInstanceConcept__WEBPACK_IMPORTED_MODULE_13__[\"default\"]),\n/* harmony export */ MakeTheInstanceConceptLocal: () => (/* reexport safe */ _Services_Local_MakeTheInstanceConceptLocal__WEBPACK_IMPORTED_MODULE_14__.MakeTheInstanceConceptLocal),\n/* harmony export */ MakeTheTimestamp: () => (/* reexport safe */ _Services_MakeTheTimestamp__WEBPACK_IMPORTED_MODULE_28__.MakeTheTimestamp),\n/* harmony export */ MakeTheTypeConcept: () => (/* reexport safe */ _Services_MakeTheTypeConcept__WEBPACK_IMPORTED_MODULE_21__.MakeTheTypeConcept),\n/* harmony export */ MakeTheTypeConceptApi: () => (/* reexport safe */ _Api_MakeTheTypeConceptApi__WEBPACK_IMPORTED_MODULE_22__.MakeTheTypeConceptApi),\n/* harmony export */ MakeTheTypeConceptLocal: () => (/* reexport safe */ _Services_Local_MakeTheTypeLocal__WEBPACK_IMPORTED_MODULE_20__.MakeTheTypeConceptLocal),\n/* harmony export */ NORMAL: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.NORMAL),\n/* harmony export */ PRIVATE: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.PRIVATE),\n/* harmony export */ PUBLIC: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.PUBLIC),\n/* harmony export */ PatcherStructure: () => (/* reexport safe */ _DataStructures_PatcherStructure__WEBPACK_IMPORTED_MODULE_86__.PatcherStructure),\n/* harmony export */ RAW: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.RAW),\n/* harmony export */ RecursiveSearchApi: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApi),\n/* harmony export */ RecursiveSearchApiNewRawFullLinker: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiNewRawFullLinker),\n/* harmony export */ RecursiveSearchApiRaw: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiRaw),\n/* harmony export */ RecursiveSearchApiRawFullLinker: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiRawFullLinker),\n/* harmony export */ RecursiveSearchApiWithInternalConnections: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiWithInternalConnections),\n/* harmony export */ RecursiveSearchListener: () => (/* reexport safe */ _WrapperFunctions_RecursiveSearchObservable__WEBPACK_IMPORTED_MODULE_75__.RecursiveSearchListener),\n/* harmony export */ SchemaQueryListener: () => (/* reexport safe */ _WrapperFunctions_SchemaQueryObservable__WEBPACK_IMPORTED_MODULE_116__.SchemaQueryListener),\n/* harmony export */ SearchAllConcepts: () => (/* reexport safe */ _Api_Search_Search__WEBPACK_IMPORTED_MODULE_40__.SearchAllConcepts),\n/* harmony export */ SearchLinkInternal: () => (/* reexport safe */ _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__.SearchLinkInternal),\n/* harmony export */ SearchLinkInternalAll: () => (/* reexport safe */ _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__.SearchLinkInternalAll),\n/* harmony export */ SearchLinkMultipleAll: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.SearchLinkMultipleAll),\n/* harmony export */ SearchLinkMultipleAllObservable: () => (/* reexport safe */ _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__.SearchLinkMultipleAllObservable),\n/* harmony export */ SearchLinkMultipleApi: () => (/* reexport safe */ _Api_Search_SearchLinkMultipleApi__WEBPACK_IMPORTED_MODULE_2__.SearchLinkMultipleApi),\n/* harmony export */ SearchQuery: () => (/* reexport safe */ _DataStructures_SearchQuery__WEBPACK_IMPORTED_MODULE_85__.SearchQuery),\n/* harmony export */ SearchStructure: () => (/* reexport safe */ _DataStructures_Search_SearchStructure__WEBPACK_IMPORTED_MODULE_94__.SearchStructure),\n/* harmony export */ SearchWithLinker: () => (/* reexport safe */ _Api_Search_SearchWithLinker__WEBPACK_IMPORTED_MODULE_41__.SearchWithLinker),\n/* harmony export */ SearchWithTypeAndLinker: () => (/* reexport safe */ _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_73__.SearchWithTypeAndLinker),\n/* harmony export */ SearchWithTypeAndLinkerApi: () => (/* reexport safe */ _Api_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_68__.SearchWithTypeAndLinkerApi),\n/* harmony export */ SessionData: () => (/* reexport safe */ _DataStructures_Session_SessionData__WEBPACK_IMPORTED_MODULE_87__.SessionData),\n/* harmony export */ Signin: () => (/* reexport safe */ _Api_Signin__WEBPACK_IMPORTED_MODULE_38__[\"default\"]),\n/* harmony export */ Signup: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_37__[\"default\"]),\n/* harmony export */ SignupEntity: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_37__.SignupEntity),\n/* harmony export */ SplitStrings: () => (/* reexport safe */ _Services_SplitStrings__WEBPACK_IMPORTED_MODULE_3__.SplitStrings),\n/* harmony export */ StatefulWidget: () => (/* reexport safe */ _Widgets_StatefulWidget__WEBPACK_IMPORTED_MODULE_112__.StatefulWidget),\n/* harmony export */ SyncData: () => (/* reexport safe */ _DataStructures_SyncData__WEBPACK_IMPORTED_MODULE_77__.SyncData),\n/* harmony export */ TrashTheConcept: () => (/* reexport safe */ _Api_Delete_DeleteConceptInBackend__WEBPACK_IMPORTED_MODULE_26__.TrashTheConcept),\n/* harmony export */ UpdateComposition: () => (/* reexport safe */ _Services_UpdateComposition__WEBPACK_IMPORTED_MODULE_39__[\"default\"]),\n/* harmony export */ UpdateCompositionLocal: () => (/* reexport safe */ _Services_Local_UpdateCompositionLocal__WEBPACK_IMPORTED_MODULE_54__.UpdateCompositionLocal),\n/* harmony export */ UserBinaryTree: () => (/* reexport safe */ _DataStructures_User_UserBinaryTree__WEBPACK_IMPORTED_MODULE_92__.UserBinaryTree),\n/* harmony export */ Validator: () => (/* reexport safe */ _Validator_validator__WEBPACK_IMPORTED_MODULE_110__.Validator),\n/* harmony export */ ViewInternalData: () => (/* reexport safe */ _Services_View_ViewInternalData__WEBPACK_IMPORTED_MODULE_57__.ViewInternalData),\n/* harmony export */ ViewInternalDataApi: () => (/* reexport safe */ _Api_View_ViewInternalDataApi__WEBPACK_IMPORTED_MODULE_58__.ViewInternalDataApi),\n/* harmony export */ WidgetTree: () => (/* reexport safe */ _Widgets_WidgetTree__WEBPACK_IMPORTED_MODULE_117__.WidgetTree),\n/* harmony export */ convertFromConceptToLConcept: () => (/* reexport safe */ _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__.convertFromConceptToLConcept),\n/* harmony export */ convertFromLConceptToConcept: () => (/* reexport safe */ _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__.convertFromLConceptToConcept),\n/* harmony export */ convertWidgetTreeToWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.convertWidgetTreeToWidget),\n/* harmony export */ convertWidgetTreeToWidgetWithWrapper: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.convertWidgetTreeToWidgetWithWrapper),\n/* harmony export */ createFormFieldData: () => (/* reexport safe */ _Validator_utils__WEBPACK_IMPORTED_MODULE_111__.createFormFieldData),\n/* harmony export */ dispatchIdEvent: () => (/* binding */ dispatchIdEvent),\n/* harmony export */ getFromDatabaseWithType: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getFromDatabaseWithType),\n/* harmony export */ getObjectsFromIndexDb: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getObjectsFromIndexDb),\n/* harmony export */ handleServiceWorkerException: () => (/* binding */ handleServiceWorkerException),\n/* harmony export */ hasActivatedSW: () => (/* binding */ hasActivatedSW),\n/* harmony export */ init: () => (/* binding */ init),\n/* harmony export */ recursiveFetch: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.recursiveFetch),\n/* harmony export */ recursiveFetchNew: () => (/* reexport safe */ _Services_Composition_BuildComposition__WEBPACK_IMPORTED_MODULE_46__.recursiveFetchNew),\n/* harmony export */ renderLatestWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.renderLatestWidget),\n/* harmony export */ renderPage: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.renderPage),\n/* harmony export */ renderWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.renderWidget),\n/* harmony export */ searchLinkMultipleListener: () => (/* reexport safe */ _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__.searchLinkMultipleListener),\n/* harmony export */ sendMessage: () => (/* binding */ sendMessage),\n/* harmony export */ serviceWorker: () => (/* binding */ serviceWorker),\n/* harmony export */ setHasActivatedSW: () => (/* binding */ setHasActivatedSW),\n/* harmony export */ storeToDatabase: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.storeToDatabase),\n/* harmony export */ subscribedListeners: () => (/* binding */ subscribedListeners),\n/* harmony export */ unwrapContainers: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.unwrapContainers),\n/* harmony export */ updateAccessToken: () => (/* binding */ updateAccessToken),\n/* harmony export */ uploadAttachment: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadAttachment),\n/* harmony export */ uploadFile: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadFile),\n/* harmony export */ uploadImage: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadImage),\n/* harmony export */ validDocumentFormats: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.validDocumentFormats),\n/* harmony export */ validImageFormats: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.validImageFormats)\n/* harmony export */ });\n/* harmony import */ var _Services_CreateBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Services/CreateBinaryTreeFromData */ \"./src/Services/CreateBinaryTreeFromData.ts\");\n/* harmony import */ var _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DataStructures/IdentifierFlags */ \"./src/DataStructures/IdentifierFlags.ts\");\n/* harmony import */ var _Api_Search_SearchLinkMultipleApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Api/Search/SearchLinkMultipleApi */ \"./src/Api/Search/SearchLinkMultipleApi.ts\");\n/* harmony import */ var _Services_SplitStrings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Services/SplitStrings */ \"./src/Services/SplitStrings.ts\");\n/* harmony import */ var _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Services/GetCompositionList */ \"./src/Services/GetCompositionList.ts\");\n/* harmony import */ var _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Services/Local/GetCompositionListLocal */ \"./src/Services/Local/GetCompositionListLocal.ts\");\n/* harmony import */ var _Api_GetAllConnectionsOfComposition__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Api/GetAllConnectionsOfComposition */ \"./src/Api/GetAllConnectionsOfComposition.ts\");\n/* harmony import */ var _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Services/GetComposition */ \"./src/Services/GetComposition.ts\");\n/* harmony import */ var _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Services/Local/GetCompositionLocal */ \"./src/Services/Local/GetCompositionLocal.ts\");\n/* harmony import */ var _Services_CreateTheComposition__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Services/CreateTheComposition */ \"./src/Services/CreateTheComposition.ts\");\n/* harmony import */ var _Services_Local_CreateTheCompositionLocal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Services/Local/CreateTheCompositionLocal */ \"./src/Services/Local/CreateTheCompositionLocal.ts\");\n/* harmony import */ var _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Services/CreateConnectionBetweenTwoConcepts */ \"./src/Services/CreateConnectionBetweenTwoConcepts.ts\");\n/* harmony import */ var _Services_GetTheConcept__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Services/GetTheConcept */ \"./src/Services/GetTheConcept.ts\");\n/* harmony import */ var _Services_MakeTheInstanceConcept__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Services/MakeTheInstanceConcept */ \"./src/Services/MakeTheInstanceConcept.ts\");\n/* harmony import */ var _Services_Local_MakeTheInstanceConceptLocal__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Services/Local/MakeTheInstanceConceptLocal */ \"./src/Services/Local/MakeTheInstanceConceptLocal.ts\");\n/* harmony import */ var _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Database/NoIndexDb */ \"./src/Database/NoIndexDb.ts\");\n/* harmony import */ var _Services_CreateTheConnection__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Services/CreateTheConnection */ \"./src/Services/CreateTheConnection.ts\");\n/* harmony import */ var _Services_GetConceptByCharacter__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Services/GetConceptByCharacter */ \"./src/Services/GetConceptByCharacter.ts\");\n/* harmony import */ var _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Services/GetLink */ \"./src/Services/GetLink.ts\");\n/* harmony import */ var _Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Services/CreateDefaultConcept */ \"./src/Services/CreateDefaultConcept.ts\");\n/* harmony import */ var _Services_Local_MakeTheTypeLocal__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Services/Local/MakeTheTypeLocal */ \"./src/Services/Local/MakeTheTypeLocal.ts\");\n/* harmony import */ var _Services_MakeTheTypeConcept__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./Services/MakeTheTypeConcept */ \"./src/Services/MakeTheTypeConcept.ts\");\n/* harmony import */ var _Api_MakeTheTypeConceptApi__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Api/MakeTheTypeConceptApi */ \"./src/Api/MakeTheTypeConceptApi.ts\");\n/* harmony import */ var _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./Services/GetLinkerConnectionFromConcept */ \"./src/Services/GetLinkerConnectionFromConcept.ts\");\n/* harmony import */ var _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Services/DeleteConcept */ \"./src/Services/DeleteConcept.ts\");\n/* harmony import */ var _Services_DeleteConnection__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./Services/DeleteConnection */ \"./src/Services/DeleteConnection.ts\");\n/* harmony import */ var _Api_Delete_DeleteConceptInBackend__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./Api/Delete/DeleteConceptInBackend */ \"./src/Api/Delete/DeleteConceptInBackend.ts\");\n/* harmony import */ var _Services_GetConnections__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Services/GetConnections */ \"./src/Services/GetConnections.ts\");\n/* harmony import */ var _Services_MakeTheTimestamp__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Services/MakeTheTimestamp */ \"./src/Services/MakeTheTimestamp.ts\");\n/* harmony import */ var _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./Api/RecursiveSearch */ \"./src/Api/RecursiveSearch.ts\");\n/* harmony import */ var _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Services/GetCompositionBulk */ \"./src/Services/GetCompositionBulk.ts\");\n/* harmony import */ var _Services_Upload__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./Services/Upload */ \"./src/Services/Upload.ts\");\n/* harmony import */ var _Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./Api/GetConceptBulk */ \"./src/Api/GetConceptBulk.ts\");\n/* harmony import */ var _Api_GetConnectionBulk__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./Api/GetConnectionBulk */ \"./src/Api/GetConnectionBulk.ts\");\n/* harmony import */ var _Api_GetAllConnectionsOfCompositionBulk__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./Api/GetAllConnectionsOfCompositionBulk */ \"./src/Api/GetAllConnectionsOfCompositionBulk.ts\");\n/* harmony import */ var _Api_Login__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./Api/Login */ \"./src/Api/Login.ts\");\n/* harmony import */ var _Api_GetConnectionOfTheConcept__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./Api/GetConnectionOfTheConcept */ \"./src/Api/GetConnectionOfTheConcept.ts\");\n/* harmony import */ var _Api_Signup__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./Api/Signup */ \"./src/Api/Signup.ts\");\n/* harmony import */ var _Api_Signin__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./Api/Signin */ \"./src/Api/Signin.ts\");\n/* harmony import */ var _Services_UpdateComposition__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./Services/UpdateComposition */ \"./src/Services/UpdateComposition.ts\");\n/* harmony import */ var _Api_Search_Search__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./Api/Search/Search */ \"./src/Api/Search/Search.ts\");\n/* harmony import */ var _Api_Search_SearchWithLinker__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./Api/Search/SearchWithLinker */ \"./src/Api/Search/SearchWithLinker.ts\");\n/* harmony import */ var _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./Services/Composition/CompositionCache */ \"./src/Services/Composition/CompositionCache.ts\");\n/* harmony import */ var _Api_Session_CreateSession__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./Api/Session/CreateSession */ \"./src/Api/Session/CreateSession.ts\");\n/* harmony import */ var _Api_Session_CreateSessionVisit__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./Api/Session/CreateSessionVisit */ \"./src/Api/Session/CreateSessionVisit.ts\");\n/* harmony import */ var _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./Services/GetRelation */ \"./src/Services/GetRelation.ts\");\n/* harmony import */ var _Services_Composition_BuildComposition__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./Services/Composition/BuildComposition */ \"./src/Services/Composition/BuildComposition.ts\");\n/* harmony import */ var _Services_Composition_CreateCompositionCache__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./Services/Composition/CreateCompositionCache */ \"./src/Services/Composition/CreateCompositionCache.ts\");\n/* harmony import */ var _Services_Local_CreateDefaultLConcept__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./Services/Local/CreateDefaultLConcept */ \"./src/Services/Local/CreateDefaultLConcept.ts\");\n/* harmony import */ var _Services_CreateTheConnectionGeneral__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./Services/CreateTheConnectionGeneral */ \"./src/Services/CreateTheConnectionGeneral.ts\");\n/* harmony import */ var _Services_Local_CreateTheConnectionLocal__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./Services/Local/CreateTheConnectionLocal */ \"./src/Services/Local/CreateTheConnectionLocal.ts\");\n/* harmony import */ var _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./Services/User/UserTranslation */ \"./src/Services/User/UserTranslation.ts\");\n/* harmony import */ var _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./Services/Search/SearchLinkMultiple */ \"./src/Services/Search/SearchLinkMultiple.ts\");\n/* harmony import */ var _Services_Local_GetTheConceptLocal__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./Services/Local/GetTheConceptLocal */ \"./src/Services/Local/GetTheConceptLocal.ts\");\n/* harmony import */ var _Services_Local_UpdateCompositionLocal__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./Services/Local/UpdateCompositionLocal */ \"./src/Services/Local/UpdateCompositionLocal.ts\");\n/* harmony import */ var _Services_Local_GetRelationLocal__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./Services/Local/GetRelationLocal */ \"./src/Services/Local/GetRelationLocal.ts\");\n/* harmony import */ var _Services_Local_GetConceptByCharacterLocal__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./Services/Local/GetConceptByCharacterLocal */ \"./src/Services/Local/GetConceptByCharacterLocal.ts\");\n/* harmony import */ var _Services_View_ViewInternalData__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./Services/View/ViewInternalData */ \"./src/Services/View/ViewInternalData.ts\");\n/* harmony import */ var _Api_View_ViewInternalDataApi__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./Api/View/ViewInternalDataApi */ \"./src/Api/View/ViewInternalDataApi.ts\");\n/* harmony import */ var _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./Services/Conversion/ConvertConcepts */ \"./src/Services/Conversion/ConvertConcepts.ts\");\n/* harmony import */ var _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./Services/Search/SearchLinkInternal */ \"./src/Services/Search/SearchLinkInternal.ts\");\n/* harmony import */ var _Services_Local_CreateConnectionBetweenTwoConceptsLocal__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./Services/Local/CreateConnectionBetweenTwoConceptsLocal */ \"./src/Services/Local/CreateConnectionBetweenTwoConceptsLocal.ts\");\n/* harmony import */ var _Services_Local_DeleteConceptLocal__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./Services/Local/DeleteConceptLocal */ \"./src/Services/Local/DeleteConceptLocal.ts\");\n/* harmony import */ var _Services_GetConnectionBetweenTwoConceptsLinker__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./Services/GetConnectionBetweenTwoConceptsLinker */ \"./src/Services/GetConnectionBetweenTwoConceptsLinker.ts\");\n/* harmony import */ var _Services_Common_DelayFunction__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./Services/Common/DelayFunction */ \"./src/Services/Common/DelayFunction.ts\");\n/* harmony import */ var _Api_GetConceptByCharacterAndType__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./Api/GetConceptByCharacterAndType */ \"./src/Api/GetConceptByCharacterAndType.ts\");\n/* harmony import */ var _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./Constants/FormatConstants */ \"./src/Constants/FormatConstants.ts\");\n/* harmony import */ var _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./Constants/AccessConstants */ \"./src/Constants/AccessConstants.ts\");\n/* harmony import */ var _Api_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./Api/Search/SearchWithTypeAndLinker */ \"./src/Api/Search/SearchWithTypeAndLinker.ts\");\n/* harmony import */ var _WrapperFunctions_DepenedencyObserver__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./WrapperFunctions/DepenedencyObserver */ \"./src/WrapperFunctions/DepenedencyObserver.ts\");\n/* harmony import */ var _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./WrapperFunctions/SearchLinkMultipleAllObservable */ \"./src/WrapperFunctions/SearchLinkMultipleAllObservable.ts\");\n/* harmony import */ var _WrapperFunctions_GetCompositionObservable__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./WrapperFunctions/GetCompositionObservable */ \"./src/WrapperFunctions/GetCompositionObservable.ts\");\n/* harmony import */ var _WrapperFunctions_GetCompositionListObservable__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./WrapperFunctions/GetCompositionListObservable */ \"./src/WrapperFunctions/GetCompositionListObservable.ts\");\n/* harmony import */ var _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./Services/Search/SearchWithTypeAndLinker */ \"./src/Services/Search/SearchWithTypeAndLinker.ts\");\n/* harmony import */ var _WrapperFunctions_GetLinkObservable__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./WrapperFunctions/GetLinkObservable */ \"./src/WrapperFunctions/GetLinkObservable.ts\");\n/* harmony import */ var _WrapperFunctions_RecursiveSearchObservable__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./WrapperFunctions/RecursiveSearchObservable */ \"./src/WrapperFunctions/RecursiveSearchObservable.ts\");\n/* harmony import */ var _WrapperFunctions_GetLinkListObservable__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./WrapperFunctions/GetLinkListObservable */ \"./src/WrapperFunctions/GetLinkListObservable.ts\");\n/* harmony import */ var _DataStructures_SyncData__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./DataStructures/SyncData */ \"./src/DataStructures/SyncData.ts\");\n/* harmony import */ var _DataStructures_Concept__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./DataStructures/Concept */ \"./src/DataStructures/Concept.ts\");\n/* harmony import */ var _DataStructures_Local_LConcept__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./DataStructures/Local/LConcept */ \"./src/DataStructures/Local/LConcept.ts\");\n/* harmony import */ var _DataStructures_Local_LConnection__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./DataStructures/Local/LConnection */ \"./src/DataStructures/Local/LConnection.ts\");\n/* harmony import */ var _DataStructures_Connection__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./DataStructures/Connection */ \"./src/DataStructures/Connection.ts\");\n/* harmony import */ var _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./DataStructures/ConceptData */ \"./src/DataStructures/ConceptData.ts\");\n/* harmony import */ var _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./DataStructures/ConnectionData */ \"./src/DataStructures/ConnectionData.ts\");\n/* harmony import */ var _DataStructures_BinaryTree__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./DataStructures/BinaryTree */ \"./src/DataStructures/BinaryTree.ts\");\n/* harmony import */ var _DataStructures_SearchQuery__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./DataStructures/SearchQuery */ \"./src/DataStructures/SearchQuery.ts\");\n/* harmony import */ var _DataStructures_PatcherStructure__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./DataStructures/PatcherStructure */ \"./src/DataStructures/PatcherStructure.ts\");\n/* harmony import */ var _DataStructures_Session_SessionData__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./DataStructures/Session/SessionData */ \"./src/DataStructures/Session/SessionData.ts\");\n/* harmony import */ var _DataStructures_Composition_Composition__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./DataStructures/Composition/Composition */ \"./src/DataStructures/Composition/Composition.ts\");\n/* harmony import */ var _DataStructures_Composition_CompositionBinaryTree__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./DataStructures/Composition/CompositionBinaryTree */ \"./src/DataStructures/Composition/CompositionBinaryTree.ts\");\n/* harmony import */ var _DataStructures_Composition_CompositionNode__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./DataStructures/Composition/CompositionNode */ \"./src/DataStructures/Composition/CompositionNode.ts\");\n/* harmony import */ var _DataStructures_Local_LocalSyncData__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./DataStructures/Local/LocalSyncData */ \"./src/DataStructures/Local/LocalSyncData.ts\");\n/* harmony import */ var _DataStructures_User_UserBinaryTree__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./DataStructures/User/UserBinaryTree */ \"./src/DataStructures/User/UserBinaryTree.ts\");\n/* harmony import */ var _DataStructures_FilterSearch__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./DataStructures/FilterSearch */ \"./src/DataStructures/FilterSearch.ts\");\n/* harmony import */ var _DataStructures_Search_SearchStructure__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./DataStructures/Search/SearchStructure */ \"./src/DataStructures/Search/SearchStructure.ts\");\n/* harmony import */ var _DataStructures_Local_LocalConceptData__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./DataStructures/Local/LocalConceptData */ \"./src/DataStructures/Local/LocalConceptData.ts\");\n/* harmony import */ var _Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./Services/GetDataFromIndexDb */ \"./src/Services/GetDataFromIndexDb.ts\");\n/* harmony import */ var _Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./Services/Local/CreateLocalBinaryTreeFromData */ \"./src/Services/Local/CreateLocalBinaryTreeFromData.ts\");\n/* harmony import */ var _Services_InitializeSystem__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./Services/InitializeSystem */ \"./src/Services/InitializeSystem.ts\");\n/* harmony import */ var _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./DataStructures/BaseUrl */ \"./src/DataStructures/BaseUrl.ts\");\n/* harmony import */ var _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./DataStructures/Security/TokenStorage */ \"./src/DataStructures/Security/TokenStorage.ts\");\n/* harmony import */ var _Constants_general_const__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./Constants/general.const */ \"./src/Constants/general.const.ts\");\n/* harmony import */ var _Middleware_logger_service__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./Middleware/logger.service */ \"./src/Middleware/logger.service.ts\");\n/* harmony import */ var _Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./Services/Common/ErrorPosting */ \"./src/Services/Common/ErrorPosting.ts\");\n/* harmony import */ var _Middleware_ApplicationMonitor__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./Middleware/ApplicationMonitor */ \"./src/Middleware/ApplicationMonitor.ts\");\n/* harmony import */ var _DataStructures_Responses_ErrorResponse__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./DataStructures/Responses/ErrorResponse */ \"./src/DataStructures/Responses/ErrorResponse.ts\");\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./app */ \"./src/app.ts\");\n/* harmony import */ var _Widgets_BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./Widgets/BuilderStatefulWidget */ \"./src/Widgets/BuilderStatefulWidget.ts\");\n/* harmony import */ var _Services_Transaction_LocalTransaction__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./Services/Transaction/LocalTransaction */ \"./src/Services/Transaction/LocalTransaction.ts\");\n/* harmony import */ var _Anomaly_anomaly__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./Anomaly/anomaly */ \"./src/Anomaly/anomaly.ts\");\n/* harmony import */ var _Validator_validator__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./Validator/validator */ \"./src/Validator/validator.ts\");\n/* harmony import */ var _Validator_utils__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./Validator/utils */ \"./src/Validator/utils.ts\");\n/* harmony import */ var _Widgets_StatefulWidget__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./Widgets/StatefulWidget */ \"./src/Widgets/StatefulWidget.ts\");\n/* harmony import */ var _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./Services/DeleteConnectionByType */ \"./src/Services/DeleteConnectionByType.ts\");\n/* harmony import */ var _DataStructures_Search_FreeschemaQuery__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./DataStructures/Search/FreeschemaQuery */ \"./src/DataStructures/Search/FreeschemaQuery.ts\");\n/* harmony import */ var _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! ./Api/Search/FreeschemaQueryApi */ \"./src/Api/Search/FreeschemaQueryApi.ts\");\n/* harmony import */ var _WrapperFunctions_SchemaQueryObservable__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ./WrapperFunctions/SchemaQueryObservable */ \"./src/WrapperFunctions/SchemaQueryObservable.ts\");\n/* harmony import */ var _Widgets_WidgetTree__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ./Widgets/WidgetTree */ \"./src/Widgets/WidgetTree.ts\");\n/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ./AccessTracker/accessTracker */ \"./src/AccessTracker/accessTracker.ts\");\n/* harmony import */ var _Services_CreateConnection_CreateConnectionEntity__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./Services/CreateConnection/CreateConnectionEntity */ \"./src/Services/CreateConnection/CreateConnectionEntity.ts\");\n/* harmony import */ var _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./Widgets/RenderWidgetService */ \"./src/Widgets/RenderWidgetService.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar serviceWorker;\nconst TABID = Date.now().toString(36) + Math.random().toString(36).substring(2);\nlet subscribedListeners = [];\nlet serviceWorkerReady = false;\nlet messageQueue = [];\n// for sw use only START\nlet hasActivatedSW = false;\nfunction setHasActivatedSW(value) { hasActivatedSW = value; }\n// for sw use only END\n/**\n * This function lets you update the access token that the package uses. If this is not passed you cannot create, update, view or delete\n * Your concepts using this package.\n * @param accessToken access token got from the sign in process\n */\nfunction updateAccessToken(accessToken = \"\") {\n _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken = accessToken;\n if (serviceWorker)\n sendMessage('updateAccessToken', { accessToken });\n}\n/**\n *\n * @param url This is the url for the backend c# system or our main data fabric server\n * @param aiurl This is the AI url that pulls in the data using our AI system . If you do not enter this then also disable the enableAi flag.\n * @param accessToken This is the JWT token that needs to be passed (But since you have just initilized the system). There is no way we can get access token\n * So this access token can be empty string. You can set it afterwards with another function UpdateAccessToken();\n * @param nodeUrl This is the url for the node server. This is another server in the data fabric that is used as server for business logic and security features.\n * @param enableAi This flag is used to enable or disable the AI feature that preloads data in the indexdb.\n * @param applicationName This is an unique name that is given to a program. Use this to discern one indexdb from another.\n * @param enableSW {activate: boolean, scope?: string, pathToSW?: string, manual?: boolean} | undefined - This is for enabling service worker with its scope\n */\nfunction init() {\n return __awaiter(this, arguments, void 0, function* (url = \"\", aiurl = \"\", accessToken = \"\", nodeUrl = \"\", enableAi = true, applicationName = \"\", enableSW = undefined, flags = {}) {\n try {\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_URL = url;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.AI_URL = aiurl;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.NODE_URL = nodeUrl;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_APPLICATION = applicationName;\n _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken = accessToken;\n let randomizer = Math.floor(Math.random() * 100000000);\n // BaseUrl.BASE_RANDOMIZER = randomizer;\n // BaseUrl.BASE_RANDOMIZER = 999;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.setRandomizer(randomizer);\n // Change Default Flags\n const defaultFlags = {\n logApplication: false,\n logPackage: false,\n accessTracker: false,\n isTest: false\n };\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS = defaultFlags;\n // Merge Provided Flags with Defaults\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS = Object.assign(Object.assign({}, defaultFlags), flags);\n initializeFlags(_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS);\n // console.log(\"BaseUrl.FLAGS before sending to service worker : \", BaseUrl.FLAGS)\n if (!(\"serviceWorker\" in navigator)) {\n yield initConceptConnection();\n console.warn(\"Service Worker not supported in this browser.\");\n return;\n }\n listenPostMessagaes();\n listenBroadCastMessages();\n if (enableSW && enableSW.activate && enableSW.manual) {\n yield new Promise((resolve, reject) => {\n navigator.serviceWorker.ready\n .then((registration) => __awaiter(this, void 0, void 0, function* () {\n console.log('registraions ready', registration);\n serviceWorker = registration.active;\n yield initServiceWorker();\n resolve('done');\n }))\n .catch(err => {\n console.error(\"Error: Ready service worker\", err);\n reject(err);\n })\n .finally(() => console.log('Finally service worker ready done'));\n setTimeout(() => reject('Timeout ready'), 30000);\n });\n }\n else if (enableSW &&\n (enableSW === null || enableSW === void 0 ? void 0 : enableSW.activate)) {\n try {\n console.log(\"service worker initialiing\");\n yield handleRegisterServiceWorker(enableSW);\n }\n catch (error) {\n yield initConceptConnection();\n console.error(\"Unable to start service worker\", error);\n }\n }\n else {\n yield initConceptConnection();\n console.warn('Service Worker not activated');\n }\n return true;\n }\n catch (error) {\n yield initConceptConnection();\n console.warn(\"Cannot initialize the system\", error);\n }\n });\n}\n/**\n * Method to send message to the service worker from main thread\n * @param type string\n * @param payload any\n * @returns Promise<any>\n */\nfunction sendMessage(type_1, payload_1) {\n return __awaiter(this, arguments, void 0, function* (type, payload, retryCount = 0) {\n let messagedProcessed = false;\n const messageId = Math.random().toString(36).substring(2); // Generate a unique message ID\n payload.messageId = messageId;\n payload.TABID = TABID;\n // let actions = payload.actions\n const newPayload = JSON.parse(JSON.stringify(payload));\n let checkProcessInterval;\n if (type != 'checkProcess') {\n checkProcessInterval = setInterval(() => __awaiter(this, void 0, void 0, function* () {\n console.log('process took more than one second', messageId, type, messagedProcessed);\n // if (!await checkIfExecutingProcess(messageId, type) && !messagedProcessed) {\n // console.log(\"Message process missing\")\n // throw Error('Failed to handle type ' + type + ' ' + messageId)\n // }\n if (!messagedProcessed && !(yield checkIfExecutingProcess(messageId, type))) {\n clearInterval(checkProcessInterval);\n if (!messagedProcessed) {\n console.log('Failed to handle type ' + type + ' message not found ' + messageId);\n if (retryCount == 0 && type != 'checkProcess') {\n console.log('retrying ', type, messageId);\n const res = yield sendMessage(type, payload, retryCount + 1);\n return res;\n }\n else {\n // throw Error('Failed to handle type ' + type + ' ' + messageId)\n console.log('Failed to handle type ' + type + ' ' + messageId);\n }\n }\n console.log(\"Message process missing \", type, messageId, messageQueue);\n // throw Error('Failed to handle type ' + type + ' ' + messageId)\n }\n }), 2000);\n }\n return new Promise((resolve, reject) => {\n if (!((navigator.serviceWorker.controller || serviceWorker) && (serviceWorkerReady || type == 'init')))\n console.log('will go to queue', navigator.serviceWorker.controller, serviceWorker, serviceWorkerReady, type == 'init');\n if ((navigator.serviceWorker.controller || serviceWorker) && (serviceWorkerReady || type == 'init')) {\n const responseHandler = (event) => {\n var _a, _b, _c, _d, _e, _f;\n if (((_a = event === null || event === void 0 ? void 0 : event.data) === null || _a === void 0 ? void 0 : _a.messageId) == messageId) { // Check if the message ID matches\n messagedProcessed = true;\n if (type != 'checkProcess')\n console.log('received from sw', type, messageId);\n clearInterval(checkProcessInterval);\n if (!event.data.success) {\n if (((_b = event === null || event === void 0 ? void 0 : event.data) === null || _b === void 0 ? void 0 : _b.status) == 401) {\n reject((0,_Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__.HandleHttpError)(new Response('Unauthorized', { status: 401, statusText: (_c = event === null || event === void 0 ? void 0 : event.data) === null || _c === void 0 ? void 0 : _c.statusText })));\n }\n else if (((_d = event === null || event === void 0 ? void 0 : event.data) === null || _d === void 0 ? void 0 : _d.status) == 500) {\n reject((0,_Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__.HandleInternalError)(new Response('Internal Server Error', { status: 500, statusText: (_e = event === null || event === void 0 ? void 0 : event.data) === null || _e === void 0 ? void 0 : _e.statusText })));\n }\n else {\n console.error('Error in the response from worker:', event);\n reject(`Failed to handle action ${type} ${JSON.stringify(payload)}, Response: ${JSON.stringify(event.data)}`);\n }\n }\n if ((_f = event.data) === null || _f === void 0 ? void 0 : _f.actions) {\n payload.actions = JSON.parse(JSON.stringify(event.data.actions));\n }\n resolve(event.data);\n navigator.serviceWorker.removeEventListener(\"message\", responseHandler);\n }\n };\n navigator.serviceWorker.addEventListener(\"message\", responseHandler);\n // Send the message to the service worker\n if (navigator.serviceWorker.controller) {\n if (type != 'checkProcess')\n console.log('sent to sw', type, messageId);\n navigator.serviceWorker.controller.postMessage({ type, payload: newPayload });\n }\n else if (serviceWorker) {\n console.log('sent to sw', type, messageId);\n console.warn(`controller not found but serviceWorker is available. messageId: ${messageId}, type: ${type}`);\n if (serviceWorkerReady)\n console.warn('service worker was registered already but navigator is empty!!!', serviceWorker);\n try {\n serviceWorker.postMessage({ type, payload: newPayload });\n }\n catch (err) {\n console.log('Retrying again on catch service worker', err);\n serviceWorker.postMessage({ type, payload: newPayload });\n }\n }\n else {\n console.warn(`Service Worker hasn't loaded yet. messageId: ${messageId}, type: ${type}`);\n if (serviceWorkerReady)\n console.warn('service worker was registered already but is not available NOW!!!');\n console.info('ready', navigator.serviceWorker.ready);\n // wait one second before checking again\n setTimeout(() => {\n console.warn(`Re-Trying after certain time. messageId: ${messageId}, type: ${type}`);\n if (serviceWorker) {\n console.info('This is triggered ');\n serviceWorker === null || serviceWorker === void 0 ? void 0 : serviceWorker.postMessage({ type, payload });\n }\n else {\n console.log('not ready', type);\n clearInterval(checkProcessInterval);\n reject(\"Service worker not ready\");\n }\n }, 30000); // 30 seconds\n }\n // Timeout for waiting for the response (e.g., 5 seconds)\n setTimeout(() => {\n clearInterval(checkProcessInterval);\n reject(`No response from service worker after timeout: ${type}`);\n navigator.serviceWorker.removeEventListener(\"message\", responseHandler);\n }, 210000); // 3.5 minutes\n }\n else {\n messageQueue.push({ message: { type, payload: newPayload } });\n console.log('Message Queued', type, payload);\n console.log((navigator.serviceWorker.controller || serviceWorker), (serviceWorkerReady || type == 'init'));\n if (type == 'init') {\n clearInterval(checkProcessInterval);\n resolve(null);\n }\n }\n });\n });\n}\n// export function sendMessage(type: string, payload: any) {\n// return new Promise((resolve) => {\n// const responseHandler = (event: any) => {\n// resolve(event.data);\n// navigator.serviceWorker.removeEventListener(\"message\", responseHandler);\n// };\n// navigator.serviceWorker.addEventListener(\"message\", responseHandler);\n// navigator.serviceWorker.controller?.postMessage({ type, payload });\n// });\n// }\n// actions for message received on broadcast channel (specially from service worker)\nconst broadcastActions = {\n GetLinkListener: (payload) => __awaiter(void 0, void 0, void 0, function* () {\n const listener = subscribedListeners.find(listener => listener.listenerId == payload.listenerId);\n listener === null || listener === void 0 ? void 0 : listener.callback(payload.data);\n return { success: true };\n }),\n dispatchEvent: (payload) => __awaiter(void 0, void 0, void 0, function* () {\n if (serviceWorker) {\n let event = new Event(payload.id || '');\n dispatchEvent(event);\n }\n // self.clients.matchAll({ includeUncontrolled: true }).then(clients => {\n // clients.forEach(client => {\n // client.postMessage({ id, updatedData });\n // });\n // });\n return { success: true };\n }),\n checkInit: (payload) => __awaiter(void 0, void 0, void 0, function* () {\n console.log('service worker init 0');\n if (navigator.serviceWorker.controller) {\n console.log('service worker init 1');\n serviceWorker = navigator.serviceWorker.controller;\n }\n yield initServiceWorker();\n return { success: true };\n })\n};\n/**\n * Method to trigger broadcast message listener\n */\nfunction listenBroadCastMessages() {\n // broadcast event can be listened through both the service worker and other tabs\n _Constants_general_const__WEBPACK_IMPORTED_MODULE_101__.broadcastChannel.addEventListener('message', (event) => __awaiter(this, void 0, void 0, function* () {\n const { type, payload } = event.data;\n if (!type)\n return;\n let responseData = { success: false, data: undefined };\n if (broadcastActions[type]) {\n responseData = yield broadcastActions[type](payload);\n }\n else {\n console.warn(`Unable to handle \"${type}\" case in BC service worker`);\n }\n }));\n}\n/**\n * Method to trigger broadcast message listener\n */\nfunction listenPostMessagaes() {\n // broadcast event can be listened through both the service worker and other tabs\n navigator.serviceWorker.addEventListener('message', (event) => __awaiter(this, void 0, void 0, function* () {\n var _a, _b, _c, _d;\n try {\n if (event.data && event.data.type === 'API_401') {\n const { requestDetails } = event.data;\n // Re-create the POST request with the same headers and body\n const requestOptions = {\n method: requestDetails.method,\n headers: new Headers(requestDetails.headers),\n body: requestDetails.body // Pass the original body\n };\n // Re-hit the API with the same details\n const apiResponse = yield fetch(requestDetails.url, requestOptions);\n const responseBody = yield (apiResponse === null || apiResponse === void 0 ? void 0 : apiResponse.json()); // Get the response text\n // Send the response back to the Service Worker (same client)\n (_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.serviceWorker) === null || _a === void 0 ? void 0 : _a.controller) === null || _b === void 0 ? void 0 : _b.postMessage({\n type: 'API_RESPONSE',\n messageId: event.data.messageId,\n response: new Response(responseBody, {\n status: apiResponse.status,\n statusText: apiResponse.statusText,\n headers: apiResponse.headers\n })\n });\n }\n }\n catch (error) {\n console.error(\"Error during listenPostMessage\", error);\n (_d = (_c = navigator === null || navigator === void 0 ? void 0 : navigator.serviceWorker) === null || _c === void 0 ? void 0 : _c.controller) === null || _d === void 0 ? void 0 : _d.postMessage({\n type: 'API_RESPONSE',\n messageId: event.data.messageId\n });\n }\n }));\n}\n/**\n * Method to initialize the initial data\n * @param url string\n * @param aiurl string\n * @param accessToken string\n * @param nodeUrl string\n * @param enableAi boolean\n * @param applicationName string\n * @param isTest boolean\n * @returns Promise<any>\n */\nfunction initConceptConnection() {\n return __awaiter(this, void 0, void 0, function* () {\n /**\n * We initialize the system so that we get all the concepts from the backend system that are most likely to be used\n * We use some sort of AI algorithm to initilize these concepts with the most used concept.\n * @param enableAi enableAi is a flag that the user can choose to set if they want to use this enable AI feature\n * If the developer does not want to use this feature then they can just set enableAi to false.\n */\n yield (0,_Services_InitializeSystem__WEBPACK_IMPORTED_MODULE_98__[\"default\"])();\n const start = new Date().getTime();\n /**\n * This will create a binary tree in the memory from the indexdb.\n * This process will set Flags to denote that the binary tree is loaded, the character binary tree is loaded\n * and that the type binary tree has been loaded.\n * These trees are helpful in caching concepts and connections for the data fabric.\n */\n yield (0,_Services_CreateBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()\n .then(() => {\n // IdentifierFlags.isDataLoaded= true;\n // IdentifierFlags.isCharacterLoaded= true;\n // IdentifierFlags.isTypeLoaded= true;\n let elapsed = new Date().getTime() - start;\n console.log(\"The time taken to prepare concept data is \", elapsed);\n })\n .catch((event) => {\n // console.log(\"This is the error in creating binary tree\", IdentifierFlags.isDataLoaded, IdentifierFlags.isCharacterLoaded, IdentifierFlags.isTypeLoaded);\n throw event;\n });\n /**\n * This will create a binary tree of local concepts that is saved from the indexdb.\n * This process after finishing creating a binary tree of local concepts then set flag to denote that\n * LocalBinaryTree has been created from the concepts in indexdb\n * Local Binary Type tree has been loaded to the index db (flag is set to denote that)\n * Character Binary Tree has been loaded from indexdb to memory (flag is set to denote that)\n */\n yield (0,_Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__[\"default\"])()\n .then(() => {\n // IdentifierFlags.isLocalDataLoaded = true;\n // IdentifierFlags.isLocalTypeLoaded = true;\n // IdentifierFlags.isLocalCharacterLoaded = true;\n let elapsed = new Date().getTime() - start;\n console.log(\"The time taken to prepare local concept \", elapsed);\n })\n .catch((event) => {\n throw event;\n });\n /**\n * This process gets the local connections from indexdb and loads it to the local connections array which is inside of\n * a static class called LocalConnectionData.\n * This function will also set and IdentifierFlag that tells the whole program that this process has finished.\n */\n yield (0,_Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__.GetConnectionsFromIndexDbLocal)()\n .then(() => {\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalConnectionLoaded = true;\n })\n .catch((event) => {\n //console.log(\"This is the error in creating local connections binary tree\");\n throw event;\n });\n /**\n * We have designed our system to use local concepts and connections with its own local ids(negative ids) that\n * is only valid for the browser that creates this. We have a translator in our node server.\n * This function does this process in initlization.\n */\n yield (0,_Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__.PopulateTheLocalConnectionToMemory)().catch((event) => {\n console.log(\"This is the error in populating binary tree\");\n throw event;\n });\n // await PopulateTheLocalConceptsToMemory().catch((event)=>{\n // console.log(\"This is the error in populating binary tree\");\n // });\n /**\n * This process gets the connections from indexdb and loads it to the connections array which is inside of\n * a static class called ConnectionData.\n * This function will also set and IdentifierFlag that tells the whole program that this process has finished.\n */\n yield (0,_Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__.GetConnectionsFromIndexDb)()\n .then(() => {\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionTypeLoaded = true;\n let elapsed = new Date().getTime() - start;\n console.log(\"The time taken to prepare connections \", elapsed);\n })\n .catch((event) => {\n //console.log(\"This is the error in creating connections tree\");\n throw event;\n });\n });\n}\n/**\n * Method to dispatch Event received from SW\n * @param id number|string\n * @param data any\n */\nfunction dispatchIdEvent(id, data = {}) {\n // console.log('id event dispatched', id)\n if (serviceWorker || typeof window != undefined) {\n // let event = new Event(`${id}`);\n let event = new CustomEvent(`${id}`, data);\n dispatchEvent(event);\n }\n else {\n _Constants_general_const__WEBPACK_IMPORTED_MODULE_101__.broadcastChannel.postMessage({ type: 'dispatchEvent', payload: { id } });\n }\n}\nfunction processMessageQueue() {\n return __awaiter(this, void 0, void 0, function* () {\n while (messageQueue.length > 0) {\n const { message, resolve, reject } = messageQueue.shift();\n console.log('Queue poped', message.type);\n yield sendMessage(message.type, message.payload);\n }\n });\n}\n/**\n * Method to handle global exception occured in service worker\n * @param error any\n */\nconst handleServiceWorkerException = (error) => {\n // if (error instanceof FreeSchemaResponse && error.getStatus() != 401) {\n if (error instanceof _DataStructures_Responses_ErrorResponse__WEBPACK_IMPORTED_MODULE_105__.FreeSchemaResponse) {\n console.error('FreeSchemaResponse Error', error);\n throw error;\n }\n // if (error instanceof FreeSchemaResponse && error.getStatus() == 401) console.error('401 triggered in sw defaulting')\n console.error('Service Worker Error', error);\n};\n/**\n * Function to setup initial flag\n */\nfunction initializeFlags(flags) {\n try {\n if (flags.logApplication) {\n _Middleware_ApplicationMonitor__WEBPACK_IMPORTED_MODULE_104__.ApplicationMonitor.initialize();\n _app__WEBPACK_IMPORTED_MODULE_106__.Logger.logApplicationActivationStatus = true;\n console.warn(\"Application log started.\");\n }\n if (flags.logPackage) {\n _app__WEBPACK_IMPORTED_MODULE_106__.Logger.logPackageActivationStatus = true;\n console.warn(\"Package log started.\");\n }\n if (flags.accessTracker) {\n _app__WEBPACK_IMPORTED_MODULE_106__.AccessTracker.activateStatus = true;\n console.warn(\"Access Tracker Activated.\");\n }\n if (flags.isTest) {\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isDataLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isCharacterLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isTypeLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalDataLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalTypeLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalCharacterLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionTypeLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalConnectionLoaded = true;\n // return true;\n }\n return flags;\n }\n catch (error) {\n console.error(\"Failed to initialize flags:\", error);\n throw error;\n }\n}\n/**\n * Method to handle Registering service worker\n * @param enableSW any\n */\nfunction handleRegisterServiceWorker(enableSW) {\n return __awaiter(this, void 0, void 0, function* () {\n yield new Promise((resolve, reject) => {\n var _a, _b;\n let success = false;\n navigator.serviceWorker\n .register((_a = enableSW.pathToSW) !== null && _a !== void 0 ? _a : \"./serviceWorker.bundle.js\", {\n // type: \"module\",\n scope: (_b = enableSW.scope) !== null && _b !== void 0 ? _b : \"/\",\n })\n .then((registration) => __awaiter(this, void 0, void 0, function* () {\n console.log(\"Service Worker registered:\", registration);\n // process queue if exist\n setInterval(() => processMessageQueue(), 5000);\n // Add Listeners before initializing the service worker\n // Listen for updates to the service worker\n console.log(\"update listen start\");\n registration.onupdatefound = () => {\n const newWorker = registration.installing;\n console.log(\"new worker\", newWorker);\n if (newWorker) {\n newWorker.onstatechange = () => __awaiter(this, void 0, void 0, function* () {\n console.warn(\"on state change triggered\", newWorker.state, navigator.serviceWorker.controller);\n if (newWorker.state === \"installing\") {\n console.log(\"Service Worker installing\");\n serviceWorker = undefined;\n serviceWorkerReady = false;\n }\n // if (newWorker.state === 'activated' && navigator.serviceWorker.controller) {\n if ((newWorker.state === \"activated\" || newWorker.state === 'redundant') && navigator.serviceWorker.controller) {\n // && navigator.serviceWorker.controller) {\n console.log(\"New Service Worker is active\", registration);\n serviceWorker = newWorker;\n // serviceWorker = registration.active;\n // Send init message now that it's active\n setTimeout(() => {\n console.log('Message Processed after some time');\n processMessageQueue();\n }, 5000);\n yield initServiceWorker();\n success = true;\n serviceWorkerReady = true;\n processMessageQueue();\n resolve();\n }\n });\n }\n };\n // Listen for the activation of the new service worker\n registration.addEventListener('controllerchange', () => __awaiter(this, void 0, void 0, function* () {\n console.warn('controller change triggered', navigator.serviceWorker.controller);\n if (navigator.serviceWorker.controller) {\n serviceWorker = navigator.serviceWorker.controller;\n console.warn('Service worker has been activated; controller change');\n yield initServiceWorker();\n // The new service worker is now controlling the page\n // You can reload the page if necessary or handle the update process here\n }\n }));\n // state change \n if (registration.installing || registration.waiting || registration.active) {\n registration.addEventListener('statechange', (event) => __awaiter(this, void 0, void 0, function* () {\n var _a;\n if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.state) === 'activating') {\n serviceWorker = navigator.serviceWorker.controller;\n console.warn('Service Worker is activating statechange');\n yield initServiceWorker();\n }\n }));\n }\n // If the service worker is already active, mark it as ready\n if (registration.active) {\n serviceWorkerReady = true;\n console.log(\"active sw\");\n serviceWorker = registration.active;\n yield initServiceWorker();\n processMessageQueue();\n resolve();\n }\n else {\n // Handle if on state change didn't trigger\n setTimeout(() => {\n if (!success)\n reject(\"Not Completed Initialization\");\n }, 10000);\n }\n }))\n .catch((error) => __awaiter(this, void 0, void 0, function* () {\n yield initConceptConnection();\n reject(error);\n console.error(\"Service Worker registration failed:\", error);\n }));\n });\n });\n}\n/**\n * Method to initialize Serivce Worker\n */\nfunction initServiceWorker() {\n return __awaiter(this, void 0, void 0, function* () {\n yield sendMessage(\"init\", {\n url: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_URL,\n aiurl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.AI_URL,\n accessToken: _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken,\n nodeUrl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.NODE_URL,\n enableAi: false,\n applicationName: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_APPLICATION,\n flags: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS\n });\n });\n}\nfunction checkIfExecutingProcess(messageId, type) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n try {\n const res = yield sendMessage(\"checkProcess\", { checkMessageId: messageId });\n console.log('check interval data res for type ', type, messageId, res.data);\n if ((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.processing)\n return true;\n else\n false;\n }\n catch (error) {\n console.error('error on checing executing process', type, messageId, error);\n return false;\n }\n });\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/app.ts?");
|
|
2027
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ADMIN: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.ADMIN),\n/* harmony export */ ALLID: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.ALLID),\n/* harmony export */ AccessTracker: () => (/* reexport safe */ _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_119__.AccessTracker),\n/* harmony export */ AddGhostConcept: () => (/* reexport safe */ _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__.AddGhostConcept),\n/* harmony export */ Anomaly: () => (/* reexport safe */ _Anomaly_anomaly__WEBPACK_IMPORTED_MODULE_110__.Anomaly),\n/* harmony export */ BaseUrl: () => (/* reexport safe */ _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl),\n/* harmony export */ BinaryTree: () => (/* reexport safe */ _DataStructures_BinaryTree__WEBPACK_IMPORTED_MODULE_84__.BinaryTree),\n/* harmony export */ BuilderStatefulWidget: () => (/* reexport safe */ _Widgets_BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_108__.BuilderStatefulWidget),\n/* harmony export */ Composition: () => (/* reexport safe */ _DataStructures_Composition_Composition__WEBPACK_IMPORTED_MODULE_88__.Composition),\n/* harmony export */ CompositionBinaryTree: () => (/* reexport safe */ _DataStructures_Composition_CompositionBinaryTree__WEBPACK_IMPORTED_MODULE_89__.CompositionBinaryTree),\n/* harmony export */ CompositionNode: () => (/* reexport safe */ _DataStructures_Composition_CompositionNode__WEBPACK_IMPORTED_MODULE_90__.CompositionNode),\n/* harmony export */ Concept: () => (/* reexport safe */ _DataStructures_Concept__WEBPACK_IMPORTED_MODULE_78__.Concept),\n/* harmony export */ ConceptsData: () => (/* reexport safe */ _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_82__.ConceptsData),\n/* harmony export */ Connection: () => (/* reexport safe */ _DataStructures_Connection__WEBPACK_IMPORTED_MODULE_81__.Connection),\n/* harmony export */ ConnectionData: () => (/* reexport safe */ _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_83__.ConnectionData),\n/* harmony export */ CreateComposition: () => (/* reexport safe */ _Services_CreateTheComposition__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n/* harmony export */ CreateConnectionBetweenEntityLocal: () => (/* reexport safe */ _Services_CreateConnection_CreateConnectionEntity__WEBPACK_IMPORTED_MODULE_120__.CreateConnectionBetweenEntityLocal),\n/* harmony export */ CreateConnectionBetweenTwoConcepts: () => (/* reexport safe */ _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__.CreateConnectionBetweenTwoConcepts),\n/* harmony export */ CreateConnectionBetweenTwoConceptsGeneral: () => (/* reexport safe */ _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__.CreateConnectionBetweenTwoConceptsGeneral),\n/* harmony export */ CreateConnectionBetweenTwoConceptsLocal: () => (/* reexport safe */ _Services_Local_CreateConnectionBetweenTwoConceptsLocal__WEBPACK_IMPORTED_MODULE_61__.CreateConnectionBetweenTwoConceptsLocal),\n/* harmony export */ CreateDefaultConcept: () => (/* reexport safe */ _Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_19__.CreateDefaultConcept),\n/* harmony export */ CreateDefaultLConcept: () => (/* reexport safe */ _Services_Local_CreateDefaultLConcept__WEBPACK_IMPORTED_MODULE_48__.CreateDefaultLConcept),\n/* harmony export */ CreateSession: () => (/* reexport safe */ _Api_Session_CreateSession__WEBPACK_IMPORTED_MODULE_43__.CreateSession),\n/* harmony export */ CreateSessionVisit: () => (/* reexport safe */ _Api_Session_CreateSessionVisit__WEBPACK_IMPORTED_MODULE_44__.CreateSessionVisit),\n/* harmony export */ CreateTheCompositionLocal: () => (/* reexport safe */ _Services_Local_CreateTheCompositionLocal__WEBPACK_IMPORTED_MODULE_10__.CreateTheCompositionLocal),\n/* harmony export */ CreateTheCompositionWithCache: () => (/* reexport safe */ _Services_Composition_CreateCompositionCache__WEBPACK_IMPORTED_MODULE_47__.CreateTheCompositionWithCache),\n/* harmony export */ CreateTheConnection: () => (/* reexport safe */ _Services_CreateTheConnection__WEBPACK_IMPORTED_MODULE_16__.createTheConnection),\n/* harmony export */ CreateTheConnectionGeneral: () => (/* reexport safe */ _Services_CreateTheConnectionGeneral__WEBPACK_IMPORTED_MODULE_49__.CreateTheConnectionGeneral),\n/* harmony export */ CreateTheConnectionLocal: () => (/* reexport safe */ _Services_Local_CreateTheConnectionLocal__WEBPACK_IMPORTED_MODULE_50__.CreateTheConnectionLocal),\n/* harmony export */ DATAID: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.DATAID),\n/* harmony export */ DATAIDDATE: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.DATAIDDATE),\n/* harmony export */ DelayFunctionExecution: () => (/* reexport safe */ _Services_Common_DelayFunction__WEBPACK_IMPORTED_MODULE_64__.DelayFunctionExecution),\n/* harmony export */ DeleteConceptById: () => (/* reexport safe */ _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__.DeleteConceptById),\n/* harmony export */ DeleteConceptLocal: () => (/* reexport safe */ _Services_Local_DeleteConceptLocal__WEBPACK_IMPORTED_MODULE_62__.DeleteConceptLocal),\n/* harmony export */ DeleteConnectionById: () => (/* reexport safe */ _Services_DeleteConnection__WEBPACK_IMPORTED_MODULE_25__.DeleteConnectionById),\n/* harmony export */ DeleteConnectionByType: () => (/* reexport safe */ _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_114__.DeleteConnectionByType),\n/* harmony export */ DeleteUser: () => (/* reexport safe */ _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__.DeleteUser),\n/* harmony export */ DependencyObserver: () => (/* reexport safe */ _WrapperFunctions_DepenedencyObserver__WEBPACK_IMPORTED_MODULE_69__.DependencyObserver),\n/* harmony export */ FilterSearch: () => (/* reexport safe */ _DataStructures_FilterSearch__WEBPACK_IMPORTED_MODULE_93__.FilterSearch),\n/* harmony export */ FormatFromConnections: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.FormatFromConnections),\n/* harmony export */ FormatFromConnectionsAltered: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.FormatFromConnectionsAltered),\n/* harmony export */ FreeschemaQuery: () => (/* reexport safe */ _DataStructures_Search_FreeschemaQuery__WEBPACK_IMPORTED_MODULE_115__.FreeschemaQuery),\n/* harmony export */ FreeschemaQueryApi: () => (/* reexport safe */ _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_116__.FreeschemaQueryApi),\n/* harmony export */ GetAllConnectionsOfComposition: () => (/* reexport safe */ _Api_GetAllConnectionsOfComposition__WEBPACK_IMPORTED_MODULE_6__.GetAllConnectionsOfComposition),\n/* harmony export */ GetAllConnectionsOfCompositionBulk: () => (/* reexport safe */ _Api_GetAllConnectionsOfCompositionBulk__WEBPACK_IMPORTED_MODULE_34__.GetAllConnectionsOfCompositionBulk),\n/* harmony export */ GetAllTheConnectionsByTypeAndOfTheConcept: () => (/* reexport safe */ _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_114__.GetAllTheConnectionsByTypeAndOfTheConcept),\n/* harmony export */ GetComposition: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetComposition),\n/* harmony export */ GetCompositionBulk: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulk),\n/* harmony export */ GetCompositionBulkWithDataId: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulkWithDataId),\n/* harmony export */ GetCompositionFromConnectionsWithDataId: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataId),\n/* harmony export */ GetCompositionFromConnectionsWithDataIdFromConnections: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataIdFromConnections),\n/* harmony export */ GetCompositionFromConnectionsWithDataIdInObject: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataIdInObject),\n/* harmony export */ GetCompositionFromConnectionsWithDataIdIndex: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithDataIdIndex),\n/* harmony export */ GetCompositionFromConnectionsWithIndex: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithIndex),\n/* harmony export */ GetCompositionFromConnectionsWithIndexFromConnections: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionFromConnectionsWithIndexFromConnections),\n/* harmony export */ GetCompositionFromMemoryWithConnections: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionFromMemoryWithConnections),\n/* harmony export */ GetCompositionList: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionList),\n/* harmony export */ GetCompositionListAll: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListAll),\n/* harmony export */ GetCompositionListAllWithId: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListAllWithId),\n/* harmony export */ GetCompositionListListener: () => (/* reexport safe */ _WrapperFunctions_GetCompositionListObservable__WEBPACK_IMPORTED_MODULE_72__.GetCompositionListListener),\n/* harmony export */ GetCompositionListLocal: () => (/* reexport safe */ _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__.GetCompositionListLocal),\n/* harmony export */ GetCompositionListLocalWithId: () => (/* reexport safe */ _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__.GetCompositionListLocalWithId),\n/* harmony export */ GetCompositionListWithId: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListWithId),\n/* harmony export */ GetCompositionListWithIdUpdated: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListWithIdUpdated),\n/* harmony export */ GetCompositionListener: () => (/* reexport safe */ _WrapperFunctions_GetCompositionObservable__WEBPACK_IMPORTED_MODULE_71__.GetCompositionListener),\n/* harmony export */ GetCompositionLocal: () => (/* reexport safe */ _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__.GetCompositionLocal),\n/* harmony export */ GetCompositionLocalWithId: () => (/* reexport safe */ _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__.GetCompositionLocalWithId),\n/* harmony export */ GetCompositionWithAllIds: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithAllIds),\n/* harmony export */ GetCompositionWithCache: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithCache),\n/* harmony export */ GetCompositionWithDataIdBulk: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithDataIdBulk),\n/* harmony export */ GetCompositionWithDataIdWithCache: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithDataIdWithCache),\n/* harmony export */ GetCompositionWithId: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithId),\n/* harmony export */ GetCompositionWithIdAndDateFromMemory: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithIdAndDateFromMemory),\n/* harmony export */ GetConceptBulk: () => (/* reexport safe */ _Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_32__.GetConceptBulk),\n/* harmony export */ GetConceptByCharacter: () => (/* reexport safe */ _Services_GetConceptByCharacter__WEBPACK_IMPORTED_MODULE_17__[\"default\"]),\n/* harmony export */ GetConceptByCharacterAndCategoryLocal: () => (/* reexport safe */ _Services_Local_GetConceptByCharacterLocal__WEBPACK_IMPORTED_MODULE_56__.GetConceptByCharacterAndCategoryLocal),\n/* harmony export */ GetConceptByCharacterAndType: () => (/* reexport safe */ _Api_GetConceptByCharacterAndType__WEBPACK_IMPORTED_MODULE_65__.GetConceptByCharacterAndType),\n/* harmony export */ GetConnectionBetweenTwoConceptsLinker: () => (/* reexport safe */ _Services_GetConnectionBetweenTwoConceptsLinker__WEBPACK_IMPORTED_MODULE_63__.GetConnectionBetweenTwoConceptsLinker),\n/* harmony export */ GetConnectionBulk: () => (/* reexport safe */ _Api_GetConnectionBulk__WEBPACK_IMPORTED_MODULE_33__.GetConnectionBulk),\n/* harmony export */ GetConnectionById: () => (/* reexport safe */ _Services_GetConnections__WEBPACK_IMPORTED_MODULE_27__.GetConnectionById),\n/* harmony export */ GetConnectionDataPrefetch: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetConnectionDataPrefetch),\n/* harmony export */ GetConnectionOfTheConcept: () => (/* reexport safe */ _Api_GetConnectionOfTheConcept__WEBPACK_IMPORTED_MODULE_36__.GetConnectionOfTheConcept),\n/* harmony export */ GetLink: () => (/* reexport safe */ _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__.GetLink),\n/* harmony export */ GetLinkListListener: () => (/* reexport safe */ _WrapperFunctions_GetLinkListObservable__WEBPACK_IMPORTED_MODULE_76__.GetLinkListListener),\n/* harmony export */ GetLinkListener: () => (/* reexport safe */ _WrapperFunctions_GetLinkObservable__WEBPACK_IMPORTED_MODULE_74__.GetLinkListener),\n/* harmony export */ GetLinkRaw: () => (/* reexport safe */ _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__.GetLinkRaw),\n/* harmony export */ GetLinkerConnectionFromConcepts: () => (/* reexport safe */ _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__.GetLinkerConnectionFromConcepts),\n/* harmony export */ GetLinkerConnectionToConcepts: () => (/* reexport safe */ _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__.GetLinkerConnectionToConcepts),\n/* harmony export */ GetRelation: () => (/* reexport safe */ _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__.GetRelation),\n/* harmony export */ GetRelationLocal: () => (/* reexport safe */ _Services_Local_GetRelationLocal__WEBPACK_IMPORTED_MODULE_55__.GetRelationLocal),\n/* harmony export */ GetRelationRaw: () => (/* reexport safe */ _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__.GetRelationRaw),\n/* harmony export */ GetTheConcept: () => (/* reexport safe */ _Services_GetTheConcept__WEBPACK_IMPORTED_MODULE_12__[\"default\"]),\n/* harmony export */ GetTheConceptLocal: () => (/* reexport safe */ _Services_Local_GetTheConceptLocal__WEBPACK_IMPORTED_MODULE_53__.GetTheConceptLocal),\n/* harmony export */ GetUserGhostId: () => (/* reexport safe */ _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__.GetUserGhostId),\n/* harmony export */ JUSTDATA: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.JUSTDATA),\n/* harmony export */ LConcept: () => (/* reexport safe */ _DataStructures_Local_LConcept__WEBPACK_IMPORTED_MODULE_79__.LConcept),\n/* harmony export */ LConnection: () => (/* reexport safe */ _DataStructures_Local_LConnection__WEBPACK_IMPORTED_MODULE_80__.LConnection),\n/* harmony export */ LISTNORMAL: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.LISTNORMAL),\n/* harmony export */ LocalConceptsData: () => (/* reexport safe */ _DataStructures_Local_LocalConceptData__WEBPACK_IMPORTED_MODULE_95__.LocalConceptsData),\n/* harmony export */ LocalSyncData: () => (/* reexport safe */ _DataStructures_Local_LocalSyncData__WEBPACK_IMPORTED_MODULE_91__.LocalSyncData),\n/* harmony export */ LocalTransaction: () => (/* reexport safe */ _Services_Transaction_LocalTransaction__WEBPACK_IMPORTED_MODULE_109__.LocalTransaction),\n/* harmony export */ Logger: () => (/* reexport safe */ _Middleware_logger_service__WEBPACK_IMPORTED_MODULE_102__.Logger),\n/* harmony export */ LoginToBackend: () => (/* reexport safe */ _Api_Login__WEBPACK_IMPORTED_MODULE_35__.LoginToBackend),\n/* harmony export */ MakeTheInstanceConcept: () => (/* reexport safe */ _Services_MakeTheInstanceConcept__WEBPACK_IMPORTED_MODULE_13__[\"default\"]),\n/* harmony export */ MakeTheInstanceConceptLocal: () => (/* reexport safe */ _Services_Local_MakeTheInstanceConceptLocal__WEBPACK_IMPORTED_MODULE_14__.MakeTheInstanceConceptLocal),\n/* harmony export */ MakeTheTimestamp: () => (/* reexport safe */ _Services_MakeTheTimestamp__WEBPACK_IMPORTED_MODULE_28__.MakeTheTimestamp),\n/* harmony export */ MakeTheTypeConcept: () => (/* reexport safe */ _Services_MakeTheTypeConcept__WEBPACK_IMPORTED_MODULE_21__.MakeTheTypeConcept),\n/* harmony export */ MakeTheTypeConceptApi: () => (/* reexport safe */ _Api_MakeTheTypeConceptApi__WEBPACK_IMPORTED_MODULE_22__.MakeTheTypeConceptApi),\n/* harmony export */ MakeTheTypeConceptLocal: () => (/* reexport safe */ _Services_Local_MakeTheTypeLocal__WEBPACK_IMPORTED_MODULE_20__.MakeTheTypeConceptLocal),\n/* harmony export */ NORMAL: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.NORMAL),\n/* harmony export */ PRIVATE: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.PRIVATE),\n/* harmony export */ PUBLIC: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.PUBLIC),\n/* harmony export */ PatcherStructure: () => (/* reexport safe */ _DataStructures_PatcherStructure__WEBPACK_IMPORTED_MODULE_86__.PatcherStructure),\n/* harmony export */ RAW: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.RAW),\n/* harmony export */ RecursiveSearchApi: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApi),\n/* harmony export */ RecursiveSearchApiNewRawFullLinker: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiNewRawFullLinker),\n/* harmony export */ RecursiveSearchApiRaw: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiRaw),\n/* harmony export */ RecursiveSearchApiRawFullLinker: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiRawFullLinker),\n/* harmony export */ RecursiveSearchApiWithInternalConnections: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiWithInternalConnections),\n/* harmony export */ RecursiveSearchListener: () => (/* reexport safe */ _WrapperFunctions_RecursiveSearchObservable__WEBPACK_IMPORTED_MODULE_75__.RecursiveSearchListener),\n/* harmony export */ SchemaQueryListener: () => (/* reexport safe */ _WrapperFunctions_SchemaQueryObservable__WEBPACK_IMPORTED_MODULE_117__.SchemaQueryListener),\n/* harmony export */ SearchAllConcepts: () => (/* reexport safe */ _Api_Search_Search__WEBPACK_IMPORTED_MODULE_40__.SearchAllConcepts),\n/* harmony export */ SearchLinkInternal: () => (/* reexport safe */ _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__.SearchLinkInternal),\n/* harmony export */ SearchLinkInternalAll: () => (/* reexport safe */ _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__.SearchLinkInternalAll),\n/* harmony export */ SearchLinkMultipleAll: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.SearchLinkMultipleAll),\n/* harmony export */ SearchLinkMultipleAllObservable: () => (/* reexport safe */ _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__.SearchLinkMultipleAllObservable),\n/* harmony export */ SearchLinkMultipleApi: () => (/* reexport safe */ _Api_Search_SearchLinkMultipleApi__WEBPACK_IMPORTED_MODULE_2__.SearchLinkMultipleApi),\n/* harmony export */ SearchQuery: () => (/* reexport safe */ _DataStructures_SearchQuery__WEBPACK_IMPORTED_MODULE_85__.SearchQuery),\n/* harmony export */ SearchStructure: () => (/* reexport safe */ _DataStructures_Search_SearchStructure__WEBPACK_IMPORTED_MODULE_94__.SearchStructure),\n/* harmony export */ SearchWithLinker: () => (/* reexport safe */ _Api_Search_SearchWithLinker__WEBPACK_IMPORTED_MODULE_41__.SearchWithLinker),\n/* harmony export */ SearchWithTypeAndLinker: () => (/* reexport safe */ _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_73__.SearchWithTypeAndLinker),\n/* harmony export */ SearchWithTypeAndLinkerApi: () => (/* reexport safe */ _Api_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_68__.SearchWithTypeAndLinkerApi),\n/* harmony export */ SessionData: () => (/* reexport safe */ _DataStructures_Session_SessionData__WEBPACK_IMPORTED_MODULE_87__.SessionData),\n/* harmony export */ Signin: () => (/* reexport safe */ _Api_Signin__WEBPACK_IMPORTED_MODULE_38__[\"default\"]),\n/* harmony export */ Signup: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_37__[\"default\"]),\n/* harmony export */ SignupEntity: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_37__.SignupEntity),\n/* harmony export */ SplitStrings: () => (/* reexport safe */ _Services_SplitStrings__WEBPACK_IMPORTED_MODULE_3__.SplitStrings),\n/* harmony export */ StatefulWidget: () => (/* reexport safe */ _Widgets_StatefulWidget__WEBPACK_IMPORTED_MODULE_113__.StatefulWidget),\n/* harmony export */ SyncData: () => (/* reexport safe */ _DataStructures_SyncData__WEBPACK_IMPORTED_MODULE_77__.SyncData),\n/* harmony export */ TrashTheConcept: () => (/* reexport safe */ _Api_Delete_DeleteConceptInBackend__WEBPACK_IMPORTED_MODULE_26__.TrashTheConcept),\n/* harmony export */ UpdateComposition: () => (/* reexport safe */ _Services_UpdateComposition__WEBPACK_IMPORTED_MODULE_39__[\"default\"]),\n/* harmony export */ UpdateCompositionLocal: () => (/* reexport safe */ _Services_Local_UpdateCompositionLocal__WEBPACK_IMPORTED_MODULE_54__.UpdateCompositionLocal),\n/* harmony export */ UserBinaryTree: () => (/* reexport safe */ _DataStructures_User_UserBinaryTree__WEBPACK_IMPORTED_MODULE_92__.UserBinaryTree),\n/* harmony export */ Validator: () => (/* reexport safe */ _Validator_validator__WEBPACK_IMPORTED_MODULE_111__.Validator),\n/* harmony export */ ViewInternalData: () => (/* reexport safe */ _Services_View_ViewInternalData__WEBPACK_IMPORTED_MODULE_57__.ViewInternalData),\n/* harmony export */ ViewInternalDataApi: () => (/* reexport safe */ _Api_View_ViewInternalDataApi__WEBPACK_IMPORTED_MODULE_58__.ViewInternalDataApi),\n/* harmony export */ WidgetTree: () => (/* reexport safe */ _Widgets_WidgetTree__WEBPACK_IMPORTED_MODULE_118__.WidgetTree),\n/* harmony export */ convertFromConceptToLConcept: () => (/* reexport safe */ _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__.convertFromConceptToLConcept),\n/* harmony export */ convertFromLConceptToConcept: () => (/* reexport safe */ _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__.convertFromLConceptToConcept),\n/* harmony export */ convertWidgetTreeToWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_121__.convertWidgetTreeToWidget),\n/* harmony export */ convertWidgetTreeToWidgetWithWrapper: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_121__.convertWidgetTreeToWidgetWithWrapper),\n/* harmony export */ createFormFieldData: () => (/* reexport safe */ _Validator_utils__WEBPACK_IMPORTED_MODULE_112__.createFormFieldData),\n/* harmony export */ dispatchIdEvent: () => (/* binding */ dispatchIdEvent),\n/* harmony export */ getFromDatabaseWithType: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getFromDatabaseWithType),\n/* harmony export */ getObjectsFromIndexDb: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getObjectsFromIndexDb),\n/* harmony export */ handleServiceWorkerException: () => (/* binding */ handleServiceWorkerException),\n/* harmony export */ hasActivatedSW: () => (/* binding */ hasActivatedSW),\n/* harmony export */ init: () => (/* binding */ init),\n/* harmony export */ recursiveFetch: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.recursiveFetch),\n/* harmony export */ recursiveFetchNew: () => (/* reexport safe */ _Services_Composition_BuildComposition__WEBPACK_IMPORTED_MODULE_46__.recursiveFetchNew),\n/* harmony export */ renderLatestWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_121__.renderLatestWidget),\n/* harmony export */ renderPage: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_121__.renderPage),\n/* harmony export */ renderWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_121__.renderWidget),\n/* harmony export */ searchLinkMultipleListener: () => (/* reexport safe */ _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__.searchLinkMultipleListener),\n/* harmony export */ sendEmail: () => (/* reexport safe */ _Services_Mail__WEBPACK_IMPORTED_MODULE_107__.sendEmail),\n/* harmony export */ sendMessage: () => (/* binding */ sendMessage),\n/* harmony export */ serviceWorker: () => (/* binding */ serviceWorker),\n/* harmony export */ setHasActivatedSW: () => (/* binding */ setHasActivatedSW),\n/* harmony export */ storeToDatabase: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.storeToDatabase),\n/* harmony export */ subscribedListeners: () => (/* binding */ subscribedListeners),\n/* harmony export */ unwrapContainers: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_121__.unwrapContainers),\n/* harmony export */ updateAccessToken: () => (/* binding */ updateAccessToken),\n/* harmony export */ uploadAttachment: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadAttachment),\n/* harmony export */ uploadFile: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadFile),\n/* harmony export */ uploadImage: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadImage),\n/* harmony export */ validDocumentFormats: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.validDocumentFormats),\n/* harmony export */ validImageFormats: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.validImageFormats)\n/* harmony export */ });\n/* harmony import */ var _Services_CreateBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Services/CreateBinaryTreeFromData */ \"./src/Services/CreateBinaryTreeFromData.ts\");\n/* harmony import */ var _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DataStructures/IdentifierFlags */ \"./src/DataStructures/IdentifierFlags.ts\");\n/* harmony import */ var _Api_Search_SearchLinkMultipleApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Api/Search/SearchLinkMultipleApi */ \"./src/Api/Search/SearchLinkMultipleApi.ts\");\n/* harmony import */ var _Services_SplitStrings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Services/SplitStrings */ \"./src/Services/SplitStrings.ts\");\n/* harmony import */ var _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Services/GetCompositionList */ \"./src/Services/GetCompositionList.ts\");\n/* harmony import */ var _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Services/Local/GetCompositionListLocal */ \"./src/Services/Local/GetCompositionListLocal.ts\");\n/* harmony import */ var _Api_GetAllConnectionsOfComposition__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Api/GetAllConnectionsOfComposition */ \"./src/Api/GetAllConnectionsOfComposition.ts\");\n/* harmony import */ var _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Services/GetComposition */ \"./src/Services/GetComposition.ts\");\n/* harmony import */ var _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Services/Local/GetCompositionLocal */ \"./src/Services/Local/GetCompositionLocal.ts\");\n/* harmony import */ var _Services_CreateTheComposition__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Services/CreateTheComposition */ \"./src/Services/CreateTheComposition.ts\");\n/* harmony import */ var _Services_Local_CreateTheCompositionLocal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Services/Local/CreateTheCompositionLocal */ \"./src/Services/Local/CreateTheCompositionLocal.ts\");\n/* harmony import */ var _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Services/CreateConnectionBetweenTwoConcepts */ \"./src/Services/CreateConnectionBetweenTwoConcepts.ts\");\n/* harmony import */ var _Services_GetTheConcept__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Services/GetTheConcept */ \"./src/Services/GetTheConcept.ts\");\n/* harmony import */ var _Services_MakeTheInstanceConcept__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Services/MakeTheInstanceConcept */ \"./src/Services/MakeTheInstanceConcept.ts\");\n/* harmony import */ var _Services_Local_MakeTheInstanceConceptLocal__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Services/Local/MakeTheInstanceConceptLocal */ \"./src/Services/Local/MakeTheInstanceConceptLocal.ts\");\n/* harmony import */ var _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Database/NoIndexDb */ \"./src/Database/NoIndexDb.ts\");\n/* harmony import */ var _Services_CreateTheConnection__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Services/CreateTheConnection */ \"./src/Services/CreateTheConnection.ts\");\n/* harmony import */ var _Services_GetConceptByCharacter__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Services/GetConceptByCharacter */ \"./src/Services/GetConceptByCharacter.ts\");\n/* harmony import */ var _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Services/GetLink */ \"./src/Services/GetLink.ts\");\n/* harmony import */ var _Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Services/CreateDefaultConcept */ \"./src/Services/CreateDefaultConcept.ts\");\n/* harmony import */ var _Services_Local_MakeTheTypeLocal__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Services/Local/MakeTheTypeLocal */ \"./src/Services/Local/MakeTheTypeLocal.ts\");\n/* harmony import */ var _Services_MakeTheTypeConcept__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./Services/MakeTheTypeConcept */ \"./src/Services/MakeTheTypeConcept.ts\");\n/* harmony import */ var _Api_MakeTheTypeConceptApi__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Api/MakeTheTypeConceptApi */ \"./src/Api/MakeTheTypeConceptApi.ts\");\n/* harmony import */ var _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./Services/GetLinkerConnectionFromConcept */ \"./src/Services/GetLinkerConnectionFromConcept.ts\");\n/* harmony import */ var _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Services/DeleteConcept */ \"./src/Services/DeleteConcept.ts\");\n/* harmony import */ var _Services_DeleteConnection__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./Services/DeleteConnection */ \"./src/Services/DeleteConnection.ts\");\n/* harmony import */ var _Api_Delete_DeleteConceptInBackend__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./Api/Delete/DeleteConceptInBackend */ \"./src/Api/Delete/DeleteConceptInBackend.ts\");\n/* harmony import */ var _Services_GetConnections__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Services/GetConnections */ \"./src/Services/GetConnections.ts\");\n/* harmony import */ var _Services_MakeTheTimestamp__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Services/MakeTheTimestamp */ \"./src/Services/MakeTheTimestamp.ts\");\n/* harmony import */ var _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./Api/RecursiveSearch */ \"./src/Api/RecursiveSearch.ts\");\n/* harmony import */ var _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Services/GetCompositionBulk */ \"./src/Services/GetCompositionBulk.ts\");\n/* harmony import */ var _Services_Upload__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./Services/Upload */ \"./src/Services/Upload.ts\");\n/* harmony import */ var _Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./Api/GetConceptBulk */ \"./src/Api/GetConceptBulk.ts\");\n/* harmony import */ var _Api_GetConnectionBulk__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./Api/GetConnectionBulk */ \"./src/Api/GetConnectionBulk.ts\");\n/* harmony import */ var _Api_GetAllConnectionsOfCompositionBulk__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./Api/GetAllConnectionsOfCompositionBulk */ \"./src/Api/GetAllConnectionsOfCompositionBulk.ts\");\n/* harmony import */ var _Api_Login__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./Api/Login */ \"./src/Api/Login.ts\");\n/* harmony import */ var _Api_GetConnectionOfTheConcept__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./Api/GetConnectionOfTheConcept */ \"./src/Api/GetConnectionOfTheConcept.ts\");\n/* harmony import */ var _Api_Signup__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./Api/Signup */ \"./src/Api/Signup.ts\");\n/* harmony import */ var _Api_Signin__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./Api/Signin */ \"./src/Api/Signin.ts\");\n/* harmony import */ var _Services_UpdateComposition__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./Services/UpdateComposition */ \"./src/Services/UpdateComposition.ts\");\n/* harmony import */ var _Api_Search_Search__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./Api/Search/Search */ \"./src/Api/Search/Search.ts\");\n/* harmony import */ var _Api_Search_SearchWithLinker__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./Api/Search/SearchWithLinker */ \"./src/Api/Search/SearchWithLinker.ts\");\n/* harmony import */ var _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./Services/Composition/CompositionCache */ \"./src/Services/Composition/CompositionCache.ts\");\n/* harmony import */ var _Api_Session_CreateSession__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./Api/Session/CreateSession */ \"./src/Api/Session/CreateSession.ts\");\n/* harmony import */ var _Api_Session_CreateSessionVisit__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./Api/Session/CreateSessionVisit */ \"./src/Api/Session/CreateSessionVisit.ts\");\n/* harmony import */ var _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./Services/GetRelation */ \"./src/Services/GetRelation.ts\");\n/* harmony import */ var _Services_Composition_BuildComposition__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./Services/Composition/BuildComposition */ \"./src/Services/Composition/BuildComposition.ts\");\n/* harmony import */ var _Services_Composition_CreateCompositionCache__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./Services/Composition/CreateCompositionCache */ \"./src/Services/Composition/CreateCompositionCache.ts\");\n/* harmony import */ var _Services_Local_CreateDefaultLConcept__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./Services/Local/CreateDefaultLConcept */ \"./src/Services/Local/CreateDefaultLConcept.ts\");\n/* harmony import */ var _Services_CreateTheConnectionGeneral__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./Services/CreateTheConnectionGeneral */ \"./src/Services/CreateTheConnectionGeneral.ts\");\n/* harmony import */ var _Services_Local_CreateTheConnectionLocal__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./Services/Local/CreateTheConnectionLocal */ \"./src/Services/Local/CreateTheConnectionLocal.ts\");\n/* harmony import */ var _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./Services/User/UserTranslation */ \"./src/Services/User/UserTranslation.ts\");\n/* harmony import */ var _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./Services/Search/SearchLinkMultiple */ \"./src/Services/Search/SearchLinkMultiple.ts\");\n/* harmony import */ var _Services_Local_GetTheConceptLocal__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./Services/Local/GetTheConceptLocal */ \"./src/Services/Local/GetTheConceptLocal.ts\");\n/* harmony import */ var _Services_Local_UpdateCompositionLocal__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./Services/Local/UpdateCompositionLocal */ \"./src/Services/Local/UpdateCompositionLocal.ts\");\n/* harmony import */ var _Services_Local_GetRelationLocal__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./Services/Local/GetRelationLocal */ \"./src/Services/Local/GetRelationLocal.ts\");\n/* harmony import */ var _Services_Local_GetConceptByCharacterLocal__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./Services/Local/GetConceptByCharacterLocal */ \"./src/Services/Local/GetConceptByCharacterLocal.ts\");\n/* harmony import */ var _Services_View_ViewInternalData__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./Services/View/ViewInternalData */ \"./src/Services/View/ViewInternalData.ts\");\n/* harmony import */ var _Api_View_ViewInternalDataApi__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./Api/View/ViewInternalDataApi */ \"./src/Api/View/ViewInternalDataApi.ts\");\n/* harmony import */ var _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./Services/Conversion/ConvertConcepts */ \"./src/Services/Conversion/ConvertConcepts.ts\");\n/* harmony import */ var _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./Services/Search/SearchLinkInternal */ \"./src/Services/Search/SearchLinkInternal.ts\");\n/* harmony import */ var _Services_Local_CreateConnectionBetweenTwoConceptsLocal__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./Services/Local/CreateConnectionBetweenTwoConceptsLocal */ \"./src/Services/Local/CreateConnectionBetweenTwoConceptsLocal.ts\");\n/* harmony import */ var _Services_Local_DeleteConceptLocal__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./Services/Local/DeleteConceptLocal */ \"./src/Services/Local/DeleteConceptLocal.ts\");\n/* harmony import */ var _Services_GetConnectionBetweenTwoConceptsLinker__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./Services/GetConnectionBetweenTwoConceptsLinker */ \"./src/Services/GetConnectionBetweenTwoConceptsLinker.ts\");\n/* harmony import */ var _Services_Common_DelayFunction__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./Services/Common/DelayFunction */ \"./src/Services/Common/DelayFunction.ts\");\n/* harmony import */ var _Api_GetConceptByCharacterAndType__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./Api/GetConceptByCharacterAndType */ \"./src/Api/GetConceptByCharacterAndType.ts\");\n/* harmony import */ var _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./Constants/FormatConstants */ \"./src/Constants/FormatConstants.ts\");\n/* harmony import */ var _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./Constants/AccessConstants */ \"./src/Constants/AccessConstants.ts\");\n/* harmony import */ var _Api_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./Api/Search/SearchWithTypeAndLinker */ \"./src/Api/Search/SearchWithTypeAndLinker.ts\");\n/* harmony import */ var _WrapperFunctions_DepenedencyObserver__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./WrapperFunctions/DepenedencyObserver */ \"./src/WrapperFunctions/DepenedencyObserver.ts\");\n/* harmony import */ var _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./WrapperFunctions/SearchLinkMultipleAllObservable */ \"./src/WrapperFunctions/SearchLinkMultipleAllObservable.ts\");\n/* harmony import */ var _WrapperFunctions_GetCompositionObservable__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./WrapperFunctions/GetCompositionObservable */ \"./src/WrapperFunctions/GetCompositionObservable.ts\");\n/* harmony import */ var _WrapperFunctions_GetCompositionListObservable__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./WrapperFunctions/GetCompositionListObservable */ \"./src/WrapperFunctions/GetCompositionListObservable.ts\");\n/* harmony import */ var _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./Services/Search/SearchWithTypeAndLinker */ \"./src/Services/Search/SearchWithTypeAndLinker.ts\");\n/* harmony import */ var _WrapperFunctions_GetLinkObservable__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./WrapperFunctions/GetLinkObservable */ \"./src/WrapperFunctions/GetLinkObservable.ts\");\n/* harmony import */ var _WrapperFunctions_RecursiveSearchObservable__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./WrapperFunctions/RecursiveSearchObservable */ \"./src/WrapperFunctions/RecursiveSearchObservable.ts\");\n/* harmony import */ var _WrapperFunctions_GetLinkListObservable__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./WrapperFunctions/GetLinkListObservable */ \"./src/WrapperFunctions/GetLinkListObservable.ts\");\n/* harmony import */ var _DataStructures_SyncData__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./DataStructures/SyncData */ \"./src/DataStructures/SyncData.ts\");\n/* harmony import */ var _DataStructures_Concept__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./DataStructures/Concept */ \"./src/DataStructures/Concept.ts\");\n/* harmony import */ var _DataStructures_Local_LConcept__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./DataStructures/Local/LConcept */ \"./src/DataStructures/Local/LConcept.ts\");\n/* harmony import */ var _DataStructures_Local_LConnection__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./DataStructures/Local/LConnection */ \"./src/DataStructures/Local/LConnection.ts\");\n/* harmony import */ var _DataStructures_Connection__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./DataStructures/Connection */ \"./src/DataStructures/Connection.ts\");\n/* harmony import */ var _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./DataStructures/ConceptData */ \"./src/DataStructures/ConceptData.ts\");\n/* harmony import */ var _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./DataStructures/ConnectionData */ \"./src/DataStructures/ConnectionData.ts\");\n/* harmony import */ var _DataStructures_BinaryTree__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./DataStructures/BinaryTree */ \"./src/DataStructures/BinaryTree.ts\");\n/* harmony import */ var _DataStructures_SearchQuery__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./DataStructures/SearchQuery */ \"./src/DataStructures/SearchQuery.ts\");\n/* harmony import */ var _DataStructures_PatcherStructure__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./DataStructures/PatcherStructure */ \"./src/DataStructures/PatcherStructure.ts\");\n/* harmony import */ var _DataStructures_Session_SessionData__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./DataStructures/Session/SessionData */ \"./src/DataStructures/Session/SessionData.ts\");\n/* harmony import */ var _DataStructures_Composition_Composition__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./DataStructures/Composition/Composition */ \"./src/DataStructures/Composition/Composition.ts\");\n/* harmony import */ var _DataStructures_Composition_CompositionBinaryTree__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./DataStructures/Composition/CompositionBinaryTree */ \"./src/DataStructures/Composition/CompositionBinaryTree.ts\");\n/* harmony import */ var _DataStructures_Composition_CompositionNode__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./DataStructures/Composition/CompositionNode */ \"./src/DataStructures/Composition/CompositionNode.ts\");\n/* harmony import */ var _DataStructures_Local_LocalSyncData__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./DataStructures/Local/LocalSyncData */ \"./src/DataStructures/Local/LocalSyncData.ts\");\n/* harmony import */ var _DataStructures_User_UserBinaryTree__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./DataStructures/User/UserBinaryTree */ \"./src/DataStructures/User/UserBinaryTree.ts\");\n/* harmony import */ var _DataStructures_FilterSearch__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./DataStructures/FilterSearch */ \"./src/DataStructures/FilterSearch.ts\");\n/* harmony import */ var _DataStructures_Search_SearchStructure__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./DataStructures/Search/SearchStructure */ \"./src/DataStructures/Search/SearchStructure.ts\");\n/* harmony import */ var _DataStructures_Local_LocalConceptData__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./DataStructures/Local/LocalConceptData */ \"./src/DataStructures/Local/LocalConceptData.ts\");\n/* harmony import */ var _Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./Services/GetDataFromIndexDb */ \"./src/Services/GetDataFromIndexDb.ts\");\n/* harmony import */ var _Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./Services/Local/CreateLocalBinaryTreeFromData */ \"./src/Services/Local/CreateLocalBinaryTreeFromData.ts\");\n/* harmony import */ var _Services_InitializeSystem__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./Services/InitializeSystem */ \"./src/Services/InitializeSystem.ts\");\n/* harmony import */ var _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./DataStructures/BaseUrl */ \"./src/DataStructures/BaseUrl.ts\");\n/* harmony import */ var _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./DataStructures/Security/TokenStorage */ \"./src/DataStructures/Security/TokenStorage.ts\");\n/* harmony import */ var _Constants_general_const__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./Constants/general.const */ \"./src/Constants/general.const.ts\");\n/* harmony import */ var _Middleware_logger_service__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./Middleware/logger.service */ \"./src/Middleware/logger.service.ts\");\n/* harmony import */ var _Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./Services/Common/ErrorPosting */ \"./src/Services/Common/ErrorPosting.ts\");\n/* harmony import */ var _Middleware_ApplicationMonitor__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./Middleware/ApplicationMonitor */ \"./src/Middleware/ApplicationMonitor.ts\");\n/* harmony import */ var _DataStructures_Responses_ErrorResponse__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./DataStructures/Responses/ErrorResponse */ \"./src/DataStructures/Responses/ErrorResponse.ts\");\n/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./app */ \"./src/app.ts\");\n/* harmony import */ var _Services_Mail__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./Services/Mail */ \"./src/Services/Mail.ts\");\n/* harmony import */ var _Widgets_BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./Widgets/BuilderStatefulWidget */ \"./src/Widgets/BuilderStatefulWidget.ts\");\n/* harmony import */ var _Services_Transaction_LocalTransaction__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./Services/Transaction/LocalTransaction */ \"./src/Services/Transaction/LocalTransaction.ts\");\n/* harmony import */ var _Anomaly_anomaly__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./Anomaly/anomaly */ \"./src/Anomaly/anomaly.ts\");\n/* harmony import */ var _Validator_validator__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./Validator/validator */ \"./src/Validator/validator.ts\");\n/* harmony import */ var _Validator_utils__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./Validator/utils */ \"./src/Validator/utils.ts\");\n/* harmony import */ var _Widgets_StatefulWidget__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./Widgets/StatefulWidget */ \"./src/Widgets/StatefulWidget.ts\");\n/* harmony import */ var _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./Services/DeleteConnectionByType */ \"./src/Services/DeleteConnectionByType.ts\");\n/* harmony import */ var _DataStructures_Search_FreeschemaQuery__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! ./DataStructures/Search/FreeschemaQuery */ \"./src/DataStructures/Search/FreeschemaQuery.ts\");\n/* harmony import */ var _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ./Api/Search/FreeschemaQueryApi */ \"./src/Api/Search/FreeschemaQueryApi.ts\");\n/* harmony import */ var _WrapperFunctions_SchemaQueryObservable__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ./WrapperFunctions/SchemaQueryObservable */ \"./src/WrapperFunctions/SchemaQueryObservable.ts\");\n/* harmony import */ var _Widgets_WidgetTree__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ./Widgets/WidgetTree */ \"./src/Widgets/WidgetTree.ts\");\n/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./AccessTracker/accessTracker */ \"./src/AccessTracker/accessTracker.ts\");\n/* harmony import */ var _Services_CreateConnection_CreateConnectionEntity__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./Services/CreateConnection/CreateConnectionEntity */ \"./src/Services/CreateConnection/CreateConnectionEntity.ts\");\n/* harmony import */ var _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./Widgets/RenderWidgetService */ \"./src/Widgets/RenderWidgetService.ts\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar serviceWorker;\nconst TABID = Date.now().toString(36) + Math.random().toString(36).substring(2);\nlet subscribedListeners = [];\nlet serviceWorkerReady = false;\nlet messageQueue = [];\n// for sw use only START\nlet hasActivatedSW = false;\nfunction setHasActivatedSW(value) { hasActivatedSW = value; }\n// for sw use only END\n/**\n * This function lets you update the access token that the package uses. If this is not passed you cannot create, update, view or delete\n * Your concepts using this package.\n * @param accessToken access token got from the sign in process\n */\nfunction updateAccessToken(accessToken = \"\") {\n _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken = accessToken;\n if (serviceWorker)\n sendMessage('updateAccessToken', { accessToken });\n}\n/**\n *\n * @param url This is the url for the backend c# system or our main data fabric server\n * @param aiurl This is the AI url that pulls in the data using our AI system . If you do not enter this then also disable the enableAi flag.\n * @param accessToken This is the JWT token that needs to be passed (But since you have just initilized the system). There is no way we can get access token\n * So this access token can be empty string. You can set it afterwards with another function UpdateAccessToken();\n * @param nodeUrl This is the url for the node server. This is another server in the data fabric that is used as server for business logic and security features.\n * @param enableAi This flag is used to enable or disable the AI feature that preloads data in the indexdb.\n * @param applicationName This is an unique name that is given to a program. Use this to discern one indexdb from another.\n * @param enableSW {activate: boolean, scope?: string, pathToSW?: string, manual?: boolean} | undefined - This is for enabling service worker with its scope\n */\nfunction init() {\n return __awaiter(this, arguments, void 0, function* (url = \"\", aiurl = \"\", accessToken = \"\", nodeUrl = \"\", enableAi = true, applicationName = \"\", enableSW = undefined, flags = {}) {\n try {\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_URL = url;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.AI_URL = aiurl;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.NODE_URL = nodeUrl;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_APPLICATION = applicationName;\n _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken = accessToken;\n let randomizer = Math.floor(Math.random() * 100000000);\n // BaseUrl.BASE_RANDOMIZER = randomizer;\n // BaseUrl.BASE_RANDOMIZER = 999;\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.setRandomizer(randomizer);\n // Change Default Flags\n const defaultFlags = {\n logApplication: false,\n logPackage: false,\n accessTracker: false,\n isTest: false\n };\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS = defaultFlags;\n // Merge Provided Flags with Defaults\n _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS = Object.assign(Object.assign({}, defaultFlags), flags);\n initializeFlags(_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS);\n // console.log(\"BaseUrl.FLAGS before sending to service worker : \", BaseUrl.FLAGS)\n if (!(\"serviceWorker\" in navigator)) {\n yield initConceptConnection();\n console.warn(\"Service Worker not supported in this browser.\");\n return;\n }\n listenPostMessagaes();\n listenBroadCastMessages();\n if (enableSW && enableSW.activate && enableSW.manual) {\n yield new Promise((resolve, reject) => {\n navigator.serviceWorker.ready\n .then((registration) => __awaiter(this, void 0, void 0, function* () {\n console.log('registraions ready', registration);\n serviceWorker = registration.active;\n yield initServiceWorker();\n resolve('done');\n }))\n .catch(err => {\n console.error(\"Error: Ready service worker\", err);\n reject(err);\n })\n .finally(() => console.log('Finally service worker ready done'));\n setTimeout(() => reject('Timeout ready'), 30000);\n });\n }\n else if (enableSW &&\n (enableSW === null || enableSW === void 0 ? void 0 : enableSW.activate)) {\n try {\n console.log(\"service worker initialiing\");\n yield handleRegisterServiceWorker(enableSW);\n }\n catch (error) {\n yield initConceptConnection();\n console.error(\"Unable to start service worker\", error);\n }\n }\n else {\n yield initConceptConnection();\n console.warn('Service Worker not activated');\n }\n return true;\n }\n catch (error) {\n yield initConceptConnection();\n console.warn(\"Cannot initialize the system\", error);\n }\n });\n}\n/**\n * Method to send message to the service worker from main thread\n * @param type string\n * @param payload any\n * @returns Promise<any>\n */\nfunction sendMessage(type_1, payload_1) {\n return __awaiter(this, arguments, void 0, function* (type, payload, retryCount = 0) {\n let messagedProcessed = false;\n const messageId = Math.random().toString(36).substring(2); // Generate a unique message ID\n payload.messageId = messageId;\n payload.TABID = TABID;\n // let actions = payload.actions\n const newPayload = JSON.parse(JSON.stringify(payload));\n let checkProcessInterval;\n if (type != 'checkProcess') {\n checkProcessInterval = setInterval(() => __awaiter(this, void 0, void 0, function* () {\n console.log('process took more than one second', messageId, type, messagedProcessed);\n // if (!await checkIfExecutingProcess(messageId, type) && !messagedProcessed) {\n // console.log(\"Message process missing\")\n // throw Error('Failed to handle type ' + type + ' ' + messageId)\n // }\n if (!messagedProcessed && !(yield checkIfExecutingProcess(messageId, type))) {\n clearInterval(checkProcessInterval);\n if (!messagedProcessed) {\n console.log('Failed to handle type ' + type + ' message not found ' + messageId);\n if (retryCount == 0 && type != 'checkProcess') {\n console.log('retrying ', type, messageId);\n const res = yield sendMessage(type, payload, retryCount + 1);\n return res;\n }\n else {\n // throw Error('Failed to handle type ' + type + ' ' + messageId)\n console.log('Failed to handle type ' + type + ' ' + messageId);\n }\n }\n console.log(\"Message process missing \", type, messageId, messageQueue);\n // throw Error('Failed to handle type ' + type + ' ' + messageId)\n }\n }), 2000);\n }\n return new Promise((resolve, reject) => {\n if (!((navigator.serviceWorker.controller || serviceWorker) && (serviceWorkerReady || type == 'init')))\n console.log('will go to queue', navigator.serviceWorker.controller, serviceWorker, serviceWorkerReady, type == 'init');\n if ((navigator.serviceWorker.controller || serviceWorker) && (serviceWorkerReady || type == 'init')) {\n const responseHandler = (event) => {\n var _a, _b, _c, _d, _e, _f;\n if (((_a = event === null || event === void 0 ? void 0 : event.data) === null || _a === void 0 ? void 0 : _a.messageId) == messageId) { // Check if the message ID matches\n messagedProcessed = true;\n if (type != 'checkProcess')\n console.log('received from sw', type, messageId);\n clearInterval(checkProcessInterval);\n if (!event.data.success) {\n if (((_b = event === null || event === void 0 ? void 0 : event.data) === null || _b === void 0 ? void 0 : _b.status) == 401) {\n reject((0,_Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__.HandleHttpError)(new Response('Unauthorized', { status: 401, statusText: (_c = event === null || event === void 0 ? void 0 : event.data) === null || _c === void 0 ? void 0 : _c.statusText })));\n }\n else if (((_d = event === null || event === void 0 ? void 0 : event.data) === null || _d === void 0 ? void 0 : _d.status) == 500) {\n reject((0,_Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__.HandleInternalError)(new Response('Internal Server Error', { status: 500, statusText: (_e = event === null || event === void 0 ? void 0 : event.data) === null || _e === void 0 ? void 0 : _e.statusText })));\n }\n else {\n console.error('Error in the response from worker:', event);\n reject(`Failed to handle action ${type} ${JSON.stringify(payload)}, Response: ${JSON.stringify(event.data)}`);\n }\n }\n if ((_f = event.data) === null || _f === void 0 ? void 0 : _f.actions) {\n payload.actions = JSON.parse(JSON.stringify(event.data.actions));\n }\n resolve(event.data);\n navigator.serviceWorker.removeEventListener(\"message\", responseHandler);\n }\n };\n navigator.serviceWorker.addEventListener(\"message\", responseHandler);\n // Send the message to the service worker\n if (navigator.serviceWorker.controller) {\n if (type != 'checkProcess')\n console.log('sent to sw', type, messageId);\n navigator.serviceWorker.controller.postMessage({ type, payload: newPayload });\n }\n else if (serviceWorker) {\n console.log('sent to sw', type, messageId);\n console.warn(`controller not found but serviceWorker is available. messageId: ${messageId}, type: ${type}`);\n if (serviceWorkerReady)\n console.warn('service worker was registered already but navigator is empty!!!', serviceWorker);\n try {\n serviceWorker.postMessage({ type, payload: newPayload });\n }\n catch (err) {\n console.log('Retrying again on catch service worker', err);\n serviceWorker.postMessage({ type, payload: newPayload });\n }\n }\n else {\n console.warn(`Service Worker hasn't loaded yet. messageId: ${messageId}, type: ${type}`);\n if (serviceWorkerReady)\n console.warn('service worker was registered already but is not available NOW!!!');\n console.info('ready', navigator.serviceWorker.ready);\n // wait one second before checking again\n setTimeout(() => {\n console.warn(`Re-Trying after certain time. messageId: ${messageId}, type: ${type}`);\n if (serviceWorker) {\n console.info('This is triggered ');\n serviceWorker === null || serviceWorker === void 0 ? void 0 : serviceWorker.postMessage({ type, payload });\n }\n else {\n console.log('not ready', type);\n clearInterval(checkProcessInterval);\n reject(\"Service worker not ready\");\n }\n }, 30000); // 30 seconds\n }\n // Timeout for waiting for the response (e.g., 5 seconds)\n setTimeout(() => {\n clearInterval(checkProcessInterval);\n reject(`No response from service worker after timeout: ${type}`);\n navigator.serviceWorker.removeEventListener(\"message\", responseHandler);\n }, 210000); // 3.5 minutes\n }\n else {\n messageQueue.push({ message: { type, payload: newPayload } });\n console.log('Message Queued', type, payload);\n console.log((navigator.serviceWorker.controller || serviceWorker), (serviceWorkerReady || type == 'init'));\n if (type == 'init') {\n clearInterval(checkProcessInterval);\n resolve(null);\n }\n }\n });\n });\n}\n// export function sendMessage(type: string, payload: any) {\n// return new Promise((resolve) => {\n// const responseHandler = (event: any) => {\n// resolve(event.data);\n// navigator.serviceWorker.removeEventListener(\"message\", responseHandler);\n// };\n// navigator.serviceWorker.addEventListener(\"message\", responseHandler);\n// navigator.serviceWorker.controller?.postMessage({ type, payload });\n// });\n// }\n// actions for message received on broadcast channel (specially from service worker)\nconst broadcastActions = {\n GetLinkListener: (payload) => __awaiter(void 0, void 0, void 0, function* () {\n const listener = subscribedListeners.find(listener => listener.listenerId == payload.listenerId);\n listener === null || listener === void 0 ? void 0 : listener.callback(payload.data);\n return { success: true };\n }),\n dispatchEvent: (payload) => __awaiter(void 0, void 0, void 0, function* () {\n if (serviceWorker) {\n let event = new Event(payload.id || '');\n dispatchEvent(event);\n }\n // self.clients.matchAll({ includeUncontrolled: true }).then(clients => {\n // clients.forEach(client => {\n // client.postMessage({ id, updatedData });\n // });\n // });\n return { success: true };\n }),\n checkInit: (payload) => __awaiter(void 0, void 0, void 0, function* () {\n console.log('service worker init 0');\n if (navigator.serviceWorker.controller) {\n console.log('service worker init 1');\n serviceWorker = navigator.serviceWorker.controller;\n }\n yield initServiceWorker();\n return { success: true };\n })\n};\n/**\n * Method to trigger broadcast message listener\n */\nfunction listenBroadCastMessages() {\n // broadcast event can be listened through both the service worker and other tabs\n _Constants_general_const__WEBPACK_IMPORTED_MODULE_101__.broadcastChannel.addEventListener('message', (event) => __awaiter(this, void 0, void 0, function* () {\n const { type, payload } = event.data;\n if (!type)\n return;\n let responseData = { success: false, data: undefined };\n if (broadcastActions[type]) {\n responseData = yield broadcastActions[type](payload);\n }\n else {\n console.warn(`Unable to handle \"${type}\" case in BC service worker`);\n }\n }));\n}\n/**\n * Method to trigger broadcast message listener\n */\nfunction listenPostMessagaes() {\n // broadcast event can be listened through both the service worker and other tabs\n navigator.serviceWorker.addEventListener('message', (event) => __awaiter(this, void 0, void 0, function* () {\n var _a, _b, _c, _d;\n try {\n if (event.data && event.data.type === 'API_401') {\n const { requestDetails } = event.data;\n // Re-create the POST request with the same headers and body\n const requestOptions = {\n method: requestDetails.method,\n headers: new Headers(requestDetails.headers),\n body: requestDetails.body // Pass the original body\n };\n // Re-hit the API with the same details\n const apiResponse = yield fetch(requestDetails.url, requestOptions);\n const responseBody = yield (apiResponse === null || apiResponse === void 0 ? void 0 : apiResponse.json()); // Get the response text\n // Send the response back to the Service Worker (same client)\n (_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.serviceWorker) === null || _a === void 0 ? void 0 : _a.controller) === null || _b === void 0 ? void 0 : _b.postMessage({\n type: 'API_RESPONSE',\n messageId: event.data.messageId,\n response: new Response(responseBody, {\n status: apiResponse.status,\n statusText: apiResponse.statusText,\n headers: apiResponse.headers\n })\n });\n }\n }\n catch (error) {\n console.error(\"Error during listenPostMessage\", error);\n (_d = (_c = navigator === null || navigator === void 0 ? void 0 : navigator.serviceWorker) === null || _c === void 0 ? void 0 : _c.controller) === null || _d === void 0 ? void 0 : _d.postMessage({\n type: 'API_RESPONSE',\n messageId: event.data.messageId\n });\n }\n }));\n}\n/**\n * Method to initialize the initial data\n * @param url string\n * @param aiurl string\n * @param accessToken string\n * @param nodeUrl string\n * @param enableAi boolean\n * @param applicationName string\n * @param isTest boolean\n * @returns Promise<any>\n */\nfunction initConceptConnection() {\n return __awaiter(this, void 0, void 0, function* () {\n /**\n * We initialize the system so that we get all the concepts from the backend system that are most likely to be used\n * We use some sort of AI algorithm to initilize these concepts with the most used concept.\n * @param enableAi enableAi is a flag that the user can choose to set if they want to use this enable AI feature\n * If the developer does not want to use this feature then they can just set enableAi to false.\n */\n yield (0,_Services_InitializeSystem__WEBPACK_IMPORTED_MODULE_98__[\"default\"])();\n const start = new Date().getTime();\n /**\n * This will create a binary tree in the memory from the indexdb.\n * This process will set Flags to denote that the binary tree is loaded, the character binary tree is loaded\n * and that the type binary tree has been loaded.\n * These trees are helpful in caching concepts and connections for the data fabric.\n */\n yield (0,_Services_CreateBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()\n .then(() => {\n // IdentifierFlags.isDataLoaded= true;\n // IdentifierFlags.isCharacterLoaded= true;\n // IdentifierFlags.isTypeLoaded= true;\n let elapsed = new Date().getTime() - start;\n console.log(\"The time taken to prepare concept data is \", elapsed);\n })\n .catch((event) => {\n // console.log(\"This is the error in creating binary tree\", IdentifierFlags.isDataLoaded, IdentifierFlags.isCharacterLoaded, IdentifierFlags.isTypeLoaded);\n throw event;\n });\n /**\n * This will create a binary tree of local concepts that is saved from the indexdb.\n * This process after finishing creating a binary tree of local concepts then set flag to denote that\n * LocalBinaryTree has been created from the concepts in indexdb\n * Local Binary Type tree has been loaded to the index db (flag is set to denote that)\n * Character Binary Tree has been loaded from indexdb to memory (flag is set to denote that)\n */\n yield (0,_Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__[\"default\"])()\n .then(() => {\n // IdentifierFlags.isLocalDataLoaded = true;\n // IdentifierFlags.isLocalTypeLoaded = true;\n // IdentifierFlags.isLocalCharacterLoaded = true;\n let elapsed = new Date().getTime() - start;\n console.log(\"The time taken to prepare local concept \", elapsed);\n })\n .catch((event) => {\n throw event;\n });\n /**\n * This process gets the local connections from indexdb and loads it to the local connections array which is inside of\n * a static class called LocalConnectionData.\n * This function will also set and IdentifierFlag that tells the whole program that this process has finished.\n */\n yield (0,_Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__.GetConnectionsFromIndexDbLocal)()\n .then(() => {\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalConnectionLoaded = true;\n })\n .catch((event) => {\n //console.log(\"This is the error in creating local connections binary tree\");\n throw event;\n });\n /**\n * We have designed our system to use local concepts and connections with its own local ids(negative ids) that\n * is only valid for the browser that creates this. We have a translator in our node server.\n * This function does this process in initlization.\n */\n yield (0,_Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__.PopulateTheLocalConnectionToMemory)().catch((event) => {\n console.log(\"This is the error in populating binary tree\");\n throw event;\n });\n // await PopulateTheLocalConceptsToMemory().catch((event)=>{\n // console.log(\"This is the error in populating binary tree\");\n // });\n /**\n * This process gets the connections from indexdb and loads it to the connections array which is inside of\n * a static class called ConnectionData.\n * This function will also set and IdentifierFlag that tells the whole program that this process has finished.\n */\n yield (0,_Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__.GetConnectionsFromIndexDb)()\n .then(() => {\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionTypeLoaded = true;\n let elapsed = new Date().getTime() - start;\n console.log(\"The time taken to prepare connections \", elapsed);\n })\n .catch((event) => {\n //console.log(\"This is the error in creating connections tree\");\n throw event;\n });\n });\n}\n/**\n * Method to dispatch Event received from SW\n * @param id number|string\n * @param data any\n */\nfunction dispatchIdEvent(id, data = {}) {\n // console.log('id event dispatched', id)\n if (serviceWorker || typeof window != undefined) {\n // let event = new Event(`${id}`);\n let event = new CustomEvent(`${id}`, data);\n dispatchEvent(event);\n }\n else {\n _Constants_general_const__WEBPACK_IMPORTED_MODULE_101__.broadcastChannel.postMessage({ type: 'dispatchEvent', payload: { id } });\n }\n}\nfunction processMessageQueue() {\n return __awaiter(this, void 0, void 0, function* () {\n while (messageQueue.length > 0) {\n const { message, resolve, reject } = messageQueue.shift();\n console.log('Queue poped', message.type);\n yield sendMessage(message.type, message.payload);\n }\n });\n}\n/**\n * Method to handle global exception occured in service worker\n * @param error any\n */\nconst handleServiceWorkerException = (error) => {\n // if (error instanceof FreeSchemaResponse && error.getStatus() != 401) {\n if (error instanceof _DataStructures_Responses_ErrorResponse__WEBPACK_IMPORTED_MODULE_105__.FreeSchemaResponse) {\n console.error('FreeSchemaResponse Error', error);\n throw error;\n }\n // if (error instanceof FreeSchemaResponse && error.getStatus() == 401) console.error('401 triggered in sw defaulting')\n console.error('Service Worker Error', error);\n};\n/**\n * Function to setup initial flag\n */\nfunction initializeFlags(flags) {\n try {\n if (flags.logApplication) {\n _Middleware_ApplicationMonitor__WEBPACK_IMPORTED_MODULE_104__.ApplicationMonitor.initialize();\n _app__WEBPACK_IMPORTED_MODULE_106__.Logger.logApplicationActivationStatus = true;\n console.warn(\"Application log started.\");\n }\n if (flags.logPackage) {\n _app__WEBPACK_IMPORTED_MODULE_106__.Logger.logPackageActivationStatus = true;\n console.warn(\"Package log started.\");\n }\n if (flags.accessTracker) {\n _app__WEBPACK_IMPORTED_MODULE_106__.AccessTracker.activateStatus = true;\n console.warn(\"Access Tracker Activated.\");\n }\n if (flags.isTest) {\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isDataLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isCharacterLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isTypeLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalDataLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalTypeLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalCharacterLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionTypeLoaded = true;\n _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalConnectionLoaded = true;\n // return true;\n }\n return flags;\n }\n catch (error) {\n console.error(\"Failed to initialize flags:\", error);\n throw error;\n }\n}\n/**\n * Method to handle Registering service worker\n * @param enableSW any\n */\nfunction handleRegisterServiceWorker(enableSW) {\n return __awaiter(this, void 0, void 0, function* () {\n yield new Promise((resolve, reject) => {\n var _a, _b;\n let success = false;\n navigator.serviceWorker\n .register((_a = enableSW.pathToSW) !== null && _a !== void 0 ? _a : \"./serviceWorker.bundle.js\", {\n // type: \"module\",\n scope: (_b = enableSW.scope) !== null && _b !== void 0 ? _b : \"/\",\n })\n .then((registration) => __awaiter(this, void 0, void 0, function* () {\n console.log(\"Service Worker registered:\", registration);\n // process queue if exist\n setInterval(() => processMessageQueue(), 5000);\n // Add Listeners before initializing the service worker\n // Listen for updates to the service worker\n console.log(\"update listen start\");\n registration.onupdatefound = () => {\n const newWorker = registration.installing;\n console.log(\"new worker\", newWorker);\n if (newWorker) {\n newWorker.onstatechange = () => __awaiter(this, void 0, void 0, function* () {\n console.warn(\"on state change triggered\", newWorker.state, navigator.serviceWorker.controller);\n if (newWorker.state === \"installing\") {\n console.log(\"Service Worker installing\");\n serviceWorker = undefined;\n serviceWorkerReady = false;\n }\n // if (newWorker.state === 'activated' && navigator.serviceWorker.controller) {\n if ((newWorker.state === \"activated\" || newWorker.state === 'redundant') && navigator.serviceWorker.controller) {\n // && navigator.serviceWorker.controller) {\n console.log(\"New Service Worker is active\", registration);\n serviceWorker = newWorker;\n // serviceWorker = registration.active;\n // Send init message now that it's active\n setTimeout(() => {\n console.log('Message Processed after some time');\n processMessageQueue();\n }, 5000);\n yield initServiceWorker();\n success = true;\n serviceWorkerReady = true;\n processMessageQueue();\n resolve();\n }\n });\n }\n };\n // Listen for the activation of the new service worker\n registration.addEventListener('controllerchange', () => __awaiter(this, void 0, void 0, function* () {\n console.warn('controller change triggered', navigator.serviceWorker.controller);\n if (navigator.serviceWorker.controller) {\n serviceWorker = navigator.serviceWorker.controller;\n console.warn('Service worker has been activated; controller change');\n yield initServiceWorker();\n // The new service worker is now controlling the page\n // You can reload the page if necessary or handle the update process here\n }\n }));\n // state change \n if (registration.installing || registration.waiting || registration.active) {\n registration.addEventListener('statechange', (event) => __awaiter(this, void 0, void 0, function* () {\n var _a;\n if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.state) === 'activating') {\n serviceWorker = navigator.serviceWorker.controller;\n console.warn('Service Worker is activating statechange');\n yield initServiceWorker();\n }\n }));\n }\n // If the service worker is already active, mark it as ready\n if (registration.active) {\n serviceWorkerReady = true;\n console.log(\"active sw\");\n serviceWorker = registration.active;\n yield initServiceWorker();\n processMessageQueue();\n resolve();\n }\n else {\n // Handle if on state change didn't trigger\n setTimeout(() => {\n if (!success)\n reject(\"Not Completed Initialization\");\n }, 10000);\n }\n }))\n .catch((error) => __awaiter(this, void 0, void 0, function* () {\n yield initConceptConnection();\n reject(error);\n console.error(\"Service Worker registration failed:\", error);\n }));\n });\n });\n}\n/**\n * Method to initialize Serivce Worker\n */\nfunction initServiceWorker() {\n return __awaiter(this, void 0, void 0, function* () {\n yield sendMessage(\"init\", {\n url: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_URL,\n aiurl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.AI_URL,\n accessToken: _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken,\n nodeUrl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.NODE_URL,\n enableAi: false,\n applicationName: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_APPLICATION,\n flags: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS\n });\n });\n}\nfunction checkIfExecutingProcess(messageId, type) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n try {\n const res = yield sendMessage(\"checkProcess\", { checkMessageId: messageId });\n console.log('check interval data res for type ', type, messageId, res.data);\n if ((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.processing)\n return true;\n else\n false;\n }\n catch (error) {\n console.error('error on checing executing process', type, messageId, error);\n return false;\n }\n });\n}\n\n\n//# sourceURL=webpack://mftsccs-browser/./src/app.ts?");
|
|
2018
2028
|
|
|
2019
2029
|
/***/ })
|
|
2020
2030
|
|
|
@@ -2243,6 +2253,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
2243
2253
|
/******/ var __webpack_exports__renderPage = __webpack_exports__.renderPage;
|
|
2244
2254
|
/******/ var __webpack_exports__renderWidget = __webpack_exports__.renderWidget;
|
|
2245
2255
|
/******/ var __webpack_exports__searchLinkMultipleListener = __webpack_exports__.searchLinkMultipleListener;
|
|
2256
|
+
/******/ var __webpack_exports__sendEmail = __webpack_exports__.sendEmail;
|
|
2246
2257
|
/******/ var __webpack_exports__sendMessage = __webpack_exports__.sendMessage;
|
|
2247
2258
|
/******/ var __webpack_exports__serviceWorker = __webpack_exports__.serviceWorker;
|
|
2248
2259
|
/******/ var __webpack_exports__setHasActivatedSW = __webpack_exports__.setHasActivatedSW;
|
|
@@ -2255,5 +2266,5 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
2255
2266
|
/******/ var __webpack_exports__uploadImage = __webpack_exports__.uploadImage;
|
|
2256
2267
|
/******/ var __webpack_exports__validDocumentFormats = __webpack_exports__.validDocumentFormats;
|
|
2257
2268
|
/******/ var __webpack_exports__validImageFormats = __webpack_exports__.validImageFormats;
|
|
2258
|
-
/******/ export { __webpack_exports__ADMIN as ADMIN, __webpack_exports__ALLID as ALLID, __webpack_exports__AccessTracker as AccessTracker, __webpack_exports__AddGhostConcept as AddGhostConcept, __webpack_exports__Anomaly as Anomaly, __webpack_exports__BaseUrl as BaseUrl, __webpack_exports__BinaryTree as BinaryTree, __webpack_exports__BuilderStatefulWidget as BuilderStatefulWidget, __webpack_exports__Composition as Composition, __webpack_exports__CompositionBinaryTree as CompositionBinaryTree, __webpack_exports__CompositionNode as CompositionNode, __webpack_exports__Concept as Concept, __webpack_exports__ConceptsData as ConceptsData, __webpack_exports__Connection as Connection, __webpack_exports__ConnectionData as ConnectionData, __webpack_exports__CreateComposition as CreateComposition, __webpack_exports__CreateConnectionBetweenEntityLocal as CreateConnectionBetweenEntityLocal, __webpack_exports__CreateConnectionBetweenTwoConcepts as CreateConnectionBetweenTwoConcepts, __webpack_exports__CreateConnectionBetweenTwoConceptsGeneral as CreateConnectionBetweenTwoConceptsGeneral, __webpack_exports__CreateConnectionBetweenTwoConceptsLocal as CreateConnectionBetweenTwoConceptsLocal, __webpack_exports__CreateDefaultConcept as CreateDefaultConcept, __webpack_exports__CreateDefaultLConcept as CreateDefaultLConcept, __webpack_exports__CreateSession as CreateSession, __webpack_exports__CreateSessionVisit as CreateSessionVisit, __webpack_exports__CreateTheCompositionLocal as CreateTheCompositionLocal, __webpack_exports__CreateTheCompositionWithCache as CreateTheCompositionWithCache, __webpack_exports__CreateTheConnection as CreateTheConnection, __webpack_exports__CreateTheConnectionGeneral as CreateTheConnectionGeneral, __webpack_exports__CreateTheConnectionLocal as CreateTheConnectionLocal, __webpack_exports__DATAID as DATAID, __webpack_exports__DATAIDDATE as DATAIDDATE, __webpack_exports__DelayFunctionExecution as DelayFunctionExecution, __webpack_exports__DeleteConceptById as DeleteConceptById, __webpack_exports__DeleteConceptLocal as DeleteConceptLocal, __webpack_exports__DeleteConnectionById as DeleteConnectionById, __webpack_exports__DeleteConnectionByType as DeleteConnectionByType, __webpack_exports__DeleteUser as DeleteUser, __webpack_exports__DependencyObserver as DependencyObserver, __webpack_exports__FilterSearch as FilterSearch, __webpack_exports__FormatFromConnections as FormatFromConnections, __webpack_exports__FormatFromConnectionsAltered as FormatFromConnectionsAltered, __webpack_exports__FreeschemaQuery as FreeschemaQuery, __webpack_exports__FreeschemaQueryApi as FreeschemaQueryApi, __webpack_exports__GetAllConnectionsOfComposition as GetAllConnectionsOfComposition, __webpack_exports__GetAllConnectionsOfCompositionBulk as GetAllConnectionsOfCompositionBulk, __webpack_exports__GetAllTheConnectionsByTypeAndOfTheConcept as GetAllTheConnectionsByTypeAndOfTheConcept, __webpack_exports__GetComposition as GetComposition, __webpack_exports__GetCompositionBulk as GetCompositionBulk, __webpack_exports__GetCompositionBulkWithDataId as GetCompositionBulkWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataId as GetCompositionFromConnectionsWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataIdFromConnections as GetCompositionFromConnectionsWithDataIdFromConnections, __webpack_exports__GetCompositionFromConnectionsWithDataIdInObject as GetCompositionFromConnectionsWithDataIdInObject, __webpack_exports__GetCompositionFromConnectionsWithDataIdIndex as GetCompositionFromConnectionsWithDataIdIndex, __webpack_exports__GetCompositionFromConnectionsWithIndex as GetCompositionFromConnectionsWithIndex, __webpack_exports__GetCompositionFromConnectionsWithIndexFromConnections as GetCompositionFromConnectionsWithIndexFromConnections, __webpack_exports__GetCompositionFromMemoryWithConnections as GetCompositionFromMemoryWithConnections, __webpack_exports__GetCompositionList as GetCompositionList, __webpack_exports__GetCompositionListAll as GetCompositionListAll, __webpack_exports__GetCompositionListAllWithId as GetCompositionListAllWithId, __webpack_exports__GetCompositionListListener as GetCompositionListListener, __webpack_exports__GetCompositionListLocal as GetCompositionListLocal, __webpack_exports__GetCompositionListLocalWithId as GetCompositionListLocalWithId, __webpack_exports__GetCompositionListWithId as GetCompositionListWithId, __webpack_exports__GetCompositionListWithIdUpdated as GetCompositionListWithIdUpdated, __webpack_exports__GetCompositionListener as GetCompositionListener, __webpack_exports__GetCompositionLocal as GetCompositionLocal, __webpack_exports__GetCompositionLocalWithId as GetCompositionLocalWithId, __webpack_exports__GetCompositionWithAllIds as GetCompositionWithAllIds, __webpack_exports__GetCompositionWithCache as GetCompositionWithCache, __webpack_exports__GetCompositionWithDataIdBulk as GetCompositionWithDataIdBulk, __webpack_exports__GetCompositionWithDataIdWithCache as GetCompositionWithDataIdWithCache, __webpack_exports__GetCompositionWithId as GetCompositionWithId, __webpack_exports__GetCompositionWithIdAndDateFromMemory as GetCompositionWithIdAndDateFromMemory, __webpack_exports__GetConceptBulk as GetConceptBulk, __webpack_exports__GetConceptByCharacter as GetConceptByCharacter, __webpack_exports__GetConceptByCharacterAndCategoryLocal as GetConceptByCharacterAndCategoryLocal, __webpack_exports__GetConceptByCharacterAndType as GetConceptByCharacterAndType, __webpack_exports__GetConnectionBetweenTwoConceptsLinker as GetConnectionBetweenTwoConceptsLinker, __webpack_exports__GetConnectionBulk as GetConnectionBulk, __webpack_exports__GetConnectionById as GetConnectionById, __webpack_exports__GetConnectionDataPrefetch as GetConnectionDataPrefetch, __webpack_exports__GetConnectionOfTheConcept as GetConnectionOfTheConcept, __webpack_exports__GetLink as GetLink, __webpack_exports__GetLinkListListener as GetLinkListListener, __webpack_exports__GetLinkListener as GetLinkListener, __webpack_exports__GetLinkRaw as GetLinkRaw, __webpack_exports__GetLinkerConnectionFromConcepts as GetLinkerConnectionFromConcepts, __webpack_exports__GetLinkerConnectionToConcepts as GetLinkerConnectionToConcepts, __webpack_exports__GetRelation as GetRelation, __webpack_exports__GetRelationLocal as GetRelationLocal, __webpack_exports__GetRelationRaw as GetRelationRaw, __webpack_exports__GetTheConcept as GetTheConcept, __webpack_exports__GetTheConceptLocal as GetTheConceptLocal, __webpack_exports__GetUserGhostId as GetUserGhostId, __webpack_exports__JUSTDATA as JUSTDATA, __webpack_exports__LConcept as LConcept, __webpack_exports__LConnection as LConnection, __webpack_exports__LISTNORMAL as LISTNORMAL, __webpack_exports__LocalConceptsData as LocalConceptsData, __webpack_exports__LocalSyncData as LocalSyncData, __webpack_exports__LocalTransaction as LocalTransaction, __webpack_exports__Logger as Logger, __webpack_exports__LoginToBackend as LoginToBackend, __webpack_exports__MakeTheInstanceConcept as MakeTheInstanceConcept, __webpack_exports__MakeTheInstanceConceptLocal as MakeTheInstanceConceptLocal, __webpack_exports__MakeTheTimestamp as MakeTheTimestamp, __webpack_exports__MakeTheTypeConcept as MakeTheTypeConcept, __webpack_exports__MakeTheTypeConceptApi as MakeTheTypeConceptApi, __webpack_exports__MakeTheTypeConceptLocal as MakeTheTypeConceptLocal, __webpack_exports__NORMAL as NORMAL, __webpack_exports__PRIVATE as PRIVATE, __webpack_exports__PUBLIC as PUBLIC, __webpack_exports__PatcherStructure as PatcherStructure, __webpack_exports__RAW as RAW, __webpack_exports__RecursiveSearchApi as RecursiveSearchApi, __webpack_exports__RecursiveSearchApiNewRawFullLinker as RecursiveSearchApiNewRawFullLinker, __webpack_exports__RecursiveSearchApiRaw as RecursiveSearchApiRaw, __webpack_exports__RecursiveSearchApiRawFullLinker as RecursiveSearchApiRawFullLinker, __webpack_exports__RecursiveSearchApiWithInternalConnections as RecursiveSearchApiWithInternalConnections, __webpack_exports__RecursiveSearchListener as RecursiveSearchListener, __webpack_exports__SchemaQueryListener as SchemaQueryListener, __webpack_exports__SearchAllConcepts as SearchAllConcepts, __webpack_exports__SearchLinkInternal as SearchLinkInternal, __webpack_exports__SearchLinkInternalAll as SearchLinkInternalAll, __webpack_exports__SearchLinkMultipleAll as SearchLinkMultipleAll, __webpack_exports__SearchLinkMultipleAllObservable as SearchLinkMultipleAllObservable, __webpack_exports__SearchLinkMultipleApi as SearchLinkMultipleApi, __webpack_exports__SearchQuery as SearchQuery, __webpack_exports__SearchStructure as SearchStructure, __webpack_exports__SearchWithLinker as SearchWithLinker, __webpack_exports__SearchWithTypeAndLinker as SearchWithTypeAndLinker, __webpack_exports__SearchWithTypeAndLinkerApi as SearchWithTypeAndLinkerApi, __webpack_exports__SessionData as SessionData, __webpack_exports__Signin as Signin, __webpack_exports__Signup as Signup, __webpack_exports__SignupEntity as SignupEntity, __webpack_exports__SplitStrings as SplitStrings, __webpack_exports__StatefulWidget as StatefulWidget, __webpack_exports__SyncData as SyncData, __webpack_exports__TrashTheConcept as TrashTheConcept, __webpack_exports__UpdateComposition as UpdateComposition, __webpack_exports__UpdateCompositionLocal as UpdateCompositionLocal, __webpack_exports__UserBinaryTree as UserBinaryTree, __webpack_exports__Validator as Validator, __webpack_exports__ViewInternalData as ViewInternalData, __webpack_exports__ViewInternalDataApi as ViewInternalDataApi, __webpack_exports__WidgetTree as WidgetTree, __webpack_exports__convertFromConceptToLConcept as convertFromConceptToLConcept, __webpack_exports__convertFromLConceptToConcept as convertFromLConceptToConcept, __webpack_exports__convertWidgetTreeToWidget as convertWidgetTreeToWidget, __webpack_exports__convertWidgetTreeToWidgetWithWrapper as convertWidgetTreeToWidgetWithWrapper, __webpack_exports__createFormFieldData as createFormFieldData, __webpack_exports__dispatchIdEvent as dispatchIdEvent, __webpack_exports__getFromDatabaseWithType as getFromDatabaseWithType, __webpack_exports__getObjectsFromIndexDb as getObjectsFromIndexDb, __webpack_exports__handleServiceWorkerException as handleServiceWorkerException, __webpack_exports__hasActivatedSW as hasActivatedSW, __webpack_exports__init as init, __webpack_exports__recursiveFetch as recursiveFetch, __webpack_exports__recursiveFetchNew as recursiveFetchNew, __webpack_exports__renderLatestWidget as renderLatestWidget, __webpack_exports__renderPage as renderPage, __webpack_exports__renderWidget as renderWidget, __webpack_exports__searchLinkMultipleListener as searchLinkMultipleListener, __webpack_exports__sendMessage as sendMessage, __webpack_exports__serviceWorker as serviceWorker, __webpack_exports__setHasActivatedSW as setHasActivatedSW, __webpack_exports__storeToDatabase as storeToDatabase, __webpack_exports__subscribedListeners as subscribedListeners, __webpack_exports__unwrapContainers as unwrapContainers, __webpack_exports__updateAccessToken as updateAccessToken, __webpack_exports__uploadAttachment as uploadAttachment, __webpack_exports__uploadFile as uploadFile, __webpack_exports__uploadImage as uploadImage, __webpack_exports__validDocumentFormats as validDocumentFormats, __webpack_exports__validImageFormats as validImageFormats };
|
|
2269
|
+
/******/ export { __webpack_exports__ADMIN as ADMIN, __webpack_exports__ALLID as ALLID, __webpack_exports__AccessTracker as AccessTracker, __webpack_exports__AddGhostConcept as AddGhostConcept, __webpack_exports__Anomaly as Anomaly, __webpack_exports__BaseUrl as BaseUrl, __webpack_exports__BinaryTree as BinaryTree, __webpack_exports__BuilderStatefulWidget as BuilderStatefulWidget, __webpack_exports__Composition as Composition, __webpack_exports__CompositionBinaryTree as CompositionBinaryTree, __webpack_exports__CompositionNode as CompositionNode, __webpack_exports__Concept as Concept, __webpack_exports__ConceptsData as ConceptsData, __webpack_exports__Connection as Connection, __webpack_exports__ConnectionData as ConnectionData, __webpack_exports__CreateComposition as CreateComposition, __webpack_exports__CreateConnectionBetweenEntityLocal as CreateConnectionBetweenEntityLocal, __webpack_exports__CreateConnectionBetweenTwoConcepts as CreateConnectionBetweenTwoConcepts, __webpack_exports__CreateConnectionBetweenTwoConceptsGeneral as CreateConnectionBetweenTwoConceptsGeneral, __webpack_exports__CreateConnectionBetweenTwoConceptsLocal as CreateConnectionBetweenTwoConceptsLocal, __webpack_exports__CreateDefaultConcept as CreateDefaultConcept, __webpack_exports__CreateDefaultLConcept as CreateDefaultLConcept, __webpack_exports__CreateSession as CreateSession, __webpack_exports__CreateSessionVisit as CreateSessionVisit, __webpack_exports__CreateTheCompositionLocal as CreateTheCompositionLocal, __webpack_exports__CreateTheCompositionWithCache as CreateTheCompositionWithCache, __webpack_exports__CreateTheConnection as CreateTheConnection, __webpack_exports__CreateTheConnectionGeneral as CreateTheConnectionGeneral, __webpack_exports__CreateTheConnectionLocal as CreateTheConnectionLocal, __webpack_exports__DATAID as DATAID, __webpack_exports__DATAIDDATE as DATAIDDATE, __webpack_exports__DelayFunctionExecution as DelayFunctionExecution, __webpack_exports__DeleteConceptById as DeleteConceptById, __webpack_exports__DeleteConceptLocal as DeleteConceptLocal, __webpack_exports__DeleteConnectionById as DeleteConnectionById, __webpack_exports__DeleteConnectionByType as DeleteConnectionByType, __webpack_exports__DeleteUser as DeleteUser, __webpack_exports__DependencyObserver as DependencyObserver, __webpack_exports__FilterSearch as FilterSearch, __webpack_exports__FormatFromConnections as FormatFromConnections, __webpack_exports__FormatFromConnectionsAltered as FormatFromConnectionsAltered, __webpack_exports__FreeschemaQuery as FreeschemaQuery, __webpack_exports__FreeschemaQueryApi as FreeschemaQueryApi, __webpack_exports__GetAllConnectionsOfComposition as GetAllConnectionsOfComposition, __webpack_exports__GetAllConnectionsOfCompositionBulk as GetAllConnectionsOfCompositionBulk, __webpack_exports__GetAllTheConnectionsByTypeAndOfTheConcept as GetAllTheConnectionsByTypeAndOfTheConcept, __webpack_exports__GetComposition as GetComposition, __webpack_exports__GetCompositionBulk as GetCompositionBulk, __webpack_exports__GetCompositionBulkWithDataId as GetCompositionBulkWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataId as GetCompositionFromConnectionsWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataIdFromConnections as GetCompositionFromConnectionsWithDataIdFromConnections, __webpack_exports__GetCompositionFromConnectionsWithDataIdInObject as GetCompositionFromConnectionsWithDataIdInObject, __webpack_exports__GetCompositionFromConnectionsWithDataIdIndex as GetCompositionFromConnectionsWithDataIdIndex, __webpack_exports__GetCompositionFromConnectionsWithIndex as GetCompositionFromConnectionsWithIndex, __webpack_exports__GetCompositionFromConnectionsWithIndexFromConnections as GetCompositionFromConnectionsWithIndexFromConnections, __webpack_exports__GetCompositionFromMemoryWithConnections as GetCompositionFromMemoryWithConnections, __webpack_exports__GetCompositionList as GetCompositionList, __webpack_exports__GetCompositionListAll as GetCompositionListAll, __webpack_exports__GetCompositionListAllWithId as GetCompositionListAllWithId, __webpack_exports__GetCompositionListListener as GetCompositionListListener, __webpack_exports__GetCompositionListLocal as GetCompositionListLocal, __webpack_exports__GetCompositionListLocalWithId as GetCompositionListLocalWithId, __webpack_exports__GetCompositionListWithId as GetCompositionListWithId, __webpack_exports__GetCompositionListWithIdUpdated as GetCompositionListWithIdUpdated, __webpack_exports__GetCompositionListener as GetCompositionListener, __webpack_exports__GetCompositionLocal as GetCompositionLocal, __webpack_exports__GetCompositionLocalWithId as GetCompositionLocalWithId, __webpack_exports__GetCompositionWithAllIds as GetCompositionWithAllIds, __webpack_exports__GetCompositionWithCache as GetCompositionWithCache, __webpack_exports__GetCompositionWithDataIdBulk as GetCompositionWithDataIdBulk, __webpack_exports__GetCompositionWithDataIdWithCache as GetCompositionWithDataIdWithCache, __webpack_exports__GetCompositionWithId as GetCompositionWithId, __webpack_exports__GetCompositionWithIdAndDateFromMemory as GetCompositionWithIdAndDateFromMemory, __webpack_exports__GetConceptBulk as GetConceptBulk, __webpack_exports__GetConceptByCharacter as GetConceptByCharacter, __webpack_exports__GetConceptByCharacterAndCategoryLocal as GetConceptByCharacterAndCategoryLocal, __webpack_exports__GetConceptByCharacterAndType as GetConceptByCharacterAndType, __webpack_exports__GetConnectionBetweenTwoConceptsLinker as GetConnectionBetweenTwoConceptsLinker, __webpack_exports__GetConnectionBulk as GetConnectionBulk, __webpack_exports__GetConnectionById as GetConnectionById, __webpack_exports__GetConnectionDataPrefetch as GetConnectionDataPrefetch, __webpack_exports__GetConnectionOfTheConcept as GetConnectionOfTheConcept, __webpack_exports__GetLink as GetLink, __webpack_exports__GetLinkListListener as GetLinkListListener, __webpack_exports__GetLinkListener as GetLinkListener, __webpack_exports__GetLinkRaw as GetLinkRaw, __webpack_exports__GetLinkerConnectionFromConcepts as GetLinkerConnectionFromConcepts, __webpack_exports__GetLinkerConnectionToConcepts as GetLinkerConnectionToConcepts, __webpack_exports__GetRelation as GetRelation, __webpack_exports__GetRelationLocal as GetRelationLocal, __webpack_exports__GetRelationRaw as GetRelationRaw, __webpack_exports__GetTheConcept as GetTheConcept, __webpack_exports__GetTheConceptLocal as GetTheConceptLocal, __webpack_exports__GetUserGhostId as GetUserGhostId, __webpack_exports__JUSTDATA as JUSTDATA, __webpack_exports__LConcept as LConcept, __webpack_exports__LConnection as LConnection, __webpack_exports__LISTNORMAL as LISTNORMAL, __webpack_exports__LocalConceptsData as LocalConceptsData, __webpack_exports__LocalSyncData as LocalSyncData, __webpack_exports__LocalTransaction as LocalTransaction, __webpack_exports__Logger as Logger, __webpack_exports__LoginToBackend as LoginToBackend, __webpack_exports__MakeTheInstanceConcept as MakeTheInstanceConcept, __webpack_exports__MakeTheInstanceConceptLocal as MakeTheInstanceConceptLocal, __webpack_exports__MakeTheTimestamp as MakeTheTimestamp, __webpack_exports__MakeTheTypeConcept as MakeTheTypeConcept, __webpack_exports__MakeTheTypeConceptApi as MakeTheTypeConceptApi, __webpack_exports__MakeTheTypeConceptLocal as MakeTheTypeConceptLocal, __webpack_exports__NORMAL as NORMAL, __webpack_exports__PRIVATE as PRIVATE, __webpack_exports__PUBLIC as PUBLIC, __webpack_exports__PatcherStructure as PatcherStructure, __webpack_exports__RAW as RAW, __webpack_exports__RecursiveSearchApi as RecursiveSearchApi, __webpack_exports__RecursiveSearchApiNewRawFullLinker as RecursiveSearchApiNewRawFullLinker, __webpack_exports__RecursiveSearchApiRaw as RecursiveSearchApiRaw, __webpack_exports__RecursiveSearchApiRawFullLinker as RecursiveSearchApiRawFullLinker, __webpack_exports__RecursiveSearchApiWithInternalConnections as RecursiveSearchApiWithInternalConnections, __webpack_exports__RecursiveSearchListener as RecursiveSearchListener, __webpack_exports__SchemaQueryListener as SchemaQueryListener, __webpack_exports__SearchAllConcepts as SearchAllConcepts, __webpack_exports__SearchLinkInternal as SearchLinkInternal, __webpack_exports__SearchLinkInternalAll as SearchLinkInternalAll, __webpack_exports__SearchLinkMultipleAll as SearchLinkMultipleAll, __webpack_exports__SearchLinkMultipleAllObservable as SearchLinkMultipleAllObservable, __webpack_exports__SearchLinkMultipleApi as SearchLinkMultipleApi, __webpack_exports__SearchQuery as SearchQuery, __webpack_exports__SearchStructure as SearchStructure, __webpack_exports__SearchWithLinker as SearchWithLinker, __webpack_exports__SearchWithTypeAndLinker as SearchWithTypeAndLinker, __webpack_exports__SearchWithTypeAndLinkerApi as SearchWithTypeAndLinkerApi, __webpack_exports__SessionData as SessionData, __webpack_exports__Signin as Signin, __webpack_exports__Signup as Signup, __webpack_exports__SignupEntity as SignupEntity, __webpack_exports__SplitStrings as SplitStrings, __webpack_exports__StatefulWidget as StatefulWidget, __webpack_exports__SyncData as SyncData, __webpack_exports__TrashTheConcept as TrashTheConcept, __webpack_exports__UpdateComposition as UpdateComposition, __webpack_exports__UpdateCompositionLocal as UpdateCompositionLocal, __webpack_exports__UserBinaryTree as UserBinaryTree, __webpack_exports__Validator as Validator, __webpack_exports__ViewInternalData as ViewInternalData, __webpack_exports__ViewInternalDataApi as ViewInternalDataApi, __webpack_exports__WidgetTree as WidgetTree, __webpack_exports__convertFromConceptToLConcept as convertFromConceptToLConcept, __webpack_exports__convertFromLConceptToConcept as convertFromLConceptToConcept, __webpack_exports__convertWidgetTreeToWidget as convertWidgetTreeToWidget, __webpack_exports__convertWidgetTreeToWidgetWithWrapper as convertWidgetTreeToWidgetWithWrapper, __webpack_exports__createFormFieldData as createFormFieldData, __webpack_exports__dispatchIdEvent as dispatchIdEvent, __webpack_exports__getFromDatabaseWithType as getFromDatabaseWithType, __webpack_exports__getObjectsFromIndexDb as getObjectsFromIndexDb, __webpack_exports__handleServiceWorkerException as handleServiceWorkerException, __webpack_exports__hasActivatedSW as hasActivatedSW, __webpack_exports__init as init, __webpack_exports__recursiveFetch as recursiveFetch, __webpack_exports__recursiveFetchNew as recursiveFetchNew, __webpack_exports__renderLatestWidget as renderLatestWidget, __webpack_exports__renderPage as renderPage, __webpack_exports__renderWidget as renderWidget, __webpack_exports__searchLinkMultipleListener as searchLinkMultipleListener, __webpack_exports__sendEmail as sendEmail, __webpack_exports__sendMessage as sendMessage, __webpack_exports__serviceWorker as serviceWorker, __webpack_exports__setHasActivatedSW as setHasActivatedSW, __webpack_exports__storeToDatabase as storeToDatabase, __webpack_exports__subscribedListeners as subscribedListeners, __webpack_exports__unwrapContainers as unwrapContainers, __webpack_exports__updateAccessToken as updateAccessToken, __webpack_exports__uploadAttachment as uploadAttachment, __webpack_exports__uploadFile as uploadFile, __webpack_exports__uploadImage as uploadImage, __webpack_exports__validDocumentFormats as validDocumentFormats, __webpack_exports__validImageFormats as validImageFormats };
|
|
2259
2270
|
/******/
|