graphdb-workbench 2.7.5 → 2.8.0-TR10

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 (578) hide show
  1. package/dist/{0.7740a14c971ea1d2eba0.bundle.js → 0.82c215fdd16c5900b7a8.bundle.js} +3 -3
  2. package/dist/1.419ead35eb780287bf9c.bundle.js +1 -0
  3. package/dist/{73.9db238b1b899b65fd024.bundle.js → 10.84c92cce7ac26f335dd1.bundle.js} +1 -1
  4. package/dist/100.3d74de00f030601e9489.bundle.js +1 -0
  5. package/dist/101.04ecbbc205f9cce449e2.bundle.js +1 -0
  6. package/dist/102.0f9a64ceb323e719fb9e.bundle.js +1 -0
  7. package/dist/103.84c5d0bdf2fa4ff9685b.bundle.js +1 -0
  8. package/dist/104.c6fa28ded1a4c26bc1a2.bundle.js +1 -0
  9. package/dist/105.1f6013e09a913230f5a0.bundle.js +1 -0
  10. package/dist/106.db2a24b8b831a9a41730.bundle.js +1 -0
  11. package/dist/107.76a892fb4131d6fb5c6a.bundle.js +1 -0
  12. package/dist/108.7a39aa3986990c9bc06e.bundle.js +1 -0
  13. package/dist/109.18521afaac87e23d62ea.bundle.js +1 -0
  14. package/dist/11.347714ca41cef8ea7f1e.bundle.js +1 -0
  15. package/dist/110.71422bb1caac727bd0c4.bundle.js +1 -0
  16. package/dist/111.84862f34f55bb6cec824.bundle.js +1 -0
  17. package/dist/112.baf2c6d007a08478a804.bundle.js +1 -0
  18. package/dist/113.369a13b945a53583435f.bundle.js +1 -0
  19. package/dist/114.0128afab6d33aeeb83a9.bundle.js +1 -0
  20. package/dist/115.00463bdf22f67357201c.bundle.js +1 -0
  21. package/dist/{86.4693b1e6a0732bdd10ab.bundle.js → 116.16bd8152b9c10786507a.bundle.js} +1 -1
  22. package/dist/117.42fed680165f9ea2a8a2.bundle.js +1 -0
  23. package/dist/118.6ab3f8f724a06905c5cf.bundle.js +1 -0
  24. package/dist/119.2f144c11c33a3bbeda21.bundle.js +1 -0
  25. package/dist/12.208a25d54fad54ce23f5.bundle.js +1 -0
  26. package/dist/120.f0485ac0a0b36e8bf1b8.bundle.js +1 -0
  27. package/dist/121.3947519b104ccc66e63f.bundle.js +1 -0
  28. package/dist/122.10eda802eaaa781ea566.bundle.js +1 -0
  29. package/dist/123.1548ca1c0632bc3dcfeb.bundle.js +1 -0
  30. package/dist/124.05248e4fa4e72076f8e1.bundle.js +1 -0
  31. package/dist/125.117e9b10046dea563e1b.bundle.js +1 -0
  32. package/dist/126.f1a86f86018b7c58852d.bundle.js +1 -0
  33. package/dist/{100.468b84c65c7b8c06657d.bundle.js → 127.0124928e6c0f7cf3f6c4.bundle.js} +1 -1
  34. package/dist/{103.1cf434c1865ad9ca7f7e.bundle.js → 128.fa3084ee3aa636a6943d.bundle.js} +1 -1
  35. package/dist/{104.c90b212514e1bb149d36.bundle.js → 129.3e71e14cf51fed8b7fb8.bundle.js} +1 -1
  36. package/dist/{8.32be4128f570c447549e.bundle.js → 13.ea0cf47cc4141827ba71.bundle.js} +11 -11
  37. package/dist/{105.9ddd0bff6272f563749a.bundle.js → 130.70c607ca456d4d3e4425.bundle.js} +1 -1
  38. package/dist/{106.7dcd770aee236e1e4b9e.bundle.js → 131.45f6c9b55329c691d5eb.bundle.js} +1 -1
  39. package/dist/{107.9501561f24a33fd8ac99.bundle.js → 132.423a880945adb530ff42.bundle.js} +1 -1
  40. package/dist/{108.4c18340aa198d13ff031.bundle.js → 133.d59607c90abb5c88f92c.bundle.js} +1 -1
  41. package/dist/{109.c5a77ee8cc5ca77d1a24.bundle.js → 134.95838ee457c1daabe365.bundle.js} +1 -1
  42. package/dist/135.2c26864970bac0810793.bundle.js +1 -0
  43. package/dist/{111.c69116afc8952402b94b.bundle.js → 136.9320c511cc2742542367.bundle.js} +1 -1
  44. package/dist/137.365af441e64339f760a1.bundle.js +1 -0
  45. package/dist/138.493415731a796a2f0fb6.bundle.js +1 -0
  46. package/dist/139.6738727d298cb82cdd13.bundle.js +1 -0
  47. package/dist/14.50fce7384e1b3706c9ce.bundle.js +1 -0
  48. package/dist/{113.23ff31977d4a2f51e366.bundle.js → 140.8aec03c5b38c631d6c1e.bundle.js} +1 -1
  49. package/dist/141.32117cd8775dbe8fcbae.bundle.js +1 -0
  50. package/dist/142.15e37af8c96cf9dc3e7f.bundle.js +1 -0
  51. package/dist/{114.11d025f071059a96e016.bundle.js → 143.fdd4fcbb5282cd2dd46b.bundle.js} +1 -1
  52. package/dist/{115.271c8849214e9cb68b82.bundle.js → 144.7cb8a8402955c6168ecb.bundle.js} +1 -1
  53. package/dist/{116.44bbe19c8267478cfe47.bundle.js → 145.3fa30ed06e9163633a2e.bundle.js} +1 -1
  54. package/dist/{117.dc5863c0ad28647bd5ff.bundle.js → 146.68ce65959f5884311fde.bundle.js} +1 -1
  55. package/dist/{118.90d7cffadf0edb7dab22.bundle.js → 147.ed592ab631dcbf041ddf.bundle.js} +1 -1
  56. package/dist/{119.49fbd4f9fa7814dcf524.bundle.js → 148.97728d94afb4d290c123.bundle.js} +1 -1
  57. package/dist/{120.3d0da2f33c1998e15059.bundle.js → 149.1201e5f6027054c6193b.bundle.js} +1 -1
  58. package/dist/15.1fef7c75d6d3884c7477.bundle.js +1 -0
  59. package/dist/{121.a9905fd2f001942970c3.bundle.js → 150.c93958d2d24c3a9df09c.bundle.js} +1 -1
  60. package/dist/{122.cfc9eb38b4d4206d3b0f.bundle.js → 151.18c5954b695558d8a75a.bundle.js} +1 -1
  61. package/dist/{123.537690673829efc8d449.bundle.js → 152.d6af0cde3e1dd9fc8c1d.bundle.js} +1 -1
  62. package/dist/{124.ac495e52eeb93db1c258.bundle.js → 153.eea3436e5f2ed6af5805.bundle.js} +1 -1
  63. package/dist/{125.39798647d6fc59af6daa.bundle.js → 154.43b33419d000ca35797f.bundle.js} +1 -1
  64. package/dist/{126.4c0939dcafeb3e016c9a.bundle.js → 155.8d7e2682ad34c9270fe0.bundle.js} +1 -1
  65. package/dist/{127.cc107d2f31dab809d124.bundle.js → 156.c27889fee0b5465eb925.bundle.js} +1 -1
  66. package/dist/{128.31535237e77713023ab3.bundle.js → 157.a9267e161a99f7c397f0.bundle.js} +1 -1
  67. package/dist/{129.14133cf026c08e488e9e.bundle.js → 158.19fb300f24fd7a14210a.bundle.js} +1 -1
  68. package/dist/{130.83ca4bfc89844018c61f.bundle.js → 159.ceb87dd0c514721e6f26.bundle.js} +1 -1
  69. package/dist/16.bd171e40126f074bf5d9.bundle.js +2 -0
  70. package/dist/{131.f6aec556f49c78da8665.bundle.js → 160.2eade0d127800de8d588.bundle.js} +1 -1
  71. package/dist/{132.bda2e1408a049ad349b2.bundle.js → 161.294da81ed3f45c1250a1.bundle.js} +1 -1
  72. package/dist/{133.f9aae73e47de861bb86e.bundle.js → 162.a75b63430f79142fcc5d.bundle.js} +1 -1
  73. package/dist/{134.a5c33a40d2b84ab5b624.bundle.js → 163.c1a4bf8dab21603362fb.bundle.js} +1 -1
  74. package/dist/{135.e3e8ff0d0cce2e980f9b.bundle.js → 164.17088ebd990ca168d11d.bundle.js} +1 -1
  75. package/dist/{136.49d2a1a7cfb9325f793a.bundle.js → 165.9d560c84a71954a90956.bundle.js} +1 -1
  76. package/dist/{137.c66ea292a9fd631984e5.bundle.js → 166.4da4ef4df1cd67bf395a.bundle.js} +1 -1
  77. package/dist/{138.cb759fc495f9ce8e21ce.bundle.js → 167.c132aacfb909005eccc6.bundle.js} +1 -1
  78. package/dist/{139.7537655f500bab3e9c21.bundle.js → 168.a4c723a0068a42dad17b.bundle.js} +1 -1
  79. package/dist/{140.74aba9df15b050c129d9.bundle.js → 169.06b8e5fedae202dcff73.bundle.js} +1 -1
  80. package/dist/{13.9d8d961a482d42349b33.bundle.js → 17.68b542dd822f35968787.bundle.js} +1 -1
  81. package/dist/{141.60071851020a1bc11595.bundle.js → 170.26d8ef1cedc67545299a.bundle.js} +1 -1
  82. package/dist/{142.8906dd00536438b339df.bundle.js → 171.fd8a4420cd7a4b283b3f.bundle.js} +1 -1
  83. package/dist/{143.b1a2222304f8efe71776.bundle.js → 172.a8bd733aa0e091a38664.bundle.js} +1 -1
  84. package/dist/{144.f82ff50a8d2c08295627.bundle.js → 173.d3a4eb2812be244a1d32.bundle.js} +1 -1
  85. package/dist/{145.0f1b69f230a46b4de5f6.bundle.js → 174.d794bc6b1c46138c6613.bundle.js} +1 -1
  86. package/dist/{146.9b3518b9d896bf47382d.bundle.js → 175.5e8c384818bb17dd9aab.bundle.js} +1 -1
  87. package/dist/{147.e311377785362269579e.bundle.js → 176.746d6385829d2a680cd1.bundle.js} +1 -1
  88. package/dist/177.86021de382ed87019173.bundle.js +1 -0
  89. package/dist/{149.8a2de058d7b72f417791.bundle.js → 178.b7569fc8228e2ef12525.bundle.js} +1 -1
  90. package/dist/{150.b9d376ab86b1f17e4f78.bundle.js → 179.631668faa65967a635b9.bundle.js} +1 -1
  91. package/dist/18.953ec403f684734e2311.bundle.js +1 -0
  92. package/dist/{151.ebeb15de6f8b7ab9ea57.bundle.js → 180.6551aa17a9e417574db2.bundle.js} +1 -1
  93. package/dist/{152.ed9387e19d9cc69953db.bundle.js → 181.5f8b15d991de41170b3c.bundle.js} +1 -1
  94. package/dist/{153.8d702923e48b57442b55.bundle.js → 182.465ef1426af8ff195fac.bundle.js} +1 -1
  95. package/dist/{154.a008e16c56c63f25799f.bundle.js → 183.569215a21a4c1546760c.bundle.js} +1 -1
  96. package/dist/{155.49c4d893ed30c28e6302.bundle.js → 184.805cf439b2adef6bb8a7.bundle.js} +1 -1
  97. package/dist/{156.9b98cd7f44f0ed2dd7cb.bundle.js → 185.83602499d7b5740b0232.bundle.js} +1 -1
  98. package/dist/{157.800a7154e719650d7925.bundle.js → 186.d27f62884853006d8614.bundle.js} +1 -1
  99. package/dist/187.35cfddfd9308fabd0798.bundle.js +1 -0
  100. package/dist/188.06eac6a609764fbac382.bundle.js +1 -0
  101. package/dist/{158.5cb23287d8549b4c51ba.bundle.js → 189.b0bac492836f82dcdfc8.bundle.js} +1 -1
  102. package/dist/19.09865b8ff553217fec92.bundle.js +1 -0
  103. package/dist/190.cb6275ca394d76ef427c.bundle.js +1 -0
  104. package/dist/{159.f87835a57d2af1de4121.bundle.js → 191.2f9468f433dd256b830d.bundle.js} +1 -1
  105. package/dist/{160.033025b2f36a7ef831d4.bundle.js → 192.bbc4db61fa1c83810958.bundle.js} +1 -1
  106. package/dist/{161.476f62c4922a9d145220.bundle.js → 193.13de0802dc61815adb36.bundle.js} +1 -1
  107. package/dist/{162.12011000dea3e7ebd49a.bundle.js → 194.cad267ee805777bb53f0.bundle.js} +1 -1
  108. package/dist/{163.b275d2dc30b13e3ccc59.bundle.js → 195.3d16b1e1b1d2dafd9cc4.bundle.js} +1 -1
  109. package/dist/{164.9d468fabae7dd09d9f97.bundle.js → 196.aa2f65a02303df09f869.bundle.js} +1 -1
  110. package/dist/{165.e2ecb64983939a96f129.bundle.js → 197.d9ad911f2f09ee7f4c44.bundle.js} +1 -1
  111. package/dist/{166.65286425804ad7dfe2e9.bundle.js → 198.8cf96a77ff98047b56d4.bundle.js} +1 -1
  112. package/dist/{167.c6c6cc46fcc2b8583175.bundle.js → 199.46d552230fd3b9a277c8.bundle.js} +1 -1
  113. package/dist/2.0d59ab629b316a74f299.bundle.js +2 -0
  114. package/dist/{16.bdd4a67077a1dfa0aefc.bundle.js → 20.570db04dfd68538d4a39.bundle.js} +1 -1
  115. package/dist/{168.315ff506ef157f2dd68d.bundle.js → 200.e8bd925fee20f081e0d8.bundle.js} +1 -1
  116. package/dist/{169.a8137f6bfee189645694.bundle.js → 201.38a5e9c920da6c674bb2.bundle.js} +1 -1
  117. package/dist/{170.0eb13b2a619662203972.bundle.js → 202.60995e2807007fdefbbc.bundle.js} +1 -1
  118. package/dist/{171.689e5189a68b5d712f1d.bundle.js → 203.09062b200e16b561e992.bundle.js} +1 -1
  119. package/dist/{172.24bac3c88732b6bc72f9.bundle.js → 204.cea7c3f2fe05cd173b26.bundle.js} +1 -1
  120. package/dist/{173.c0b3e63eb4c2b828a1b6.bundle.js → 205.69be86aebcd45d957b1e.bundle.js} +1 -1
  121. package/dist/206.092c305505663ce80fac.bundle.js +1 -0
  122. package/dist/{175.1b8efcb27b17dd75d62f.bundle.js → 207.8ab144e114ccc93a2c94.bundle.js} +1 -1
  123. package/dist/{176.a782be4f5035dbcf47f3.bundle.js → 208.27d350ea98a8bc335a7d.bundle.js} +1 -1
  124. package/dist/{177.4f0582fedc8fda87babb.bundle.js → 209.2c79024b41dfac14c3f9.bundle.js} +1 -1
  125. package/dist/21.36475dc68b05a7616c09.bundle.js +3 -0
  126. package/dist/210.0f6c9ebcadbffaa8531e.bundle.js +1 -0
  127. package/dist/{179.fe1f4ff6cae23c056538.bundle.js → 211.aca395e80f5e6a48e0de.bundle.js} +1 -1
  128. package/dist/{180.1182b4fec70a9597c7ec.bundle.js → 212.36953c7f97cd6507d2d6.bundle.js} +1 -1
  129. package/dist/{181.badd2e06a003c34308fd.bundle.js → 213.7804fa487e6278a29e53.bundle.js} +1 -1
  130. package/dist/{182.107bd28df28bef4c2909.bundle.js → 214.c886d5ef7eec1e676930.bundle.js} +1 -1
  131. package/dist/215.5b427a823993da06a4ec.bundle.js +1 -0
  132. package/dist/{184.67a82fc3d401ed71e42d.bundle.js → 216.f02f8bcf96f472f5b84d.bundle.js} +1 -1
  133. package/dist/{185.66708cd7a879a4eae697.bundle.js → 217.4f7c1f106d34fe29303c.bundle.js} +1 -1
  134. package/dist/{186.108c237753ea448dc4d3.bundle.js → 218.cd8f1c38958f6da4610e.bundle.js} +1 -1
  135. package/dist/{187.7f30c4e08e34208a39e0.bundle.js → 219.195dfdb05aa457e0ffad.bundle.js} +1 -1
  136. package/dist/22.d596716afd3c7b45cbf9.bundle.js +2 -0
  137. package/dist/{188.532c781e1ef597c73e67.bundle.js → 220.359062c67e1ac99041a0.bundle.js} +1 -1
  138. package/dist/{189.05e267b32af8242bbb08.bundle.js → 221.489ed1f3b133ae83f38e.bundle.js} +1 -1
  139. package/dist/{190.1d35ed6c3463117d673a.bundle.js → 222.ac5be57c1ecf47951587.bundle.js} +1 -1
  140. package/dist/223.12ba4921db0a80a7f6ec.bundle.js +1 -0
  141. package/dist/224.6601a180974115a39936.bundle.js +1 -0
  142. package/dist/{193.a1bdfd421997c6409184.bundle.js → 225.573bc79a0dd932a2676f.bundle.js} +1 -1
  143. package/dist/{194.11dce90246b57ec587b7.bundle.js → 226.c4bc92b0728fa5defa97.bundle.js} +1 -1
  144. package/dist/{195.bf6f340f6c26325f8a68.bundle.js → 227.653e1bf41320c331f905.bundle.js} +1 -1
  145. package/dist/{196.49c3671b0ba069dc7ef1.bundle.js → 228.c4b21051d5d8f71835dd.bundle.js} +1 -1
  146. package/dist/{197.d90b1f3a6fa0fa5c8e71.bundle.js → 229.855b8ace3ff3b2e00c6c.bundle.js} +1 -1
  147. package/dist/23.0adf50d63d8e28f1e792.bundle.js +2 -0
  148. package/dist/230.0488e3db5b97f2f0718e.bundle.js +1 -0
  149. package/dist/{199.91ebfd371cf7bf6f5c4f.bundle.js → 231.ab1564ef24bd5560bff9.bundle.js} +1 -1
  150. package/dist/232.563f877ad8cb57bd7ae9.bundle.js +1 -0
  151. package/dist/{201.6b142495658006864d07.bundle.js → 233.a5556c9c0ab666b2ba78.bundle.js} +1 -1
  152. package/dist/{202.8edcdbed3861f93e2b9c.bundle.js → 234.367169c455d8820a807c.bundle.js} +1 -1
  153. package/dist/{203.3e57e9c58ea07a5c557b.bundle.js → 235.2f2d4c37affc808fa971.bundle.js} +1 -1
  154. package/dist/{204.54e15792c8c1c60b49d6.bundle.js → 236.35e1180ad2c8ce70ad4b.bundle.js} +1 -1
  155. package/dist/{205.a9ec4a6ed99007eade40.bundle.js → 237.83c53e7e4e46c2d64368.bundle.js} +1 -1
  156. package/dist/{206.b8ea895d33805498670e.bundle.js → 238.eb9903b3fdd36c43571f.bundle.js} +1 -1
  157. package/dist/239.7847b00aedc190fd0c6a.bundle.js +1 -0
  158. package/dist/24.502346cd50a23ebc05a4.bundle.js +2 -0
  159. package/dist/240.d65f43e1dbace7d8d7d3.bundle.js +1 -0
  160. package/dist/{210.0e1ac9a13cec02b2e00f.bundle.js → 241.28390930afd91ed8d816.bundle.js} +1 -1
  161. package/dist/{211.c66166dfc9bef130f11a.bundle.js → 242.9509806f8a01d26bdf83.bundle.js} +1 -1
  162. package/dist/243.f903930bec14e06ab93c.bundle.js +1 -0
  163. package/dist/244.6220325e47e556f08596.bundle.js +1 -0
  164. package/dist/{214.f8a7783d8a401220f40b.bundle.js → 245.51569c5abc67f65be79e.bundle.js} +1 -1
  165. package/dist/{215.4c7d4e26060bc4fa665e.bundle.js → 246.816cec67bc81bab4371f.bundle.js} +1 -1
  166. package/dist/{216.d4576c9401e162281c05.bundle.js → 247.f993b0c29022d6f15136.bundle.js} +1 -1
  167. package/dist/{217.6153ee468e30b8b3f4f6.bundle.js → 248.511260c598cc125e71e4.bundle.js} +1 -1
  168. package/dist/249.bcb3610366e645f33995.bundle.js +1 -0
  169. package/dist/25.678921570976233c7289.bundle.js +3 -0
  170. package/dist/{219.42d2968dff17a1cb197e.bundle.js → 250.4ca0ea98b21c22156982.bundle.js} +1 -1
  171. package/dist/251.010f27656deea8b99ebc.bundle.js +1 -0
  172. package/dist/{221.8a9bb83e2ca80c71aa0f.bundle.js → 252.14189833165f412a68cd.bundle.js} +1 -1
  173. package/dist/253.b13d8c3004ab84305e69.bundle.js +1 -0
  174. package/dist/254.6875897bff77b6222c2a.bundle.js +1 -0
  175. package/dist/{224.30c6fb78c4913479a4fb.bundle.js → 255.44cb00a2b9e6a891daa1.bundle.js} +1 -1
  176. package/dist/256.b1032d9d6cc12cc90281.bundle.js +1 -0
  177. package/dist/257.cd5f9fcbaa21f8e9f2db.bundle.js +1 -0
  178. package/dist/258.109ff997ac0412172236.bundle.js +1 -0
  179. package/dist/259.e063188721ef545ef935.bundle.js +1 -0
  180. package/dist/26.7c6e89eb56f77f636771.bundle.js +2 -0
  181. package/dist/260.8b4d34bd5f8771440f83.bundle.js +1 -0
  182. package/dist/261.1cef385e5bc9a0120cab.bundle.js +1 -0
  183. package/dist/{227.987d372a187ed7979252.bundle.js → 262.ac373be4e20b215d4005.bundle.js} +1 -1
  184. package/dist/{228.d4601448c9799d1c6538.bundle.js → 263.3335aaa1b90fea9ad424.bundle.js} +1 -1
  185. package/dist/{229.61c97977e7032772ecb4.bundle.js → 264.508024327c7e15863b03.bundle.js} +1 -1
  186. package/dist/{230.cb819039e67a93a34541.bundle.js → 265.e47f5f16cca0f82cdec5.bundle.js} +1 -1
  187. package/dist/{231.f60b94ce332af52008aa.bundle.js → 266.7fe249a8dd58496edd5a.bundle.js} +1 -1
  188. package/dist/{232.1d6fb6e62d8fc62ea10a.bundle.js → 267.813c52fac5e3a4c10bec.bundle.js} +1 -1
  189. package/dist/{233.dbe5dc7cf2503ca5c591.bundle.js → 268.35a3fd52026094e7d15b.bundle.js} +1 -1
  190. package/dist/{234.50f38ed9c15d7485e98e.bundle.js → 269.6fac51bdfdcd247f48ad.bundle.js} +1 -1
  191. package/dist/27.c42f609759f76ec9a0b1.bundle.js +1 -0
  192. package/dist/{235.36eea53474e198ed9f8e.bundle.js → 270.9db5f5e3f78875e3220c.bundle.js} +1 -1
  193. package/dist/{236.d0119bc798c924cfae70.bundle.js → 271.9b9fede86283fadfb193.bundle.js} +1 -1
  194. package/dist/{237.d115baad2682f050b642.bundle.js → 272.adde63f600ed911c15a8.bundle.js} +1 -1
  195. package/dist/{238.98486ccd2b7ee258fcc4.bundle.js → 273.1e58a14bc482f37dae02.bundle.js} +1 -1
  196. package/dist/{239.8c68b3f9d15a13a5da0b.bundle.js → 274.4c4b5c33f1e88d517c3d.bundle.js} +1 -1
  197. package/dist/275.9dc2c9482c53353e2567.bundle.js +1 -0
  198. package/dist/{241.a90f93cdf6b718f8ccf9.bundle.js → 276.9c964d4fad7d64de9dd0.bundle.js} +1 -1
  199. package/dist/{242.3a73c867bf57d3fbb810.bundle.js → 277.0c31b0aaf8afedffd739.bundle.js} +1 -1
  200. package/dist/{243.1973d7431d7a17936443.bundle.js → 278.2e0c8e3aaa8bfbec0561.bundle.js} +1 -1
  201. package/dist/{244.8444f98a8ec24b7c37e2.bundle.js → 279.cf588b3c41cebbbddbc8.bundle.js} +1 -1
  202. package/dist/28.070e1e29848334dc9ebb.bundle.js +1 -0
  203. package/dist/{245.9636cf7f6606068cb3a6.bundle.js → 280.7a1fff29dbaae2ab91a2.bundle.js} +1 -1
  204. package/dist/281.68715e3756b54db92deb.bundle.js +1 -0
  205. package/dist/{247.4955851755c875c53533.bundle.js → 282.a0559bbcbfe9c92ffd76.bundle.js} +1 -1
  206. package/dist/{248.ada296e9a8a5456816fa.bundle.js → 283.172f7328e455cb38f8ad.bundle.js} +1 -1
  207. package/dist/{249.92cb46db35d013e374e4.bundle.js → 284.6a0d07f30f21f0f4be50.bundle.js} +1 -1
  208. package/dist/{250.551ab6039ac308b37046.bundle.js → 285.f0e41adb7ba7e938d5ec.bundle.js} +1 -1
  209. package/dist/{251.c50beffac4a15fcd6cc4.bundle.js → 286.0eee3de95ff80d120e02.bundle.js} +1 -1
  210. package/dist/{252.9c49ec3e8e6216666f72.bundle.js → 287.5a566c1270bd784a7f51.bundle.js} +1 -1
  211. package/dist/{253.cacce88991f3565ccbc5.bundle.js → 288.a32072eeac9eccbb5698.bundle.js} +1 -1
  212. package/dist/{254.6f2f418d35f273d36d46.bundle.js → 289.fbfa6ce0a5f1d15259b4.bundle.js} +1 -1
  213. package/dist/29.a86d9d0af0b450c51ec6.bundle.js +1 -0
  214. package/dist/290.490de8b61f494279836a.bundle.js +1 -0
  215. package/dist/{256.5299aff146bff9106694.bundle.js → 291.da9edfebb6940cbaee70.bundle.js} +1 -1
  216. package/dist/{257.edeb2160403986002b6a.bundle.js → 292.9e4d468765ee6b3db189.bundle.js} +1 -1
  217. package/dist/{258.5e948ed7fb4ad5b044b9.bundle.js → 293.00eee1c8630942feed6e.bundle.js} +1 -1
  218. package/dist/294.e6c10040aa02069c1e05.bundle.js +1 -0
  219. package/dist/{260.0ef916c69b120f308964.bundle.js → 295.95030365ac036cda2e5f.bundle.js} +1 -1
  220. package/dist/{261.225137d2ad99664d6161.bundle.js → 296.a80e29fc4de1a421231b.bundle.js} +1 -1
  221. package/dist/{263.ca7df4aba7e4f945ad36.bundle.js → 297.829ef1630b4e75540813.bundle.js} +1 -1
  222. package/dist/{264.a03e17d70d78681e1891.bundle.js → 298.6b1a667d8bcbe6d3821d.bundle.js} +1 -1
  223. package/dist/{265.74666bb6329431145ee6.bundle.js → 299.fe9ca43f790c155799d6.bundle.js} +1 -1
  224. package/dist/3.8428e684412876d7abd1.bundle.js +1 -0
  225. package/dist/30.1f68f17a4430a7df9cd9.bundle.js +1 -0
  226. package/dist/{266.c313c81618050f779d0a.bundle.js → 300.8f9582a9f4bfbf07c7ba.bundle.js} +1 -1
  227. package/dist/{267.1615e2999c584ba47a3f.bundle.js → 301.387501285ac0b2f557ca.bundle.js} +1 -1
  228. package/dist/302.cd7dfab197ea83fddc62.bundle.js +1 -0
  229. package/dist/303.941ff2a734bdce0b6d1c.bundle.js +1 -0
  230. package/dist/304.671e1670f088e209a4e6.bundle.js +1 -0
  231. package/dist/305.19e9c095f3a4da9b063c.bundle.js +1 -0
  232. package/dist/306.9f15b59b9f4b9a1c4255.bundle.js +1 -0
  233. package/dist/307.fce2ff46fc55d2fe75c7.bundle.js +1 -0
  234. package/dist/{268.4537af5084595364571e.bundle.js → 308.5acbd03acf472e20ae08.bundle.js} +1 -1
  235. package/dist/309.5b1e827b31e736a31f04.bundle.js +1 -0
  236. package/dist/{22.ca2ee125533414af6b44.bundle.js → 31.c1cda21566969e913a57.bundle.js} +1 -1
  237. package/dist/{270.1d56637b5e881e9d574c.bundle.js → 310.a44534336e78f61eb546.bundle.js} +1 -1
  238. package/dist/{271.db31c78b09a0419559e1.bundle.js → 311.edb2960e58f2ab6cf72f.bundle.js} +1 -1
  239. package/dist/{272.7046c61a75b544baf99b.bundle.js → 312.f9ae518b97765ab230a4.bundle.js} +1 -1
  240. package/dist/313.f65b42bd83ed3ecd090e.bundle.js +1 -0
  241. package/dist/{274.12bae4619afa0b2e4562.bundle.js → 314.aa017fbf0412dc642dec.bundle.js} +1 -1
  242. package/dist/315.b56535ccf659e0dc2b00.bundle.js +1 -0
  243. package/dist/{275.b813e0c8f34990596f78.bundle.js → 316.04cf972c06c0c069e03d.bundle.js} +1 -1
  244. package/dist/32.5b1d35866a8521c0ddd8.bundle.js +1 -0
  245. package/dist/322.7c4db969edcd5ded15fa.bundle.js +1 -0
  246. package/dist/{282.e5f5ef3b1fb929634ba9.bundle.js → 323.d4666997f49a2f813fc2.bundle.js} +1 -1
  247. package/dist/{283.1704806f1c3bda8bb708.bundle.js → 324.020e9c4d1e9873cd9e3e.bundle.js} +1 -1
  248. package/dist/{284.fd607e6497c2eb2331cd.bundle.js → 325.52a67b5eb37e212db794.bundle.js} +1 -1
  249. package/dist/{285.818720039f4ecc77b3e7.bundle.js → 326.73f77ba8f2c8871554a0.bundle.js} +1 -1
  250. package/dist/{286.fd8efdecce8cbe19c230.bundle.js → 327.32ff9cb46eabb5d4a953.bundle.js} +1 -1
  251. package/dist/{290.abc3688c658e9720c2b9.bundle.js → 328.a976af34cedf2fa2f704.bundle.js} +1 -1
  252. package/dist/{291.2f19d0eb3d7fb55c9ac4.bundle.js → 329.12cfb97185cd3f19ec78.bundle.js} +1 -1
  253. package/dist/{24.79bd905f69d00f38ce5a.bundle.js → 33.6f0a59e5fd188a8ce2fc.bundle.js} +1 -1
  254. package/dist/{292.9a208c01122fe17410b9.bundle.js → 330.54d08af7ae2a1b1543d4.bundle.js} +1 -1
  255. package/dist/{293.360da392346e3f8076ff.bundle.js → 331.7ad05387c5ea80f14b3b.bundle.js} +1 -1
  256. package/dist/{294.1e0134fafd669378ec10.bundle.js → 332.290a55c149676f8b12bc.bundle.js} +1 -1
  257. package/dist/{295.9b2955a638a6336dc6e5.bundle.js → 333.c68c64b311929e005970.bundle.js} +1 -1
  258. package/dist/{296.c688f2b1a4361ca938df.bundle.js → 334.b18e698ff9268dd2f3c0.bundle.js} +1 -1
  259. package/dist/{297.10723db0cfa2ca3d7e9d.bundle.js → 335.283607f4b4419c912c3a.bundle.js} +1 -1
  260. package/dist/{298.2df50a85d79650a27a56.bundle.js → 336.85b41400f26a45c913d2.bundle.js} +1 -1
  261. package/dist/337.be3ec594318206dc00e8.bundle.js +1 -0
  262. package/dist/338.915990e8e5e0ee62b4d1.bundle.js +1 -0
  263. package/dist/{300.0cfb3d0b14a74af64e82.bundle.js → 339.b0202e92037aba9cb17d.bundle.js} +1 -1
  264. package/dist/34.f5a79845264515ae6574.bundle.js +1 -0
  265. package/dist/340.90a0259ff21debda0ed7.bundle.js +1 -0
  266. package/dist/341.6f383e4e7b8992f8aea6.bundle.js +1 -0
  267. package/dist/342.1da6fe384b21e903637d.bundle.js +1 -0
  268. package/dist/{304.3d83f1dfe533dec88e6c.bundle.js → 343.5d92dd5674501400d188.bundle.js} +1 -1
  269. package/dist/{305.14891e5939f97cb751ca.bundle.js → 344.43a9237134f205770ce2.bundle.js} +1 -1
  270. package/dist/{306.20f724177de07f5c890d.bundle.js → 345.01c18050b4be81825691.bundle.js} +1 -1
  271. package/dist/{307.46fbff297c0287265fd9.bundle.js → 346.cdbb73c02ebb13454de5.bundle.js} +1 -1
  272. package/dist/{308.88f7a0db8be6837e00fa.bundle.js → 347.def6584542f8f9ad0c18.bundle.js} +1 -1
  273. package/dist/{309.7b83f6b5a705afff9eab.bundle.js → 348.eb0c9e5cf2e6f0e66bf2.bundle.js} +1 -1
  274. package/dist/{310.dca6c1bfeb9264e0ab4f.bundle.js → 349.62cda39dc01594143a0b.bundle.js} +1 -1
  275. package/dist/{25.600e8bbf7fc20af9e673.bundle.js → 35.cb4a1994570fcd048ff3.bundle.js} +1 -1
  276. package/dist/{311.56cb5e0f1b1dc8b3725e.bundle.js → 350.015bc2bbf9e045ebea7e.bundle.js} +1 -1
  277. package/dist/{312.3b54b95368a118302e20.bundle.js → 351.fff6d1022304bda921f0.bundle.js} +1 -1
  278. package/dist/{313.1ce22bfc57424ad1d2fb.bundle.js → 352.5a29fe2cc31e8c3d7b5d.bundle.js} +1 -1
  279. package/dist/{314.926516bd7e90c67373a3.bundle.js → 353.9c0c64bdfd84177d3c1b.bundle.js} +1 -1
  280. package/dist/{315.92036aca75b6a9dad60a.bundle.js → 354.cbb2e30901240d068afc.bundle.js} +1 -1
  281. package/dist/{316.765d133afe5fb97fdd40.bundle.js → 355.92484d90d33cb01731cd.bundle.js} +1 -1
  282. package/dist/{317.c744f8f1f21fdafc0b78.bundle.js → 356.c9f3f2d892ee4ae0f994.bundle.js} +1 -1
  283. package/dist/{318.390af989d3ef5f42577d.bundle.js → 357.9ba93f216d695ec04f0e.bundle.js} +1 -1
  284. package/dist/{319.a625c9ecab007095f599.bundle.js → 358.f54aa69efc0ddeea425d.bundle.js} +1 -1
  285. package/dist/{320.3889f0a6f5aff873ab7c.bundle.js → 359.7c5836271c880c903e3e.bundle.js} +1 -1
  286. package/dist/36.6b37b8a1eb9f42181b77.bundle.js +1 -0
  287. package/dist/{321.e0e2ccb2b30c9a5484a6.bundle.js → 360.fd188c7eb77ecf4bc041.bundle.js} +1 -1
  288. package/dist/{322.1fe729e77c7a2a33fdcc.bundle.js → 361.38d8e51020cd5de85195.bundle.js} +1 -1
  289. package/dist/{323.bcf838c211c993cb08a7.bundle.js → 362.dc87ac4c16d14af79658.bundle.js} +1 -1
  290. package/dist/{324.dc37822abaa94de31d80.bundle.js → 363.1f0c267f2e8149e447d5.bundle.js} +1 -1
  291. package/dist/{325.8d68453857cbd562cd09.bundle.js → 364.6decef5064677280593e.bundle.js} +1 -1
  292. package/dist/{326.923de7c364b841c430ee.bundle.js → 365.ab9b6229226d0d8c3c90.bundle.js} +1 -1
  293. package/dist/{327.31295ecc092f78340f0b.bundle.js → 366.a8401578ca9a025b7bbf.bundle.js} +1 -1
  294. package/dist/{328.80c4d1297a758ae32c30.bundle.js → 367.476201de3d45ce3d4363.bundle.js} +1 -1
  295. package/dist/368.1547e3f6478d479da027.bundle.js +1 -0
  296. package/dist/{329.90bdbda895cddb141603.bundle.js → 369.d3c2d2e8c3127df3db3d.bundle.js} +1 -1
  297. package/dist/37.13c68d58d163df49bdb4.bundle.js +1 -0
  298. package/dist/{330.7b52a9acca29f3b211f5.bundle.js → 370.34bec85793d564dbc5ee.bundle.js} +1 -1
  299. package/dist/{331.9f8f417788cceb622475.bundle.js → 371.d215bb7b41b208637d88.bundle.js} +1 -1
  300. package/dist/372.c76dbc1f58c39ef9e9c9.bundle.js +1 -0
  301. package/dist/{333.e85fbde479e1736f7367.bundle.js → 373.d7b80790d7ceeb3e66c8.bundle.js} +1 -1
  302. package/dist/{334.59a725f3379fb526e9ad.bundle.js → 374.a78220a75a28b71edd15.bundle.js} +1 -1
  303. package/dist/{335.de41e90d68f183fbd569.bundle.js → 375.ad5936cde217fd1cd24b.bundle.js} +1 -1
  304. package/dist/{336.890188e781f2276309c9.bundle.js → 376.b56eccfc38f4ff00dcac.bundle.js} +1 -1
  305. package/dist/{337.8fb07ae44f3b18843fd9.bundle.js → 377.0307f5e28ae10b2e5559.bundle.js} +1 -1
  306. package/dist/{338.4a5b533a9fb5a3448eb8.bundle.js → 378.8a0d517c55b0350a47a2.bundle.js} +1 -1
  307. package/dist/{339.b966848214f586787e34.bundle.js → 379.baebd3f64a0c560ac950.bundle.js} +1 -1
  308. package/dist/38.a8c8099f2e8a4f3c778f.bundle.js +1 -0
  309. package/dist/{340.043aff0dbbc4295504c2.bundle.js → 380.765f42a738c22bda1042.bundle.js} +1 -1
  310. package/dist/{341.e3398d4ba3bdd8411fd6.bundle.js → 381.bbf26c624dea07cfb7a8.bundle.js} +1 -1
  311. package/dist/{342.100cf6659f33171fe28a.bundle.js → 382.d6ca2271ad6cf3b331da.bundle.js} +1 -1
  312. package/dist/383.53043bc87ea19731b4a6.bundle.js +1 -0
  313. package/dist/384.ea90d9b7352ddcef14a8.bundle.js +1 -0
  314. package/dist/385.7d99dca1e888797e863f.bundle.js +1 -0
  315. package/dist/386.2f621d0ba89b312ca82a.bundle.js +1 -0
  316. package/dist/387.29da972aa360a0692268.bundle.js +1 -0
  317. package/dist/{287.aa9e8e2b092c60c7669c.bundle.js → 388.efbe814406005b02e54c.bundle.js} +1 -1
  318. package/dist/{288.f627ffd85def2677d419.bundle.js → 389.64fbc1cce1d5fee57949.bundle.js} +1 -1
  319. package/dist/39.c95b44b1252f8486526f.bundle.js +1 -0
  320. package/dist/390.a8c577456ba6613eb381.bundle.js +1 -0
  321. package/dist/{289.ac33b97442c69a26dbc3.bundle.js → 391.9ea58d3642d9ee8cc0b1.bundle.js} +1 -1
  322. package/dist/392.4afcc55b76473416d5ef.bundle.js +1 -0
  323. package/dist/393.ad0dec66070ed288d61b.bundle.js +1 -0
  324. package/dist/394.488259a20fcc3f78c877.bundle.js +1 -0
  325. package/dist/395.6a033799cf93451ad83f.bundle.js +1 -0
  326. package/dist/{345.617ee68d74a419aa638d.bundle.js → 396.547c7fde7bc12cc9d3db.bundle.js} +1 -1
  327. package/dist/{346.33b06b8194844c6ac70c.bundle.js → 397.0a97a309be2c1da989ab.bundle.js} +1 -1
  328. package/dist/{347.c22b11b9399a806611f7.bundle.js → 398.6badaf34f20203bada77.bundle.js} +1 -1
  329. package/dist/{348.b1f95e9668604c9f1537.bundle.js → 399.f12d38319a9a79933e5a.bundle.js} +1 -1
  330. package/dist/4.315b68e20ac4cc89b142.bundle.js +1 -0
  331. package/dist/40.2bae5e74a9d177db15da.bundle.js +1 -0
  332. package/dist/41.b8d121d5ec004cf9dea1.bundle.js +1 -0
  333. package/dist/{31.fb4f5161b4a6772d5070.bundle.js → 42.82eacf4859c6cbd5f51f.bundle.js} +1 -1
  334. package/dist/{32.d8891b8f8b38d373d766.bundle.js → 43.2b4a9d33022e90ac0be2.bundle.js} +1 -1
  335. package/dist/{33.2f0f674804db0b6e1285.bundle.js → 44.595e88a34ef82254fe25.bundle.js} +1 -1
  336. package/dist/45.c470ec6048e1039fd0aa.bundle.js +1 -0
  337. package/dist/46.b49469dd7b92f04a2854.bundle.js +1 -0
  338. package/dist/47.060a414a4eaf36ed34cb.bundle.js +1 -0
  339. package/dist/{35.822c7f9fb748934a4408.bundle.js → 48.d5bc567583d5e25547dc.bundle.js} +1 -1
  340. package/dist/{36.fd1ab27926210be8ab74.bundle.js → 49.6ec3a9dc86537f805bde.bundle.js} +1 -1
  341. package/dist/{3.1fa42f37ad5bd0e5ccfa.bundle.js → 5.1b5abc3bb39cf8897dc2.bundle.js} +1 -1
  342. package/dist/50.f80fad019d39f074149e.bundle.js +1 -0
  343. package/dist/{37.a13e60850a9a07c446dc.bundle.js → 51.6de9a6ab46d8827104d0.bundle.js} +2 -2
  344. package/dist/52.b8414a9fb196b747d2a6.bundle.js +1 -0
  345. package/dist/53.bb3c7f37e60f65c29021.bundle.js +1 -0
  346. package/dist/54.67e090bb4a052816c714.bundle.js +1 -0
  347. package/dist/{41.2c9a2d3442452650eb05.bundle.js → 55.c55aabd6a1f8b25f2580.bundle.js} +1 -1
  348. package/dist/56.5e98db705e0a6efb1d07.bundle.js +1 -0
  349. package/dist/{43.f3516933e9fc7c240588.bundle.js → 57.abc7849d969a76057940.bundle.js} +1 -1
  350. package/dist/{44.ae510f5df386fbbebef2.bundle.js → 58.50571f2fffe2f1460096.bundle.js} +1 -1
  351. package/dist/{45.d91d7edbc37142f4f78e.bundle.js → 59.f2dbfcba177233488235.bundle.js} +1 -1
  352. package/dist/6.14ee1b5204145188133a.bundle.js +1 -0
  353. package/dist/60.7ad08e1ea896217fdac9.bundle.js +1 -0
  354. package/dist/61.4ac0ecc72730f82a8f30.bundle.js +1 -0
  355. package/dist/62.1dc54be1544831eb448b.bundle.js +1 -0
  356. package/dist/63.4aa2e5a87569d01c0ed7.bundle.js +1 -0
  357. package/dist/{47.73df3897064e52f7e349.bundle.js → 64.36ebe11edac1da1b0d98.bundle.js} +2 -2
  358. package/dist/{48.3c991adc332749c3acdd.bundle.js → 65.896a3eaa522be746be60.bundle.js} +1 -1
  359. package/dist/{49.8889b00d2203095c3a93.bundle.js → 66.f7242d9a5ed559431ea7.bundle.js} +1 -1
  360. package/dist/67.83356de3de8509b1e165.bundle.js +1 -0
  361. package/dist/68.270fc7723abcb2e37f46.bundle.js +1 -0
  362. package/dist/69.a739e488b08255da4565.bundle.js +1 -0
  363. package/dist/7.45640a1e85a0e58f41d1.bundle.js +1 -0
  364. package/dist/70.1a91b4a4b85d13a69710.bundle.js +1 -0
  365. package/dist/{52.d0576a9b8e77887a0256.bundle.js → 71.43ffebf29bde40ba3f77.bundle.js} +1 -1
  366. package/dist/{53.755b81d1c2a1a4996ead.bundle.js → 72.9f992138ec54216a251f.bundle.js} +1 -1
  367. package/dist/73.a4e578bf6d5f0d59f75e.bundle.js +1 -0
  368. package/dist/74.291594bc989e21f2aba6.bundle.js +1 -0
  369. package/dist/75.676ae7a419fe23e4a872.bundle.js +1 -0
  370. package/dist/{56.c7c46100fbdfa25645de.bundle.js → 76.f6535b08fc78b47a9c7e.bundle.js} +1 -1
  371. package/dist/77.ab3c9d589948bbae358e.bundle.js +1 -0
  372. package/dist/78.2e0eafd8e36d810644c5.bundle.js +1 -0
  373. package/dist/{58.69b21edd46a707e2b7a4.bundle.js → 79.bfb074733534a6247c06.bundle.js} +1 -1
  374. package/dist/8.611184e202a99e8c66e2.bundle.js +1 -0
  375. package/dist/80.cc1cebcc79df1bfccc83.bundle.js +1 -0
  376. package/dist/81.d8af8695c90555e2969a.bundle.js +1 -0
  377. package/dist/{61.98a3ef4ed5c339daddb8.bundle.js → 82.79dcf025720340cc80be.bundle.js} +1 -1
  378. package/dist/83.e40c2ed0a82336d2a200.bundle.js +1 -0
  379. package/dist/{64.6a6aa6434a66542efffa.bundle.js → 84.564dbdaadac4d8f943e6.bundle.js} +1 -1
  380. package/dist/{65.6941c78bf1dc89a30b9f.bundle.js → 85.a26dd294cbde346e535a.bundle.js} +1 -1
  381. package/dist/{66.b0e1523c5ffaef2e7332.bundle.js → 86.a0e03ca9e6b275e5d86c.bundle.js} +1 -1
  382. package/dist/{67.2e0c784b7da674617bbb.bundle.js → 87.3b21eccdeca424f07078.bundle.js} +1 -1
  383. package/dist/88.591fff6c8f27d6dada6f.bundle.js +1 -0
  384. package/dist/89.fd4df0be29181be0c0ea.bundle.js +1 -0
  385. package/dist/9.ef09c58a5a6d39c69a24.bundle.js +1 -0
  386. package/dist/90.eec16c54cc9f9015f59f.bundle.js +1 -0
  387. package/dist/91.1325c47ab1e1bde6f2f4.bundle.js +1 -0
  388. package/dist/92.9f757b1920f681d4001a.bundle.js +1 -0
  389. package/dist/93.de6030748b9e71e4f2cb.bundle.js +1 -0
  390. package/dist/94.8d63afe2e8cf0489199a.bundle.js +1 -0
  391. package/dist/{74.79caa682c1fb91f0cba7.bundle.js → 95.565e12014a029895a47e.bundle.js} +1 -1
  392. package/dist/{75.198f1c728a9dc99932dc.bundle.js → 96.43c4ab175d5100f42417.bundle.js} +1 -1
  393. package/dist/97.2aa9813bb8e2ddcf9e41.bundle.js +1 -0
  394. package/dist/98.fbabe5fb9ba60ec4359f.bundle.js +1 -0
  395. package/dist/{77.e510a937a762eecefd8e.bundle.js → 99.3058922e7c3afd38944e.bundle.js} +1 -1
  396. package/dist/{bundle.e9d033452bd6be1b83f3.bundle.js → bundle.62e20bb1a87767d98a3f.bundle.js} +20 -20
  397. package/dist/css/bootstrap-graphdb-theme.css +13 -3
  398. package/dist/css/common.css +10 -0
  399. package/dist/css/repositories.css +1 -1
  400. package/dist/css/ttyg/agent-list.css +118 -0
  401. package/dist/css/ttyg/agent-select-menu.css +47 -0
  402. package/dist/css/ttyg/agent-settings-modal.css +105 -0
  403. package/dist/css/ttyg/chat-item-details.css +168 -0
  404. package/dist/css/ttyg/chat-list.css +99 -0
  405. package/dist/css/ttyg/chat-panel.css +83 -0
  406. package/dist/css/ttyg/no-agents-view.css +19 -0
  407. package/dist/css/ttyg/ttyg.css +151 -0
  408. package/dist/i18n/locale-en.json +429 -23
  409. package/dist/i18n/locale-fr.json +442 -54
  410. package/dist/index.html +7 -4
  411. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  412. package/dist/js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html +14 -0
  413. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  414. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  415. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  416. package/dist/js/angular/core/templates/modal/modal-simple.html +1 -1
  417. package/dist/js/angular/import/templates/import-resource-status-info.html +1 -1
  418. package/dist/js/angular/repositories/templates/manage-remote-location-dialog.template.html +112 -0
  419. package/dist/js/angular/security/templates/user.html +1 -1
  420. package/dist/js/angular/ttyg/templates/agent-list.html +73 -0
  421. package/dist/js/angular/ttyg/templates/agent-select-menu.html +36 -0
  422. package/dist/js/angular/ttyg/templates/chat-item-detail.html +95 -0
  423. package/dist/js/angular/ttyg/templates/chat-list.html +55 -0
  424. package/dist/js/angular/ttyg/templates/chat-panel.html +54 -0
  425. package/dist/js/angular/{chatgpt/templates/chat.html → ttyg/templates/chat1.html} +1 -1
  426. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +447 -0
  427. package/dist/js/angular/ttyg/templates/no-agents-view.html +16 -0
  428. package/dist/js/angular/ttyg/templates/ttyg.html +134 -0
  429. package/dist/license-checker-static.json +7 -0
  430. package/dist/license-checker.json +108 -4
  431. package/dist/main.4a2c53e12c5400301af1.css +1 -0
  432. package/dist/{main.d87062391e6bd2af135a.bundle.js → main.bc67010f8efbfa19a87a.bundle.js} +1 -1
  433. package/dist/pages/aclmanagement.html +2 -2
  434. package/dist/pages/autocomplete.html +1 -1
  435. package/dist/pages/choose-repository-type.html +1 -1
  436. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  437. package/dist/pages/create-index.html +1 -1
  438. package/dist/pages/dependencies.html +1 -1
  439. package/dist/pages/domainRangeInfo.html +2 -2
  440. package/dist/pages/edit.html +1 -1
  441. package/dist/pages/explore.html +1 -1
  442. package/dist/pages/export.html +1 -1
  443. package/dist/pages/find.html +1 -1
  444. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  445. package/dist/pages/graphs-visualizations.html +7 -7
  446. package/dist/pages/guides.html +1 -1
  447. package/dist/pages/import.html +2 -2
  448. package/dist/pages/jdbc-create.html +1 -1
  449. package/dist/pages/monitor/backup-and-restore.html +1 -1
  450. package/dist/pages/monitor/queries.html +1 -1
  451. package/dist/pages/monitor/resources.html +1 -1
  452. package/dist/pages/namespaces.html +2 -2
  453. package/dist/pages/plugins.html +1 -1
  454. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  455. package/dist/pages/rdfrank.html +2 -2
  456. package/dist/pages/repositories.html +181 -5
  457. package/dist/pages/repository.html +1 -1
  458. package/dist/pages/similarity-indexes.html +1 -1
  459. package/dist/pages/sparql-editor.html +1 -1
  460. package/dist/pages/sparql-template-create.html +1 -1
  461. package/dist/pages/ux-test1.html +2 -2
  462. package/dist/pages/webapi.html +2 -2
  463. package/dist/plugins.js +34 -34
  464. package/dist/{polyfills-dom.ca5eb32124bc19968252.bundle.js → polyfills-dom.713c6eb5d06e88d29f04.bundle.js} +1 -1
  465. package/dist/res/swagger5/fonts/custom-icons.woff2 +0 -0
  466. package/dist/res/swagger5/fonts/fa-regular-400.woff2 +0 -0
  467. package/dist/res/swagger5/index.html +12 -12
  468. package/dist/{vendor.d77483a768aebf5b9e51.bundle.js → vendor.097ea64a1a6385ba13cb.bundle.js} +4 -4
  469. package/dist/vendor.0dbd09f6d69e78b19728.css +25 -0
  470. package/dist/{vendors~polyfills-core-js.3624d97a659a8b5960c6.bundle.js → vendors~polyfills-core-js.96a1bbab5b3376633c87.bundle.js} +1 -1
  471. package/package.json +4 -2
  472. package/dist/1.9a8a5a340e17c11643b6.bundle.js +0 -1
  473. package/dist/10.cde4715aee111520ab10.bundle.js +0 -1
  474. package/dist/101.67724d1c5eab0229cbe8.bundle.js +0 -1
  475. package/dist/102.73ff72236ce70b195ca5.bundle.js +0 -1
  476. package/dist/11.d6074d5e8b21f93140ef.bundle.js +0 -2
  477. package/dist/110.dd2f5b0811c880673b1c.bundle.js +0 -1
  478. package/dist/112.7836140f8c321eb4cc92.bundle.js +0 -1
  479. package/dist/12.d77cbf85a04c13416797.bundle.js +0 -1
  480. package/dist/14.443c28ad7cefb54afbc3.bundle.js +0 -1
  481. package/dist/148.254a642917f6b6c15d61.bundle.js +0 -1
  482. package/dist/15.6cdd681f18f8cccb36e3.bundle.js +0 -1
  483. package/dist/17.3d7eaaad411633e6bcac.bundle.js +0 -3
  484. package/dist/174.d8e0820fa9a854ca9bcd.bundle.js +0 -1
  485. package/dist/178.0957348875d0effa1ef9.bundle.js +0 -1
  486. package/dist/18.d9d99950a0c1da7f12c6.bundle.js +0 -3
  487. package/dist/183.d0783efdda9357f3fecf.bundle.js +0 -1
  488. package/dist/19.b4244c289c3dfc3c09ec.bundle.js +0 -2
  489. package/dist/191.4a27829ca9f82917c075.bundle.js +0 -1
  490. package/dist/192.18b48442299e101c94bb.bundle.js +0 -1
  491. package/dist/198.bc0d8a5bcd304f288f29.bundle.js +0 -1
  492. package/dist/2.f1a215f762fbc9060ff8.bundle.js +0 -2
  493. package/dist/20.b7b67f324565878b78fb.bundle.js +0 -1
  494. package/dist/200.d51dae4d7a098dbdf4fe.bundle.js +0 -1
  495. package/dist/207.a7009c479f89c28c2b35.bundle.js +0 -1
  496. package/dist/208.e24574635d546598ed63.bundle.js +0 -1
  497. package/dist/209.4b9ac5e926fe1fde0941.bundle.js +0 -1
  498. package/dist/21.f3e03a35598e574d1088.bundle.js +0 -1
  499. package/dist/212.578f5adf8b5c02e176a9.bundle.js +0 -1
  500. package/dist/213.bf39c553daaec0e3a17d.bundle.js +0 -1
  501. package/dist/218.f4c5214b9f608a2835d8.bundle.js +0 -1
  502. package/dist/220.b5a3c109cb5ae12138e7.bundle.js +0 -1
  503. package/dist/222.a98f48c0726553a3e27f.bundle.js +0 -1
  504. package/dist/223.172b2476d760a0afb627.bundle.js +0 -1
  505. package/dist/225.e4b402662c5f8ecdd969.bundle.js +0 -1
  506. package/dist/226.d41bd3bd54d68a488d00.bundle.js +0 -1
  507. package/dist/23.352eec217c0d24b98b14.bundle.js +0 -1
  508. package/dist/240.bd7eafce1c66bf1c7882.bundle.js +0 -1
  509. package/dist/246.9f9f0bf8d23dc6f1662c.bundle.js +0 -1
  510. package/dist/255.440b872b6108a6ccdbca.bundle.js +0 -1
  511. package/dist/259.ee3a351a443f650ce82e.bundle.js +0 -1
  512. package/dist/26.a46725dccee91696a0ba.bundle.js +0 -1
  513. package/dist/262.c9a141390f2ea8b03a0f.bundle.js +0 -1
  514. package/dist/269.34add7a24cff1727163f.bundle.js +0 -1
  515. package/dist/27.6f188fed594aabd1b602.bundle.js +0 -1
  516. package/dist/273.d931a545293c81cc8502.bundle.js +0 -1
  517. package/dist/28.c11269f1bfdea632cc8c.bundle.js +0 -1
  518. package/dist/281.e063a110cf1cc6b1ee3c.bundle.js +0 -1
  519. package/dist/29.9e82fddb3191a1d492ef.bundle.js +0 -1
  520. package/dist/299.6bc38539ac3a1f688515.bundle.js +0 -1
  521. package/dist/30.5e637735aba63bdf1dde.bundle.js +0 -1
  522. package/dist/301.311927a5091e698dcfed.bundle.js +0 -1
  523. package/dist/302.07e63f56f579a56c5ea0.bundle.js +0 -1
  524. package/dist/303.0cc447af82c7337dc639.bundle.js +0 -1
  525. package/dist/332.218235e77c873ac2a107.bundle.js +0 -1
  526. package/dist/34.3664a756f3a6545525cb.bundle.js +0 -1
  527. package/dist/343.36326f594b059044bead.bundle.js +0 -1
  528. package/dist/344.bb213971ae0911fc62a2.bundle.js +0 -1
  529. package/dist/38.f722999a96d03d283e5d.bundle.js +0 -1
  530. package/dist/39.a871b7027a2a298b4299.bundle.js +0 -1
  531. package/dist/4.f801e3f2505057b5fe87.bundle.js +0 -1
  532. package/dist/40.2209efb6cf9a445aaf72.bundle.js +0 -1
  533. package/dist/42.c1055d3f77e831a0feee.bundle.js +0 -1
  534. package/dist/46.7ad1a08290f31fd43400.bundle.js +0 -1
  535. package/dist/5.4dc4c9e2cc7f47eebc6d.bundle.js +0 -1
  536. package/dist/50.367ae07d769401becd85.bundle.js +0 -1
  537. package/dist/51.5f93e26d33e6f8276243.bundle.js +0 -1
  538. package/dist/54.d121d14b8519ccfbcb89.bundle.js +0 -1
  539. package/dist/55.03e7d8a381e4675c44d1.bundle.js +0 -1
  540. package/dist/57.4af71143d20ef8319653.bundle.js +0 -1
  541. package/dist/59.cd0020e8e69a551f3ce7.bundle.js +0 -1
  542. package/dist/6.6cb08e9e9ad072cbfc81.bundle.js +0 -1
  543. package/dist/60.c1d4a6e7b7db06eb5cf0.bundle.js +0 -1
  544. package/dist/62.d8e356c03ac8411adbc1.bundle.js +0 -1
  545. package/dist/63.8e37fba90bde83bd2f3f.bundle.js +0 -1
  546. package/dist/68.7b133326e3a06d04bde1.bundle.js +0 -1
  547. package/dist/69.efd0918b042b1f398041.bundle.js +0 -1
  548. package/dist/7.ee0f4f4648f8fc3ce108.bundle.js +0 -1
  549. package/dist/70.829438eff9c2658951c2.bundle.js +0 -1
  550. package/dist/71.e62a381e89828b1c6313.bundle.js +0 -1
  551. package/dist/72.bc7fc2aaf3a8e8ec1c41.bundle.js +0 -1
  552. package/dist/76.17d0e859ea1d5af3db31.bundle.js +0 -1
  553. package/dist/78.6f4f90c087c54d245a1f.bundle.js +0 -1
  554. package/dist/79.f3efb595666ebe8f0914.bundle.js +0 -1
  555. package/dist/80.dca09d62e752f0cfc49c.bundle.js +0 -1
  556. package/dist/81.c8d004888156470c3aad.bundle.js +0 -1
  557. package/dist/82.45eb346dc80bc3d07b7b.bundle.js +0 -1
  558. package/dist/83.d34173500de6f79f117d.bundle.js +0 -1
  559. package/dist/84.bd622caf3a67cf0911ac.bundle.js +0 -1
  560. package/dist/85.9cb089f63b89d8e7d4b8.bundle.js +0 -1
  561. package/dist/87.8c703c24e6940c7c322c.bundle.js +0 -1
  562. package/dist/88.d5d55f2a585edc6ca23c.bundle.js +0 -1
  563. package/dist/89.73e31db425e7bdd57694.bundle.js +0 -1
  564. package/dist/9.41a5f9b1f94054ff21b4.bundle.js +0 -1
  565. package/dist/90.677903cb383d54b99bb3.bundle.js +0 -1
  566. package/dist/91.3f0a70d1f461d707733a.bundle.js +0 -1
  567. package/dist/92.dcaf435d98ba85bf41d9.bundle.js +0 -1
  568. package/dist/93.c7ffdd12d101f0759f50.bundle.js +0 -1
  569. package/dist/94.ef149157cec71e8c6727.bundle.js +0 -1
  570. package/dist/95.481f9941f7c5102fd02a.bundle.js +0 -1
  571. package/dist/96.963fb705cf41d4813f5f.bundle.js +0 -1
  572. package/dist/97.885a73aa0360fd138b06.bundle.js +0 -1
  573. package/dist/98.4682c01b8beedb7ee99f.bundle.js +0 -1
  574. package/dist/99.15cb2b4dc8cf54d6c473.bundle.js +0 -1
  575. package/dist/main.98c547eac0aca6db48bb.css +0 -1
  576. package/dist/vendor.c3e18291118da6a85719.css +0 -20
  577. /package/dist/js/angular/{chatgpt → ttyg}/templates/chatInfo.html +0 -0
  578. /package/dist/js/angular/{chatgpt → ttyg}/templates/modal/settings.html +0 -0
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[50,61,103,259,305],{159:function(e,t,r){"use strict";r.r(t),r.d(t,"TtygRestServiceFakeBackend",(function(){return a}));var s=r(30),n=r(73);r(81);class a{constructor(){this.conversations=[...i]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(s.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(s.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const r=this.conversations.find(t=>t.id===e);return r&&(r.name=t.name),Promise.resolve({data:Object(s.cloneDeep)(r)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:""+e.question,role:n.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},r=this.conversations.find(t=>t.id===e.conversationId),s={id:e.conversationId,name:r?r.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return r&&(r.messages.push(...s.messages),r.messages.push(t)),new Promise(e=>setTimeout(()=>e({data:s}),2e3))}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const r=Object(s.cloneDeep)(e);return r.conversationId=t.id,this.askQuestion(r)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...o]}),2e3))}getAgent(e){return Promise.resolve({data:Object(s.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o=o.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:l})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null}]}})}}const i=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}];const l={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},214:function(e,t,r){"use strict";r.r(t);var s=r(159);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",n),n.$inject=["$http"];function n(e){new s.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,r)=>e.put("rest/chat/conversations/"+t,r),exportConversation:t=>e.get("rest/chat/conversations/export/"+t,{responseType:"blob"}),askQuestion:t=>e.post("rest/chat/conversations",t),getConversations:()=>e.get("rest/chat/conversations"),deleteConversation:t=>e.delete("rest/chat/conversations/"+t),createConversation:(t={})=>e.post("rest/chat/conversations",t),getAgents:()=>e.get("rest/chat/agents"),getAgent:t=>e.get("rest/chat/agents/"+t),createAgent:t=>e.post("rest/chat/agents",t),editAgent:t=>e.put("rest/chat/agents",t),deleteAgent:t=>e.delete("rest/chat/agents/"+t),explainResponse:(t={})=>e.post("rest/chat/conversations/explain",t),getAgentDefaultValues:()=>e.get("rest/chat/agents/default")}}},73:function(e,t,r){"use strict";r.r(t),r.d(t,"ChatMessageModel",(function(){return s})),r.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class s{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},81:function(e,t,r){"use strict";r.r(t),r.d(t,"AgentModel",(function(){return a})),r.d(t,"AgentInstructionsModel",(function(){return i})),r.d(t,"ExtractionMethodModel",(function(){return o})),r.d(t,"AdditionalExtractionMethodsModel",(function(){return l})),r.d(t,"AdditionalExtractionMethodModel",(function(){return d})),r.d(t,"AgentListModel",(function(){return h})),r.d(t,"ExtractionMethod",(function(){return u})),r.d(t,"AdditionalExtractionMethod",(function(){return c})),r.d(t,"AgentListFilterModel",(function(){return m}));var s=r(30),n=r(84);class a{constructor(e,t){this.hashGenerator=t,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get repositoryId(){return this._repositoryId}set repositoryId(e){this._repositoryId=e}get model(){return this._model}set model(e){this._model=e}get temperature(){return this._temperature}set temperature(e){this._temperature=e}get topP(){return this._topP}set topP(e){this._topP=e}get seed(){return this._seed}set seed(e){this._seed=e}get instructions(){return this._instructions}set instructions(e){this._instructions=e}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(e){this._assistantExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class i{constructor(e){this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(e){this._systemInstruction=e}get userInstruction(){return this._userInstruction}set userInstruction(e){this._userInstruction=e}}class o{constructor(e){this._method=e.method,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}get method(){return this._method}set method(e){this._method=e}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(e){this._sparqlQuery=e}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(e){this._ontologyGraph=e}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(e){this._maxNumberOfTriplesPerCall=e}get similarityIndex(){return this._similarityIndex}set similarityIndex(e){this._similarityIndex=e}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(e){this._similarityIndexThreshold=e}get queryTemplate(){return this._queryTemplate}set queryTemplate(e){this._queryTemplate=e}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(e){this._retrievalConnectorInstance=e}}class l{constructor(e){this._additionalExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class d{constructor(e){this._method=e.method}get method(){return this._method}set method(e){this._method=e}}class h{constructor(e=[]){this._agents=e,this._filterableAgents=Object(s.cloneDeep)(e),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}_initializeAgentNameByIdMap(){this._agentNameByIdMap=this._agents.reduce((e,t)=>(e[t.id]=t.name,e),{})}isEmpty(){return 0===this._agents.length}filterByRepository(e){this._filterableAgents=this._agents.filter(t=>e===n.AGENTS_FILTER_ALL_KEY||(t.repositoryId===e?t:void 0))}getAgent(e){return this._agents.find(t=>t.id===e)}get agents(){return this._agents}set agents(e){this._agents=e}get filterableAgents(){return this._filterableAgents}set filterableAgents(e){this._filterableAgents=e}get agentNameByIdMap(){return Object(s.cloneDeep)(this._agentNameByIdMap)}set agentNameByIdMap(e){this._agentNameByIdMap=e}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class m{constructor(e,t,r=!1){this._key=e,this._label=t,this._selected=r}get key(){return this._key}set key(e){this._key=e}get label(){return this._label}set label(e){this._label=e}get selected(){return this._selected}set selected(e){this._selected=e}}},84:function(e,t,r){"use strict";r.r(t),r.d(t,"AGENTS_FILTER_ALL_KEY",(function(){return s})),r.d(t,"AGENT_OPERATION",(function(){return n}));const s="ALL",n={CREATE:"create",EDIT:"edit",CLONE:"clone"}}}]);
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[37,252,253],{230:function(e,t){angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",n);function n(e){return{getStatus:function(){return e.get("rest/rdfrank/status")},checkRdfRankPluginEnabled:function(){return e.get("rest/rdfrank/plugin-found")},checkFilteringEnabled:function(){return e.get("rest/rdfrank/filtering")},toggleFiltering:function(t){return e.post("rest/rdfrank/filtering?enabled="+t)},filter:function(t){return e.get("rest/rdfrank/filtering/"+t)},updateFilter:function(t,n){return e.put("rest/rdfrank/filtering/"+t,n)},deleteFilter:function(t,n){return e.delete("rest/rdfrank/filtering/"+t,{data:n,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return e.get("rest/rdfrank/include-explicit")},toggleIncludeExplicit:function(t){return e.post("rest/rdfrank/include-explicit?enabled="+t)},includeImplicit:function(){return e.get("rest/rdfrank/include-implicit")},toggleIncludeImplicit:function(t){return e.post("rest/rdfrank/include-implicit?enabled="+t)},compute:function(){return e.post("rest/rdfrank/compute")},computeIncremental:function(){return e.post("rest/rdfrank/compute-incremental")},interrupt:function(){return e.post("rest/rdfrank/interrupt")}}}n.$inject=["$http"]},316:function(e,t,n){"use strict";n.r(t);n(7),n(28),n(32),n(230),n(480);var r=n(80),i=n(0);angular.module("graphdb.framework.rdfrank",["ngRoute","ngTagsInput","graphdb.framework.utils.uriutils","graphdb.framework.rest.rdfrank.service"]).controller("RDFRankCtrl",["$scope","$rootScope","$interval","toastr","$repositories","$licenseService","$timeout","ClassInstanceDetailsService","UriUtils","RDF4JRepositoriesRestService","RdfRankRestService","$translate",function(e,t,n,a,o,c,s,u,l,d,g,p){let f;function m(){f&&n.cancel(f)}e.pluginName="rdfrank",e.setPluginIsActive=function(t){e.pluginIsActive=t};const h=function(){g.getStatus().success((function(t){e.currentRankStatus=t})).error((function(e){a.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),g.checkRdfRankPluginEnabled().success((function(t){e.pluginFound=!0===t,e.pluginFound?(d.getNamespaces(o.getActiveRepository()).then(r.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);a.error(t,p.instant("error.getting.namespaces.for.repo"))}),h(),v(),T()):e.loading=!1})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const v=function(){g.checkFilteringEnabled().success((function(t){e.filteringEnabled=t})).error((function(e){a.error(getError(e))}))},T=function(){Object.values(e.filterLists).forEach((function(e){g.filter(e.predicate).success((function(t){return e.elements=t})).error((function(e){a.error(getError(e))}))})),g.includeExplicit().success((function(t){e.includeExplicit=t})).error((function(e){a.error(getError(e))})),g.includeImplicit().success((function(t){e.includeImplicit=t})).error((function(e){a.error(getError(e))}))};e.rdfStatus={CANCELED:"CANCELED",COMPUTED:"COMPUTED",COMPUTING:"COMPUTING",EMPTY:"EMPTY",ERROR:"ERROR",OUTDATED:"OUTDATED",CONFIG_CHANGED:"CONFIG_CHANGED"},e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}},e.setLoader=function(t,n){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=n}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.computeRank=function(){e.setLoader(!0,p.instant("rdfrank.full.computation")),g.compute().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.computeIncrementalRank=function(){e.setLoader(!0,p.instant("rdfrank.incremental.computation")),g.computeIncremental().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptComputation=function(){e.setLoader(!0,p.instant("index.interrupt")),g.interrupt().success((function(){h()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return o.getDegradedReason()},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())})),e.toggleFiltering=function(){g.toggleFiltering(!e.filteringEnabled).success((function(){h(),v(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeExplicit=function(){g.toggleIncludeExplicit(!e.includeExplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeImplicit=function(){g.toggleIncludeImplicit(!e.includeImplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};e.addToList=function(t,n){let r=n.text.toString();if(r=l.expandPrefix(r,e.namespaces),l.isValidIri(n,r)&&""!==r)!function(e,t){const n={iri:t};g.updateFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e)),T()}))}(t,r);else{T();const e=Object(i.decodeHTML)(p.instant("not.valid.iri",{value:n.text.toString()}));a.error(e)}};e.deleteFromList=function(t,n){!function(e,t){const n={iri:t};g.deleteFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e))}))}(t,n.text,e.namespaces)};const y=function(){f=n((function(){e.$broadcast("checkIsActive"),e.pluginFound&&h()}),5e3)},x=t.$on("$translateChangeSuccess",()=>{e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}}});e.$on("$destroy",(function(){x(),m()}));c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())}])},480:function(e,t){
2
- /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,a=38,o=40,c=37,s=39,u=46,l=188,d=9007199254740991,g=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,a,o,p,f){function m(e,t,n,r){var i,a,c,s,u={};return i=function(t){return f.safeToString(t[e.displayProperty])},a=function(t,n){t[e.displayProperty]=n},c=function(t){var r=i(t),a=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(u.items,t,e.keyProperty||e.displayProperty);return o.when(a&&n({$tag:t})).then(f.promisifyValue)},s=function(e){return o.when(r({$tag:e})).then(f.promisifyValue)},u.items=[],u.addText=function(e){var t={};return a(t,e),u.add(t)},u.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),a(n,r),c(n).then((function(){u.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},u.remove=function(e){var n=u.items[e];return s(n).then((function(){return u.items.splice(e,1),u.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e]},u.selectPrior=function(){u.select(--u.index)},u.selectNext=function(){u.select(++u.index)},u.removeSelected=function(){return u.remove(u.index)},u.clearSelection=function(){u.selected=null,u.index=-1},u.getItems=function(){return e.useStrings?u.items.map(i):u.items},u.clearSelection(),u}function h(e){return-1!==g.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,d],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,d],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,d,g,p){var m,h,v=[n,l,i,e,u,c,s],T=o.tagList,y=o.events,x=o.options,$=d.find("input"),k=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=x.maxTags),p.$setValidity("minTags",T.items.length>=x.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!x.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){$[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[x.keyProperty||x.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,x.displayProperty),x.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),g.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===$[0],n=d[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):a.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==k.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){d.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&T.addText(o.newTag.text()),d.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,a,d,g,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=x.addOnEnter,m[l]=x.addOnComma,m[i]=x.addOnSpace,r=!x.addFromAutocompleteOnly&&m[p],a=(p===e||p===u)&&T.selected,g=p===e&&0===o.newTag.text().length&&x.enableEditingLastTag,d=(p===e||p===c||p===s)&&0===o.newTag.text().length&&!x.enableEditingLastTag,r?T.addText(o.newTag.text()):g?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[x.displayProperty])}))):a?T.removeSelected():d&&(p===c||p===e?T.selectPrior():p===s&&T.selectNext()),(r||d||a||g)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var a=i.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,c,s,u,l){function d(e,t,n){var r,i,a,o={};return a=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,a(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},o.reset=function(){i=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=l.debounce((function(n,c){o.query=n;var u=s.when(e({$query:n}));i=u,u.then((function(e){u===i&&(e=l.makeObjectArray(e.data||e,a()),e=r(e,c),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),u.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new d(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,c,s){var u,d=[n,t,r,a,o],g=e.suggestionList,p=s.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),u=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){g.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return g.selected&&(p.addTag(angular.copy(g.selected)),g.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===g.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){g.reset()})).on("input-change",(function(e){u(e)?g.load(e,p.getTags()):g.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&u(e)&&g.load(e,p.getTags())})).on("input-keydown",(function(i){var c=i.keyCode,s=!1;if(!l.isModifierOn(i)&&-1!==d.indexOf(c))return g.visible?c===o?(g.selectNext(),s=!0):c===a?(g.selectPrior(),s=!0):c===r?(g.reset(),s=!0):(c===n||c===t)&&(s=e.addSuggestion()):c===o&&e.options.loadOnDownArrow&&(g.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=r.prop("clientHeight"),c=r.prop("scrollTop");c>i?r.prop("scrollTop",i):i+a>o+c&&r.prop("scrollTop",i+a-o)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,a){var o=a.registerAutocompleteMatch(),c=o.getOptions();n.$$template=c.template,n.$index=n.$parent.$index,n.$highlight=function(n){return c.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[c.displayProperty||c.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var a,o,c=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(a.text(i),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+c+"px":""),e},i.$parsers.unshift(o),i.$formatters.unshift(o),r.$observe("placeholder",(function(e){i.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,c){var s=function(){return!0};a.options={},angular.forEach(c,(function(c,u){var l,d,g,p,f,m;l=c[0],d=c[1],g=c[2]||s,p=i[l],f=function(){var t=e[n]&&e[n][u];return angular.isDefined(t)?t:d},m=function(e){a.options[u]=e&&g(e)?p(e):f()},t[n]&&t[n][u]?o.$observe(u,(function(e){m(e),a.events.trigger("option-change",{name:u,newValue:e})})):m(o[u]&&r(o[u])(a.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var a=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(a=e,!0):void 0})),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},80:function(e,t,n){"use strict";n.r(t),n.d(t,"mapNamespacesResponse",(function(){return r}));const r=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[51,287,288],{276:function(e,t){angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",n);function n(e){return{getStatus:function(){return e.get("rest/rdfrank/status")},checkRdfRankPluginEnabled:function(){return e.get("rest/rdfrank/plugin-found")},checkFilteringEnabled:function(){return e.get("rest/rdfrank/filtering")},toggleFiltering:function(t){return e.post("rest/rdfrank/filtering?enabled="+t)},filter:function(t){return e.get("rest/rdfrank/filtering/"+t)},updateFilter:function(t,n){return e.put("rest/rdfrank/filtering/"+t,n)},deleteFilter:function(t,n){return e.delete("rest/rdfrank/filtering/"+t,{data:n,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return e.get("rest/rdfrank/include-explicit")},toggleIncludeExplicit:function(t){return e.post("rest/rdfrank/include-explicit?enabled="+t)},includeImplicit:function(){return e.get("rest/rdfrank/include-implicit")},toggleIncludeImplicit:function(t){return e.post("rest/rdfrank/include-implicit?enabled="+t)},compute:function(){return e.post("rest/rdfrank/compute")},computeIncremental:function(){return e.post("rest/rdfrank/compute-incremental")},interrupt:function(){return e.post("rest/rdfrank/interrupt")}}}n.$inject=["$http"]},358:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(35),n(276),n(538);var r=n(97),i=n(0);angular.module("graphdb.framework.rdfrank",["ngRoute","ngTagsInput","graphdb.framework.utils.uriutils","graphdb.framework.rest.rdfrank.service"]).controller("RDFRankCtrl",["$scope","$rootScope","$interval","toastr","$repositories","$licenseService","$timeout","ClassInstanceDetailsService","UriUtils","RDF4JRepositoriesRestService","RdfRankRestService","$translate",function(e,t,n,a,o,c,s,u,l,d,g,p){let f;function m(){f&&n.cancel(f)}e.pluginName="rdfrank",e.setPluginIsActive=function(t){e.pluginIsActive=t};const h=function(){g.getStatus().success((function(t){e.currentRankStatus=t})).error((function(e){a.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),g.checkRdfRankPluginEnabled().success((function(t){e.pluginFound=!0===t,e.pluginFound?(d.getNamespaces(o.getActiveRepository()).then(r.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);a.error(t,p.instant("error.getting.namespaces.for.repo"))}),h(),v(),T()):e.loading=!1})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const v=function(){g.checkFilteringEnabled().success((function(t){e.filteringEnabled=t})).error((function(e){a.error(getError(e))}))},T=function(){Object.values(e.filterLists).forEach((function(e){g.filter(e.predicate).success((function(t){return e.elements=t})).error((function(e){a.error(getError(e))}))})),g.includeExplicit().success((function(t){e.includeExplicit=t})).error((function(e){a.error(getError(e))})),g.includeImplicit().success((function(t){e.includeImplicit=t})).error((function(e){a.error(getError(e))}))};e.rdfStatus={CANCELED:"CANCELED",COMPUTED:"COMPUTED",COMPUTING:"COMPUTING",EMPTY:"EMPTY",ERROR:"ERROR",OUTDATED:"OUTDATED",CONFIG_CHANGED:"CONFIG_CHANGED"},e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}},e.setLoader=function(t,n){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=n}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.computeRank=function(){e.setLoader(!0,p.instant("rdfrank.full.computation")),g.compute().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.computeIncrementalRank=function(){e.setLoader(!0,p.instant("rdfrank.incremental.computation")),g.computeIncremental().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptComputation=function(){e.setLoader(!0,p.instant("index.interrupt")),g.interrupt().success((function(){h()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return o.getDegradedReason()},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())})),e.toggleFiltering=function(){g.toggleFiltering(!e.filteringEnabled).success((function(){h(),v(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeExplicit=function(){g.toggleIncludeExplicit(!e.includeExplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeImplicit=function(){g.toggleIncludeImplicit(!e.includeImplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};e.addToList=function(t,n){let r=n.text.toString();if(r=l.expandPrefix(r,e.namespaces),l.isValidIri(n,r)&&""!==r)!function(e,t){const n={iri:t};g.updateFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e)),T()}))}(t,r);else{T();const e=Object(i.decodeHTML)(p.instant("not.valid.iri",{value:n.text.toString()}));a.error(e)}};e.deleteFromList=function(t,n){!function(e,t){const n={iri:t};g.deleteFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e))}))}(t,n.text,e.namespaces)};const y=function(){f=n((function(){e.$broadcast("checkIsActive"),e.pluginFound&&h()}),5e3)},x=t.$on("$translateChangeSuccess",()=>{e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}}});e.$on("$destroy",(function(){x(),m()}));c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())}])},538:function(e,t){
2
+ /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,a=38,o=40,c=37,s=39,u=46,l=188,d=9007199254740991,g=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,a,o,p,f){function m(e,t,n,r){var i,a,c,s,u={};return i=function(t){return f.safeToString(t[e.displayProperty])},a=function(t,n){t[e.displayProperty]=n},c=function(t){var r=i(t),a=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(u.items,t,e.keyProperty||e.displayProperty);return o.when(a&&n({$tag:t})).then(f.promisifyValue)},s=function(e){return o.when(r({$tag:e})).then(f.promisifyValue)},u.items=[],u.addText=function(e){var t={};return a(t,e),u.add(t)},u.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),a(n,r),c(n).then((function(){u.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},u.remove=function(e){var n=u.items[e];return s(n).then((function(){return u.items.splice(e,1),u.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e]},u.selectPrior=function(){u.select(--u.index)},u.selectNext=function(){u.select(++u.index)},u.removeSelected=function(){return u.remove(u.index)},u.clearSelection=function(){u.selected=null,u.index=-1},u.getItems=function(){return e.useStrings?u.items.map(i):u.items},u.clearSelection(),u}function h(e){return-1!==g.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,d],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,d],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,d,g,p){var m,h,v=[n,l,i,e,u,c,s],T=o.tagList,y=o.events,x=o.options,$=d.find("input"),k=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=x.maxTags),p.$setValidity("minTags",T.items.length>=x.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!x.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){$[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[x.keyProperty||x.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,x.displayProperty),x.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),g.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===$[0],n=d[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):a.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==k.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){d.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&T.addText(o.newTag.text()),d.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,a,d,g,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=x.addOnEnter,m[l]=x.addOnComma,m[i]=x.addOnSpace,r=!x.addFromAutocompleteOnly&&m[p],a=(p===e||p===u)&&T.selected,g=p===e&&0===o.newTag.text().length&&x.enableEditingLastTag,d=(p===e||p===c||p===s)&&0===o.newTag.text().length&&!x.enableEditingLastTag,r?T.addText(o.newTag.text()):g?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[x.displayProperty])}))):a?T.removeSelected():d&&(p===c||p===e?T.selectPrior():p===s&&T.selectNext()),(r||d||a||g)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var a=i.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,c,s,u,l){function d(e,t,n){var r,i,a,o={};return a=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,a(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},o.reset=function(){i=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=l.debounce((function(n,c){o.query=n;var u=s.when(e({$query:n}));i=u,u.then((function(e){u===i&&(e=l.makeObjectArray(e.data||e,a()),e=r(e,c),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),u.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new d(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,c,s){var u,d=[n,t,r,a,o],g=e.suggestionList,p=s.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),u=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){g.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return g.selected&&(p.addTag(angular.copy(g.selected)),g.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===g.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){g.reset()})).on("input-change",(function(e){u(e)?g.load(e,p.getTags()):g.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&u(e)&&g.load(e,p.getTags())})).on("input-keydown",(function(i){var c=i.keyCode,s=!1;if(!l.isModifierOn(i)&&-1!==d.indexOf(c))return g.visible?c===o?(g.selectNext(),s=!0):c===a?(g.selectPrior(),s=!0):c===r?(g.reset(),s=!0):(c===n||c===t)&&(s=e.addSuggestion()):c===o&&e.options.loadOnDownArrow&&(g.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=r.prop("clientHeight"),c=r.prop("scrollTop");c>i?r.prop("scrollTop",i):i+a>o+c&&r.prop("scrollTop",i+a-o)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,a){var o=a.registerAutocompleteMatch(),c=o.getOptions();n.$$template=c.template,n.$index=n.$parent.$index,n.$highlight=function(n){return c.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[c.displayProperty||c.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var a,o,c=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(a.text(i),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+c+"px":""),e},i.$parsers.unshift(o),i.$formatters.unshift(o),r.$observe("placeholder",(function(e){i.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,c){var s=function(){return!0};a.options={},angular.forEach(c,(function(c,u){var l,d,g,p,f,m;l=c[0],d=c[1],g=c[2]||s,p=i[l],f=function(){var t=e[n]&&e[n][u];return angular.isDefined(t)?t:d},m=function(e){a.options[u]=e&&g(e)?p(e):f()},t[n]&&t[n][u]?o.$observe(u,(function(e){m(e),a.events.trigger("option-change",{name:u,newValue:e})})):m(o[u]&&r(o[u])(a.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var a=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(a=e,!0):void 0})),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},97:function(e,t,n){"use strict";n.r(t),n.d(t,"mapNamespacesResponse",(function(){return r}));const r=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[52],{200:function(e,t,n){"use strict";n.r(t);n(11),n(201);var o=n(108),r=n(30),a=n(99);let s=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,l,u,d,f,g){return{restrict:"E",scope:{clusterModel:"="},link:function(p,h){const m=angular.element(e),_=[];let w,C,y,v,E,k=D(),b=O(),A=Math.min(k,b)/2-100,S=k/2,M=b/2;function N(){const e=g.getClusterViewD3Container();k=D(),b=O(),e.attr("width",k),e.attr("height",b),U()}function L(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=u.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&L(r,o)})}function D(){const o="collapsedMenu"===t.get(n.MENU_STATE);return s=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-s)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function j(){o.updateClusterZoneLabels(C,y,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function T(){A=Math.min(k,b)/2-100,S=k/2,M=b/2,o.moveElement(y,S,M),y.select(".cluster-zone").attr("r",A)}function R(e){p.$emit(a.CLICK_IN_VIEW,e.target)}function U(){T(),C!==p.clusterModel.hasCluster&&(C=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,y,i,w),!e&&w&&y.on("mouseup",()=>{p.$emit(a.CREATE_CLUSTER)})}(C));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=l.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=u.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=v.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(a.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,S,M,A)}(e);!function(e,t){const n=E.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return k},p.height=function(){return b};p.$on("$destroy",(function(){m.unbind("resize",N),m.unbind("mousedown",R),o.removeEventListeners(),_.forEach(e=>e())})),w=d.isAdmin(),m.bind("resize",N),m.bind("mousedown",R),_.push(f.$on("$translateChangeSuccess",(function(){L(i),j()}))),_.push(p.$on(a.MODEL_UPDATED,(function(){U()}))),L(i),function(e){const t=o.createClusterSvgElement(h[0]).attr("width",k).attr("height",b);y=o.createClusterZone(t,e),E=t.append("g").attr("id","links-group"),v=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),g.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},203:function(e,t,n){"use strict";n.r(t);var o=n(99);function r(e,t,n,r,a){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{a.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(o.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(o.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",r),r.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},300:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(287),n(200),n(203),n(32),n(504),n(285);angular.module("graphdb.framework.clustermanagement",["ngAnimate","toastr","graphdb.framework.clustermanagement.controllers.cluster-management","graphdb.framework.clustermanagement.directives.cluster-graphical-view","graphdb.framework.clustermanagement.directives.cluster-configuration"])},504:function(e,t,n){var o,r;o=[n(514)],void 0===(r=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var o in e)n.attr(o,e[o])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(514)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,o))||(e.exports=r)}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[53,69,141,142],{118:function(e,n,r){"use strict";r.r(n),r.d(n,"markdownCodeCopyPlugin",(function(){return c}));const t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(e,n){return n=_.merge({},t,n),(...r)=>{const[t,o]=r,c=t[o],s=t[o].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),i=e(...r);return"fence"===c.type&&i.trim()?`<div style="position: relative">\n ${i}\n <copy-to-clipboard\n style="${n.buttonStyle}"\n class="${n.buttonClass}"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="${s}">\n </copy-to-clipboard>\n </div>`:i}}const c=(e,n)=>{e.renderer.rules.code_block=o(e.renderer.rules.code_block,n),e.renderer.rules.fence=o(e.renderer.rules.fence,n)}},119:function(e,n,r){"use strict";r.r(n),r.d(n,"markdownOpenInSparqlEditorPlugin",(function(){return c}));const t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(e,n){return n=_.merge({},t,n),(...r)=>{const[t,o]=r,c=t[o],s=t[o].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),i=e(...r);return"fence"===c.type&&"sparql"===c.info&&i.trim()?`<div style="position: relative">\n ${i}\n <open-in-sparql-editor\n style="${n.buttonStyle}"\n class="${n.buttonClass}"\n execute-query="${n.executeQuery}"\n repository-id="${n.repositoryId}"\n query="${s}">\n </open-in-sparql-editor>\n </div>`:i}}const c=(e,n)=>{e.renderer.rules.code_block=o(e.renderer.rules.code_block,n),e.renderer.rules.fence=o(e.renderer.rules.fence,n)}},148:function(e,n,r){"use strict";r.r(n);var t=r(573),o=r(118),c=r(119);const s={buttonStyle:"position: absolute; top: 0; right: 0; margin-right: 24px"};function i(e){const n=Object(t.a)().use(o.markdownCodeCopyPlugin).use(c.markdownOpenInSparqlEditorPlugin,s);return{renderMarkdown:(r,i)=>{try{return e.trustAsHtml((e=>e?Object(t.a)().use(o.markdownCodeCopyPlugin,e).use(c.markdownOpenInSparqlEditorPlugin,_.merge({},s,e)):n)(i).render(r))}catch(n){return console.error("Error rendering markdown:",n),e.trustAsHtml(r)}}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",i),i.$inject=["$sce"]},205:function(e,n,r){"use strict";r.r(n);r(148);function t(e,n){return{template:'<div class="markdown-content" ng-bind-html="markdownContent"></div>',restrict:"E",scope:{content:"@",options:"="},link:function(r,t){r.markdownContent=void 0;const o=()=>{r.$evalAsync(()=>{const n=t.find(".markdown-content");e(angular.element(n).contents())(r)})};r.markdownContent=n.renderMarkdown(r.content,r.options),o()}}}angular.module("graphdb.framework.core.directives.markdown-content",["graphdb.framework.core.services.markdown-service"]).directive("markdownContent",t),t.$inject=["$compile","MarkdownService"]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[54,139,263,264],{101:function(e,a){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,a,n){return{link:function(e,s){const t=()=>{const a=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);s.html(a)};t();const c=a.$on("$translateChangeSuccess",t);e.$on("$destroy",c)}}}])},272:function(e,a,n){"use strict";n.r(a);n(7),n(33),n(32),n(40);const s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,n,s,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(n.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?s.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):s.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(s.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(s.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){n.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(n.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const n=e.prefix.toUpperCase(),s=a.prefix.toUpperCase();return n<s?-1:n>s?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const n=getError(a);s.error(n),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return n.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(n.getActiveRepository(),t,a).success((function(){e.getNamespaces(),s.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(n.getActiveRepository(),{from:a,to:t,location:n.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,n,s){if(angular.isUndefined(a)&&(a=""),!m(a,n))return"";let t=!1;const c=s.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let n=0;n<e.namespaces.length;n++)e.namespaces[n].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(n){a||n.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])},273:function(e,a){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(a){a.$last&&e((function(){a.$parent.loader=!1}),0)}}])},350:function(e,a,n){"use strict";n.r(a);n(7),n(31),n(32),n(272),n(273),n(101),n(618);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[41,249],{102:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},186:function(e,t,n){"use strict";n.r(t);var r=n(457);n(102);function a(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){const a=n.dependenciesData;!function(a,s){if(function(){let e=!0;for(const t of a){if(t.some(e=>0!==e)){e=!1;break}}return e}())return;const o=d3.scaleOrdinal(d3.schemeCategory10),i=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){i.style("opacity",0)}));const c=Math.min(800,800)/2.8,d=c-24,p=d3.arc().innerRadius(d).outerRadius(c),l=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),u=d3.ribbon().radius(d),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",c).style("fill","none");const f=l(a),h=g.selectAll(".group").data(f.groups).enter().append("g").attr("class","group").on("mouseover",(function(){const e=h.nodes().indexOf(this);m.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));h.append("title").text((function(e,t){return s[t]})),h.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return o(t)})),h.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(d+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return s[e.index]}));const m=g.selectAll(".chord").data(f).enter().append("path").attr("class","chord").style("fill",(function(e){return o(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",u);m.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),m.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),m.on("click",(function(e,r){const a=s[r.source.index],o=s[r.target.index],c=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){let t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){const t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",i.html(t).style("left",c+"px").style("top",d+"px")})),i.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){const t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}(a.matrix,a.nodes,a.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",a),a.$inject=["$repositories","GraphDataRestService"]},446:function(e,t,n){var r,a;r=[n(454)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(454)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},457:function(e,t,n){"use strict";n(446);var r=r||{};r.Export={getCSSRules:function(e){const t=$('link[href="'+e+'"]')[0].sheet.rules;let n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");const t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[55,284],{139:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},235:function(e,t,n){"use strict";n.r(t);var r=n(518);n(139);function a(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){const a=n.dependenciesData;!function(a,s){if(function(){let e=!0;for(const t of a){if(t.some(e=>0!==e)){e=!1;break}}return e}())return;const o=d3.scaleOrdinal(d3.schemeCategory10),i=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){i.style("opacity",0)}));const c=Math.min(800,800)/2.8,d=c-24,p=d3.arc().innerRadius(d).outerRadius(c),l=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),u=d3.ribbon().radius(d),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",c).style("fill","none");const f=l(a),h=g.selectAll(".group").data(f.groups).enter().append("g").attr("class","group").on("mouseover",(function(){const e=h.nodes().indexOf(this);m.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));h.append("title").text((function(e,t){return s[t]})),h.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return o(t)})),h.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(d+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return s[e.index]}));const m=g.selectAll(".chord").data(f).enter().append("path").attr("class","chord").style("fill",(function(e){return o(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",u);m.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),m.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),m.on("click",(function(e,r){const a=s[r.source.index],o=s[r.target.index],c=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){let t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){const t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",i.html(t).style("left",c+"px").style("top",d+"px")})),i.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){const t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}(a.matrix,a.nodes,a.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",a),a.$inject=["$repositories","GraphDataRestService"]},504:function(e,t,n){var r,a;r=[n(514)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(514)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},518:function(e,t,n){"use strict";n(504);var r=r||{};r.Export={getCSSRules:function(e){const t=$('link[href="'+e+'"]')[0].sheet.rules;let n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");const t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[56],{232:function(t,e,r){"use strict";r.r(e);var n=r(518),a=r(517);r(11);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.8.0-TR10");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},504:function(t,e,r){var n,a;n=[r(514)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(514)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},517:function(t,e,r){"use strict";r(504);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},518:function(t,e,r){"use strict";r(504);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[43,145,162,274],{128:function(e,o){function r(e,o,r,t,s){e.message=s,e.close=()=>{o.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(r.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",r),r.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},204:function(e,o,r){"use strict";r.r(o);r(128);var t=r(68),s=r(73);function a(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:o=>{o.ImportResourceStatus=t.ImportResourceStatus,o.toTitleCase=e=>s.toTitleCase(e),o.showMessage=o=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return o?o.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",a),a.$inject=["$uibModal"]},68:function(e,o,r){"use strict";r.r(o),r.d(o,"ImportResourceStatus",(function(){return t}));const t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},73:function(e,o,r){"use strict";r.r(o),r.d(o,"removeSpecialChars",(function(){return s})),r.d(o,"toBoolean",(function(){return a})),r.d(o,"toTitleCase",(function(){return i}));var t=r(27);const s=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(t.upperFirst)(e.toLowerCase()):e}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[57,174,194,314],{165:function(e,o){function r(e,o,r,t,s){e.message=s,e.close=()=>{o.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(r.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",r),r.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},253:function(e,o,r){"use strict";r.r(o);r(165);var t=r(75),s=r(86);function a(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:o=>{o.ImportResourceStatus=t.ImportResourceStatus,o.toTitleCase=e=>s.toTitleCase(e),o.showMessage=o=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return o?o.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",a),a.$inject=["$uibModal"]},75:function(e,o,r){"use strict";r.r(o),r.d(o,"ImportResourceStatus",(function(){return t}));const t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},86:function(e,o,r){"use strict";r.r(o),r.d(o,"removeSpecialChars",(function(){return s})),r.d(o,"toBoolean",(function(){return a})),r.d(o,"toTitleCase",(function(){return i}));var t=r(30);const s=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(t.upperFirst)(e.toLowerCase()):e}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[44,77,162,163],{104:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var r=s(68),i=s(27);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(i.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(i.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},206:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(77),i=s(104),o=s(68);const c=30,n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-file");const a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-upload"),a.set(r.ImportResourceType.URL,"icon-link"),a.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new i.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let o;o=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,o);if(t.isFile()){const e=new i.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?a.get(e.importResource.type):n.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==o.ImportResourceStatus.IMPORTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.PENDING&&e.status!==o.ImportResourceStatus.INTERRUPTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.UPLOADED&&e.status!==o.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===o.ImportResourceStatus.IMPORTING||e.status===o.ImportResourceStatus.UPLOADING||e.status===o.ImportResourceStatus.PENDING||e.status===o.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===o.ImportResourceStatus.DONE||e.status===o.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},68:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},77:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[58,99,194,195],{141:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var r=s(75),i=s(30);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(i.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(i.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},255:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(95),i=s(141),o=s(75);const c=30,n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-file");const a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-upload"),a.set(r.ImportResourceType.URL,"icon-link"),a.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new i.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let o;o=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,o);if(t.isFile()){const e=new i.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?a.get(e.importResource.type):n.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==o.ImportResourceStatus.IMPORTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.PENDING&&e.status!==o.ImportResourceStatus.INTERRUPTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.UPLOADED&&e.status!==o.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===o.ImportResourceStatus.IMPORTING||e.status===o.ImportResourceStatus.UPLOADING||e.status===o.ImportResourceStatus.PENDING||e.status===o.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===o.ImportResourceStatus.DONE||e.status===o.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},75:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},95:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[45,160,162,163],{100:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportParsingSettings",(function(){return r}));class r{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},126:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResource",(function(){return a}));var r=s(68),i=s(100),o=s(77);class a{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:r.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},68:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},77:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[59,192,194,195],{125:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportParsingSettings",(function(){return r}));class r{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},163:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResource",(function(){return a}));var r=s(75),i=s(125),o=s(95);class a{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:r.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},75:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},95:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[6,46,62,77,104,105,258,259,260,261,304],{113:function(e,t,s){"use strict";s.r(t);var r=s(213),n=(s(214),s(137)),a=s(138),i=s(216);function o(e){return{getConversation:t=>e.getConversation(t).then(e=>Object(r.chatModelMapper)(e.data)),renameConversation:t=>e.renameConversation(t.id,t.toRenameRequestPayload()).then(e=>Object(r.chatModelMapper)(e.data)),exportConversation:t=>e.exportConversation(t).then((function(e){const t=e.data,s=e.headers()["content-disposition"];let r="chat-export";return s&&(r=s.split("filename=")[1],r=r.substring(0,r.length)),{data:t,filename:r}})),askQuestion:t=>e.askQuestion(t.toAskRequestPayload()).then(e=>Object(n.chatAnswerModelMapper)(e.data)),getConversations:(t,s)=>e.getConversations().then(e=>Object(r.chatsListMapper)(e.data)),deleteConversation:t=>e.deleteConversation(t),createConversation:t=>e.createConversation(t.toCreateChatRequestPayload()).then(e=>Object(n.chatAnswerModelMapper)(e.data)),getAgents:()=>e.getAgents().then(e=>Object(a.agentListMapper)(e.data)),getAgent:t=>e.getAgent(t).then(e=>Object(a.agentModelMapper)(e.data)),createAgent:t=>e.createAgent(t).then(e=>Object(a.agentModelMapper)(e.data)),editAgent:t=>e.editAgent(t).then(e=>Object(a.agentModelMapper)(e.data)),deleteAgent:t=>e.deleteAgent(t),explainResponse:(t,s)=>e.explainResponse(t.toExplainResponsePayload(s)).then(e=>Object(i.explainResponseMapper)(e.data)),getDefaultAgent:()=>e.getAgentDefaultValues().then(e=>Object(a.agentModelMapper)(e.data))}}angular.module("graphdb.framework.core.services.ttyg-service",["graphdb.framework.rest.ttyg.service"]).factory("TTYGService",o),o.$inject=["TTYGRestService"]},114:function(e,t,s){"use strict";s.r(t),s.d(t,"ExplainResponseModel",(function(){return r})),s.d(t,"ExplainQueryMethodsListModel",(function(){return n})),s.d(t,"ExplainQueryMethodModel",(function(){return a})),s.d(t,"ExplainQueryType",(function(){return i}));class r{constructor(e={}){this._chatId=e.chatId,this._answerId=e.answerId,this._queryMethods=e.queryMethods,this._expanded=void 0===e.expanded||e.expanded}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get answerId(){return this._answerId}set answerId(e){this._answerId=e}get queryMethods(){return this._queryMethods}set queryMethods(e){this._queryMethods=e}get expanded(){return this._expanded}set expanded(e){this._expanded=e}}class n{constructor(e=[]){this._items=e}get items(){return this._items}set items(e){this._items=e}}class a{constructor(e={}){this._name=e.name,this._rawQuery=e.rawQuery,this._query=e.query,this._queryType=e.queryType,this._errorMessage=e.errorOutput}get name(){return this._name}set name(e){this._name=e}get rawQuery(){return this._rawQuery}set rawQuery(e){this._rawQuery=e}get query(){return this._query}set query(e){this._query=e}get queryType(){return this._queryType}set queryType(e){this._queryType=e}get errorMessage(){return this._errorMessage}set errorMessage(e){this._errorMessage=e}}const i={SPARQL:"sparql",JSON:"json",OTHER:"other"}},122:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatAnswerModel",(function(){return r}));class r{constructor(e={}){this._chatId=e.chatId,this._chatName=e.chatName||"",this._timestamp=e.timestamp,this._messages=e.messages||[]}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get chatName(){return this._chatName}set chatName(e){this._chatName=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}get messages(){return this._messages}set messages(e){this._messages=e}}},137:function(e,t,s){"use strict";s.r(t),s.d(t,"chatMessageModelListMapper",(function(){return i})),s.d(t,"chatItemsModelMapper",(function(){return o})),s.d(t,"chatMessageModelMapper",(function(){return h})),s.d(t,"chatAnswerModelMapper",(function(){return d}));var r=s(73),n=s(80),a=s(122);const i=e=>e?e.map(e=>h(e)):[],o=(e=[])=>{const t=[];let s;return e.forEach(e=>{if(r.CHAT_MESSAGE_ROLE.USER===e.role){s&&t.push(s);const r=e.conversationId;s=new n.ChatItemModel(r,h(e))}else s.answers.push(h(e)),s.agentId=e.agentId}),s&&t.push(s),new n.ChatItemsListModel(t)},h=e=>{if(e)return new r.ChatMessageModel({id:e.id,role:e.role,message:e.message,timestamp:e.timestamp,data:e})},d=e=>{if(e)return new a.ChatAnswerModel({chatId:e.id,chatName:e.name,timestamp:e.timestamp,messages:i(e.messages)})}},138:function(e,t,s){"use strict";s.r(t),s.d(t,"agentFormModelMapper",(function(){return o})),s.d(t,"agentListMapper",(function(){return u})),s.d(t,"agentModelMapper",(function(){return c}));var r=s(81),n=s(215),a=s(76),i=s(16);const o=(e,t,s=!1)=>{if(!e)return;const r=new n.AgentFormModel;return r.id=e.id||t.id,r.name=e.name||t.name,r.repositoryId=e.repositoryId||t.repositoryId,r.model=e.model||t.model,r.temperature.value=void 0!==e.temperature?e.temperature:t.temperature,r.topP.value=void 0!==e.topP?e.topP:t.topP,r.seed=e.seed||t.seed,r.instructions=h(e.instructions||t.instructions),d(r,s,t.assistantExtractionMethods,e.assistantExtractionMethods),r.additionalExtractionMethods.additionalExtractionMethods.forEach(t=>{t.selected=e.additionalExtractionMethods&&e.additionalExtractionMethods.some(e=>e.method===t.method)}),r},h=e=>{if(e)return new n.AgentInstructionsFormModel({systemInstruction:e.systemInstruction,userInstruction:e.userInstruction})},d=(e,t,s,r=[])=>{const i=s.filter(e=>!r.some(t=>t.method===e.method));[...r,...i].forEach(s=>{let i="";t?i="":s.sparqlQuery?i="sparqlQuery":s.ontologyGraph&&(i="ontologyGraph");const o=new n.ExtractionMethodFormModel({selected:!t&&r.some(e=>e.method===s.method),method:s.method,sparqlOption:i,ontologyGraph:s.ontologyGraph,sparqlQuery:s.sparqlQuery&&new a.TextFieldModel({value:s.sparqlQuery,minLength:1,maxLength:2380}),similarityIndex:s.similarityIndex,similarityIndexThreshold:s.similarityIndexThreshold&&new a.NumericRangeModel({value:s.similarityIndexThreshold,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:s.maxNumberOfTriplesPerCall,queryTemplate:s.queryTemplate&&new a.TextFieldModel({value:s.queryTemplate,minLength:1,maxLength:2380}),retrievalConnectorInstance:s.retrievalConnectorInstance});e.assistantExtractionMethods.setExtractionMethod(o)})},u=e=>{if(!e)return new r.AgentListModel;const t=e.map(e=>c(e));return new r.AgentListModel(t)},c=e=>{if(!e)return;const t=Object(i.md5HashGenerator)();return new r.AgentModel({id:e.id,name:e.name,repositoryId:e.repositoryId,model:e.model,temperature:e.temperature,topP:e.topP,seed:e.seed,instructions:y(e.instructions),assistantExtractionMethods:l(e.assistantExtractionMethods),additionalExtractionMethods:p(e.additionalExtractionMethods)},t)},l=e=>{if(e)return e.map(e=>m(e))},m=e=>{if(e)return new r.ExtractionMethodModel({method:e.method,ontologyGraph:e.ontologyGraph,sparqlQuery:e.sparqlQuery,similarityIndex:e.similarityIndex,similarityIndexThreshold:e.similarityIndexThreshold,maxNumberOfTriplesPerCall:e.maxNumberOfTriplesPerCall,queryTemplate:e.queryTemplate,retrievalConnectorInstance:e.retrievalConnectorInstance})},p=e=>{if(e)return e.map(e=>g(e))},g=e=>{if(e)return new r.AdditionalExtractionMethodModel({method:e.method})},y=e=>{if(e)return new r.AgentInstructionsModel({systemInstruction:e.systemInstruction,userInstruction:e.userInstruction})}},159:function(e,t,s){"use strict";s.r(t),s.d(t,"TtygRestServiceFakeBackend",(function(){return a}));var r=s(30),n=s(73);s(81);class a{constructor(){this.conversations=[...i]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(r.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(r.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const s=this.conversations.find(t=>t.id===e);return s&&(s.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(s)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:""+e.question,role:n.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},s=this.conversations.find(t=>t.id===e.conversationId),r={id:e.conversationId,name:s?s.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return s&&(s.messages.push(...r.messages),s.messages.push(t)),new Promise(e=>setTimeout(()=>e({data:r}),2e3))}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const s=Object(r.cloneDeep)(e);return s.conversationId=t.id,this.askQuestion(s)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...o]}),2e3))}getAgent(e){return Promise.resolve({data:Object(r.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o=o.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:h})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null}]}})}}const i=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}];const h={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},213:function(e,t,s){"use strict";s.r(t),s.d(t,"chatsListMapper",(function(){return h})),s.d(t,"chatModelMapper",(function(){return d}));var r=s(91),n=s(16),a=s(137),i=s(80);const o=Object(n.md5HashGenerator)(),h=e=>{if(!e)return new r.ChatsListModel;const t=e.map(e=>d(e));return new r.ChatsListModel(t)},d=e=>{if(e)return new r.ChatModel({id:e.id,name:e.name,timestamp:e.timestamp,chatHistory:e.messages&&e.messages.length?Object(a.chatItemsModelMapper)(e.messages.reverse()):new i.ChatItemsListModel},o)}},214:function(e,t,s){"use strict";s.r(t);var r=s(159);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",n),n.$inject=["$http"];function n(e){new r.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,s)=>e.put("rest/chat/conversations/"+t,s),exportConversation:t=>e.get("rest/chat/conversations/export/"+t,{responseType:"blob"}),askQuestion:t=>e.post("rest/chat/conversations",t),getConversations:()=>e.get("rest/chat/conversations"),deleteConversation:t=>e.delete("rest/chat/conversations/"+t),createConversation:(t={})=>e.post("rest/chat/conversations",t),getAgents:()=>e.get("rest/chat/agents"),getAgent:t=>e.get("rest/chat/agents/"+t),createAgent:t=>e.post("rest/chat/agents",t),editAgent:t=>e.put("rest/chat/agents",t),deleteAgent:t=>e.delete("rest/chat/agents/"+t),explainResponse:(t={})=>e.post("rest/chat/conversations/explain",t),getAgentDefaultValues:()=>e.get("rest/chat/agents/default")}}},216:function(e,t,s){"use strict";s.r(t),s.d(t,"explainResponseMapper",(function(){return n})),s.d(t,"explainQueryMethodsListMapper",(function(){return a})),s.d(t,"explainQueryMethodMapper",(function(){return i}));var r=s(114);const n=e=>new r.ExplainResponseModel({chatId:e.conversationId,answerId:e.answerId,queryMethods:a(e.queryMethods)}),a=(e=[])=>new r.ExplainQueryMethodsListModel(e.map(i)),i=e=>new r.ExplainQueryMethodModel(e)},73:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return r})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class r{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},80:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatItemModel",(function(){return n})),s.d(t,"ChatItemsListModel",(function(){return a}));var r=s(73);class n{constructor(e,t){this._chatId=e,this._agentId=void 0,this._question=t,this._answers=[]}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get agentId(){return this._agentId}set agentId(e){this._agentId=e}get question(){return this._question}set question(e){this._question=e}get answers(){return this._answers}set answers(e){this._answers=e}setQuestionMessage(e){this._question||(this._question=new r.ChatMessageModel({role:r.CHAT_MESSAGE_ROLE.USER})),this._question.message=e}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}toExplainResponsePayload(e){return{conversationId:this._chatId,answerId:e}}}class a{constructor(e=[]){this._items=e}isEmpty(){return 0===this._items.length}appendItem(e){this._items.push(e)}get items(){return this._items}set items(e){this._items=e||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}},91:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatModel",(function(){return n})),s.d(t,"ChatByDayModel",(function(){return a})),s.d(t,"ChatsListModel",(function(){return i}));var r=s(80);class n{constructor(e,t){this.hashGenerator=t,this._id=e.id,this._name=e.name,this._timestamp=e.timestamp,this._chatHistory=e.chatHistory||new r.ChatItemsListModel,this.hash=this.generateHash()}generateHash(){return this.hashGenerator(JSON.stringify(this))}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this.generateHash(),this._name=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}get chatHistory(){return this._chatHistory}set chatHistory(e){this._chatHistory=e||new r.ChatItemsListModel}toRenameRequestPayload(){return{name:this._name}}}class a{constructor(e){this._day=e.day,this._timestamp=e.timestamp,this._chats=e.chats}get day(){return this._day}set day(e){this._day=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}get chats(){return this._chats}set chats(e){this._chats=e}}class i{constructor(e){this._chats=e||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}sortByTime(){this._chats.sort((e,t)=>t.timestamp-e.timestamp)}deleteChat(e){this._chats=this._chats.filter(t=>t.id!==e.id),this.sortByTime(),this.updateChatsByDay()}updateChatsByDay(){this._chatsByDay=[],this._chats.forEach(e=>{const t=new Date(1e3*e.timestamp).toDateString(),s=this._chatsByDay.find(e=>e.day===t);s?s.chats.push(e):this._chatsByDay.push(new a({day:t,timestamp:1e3*e.timestamp,chats:[e]}))})}appendChat(e){this._chats.push(e),this.sortByTime(),this.updateChatsByDay()}replaceChat(e,t){this._chats=this._chats.map(s=>s.id===t.id?e:s),this.sortByTime(),this.updateChatsByDay()}isEmpty(){return 0===this._chats.length}getFirstChat(){return this._chats[0]}deselectAll(){this._chats.forEach(e=>{e.selected=!1})}selectChat(e){this.deselectAll(),this._chats.forEach(t=>{t.selected=t.id===e.id})}getChat(e){return this._chats.find(t=>t.id===e)}getNonPersistedChat(){return this._chats.find(e=>!e.id)}renameChat(e){const t=this._chats.find(t=>t.id===e.id);t&&(t.name=e.name)}get chats(){return this._chats}set chats(e){this._chats=e}get chatsByDay(){return this._chatsByDay}set chatsByDay(e){this._chatsByDay=e}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[60,76,245,246],{77:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},78:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},79:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(77),a=s(78);class u{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=e.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return e.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return e.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return e.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}},83:function(t,i,s){"use strict";s.r(i),s.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return a}));var e=s(79);const a=t=>t.map(t=>{const i=new e.SimilarityIndex;return i.type=t.type,i.stopList=t.stopList,i.status=t.status,i.selectQuery=t.selectQuery,i.searchQuery=t.searchQuery,i.sameAs=t.sameAs,i.options=t.options,i.name=t.name,i.infer=t.infer,i.analyzer=t.analyzer,i.analogicalQuery=t.analogicalQuery,i})}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[61,103,259,305],{159:function(e,t,r){"use strict";r.r(t),r.d(t,"TtygRestServiceFakeBackend",(function(){return i}));var s=r(30),n=r(73);r(81);class i{constructor(){this.conversations=[...a]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(s.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(s.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const r=this.conversations.find(t=>t.id===e);return r&&(r.name=t.name),Promise.resolve({data:Object(s.cloneDeep)(r)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:""+e.question,role:n.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},r=this.conversations.find(t=>t.id===e.conversationId),s={id:e.conversationId,name:r?r.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return r&&(r.messages.push(...s.messages),r.messages.push(t)),new Promise(e=>setTimeout(()=>e({data:s}),2e3))}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const r=Object(s.cloneDeep)(e);return r.conversationId=t.id,this.askQuestion(r)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...o]}),2e3))}getAgent(e){return Promise.resolve({data:Object(s.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o=o.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:l})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null}]}})}}const a=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}];const l={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},73:function(e,t,r){"use strict";r.r(t),r.d(t,"ChatMessageModel",(function(){return s})),r.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class s{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},81:function(e,t,r){"use strict";r.r(t),r.d(t,"AgentModel",(function(){return i})),r.d(t,"AgentInstructionsModel",(function(){return a})),r.d(t,"ExtractionMethodModel",(function(){return o})),r.d(t,"AdditionalExtractionMethodsModel",(function(){return l})),r.d(t,"AdditionalExtractionMethodModel",(function(){return d})),r.d(t,"AgentListModel",(function(){return h})),r.d(t,"ExtractionMethod",(function(){return u})),r.d(t,"AdditionalExtractionMethod",(function(){return c})),r.d(t,"AgentListFilterModel",(function(){return m}));var s=r(30),n=r(84);class i{constructor(e,t){this.hashGenerator=t,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get repositoryId(){return this._repositoryId}set repositoryId(e){this._repositoryId=e}get model(){return this._model}set model(e){this._model=e}get temperature(){return this._temperature}set temperature(e){this._temperature=e}get topP(){return this._topP}set topP(e){this._topP=e}get seed(){return this._seed}set seed(e){this._seed=e}get instructions(){return this._instructions}set instructions(e){this._instructions=e}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(e){this._assistantExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class a{constructor(e){this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(e){this._systemInstruction=e}get userInstruction(){return this._userInstruction}set userInstruction(e){this._userInstruction=e}}class o{constructor(e){this._method=e.method,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}get method(){return this._method}set method(e){this._method=e}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(e){this._sparqlQuery=e}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(e){this._ontologyGraph=e}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(e){this._maxNumberOfTriplesPerCall=e}get similarityIndex(){return this._similarityIndex}set similarityIndex(e){this._similarityIndex=e}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(e){this._similarityIndexThreshold=e}get queryTemplate(){return this._queryTemplate}set queryTemplate(e){this._queryTemplate=e}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(e){this._retrievalConnectorInstance=e}}class l{constructor(e){this._additionalExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class d{constructor(e){this._method=e.method}get method(){return this._method}set method(e){this._method=e}}class h{constructor(e=[]){this._agents=e,this._filterableAgents=Object(s.cloneDeep)(e),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}_initializeAgentNameByIdMap(){this._agentNameByIdMap=this._agents.reduce((e,t)=>(e[t.id]=t.name,e),{})}isEmpty(){return 0===this._agents.length}filterByRepository(e){this._filterableAgents=this._agents.filter(t=>e===n.AGENTS_FILTER_ALL_KEY||(t.repositoryId===e?t:void 0))}getAgent(e){return this._agents.find(t=>t.id===e)}get agents(){return this._agents}set agents(e){this._agents=e}get filterableAgents(){return this._filterableAgents}set filterableAgents(e){this._filterableAgents=e}get agentNameByIdMap(){return Object(s.cloneDeep)(this._agentNameByIdMap)}set agentNameByIdMap(e){this._agentNameByIdMap=e}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class m{constructor(e,t,r=!1){this._key=e,this._label=t,this._selected=r}get key(){return this._key}set key(e){this._key=e}get label(){return this._label}set label(e){this._label=e}get selected(){return this._selected}set selected(e){this._selected=e}}},84:function(e,t,r){"use strict";r.r(t),r.d(t,"AGENTS_FILTER_ALL_KEY",(function(){return s})),r.d(t,"AGENT_OPERATION",(function(){return n}));const s="ALL",n={CREATE:"create",EDIT:"edit",CLONE:"clone"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[62,104,258,259],{122:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatAnswerModel",(function(){return i}));class i{constructor(t={}){this._chatId=t.chatId,this._chatName=t.chatName||"",this._timestamp=t.timestamp,this._messages=t.messages||[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get chatName(){return this._chatName}set chatName(t){this._chatName=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get messages(){return this._messages}set messages(t){this._messages=t}}},137:function(t,e,s){"use strict";s.r(e),s.d(e,"chatMessageModelListMapper",(function(){return r})),s.d(e,"chatItemsModelMapper",(function(){return h})),s.d(e,"chatMessageModelMapper",(function(){return o})),s.d(e,"chatAnswerModelMapper",(function(){return m}));var i=s(73),a=s(80),n=s(122);const r=t=>t?t.map(t=>o(t)):[],h=(t=[])=>{const e=[];let s;return t.forEach(t=>{if(i.CHAT_MESSAGE_ROLE.USER===t.role){s&&e.push(s);const i=t.conversationId;s=new a.ChatItemModel(i,o(t))}else s.answers.push(o(t)),s.agentId=t.agentId}),s&&e.push(s),new a.ChatItemsListModel(e)},o=t=>{if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},m=t=>{if(t)return new n.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:r(t.messages)})}},73:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return i})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return a}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const a={USER:"user",ASSISTANT:"assistant"}},80:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return a})),s.d(e,"ChatItemsListModel",(function(){return n}));var i=s(73);class a{constructor(t,e){this._chatId=t,this._agentId=void 0,this._question=e,this._answers=[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answers(){return this._answers}set answers(t){this._answers=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class n{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[63,104,259,260,261],{114:function(t,e,s){"use strict";s.r(e),s.d(e,"ExplainResponseModel",(function(){return a})),s.d(e,"ExplainQueryMethodsListModel",(function(){return n})),s.d(e,"ExplainQueryMethodModel",(function(){return i})),s.d(e,"ExplainQueryType",(function(){return r}));class a{constructor(t={}){this._chatId=t.chatId,this._answerId=t.answerId,this._queryMethods=t.queryMethods,this._expanded=void 0===t.expanded||t.expanded}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get answerId(){return this._answerId}set answerId(t){this._answerId=t}get queryMethods(){return this._queryMethods}set queryMethods(t){this._queryMethods=t}get expanded(){return this._expanded}set expanded(t){this._expanded=t}}class n{constructor(t=[]){this._items=t}get items(){return this._items}set items(t){this._items=t}}class i{constructor(t={}){this._name=t.name,this._rawQuery=t.rawQuery,this._query=t.query,this._queryType=t.queryType,this._errorMessage=t.errorOutput}get name(){return this._name}set name(t){this._name=t}get rawQuery(){return this._rawQuery}set rawQuery(t){this._rawQuery=t}get query(){return this._query}set query(t){this._query=t}get queryType(){return this._queryType}set queryType(t){this._queryType=t}get errorMessage(){return this._errorMessage}set errorMessage(t){this._errorMessage=t}}const r={SPARQL:"sparql",JSON:"json",OTHER:"other"}},128:function(t,e,s){"use strict";s.r(e);s(183);var a=s(71),n=s(73),i=s(80),r=s(30),h=s(0);function o(t,e,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(t,o,d)=>{t.chat=void 0,t.selectedAgent=void 0,t.chatItem=void 0,t.askingChatItem=void 0,t.loadingChat=!1,t.ask=()=>{t.askingChatItem=Object(r.cloneDeep)(t.chatItem),t.chatItem.chatId?c(t.chatItem):u(),t.chatItem=_(),l(),m()},t.regenerateQuestion=e=>{const s=_();s.setQuestionMessage(e.getQuestionMessage()),t.askingChatItem=s,c(s),l()},t.onKeypressOnInput=e=>{"Enter"!==e.key||e.shiftKey||e.ctrlKey||t.ask()},t.onAskHowDeliveredAnswer=()=>{const s=_();s.setQuestionMessage(e.instant("ttyg.chat_panel.btn.derive_answer.label")),t.askingChatItem=Object(r.cloneDeep)(s),c(s),l()},t.getAgentName=t=>{const a=s.getAgent(t);return a?a.name:Object(h.decodeHTML)(e.instant("ttyg.chat_panel.deleted_agent"))};const u=()=>{s.emit(a.TTYGEventName.CREATE_CHAT,t.chatItem)},c=t=>{s.emit(a.TTYGEventName.ASK_QUESTION,t)},g=()=>{t.chatItem=Object(r.cloneDeep)(t.askingChatItem),t.askingChatItem=void 0},_=()=>{const e=new i.ChatItemModel;return e.question=new n.ChatMessageModel({role:n.CHAT_MESSAGE_ROLE.USER}),t.chat&&(e.chatId=t.chat.id),t.selectedAgent&&(e.agentId=t.selectedAgent.id),e},m=()=>{o.find(".question-input")[0].focus()},l=()=>{setTimeout(()=>{const t=o.find(".chat-details")[0];t.scrollTop=t.scrollHeight})},I=()=>{t.chat=void 0,t.loadingChat=!1,t.chatItem=_(),t.askingChatItem=void 0,m()},p=[];p.push(t.$watchCollection("chat.chatHistory.items",l)),p.push(s.onSelectedChatUpdated(e=>{if(t.chat=e,e.id||!t.askingChatItem){if(t.loadingChat=!1,t.chatItem=_(),t.askingChatItem=void 0,t.chat){const e=t.chat.chatHistory.getLast();e&&e.agentId&&s.selectAgent(s.getAgent(e.agentId))}m()}})),p.push(s.onSelectedAgentChanged(e=>{t.selectedAgent=e,t.selectedAgent&&t.chatItem&&(t.chatItem.agentId=t.selectedAgent.id)})),p.push(s.onSelectedChatChanged(e=>{t.loadingChat=e&&e.id,t.chatItem=_(),m()})),p.push(s.subscribe(a.TTYGEventName.LOAD_CHAT_FAILURE,()=>{t.loadingChat=!1,t.chatItem=_(),m()})),p.push(s.subscribe(a.TTYGEventName.ASK_QUESTION_FAILURE,g)),p.push(s.subscribe(a.TTYGEventName.CREATE_CHAT_FAILURE,g)),p.push(s.subscribe(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e=>{t.chat&&e.id===t.chat.id&&I()})),t.$on("$destroy",()=>{p.forEach(t=>t())}),t.chatItem=_(),m()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",o),o.$inject=["toastr","$translate","TTYGContextService"]},73:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return a})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return n}));class a{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const n={USER:"user",ASSISTANT:"assistant"}},80:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return n})),s.d(e,"ChatItemsListModel",(function(){return i}));var a=s(73);class n{constructor(t,e){this._chatId=t,this._agentId=void 0,this._question=e,this._answers=[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answers(){return this._answers}set answers(t){this._answers=t}setQuestionMessage(t){this._question||(this._question=new a.ChatMessageModel({role:a.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class i{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}}}]);