graphdb-workbench 3.1.1 → 3.2.0-TR1

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.
Files changed (353) hide show
  1. package/README.md +45 -0
  2. package/dist/10142.f47cd2aec05492fce7ce.bundle.js +2 -0
  3. package/dist/10142.f47cd2aec05492fce7ce.bundle.js.map +1 -0
  4. package/dist/10406.52677950658780fd8859.bundle.js +2 -0
  5. package/dist/{10406.7fed4b667b0d2813b305.bundle.js.map → 10406.52677950658780fd8859.bundle.js.map} +1 -1
  6. package/dist/12358.2061f29dc113149946a3.bundle.js +3 -0
  7. package/dist/12358.2061f29dc113149946a3.bundle.js.map +1 -0
  8. package/dist/12396.4c26c8da50c790b0f39a.bundle.js +2 -0
  9. package/dist/12396.4c26c8da50c790b0f39a.bundle.js.map +1 -0
  10. package/dist/14874.d6973a34188c0335fa12.bundle.js +2 -0
  11. package/dist/14874.d6973a34188c0335fa12.bundle.js.map +1 -0
  12. package/dist/15535.ce8d657c04f3401b9539.bundle.js +2 -0
  13. package/dist/15535.ce8d657c04f3401b9539.bundle.js.map +1 -0
  14. package/dist/16162.8f482628d1b34d41d496.bundle.js +2 -0
  15. package/dist/16162.8f482628d1b34d41d496.bundle.js.map +1 -0
  16. package/dist/{18961.d83ba5fd0855f3cfa7d7.bundle.js → 18961.c6505525fb0491b48f8b.bundle.js} +2 -2
  17. package/dist/{18961.d83ba5fd0855f3cfa7d7.bundle.js.map → 18961.c6505525fb0491b48f8b.bundle.js.map} +1 -1
  18. package/dist/19968.fdb823f9a12e11a633ec.bundle.js +2 -0
  19. package/dist/19968.fdb823f9a12e11a633ec.bundle.js.map +1 -0
  20. package/dist/20287.c42f9d1d913c36e46931.bundle.js +2 -0
  21. package/dist/20287.c42f9d1d913c36e46931.bundle.js.map +1 -0
  22. package/dist/20694.70b6e390d6397249c72d.bundle.js.map +1 -1
  23. package/dist/21136.199caea09a1c9ad90393.bundle.js +2 -0
  24. package/dist/21136.199caea09a1c9ad90393.bundle.js.map +1 -0
  25. package/dist/21142.b690e00c8884fddb2bb3.bundle.js +2 -0
  26. package/dist/21142.b690e00c8884fddb2bb3.bundle.js.map +1 -0
  27. package/dist/21170.d5e3041241741d21080c.bundle.js +2 -0
  28. package/dist/21170.d5e3041241741d21080c.bundle.js.map +1 -0
  29. package/dist/21195.267abc9d42b711d0f17a.bundle.js +2 -0
  30. package/dist/21195.267abc9d42b711d0f17a.bundle.js.map +1 -0
  31. package/dist/25747.4e00941ec221c4d6ce8f.bundle.js +2 -0
  32. package/dist/25747.4e00941ec221c4d6ce8f.bundle.js.map +1 -0
  33. package/dist/27580.f71ebbc69dd1c7785ef3.bundle.js +2 -0
  34. package/dist/27580.f71ebbc69dd1c7785ef3.bundle.js.map +1 -0
  35. package/dist/28050.8ca1fa760c892bfc5466.bundle.js +2 -0
  36. package/dist/28050.8ca1fa760c892bfc5466.bundle.js.map +1 -0
  37. package/dist/31636.e34ccc2d6f2dec577446.bundle.js +2 -0
  38. package/dist/31636.e34ccc2d6f2dec577446.bundle.js.map +1 -0
  39. package/dist/32489.97fac2c3daa49b143d13.bundle.js +2 -0
  40. package/dist/32489.97fac2c3daa49b143d13.bundle.js.map +1 -0
  41. package/dist/32534.fb6ef715bfb44761ec63.bundle.js +2 -0
  42. package/dist/32534.fb6ef715bfb44761ec63.bundle.js.map +1 -0
  43. package/dist/34495.cfa15bda8009fa37c6ff.bundle.js +2 -0
  44. package/dist/34495.cfa15bda8009fa37c6ff.bundle.js.map +1 -0
  45. package/dist/{38360.437a12fa59878d1d43b9.bundle.js → 38360.0a90e77042876c86b279.bundle.js} +2 -2
  46. package/dist/38360.0a90e77042876c86b279.bundle.js.map +1 -0
  47. package/dist/38412.fa86361561ffa367709f.bundle.js +2 -0
  48. package/dist/38412.fa86361561ffa367709f.bundle.js.map +1 -0
  49. package/dist/38644.3a0954c798ec413a3810.bundle.js +2 -0
  50. package/dist/38644.3a0954c798ec413a3810.bundle.js.map +1 -0
  51. package/dist/38843.5ef7a063337524ce3bb2.bundle.js +2 -0
  52. package/dist/38843.5ef7a063337524ce3bb2.bundle.js.map +1 -0
  53. package/dist/39518.4199684f3273d29d9105.bundle.js +2 -0
  54. package/dist/{39518.0ee809a85c83dba1f56a.bundle.js.map → 39518.4199684f3273d29d9105.bundle.js.map} +1 -1
  55. package/dist/39539.c23e4878044d73f2505b.bundle.js +2 -0
  56. package/dist/39539.c23e4878044d73f2505b.bundle.js.map +1 -0
  57. package/dist/{39874.c2d7cab1a65e5a869e78.bundle.js → 39874.f94a5059e1ae4f4a87e9.bundle.js} +2 -2
  58. package/dist/39874.f94a5059e1ae4f4a87e9.bundle.js.map +1 -0
  59. package/dist/41453.8bb4c783da2c5077a6e9.bundle.js +2 -0
  60. package/dist/41453.8bb4c783da2c5077a6e9.bundle.js.map +1 -0
  61. package/dist/42129.f44b7b20f9cd376c6e59.bundle.js +2 -0
  62. package/dist/42129.f44b7b20f9cd376c6e59.bundle.js.map +1 -0
  63. package/dist/44444.ad66c8256bc5b653de1a.bundle.js +2 -0
  64. package/dist/44444.ad66c8256bc5b653de1a.bundle.js.map +1 -0
  65. package/dist/44874.5854c207bbe2c4f2438e.bundle.js +2 -0
  66. package/dist/44874.5854c207bbe2c4f2438e.bundle.js.map +1 -0
  67. package/dist/45149.2f77aa736bbfb13fd987.bundle.js +2 -0
  68. package/dist/45149.2f77aa736bbfb13fd987.bundle.js.map +1 -0
  69. package/dist/45758.6ceb731cbe0576149f31.bundle.js +2 -0
  70. package/dist/45758.6ceb731cbe0576149f31.bundle.js.map +1 -0
  71. package/dist/{46591.ac9d19fd699104a9ed9b.bundle.js → 46591.0b142aa76a8991a89848.bundle.js} +2 -2
  72. package/dist/46591.0b142aa76a8991a89848.bundle.js.map +1 -0
  73. package/dist/55862.1fb5abd075ba11a7e93c.bundle.js +2 -0
  74. package/dist/55862.1fb5abd075ba11a7e93c.bundle.js.map +1 -0
  75. package/dist/58306.ba9545cbaee021ebcbce.bundle.js +2 -0
  76. package/dist/58306.ba9545cbaee021ebcbce.bundle.js.map +1 -0
  77. package/dist/{60560.024578077d95b851beea.bundle.js → 60560.37740d97b418899a5d21.bundle.js} +2 -2
  78. package/dist/{60560.024578077d95b851beea.bundle.js.map → 60560.37740d97b418899a5d21.bundle.js.map} +1 -1
  79. package/dist/67232.e76f40f9d09e64ebb365.bundle.js.map +1 -1
  80. package/dist/67888.7d4966e0a22ba655f1b8.bundle.js +2 -0
  81. package/dist/67888.7d4966e0a22ba655f1b8.bundle.js.map +1 -0
  82. package/dist/72379.bac50d0011665a85b6cd.bundle.js +2 -0
  83. package/dist/72379.bac50d0011665a85b6cd.bundle.js.map +1 -0
  84. package/dist/73667.3dd4f377e7ef54fd8758.bundle.js +2 -0
  85. package/dist/73667.3dd4f377e7ef54fd8758.bundle.js.map +1 -0
  86. package/dist/73779.193df86f08e3a1d06d67.bundle.js +2 -0
  87. package/dist/73779.193df86f08e3a1d06d67.bundle.js.map +1 -0
  88. package/dist/73793.6d80d47c26ed60a587fd.bundle.js +2 -0
  89. package/dist/73793.6d80d47c26ed60a587fd.bundle.js.map +1 -0
  90. package/dist/75282.88819e851ed18720b275.bundle.js +2 -0
  91. package/dist/75282.88819e851ed18720b275.bundle.js.map +1 -0
  92. package/dist/75849.51ade15bf0074eab76f3.bundle.js +2 -0
  93. package/dist/75849.51ade15bf0074eab76f3.bundle.js.map +1 -0
  94. package/dist/78013.e32fade7ad42b64c8122.bundle.js +2 -0
  95. package/dist/78013.e32fade7ad42b64c8122.bundle.js.map +1 -0
  96. package/dist/78250.6db42146a120459280e4.bundle.js +2 -0
  97. package/dist/78250.6db42146a120459280e4.bundle.js.map +1 -0
  98. package/dist/{78681.e44a1eb1dce4a8a29f57.bundle.js → 78681.39694d37c0f75ea04df6.bundle.js} +2 -2
  99. package/dist/{78681.e44a1eb1dce4a8a29f57.bundle.js.map → 78681.39694d37c0f75ea04df6.bundle.js.map} +1 -1
  100. package/dist/79329.5a5cbfa466d1c62af915.bundle.js +2 -0
  101. package/dist/79329.5a5cbfa466d1c62af915.bundle.js.map +1 -0
  102. package/dist/82206.8ec983edcf675cfd4531.bundle.js +2 -0
  103. package/dist/82206.8ec983edcf675cfd4531.bundle.js.map +1 -0
  104. package/dist/82896.9aed45baf67510717c6f.bundle.js +2 -0
  105. package/dist/82896.9aed45baf67510717c6f.bundle.js.map +1 -0
  106. package/dist/{82926.f625cc022724426fb8fb.bundle.js → 82926.93dbf44f2bcccba34e9b.bundle.js} +2 -2
  107. package/dist/{82926.f625cc022724426fb8fb.bundle.js.map → 82926.93dbf44f2bcccba34e9b.bundle.js.map} +1 -1
  108. package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js +2 -0
  109. package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js.map +1 -0
  110. package/dist/{88206.fbbcf8ccd9460c579e87.bundle.js → 88206.28c337e2edbf17928836.bundle.js} +2 -2
  111. package/dist/88206.28c337e2edbf17928836.bundle.js.map +1 -0
  112. package/dist/9062.d9049833d076191d3e1a.bundle.js +2 -0
  113. package/dist/9062.d9049833d076191d3e1a.bundle.js.map +1 -0
  114. package/dist/99379.be6c85ef305af6667dc1.bundle.js +2 -0
  115. package/dist/99379.be6c85ef305af6667dc1.bundle.js.map +1 -0
  116. package/dist/99448.314018d0afb1af150ddf.bundle.js +2 -0
  117. package/dist/99448.314018d0afb1af150ddf.bundle.js.map +1 -0
  118. package/dist/api/error/error-base.d.ts +1 -1
  119. package/dist/api/ontotext-workbench-api.js +1 -1
  120. package/dist/api/ontotext-workbench-api.js.map +1 -1
  121. package/dist/i18n/locale-en.json +31 -0
  122. package/dist/i18n/locale-fr.json +31 -0
  123. package/dist/index.html +8 -8
  124. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  125. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  126. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  127. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  128. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  129. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  130. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  131. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  132. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  133. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  134. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  135. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  136. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +4 -3
  137. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  138. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  139. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  140. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  141. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  142. package/dist/js/angular/security/templates/user.html +2 -2
  143. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  144. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  145. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  146. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  147. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  148. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  149. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  150. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  151. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  152. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  153. package/dist/legacyWorkbench.57fc12c172f6350ac4c5.js +3 -0
  154. package/dist/{legacyWorkbench.ad1d42d21ac42beabeb4.js.map → legacyWorkbench.57fc12c172f6350ac4c5.js.map} +1 -1
  155. package/dist/{main.400f2248f076a2d31d80.js → main.b9a83da68ffc43c91de0.js} +3 -3
  156. package/dist/{main.400f2248f076a2d31d80.js.map → main.b9a83da68ffc43c91de0.js.map} +1 -1
  157. package/dist/pages/aclmanagement.html +2 -2
  158. package/dist/pages/autocomplete.html +1 -1
  159. package/dist/pages/choose-repository-type.html +1 -1
  160. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  161. package/dist/pages/create-index.html +1 -1
  162. package/dist/pages/dependencies.html +1 -1
  163. package/dist/pages/domainRangeInfo.html +2 -2
  164. package/dist/pages/edit.html +1 -1
  165. package/dist/pages/explore.html +1 -1
  166. package/dist/pages/export.html +1 -1
  167. package/dist/pages/find.html +1 -1
  168. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  169. package/dist/pages/graphs-visualizations.html +7 -7
  170. package/dist/pages/guides.html +1 -1
  171. package/dist/pages/import.html +2 -2
  172. package/dist/pages/jdbc-create.html +1 -1
  173. package/dist/pages/login.html +1 -1
  174. package/dist/pages/monitor/backup-and-restore.html +1 -1
  175. package/dist/pages/monitor/queries.html +1 -1
  176. package/dist/pages/monitor/resources.html +1 -1
  177. package/dist/pages/namespaces.html +2 -2
  178. package/dist/pages/plugins.html +1 -1
  179. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  180. package/dist/pages/rdfrank.html +2 -2
  181. package/dist/pages/repositories.html +1 -1
  182. package/dist/pages/repository.html +1 -1
  183. package/dist/pages/similarity-indexes.html +1 -1
  184. package/dist/pages/sparql-editor.html +1 -1
  185. package/dist/pages/sparql-template-create.html +1 -1
  186. package/dist/pages/ux-test1.html +2 -2
  187. package/dist/pages/webapi.html +2 -2
  188. package/dist/plugins.js +1 -1
  189. package/dist/res/swagger5/css/onto-theme.css +1 -1
  190. package/dist/res/swagger5/index.html +11 -11
  191. package/dist/shared-components/cjs/onto-cookie-consent_2.cjs.entry.js +1 -1
  192. package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
  193. package/dist/shared-components/cjs/onto-dropdown.cjs.entry.js +1 -1
  194. package/dist/shared-components/cjs/onto-footer_6.cjs.entry.js +1 -1
  195. package/dist/shared-components/cjs/onto-language-selector_9.cjs.entry.js +1 -1
  196. package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
  197. package/dist/shared-components/cjs/translate-label.cjs.entry.js +1 -1
  198. package/dist/shared-components/collection/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.js +1 -1
  199. package/dist/shared-components/collection/components/dialogs/onto-dialog.js +1 -1
  200. package/dist/shared-components/collection/components/onto-cookie-consent/onto-cookie-consent.js +1 -1
  201. package/dist/shared-components/collection/components/onto-dropdown/onto-dropdown.js +1 -1
  202. package/dist/shared-components/collection/components/onto-footer/onto-footer.js +1 -1
  203. package/dist/shared-components/collection/components/onto-header/onto-header.js +1 -1
  204. package/dist/shared-components/collection/components/onto-language-selector/onto-language-selector.js +1 -1
  205. package/dist/shared-components/collection/components/onto-layout/onto-layout.js +1 -1
  206. package/dist/shared-components/collection/components/onto-navbar/navbar-model.js +1 -1
  207. package/dist/shared-components/collection/components/onto-navbar/navbar-service.js +1 -1
  208. package/dist/shared-components/collection/components/onto-operations-notification/onto-operations-notification.js +1 -1
  209. package/dist/shared-components/collection/components/onto-rdf-search/onto-rdf-search.js +1 -1
  210. package/dist/shared-components/collection/components/onto-repository-selector/onto-repository-selector.js +1 -1
  211. package/dist/shared-components/collection/components/onto-search-icon/onto-search-icon.js +1 -1
  212. package/dist/shared-components/collection/components/onto-search-resource-input/onto-search-resource-input.js +1 -1
  213. package/dist/shared-components/collection/components/onto-toastr/onto-toastr.js +1 -1
  214. package/dist/shared-components/collection/components/onto-toggle-switch/onto-toggle-switch.js +1 -1
  215. package/dist/shared-components/collection/components/onto-tooltip/onto-tooltip.js +1 -1
  216. package/dist/shared-components/collection/components/translate-label/translate-label.js +1 -1
  217. package/dist/shared-components/esm/onto-cookie-consent_2.entry.js +1 -1
  218. package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
  219. package/dist/shared-components/esm/onto-dropdown.entry.js +1 -1
  220. package/dist/shared-components/esm/onto-footer_6.entry.js +1 -1
  221. package/dist/shared-components/esm/onto-language-selector_9.entry.js +1 -1
  222. package/dist/shared-components/esm/onto-layout.entry.js +1 -1
  223. package/dist/shared-components/esm/translate-label.entry.js +1 -1
  224. package/dist/shared-components/shared-components/p-17bac1e3.entry.js +1 -0
  225. package/dist/shared-components/shared-components/p-1bc2ac8e.entry.js +1 -0
  226. package/dist/shared-components/shared-components/p-2433b25f.entry.js +1 -0
  227. package/dist/shared-components/shared-components/p-25fa0ee5.entry.js +1 -0
  228. package/dist/shared-components/shared-components/{p-a4e82a3f.entry.js → p-6266be98.entry.js} +1 -1
  229. package/dist/shared-components/shared-components/{p-eed8b067.entry.js → p-91ad7f7f.entry.js} +1 -1
  230. package/dist/shared-components/shared-components/p-aef0b970.entry.js +1 -0
  231. package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
  232. package/dist/shared-components/types/components/onto-dropdown/onto-dropdown.d.ts +2 -2
  233. package/dist/shared-components/types/components/onto-navbar/navbar-model.d.ts +4 -1
  234. package/dist/shared-components/types/components/onto-navbar/navbar-toggled-event.d.ts +1 -1
  235. package/dist/shared-components/types/components/onto-navbar/onto-navbar.d.ts +2 -2
  236. package/dist/shared-components/types/components/onto-test-context/onto-test-context.d.ts +23 -23
  237. package/dist/shared-components/types/components/onto-tooltip/models/onto-tooltip-configuration.d.ts +1 -2
  238. package/dist/shared-components/types/components.d.ts +4 -4
  239. package/dist/shared-components/types/models/component-event.d.ts +1 -1
  240. package/dist/shared-components/types/utils/function-utils.d.ts +1 -1
  241. package/dist/shared-components/types/utils/tooltip-util.d.ts +2 -2
  242. package/dist/workbench/workbench/workbenchApp.js +1 -1
  243. package/package.json +8 -2
  244. package/dist/10142.6a276ff32f58aa4d1b72.bundle.js +0 -2
  245. package/dist/10142.6a276ff32f58aa4d1b72.bundle.js.map +0 -1
  246. package/dist/10153.1532fddd43604bf408c3.bundle.js +0 -2
  247. package/dist/10153.1532fddd43604bf408c3.bundle.js.map +0 -1
  248. package/dist/10406.7fed4b667b0d2813b305.bundle.js +0 -2
  249. package/dist/12358.736ea9c178c92655de3a.bundle.js +0 -3
  250. package/dist/12358.736ea9c178c92655de3a.bundle.js.map +0 -1
  251. package/dist/12396.47201b3f37dcfe963353.bundle.js +0 -2
  252. package/dist/12396.47201b3f37dcfe963353.bundle.js.map +0 -1
  253. package/dist/14874.17bc671b6ff6123b9eb1.bundle.js +0 -2
  254. package/dist/14874.17bc671b6ff6123b9eb1.bundle.js.map +0 -1
  255. package/dist/15535.e3d3f8071a4cc462b5eb.bundle.js +0 -2
  256. package/dist/15535.e3d3f8071a4cc462b5eb.bundle.js.map +0 -1
  257. package/dist/16162.bc70365c3f546e70a3e9.bundle.js +0 -2
  258. package/dist/16162.bc70365c3f546e70a3e9.bundle.js.map +0 -1
  259. package/dist/20287.c3d0095a3a5f18cd0087.bundle.js +0 -2
  260. package/dist/20287.c3d0095a3a5f18cd0087.bundle.js.map +0 -1
  261. package/dist/21136.fb6d69cd9e6dd31a65b2.bundle.js +0 -2
  262. package/dist/21136.fb6d69cd9e6dd31a65b2.bundle.js.map +0 -1
  263. package/dist/21142.0589f58f1a3b49b4fcfa.bundle.js +0 -2
  264. package/dist/21142.0589f58f1a3b49b4fcfa.bundle.js.map +0 -1
  265. package/dist/21170.8126948c956555b4f9ff.bundle.js +0 -2
  266. package/dist/21170.8126948c956555b4f9ff.bundle.js.map +0 -1
  267. package/dist/21195.77df14ed68c1f286839a.bundle.js +0 -2
  268. package/dist/21195.77df14ed68c1f286839a.bundle.js.map +0 -1
  269. package/dist/25747.612b1bce6250300d137f.bundle.js +0 -2
  270. package/dist/25747.612b1bce6250300d137f.bundle.js.map +0 -1
  271. package/dist/27580.88bc1444d863327a3697.bundle.js +0 -2
  272. package/dist/27580.88bc1444d863327a3697.bundle.js.map +0 -1
  273. package/dist/28050.1359d262b2e2c497ad6d.bundle.js +0 -2
  274. package/dist/28050.1359d262b2e2c497ad6d.bundle.js.map +0 -1
  275. package/dist/31636.625df78d380dadd69c07.bundle.js +0 -2
  276. package/dist/31636.625df78d380dadd69c07.bundle.js.map +0 -1
  277. package/dist/32489.5f438460389d65300913.bundle.js +0 -2
  278. package/dist/32489.5f438460389d65300913.bundle.js.map +0 -1
  279. package/dist/32534.73081e468e918a03bd70.bundle.js +0 -2
  280. package/dist/32534.73081e468e918a03bd70.bundle.js.map +0 -1
  281. package/dist/32606.376e14770ba6e81b7159.bundle.js +0 -2
  282. package/dist/32606.376e14770ba6e81b7159.bundle.js.map +0 -1
  283. package/dist/34495.e0f8e26f32d7d8def627.bundle.js +0 -2
  284. package/dist/34495.e0f8e26f32d7d8def627.bundle.js.map +0 -1
  285. package/dist/38360.437a12fa59878d1d43b9.bundle.js.map +0 -1
  286. package/dist/38412.85b4c12f5ed5ffb6e4dd.bundle.js +0 -2
  287. package/dist/38412.85b4c12f5ed5ffb6e4dd.bundle.js.map +0 -1
  288. package/dist/38644.6e82d4276df028701834.bundle.js +0 -2
  289. package/dist/38644.6e82d4276df028701834.bundle.js.map +0 -1
  290. package/dist/38843.428e7caf2e6805840b83.bundle.js +0 -2
  291. package/dist/38843.428e7caf2e6805840b83.bundle.js.map +0 -1
  292. package/dist/39518.0ee809a85c83dba1f56a.bundle.js +0 -2
  293. package/dist/39539.2a03bf4161ee846817d3.bundle.js +0 -2
  294. package/dist/39539.2a03bf4161ee846817d3.bundle.js.map +0 -1
  295. package/dist/39874.c2d7cab1a65e5a869e78.bundle.js.map +0 -1
  296. package/dist/41453.5370acf9540ff5382268.bundle.js +0 -2
  297. package/dist/41453.5370acf9540ff5382268.bundle.js.map +0 -1
  298. package/dist/42129.02f0b477c276dceb732c.bundle.js +0 -2
  299. package/dist/42129.02f0b477c276dceb732c.bundle.js.map +0 -1
  300. package/dist/44444.57b74adca89db793b77c.bundle.js +0 -2
  301. package/dist/44444.57b74adca89db793b77c.bundle.js.map +0 -1
  302. package/dist/44874.60bab9adf89019b35654.bundle.js +0 -2
  303. package/dist/44874.60bab9adf89019b35654.bundle.js.map +0 -1
  304. package/dist/45758.4e363b98020c3460b4ff.bundle.js +0 -2
  305. package/dist/45758.4e363b98020c3460b4ff.bundle.js.map +0 -1
  306. package/dist/46591.ac9d19fd699104a9ed9b.bundle.js.map +0 -1
  307. package/dist/55862.81467f263f3c46d9d889.bundle.js +0 -2
  308. package/dist/55862.81467f263f3c46d9d889.bundle.js.map +0 -1
  309. package/dist/58163.747b20ea052b22b24bd0.bundle.js +0 -2
  310. package/dist/58163.747b20ea052b22b24bd0.bundle.js.map +0 -1
  311. package/dist/58306.0ca44cc562ab1135c44b.bundle.js +0 -2
  312. package/dist/58306.0ca44cc562ab1135c44b.bundle.js.map +0 -1
  313. package/dist/67888.cc78716f885f98366859.bundle.js +0 -2
  314. package/dist/67888.cc78716f885f98366859.bundle.js.map +0 -1
  315. package/dist/72379.4023fb8f5c0dd8f32faa.bundle.js +0 -2
  316. package/dist/72379.4023fb8f5c0dd8f32faa.bundle.js.map +0 -1
  317. package/dist/73667.6925315f2649c49bade2.bundle.js +0 -2
  318. package/dist/73667.6925315f2649c49bade2.bundle.js.map +0 -1
  319. package/dist/73779.c4608b73b63083cb3352.bundle.js +0 -2
  320. package/dist/73779.c4608b73b63083cb3352.bundle.js.map +0 -1
  321. package/dist/73793.0cd99844e3792d5beb8c.bundle.js +0 -2
  322. package/dist/73793.0cd99844e3792d5beb8c.bundle.js.map +0 -1
  323. package/dist/75282.1005c493f43b9d6dcc5a.bundle.js +0 -2
  324. package/dist/75282.1005c493f43b9d6dcc5a.bundle.js.map +0 -1
  325. package/dist/75849.39b30ee4eb2f1b35f762.bundle.js +0 -2
  326. package/dist/75849.39b30ee4eb2f1b35f762.bundle.js.map +0 -1
  327. package/dist/78250.8462f5662da1fd9ece0b.bundle.js +0 -2
  328. package/dist/78250.8462f5662da1fd9ece0b.bundle.js.map +0 -1
  329. package/dist/79329.cd81f51fd3aed8ca8359.bundle.js +0 -2
  330. package/dist/79329.cd81f51fd3aed8ca8359.bundle.js.map +0 -1
  331. package/dist/82206.b3b37c3e0cc1aa18148c.bundle.js +0 -2
  332. package/dist/82206.b3b37c3e0cc1aa18148c.bundle.js.map +0 -1
  333. package/dist/85281.049ddec87de0b8b07e79.bundle.js +0 -2
  334. package/dist/85281.049ddec87de0b8b07e79.bundle.js.map +0 -1
  335. package/dist/88206.fbbcf8ccd9460c579e87.bundle.js.map +0 -1
  336. package/dist/9062.2b577ad9fc05b48b64a3.bundle.js +0 -2
  337. package/dist/9062.2b577ad9fc05b48b64a3.bundle.js.map +0 -1
  338. package/dist/99379.d5dffb14dd46150e91f9.bundle.js +0 -2
  339. package/dist/99379.d5dffb14dd46150e91f9.bundle.js.map +0 -1
  340. package/dist/99448.98a68cbf8bf84857b615.bundle.js +0 -2
  341. package/dist/99448.98a68cbf8bf84857b615.bundle.js.map +0 -1
  342. package/dist/legacyWorkbench.ad1d42d21ac42beabeb4.js +0 -3
  343. package/dist/shared-components/shared-components/p-106d7df8.entry.js +0 -1
  344. package/dist/shared-components/shared-components/p-17ce51bb.entry.js +0 -1
  345. package/dist/shared-components/shared-components/p-306527cc.entry.js +0 -1
  346. package/dist/shared-components/shared-components/p-96e87635.entry.js +0 -1
  347. package/dist/shared-components/shared-components/p-af359495.entry.js +0 -1
  348. /package/dist/{12358.736ea9c178c92655de3a.bundle.js.LICENSE.txt → 12358.2061f29dc113149946a3.bundle.js.LICENSE.txt} +0 -0
  349. /package/dist/{legacyWorkbench.ad1d42d21ac42beabeb4.js.LICENSE.txt → legacyWorkbench.57fc12c172f6350ac4c5.js.LICENSE.txt} +0 -0
  350. /package/dist/{main.400f2248f076a2d31d80.js.LICENSE.txt → main.b9a83da68ffc43c91de0.js.LICENSE.txt} +0 -0
  351. /package/dist/shared-components/cjs/{tooltip-util-CmDLnWqH.js → tooltip-util-CnEXLMnw.js} +0 -0
  352. /package/dist/shared-components/esm/{tooltip-util-C1So-qrf.js → tooltip-util-BqOc8q8q.js} +0 -0
  353. /package/dist/shared-components/shared-components/{p-Bisudk7O.js → p-DzOPDgzQ.js} +0 -0
@@ -1 +1 @@
1
- class e{static deepEqual(t,s){if(t===s)return!0;if(null==t||null==s)return!1;if("object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;if(Array.isArray(t)&&Array.isArray(s)){if(t.length!==s.length)return!1;for(let r=0;r<t.length;r++)if(!e.deepEqual(t[r],s[r]))return!1;return!0}if(!Array.isArray(t)&&!Array.isArray(s)){const r=Object.keys(t),i=Object.keys(s);if(r.length!==i.length)return!1;for(const i of r)if(!(i in s)||!e.deepEqual(t[i],s[i]))return!1;return!0}return!1}return!1}static deepCopy(t){if("object"!=typeof t||null==t||"function"==typeof t)return t;if(Array.isArray(t))return t.map(t=>e.deepCopy(t));const s=Object.create(Object.getPrototypeOf(t));for(const r of Object.keys(t))s[r]=e.deepCopy(t[r]);return s}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class t{copy(){return e.deepCopy(this)}}class s extends t{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class r extends s{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}class i extends t{constructor(e){super(),this.id=e?.id||"",this.title=e?.title||"",this.type=e?.type,this.sesameType=e?.sesameType,this.uri=e?.uri||"",this.externalUrl=e?.externalUrl||"",this.location=e?.location||"",this.state=e?.state,this.local=e?.local,this.readable=e?.readable,this.writable=e?.writable,this.unsupported=e?.unsupported,this.isNew=e?.isNew}toRepositoryReference(){return{id:this.id,location:this.location}}}const n=(e,t)=>{const s=e.location.localeCompare(t.location);return 0!==s?s:e.id.localeCompare(t.id)};class o extends s{constructor(e){super(e)}findRepository(e,t){return super.find(s=>s.id===e&&s.location===t)}sortByLocationAndId(){super.sort(n)}filterByRepository(e){return super.filter(this.createIdLocationFilter(e))}createIdLocationFilter(e){return t=>e.some(e=>e.id!==t.id||e.location!==t.location)}}class a extends t{constructor(e){super(),this.inferred=e?.inferred||0,this.total=e?.total||0,this.explicit=e?.explicit||0}}let u=function(e){return e.INACTIVE="INACTIVE",e.STARTING="STARTING",e.RUNNING="RUNNING",e.RESTARTING="RESTARTING",e.STOPPING="STOPPING",e}({}),c=function(e){return e.GRAPH_DB="graphdb",e.ONTOP="ontop",e.FEDEX="fedex",e.SYSTEM="system",e}({});class l{constructor(e){this.setNamespaces(e)}setNamespaces(e){this.namespaces=e}getByPrefix(e){return this.namespaces[e]||""}}class h extends t{constructor(e){super(),this.uri=e?.uri||"",this.label=e?.label||"",this.username=e?.username||"",this.password=e?.password||"",this.authType=e?.authType,this.locationType=e?.locationType,this.active=e?.active,this.local=e?.local,this.system=e?.system,this.errorMsg=e?.errorMsg||"",this.defaultRepository=e?.defaultRepository||""}}let p=function(e){return e.GDB="GDB",e.ONTOPIC="ONTOPIC",e.SPARQL="SPARQL",e}({});class g{constructor(e,t){this.NAME=e,this.payload=t}}const d={NAVIGATION_END:"navigationEnd",NAVIGATION_START:"navigationStart",LOGOUT:"logout",APP_DATA_LOADED:"applicationDataLoaded"};class E extends g{constructor(e,t){super(d.NAVIGATION_END,{oldUrl:e,newUrl:t})}}class A{}class S extends g{constructor(e,t,s){super(d.NAVIGATION_START,{oldUrl:e,newUrl:t,cancelNavigation:s})}}class R extends g{constructor(){super(d.LOGOUT)}}let T=function(e){return e.NONE="NONE",e.BASIC="BASIC",e.SIGNATURE="SIGNATURE",e}({});class C{static MAPPER_INSTANCES=new Map;static get(e){const t=e.name;if(!C.MAPPER_INSTANCES.has(t)){const s=new e;C.MAPPER_INSTANCES.set(t,s)}return C.MAPPER_INSTANCES.get(t)}}class y{static SERVICE_INSTANCES=new Map;static get(e){if(!y.SERVICE_INSTANCES.has(e.name)){const t=new e;y.implementsLifecycleHooks(t)&&t.onCreated?.(),y.SERVICE_INSTANCES.set(e.name,t)}return this.SERVICE_INSTANCES.get(e.name)}static implementsLifecycleHooks(e){return"object"==typeof e&&"function"==typeof e.onCreated}static getAllBySuperType(e){return Array.from(y.SERVICE_INSTANCES.values()).filter(t=>t instanceof e)}}function I(e){return y.get(e)}class f extends s{constructor(e){super(e)}hasAuthority(e){return this.items.includes(e)}}class O{}class _ extends O{mapToModel(e){return new f(e)}}class m extends t{constructor(e){super(),this.external=e?.external??!1,this.username=e?.username??"",this.password=e?.password??"",this.authorities=C.get(_).mapToModel(e?.authorities),this.appSettings=e?.appSettings??{}}}class P extends t{constructor(e){super(),this.appSettings=e.appSettings,this.authorities=C.get(_).mapToModel(e.authorities),this.enabled=e.enabled}}class N extends O{mapToModel(e){return new P(e)}}class b extends t{constructor(e){super(),this.authImplementation=e.authImplementation,this.enabled=e.enabled,this.passwordLoginEnabled=e.passwordLoginEnabled,this.freeAccess=C.get(N).mapToModel(e.freeAccess),this.overrideAuth=C.get(N).mapToModel(e.overrideAuth),this.openIdEnabled=e.openIdEnabled,this.userLoggedIn=e.userLoggedIn,this.freeAccessActive=e.freeAccessActive,this.hasExternalAuthUser=e.hasExternalAuthUser}}let L=function(e){return e.ROLE_ADMIN="ROLE_ADMIN",e.ROLE_USER="ROLE_USER",e.ROLE_MONITORING="ROLE_MONITORING",e.ROLE_REPO_MANAGER="ROLE_REPO_MANAGER",e.ROLE_CLUSTER="ROLE_CLUSTER",e.IS_AUTHENTICATED_FULLY="IS_AUTHENTICATED_FULLY",e}({});class x extends t{pages={};isRestricted(e){return this.pages[e]??!1}setPageRestriction(e,t=!0){return this.pages[e]=t,this}}class v extends t{constructor(e){super(),this.openIdKeys=e.openIdKeys,this.openIdTokenUrl=e.openIdTokenUrl,this.openIdKeysUri=e.openIdKeysUri,this.openIdEndSessionUrl=e.openIdEndSessionUrl,this.supportsOfflineAccess=e.supportsOfflineAccess}}let U=function(e){return e.READ="READ",e.WRITE="WRITE",e}({});class D extends O{mapToModel(e){return new G(e)}}class w extends t{constructor(e){super(),this.expiryDate=e.expiryDate,this.latestPublicationDate=e.latestPublicationDate,this.licensee=e.licensee||"",this.maxCpuCores=e.maxCpuCores,this.product=e.product||"",this.productType=e.productType||"",this.licenseCapabilities=C.get(D).mapToModel(e.licenseCapabilities),this.version=e.version||"",this.installationId=e.installationId||"",this.valid=e.valid,this.typeOfUse=e.typeOfUse||"",this.message=e.message||"",this.present=e.present||!1,this.usageRestriction=e.usageRestriction||""}get expiryDate(){return this._expiryDate}set expiryDate(e){this._expiryDate=e}get latestPublicationDate(){return this._latestPublicationDate}set latestPublicationDate(e){this._latestPublicationDate=e}get licensee(){return this._licensee}set licensee(e){this._licensee=e}get maxCpuCores(){return this._maxCpuCores}set maxCpuCores(e){this._maxCpuCores=e}get product(){return this._product}set product(e){this._product=e}get productType(){return this._productType}set productType(e){this._productType=e}get licenseCapabilities(){return this._licenseCapabilities}set licenseCapabilities(e){this._licenseCapabilities=e}get version(){return this._version}set version(e){this._version=e}get installationId(){return this._installationId}set installationId(e){this._installationId=e}get valid(){return this._valid}set valid(e){this._valid=e}get typeOfUse(){return this._typeOfUse}set typeOfUse(e){this._typeOfUse=e}get message(){return this._message}set message(e){this._message=e}get present(){return this._present}set present(e){this._present=e}get usageRestriction(){return this._usageRestriction}set usageRestriction(e){this._usageRestriction=e}}let M=function(e){return e.LUCENE_CONNECTOR="Lucene connector",e.SOLR_CONNECTOR="Solr connector",e.ELASTICSEARCH_CONNECTOR="Elasticsearch connector",e.OPENSEARCH_CONNECTOR="OpenSearch connector",e.KAFKA_CONNECTOR="Kafka connector",e.CLUSTER="Cluster",e}({});class G extends s{constructor(e){super(e)}}class V{constructor(e){this.workbench=e.Workbench||"",this.productType=e.productType||"",this.productVersion=e.productVersion||"",this.sesame=e.sesame||"",this.connectors=e.connectors||"",this.shortVersion=this.resolveShortVersion(e)}resolveShortVersion(e){const t=e.productVersion;if(!t)return"";const s=/^(\d+\.\d+)/.exec(t),r=s?.[1]??t,i=/(-[^-]+)/.exec(t);return r+(i?.[1]??"")}}class k{constructor(e){this.value=e}getValue(){return this.value}getValueOrDefault(e){return this.value||e}getAsJson(){if(null===this.value)return null;try{return JSON.parse(this.value)}catch(e){return console.error("Error parsing JSON",e),null}}}class ${static GLOBAL_NAMESPACE="ontotext.gdb"}class B{constructor(e){this.languages=e}getLanguageCodes(){return this.languages?.map(e=>e.key)}}class Y extends O{mapToModel(e){return new B(e)}}class H extends t{constructor(e){super(),this.defaultLanguage=e.defaultLanguage,this.availableLanguages=C.get(Y).mapToModel(e.availableLanguages)}}class F{constructor(e){this.policyAccepted=e?.policyAccepted,this.statistic=e?.statistic,this.thirdParty=e?.thirdParty,this.updatedAt=e?.updatedAt}}let K=function(e){return e.INFORMATION="INFORMATION",e.WARNING="WARNING",e.CRITICAL="CRITICAL",e}({});const q={[K.INFORMATION]:0,[K.WARNING]:1,[K.CRITICAL]:2};class W extends t{constructor(e){super(),this.id=`${e.group}-${e.status}-${e.totalOperations}`,this.group=e.group,this.totalOperations=e.totalOperations,this.status=e.status}}class j extends t{constructor(e){super(),this.status=e.status||K.INFORMATION,this.allRunningOperations=e.allRunningOperations}toOperationsGroupSummary(){const e=new Map;return this.allRunningOperations.getItems().forEach(t=>{e.has(t.group)||e.set(t.group,new W({group:t.group,totalOperations:0,status:K.INFORMATION}));const s=e.get(t.group);s.totalOperations+=t.count,q[t.status]>q[s.status]&&(s.status=t.status)}),Array.from(e.values())}}class Q extends s{constructor(e){super(e)}}let z=function(e){return e.UPDATES="updates",e.QUERIES="queries",e.IMPORT="imports",e.BACKUP_AND_RESTORE="backupAndRestore",e.CLUSTER_HEALTH="clusterHealth",e}({}),J=function(e){return e.QUERY="QUERY",e.BACKUP="BACKUP",e.CLUSTER="CLUSTER",e.IMPORT="IMPORT",e}({});const X=[z.QUERIES,z.UPDATES,z.IMPORT],Z={[z.UPDATES]:"monitor/queries",[z.QUERIES]:"monitor/queries",[z.BACKUP_AND_RESTORE]:"monitor/backup-and-restore",[z.IMPORT]:"import",[z.CLUSTER_HEALTH]:"cluster"},ee={[z.QUERIES]:J.QUERY,[z.UPDATES]:J.QUERY,[z.BACKUP_AND_RESTORE]:J.BACKUP,[z.IMPORT]:J.IMPORT,[z.CLUSTER_HEALTH]:J.CLUSTER};class te extends t{constructor(e){super(),this.id=`${e.status}-${e.type}-${e.value}`,this.value=e.value,this.status=e.status,this.type=e.type,this.count=this.getCount(e),this.group=ee[e.type],this.href=Z[e.type],this.labelKey=this.getLabelKey(e)}getCount(e){return X.includes(e.type)?parseInt(e.value,10):0}getLabelKey(e){return X.includes(e.type)?e.type:e.value}}class se extends s{constructor(e){super(e)}}let re=function(e){return e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_LEFT="bottom-left",e}({});class ie{constructor(e){this.timeout=e?.timeout||5e3,this.onClick=e?.onClick,this.removeOnClick=e?.removeOnClick||!1}}class ne extends ie{constructor(e){super(),this.timeout=e.timeout,this.position=e.position}static getDefaultConfig(){return this.instance||(this.instance=new ne({timeout:5e3,position:re.BOTTOM_RIGHT})),this.instance}}let oe=function(e){return e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e}({});class ae{static uuid(){const e=16;let t=(new Date).getTime(),s=1e3*(performance?.now()??0);return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let i=Math.random()*e;return t>0?(i=(t+i)%e|0,t=Math.floor(t/e)):(i=(s+i)%e|0,s=Math.floor(s/e)),("x"===r?i:3&i|8).toString(e)})}static hashCode(e){let t=0;for(let s=0,r=e.length;s<r;s++)t=(t<<5)-t+e.charCodeAt(s),t|=0;return t}}class ue{constructor(e,t,s){this.id=ae.uuid(),this.type=e,this.message=t,this.config=s}}const ce="create-toast-event";class le extends s{constructor(e){super(e)}}class he extends s{constructor(e){super(e)}}class pe extends t{constructor(e){super(),this.setRadio(e.isRadio),this.setButtons(new he(e.buttons))}getButtons(){return this.buttons}setButtons(e){this.buttons=e}isRadio(){return this.radio}setRadio(e){this.radio=e}selectButton(e){return this.isRadio()&&!e.selected&&(this.deselectAll(),e.selected=!0,e.callback()),this.copy()}deselectAll(){this.buttons.getItems().forEach(e=>e.selected=!1)}}class ge extends t{constructor(e){super(),this.id=e.id,this.label=e.label,this.selected=e.selected,this.callback=e.callback}}class de extends s{constructor(e){super(e)}}class Ee extends t{constructor(e){super(),this.setSuggestions(e.suggestionList)}getSuggestions(){return this._suggestions}setSuggestions(e){this._suggestions=e}hoverFirstSuggestion(){return this.hoverSuggestion(this.getSuggestions().getItems()[0])}hoverSuggestion(e){return e&&(this.clearHoveredState(),e.setHovered(!0)),this.copy()}selectSuggestion(e){return e&&(this.clearSelectedState(),e.setSelected(!0)),this.copy()}getHoveredSuggestion(){return this.getSuggestions().getItems().find(e=>e.isHovered())}hoverPreviousSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e>0&&(this.clearHoveredState(),this.getSuggestions().getItems()[e-1].setHovered(!0)),this.copy()}hoverNextSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e<this.getSuggestions().getItems().length-1&&(this.clearHoveredState(),this.getSuggestions().getItems()[e+1].setHovered(!0)),this.copy()}clearSuggestions(){return this.setSuggestions(new de),this.copy()}getByValue(e){return this.getSuggestions().getItems().find(t=>t.getValue()===e)}clearSelectedState(){this.getSuggestions().getItems().forEach(e=>e.setSelected(!1))}clearHoveredState(){this.getSuggestions().getItems().forEach(e=>e.setHovered(!1))}}class Ae extends t{overrideToVisual=!1;constructor(e){super(),this.setId(e.id),this.setType(e.type),this.setValue(e.value),this.setDescription(e.description)}getId(){return this._id}setId(e){this._id=e}getType(){return this._type}setType(e){this._type=e}getValue(){return this._value}setValue(e){this._value=e}getDescription(){return this._description}setDescription(e){this._description=e}isHovered(){return this._hovered}setHovered(e){this._hovered=e}isSelected(){return this._selected}setSelected(e){this._selected=e}getOverrideToVisual(){return this.overrideToVisual}setOverrideToVisual(e){this.overrideToVisual=e}}let Se=function(e){return e.URI="uri",e.PREFIX="prefix",e}({});class Re{constructor(e,t){this.setSuggestion(e),this.setContext(t)}getSuggestion(){return this.suggestion}getContext(){return this.context}setContext(e){this.context=e}setSuggestion(e){this.suggestion=e}}let Te=function(e){return e.DATA_LOADED="DATA_LOADED",e}({});class Ce extends t{constructor(e){super(),this._pluginDefinitions=e}getPluginDefinitions(){return this._pluginDefinitions}}let ye=function(e){return e.ROUTE="route",e.MAIN_MENU="main.menu",e}({});class Ie extends s{constructor(e){super(e)}}class fe{callbackFunctions=[];beforeChangeValidationPromises=[];afterValueChangeCallbackFunctions=[];setValue(t){e.deepEqual(this.value,t)||(this.value=this.getCopy(t),this.callbackFunctions.forEach(e=>e(this.getValue())),this.afterValueChangeCallbackFunctions.forEach(e=>e(this.getValue())))}getValue(){return this.getCopy(this.value)}subscribe(e,t,s){return this.callbackFunctions.push(e),t&&this.beforeChangeValidationPromises.push(t),s&&this.afterValueChangeCallbackFunctions.push(s),()=>{this.callbackFunctions=this.callbackFunctions.filter(t=>t!==e),this.beforeChangeValidationPromises=this.beforeChangeValidationPromises.filter(e=>e!==t),this.afterValueChangeCallbackFunctions=this.afterValueChangeCallbackFunctions.filter(e=>e!==s)}}async canUpdate(e){if(0===this.beforeChangeValidationPromises.length)return!0;const t=this.beforeChangeValidationPromises.map(t=>t(e));try{return(await Promise.all(t)).every(e=>e)}catch{return!1}}getCopy(t){if(null!=t)return e.hasCopyMethod(t)?t.copy():e.deepCopy(t)}}class Oe{subscribers=[];unsubFns=new r;subscribeToService(e){const t=this.subscribers.map(t=>e.subscribeAll(t.callback,t.beforeChangeValidationPromise,t.afterChangeCallback));return this.unsubFns.addAll(t),()=>t.forEach(e=>e())}subscribeToAllRegisteredContexts(e,t,s){const r=y.getAllBySuperType(_e).filter(e=>e.canSubscribeAll);for(const i of r)this.unsubFns.add(i.subscribeAll(e,t,s));const i={callback:e,beforeChangeValidationPromise:t,afterChangeCallback:s};this.subscribers.push(i);let n=!1;return()=>{if(n)return;n=!0,this.unsubFns.unsubscribeAll();const e=this.subscribers.indexOf(i);e>=0&&this.subscribers.splice(e,1)}}}class _e{context=new Map;_canSubscribeAll=!1;onCreated(){this._canSubscribeAll=!0,y.get(Oe).subscribeToService(this)}updateContextProperty(e,t){this.getOrCreateValueContext(e).setValue(t)}validatePropertyChange(e,t){return this.getOrCreateValueContext(e).canUpdate(t)}getContextPropertyValue(e){const t=this.context.get(e);return t?t.getValue():void 0}subscribe(e,t,s,r){return t&&t(this.getContextPropertyValue(e)),r&&r(this.getContextPropertyValue(e)),this.getOrCreateValueContext(e).subscribe(t,s,r)}subscribeAll(e,t,s){const i=new r;for(const r of this.getContextFields())i.add(this.subscribe(r,e,t,s));return()=>i.unsubscribeAll()}getContextFields(){return Object.values(this).filter(e=>"string"==typeof e)}getOrCreateValueContext(e){let t=this.context.get(e);return t||(t=new fe,this.context.set(e,t)),t}canHandle(e){for(const t in this)if(this[t]===e)return!0;return!1}get canSubscribeAll(){return this._canSubscribeAll}}class me{priority=0}class Pe{getStorage(){return localStorage}get(e){const t=this.getStorage().getItem(this.getPrefixedKey(e));return new k(t)}storeValue(e,t){this.getStorage().setItem(this.getPrefixedKey(e),t)}remove(e){this.getStorage().removeItem(this.getPrefixedKey(e))}getPrefixedKey(e){const t=`${$.GLOBAL_NAMESPACE}.${this.NAMESPACE}.`,s=`${this.NAMESPACE}.`;return e.startsWith(t)?e:e.startsWith(s)?`${$.GLOBAL_NAMESPACE}.${e}`:`${t}${e}`}}class Ne{handleStorageChange(e){const t=e.key?.substring($.GLOBAL_NAMESPACE.length+1);let s="",r="";t&&(s=t.substring(0,t.indexOf(".")),r=t.substring(s.length+1));const i=this.resolveHandler(s,r);i&&i.updateContextProperty(r,e.newValue)}resolveHandler(e,t){if(!e)return void console.warn("Namespace is required to resolve a context property change handler.");const s=y.getAllBySuperType(_e).find(e=>e.canHandle(t));if(s)return s;console.warn(`No context property change handler found for namespace: ${e} and property: ${t}`)}}class be extends Pe{jwtKey="jwt";authenticatedKey="authenticated";NAMESPACE="auth";set(e,t){this.storeValue(e,t)}getAuthToken(){return this.get(this.jwtKey)}setAuthenticated(e){this.storeValue(this.authenticatedKey,e?.toString()||"")}isAuthenticated(){return"true"===this.get(this.authenticatedKey).getValue()}}class Le extends Pe{NAMESPACE="repository";SELECTED_REPOSITORY="selectedRepository";set(e,t){t?this.storeValue(e,t):this.remove(e)}setRepositoryReference(e){this.set(this.SELECTED_REPOSITORY,this.serializeRepositoryReference(e))}getRepositoryReference(){return this.deserializeRepositoryReference(this.get(this.SELECTED_REPOSITORY).getValueOrDefault('{"id": "", "location": ""}'))}removeRepositoryReference(){this.remove(this.SELECTED_REPOSITORY)}serializeRepositoryReference(e){return JSON.stringify(e)}deserializeRepositoryReference(e){if("string"==typeof e)try{return JSON.parse(e)}catch(e){console.error("Error parsing repository reference",e)}}}class xe extends _e{RESTRICTED_PAGES="restrictedPages";SECURITY_CONFIG="securityConfig";AUTHENTICATED_USER="authenticatedUser";AUTH_TOKEN="jwt";OPEN_ID_CONFIG="openIdConfig";getRestrictedPages(){return this.getContextPropertyValue(this.RESTRICTED_PAGES)||new x}updateRestrictedPages(e){this.updateContextProperty(this.RESTRICTED_PAGES,e)}onRestrictedPagesChanged(e){return this.subscribe(this.RESTRICTED_PAGES,e)}onAuthTokenChanged(e){return this.subscribe(this.AUTH_TOKEN,e)}updateAuthToken(e){this.updateContextProperty(this.AUTH_TOKEN,e)}getAuthToken(){return this.getContextPropertyValue(this.AUTH_TOKEN)}updateSecurityConfig(e){this.updateContextProperty(this.SECURITY_CONFIG,e)}onSecurityConfigChanged(e){return this.subscribe(this.SECURITY_CONFIG,e)}getSecurityConfig(){return this.getContextPropertyValue(this.SECURITY_CONFIG)}updateAuthenticatedUser(e){this.updateContextProperty(this.AUTHENTICATED_USER,e)}onAuthenticatedUserChanged(e){return this.subscribe(this.AUTHENTICATED_USER,e)}getAuthenticatedUser(){return this.getContextPropertyValue(this.AUTHENTICATED_USER)}updateOpenIdConfig(e){return this.updateContextProperty(this.OPEN_ID_CONFIG,e)}getOpenIdConfig(){return this.getContextPropertyValue(this.OPEN_ID_CONFIG)}}class ve{static getWindow(){return window}static getPluginRegistry(){return ve.getWindow().PluginRegistry}}function Ue(e){return t=>{t&&t.preventDefault(),De(e)}}function De(e){ve.getWindow().singleSpa.navigateToUrl(e)}function we(e){ve.getWindow().open(e,"_blank")}function Me(){return"/"===Ge()}function Ge(){return ve.getWindow().location.pathname.substring(ke().length-1)}function Ve(){return`${ve.getWindow().location.origin}${ke()}`}function ke(){return document.querySelector("base")?.getAttribute("href")??"/"}function $e(){return Ge().substring(1)}const Be=new s([new class extends me{authStorage=y.get(be);repositoryStorageService=y.get(Le);securityContextService=y.get(xe);process(e){e.headers=e.headers||{},e.headers["X-Requested-With"]="XMLHttpRequest";const t=this.authStorage.getAuthToken().getValue();if(t&&(e.headers.Authorization=t),!e.headers["X-GraphDB-Repository"]){const t=this.repositoryStorageService.getRepositoryReference();t?.id&&(e.headers["X-GraphDB-Repository"]=t.id),t?.location&&(e.headers["X-GraphDB-Repository-Location"]=t.location)}return Promise.resolve(e)}shouldProcess(e){const t=this.securityContextService.getOpenIdConfig();if(!t)return!0;const s=t?.openIdKeysUri,r=t?.openIdTokenUrl;return!s||!r||![t?.openIdKeysUri,t?.openIdTokenUrl].some(t=>t&&e.url.indexOf(t)>-1)}}]),Ye=new s([new class extends me{process(e){return localStorage.getItem("ontotext.gdb.auth.jwt")&&(localStorage.removeItem("ontotext.gdb.auth.jwt"),De("login"),ve.getWindow().location.reload()),Promise.reject(e)}shouldProcess(e){return 401===e.status}}]);class He{preProcessors=new s;postProcessors=new s;constructor(){this.registerRequestInterceptors(Be),this.registerResponseInterceptors(Ye)}async preProcess(e){let t=e;for(const e of this.preProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}async postProcess(e){let t=e;for(const e of this.postProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}registerRequestInterceptors(e){this.preProcessors.addItems(e.getItems()),this.sortInterceptors(this.preProcessors)}registerResponseInterceptors(e){this.postProcessors.addItems(e.getItems()),this.sortInterceptors(this.postProcessors)}sortInterceptors(e){e.sort((e,t)=>t.priority-e.priority)}}class Fe{constructor(e){this.url=e.url,this.method=e.method,this.headers={...e.headers},this.body=e.body}}class Ke{emit(e){const t=new CustomEvent(e.NAME,{detail:e.payload});return this.getHostElement().dispatchEvent(t),t}subscribe(e,t){const s=e=>{e instanceof CustomEvent&&t(e.detail)};return this.getHostElement().addEventListener(e,s),()=>this.getHostElement().removeEventListener(e,s)}getHostElement(){return document.body}}const qe=["application/json","application/sparql-results+json"],We="http-request-done-event";class je{interceptorService=y.get(He);eventEmitter=new Ke;get(e,t,s){return this.request(e,"GET",{params:t,headers:s}).then(e=>e)}post(e,t,s){return this.request(e,"POST",{body:t,headers:s})}put(e,t,s){return this.request(e,"PUT",{body:t,headers:s})}delete(e,t){return this.request(e,"DELETE",{headers:t})}patch(e,t,s){return this.request(e,"PATCH",{body:t,headers:s})}encodeURIComponentStrict(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}request(e,t,s={}){const r=this.buildQueryParams(s.params),i=`${e}${r?`?${r}`:""}`,n={"Content-Type":"application/json",Accept:"application/json, text/plain, */*",...s.headers};return this.interceptorService.preProcess(new Fe({url:i,method:t,headers:n,body:s.body})).then(e=>fetch(e.url,{method:e.method,headers:e.headers,body:e.body?JSON.stringify(e.body):null})).then(e=>this.interceptorService.postProcess(e)).then(e=>e.ok?this.hasValidJson(e)?e.json():Promise.resolve():Promise.reject(e)).finally(()=>this.eventEmitter.emit({NAME:We,payload:void 0}))}hasValidJson(e){const t=e.headers.get("Content-Type");return!!t&&qe.some(e=>t.includes(e))}buildQueryParams(e={}){return new URLSearchParams(e).toString()}}class Qe extends je{I18N_ENDPOINT="assets/i18n";getLanguage(e){return this.get(`${this.I18N_ENDPOINT}/${e}.json`)}getLanguageConfiguration(){return this.get(`${this.I18N_ENDPOINT}/language-config.json`)}}class ze extends O{mapToModel(e){return new H(e)}}class Je extends Pe{NAMESPACE="i18n";set(e,t){this.storeValue(e,t)}}class Xe extends _e{LANGUAGE_CONFIG="languageConfig";SELECTED_LANGUAGE="selectedLanguage";LANGUAGE_BUNDLE="languageBundle";DEFAULT_BUNDLE="defaultBundle";updateSelectedLanguage(e){this.validatePropertyChange(this.SELECTED_LANGUAGE,e).then(t=>{if(t){const t=e||y.get(Ze).getDefaultLanguage();y.get(Je).set(this.SELECTED_LANGUAGE,t),this.updateContextProperty(this.SELECTED_LANGUAGE,e)}})}onSelectedLanguageChanged(e,t){return this.subscribe(this.SELECTED_LANGUAGE,e,t)}updateLanguageBundle(e){this.updateContextProperty(this.LANGUAGE_BUNDLE,e)}onLanguageBundleChanged(e){return this.subscribe(this.LANGUAGE_BUNDLE,e)}updateDefaultBundle(e){this.updateContextProperty(this.DEFAULT_BUNDLE,e)}getDefaultBundle(){return this.getContextPropertyValue(this.DEFAULT_BUNDLE)}getLanguageConfig(){return this.getContextPropertyValue(this.LANGUAGE_CONFIG)}setLanguageConfig(e){this.updateContextProperty(this.LANGUAGE_CONFIG,e)}getSelectedLanguage(){return this.getContextPropertyValue(this.SELECTED_LANGUAGE)}}class Ze{languageRestService=y.get(Qe);languageContextService=y.get(Xe);getSupportedLanguages(){const e=this.languageContextService.getLanguageConfig();return e?e.availableLanguages.getLanguageCodes():["en","fr"]}getLanguage(e){return this.languageRestService.getLanguage(e)}getLanguageConfiguration(){return this.languageRestService.getLanguageConfiguration().then(e=>C.get(ze).mapToModel(e))}getDefaultLanguage(){const e=this.languageContextService.getLanguageConfig();return e?e.defaultLanguage:"en"}}class et extends je{static REPOSITORIES_ENDPOINT="rest/repositories";getRepositories(){return this.get(`${et.REPOSITORIES_ENDPOINT}/all`)}getRepositorySizeInfo(e){return this.get(`${et.REPOSITORIES_ENDPOINT}/${e.id}/size?location=${encodeURIComponent(e.location)}`)}}class tt extends O{mapToModel(e){return new i(e)}}class st extends O{constructor(){super(),this.repositoryMapper=C.get(tt)}mapToModel(e){if(!e||"object"!=typeof e)return new o;const t=[];return Object.entries(e).forEach(([,e])=>{Array.isArray(e)&&e.forEach(e=>{const s=this.repositoryMapper.mapToModel(e);t.push(s)})}),new o(t)}}class rt extends O{mapToModel(e){return new a(e)}}class it{GRAPHQL_REPO_AUTHORITY="GRAPHQL";constructor(){this.repositoryRestService=y.get(et),this.repositoryListMapper=C.get(st),this.repositorySizeInfoMapper=C.get(rt)}getRepositories(){return this.repositoryRestService.getRepositories().then(e=>this.repositoryListMapper.mapToModel(e))}getRepositorySizeInfo(e){return this.repositoryRestService.getRepositorySizeInfo(e).then(this.repositorySizeInfoMapper.mapToModel)}isSystemRepository(e){return"SYSTEM"===e.id}getCurrentGqlRepoAuthority(e,t){return`${this.getCurrentRepoAuthority(e,t)}:${this.GRAPHQL_REPO_AUTHORITY}`}getOverallGqlRepoAuthority(e){return`${this.getOverallRepoAuthority(e)}:${this.GRAPHQL_REPO_AUTHORITY}`}getLocationSpecificId(e){return e.location?`${e.id}@${e.location}`:e.id}getCurrentRepoAuthority(e,t){return`${e}_REPO_${t}`}getOverallRepoAuthority(e){return`${e}_REPO_*`}}class nt extends _e{SELECTED_REPOSITORY="selectedRepository";REPOSITORY_LIST="repositoryList";updateSelectedRepository(e){const t=y.get(Le),s=this.findRepository(e);this.validatePropertyChange(this.SELECTED_REPOSITORY,s).then(r=>{r&&(s?t.setRepositoryReference(s.toRepositoryReference()):e||t.removeRepositoryReference(),this.updateContextProperty(this.SELECTED_REPOSITORY,s))})}getSelectedRepository(){return this.getContextPropertyValue(this.SELECTED_REPOSITORY)}onSelectedRepositoryChanged(e,t){return this.subscribe(this.SELECTED_REPOSITORY,e,t)}updateRepositoryList(e){return this.updateContextProperty(this.REPOSITORY_LIST,e)}getRepositoryList(){return this.getContextPropertyValue(this.REPOSITORY_LIST)||new o([])}onRepositoryListChanged(e){return this.subscribe(this.REPOSITORY_LIST,e)}findRepository(e){if(e)return this.getRepositoryList().findRepository(e.id,e.location)}}class ot extends je{getActiveRepositoryLocation(){return this.get("rest/locations/active")}}class at extends O{mapToModel(e){return new h(e)}}class ut{constructor(){this.locationRestService=y.get(ot),this.repositoryLocationMapper=C.get(at)}getActiveRepositoryLocation(){return this.locationRestService.getActiveRepositoryLocation().then(this.repositoryLocationMapper.mapToModel)}}class ct extends _e{ACTIVE_REPOSITORY_LOCATION="activeRepositoryLocation";IS_LOADING="isLoading";updateActiveRepositoryLocation(e){this.updateContextProperty(this.ACTIVE_REPOSITORY_LOCATION,e)}onActiveLocationChanged(e){return this.subscribe(this.ACTIVE_REPOSITORY_LOCATION,e)}updateIsLoading(e){this.updateContextProperty(this.IS_LOADING,e)}onIsLoadingChanged(e){return this.subscribe(this.IS_LOADING,e)}}class lt extends je{getLicense(){return this.get("rest/graphdb-settings/license")}}class ht extends O{mapToModel(e){return new w(e)}}class pt extends _e{GRAPHDB_LICENSE="graphDbLicense";updateGraphdbLicense(e){this.updateContextProperty(this.GRAPHDB_LICENSE,e)}onLicenseChanged(e){return this.subscribe(this.GRAPHDB_LICENSE,e)}getLicense(){return this.getContextPropertyValue(this.GRAPHDB_LICENSE)}}class gt{licenseRestService=y.get(lt);licenseMapper=y.get(ht);trackableProductTypes=["free","sandbox"];trackableTypesOfUse=["evaluation","this is an evaluation license"];getLicense(){return this.licenseRestService.getLicense().then(e=>this.licenseMapper.mapToModel(e))}isTrackableLicense(){const e=y.get(pt).getLicense(),t=e?.typeOfUse?.toLowerCase()||"",s=e?.productType?.toLowerCase()||"";return!e?.present||this.trackableProductTypes.includes(s)||this.trackableTypesOfUse.includes(t)}}class dt extends _e{PRODUCT_INFO="productInfo";updateProductInfo(e){this.updateContextProperty(this.PRODUCT_INFO,e)}onProductInfoChanged(e){return this.subscribe(this.PRODUCT_INFO,e)}}class Et extends O{mapToModel(e){return new V(e)}}class At extends je{VERSION_URL="rest/info/version";getProductInfoLocal(){return this.get(`${this.VERSION_URL}?local=1`)}}class St{productInfoMapper=I(Et);productInfoService=I(At);async getProductInfoLocal(){const e=await this.productInfoService.getProductInfoLocal();return this.productInfoMapper.mapToModel(e)}}class Rt extends O{mapToModel(e){return new b(e)}}class Tt{constructor(e){this.notify=e}}class Ct{eventSubscribers=new Map;emit(t){const s=this.eventSubscribers.get(t.NAME);s&&s.forEach(s=>{s.notify(e.deepCopy(t.payload))})}subscribe(e,t){const s=new Tt(t),r=this.eventSubscribers.get(e);return r?r.push(s):this.eventSubscribers.set(e,[s]),()=>this.unsubscribe(e,s)}unsubscribe(e,t){const s=this.eventSubscribers.get(e);if(s){const r=s.indexOf(t);-1!==r&&s.splice(r,1),0===s.length&&this.eventSubscribers.delete(e)}}}class yt{constructor(e,t){this.setRegex(e),this.setRouteParams(t)}getRegex(){return this.regex}setRegex(e){return this.regex=e,this}getRouteParams(){return this.routeParams}setRouteParams(e){return this.routeParams=e,this}}class It{constructor(e){this._url=e.url,this._module=e.module,this._path=e.path,this._chunk=e.chunk,this._controller=e.controller,this._templateUrl=e.templateUrl,this._title=e.title,this._reloadOnSearch=e.reloadOnSearch,this._helpInfo=e.helpInfo,this._documentationUrl=e.documentationUrl,this._allowAuthorities=e.allowAuthorities}get url(){return this._url}set url(e){this._url=e}get module(){return this._module}set module(e){this._module=e}get path(){return this._path}set path(e){this._path=e}get chunk(){return this._chunk}set chunk(e){this._chunk=e}get controller(){return this._controller}set controller(e){this._controller=e}get templateUrl(){return this._templateUrl}set templateUrl(e){this._templateUrl=e}get title(){return this._title}set title(e){this._title=e}get reloadOnSearch(){return this._reloadOnSearch}set reloadOnSearch(e){this._reloadOnSearch=e}get helpInfo(){return this._helpInfo}set helpInfo(e){this._helpInfo=e}get documentationUrl(){return this._documentationUrl}set documentationUrl(e){this._documentationUrl=e}get allowAuthorities(){return this._allowAuthorities}set allowAuthorities(e){this._allowAuthorities=e}}class ft{routeConfig=ve.getWindow().PluginRegistry.get(ye.ROUTE);getActiveRoute(e=Ge()){const t=this.routeConfig.find(t=>this.routeToRegex(t.url).getRegex().test(e));return t?new It(t):void 0}routeToRegex(e){const t=[],r=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(e,s,r,i){const n="?"===i||"*?"===i,o="*"===i||"*?"===i;return t.push(r),s=s||"",(n?"(?:"+s:s+"(?:")+(o?"(.+?)":"([^/]+)")+(n?"?)?":")")}).replace(/([/$*])/g,"\\$1");return new yt(new RegExp("^"+r+"(?:[?#]|$)"),new s(t))}}class Ot{repositoryService=y.get(it);securityContextService=y.get(xe);login(){return"Authentication.login from the API"}logout(){y.get(Ct).emit(new R)}isLoggedIn(){const e=this.getSecurityConfig();return!(!e?.enabled||!e?.userLoggedIn)}isAuthenticated(){const e=this.getSecurityConfig(),t=this.getAuthenticatedUser();return!e?.enabled||t?.external||null!=y.get(be).getAuthToken().getValue()}hasFreeAccess(){const e=this.getSecurityConfig();return e?.enabled&&e?.freeAccessActive}hasRole(e){const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!e||!t?.enabled||!!(Object.keys(s||{}).length>0)&&(L.IS_AUTHENTICATED_FULLY===e||s?.authorities.hasAuthority(e))}isSecurityEnabled(){return!!this.getSecurityConfig()?.enabled}canReadRepo(e){if(!e||""===e.id)return!1;const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!t?.enabled||!!s&&(!!this.isAdminOrRepoManager()||!this.repositoryService.isSystemRepository(e)&&this.hasBaseRights(U.READ,e))}canReadGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(U.READ,e)}canWriteGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(U.WRITE,e)}hasGqlRights(e){return this.canReadGqlRepo(e)||this.canWriteGqlRepo(e)}hasAuthority(){if(this.hasRole(L.ROLE_ADMIN))return!0;const e=y.get(ft).getActiveRoute();if(!e)return!1;if(!e.allowAuthorities)return!0;if(!y.get(Le).getRepositoryReference()?.id)return!0;const t=this.getAuthenticatedUser();return!t||!e.allowAuthorities.length||this.resolveAuthorities(e.allowAuthorities).some(e=>t.authorities.hasAuthority(e))}resolveAuthorities(e){if(!e)return[];const t=y.get(Le).getRepositoryReference();return t?.id?[...e.map(e=>e.replace("{repoId}",t.id)),...e.map(e=>e.replace("{repoId}","*"))]:e}hasGraphqlAuthority(e,t){const s=this.securityContextService.getAuthenticatedUser();if(!s)return!1;const r=this.repositoryService.getLocationSpecificId(t),i=this.repositoryService.getCurrentGqlRepoAuthority(e,r),n=this.repositoryService.getOverallGqlRepoAuthority(e);return s.authorities.hasAuthority(i)||s.authorities.hasAuthority(n)}isAdminOrRepoManager(){return this.hasRole(L.ROLE_ADMIN)||this.hasRole(L.ROLE_REPO_MANAGER)}getSecurityConfig(){return y.get(xe).getSecurityConfig()}getAuthenticatedUser(){return y.get(xe).getAuthenticatedUser()}hasBaseRights(e,t){const s=this.repositoryService.getLocationSpecificId(t),r=this.repositoryService.getCurrentRepoAuthority(e,s),i=this.repositoryService.getOverallRepoAuthority(e),n=this.getAuthenticatedUser();return!(!n?.authorities.hasAuthority(r)&&!n?.authorities.hasAuthority(i))}}class _t extends O{mapToModel(e){return new m(e)}}class mt extends je{SECURITY_ENDPOINT="rest/security";updateUserData(e){return this.patch(`${this.SECURITY_ENDPOINT}/users/${this.encodeURIComponentStrict(e.username)}`,{appSettings:e.appSettings})}getSecurityConfig(){return this.get(`${this.SECURITY_ENDPOINT}/all`)}getAuthenticatedUser(){return this.get(`${this.SECURITY_ENDPOINT}/authenticated-user`)}}class Pt{securityRestService=y.get(mt);securityContextService=y.get(xe);updateUserData(e){return this.securityRestService.updateUserData(e).then(()=>this.securityContextService.updateAuthenticatedUser(e))}getSecurityConfig(){return this.securityRestService.getSecurityConfig().then(e=>C.get(Rt).mapToModel(e))}getAuthenticatedUser(){return this.securityRestService.getAuthenticatedUser().then(e=>C.get(_t).mapToModel(e))}}class Nt extends O{mapToModel(e){return new v(e)}}const bt="cookie-consent-changed-event";class Lt{eventEmitter=new Ke;acceptCookiePolicy(){const e=this.setAcceptedCookiePolicy();return y.get(Pt).updateUserData(e).then(()=>{this.eventEmitter.emit({NAME:bt,payload:e.appSettings.COOKIE_CONSENT})})}setAcceptedCookiePolicy(){const e=y.get(xe).getAuthenticatedUser()||new m({});let t;return t=e.appSettings?.COOKIE_CONSENT?new F(e.appSettings.COOKIE_CONSENT):new F({thirdParty:!0,statistic:!0}),t.policyAccepted=!0,t.updatedAt=Date.now(),e.appSettings.COOKIE_CONSENT=t,e}}class xt extends je{MONITORING_ENDPOINT="rest/monitor";getOperations(e){return this.get(`${this.MONITORING_ENDPOINT}/repository/${e}/operations`)}}const vt={[z.CLUSTER_HEALTH]:0,[z.BACKUP_AND_RESTORE]:1,[z.IMPORT]:2,[z.QUERIES]:3,[z.UPDATES]:4};class Ut extends O{mapToModel(e){return new Q(e.map(e=>new te(e)).sort((e,t)=>vt[e.type]-vt[t.type]))}}class Dt extends O{mapToModel(e){return new j({status:e.status,allRunningOperations:C.get(Ut).mapToModel(e.allRunningOperations||[])})}}class wt{getOperations(e){return y.get(xt).getOperations(e).then(e=>C.get(Dt).mapToModel(e))}}class Mt extends O{mapToModel(e){return new se(e)}}class Gt{eventEmitter=new Ke;error(e,t){this.createToastElement(e,oe.ERROR,t)}info(e,t){this.createToastElement(e,oe.INFO,t)}success(e,t){this.createToastElement(e,oe.SUCCESS,t)}warning(e,t){this.createToastElement(e,oe.WARNING,t)}createToastElement(e,t,s){this.eventEmitter.emit({NAME:ce,payload:new ue(t,e,s)})}}class Vt extends je{autocompleteRestPrefix="rest/autocomplete";search(e){return this.get(`${this.autocompleteRestPrefix}/query?q=${e}`)}enabled(){return this.get(`${this.autocompleteRestPrefix}/enabled`)}}class kt extends O{mapToModel(e){return new de(e.map(e=>new Ae({...e,id:ae.hashCode(`${e.type}-${e.value}-${e.description}`)})))}}class $t extends O{mapToModel(e){return new Ee({...e,suggestionList:C.get(kt).mapToModel(e.suggestions)})}}class Bt{search(e){return y.get(Vt).search(e).then(e=>C.get($t).mapToModel(e))}isAutocompleteEnabled(){return y.get(Vt).enabled()}}class Yt extends Pe{ENABLED_KEY="enabled";NAMESPACE="autocomplete";set(e,t){this.storeValue(e,t)}isEnabled(){return"true"===this.get(this.ENABLED_KEY).value}setEnabled(e){this.set(this.ENABLED_KEY,e.toString())}}class Ht extends _e{AUTOCOMPLETE_ENABLED="isAutocompleteEnabled";updateAutocompleteEnabled(e){this.updateContextProperty(this.AUTOCOMPLETE_ENABLED,e),y.get(Yt).setEnabled(e)}onAutocompleteEnabledChanged(e){return this.subscribe(this.AUTOCOMPLETE_ENABLED,e)}}class Ft extends O{mapToModel(e){const t=e?.results.bindings||[];return new l(t.reduce((e,t)=>(e[t.prefix.value]=t.namespace.value,e),{}))}}class Kt extends je{REPOSITORIES_ENDPOINT="repositories";getNamespaces(e){return this.get(`${this.REPOSITORIES_ENDPOINT}/${e}/namespaces`)}}class qt{namespaceMapper=C.get(Ft);namespacesRestService=y.get(Kt);getNamespaces(e){return this.namespacesRestService.getNamespaces(e).then(e=>this.namespaceMapper.mapToModel(e))}}class Wt extends _e{NAMESPACES="namespaces";updateNamespaces(e){this.updateContextProperty(this.NAMESPACES,e)}onNamespacesChanged(e){return this.subscribe(this.NAMESPACES,e)}}class jt extends Pe{SELECTED_VIEW_KEY="selectedView";INPUT_KEY="input";LAST_SELECTED_KEY="lastSelected";NAMESPACE="resourceSearch";LEGACY_LAST_SELECTED_KEY="ls.rdf-search.resource-description";LEGACY_INPUT_KEY="ls.rdf-search.search-input";LEGACY_SELECTED_VIEW_KEY="ls.rdf-search.search-type";set(e,t){this.storeValue(e,t)}setSelectedView(e){this.set(this.SELECTED_VIEW_KEY,e),localStorage.setItem(this.LEGACY_SELECTED_VIEW_KEY,e)}getSelectedView(){return this.get(this.SELECTED_VIEW_KEY).getValue()||""}setInputValue(e){this.set(this.INPUT_KEY,e),localStorage.setItem(this.LEGACY_INPUT_KEY,e)}getInputValue(){return this.get(this.INPUT_KEY).getValue()||""}setLastSelected(e){this.set(this.LAST_SELECTED_KEY,e.getValue()),localStorage.setItem(this.LEGACY_LAST_SELECTED_KEY,e.getDescription()||"")}getLastSelectedValue(){return this.get(this.LAST_SELECTED_KEY).getValue()||""}clearStoredSearch(){this.remove(this.INPUT_KEY),this.remove(this.LAST_SELECTED_KEY),localStorage.removeItem(this.LEGACY_INPUT_KEY),localStorage.removeItem(this.LEGACY_LAST_SELECTED_KEY)}}class Qt extends _e{PREVIOUS_ROUTE="previousRoute";updatePreviousRoute(e){this.updateContextProperty(this.PREVIOUS_ROUTE,e)}getPreviousRoute(){let e=this.getContextPropertyValue(this.PREVIOUS_ROUTE);return e?.endsWith("#")&&(e=e.slice(0,-1)),e}}class zt extends _e{APPLICATION_DATA_STATE="applicationDataLoaded";updateApplicationDataState(e){this.updateContextProperty(this.APPLICATION_DATA_STATE,e)}onApplicationDataStateChanged(e){return this.subscribe(this.APPLICATION_DATA_STATE,e)}}class Jt extends _e{APPLICATION_CONFIGURATION="applicationConfiguration";updateApplicationConfiguration(e){this.updateContextProperty(this.APPLICATION_CONFIGURATION,e)}getApplicationConfiguration(){return this.getContextPropertyValue(this.APPLICATION_CONFIGURATION)}}class Xt extends je{configurationContextService=I(Jt);getPluginsManifest(){const e=this.configurationContextService.getApplicationConfiguration();return this.get(e.pluginsManifestPath)}async loadPlugins(e){return await Promise.all(e.getPluginDefinitions().getItems().map(async e=>{try{const t=e.entry.startsWith("http")?e.entry:`${Ve()}${e.entry}`;return await import(t)}catch(t){console.warn(`Failed to load plugin ${e.name}:`,t)}}))}}class Zt extends O{mapToModel(e){const t=new Ie(e.plugins);return new Ce(t)}}class es{constructor(){this.pluginsRestService=y.get(Xt),this.pluginsManifestMapper=new Zt}async getPluginsManifest(){const e=await this.pluginsRestService.getPluginsManifest();return this.pluginsManifestMapper.mapToModel(e)}async loadPlugins(){let e;try{e=await this.getPluginsManifest()}catch(e){console.warn("Failed to load plugins manifest. Continue with the built-in plugins only.",e)}e&&(await this.pluginsRestService.loadPlugins(e)).filter(e=>void 0!==e).forEach(e=>{void 0!==e.register?e.register(ve.getPluginRegistry()):console.warn("Plugin module is missing the register method. Skipping registration.",e)})}}const ts=JSON.parse('{"configUrl":"assets/configuration.default.json"}');class ss extends Error{constructor(e){super(),this.text=e}get message(){return`${this.constructor.name}: ${this.text}`}}class rs extends ss{}class is extends je{async getConfiguration(){let e,t=ts;try{t=await this.get("assets/env.json")}catch{console.warn('No downloadable "env.json" was found. Fallback to default:',t)}try{if(e=await this.get(t.configUrl),e)return console.debug(`Configuration file ${t.configUrl} was downloaded`,e),e}catch{throw new rs(`Failed to download configuration from "${t.configUrl}". Ensure that there is a\n "configuration.default.json" JSON file in the assets folder or provide an "env.json" file pointing to another\n configuration file.`)}}}class ns{constructor(){this.configurationRestService=y.get(is)}async getConfiguration(){const e=await this.configurationRestService.getConfiguration();return e&&y.get(Jt).updateApplicationConfiguration(e),e}}class os{static isDevMode(){return ve.getWindow().wbDevMode}}class as{static ABS_URI_REGEX=/^<?(http|urn).*>?/;static GRAPHS_VISUALIZATIONS_URL="graphs-visualizations";static RESOURCE_URL="resource";static BASE_DOCUMENTATION_URL="https://graphdb.ontotext.com/documentation/";static LATEST_UNOFFICIAL_VERSION="master";static shortenIri(e){const t=document.createElement("a");t.href=e;let s=t.hostname;return as.containsIPV4(t.hostname)||(s=t.hostname.split(".")[0]),s+":"+t.port}static containsIPV4(e){const t=e.split(".");for(let e=0,s=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?s++:s=0,4===s)return!0;return!1}static createAutocompleteRedirect(e,t){return`${e}?uri=${encodeURIComponent(t)}`}static removeAngleBrackets(e){return e?.startsWith("<")&&e?.endsWith(">")?e.substring(1,e.length-1):e}static isValidUri(e){let t=!1;if(this.hasValidProtocol(e))if(e.indexOf("http")>=0){const s=e.indexOf("//");t=s>4&&e.substring(s+2).length>0}else e.indexOf("urn")>=0&&(t=e.substring(4).length>0);return t}static resolveDocumentationUrl(e,t){if(!e||!t)throw new Error("Product version and endpoint path are required for documentation URL resolution.");const s=e.includes("-"),r=os.isDevMode()||s?this.LATEST_UNOFFICIAL_VERSION:e;return`${this.BASE_DOCUMENTATION_URL}${r}/${t}`}static hasAngleBrackets(e){return e.startsWith("<")&&e.endsWith(">")}static hasNoAngleBrackets(e){return!e.startsWith("<")&&!e.endsWith(">")}static hasValidProtocol(e){return this.ABS_URI_REGEX.test(e)&&(this.hasNoAngleBrackets(e)||this.hasAngleBrackets(e))}}class us{fibo1=0;fibo2=1;next(){const e=this.fibo2;return this.fibo2=this.fibo1+this.fibo2,this.fibo1=e,e}reset=()=>{this.fibo1=0,this.fibo2=1}}export{zt as ApplicationLifecycleContextService,m as AuthenticatedUser,_t as AuthenticatedUserMapper,Ot as AuthenticationService,be as AuthenticationStorageService,T as AuthenticationType,L as Authority,f as AuthorityList,Ht as AutocompleteContextService,Ee as AutocompleteSearchResult,Bt as AutocompleteService,Yt as AutocompleteStorageService,B as AvailableLanguagesList,os as BuildUtil,bt as COOKIE_CONSENT_CHANGED_EVENT,ce as CREATE_TOAST_EVENT,M as Capability,G as CapabilityList,is as ConfigurationRestService,ns as ConfigurationService,_e as ContextService,Oe as ContextSubscriptionManager,F as CookieConsent,Lt as CookieService,ss as ErrorBase,g as Event,Ke as EventEmitter,d as EventName,Ct as EventService,ye as ExtensionPoint,us as FibonacciGenerator,We as HTTP_REQUEST_DONE_EVENT,H as LanguageConfig,Xe as LanguageContextService,Qe as LanguageRestService,Ze as LanguageService,Je as LanguageStorageService,w as License,pt as LicenseContextService,gt as LicenseService,Te as LifecycleState,Pe as LocalStorageService,Ne as LocalStorageSubscriptionHandlerService,R as Logout,C as MapperProvider,t as Model,s as ModelList,xt as MonitoringRestService,wt as MonitoringService,l as NamespaceMap,Wt as NamespacesContextService,qt as NamespacesService,Qt as NavigationContextService,E as NavigationEnd,A as NavigationEndPayload,S as NavigationStart,e as ObjectUtil,Gt as OntoToastrService,v as OpenIdConfig,Nt as OpenidConfigMapper,te as Operation,J as OperationGroup,W as OperationGroupSummary,se as OperationGroupSummaryList,Mt as OperationGroupSummaryListMapper,Q as OperationList,K as OperationStatus,j as OperationStatusSummary,Dt as OperationSummaryMapper,z as OperationType,Ie as PluginDefinitionList,Ce as PluginsManifest,Xt as PluginsRestService,es as PluginsService,V as ProductInfo,dt as ProductInfoContextService,St as ProductInfoService,i as Repository,nt as RepositoryContextService,o as RepositoryList,st as RepositoryListMapper,h as RepositoryLocation,ct as RepositoryLocationContextService,ut as RepositoryLocationService,p as RepositoryLocationType,et as RepositoryRestService,it as RepositoryService,a as RepositorySizeInfo,u as RepositoryState,Le as RepositoryStorageService,c as RepositoryType,jt as ResourceSearchStorageService,x as RestrictedPages,U as Rights,q as STATUS_ORDER,ge as SearchButton,pe as SearchButtonConfig,he as SearchButtonList,b as SecurityConfig,Rt as SecurityConfigMapper,xe as SecurityContextService,Pt as SecurityService,y as ServiceProvider,k as StorageData,$ as StorageKey,r as SubscriptionList,Ae as Suggestion,de as SuggestionList,kt as SuggestionListMapper,Re as SuggestionSelectedPayload,Se as SuggestionType,ue as ToastMessage,le as ToastMessageList,oe as ToastType,ne as ToastrConfig,re as ToastrPosition,as as UriUtil,ve as WindowService,ke as getContextName,$e as getCurrentRoute,Ve as getOrigin,Ge as getPathName,Me as isHomePage,De as navigate,Ue as navigateTo,we as openInNewTab,I as service};
1
+ class e{static deepEqual(t,s){if(t===s)return!0;if(null==t||null==s)return!1;if("object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;if(Array.isArray(t)&&Array.isArray(s)){if(t.length!==s.length)return!1;for(let r=0;r<t.length;r++)if(!e.deepEqual(t[r],s[r]))return!1;return!0}if(!Array.isArray(t)&&!Array.isArray(s)){const r=Object.keys(t),i=Object.keys(s);if(r.length!==i.length)return!1;for(const i of r)if(!(i in s)||!e.deepEqual(t[i],s[i]))return!1;return!0}return!1}return!1}static deepCopy(t){if("object"!=typeof t||null==t||"function"==typeof t)return t;if(Array.isArray(t))return t.map(t=>e.deepCopy(t));const s=Object.create(Object.getPrototypeOf(t));for(const r of Object.keys(t))s[r]=e.deepCopy(t[r]);return s}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class t{copy(){return e.deepCopy(this)}}class s extends t{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class r extends s{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}class i extends t{constructor(e){super(),this.id=e?.id||"",this.title=e?.title||"",this.type=e?.type,this.sesameType=e?.sesameType,this.uri=e?.uri||"",this.externalUrl=e?.externalUrl||"",this.location=e?.location||"",this.state=e?.state,this.local=e?.local,this.readable=e?.readable,this.writable=e?.writable,this.unsupported=e?.unsupported,this.isNew=e?.isNew}toRepositoryReference(){return{id:this.id,location:this.location}}}const n=(e,t)=>{const s=e.location.localeCompare(t.location);return 0!==s?s:e.id.localeCompare(t.id)};class o extends s{constructor(e){super(e)}findRepository(e,t){return super.find(s=>s.id===e&&s.location===t)}sortByLocationAndId(){super.sort(n)}filterByRepository(e){return super.filter(this.createIdLocationFilter(e))}createIdLocationFilter(e){return t=>e.some(e=>e.id!==t.id||e.location!==t.location)}}class a extends t{constructor(e){super(),this.inferred=e?.inferred||0,this.total=e?.total||0,this.explicit=e?.explicit||0}}let u=function(e){return e.INACTIVE="INACTIVE",e.STARTING="STARTING",e.RUNNING="RUNNING",e.RESTARTING="RESTARTING",e.STOPPING="STOPPING",e}({}),c=function(e){return e.GRAPH_DB="graphdb",e.ONTOP="ontop",e.FEDEX="fedex",e.SYSTEM="system",e}({});class l{constructor(e){this.setNamespaces(e)}setNamespaces(e){this.namespaces=e}getByPrefix(e){return this.namespaces[e]||""}}class h extends t{constructor(e){super(),this.uri=e?.uri||"",this.label=e?.label||"",this.username=e?.username||"",this.password=e?.password||"",this.authType=e?.authType,this.locationType=e?.locationType,this.active=e?.active,this.local=e?.local,this.system=e?.system,this.errorMsg=e?.errorMsg||"",this.defaultRepository=e?.defaultRepository||""}}let p=function(e){return e.GDB="GDB",e.ONTOPIC="ONTOPIC",e.SPARQL="SPARQL",e}({});class g{constructor(e,t){this.NAME=e,this.payload=t}}const d={NAVIGATION_END:"navigationEnd",NAVIGATION_START:"navigationStart",LOGOUT:"logout",APP_DATA_LOADED:"applicationDataLoaded"};class E extends g{constructor(e,t){super(d.NAVIGATION_END,{oldUrl:e,newUrl:t})}}class A{}class S extends g{constructor(e,t,s){super(d.NAVIGATION_START,{oldUrl:e,newUrl:t,cancelNavigation:s})}}class R extends g{constructor(){super(d.LOGOUT)}}let T=function(e){return e.NONE="NONE",e.BASIC="BASIC",e.SIGNATURE="SIGNATURE",e}({});class C{static MAPPER_INSTANCES=new Map;static get(e){const t=e.name;if(!C.MAPPER_INSTANCES.has(t)){const s=new e;C.MAPPER_INSTANCES.set(t,s)}return C.MAPPER_INSTANCES.get(t)}}class y{static SERVICE_INSTANCES=new Map;static get(e){if(!y.SERVICE_INSTANCES.has(e.name)){const t=new e;y.implementsLifecycleHooks(t)&&t.onCreated?.(),y.SERVICE_INSTANCES.set(e.name,t)}return this.SERVICE_INSTANCES.get(e.name)}static implementsLifecycleHooks(e){return"object"==typeof e&&"function"==typeof e.onCreated}static getAllBySuperType(e){return Array.from(y.SERVICE_INSTANCES.values()).filter(t=>t instanceof e)}}function I(e){return y.get(e)}class f extends s{constructor(e){super(e)}hasAuthority(e){return this.items.includes(e)}}class O{}class _ extends O{mapToModel(e){return new f(e)}}class m extends t{constructor(e){super(),this.external=e?.external??!1,this.username=e?.username??"",this.password=e?.password??"",this.authorities=C.get(_).mapToModel(e?.authorities),this.appSettings=e?.appSettings??{}}}class P extends t{constructor(e){super(),this.appSettings=e.appSettings,this.authorities=C.get(_).mapToModel(e.authorities),this.enabled=e.enabled}}class N extends O{mapToModel(e){return new P(e)}}class b extends t{constructor(e){super(),this.authImplementation=e.authImplementation,this.enabled=e.enabled,this.passwordLoginEnabled=e.passwordLoginEnabled,this.freeAccess=C.get(N).mapToModel(e.freeAccess),this.overrideAuth=C.get(N).mapToModel(e.overrideAuth),this.openIdEnabled=e.openIdEnabled,this.userLoggedIn=e.userLoggedIn,this.freeAccessActive=e.freeAccessActive,this.hasExternalAuthUser=e.hasExternalAuthUser}}let L=function(e){return e.ROLE_ADMIN="ROLE_ADMIN",e.ROLE_USER="ROLE_USER",e.ROLE_MONITORING="ROLE_MONITORING",e.ROLE_REPO_MANAGER="ROLE_REPO_MANAGER",e.ROLE_CLUSTER="ROLE_CLUSTER",e.IS_AUTHENTICATED_FULLY="IS_AUTHENTICATED_FULLY",e}({});class x extends t{pages={};isRestricted(e){return this.pages[e]??!1}setPageRestriction(e,t=!0){return this.pages[e]=t,this}}class v extends t{constructor(e){super(),this.openIdKeys=e.openIdKeys,this.openIdTokenUrl=e.openIdTokenUrl,this.openIdKeysUri=e.openIdKeysUri,this.openIdEndSessionUrl=e.openIdEndSessionUrl,this.supportsOfflineAccess=e.supportsOfflineAccess}}let U=function(e){return e.READ="READ",e.WRITE="WRITE",e}({});class D extends O{mapToModel(e){return new G(e)}}class w extends t{constructor(e){super(),this.expiryDate=e.expiryDate,this.latestPublicationDate=e.latestPublicationDate,this.licensee=e.licensee||"",this.maxCpuCores=e.maxCpuCores,this.product=e.product||"",this.productType=e.productType||"",this.licenseCapabilities=C.get(D).mapToModel(e.licenseCapabilities),this.version=e.version||"",this.installationId=e.installationId||"",this.valid=e.valid,this.typeOfUse=e.typeOfUse||"",this.message=e.message||"",this.present=e.present||!1,this.usageRestriction=e.usageRestriction||""}get expiryDate(){return this._expiryDate}set expiryDate(e){this._expiryDate=e}get latestPublicationDate(){return this._latestPublicationDate}set latestPublicationDate(e){this._latestPublicationDate=e}get licensee(){return this._licensee}set licensee(e){this._licensee=e}get maxCpuCores(){return this._maxCpuCores}set maxCpuCores(e){this._maxCpuCores=e}get product(){return this._product}set product(e){this._product=e}get productType(){return this._productType}set productType(e){this._productType=e}get licenseCapabilities(){return this._licenseCapabilities}set licenseCapabilities(e){this._licenseCapabilities=e}get version(){return this._version}set version(e){this._version=e}get installationId(){return this._installationId}set installationId(e){this._installationId=e}get valid(){return this._valid}set valid(e){this._valid=e}get typeOfUse(){return this._typeOfUse}set typeOfUse(e){this._typeOfUse=e}get message(){return this._message}set message(e){this._message=e}get present(){return this._present}set present(e){this._present=e}get usageRestriction(){return this._usageRestriction}set usageRestriction(e){this._usageRestriction=e}}let M=function(e){return e.LUCENE_CONNECTOR="Lucene connector",e.SOLR_CONNECTOR="Solr connector",e.ELASTICSEARCH_CONNECTOR="Elasticsearch connector",e.OPENSEARCH_CONNECTOR="OpenSearch connector",e.KAFKA_CONNECTOR="Kafka connector",e.CLUSTER="Cluster",e}({});class G extends s{constructor(e){super(e)}}class V{constructor(e){this.workbench=e.Workbench||"",this.productType=e.productType||"",this.productVersion=e.productVersion||"",this.sesame=e.sesame||"",this.connectors=e.connectors||"",this.shortVersion=this.resolveShortVersion(e)}resolveShortVersion(e){const t=e.productVersion;if(!t)return"";const s=/^(\d+\.\d+)/.exec(t),r=s?.[1]??t,i=/(-[^-]+)/.exec(t);return r+(i?.[1]??"")}}class k{constructor(e){this.value=e}getValue(){return this.value}getValueOrDefault(e){return this.value||e}getAsJson(){if(null===this.value)return null;try{return JSON.parse(this.value)}catch(e){return console.error("Error parsing JSON",e),null}}}class ${static GLOBAL_NAMESPACE="ontotext.gdb"}class B{constructor(e){this.languages=e}getLanguageCodes(){return this.languages?.map(e=>e.key)}}class Y extends O{mapToModel(e){return new B(e)}}class H extends t{constructor(e){super(),this.defaultLanguage=e.defaultLanguage,this.availableLanguages=C.get(Y).mapToModel(e.availableLanguages)}}class F{constructor(e){this.policyAccepted=e?.policyAccepted,this.statistic=e?.statistic,this.thirdParty=e?.thirdParty,this.updatedAt=e?.updatedAt}}let K=function(e){return e.INFORMATION="INFORMATION",e.WARNING="WARNING",e.CRITICAL="CRITICAL",e}({});const q={[K.INFORMATION]:0,[K.WARNING]:1,[K.CRITICAL]:2};class W extends t{constructor(e){super(),this.id=`${e.group}-${e.status}-${e.totalOperations}`,this.group=e.group,this.totalOperations=e.totalOperations,this.status=e.status}}class j extends t{constructor(e){super(),this.status=e.status||K.INFORMATION,this.allRunningOperations=e.allRunningOperations}toOperationsGroupSummary(){const e=new Map;return this.allRunningOperations.getItems().forEach(t=>{e.has(t.group)||e.set(t.group,new W({group:t.group,totalOperations:0,status:K.INFORMATION}));const s=e.get(t.group);s.totalOperations+=t.count,q[t.status]>q[s.status]&&(s.status=t.status)}),Array.from(e.values())}}class Q extends s{constructor(e){super(e)}}let z=function(e){return e.UPDATES="updates",e.QUERIES="queries",e.IMPORT="imports",e.BACKUP_AND_RESTORE="backupAndRestore",e.CLUSTER_HEALTH="clusterHealth",e}({}),J=function(e){return e.QUERY="QUERY",e.BACKUP="BACKUP",e.CLUSTER="CLUSTER",e.IMPORT="IMPORT",e}({});const X=[z.QUERIES,z.UPDATES,z.IMPORT],Z={[z.UPDATES]:"monitor/queries",[z.QUERIES]:"monitor/queries",[z.BACKUP_AND_RESTORE]:"monitor/backup-and-restore",[z.IMPORT]:"import",[z.CLUSTER_HEALTH]:"cluster"},ee={[z.QUERIES]:J.QUERY,[z.UPDATES]:J.QUERY,[z.BACKUP_AND_RESTORE]:J.BACKUP,[z.IMPORT]:J.IMPORT,[z.CLUSTER_HEALTH]:J.CLUSTER};class te extends t{constructor(e){super(),this.id=`${e.status}-${e.type}-${e.value}`,this.value=e.value,this.status=e.status,this.type=e.type,this.count=this.getCount(e),this.group=ee[e.type],this.href=Z[e.type],this.labelKey=this.getLabelKey(e)}getCount(e){return X.includes(e.type)?parseInt(e.value,10):0}getLabelKey(e){return X.includes(e.type)?e.type:e.value}}class se extends s{constructor(e){super(e)}}let re=function(e){return e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_LEFT="bottom-left",e}({});class ie{constructor(e){this.timeout=e?.timeout||5e3,this.onClick=e?.onClick,this.removeOnClick=e?.removeOnClick||!1}}class ne extends ie{constructor(e){super(),this.timeout=e.timeout,this.position=e.position}static getDefaultConfig(){return this.instance||(this.instance=new ne({timeout:5e3,position:re.BOTTOM_RIGHT})),this.instance}}let oe=function(e){return e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e}({});class ae{static uuid(){const e=16;let t=(new Date).getTime(),s=1e3*(performance?.now()??0);return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let i=Math.random()*e;return t>0?(i=(t+i)%e|0,t=Math.floor(t/e)):(i=(s+i)%e|0,s=Math.floor(s/e)),("x"===r?i:3&i|8).toString(e)})}static hashCode(e){let t=0;for(let s=0,r=e.length;s<r;s++)t=(t<<5)-t+e.charCodeAt(s),t|=0;return t}}class ue{constructor(e,t,s){this.id=ae.uuid(),this.type=e,this.message=t,this.config=s}}const ce="create-toast-event";class le extends s{constructor(e){super(e)}}class he extends s{constructor(e){super(e)}}class pe extends t{constructor(e){super(),this.setRadio(e.isRadio),this.setButtons(new he(e.buttons))}getButtons(){return this.buttons}setButtons(e){this.buttons=e}isRadio(){return this.radio}setRadio(e){this.radio=e}selectButton(e){return this.isRadio()&&!e.selected&&(this.deselectAll(),e.selected=!0,e.callback()),this.copy()}deselectAll(){this.buttons.getItems().forEach(e=>e.selected=!1)}}class ge extends t{constructor(e){super(),this.id=e.id,this.label=e.label,this.selected=e.selected,this.callback=e.callback}}class de extends s{constructor(e){super(e)}}class Ee extends t{constructor(e){super(),this.setSuggestions(e.suggestionList)}getSuggestions(){return this._suggestions}setSuggestions(e){this._suggestions=e}hoverFirstSuggestion(){return this.hoverSuggestion(this.getSuggestions().getItems()[0])}hoverSuggestion(e){return e&&(this.clearHoveredState(),e.setHovered(!0)),this.copy()}selectSuggestion(e){return e&&(this.clearSelectedState(),e.setSelected(!0)),this.copy()}getHoveredSuggestion(){return this.getSuggestions().getItems().find(e=>e.isHovered())}hoverPreviousSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e>0&&(this.clearHoveredState(),this.getSuggestions().getItems()[e-1].setHovered(!0)),this.copy()}hoverNextSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e<this.getSuggestions().getItems().length-1&&(this.clearHoveredState(),this.getSuggestions().getItems()[e+1].setHovered(!0)),this.copy()}clearSuggestions(){return this.setSuggestions(new de),this.copy()}getByValue(e){return this.getSuggestions().getItems().find(t=>t.getValue()===e)}clearSelectedState(){this.getSuggestions().getItems().forEach(e=>e.setSelected(!1))}clearHoveredState(){this.getSuggestions().getItems().forEach(e=>e.setHovered(!1))}}class Ae extends t{overrideToVisual=!1;constructor(e){super(),this.setId(e.id),this.setType(e.type),this.setValue(e.value),this.setDescription(e.description)}getId(){return this._id}setId(e){this._id=e}getType(){return this._type}setType(e){this._type=e}getValue(){return this._value}setValue(e){this._value=e}getDescription(){return this._description}setDescription(e){this._description=e}isHovered(){return this._hovered}setHovered(e){this._hovered=e}isSelected(){return this._selected}setSelected(e){this._selected=e}getOverrideToVisual(){return this.overrideToVisual}setOverrideToVisual(e){this.overrideToVisual=e}}let Se=function(e){return e.URI="uri",e.PREFIX="prefix",e}({});class Re{constructor(e,t){this.setSuggestion(e),this.setContext(t)}getSuggestion(){return this.suggestion}getContext(){return this.context}setContext(e){this.context=e}setSuggestion(e){this.suggestion=e}}let Te=function(e){return e.DATA_LOADED="DATA_LOADED",e}({});class Ce extends t{constructor(e){super(),this._pluginDefinitions=e}getPluginDefinitions(){return this._pluginDefinitions}}let ye=function(e){return e.ROUTE="route",e.MAIN_MENU="main.menu",e}({});class Ie extends s{constructor(e){super(e)}}class fe{callbackFunctions=[];beforeChangeValidationPromises=[];afterValueChangeCallbackFunctions=[];setValue(t){e.deepEqual(this.value,t)||(this.value=this.getCopy(t),this.callbackFunctions.forEach(e=>e(this.getValue())),this.afterValueChangeCallbackFunctions.forEach(e=>e(this.getValue())))}getValue(){return this.getCopy(this.value)}subscribe(e,t,s){return this.callbackFunctions.push(e),t&&this.beforeChangeValidationPromises.push(t),s&&this.afterValueChangeCallbackFunctions.push(s),()=>{this.callbackFunctions=this.callbackFunctions.filter(t=>t!==e),this.beforeChangeValidationPromises=this.beforeChangeValidationPromises.filter(e=>e!==t),this.afterValueChangeCallbackFunctions=this.afterValueChangeCallbackFunctions.filter(e=>e!==s)}}async canUpdate(e){if(0===this.beforeChangeValidationPromises.length)return!0;const t=this.beforeChangeValidationPromises.map(t=>t(e));try{return(await Promise.all(t)).every(e=>e)}catch{return!1}}getCopy(t){if(null!=t)return e.hasCopyMethod(t)?t.copy():e.deepCopy(t)}}class Oe{subscribers=[];unsubFns=new r;subscribeToService(e){const t=this.subscribers.map(t=>e.subscribeAll(t.callback,t.beforeChangeValidationPromise,t.afterChangeCallback));return this.unsubFns.addAll(t),()=>t.forEach(e=>e())}subscribeToAllRegisteredContexts(e,t,s){const r=y.getAllBySuperType(_e).filter(e=>e.canSubscribeAll);for(const i of r)this.unsubFns.add(i.subscribeAll(e,t,s));const i={callback:e,beforeChangeValidationPromise:t,afterChangeCallback:s};this.subscribers.push(i);let n=!1;return()=>{if(n)return;n=!0,this.unsubFns.unsubscribeAll();const e=this.subscribers.indexOf(i);e>=0&&this.subscribers.splice(e,1)}}}class _e{context=new Map;_canSubscribeAll=!1;onCreated(){this._canSubscribeAll=!0,y.get(Oe).subscribeToService(this)}updateContextProperty(e,t){this.getOrCreateValueContext(e).setValue(t)}validatePropertyChange(e,t){return this.getOrCreateValueContext(e).canUpdate(t)}getContextPropertyValue(e){const t=this.context.get(e);return t?t.getValue():void 0}subscribe(e,t,s,r){return t&&t(this.getContextPropertyValue(e)),r&&r(this.getContextPropertyValue(e)),this.getOrCreateValueContext(e).subscribe(t,s,r)}subscribeAll(e,t,s){const i=new r;for(const r of this.getContextFields())i.add(this.subscribe(r,e,t,s));return()=>i.unsubscribeAll()}getContextFields(){return Object.values(this).filter(e=>"string"==typeof e)}getOrCreateValueContext(e){let t=this.context.get(e);return t||(t=new fe,this.context.set(e,t)),t}canHandle(e){for(const t in this)if(this[t]===e)return!0;return!1}get canSubscribeAll(){return this._canSubscribeAll}}class me{priority=0}class Pe{getStorage(){return localStorage}get(e){const t=this.getStorage().getItem(this.getPrefixedKey(e));return new k(t)}storeValue(e,t){this.getStorage().setItem(this.getPrefixedKey(e),t)}remove(e){this.getStorage().removeItem(this.getPrefixedKey(e))}getPrefixedKey(e){const t=`${$.GLOBAL_NAMESPACE}.${this.NAMESPACE}.`,s=`${this.NAMESPACE}.`;return e.startsWith(t)?e:e.startsWith(s)?`${$.GLOBAL_NAMESPACE}.${e}`:`${t}${e}`}}class Ne{handleStorageChange(e){const t=e.key?.substring($.GLOBAL_NAMESPACE.length+1);let s="",r="";t&&(s=t.substring(0,t.indexOf(".")),r=t.substring(s.length+1));const i=this.resolveHandler(s,r);i&&i.updateContextProperty(r,e.newValue)}resolveHandler(e,t){if(!e)return void console.warn("Namespace is required to resolve a context property change handler.");const s=y.getAllBySuperType(_e).find(e=>e.canHandle(t));if(s)return s;console.warn(`No context property change handler found for namespace: ${e} and property: ${t}`)}}class be extends Pe{jwtKey="jwt";authenticatedKey="authenticated";NAMESPACE="auth";set(e,t){this.storeValue(e,t)}getAuthToken(){return this.get(this.jwtKey)}setAuthenticated(e){this.storeValue(this.authenticatedKey,e?.toString()||"")}isAuthenticated(){return"true"===this.get(this.authenticatedKey).getValue()}}class Le extends Pe{NAMESPACE="repository";SELECTED_REPOSITORY="selectedRepository";set(e,t){t?this.storeValue(e,t):this.remove(e)}setRepositoryReference(e){this.set(this.SELECTED_REPOSITORY,this.serializeRepositoryReference(e))}getRepositoryReference(){return this.deserializeRepositoryReference(this.get(this.SELECTED_REPOSITORY).getValueOrDefault('{"id": "", "location": ""}'))}removeRepositoryReference(){this.remove(this.SELECTED_REPOSITORY)}serializeRepositoryReference(e){return JSON.stringify(e)}deserializeRepositoryReference(e){if("string"==typeof e)try{return JSON.parse(e)}catch(e){console.error("Error parsing repository reference",e)}}}class xe extends _e{RESTRICTED_PAGES="restrictedPages";SECURITY_CONFIG="securityConfig";AUTHENTICATED_USER="authenticatedUser";AUTH_TOKEN="jwt";OPEN_ID_CONFIG="openIdConfig";getRestrictedPages(){return this.getContextPropertyValue(this.RESTRICTED_PAGES)||new x}updateRestrictedPages(e){this.updateContextProperty(this.RESTRICTED_PAGES,e)}onRestrictedPagesChanged(e){return this.subscribe(this.RESTRICTED_PAGES,e)}onAuthTokenChanged(e){return this.subscribe(this.AUTH_TOKEN,e)}updateAuthToken(e){this.updateContextProperty(this.AUTH_TOKEN,e)}getAuthToken(){return this.getContextPropertyValue(this.AUTH_TOKEN)}updateSecurityConfig(e){this.updateContextProperty(this.SECURITY_CONFIG,e)}onSecurityConfigChanged(e){return this.subscribe(this.SECURITY_CONFIG,e)}getSecurityConfig(){return this.getContextPropertyValue(this.SECURITY_CONFIG)}updateAuthenticatedUser(e){this.updateContextProperty(this.AUTHENTICATED_USER,e)}onAuthenticatedUserChanged(e){return this.subscribe(this.AUTHENTICATED_USER,e)}getAuthenticatedUser(){return this.getContextPropertyValue(this.AUTHENTICATED_USER)}updateOpenIdConfig(e){return this.updateContextProperty(this.OPEN_ID_CONFIG,e)}getOpenIdConfig(){return this.getContextPropertyValue(this.OPEN_ID_CONFIG)}}class ve{static getWindow(){return window}static getPluginRegistry(){return ve.getWindow().PluginRegistry}}function Ue(e){return t=>{t&&t.preventDefault(),De(e)}}function De(e){ve.getWindow().singleSpa.navigateToUrl(e)}function we(e){ve.getWindow().open(e,"_blank")}function Me(){return"/"===Ge()}function Ge(){return ve.getWindow().location.pathname.substring(ke().length-1)}function Ve(){return`${ve.getWindow().location.origin}${ke()}`}function ke(){return document.querySelector("base")?.getAttribute("href")??"/"}function $e(){return Ge().substring(1)}const Be=new s([new class extends me{authStorage=y.get(be);repositoryStorageService=y.get(Le);securityContextService=y.get(xe);process(e){e.headers=e.headers||{},e.headers["X-Requested-With"]="XMLHttpRequest";const t=this.authStorage.getAuthToken().getValue();if(t&&(e.headers.Authorization=t),!e.headers["X-GraphDB-Repository"]){const t=this.repositoryStorageService.getRepositoryReference();t?.id&&(e.headers["X-GraphDB-Repository"]=t.id),t?.location&&(e.headers["X-GraphDB-Repository-Location"]=t.location)}return Promise.resolve(e)}shouldProcess(e){const t=this.securityContextService.getOpenIdConfig();if(!t)return!0;const s=t?.openIdKeysUri,r=t?.openIdTokenUrl;return!s||!r||![t?.openIdKeysUri,t?.openIdTokenUrl].some(t=>t&&e.url.indexOf(t)>-1)}}]),Ye=new s([new class extends me{process(e){return localStorage.getItem("ontotext.gdb.auth.jwt")&&(localStorage.removeItem("ontotext.gdb.auth.jwt"),De("login"),ve.getWindow().location.reload()),Promise.reject(e)}shouldProcess(e){return 401===e.status}}]);class He{preProcessors=new s;postProcessors=new s;constructor(){this.registerRequestInterceptors(Be),this.registerResponseInterceptors(Ye)}async preProcess(e){let t=e;for(const e of this.preProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}async postProcess(e){let t=e;for(const e of this.postProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}registerRequestInterceptors(e){this.preProcessors.addItems(e.getItems()),this.sortInterceptors(this.preProcessors)}registerResponseInterceptors(e){this.postProcessors.addItems(e.getItems()),this.sortInterceptors(this.postProcessors)}sortInterceptors(e){e.sort((e,t)=>t.priority-e.priority)}}class Fe{constructor(e){this.url=e.url,this.method=e.method,this.headers={...e.headers},this.body=e.body}}class Ke{emit(e){const t=new CustomEvent(e.NAME,{detail:e.payload});return this.getHostElement().dispatchEvent(t),t}subscribe(e,t){const s=e=>{e instanceof CustomEvent&&t(e.detail)};return this.getHostElement().addEventListener(e,s),()=>this.getHostElement().removeEventListener(e,s)}getHostElement(){return document.body}}const qe=["application/json","application/sparql-results+json"],We="http-request-done-event";class je{interceptorService=y.get(He);eventEmitter=new Ke;get(e,t,s){return this.request(e,"GET",{params:t,headers:s}).then(e=>e)}post(e,t,s){return this.request(e,"POST",{body:t,headers:s})}put(e,t,s){return this.request(e,"PUT",{body:t,headers:s})}delete(e,t){return this.request(e,"DELETE",{headers:t})}patch(e,t,s){return this.request(e,"PATCH",{body:t,headers:s})}encodeURIComponentStrict(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}request(e,t,s={}){const r=this.buildQueryParams(s.params),i=`${e}${r?`?${r}`:""}`,n={"Content-Type":"application/json",Accept:"application/json, text/plain, */*",...s.headers};return this.interceptorService.preProcess(new Fe({url:i,method:t,headers:n,body:s.body})).then(e=>fetch(e.url,{method:e.method,headers:e.headers,body:e.body?JSON.stringify(e.body):null})).then(e=>this.interceptorService.postProcess(e)).then(e=>e.ok?this.hasValidJson(e)?e.json():Promise.resolve():Promise.reject(e)).finally(()=>this.eventEmitter.emit({NAME:We,payload:void 0}))}hasValidJson(e){const t=e.headers.get("Content-Type");return!!t&&qe.some(e=>t.includes(e))}buildQueryParams(e={}){return new URLSearchParams(e).toString()}}class Qe extends je{I18N_ENDPOINT="assets/i18n";getLanguage(e){return this.get(`${this.I18N_ENDPOINT}/${e}.json`)}getLanguageConfiguration(){return this.get(`${this.I18N_ENDPOINT}/language-config.json`)}}class ze extends O{mapToModel(e){return new H(e)}}class Je extends Pe{NAMESPACE="i18n";set(e,t){this.storeValue(e,t)}}class Xe extends _e{LANGUAGE_CONFIG="languageConfig";SELECTED_LANGUAGE="selectedLanguage";LANGUAGE_BUNDLE="languageBundle";DEFAULT_BUNDLE="defaultBundle";updateSelectedLanguage(e){this.validatePropertyChange(this.SELECTED_LANGUAGE,e).then(t=>{if(t){const t=e||y.get(Ze).getDefaultLanguage();y.get(Je).set(this.SELECTED_LANGUAGE,t),this.updateContextProperty(this.SELECTED_LANGUAGE,e)}})}onSelectedLanguageChanged(e,t){return this.subscribe(this.SELECTED_LANGUAGE,e,t)}updateLanguageBundle(e){this.updateContextProperty(this.LANGUAGE_BUNDLE,e)}onLanguageBundleChanged(e){return this.subscribe(this.LANGUAGE_BUNDLE,e)}updateDefaultBundle(e){this.updateContextProperty(this.DEFAULT_BUNDLE,e)}getDefaultBundle(){return this.getContextPropertyValue(this.DEFAULT_BUNDLE)}getLanguageConfig(){return this.getContextPropertyValue(this.LANGUAGE_CONFIG)}setLanguageConfig(e){this.updateContextProperty(this.LANGUAGE_CONFIG,e)}getSelectedLanguage(){return this.getContextPropertyValue(this.SELECTED_LANGUAGE)}}class Ze{languageRestService=y.get(Qe);languageContextService=y.get(Xe);getSupportedLanguages(){const e=this.languageContextService.getLanguageConfig();return e?e.availableLanguages.getLanguageCodes():["en","fr"]}getLanguage(e){return this.languageRestService.getLanguage(e)}getLanguageConfiguration(){return this.languageRestService.getLanguageConfiguration().then(e=>C.get(ze).mapToModel(e))}getDefaultLanguage(){const e=this.languageContextService.getLanguageConfig();return e?e.defaultLanguage:"en"}}class et extends je{static REPOSITORIES_ENDPOINT="rest/repositories";getRepositories(){return this.get(`${et.REPOSITORIES_ENDPOINT}/all`)}getRepositorySizeInfo(e){return this.get(`${et.REPOSITORIES_ENDPOINT}/${e.id}/size?location=${encodeURIComponent(e.location)}`)}}class tt extends O{mapToModel(e){return new i(e)}}class st extends O{constructor(){super(),this.repositoryMapper=C.get(tt)}mapToModel(e){if(!e||"object"!=typeof e)return new o;const t=[];return Object.entries(e).forEach(([,e])=>{Array.isArray(e)&&e.forEach(e=>{const s=this.repositoryMapper.mapToModel(e);t.push(s)})}),new o(t)}}class rt extends O{mapToModel(e){return new a(e)}}class it{GRAPHQL_REPO_AUTHORITY="GRAPHQL";constructor(){this.repositoryRestService=y.get(et),this.repositoryListMapper=C.get(st),this.repositorySizeInfoMapper=C.get(rt)}getRepositories(){return this.repositoryRestService.getRepositories().then(e=>this.repositoryListMapper.mapToModel(e))}getRepositorySizeInfo(e){return this.repositoryRestService.getRepositorySizeInfo(e).then(this.repositorySizeInfoMapper.mapToModel)}isSystemRepository(e){return"SYSTEM"===e.id}getCurrentGqlRepoAuthority(e,t){return`${this.getCurrentRepoAuthority(e,t)}:${this.GRAPHQL_REPO_AUTHORITY}`}getOverallGqlRepoAuthority(e){return`${this.getOverallRepoAuthority(e)}:${this.GRAPHQL_REPO_AUTHORITY}`}getLocationSpecificId(e){return e.location?`${e.id}@${e.location}`:e.id}getCurrentRepoAuthority(e,t){return`${e}_REPO_${t}`}getOverallRepoAuthority(e){return`${e}_REPO_*`}}class nt extends _e{SELECTED_REPOSITORY="selectedRepository";REPOSITORY_LIST="repositoryList";updateSelectedRepository(e){const t=y.get(Le),s=this.findRepository(e);this.validatePropertyChange(this.SELECTED_REPOSITORY,s).then(r=>{r&&(s?t.setRepositoryReference(s.toRepositoryReference()):e||t.removeRepositoryReference(),this.updateContextProperty(this.SELECTED_REPOSITORY,s))})}getSelectedRepository(){return this.getContextPropertyValue(this.SELECTED_REPOSITORY)}onSelectedRepositoryChanged(e,t){return this.subscribe(this.SELECTED_REPOSITORY,e,t)}updateRepositoryList(e){return this.updateContextProperty(this.REPOSITORY_LIST,e)}getRepositoryList(){return this.getContextPropertyValue(this.REPOSITORY_LIST)||new o([])}onRepositoryListChanged(e){return this.subscribe(this.REPOSITORY_LIST,e)}findRepository(e){if(e)return this.getRepositoryList().findRepository(e.id,e.location)}}class ot extends je{getActiveRepositoryLocation(){return this.get("rest/locations/active")}}class at extends O{mapToModel(e){return new h(e)}}class ut{constructor(){this.locationRestService=y.get(ot),this.repositoryLocationMapper=C.get(at)}getActiveRepositoryLocation(){return this.locationRestService.getActiveRepositoryLocation().then(this.repositoryLocationMapper.mapToModel)}}class ct extends _e{ACTIVE_REPOSITORY_LOCATION="activeRepositoryLocation";IS_LOADING="isLoading";updateActiveRepositoryLocation(e){this.updateContextProperty(this.ACTIVE_REPOSITORY_LOCATION,e)}onActiveLocationChanged(e){return this.subscribe(this.ACTIVE_REPOSITORY_LOCATION,e)}updateIsLoading(e){this.updateContextProperty(this.IS_LOADING,e)}onIsLoadingChanged(e){return this.subscribe(this.IS_LOADING,e)}}class lt extends je{getLicense(){return this.get("rest/graphdb-settings/license")}}class ht extends O{mapToModel(e){return new w(e)}}class pt extends _e{GRAPHDB_LICENSE="graphDbLicense";updateGraphdbLicense(e){this.updateContextProperty(this.GRAPHDB_LICENSE,e)}onLicenseChanged(e){return this.subscribe(this.GRAPHDB_LICENSE,e)}getLicense(){return this.getContextPropertyValue(this.GRAPHDB_LICENSE)}}class gt{licenseRestService=y.get(lt);licenseMapper=y.get(ht);trackableProductTypes=["free","sandbox"];trackableTypesOfUse=["evaluation","this is an evaluation license"];getLicense(){return this.licenseRestService.getLicense().then(e=>this.licenseMapper.mapToModel(e))}isTrackableLicense(){const e=y.get(pt).getLicense(),t=e?.typeOfUse?.toLowerCase()||"",s=e?.productType?.toLowerCase()||"";return!e?.present||this.trackableProductTypes.includes(s)||this.trackableTypesOfUse.includes(t)}}class dt extends _e{PRODUCT_INFO="productInfo";updateProductInfo(e){this.updateContextProperty(this.PRODUCT_INFO,e)}onProductInfoChanged(e){return this.subscribe(this.PRODUCT_INFO,e)}}class Et extends O{mapToModel(e){return new V(e)}}class At extends je{VERSION_URL="rest/info/version";getProductInfoLocal(){return this.get(`${this.VERSION_URL}?local=1`)}}class St{productInfoMapper=I(Et);productInfoService=I(At);async getProductInfoLocal(){const e=await this.productInfoService.getProductInfoLocal();return this.productInfoMapper.mapToModel(e)}}class Rt extends O{mapToModel(e){return new b(e)}}class Tt{constructor(e){this.notify=e}}class Ct{eventSubscribers=new Map;emit(t){const s=this.eventSubscribers.get(t.NAME);s&&s.forEach(s=>{s.notify(e.deepCopy(t.payload))})}subscribe(e,t){const s=new Tt(t),r=this.eventSubscribers.get(e);return r?r.push(s):this.eventSubscribers.set(e,[s]),()=>this.unsubscribe(e,s)}unsubscribe(e,t){const s=this.eventSubscribers.get(e);if(s){const r=s.indexOf(t);-1!==r&&s.splice(r,1),0===s.length&&this.eventSubscribers.delete(e)}}}class yt{constructor(e,t){this.setRegex(e),this.setRouteParams(t)}getRegex(){return this.regex}setRegex(e){return this.regex=e,this}getRouteParams(){return this.routeParams}setRouteParams(e){return this.routeParams=e,this}}class It{constructor(e){this._url=e.url,this._module=e.module,this._path=e.path,this._chunk=e.chunk,this._controller=e.controller,this._templateUrl=e.templateUrl,this._title=e.title,this._reloadOnSearch=e.reloadOnSearch,this._helpInfo=e.helpInfo,this._documentationUrl=e.documentationUrl,this._allowAuthorities=e.allowAuthorities}get url(){return this._url}set url(e){this._url=e}get module(){return this._module}set module(e){this._module=e}get path(){return this._path}set path(e){this._path=e}get chunk(){return this._chunk}set chunk(e){this._chunk=e}get controller(){return this._controller}set controller(e){this._controller=e}get templateUrl(){return this._templateUrl}set templateUrl(e){this._templateUrl=e}get title(){return this._title}set title(e){this._title=e}get reloadOnSearch(){return this._reloadOnSearch}set reloadOnSearch(e){this._reloadOnSearch=e}get helpInfo(){return this._helpInfo}set helpInfo(e){this._helpInfo=e}get documentationUrl(){return this._documentationUrl}set documentationUrl(e){this._documentationUrl=e}get allowAuthorities(){return this._allowAuthorities}set allowAuthorities(e){this._allowAuthorities=e}}class ft{routeConfig=ve.getWindow().PluginRegistry.get(ye.ROUTE);getActiveRoute(e=Ge()){const t=this.routeConfig.find(t=>this.routeToRegex(t.url).getRegex().test(e));return t?new It(t):void 0}routeToRegex(e){const t=[],r=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(e,s,r,i){const n="?"===i||"*?"===i,o="*"===i||"*?"===i;return t.push(r),s=s||"",(n?"(?:"+s:s+"(?:")+(o?"(.+?)":"([^/]+)")+(n?"?)?":")")}).replace(/([/$*])/g,"\\$1");return new yt(new RegExp("^"+r+"(?:[?#]|$)"),new s(t))}}class Ot{repositoryService=y.get(it);securityContextService=y.get(xe);login(){return"Authentication.login from the API"}logout(){y.get(Ct).emit(new R)}isLoggedIn(){const e=this.getSecurityConfig();return!(!e?.enabled||!e?.userLoggedIn)}isAuthenticated(){const e=this.getSecurityConfig(),t=this.getAuthenticatedUser();return!e?.enabled||t?.external||null!=y.get(be).getAuthToken().getValue()}hasFreeAccess(){const e=this.getSecurityConfig();return e?.enabled&&e?.freeAccessActive}hasRole(e){const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!e||!t?.enabled||!!(Object.keys(s||{}).length>0)&&(L.IS_AUTHENTICATED_FULLY===e||s?.authorities.hasAuthority(e))}isSecurityEnabled(){return!!this.getSecurityConfig()?.enabled}canReadRepo(e){if(!e||""===e.id)return!1;const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!t?.enabled||!!s&&(!!this.isAdminOrRepoManager()||!this.repositoryService.isSystemRepository(e)&&this.hasBaseRights(U.READ,e))}canReadGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(U.READ,e)}canWriteGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(U.WRITE,e)}hasGqlRights(e){return this.canReadGqlRepo(e)||this.canWriteGqlRepo(e)}hasAuthority(){if(this.hasRole(L.ROLE_ADMIN))return!0;const e=y.get(ft).getActiveRoute();if(!e)return!1;if(!e.allowAuthorities)return!0;if(!y.get(Le).getRepositoryReference()?.id)return!0;const t=this.getAuthenticatedUser();return!t||!e.allowAuthorities.length||this.resolveAuthorities(e.allowAuthorities).some(e=>t.authorities.hasAuthority(e))}resolveAuthorities(e){if(!e)return[];const t=y.get(Le).getRepositoryReference();return t?.id?[...e.map(e=>e.replace("{repoId}",t.id)),...e.map(e=>e.replace("{repoId}","*"))]:e}hasGraphqlAuthority(e,t){const s=this.securityContextService.getAuthenticatedUser();if(!s)return!1;const r=this.repositoryService.getLocationSpecificId(t),i=this.repositoryService.getCurrentGqlRepoAuthority(e,r),n=this.repositoryService.getOverallGqlRepoAuthority(e);return s.authorities.hasAuthority(i)||s.authorities.hasAuthority(n)}isAdminOrRepoManager(){return this.hasRole(L.ROLE_ADMIN)||this.hasRole(L.ROLE_REPO_MANAGER)}getSecurityConfig(){return y.get(xe).getSecurityConfig()}getAuthenticatedUser(){return y.get(xe).getAuthenticatedUser()}hasBaseRights(e,t){const s=this.repositoryService.getLocationSpecificId(t),r=this.repositoryService.getCurrentRepoAuthority(e,s),i=this.repositoryService.getOverallRepoAuthority(e),n=this.getAuthenticatedUser();return!(!n?.authorities.hasAuthority(r)&&!n?.authorities.hasAuthority(i))}}class _t extends O{mapToModel(e){return new m(e)}}class mt extends je{SECURITY_ENDPOINT="rest/security";updateUserData(e){return this.patch(`${this.SECURITY_ENDPOINT}/users/${this.encodeURIComponentStrict(e.username)}`,{appSettings:e.appSettings})}getSecurityConfig(){return this.get(`${this.SECURITY_ENDPOINT}/all`)}getAuthenticatedUser(){return this.get(`${this.SECURITY_ENDPOINT}/authenticated-user`)}}class Pt{securityRestService=y.get(mt);securityContextService=y.get(xe);updateUserData(e){return this.securityRestService.updateUserData(e).then(()=>this.securityContextService.updateAuthenticatedUser(e))}getSecurityConfig(){return this.securityRestService.getSecurityConfig().then(e=>C.get(Rt).mapToModel(e))}getAuthenticatedUser(){return this.securityRestService.getAuthenticatedUser().then(e=>C.get(_t).mapToModel(e))}}class Nt extends O{mapToModel(e){return new v(e)}}const bt="cookie-consent-changed-event";class Lt{eventEmitter=new Ke;acceptCookiePolicy(){const e=this.setAcceptedCookiePolicy();return y.get(Pt).updateUserData(e).then(()=>{this.eventEmitter.emit({NAME:bt,payload:e.appSettings.COOKIE_CONSENT})})}setAcceptedCookiePolicy(){const e=y.get(xe).getAuthenticatedUser()||new m({});let t;return t=e.appSettings?.COOKIE_CONSENT?new F(e.appSettings.COOKIE_CONSENT):new F({thirdParty:!0,statistic:!0}),t.policyAccepted=!0,t.updatedAt=Date.now(),e.appSettings.COOKIE_CONSENT=t,e}}class xt extends je{MONITORING_ENDPOINT="rest/monitor";getOperations(e){return this.get(`${this.MONITORING_ENDPOINT}/repository/${e}/operations`)}}const vt={[z.CLUSTER_HEALTH]:0,[z.BACKUP_AND_RESTORE]:1,[z.IMPORT]:2,[z.QUERIES]:3,[z.UPDATES]:4};class Ut extends O{mapToModel(e){return new Q(e.map(e=>new te(e)).sort((e,t)=>vt[e.type]-vt[t.type]))}}class Dt extends O{mapToModel(e){return new j({status:e.status,allRunningOperations:C.get(Ut).mapToModel(e.allRunningOperations||[])})}}class wt{getOperations(e){return y.get(xt).getOperations(e).then(e=>C.get(Dt).mapToModel(e))}}class Mt extends O{mapToModel(e){return new se(e)}}class Gt{eventEmitter=new Ke;error(e,t){this.createToastElement(e,oe.ERROR,t)}info(e,t){this.createToastElement(e,oe.INFO,t)}success(e,t){this.createToastElement(e,oe.SUCCESS,t)}warning(e,t){this.createToastElement(e,oe.WARNING,t)}createToastElement(e,t,s){this.eventEmitter.emit({NAME:ce,payload:new ue(t,e,s)})}}class Vt extends je{autocompleteRestPrefix="rest/autocomplete";search(e){return this.get(`${this.autocompleteRestPrefix}/query?q=${e}`)}enabled(){return this.get(`${this.autocompleteRestPrefix}/enabled`)}}class kt extends O{mapToModel(e){return new de(e.map(e=>new Ae({...e,id:ae.hashCode(`${e.type}-${e.value}-${e.description}`)})))}}class $t extends O{mapToModel(e){return new Ee({...e,suggestionList:C.get(kt).mapToModel(e.suggestions)})}}class Bt{search(e){return y.get(Vt).search(e).then(e=>C.get($t).mapToModel(e))}isAutocompleteEnabled(){return y.get(Vt).enabled()}}class Yt extends Pe{ENABLED_KEY="enabled";NAMESPACE="autocomplete";set(e,t){this.storeValue(e,t)}isEnabled(){return"true"===this.get(this.ENABLED_KEY).value}setEnabled(e){this.set(this.ENABLED_KEY,e.toString())}}class Ht extends _e{AUTOCOMPLETE_ENABLED="isAutocompleteEnabled";updateAutocompleteEnabled(e){this.updateContextProperty(this.AUTOCOMPLETE_ENABLED,e),y.get(Yt).setEnabled(e)}onAutocompleteEnabledChanged(e){return this.subscribe(this.AUTOCOMPLETE_ENABLED,e)}}class Ft extends O{mapToModel(e){const t=e?.results.bindings||[];return new l(t.reduce((e,t)=>(e[t.prefix.value]=t.namespace.value,e),{}))}}class Kt extends je{REPOSITORIES_ENDPOINT="repositories";getNamespaces(e){return this.get(`${this.REPOSITORIES_ENDPOINT}/${e}/namespaces`)}}class qt{namespaceMapper=C.get(Ft);namespacesRestService=y.get(Kt);getNamespaces(e){return this.namespacesRestService.getNamespaces(e).then(e=>this.namespaceMapper.mapToModel(e))}}class Wt extends _e{NAMESPACES="namespaces";updateNamespaces(e){this.updateContextProperty(this.NAMESPACES,e)}onNamespacesChanged(e){return this.subscribe(this.NAMESPACES,e)}}class jt extends Pe{SELECTED_VIEW_KEY="selectedView";INPUT_KEY="input";LAST_SELECTED_KEY="lastSelected";NAMESPACE="resourceSearch";LEGACY_LAST_SELECTED_KEY="ls.rdf-search.resource-description";LEGACY_INPUT_KEY="ls.rdf-search.search-input";LEGACY_SELECTED_VIEW_KEY="ls.rdf-search.search-type";set(e,t){this.storeValue(e,t)}setSelectedView(e){this.set(this.SELECTED_VIEW_KEY,e),localStorage.setItem(this.LEGACY_SELECTED_VIEW_KEY,e)}getSelectedView(){return this.get(this.SELECTED_VIEW_KEY).getValue()||""}setInputValue(e){this.set(this.INPUT_KEY,e),localStorage.setItem(this.LEGACY_INPUT_KEY,e)}getInputValue(){return this.get(this.INPUT_KEY).getValue()||""}setLastSelected(e){this.set(this.LAST_SELECTED_KEY,e.getValue()),localStorage.setItem(this.LEGACY_LAST_SELECTED_KEY,e.getDescription()||"")}getLastSelectedValue(){return this.get(this.LAST_SELECTED_KEY).getValue()||""}clearStoredSearch(){this.remove(this.INPUT_KEY),this.remove(this.LAST_SELECTED_KEY),localStorage.removeItem(this.LEGACY_INPUT_KEY),localStorage.removeItem(this.LEGACY_LAST_SELECTED_KEY)}}class Qt extends _e{PREVIOUS_ROUTE="previousRoute";updatePreviousRoute(e){this.updateContextProperty(this.PREVIOUS_ROUTE,e)}getPreviousRoute(){let e=this.getContextPropertyValue(this.PREVIOUS_ROUTE);return e?.endsWith("#")&&(e=e.slice(0,-1)),e}}class zt extends _e{APPLICATION_DATA_STATE="applicationDataLoaded";updateApplicationDataState(e){this.updateContextProperty(this.APPLICATION_DATA_STATE,e)}onApplicationDataStateChanged(e){return this.subscribe(this.APPLICATION_DATA_STATE,e)}}class Jt extends _e{APPLICATION_CONFIGURATION="applicationConfiguration";updateApplicationConfiguration(e){this.updateContextProperty(this.APPLICATION_CONFIGURATION,e)}getApplicationConfiguration(){return this.getContextPropertyValue(this.APPLICATION_CONFIGURATION)}}class Xt extends je{configurationContextService=I(Jt);getPluginsManifest(){const e=this.configurationContextService.getApplicationConfiguration();return this.get(e.pluginsManifestPath)}async loadPlugins(e){return await Promise.all(e.getPluginDefinitions().getItems().map(async e=>{try{const t=e.entry.startsWith("http")?e.entry:`${Ve()}${e.entry}`;return await import(t)}catch(t){console.warn(`Failed to load plugin ${e.name}:`,t)}}))}}class Zt extends O{mapToModel(e){const t=new Ie(e.plugins);return new Ce(t)}}class es{constructor(){this.pluginsRestService=y.get(Xt),this.pluginsManifestMapper=new Zt}async getPluginsManifest(){const e=await this.pluginsRestService.getPluginsManifest();return this.pluginsManifestMapper.mapToModel(e)}async loadPlugins(){let e;try{e=await this.getPluginsManifest()}catch(e){console.warn("Failed to load plugins manifest. Continue with the built-in plugins only.",e)}e&&(await this.pluginsRestService.loadPlugins(e)).filter(e=>void 0!==e).forEach(e=>{void 0!==e.register?e.register(ve.getPluginRegistry()):console.warn("Plugin module is missing the register method. Skipping registration.",e)})}}const ts=JSON.parse('{"configUrl":"assets/configuration.default.json"}');class ss extends Error{constructor(e){super(),this.text=e}get message(){return`${this.constructor.name}: ${this.text}`}}class rs extends ss{}class is extends je{async getConfiguration(){let e,t=ts;try{t=await this.get("assets/env.json")}catch{console.warn('No downloadable "env.json" was found. Fallback to default:',t)}try{if(e=await this.get(t.configUrl),e)return console.info(`Configuration file ${t.configUrl} was downloaded`,e),e}catch{throw new rs(`Failed to download configuration from "${t.configUrl}". Ensure that there is a\n "configuration.default.json" JSON file in the assets folder or provide an "env.json" file pointing to another\n configuration file.`)}}}class ns{constructor(){this.configurationRestService=y.get(is)}async getConfiguration(){const e=await this.configurationRestService.getConfiguration();return e&&y.get(Jt).updateApplicationConfiguration(e),e}}class os{static isDevMode(){return ve.getWindow().wbDevMode}}class as{static ABS_URI_REGEX=/^<?(http|urn).*>?/;static GRAPHS_VISUALIZATIONS_URL="graphs-visualizations";static RESOURCE_URL="resource";static BASE_DOCUMENTATION_URL="https://graphdb.ontotext.com/documentation/";static LATEST_UNOFFICIAL_VERSION="master";static shortenIri(e){const t=document.createElement("a");t.href=e;let s=t.hostname;return as.containsIPV4(t.hostname)||(s=t.hostname.split(".")[0]),s+":"+t.port}static containsIPV4(e){const t=e.split(".");for(let e=0,s=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?s++:s=0,4===s)return!0;return!1}static createAutocompleteRedirect(e,t){return`${e}?uri=${encodeURIComponent(t)}`}static removeAngleBrackets(e){return e?.startsWith("<")&&e?.endsWith(">")?e.substring(1,e.length-1):e}static isValidUri(e){let t=!1;if(this.hasValidProtocol(e))if(e.indexOf("http")>=0){const s=e.indexOf("//");t=s>4&&e.substring(s+2).length>0}else e.indexOf("urn")>=0&&(t=e.substring(4).length>0);return t}static resolveDocumentationUrl(e,t){if(!e||!t)throw new Error("Product version and endpoint path are required for documentation URL resolution.");const s=e.includes("-"),r=os.isDevMode()||s?this.LATEST_UNOFFICIAL_VERSION:e;return`${this.BASE_DOCUMENTATION_URL}${r}/${t}`}static hasAngleBrackets(e){return e.startsWith("<")&&e.endsWith(">")}static hasNoAngleBrackets(e){return!e.startsWith("<")&&!e.endsWith(">")}static hasValidProtocol(e){return this.ABS_URI_REGEX.test(e)&&(this.hasNoAngleBrackets(e)||this.hasAngleBrackets(e))}}class us{fibo1=0;fibo2=1;next(){const e=this.fibo2;return this.fibo2=this.fibo1+this.fibo2,this.fibo1=e,e}reset=()=>{this.fibo1=0,this.fibo2=1}}export{zt as ApplicationLifecycleContextService,m as AuthenticatedUser,_t as AuthenticatedUserMapper,Ot as AuthenticationService,be as AuthenticationStorageService,T as AuthenticationType,L as Authority,f as AuthorityList,Ht as AutocompleteContextService,Ee as AutocompleteSearchResult,Bt as AutocompleteService,Yt as AutocompleteStorageService,B as AvailableLanguagesList,os as BuildUtil,bt as COOKIE_CONSENT_CHANGED_EVENT,ce as CREATE_TOAST_EVENT,M as Capability,G as CapabilityList,is as ConfigurationRestService,ns as ConfigurationService,_e as ContextService,Oe as ContextSubscriptionManager,F as CookieConsent,Lt as CookieService,ss as ErrorBase,g as Event,Ke as EventEmitter,d as EventName,Ct as EventService,ye as ExtensionPoint,us as FibonacciGenerator,We as HTTP_REQUEST_DONE_EVENT,H as LanguageConfig,Xe as LanguageContextService,Qe as LanguageRestService,Ze as LanguageService,Je as LanguageStorageService,w as License,pt as LicenseContextService,gt as LicenseService,Te as LifecycleState,Pe as LocalStorageService,Ne as LocalStorageSubscriptionHandlerService,R as Logout,C as MapperProvider,t as Model,s as ModelList,xt as MonitoringRestService,wt as MonitoringService,l as NamespaceMap,Wt as NamespacesContextService,qt as NamespacesService,Qt as NavigationContextService,E as NavigationEnd,A as NavigationEndPayload,S as NavigationStart,e as ObjectUtil,Gt as OntoToastrService,v as OpenIdConfig,Nt as OpenidConfigMapper,te as Operation,J as OperationGroup,W as OperationGroupSummary,se as OperationGroupSummaryList,Mt as OperationGroupSummaryListMapper,Q as OperationList,K as OperationStatus,j as OperationStatusSummary,Dt as OperationSummaryMapper,z as OperationType,Ie as PluginDefinitionList,Ce as PluginsManifest,Xt as PluginsRestService,es as PluginsService,V as ProductInfo,dt as ProductInfoContextService,St as ProductInfoService,i as Repository,nt as RepositoryContextService,o as RepositoryList,st as RepositoryListMapper,h as RepositoryLocation,ct as RepositoryLocationContextService,ut as RepositoryLocationService,p as RepositoryLocationType,et as RepositoryRestService,it as RepositoryService,a as RepositorySizeInfo,u as RepositoryState,Le as RepositoryStorageService,c as RepositoryType,jt as ResourceSearchStorageService,x as RestrictedPages,U as Rights,q as STATUS_ORDER,ge as SearchButton,pe as SearchButtonConfig,he as SearchButtonList,b as SecurityConfig,Rt as SecurityConfigMapper,xe as SecurityContextService,Pt as SecurityService,y as ServiceProvider,k as StorageData,$ as StorageKey,r as SubscriptionList,Ae as Suggestion,de as SuggestionList,kt as SuggestionListMapper,Re as SuggestionSelectedPayload,Se as SuggestionType,ue as ToastMessage,le as ToastMessageList,oe as ToastType,ne as ToastrConfig,re as ToastrPosition,as as UriUtil,ve as WindowService,ke as getContextName,$e as getCurrentRoute,Ve as getOrigin,Ge as getPathName,Me as isHomePage,De as navigate,Ue as navigateTo,we as openInNewTab,I as service};