graphdb-workbench 2.8.0-TR5 → 2.8.0-TR7

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 (522) hide show
  1. package/dist/{0.6967ab9fb05778bb0f23.bundle.js → 0.17033c66aeb23fca884e.bundle.js} +3 -3
  2. package/dist/1.29150bbf59b5d1fafddc.bundle.js +1 -0
  3. package/dist/10.905f45cdc55da0d6d037.bundle.js +1 -0
  4. package/dist/100.35eadd7be019355a0972.bundle.js +1 -0
  5. package/dist/101.b0e306ca66e44fcad14e.bundle.js +1 -0
  6. package/dist/102.b41b973eb742ebf8793a.bundle.js +1 -0
  7. package/dist/103.e2c59ce2066db3416690.bundle.js +1 -0
  8. package/dist/104.e7fa533938cdd62e6f90.bundle.js +1 -0
  9. package/dist/105.8816ac8c6c51246a49f0.bundle.js +1 -0
  10. package/dist/106.73805d850c9782b0a7a9.bundle.js +1 -0
  11. package/dist/{100.7f26323156afd3feba54.bundle.js → 107.88386a7974627dc029ad.bundle.js} +1 -1
  12. package/dist/{101.17b056cee15358cbc0a7.bundle.js → 108.7bdde4c586cb204cb1ce.bundle.js} +1 -1
  13. package/dist/{102.8a0ce8ba413e7ea86257.bundle.js → 109.710d5fc362cdc683c2d1.bundle.js} +1 -1
  14. package/dist/11.f01f4944c8616397cd88.bundle.js +1 -0
  15. package/dist/{103.6ae9591418ef71bbb36d.bundle.js → 110.cb03c69ab38ef348312f.bundle.js} +1 -1
  16. package/dist/{104.dc01d9de825caa974509.bundle.js → 111.8ad8262002c130c552b4.bundle.js} +1 -1
  17. package/dist/{105.c7c1ae143ee3a8dd99f2.bundle.js → 112.d9447e597fb16459df2a.bundle.js} +1 -1
  18. package/dist/{106.ea5c53069820d041c2cf.bundle.js → 113.3a043dd004c516930c1f.bundle.js} +1 -1
  19. package/dist/{107.9c76b13718754b7183b5.bundle.js → 114.fafb631e322f84eda250.bundle.js} +1 -1
  20. package/dist/{108.fdebacb3ded74d19301d.bundle.js → 115.7a4746a768e21bc30b0c.bundle.js} +1 -1
  21. package/dist/{109.9a8dd93a3ea7e7110f5f.bundle.js → 116.64f2577e007285ff8ab6.bundle.js} +1 -1
  22. package/dist/{110.88abaf0bf128a31fe04f.bundle.js → 117.a93df004cc92ebcd0bc5.bundle.js} +1 -1
  23. package/dist/{111.e8a5b4b837c49f1c50e9.bundle.js → 118.29b5f9738b3e76f28f4c.bundle.js} +1 -1
  24. package/dist/{112.6c477f41f1ebb640b827.bundle.js → 119.f3eec275231048bebb5e.bundle.js} +1 -1
  25. package/dist/{11.a9076c27fa7279c46d49.bundle.js → 12.22b3d9c091f70762b9b8.bundle.js} +11 -11
  26. package/dist/120.71016b6c037f6ba181e5.bundle.js +1 -0
  27. package/dist/121.2d334b14dd270c367208.bundle.js +1 -0
  28. package/dist/{115.65816bf004a5688da482.bundle.js → 122.7ae5772ed87ebceece77.bundle.js} +1 -1
  29. package/dist/{116.966292071b4061aa61d3.bundle.js → 123.3485894a0193b32f5e7b.bundle.js} +1 -1
  30. package/dist/{117.713664012b6dfd281e0d.bundle.js → 124.97aeee66a57f56feb6bc.bundle.js} +1 -1
  31. package/dist/{118.1342e18ec64449b19f6a.bundle.js → 125.0a9908e2c4a2300aa2fa.bundle.js} +1 -1
  32. package/dist/{119.cad78d6d421057850b36.bundle.js → 126.430cba927775872ce717.bundle.js} +1 -1
  33. package/dist/{120.1ea37f7c308bcd1d3e3d.bundle.js → 127.7c07e0f8988261096d95.bundle.js} +1 -1
  34. package/dist/{121.d8cd4bdf5336330ad171.bundle.js → 128.f14d0d20df46052a2f45.bundle.js} +1 -1
  35. package/dist/{122.10dfb4139bd5b1fc0994.bundle.js → 129.c8a342413ab9ee60afe6.bundle.js} +1 -1
  36. package/dist/{12.1c8de7c348eb25c8164b.bundle.js → 13.19350677a42a2e4056eb.bundle.js} +1 -1
  37. package/dist/{123.4076684ffef33bbf0d4b.bundle.js → 130.5669df488cab2d5bfb57.bundle.js} +1 -1
  38. package/dist/{124.1d2113ee6e00c6a13c91.bundle.js → 131.4b0d620e1bbc36bb77cf.bundle.js} +1 -1
  39. package/dist/{125.88574f352ebbc5799e78.bundle.js → 132.9e2537c5481a3ce31c83.bundle.js} +1 -1
  40. package/dist/{126.2b01a012a14a746753a6.bundle.js → 133.dd578a3d4f68ddbff408.bundle.js} +1 -1
  41. package/dist/{127.099000071b2c1e40bd35.bundle.js → 134.4eb26569f823f521129d.bundle.js} +1 -1
  42. package/dist/135.bb87f12d950bd0a2eab4.bundle.js +1 -0
  43. package/dist/{129.4bfaa1c1d7e341a1ed06.bundle.js → 136.030443e8558007483b98.bundle.js} +1 -1
  44. package/dist/137.21b95b63a7149f665676.bundle.js +1 -0
  45. package/dist/{131.d620cb87c7bce0386b4f.bundle.js → 138.d8a94300ef0152802aa1.bundle.js} +1 -1
  46. package/dist/{132.c5faf2429dd401f2ef0a.bundle.js → 139.2277d7941d2756767afe.bundle.js} +1 -1
  47. package/dist/{13.59de37f004085772ef6c.bundle.js → 14.03b83ea9a70e19820024.bundle.js} +1 -1
  48. package/dist/140.377e41d4f69e7be52539.bundle.js +1 -0
  49. package/dist/{133.678a2ade8fb91b5497d7.bundle.js → 141.dccab449e82a2eb2ca71.bundle.js} +1 -1
  50. package/dist/{134.b1cefe8fe02520d788c2.bundle.js → 142.126f3ccf66e962f5d447.bundle.js} +1 -1
  51. package/dist/{135.219d64990a02f7c93c9c.bundle.js → 143.24d48564d2c9259a7f56.bundle.js} +1 -1
  52. package/dist/{136.40b90ddc2d688af4c33f.bundle.js → 144.d31b55a7bc8002f273cf.bundle.js} +1 -1
  53. package/dist/{137.379a388eba6b32d996ee.bundle.js → 145.c6dca351bb16aa8995c1.bundle.js} +1 -1
  54. package/dist/{138.aa7a34b1e2fec5ea652d.bundle.js → 146.fdf25932b805e91d1231.bundle.js} +1 -1
  55. package/dist/{139.cc7ae06c97f6b630db4a.bundle.js → 147.ad5d72dc02875e605ba2.bundle.js} +1 -1
  56. package/dist/148.b53d6bb77c70251fae24.bundle.js +1 -0
  57. package/dist/{141.12a35752b5cebfafb18a.bundle.js → 149.4dfd61c551bedd36fed3.bundle.js} +1 -1
  58. package/dist/15.69cf1c99454b7be65e2a.bundle.js +2 -0
  59. package/dist/{142.cb26db2d36bcddb783d7.bundle.js → 150.c5cad43e5942f6db4d60.bundle.js} +1 -1
  60. package/dist/{143.ccd119624a493bb1cb42.bundle.js → 151.1e246e7d0933d890aa5f.bundle.js} +1 -1
  61. package/dist/{144.274b18f4ce93e3fc5fd0.bundle.js → 152.20728ee997ba3fd50820.bundle.js} +1 -1
  62. package/dist/{145.ef704ce34d4873d7571e.bundle.js → 153.405ab90f6b1657985282.bundle.js} +1 -1
  63. package/dist/{146.06ec94074395141ca9ea.bundle.js → 154.1ed3daa335e984ee2fa1.bundle.js} +1 -1
  64. package/dist/{147.b96cf3fdb22423f27fb6.bundle.js → 155.97e2ba75ccc44f968aab.bundle.js} +1 -1
  65. package/dist/{148.a2f96bd51dc88c690e46.bundle.js → 156.86bd9ec7032eab431fe9.bundle.js} +1 -1
  66. package/dist/{149.23ba51de78896cd3bd25.bundle.js → 157.5cfec61b87316961899f.bundle.js} +1 -1
  67. package/dist/{150.2a6eeac996eb6221b925.bundle.js → 158.48e462150f99041577ee.bundle.js} +1 -1
  68. package/dist/{151.dac623f30a505b8f48f9.bundle.js → 159.f441d44fbf035f5e050f.bundle.js} +1 -1
  69. package/dist/{15.0b152cd39a88fc6856bc.bundle.js → 16.766c804b4b674a0ef6a2.bundle.js} +1 -1
  70. package/dist/{152.0ff58e14a1559a4c5f5f.bundle.js → 160.252fc673ecb38b45c1ec.bundle.js} +1 -1
  71. package/dist/{153.ecf1c83a52cfffa6c26f.bundle.js → 161.e08cea5345e56b91483f.bundle.js} +1 -1
  72. package/dist/{154.b0701c5daa0497e176e7.bundle.js → 162.9a15d1a0dec48061834f.bundle.js} +1 -1
  73. package/dist/{155.f27f0a946702a5076313.bundle.js → 163.624230dacf5e271b63ce.bundle.js} +1 -1
  74. package/dist/{156.fba8b767ced422f459a2.bundle.js → 164.b39997770e4bd9d8122b.bundle.js} +1 -1
  75. package/dist/{157.a0f3360e0b6082486c12.bundle.js → 165.a283189aa6e2b230972d.bundle.js} +1 -1
  76. package/dist/{158.029fb4e807d37a3e5329.bundle.js → 166.911dd9004fa39f787abd.bundle.js} +1 -1
  77. package/dist/{159.0b667773afee1890caa5.bundle.js → 167.a0b01060d88bf7cfab80.bundle.js} +1 -1
  78. package/dist/{160.2aa35b2e5d2a0c988459.bundle.js → 168.b9718a26c4fee4d20865.bundle.js} +1 -1
  79. package/dist/{161.869e0c7ce82f35dbb91c.bundle.js → 169.1a51864cbc242f4a6575.bundle.js} +1 -1
  80. package/dist/{16.d382f943f0121874fd1e.bundle.js → 17.c649533b09899e07ef7c.bundle.js} +1 -1
  81. package/dist/{162.693032a729e709d1deac.bundle.js → 170.a3221cebb6034e55e826.bundle.js} +1 -1
  82. package/dist/{163.932e1cbe6c7ca46b2cc4.bundle.js → 171.5ee00ef41f7290da746a.bundle.js} +1 -1
  83. package/dist/{164.c1e08572ede9625177a0.bundle.js → 172.a8819461f5b869ff168a.bundle.js} +1 -1
  84. package/dist/{165.11214d1c15cd00f920b4.bundle.js → 173.7f46e43281c58fc4feeb.bundle.js} +1 -1
  85. package/dist/{166.b5f3f6286f197b5d7dfc.bundle.js → 174.0ef1d7ff3da555e03157.bundle.js} +1 -1
  86. package/dist/{167.d4b7fc5fa09527e47466.bundle.js → 175.01a373652a1cf359fabe.bundle.js} +1 -1
  87. package/dist/{168.f04bc0534788c07907c6.bundle.js → 176.b6486d218f2e834c3703.bundle.js} +1 -1
  88. package/dist/{169.322c21e85b3a434daad6.bundle.js → 177.cede7689b6a865624755.bundle.js} +1 -1
  89. package/dist/{170.f28ed2ea2bd3d484a998.bundle.js → 178.ec12ef26f72b7712c8e4.bundle.js} +1 -1
  90. package/dist/{171.e825625eee38003a9c09.bundle.js → 179.9e9a7523d9b91636e29a.bundle.js} +1 -1
  91. package/dist/{17.c3a499e5391e06c764e8.bundle.js → 18.a597232c0cfc94b72091.bundle.js} +1 -1
  92. package/dist/{172.4048014207111dd465a8.bundle.js → 180.a044d05728e6c15710dd.bundle.js} +1 -1
  93. package/dist/{173.7c1c7d7e43a83800bcc5.bundle.js → 181.69f0dc63dc03d38146ad.bundle.js} +1 -1
  94. package/dist/{174.6cd463bcab68410bad02.bundle.js → 182.d6209c36af41bcf8c11a.bundle.js} +1 -1
  95. package/dist/{175.372886e33b57422185a4.bundle.js → 183.25a2baad19e000850d56.bundle.js} +1 -1
  96. package/dist/{176.7e0c9b5eb6fd1dbb9359.bundle.js → 184.9ca5aa00dc5d923b7a6f.bundle.js} +1 -1
  97. package/dist/185.c44cf6e76388c42fdd02.bundle.js +1 -0
  98. package/dist/{178.11f2eb8a371403f292b3.bundle.js → 186.b95ef6e94803b98a6811.bundle.js} +1 -1
  99. package/dist/{179.5b90d2e399a2fdac1c25.bundle.js → 187.3b98bab1a63af4e69d5e.bundle.js} +1 -1
  100. package/dist/{180.c448596c4e028ad5bdf3.bundle.js → 188.3d4df3c6804536e196c0.bundle.js} +1 -1
  101. package/dist/{181.30a474897d97b2d02822.bundle.js → 189.58559840e81404c86872.bundle.js} +1 -1
  102. package/dist/{18.9d2448dd2d3ec3631580.bundle.js → 19.d163f4e917e93906c3f7.bundle.js} +1 -1
  103. package/dist/{182.dc7920a78d0d736d4f4e.bundle.js → 190.ce79f63b38382c8f8823.bundle.js} +1 -1
  104. package/dist/{183.19aabd1e5e39cc8e83dc.bundle.js → 191.5c22c7606d0119c6f454.bundle.js} +1 -1
  105. package/dist/{184.540e1daa09ad0bf278c3.bundle.js → 192.825910fa58b8680f662e.bundle.js} +1 -1
  106. package/dist/{185.16b5a5bd58ff9bedcc7a.bundle.js → 193.851e28b04914f75a3797.bundle.js} +1 -1
  107. package/dist/{186.f9689bf33815bda7ac3c.bundle.js → 194.94841cebeba3d87f2ec2.bundle.js} +1 -1
  108. package/dist/{187.9e42da5cdc1bf9ebb96e.bundle.js → 195.cbddd873fac861d63a42.bundle.js} +1 -1
  109. package/dist/{188.b80e869e07dca3da01a7.bundle.js → 196.7a8dac9aa032be645b5a.bundle.js} +1 -1
  110. package/dist/{189.cb382ef7332d62a304c2.bundle.js → 197.18ec6e9fbe54d00f9330.bundle.js} +1 -1
  111. package/dist/{190.2c27b901c1e33c268e1b.bundle.js → 198.1f1a595762a383d4c941.bundle.js} +1 -1
  112. package/dist/{191.36cb3368edee2fd7fabd.bundle.js → 199.9590877c48d18ab532a3.bundle.js} +1 -1
  113. package/dist/2.2d8bdd5a3e02bc87c1e7.bundle.js +2 -0
  114. package/dist/{19.70b96c19d7848640dbb9.bundle.js → 20.495ad51bf077d13cde77.bundle.js} +1 -1
  115. package/dist/{192.f345d24a0bf15aeb0b62.bundle.js → 200.4ddd3f1e93ec39fd6f62.bundle.js} +1 -1
  116. package/dist/{193.35391d9216d14ac0bf3e.bundle.js → 201.a1043715883f8d69939a.bundle.js} +1 -1
  117. package/dist/{194.62ccc8391956bbf0d069.bundle.js → 202.6512cebdeac596190344.bundle.js} +1 -1
  118. package/dist/{195.8652779019d20199ee0e.bundle.js → 203.2ef0f180f55fc0c2fee2.bundle.js} +1 -1
  119. package/dist/{196.c22cb6fdb66bea1455c4.bundle.js → 204.c0c3102cceb35b0e6a81.bundle.js} +1 -1
  120. package/dist/{197.5abc2b7e62e56bf86060.bundle.js → 205.90c582d354b191d2456c.bundle.js} +1 -1
  121. package/dist/{198.d9bbf27bcb13c5dd78d1.bundle.js → 206.ba58d50cfb2e5b42691d.bundle.js} +1 -1
  122. package/dist/207.f8b91d382b5009a4627e.bundle.js +1 -0
  123. package/dist/{200.e6d409c5925a76e58e72.bundle.js → 208.fbe3aa845e9a80138633.bundle.js} +1 -1
  124. package/dist/{201.9d82b44c237290e04aea.bundle.js → 209.6c342e2c7f175da8b3fa.bundle.js} +1 -1
  125. package/dist/21.f89b1c7fd901bcd46e3e.bundle.js +3 -0
  126. package/dist/{202.3dfb4af2249898ed3fc9.bundle.js → 210.7aa1fffdfd39ee23eb26.bundle.js} +1 -1
  127. package/dist/{203.2da0c27b1d0ab513e4e7.bundle.js → 211.abe765df9856e355ae40.bundle.js} +1 -1
  128. package/dist/{204.9b4c2de63ab9028d7d97.bundle.js → 212.01e5110cf83ca17016de.bundle.js} +1 -1
  129. package/dist/{205.c58772214c94ed3afea3.bundle.js → 213.9857071bdab447c3854c.bundle.js} +1 -1
  130. package/dist/{206.e7c97cc504ac442c75bc.bundle.js → 214.21680ec005ee47452db9.bundle.js} +1 -1
  131. package/dist/{207.00de0a8515de06ef0fb7.bundle.js → 215.951539c7e32d0d0f507d.bundle.js} +1 -1
  132. package/dist/{208.a72a2586de056c048102.bundle.js → 216.78bb2efde96c59566598.bundle.js} +1 -1
  133. package/dist/{209.9dea550a4bf6f086cad1.bundle.js → 217.22ff329d08bd16d82601.bundle.js} +1 -1
  134. package/dist/{210.050643db12705405adcc.bundle.js → 218.d8d591f6a96d476bef6a.bundle.js} +1 -1
  135. package/dist/{211.9d7c7e9982c0561da76f.bundle.js → 219.7b2191a73e82d2e261e5.bundle.js} +1 -1
  136. package/dist/22.853378d632f7904ac443.bundle.js +2 -0
  137. package/dist/{212.5a2ba04f1d462a112657.bundle.js → 220.b6265e9cedd894992463.bundle.js} +1 -1
  138. package/dist/{213.db0539f7cf1f77976f20.bundle.js → 221.50b8d034a4070c5c34da.bundle.js} +1 -1
  139. package/dist/{214.f674735412e7fdfd871f.bundle.js → 222.8ba561dc76b777bef340.bundle.js} +1 -1
  140. package/dist/{215.e780ea6c4aadb41aef3c.bundle.js → 223.ae2d6beaa0ac10fe0169.bundle.js} +1 -1
  141. package/dist/{216.734785a55884f809069a.bundle.js → 224.7d8f33e11a13d92dfd7e.bundle.js} +1 -1
  142. package/dist/{217.a0bfba5b23d72aad2861.bundle.js → 225.8de9310277d5a3709340.bundle.js} +1 -1
  143. package/dist/{218.d1c1a80db4bfb412c6c7.bundle.js → 226.3533ca0ef4e6f1bda6c6.bundle.js} +1 -1
  144. package/dist/227.761da4c3717f0b181454.bundle.js +1 -0
  145. package/dist/{220.d00c6328f9fe29da03d5.bundle.js → 228.0fd6c6c3ea06dbd1aa6f.bundle.js} +1 -1
  146. package/dist/229.0f942376bec0b11a56a9.bundle.js +1 -0
  147. package/dist/23.c2659a07e950ca9d25a7.bundle.js +2 -0
  148. package/dist/{222.b064e1013cc5c12917cc.bundle.js → 230.db665000d058d259455d.bundle.js} +1 -1
  149. package/dist/{223.d3032b152d950ff8967b.bundle.js → 231.66489eca108f5cc8fe61.bundle.js} +1 -1
  150. package/dist/{224.c28b4c3d0b2d55b6f023.bundle.js → 232.ea757709dfe87bc3129f.bundle.js} +1 -1
  151. package/dist/{225.8bf0aec084863fc95414.bundle.js → 233.f13b6c708554b6dbd541.bundle.js} +1 -1
  152. package/dist/{226.9de98c97cf870a77efbf.bundle.js → 234.e78d0faf2a585ff9239e.bundle.js} +1 -1
  153. package/dist/{227.a7ae559b03897d292b39.bundle.js → 235.afded1831f536a42922b.bundle.js} +1 -1
  154. package/dist/{228.f8555ecfdf9f553c7845.bundle.js → 236.57566d8932a25223aa9c.bundle.js} +1 -1
  155. package/dist/{229.a2d575f36de5f1763342.bundle.js → 237.399f3d86a51ecbadcd28.bundle.js} +1 -1
  156. package/dist/{230.4d5c3a00d39fbdd6d152.bundle.js → 238.41322463619064cb4677.bundle.js} +1 -1
  157. package/dist/{231.434597b10f9e7fb259df.bundle.js → 239.7443c1df8125a6db288f.bundle.js} +1 -1
  158. package/dist/24.c01ac846a566c49fa3f1.bundle.js +2 -0
  159. package/dist/240.8595ffe28a047352eba7.bundle.js +1 -0
  160. package/dist/241.f233f6f83f09708b1ec4.bundle.js +1 -0
  161. package/dist/{234.863ddddb8449ed7c0ee1.bundle.js → 242.fa38e02cc0ff632a9767.bundle.js} +1 -1
  162. package/dist/{235.956f01dae59a47f998b5.bundle.js → 243.406933e4ff600625c87b.bundle.js} +1 -1
  163. package/dist/{236.36baaaeee73e76c481c7.bundle.js → 244.666ee0ad097fedcc3f71.bundle.js} +1 -1
  164. package/dist/{237.5bce30c4e82980e9754f.bundle.js → 245.4d9c6e9371bc7207ad79.bundle.js} +1 -1
  165. package/dist/246.84f30a1a8aef76212bed.bundle.js +1 -0
  166. package/dist/{239.db5085cb5625931497c1.bundle.js → 247.1d6d49c7a93d85c35d78.bundle.js} +1 -1
  167. package/dist/248.88f7044c8e44f4ab03c9.bundle.js +1 -0
  168. package/dist/{241.5f31e65b530c9c673af3.bundle.js → 249.f29a824b27a86f9de70f.bundle.js} +1 -1
  169. package/dist/{21.7951f078016f09edd79a.bundle.js → 25.abd278f76ef52b295c00.bundle.js} +2 -2
  170. package/dist/250.f0aa7bd87cca3dda47bc.bundle.js +1 -0
  171. package/dist/{243.39f5289044a150487acb.bundle.js → 251.a0d53214934b21e2ce0f.bundle.js} +1 -1
  172. package/dist/{244.3e3b0217ad8558015878.bundle.js → 252.4cfbaec7165cc4e66abd.bundle.js} +1 -1
  173. package/dist/{245.12f6b1e768771000f1f3.bundle.js → 253.0a3170c88459e8916cfa.bundle.js} +1 -1
  174. package/dist/254.9b384f947f255afb1232.bundle.js +1 -0
  175. package/dist/{248.6fb8d92b19677312ec2f.bundle.js → 255.d8ac37b36b2048c7e7ba.bundle.js} +1 -1
  176. package/dist/256.15e6abca44d6d0bde659.bundle.js +1 -0
  177. package/dist/{249.361380fd0c4d2710e06b.bundle.js → 257.9b4769dc2f6800e714ee.bundle.js} +1 -1
  178. package/dist/{250.9cc0025717bda9ff85ac.bundle.js → 258.3c4190cbc2747bc2d90b.bundle.js} +1 -1
  179. package/dist/{251.7bd7c734de38e195da15.bundle.js → 259.0d684b38ab51f70e6ec8.bundle.js} +1 -1
  180. package/dist/26.3359ae67b9a56dea2834.bundle.js +2 -0
  181. package/dist/{252.8afa7a1e2a6e4c5a926d.bundle.js → 260.cc2058dd799a308517c2.bundle.js} +1 -1
  182. package/dist/{253.b9409aa29124da201410.bundle.js → 261.52340ebf7e6ae1530f54.bundle.js} +1 -1
  183. package/dist/{254.42a241c6856d1a55afa8.bundle.js → 262.559740f8625b343180ab.bundle.js} +1 -1
  184. package/dist/{255.a0c66c6f832d20e3397e.bundle.js → 263.1c74a5087d937261d9b9.bundle.js} +1 -1
  185. package/dist/{256.a8fd6ef683a6fb3742db.bundle.js → 264.0335b75ba785bdce7925.bundle.js} +1 -1
  186. package/dist/{257.44e7db279a0efb0018ff.bundle.js → 265.119b5eaf1b772d8efc9b.bundle.js} +1 -1
  187. package/dist/{258.d79f5ef6319cb30b0118.bundle.js → 266.c70f244bd7fce8fd510f.bundle.js} +1 -1
  188. package/dist/{259.8a37906084ccf1911e30.bundle.js → 267.60093ea1e5832fad7bd2.bundle.js} +1 -1
  189. package/dist/{260.75e33fe1306bc28415b9.bundle.js → 268.fe719751a51ac05515e6.bundle.js} +1 -1
  190. package/dist/{261.87ee58d6687591dbc53d.bundle.js → 269.7964b2651f9af8336425.bundle.js} +1 -1
  191. package/dist/27.690c9ef7f17263ffe2c5.bundle.js +1 -0
  192. package/dist/{262.53c026834f1a7c31cff4.bundle.js → 270.b39a08f5e6caa8afabfd.bundle.js} +1 -1
  193. package/dist/{263.ac0888e10472290fd5cd.bundle.js → 271.4977b679240711dac093.bundle.js} +1 -1
  194. package/dist/{264.4206d53ab8da96bc5375.bundle.js → 272.c6661ade26046d0d730d.bundle.js} +1 -1
  195. package/dist/{265.ca35e25f40cc557e9326.bundle.js → 273.3253a10864bb303639c2.bundle.js} +1 -1
  196. package/dist/{266.549fcc29307b61d6b427.bundle.js → 274.6b1bf227908b8a411b01.bundle.js} +1 -1
  197. package/dist/{267.e5b8430e17b550a89458.bundle.js → 275.5553b20a309c0ed3834d.bundle.js} +1 -1
  198. package/dist/{268.f9bbc4810ebb192a1432.bundle.js → 276.d405ac4598ff441b4fa5.bundle.js} +1 -1
  199. package/dist/{269.f8aba27c315f1a1b4484.bundle.js → 277.b9faddb83cebd8068e44.bundle.js} +1 -1
  200. package/dist/{270.f4c88d06faa70fe73cd9.bundle.js → 278.637a776d4c8eccd2567e.bundle.js} +1 -1
  201. package/dist/{271.398aaa6c01600df61c6b.bundle.js → 279.9e822aa881c39fdaaae5.bundle.js} +1 -1
  202. package/dist/{25.199fc623310cefd2f4ad.bundle.js → 28.740e00ee0bc83745b7dc.bundle.js} +1 -1
  203. package/dist/{272.414a02980b8cb5dc2380.bundle.js → 280.e8991d710f04b11387c1.bundle.js} +1 -1
  204. package/dist/{273.13cc72edc9ab16311f3a.bundle.js → 281.a3c5727bf6052c98f3ea.bundle.js} +1 -1
  205. package/dist/{274.5683e1f4c2c1f6902888.bundle.js → 282.85ca36c257f17f0bdf44.bundle.js} +1 -1
  206. package/dist/{275.fff6b0befb4b17f37eda.bundle.js → 283.7eb4f1e452b2a11a5837.bundle.js} +1 -1
  207. package/dist/{276.99cdf1dff924b1f9c64c.bundle.js → 284.5424bb03635a18a8383e.bundle.js} +1 -1
  208. package/dist/285.a39486c9c36455c07a8c.bundle.js +1 -0
  209. package/dist/{278.22ea31506084cf22b1d2.bundle.js → 286.a91c42926ffb5bbc6a90.bundle.js} +1 -1
  210. package/dist/{279.a84df2f197ed43f54e65.bundle.js → 287.ae06cf9aaee6b032069a.bundle.js} +1 -1
  211. package/dist/{280.f1354e40d7a16b412e88.bundle.js → 288.05d24904748c476d62a9.bundle.js} +1 -1
  212. package/dist/{281.5683a8f152dcc8f75e4d.bundle.js → 289.629fd05976be4275914c.bundle.js} +1 -1
  213. package/dist/{26.ddaf300ca3cebd842a06.bundle.js → 29.5da4adab4fd5ab5ef381.bundle.js} +1 -1
  214. package/dist/{282.4aae3dba3b35ea673c13.bundle.js → 290.81ec0fc46a9b1a63e3cb.bundle.js} +1 -1
  215. package/dist/{283.ce463e4cfa59e37d607b.bundle.js → 291.9b31bffdec6080d7f827.bundle.js} +1 -1
  216. package/dist/292.7910a6c107e87d1f91f5.bundle.js +1 -0
  217. package/dist/{285.a1fd5a729eebc9586f96.bundle.js → 293.42af60cb744e1cea919d.bundle.js} +1 -1
  218. package/dist/{286.b4d04aefb9c8758eb72c.bundle.js → 294.bbb1f61f2b90412e89a8.bundle.js} +1 -1
  219. package/dist/{287.869b9eda721edd0d7042.bundle.js → 295.156cc84de41691072c27.bundle.js} +1 -1
  220. package/dist/{288.c079bcb1e2518d4b2813.bundle.js → 296.3a58f545517390e2cb93.bundle.js} +1 -1
  221. package/dist/{289.71c26b5ffaa393ece793.bundle.js → 297.59085f3d1e21e7d3279e.bundle.js} +1 -1
  222. package/dist/298.a5211568657e92330322.bundle.js +1 -0
  223. package/dist/{292.c20bfd9c5c2dc21cbfe5.bundle.js → 299.afc55fab7c3e08555638.bundle.js} +1 -1
  224. package/dist/3.cf0b0b46014854374503.bundle.js +8 -0
  225. package/dist/30.5dbdacec799a1d5899e1.bundle.js +1 -0
  226. package/dist/300.6d5ab217a6e5ecc64cfd.bundle.js +1 -0
  227. package/dist/301.dd607f905cc18ac01cd7.bundle.js +1 -0
  228. package/dist/302.33c8b81de6fd88ceb1e5.bundle.js +1 -0
  229. package/dist/{296.214f47f8d04f8172325a.bundle.js → 303.c23374f5c53c3fb3374f.bundle.js} +1 -1
  230. package/dist/{297.150d2e735d97469bc97a.bundle.js → 304.9e2e4fdc58621b89e906.bundle.js} +1 -1
  231. package/dist/{298.e0fe45df8f4d8971c381.bundle.js → 305.cc497736ef239895f7a8.bundle.js} +1 -1
  232. package/dist/{299.3499097fbb66b52fc421.bundle.js → 306.61ad2704abe59ff1c1d9.bundle.js} +1 -1
  233. package/dist/{300.39de47db08587229ef0e.bundle.js → 307.e1f91853f7d3225a401b.bundle.js} +1 -1
  234. package/dist/{301.1343a9b079798562aa6a.bundle.js → 308.8a3bae3ccf9a4cef107b.bundle.js} +1 -1
  235. package/dist/{302.750cbc741f3c77e99e81.bundle.js → 309.6dec52bafec9f71ff4ef.bundle.js} +1 -1
  236. package/dist/{28.af295559f3ec77d40839.bundle.js → 31.6c24781b1c6a1bc09620.bundle.js} +1 -1
  237. package/dist/{303.e44f63ffeda3cbf7ae16.bundle.js → 310.5a50eac8e86362858e1a.bundle.js} +1 -1
  238. package/dist/{304.2d3ac502aa624081b1e5.bundle.js → 311.2d1763c7869099a9ad32.bundle.js} +1 -1
  239. package/dist/317.14afc1fbc34b41426c2b.bundle.js +1 -0
  240. package/dist/{311.cf3c7cdc8df9614c5e0d.bundle.js → 318.08aab92ea443f0a92796.bundle.js} +1 -1
  241. package/dist/{312.71d9b98ccbdfe96b0e27.bundle.js → 319.4dcbd28b058f3e52254a.bundle.js} +1 -1
  242. package/dist/32.745c8f721a66fc81cb83.bundle.js +1 -0
  243. package/dist/{313.53a97f9eb084dcae87c9.bundle.js → 320.54338f1fdec71fd7606b.bundle.js} +1 -1
  244. package/dist/{314.f597d0c2a2be830776de.bundle.js → 321.dbf82777fda297e7ebff.bundle.js} +1 -1
  245. package/dist/{315.58bc5637ceb47626bde3.bundle.js → 322.1afd4883cb815d1db589.bundle.js} +1 -1
  246. package/dist/{316.4f9a18e26bbe0f0adbe6.bundle.js → 323.48745f5197cbad34dcd1.bundle.js} +1 -1
  247. package/dist/{317.979f24ed265641b8ddc1.bundle.js → 324.694c793a1368ee68bc1a.bundle.js} +1 -1
  248. package/dist/{318.f5c05dd1599c529762e4.bundle.js → 325.b9d5b2ae32db55629804.bundle.js} +1 -1
  249. package/dist/{319.cccd7fb2eaa18f65e716.bundle.js → 326.af50c7c9a5f79424f2bd.bundle.js} +1 -1
  250. package/dist/{320.0d9f2f2aeda450f2f0a7.bundle.js → 327.14d9de30dffbe6ae0ddf.bundle.js} +1 -1
  251. package/dist/{321.2f817913ca2f9cd27812.bundle.js → 328.42bf02602eda2f8d24f7.bundle.js} +1 -1
  252. package/dist/{322.ad2b9395bfbc385119fe.bundle.js → 329.4f868bf04438e2202411.bundle.js} +1 -1
  253. package/dist/{30.83358047fbcc339d474f.bundle.js → 33.4a99022cf80e5de69f51.bundle.js} +1 -1
  254. package/dist/{323.7b979063981cd58478be.bundle.js → 330.49319ca42744d502b6bc.bundle.js} +1 -1
  255. package/dist/{324.37c3249317427c3878c6.bundle.js → 331.88e3c718f0f984ae436e.bundle.js} +1 -1
  256. package/dist/{325.993f7143c5d5592ab355.bundle.js → 332.ccbe9c0afeedc2449375.bundle.js} +1 -1
  257. package/dist/{326.e5ce686fb321b3922da0.bundle.js → 333.84732f68ea4410ba45d5.bundle.js} +1 -1
  258. package/dist/{327.40d5727ccb824f68ecd1.bundle.js → 334.e6246f52bf8626a289ff.bundle.js} +1 -1
  259. package/dist/{328.c8475579baf28af54890.bundle.js → 335.74f6d75c36cb5c4ff551.bundle.js} +1 -1
  260. package/dist/{329.29a283ec1f3ceb4adb26.bundle.js → 336.2acee58eaebeb39a400b.bundle.js} +1 -1
  261. package/dist/{330.4e27caee2a547aeaf45b.bundle.js → 337.baaaa5f371e99fad4b66.bundle.js} +1 -1
  262. package/dist/{331.8e2eed9790d553e91940.bundle.js → 338.77b5dffeac30a6d689f2.bundle.js} +1 -1
  263. package/dist/{332.6b6043fc84aa75c59a29.bundle.js → 339.3bc34bf95f8a26e78247.bundle.js} +1 -1
  264. package/dist/34.b4543b758526d40813a3.bundle.js +1 -0
  265. package/dist/{333.1629c955f4780836ba1e.bundle.js → 340.a99af3ad199e5bf4741f.bundle.js} +1 -1
  266. package/dist/{334.820bf9aa8aca42035920.bundle.js → 341.b693bf4622fe27cc06da.bundle.js} +1 -1
  267. package/dist/{335.441f2c1b005bf4da9da9.bundle.js → 342.b27d3e5701aff441dd49.bundle.js} +1 -1
  268. package/dist/{336.2e620911b9848d22d0bc.bundle.js → 343.7057667d0a9a2328d4f0.bundle.js} +1 -1
  269. package/dist/{337.dd96b11f66d00f3c11d8.bundle.js → 344.fe53cb2325572fb8375b.bundle.js} +1 -1
  270. package/dist/{338.31ccf952930ab1a64141.bundle.js → 345.94e0a1f3140aeafeb5b2.bundle.js} +1 -1
  271. package/dist/{339.8e581416b7b86cfd8829.bundle.js → 346.f163dcf6395693295baf.bundle.js} +1 -1
  272. package/dist/{340.2a9bbb58af2ebd5eaad8.bundle.js → 347.3a69352f09fd02b5abd8.bundle.js} +1 -1
  273. package/dist/{341.2e30539f06783590237c.bundle.js → 348.5322349d3337f66aebfb.bundle.js} +1 -1
  274. package/dist/{342.881d5df270fb6891b5aa.bundle.js → 349.2ca05825fe0d1e33a656.bundle.js} +1 -1
  275. package/dist/35.4ac254e9ab4ccc4b75fd.bundle.js +1 -0
  276. package/dist/{343.a197d3c62465378339aa.bundle.js → 350.63aa2714216de96adc3b.bundle.js} +1 -1
  277. package/dist/{344.03eeb3da1ab8be45223d.bundle.js → 351.5dcf50c4bddeb40fcde0.bundle.js} +1 -1
  278. package/dist/{345.5f48e10965bfdaca076a.bundle.js → 352.bf47ae34820127030806.bundle.js} +1 -1
  279. package/dist/{346.222128167abd9e37a506.bundle.js → 353.5329997affd2735d7f2c.bundle.js} +1 -1
  280. package/dist/{347.a43c655bcfb27aebf21f.bundle.js → 354.cef8c4623063a22ffeeb.bundle.js} +1 -1
  281. package/dist/{348.fc0a1d8a9f0c832aa8ab.bundle.js → 355.a90ed576141f7669e9c2.bundle.js} +1 -1
  282. package/dist/{349.6fffb3cae65ee940693a.bundle.js → 356.4862f1286ee075428540.bundle.js} +1 -1
  283. package/dist/{350.46496fb9ac596d87a6dd.bundle.js → 357.dee21322dcb5be1aa374.bundle.js} +1 -1
  284. package/dist/{351.c0d2293d07f7b3fe2e1e.bundle.js → 358.80b381ccd20e93021857.bundle.js} +1 -1
  285. package/dist/{352.ce177c6de5a67a54fa09.bundle.js → 359.96e71d2d8280919b52ba.bundle.js} +1 -1
  286. package/dist/36.4c7f03f71aea58c46ad0.bundle.js +1 -0
  287. package/dist/{353.062e7407b1897bf7cc94.bundle.js → 360.eaba0f1386cdc15022c4.bundle.js} +1 -1
  288. package/dist/{354.f93c5a2afd738d69c647.bundle.js → 361.eb5f8f8ddcd38bc70299.bundle.js} +1 -1
  289. package/dist/{355.1f8e35f904433628b5f6.bundle.js → 362.926fe39b40f34a6973ce.bundle.js} +1 -1
  290. package/dist/{356.ec6765fff7de228d9851.bundle.js → 363.31638034be48abd23ad4.bundle.js} +1 -1
  291. package/dist/{357.080f7f0713070c48821d.bundle.js → 364.c09818df038b810875dd.bundle.js} +1 -1
  292. package/dist/{358.0f1231c8453e8a211b66.bundle.js → 365.3f47d1cb883e089f886f.bundle.js} +1 -1
  293. package/dist/{359.5e4939ee985e5ee4aa08.bundle.js → 366.fc6c89eb988af6722191.bundle.js} +1 -1
  294. package/dist/{360.c02645ba0f7ccc709bd3.bundle.js → 367.8347261fea44282d99d0.bundle.js} +1 -1
  295. package/dist/{361.7d22ee4c5cc1f0f62847.bundle.js → 368.717d5df5dba91d94c9ea.bundle.js} +1 -1
  296. package/dist/{362.1bacdbc961d8d9340b05.bundle.js → 369.ddccec1000d6e24ec537.bundle.js} +1 -1
  297. package/dist/{32.be13f368fa0460e227a7.bundle.js → 37.9af3535ede3039c39bcb.bundle.js} +1 -1
  298. package/dist/{363.d56197d81f8b906de505.bundle.js → 370.9d9f2d76afd7298109b2.bundle.js} +1 -1
  299. package/dist/{364.f7d8a7e79c6918701b69.bundle.js → 371.4008ce1f62536c5a65d7.bundle.js} +1 -1
  300. package/dist/{365.e75d8e89ce4fbe893c53.bundle.js → 372.77d9bf19d86efdeb056d.bundle.js} +1 -1
  301. package/dist/{366.4a672b01bd6827f8fb5b.bundle.js → 373.ef700a372398c1d48dbd.bundle.js} +1 -1
  302. package/dist/{367.c7afbfe177106f5da484.bundle.js → 374.d50abea669476f0f2c9c.bundle.js} +1 -1
  303. package/dist/{368.c422af78aedc9c0aa9fb.bundle.js → 375.1a56604312cef8a17e2e.bundle.js} +1 -1
  304. package/dist/{369.36c2e57f36dbbdb0244d.bundle.js → 376.a1dfeda23cc6dd505a4c.bundle.js} +1 -1
  305. package/dist/{370.323b8d44f600bf312ca8.bundle.js → 377.eef5fe51870dd8b93dcd.bundle.js} +1 -1
  306. package/dist/{371.4ac7a2c3459079f9fb6a.bundle.js → 378.73bc20173cf0d694c88e.bundle.js} +1 -1
  307. package/dist/379.92c6b05ed8e54fa9c12a.bundle.js +1 -0
  308. package/dist/{33.4099e6d9a135c8342401.bundle.js → 38.b9a466688b4419b44203.bundle.js} +1 -1
  309. package/dist/380.165fe5bf212ac7177a4a.bundle.js +1 -0
  310. package/dist/381.b8cccfdac5dfc2709c23.bundle.js +1 -0
  311. package/dist/382.e3ef7b793ef5478f33b6.bundle.js +1 -0
  312. package/dist/{375.3273381131fe2a8a2d6a.bundle.js → 383.b24679383a6bcfc3b8a5.bundle.js} +1 -1
  313. package/dist/{376.4abc77ce350e98e61006.bundle.js → 384.bd767075e1e2e44269ab.bundle.js} +1 -1
  314. package/dist/385.b7f92435750203328844.bundle.js +1 -0
  315. package/dist/{378.13c8331f50dd6a1792d7.bundle.js → 386.5f7f99365c96827da6c5.bundle.js} +1 -1
  316. package/dist/{379.cee485c49fe7cbbf1b00.bundle.js → 387.29051e7ab90b105e8d87.bundle.js} +1 -1
  317. package/dist/388.9dc54afd9b85e404f529.bundle.js +1 -0
  318. package/dist/389.b906220de4376cdfd713.bundle.js +1 -0
  319. package/dist/{34.3bd663f40f8e5d487e58.bundle.js → 39.f6a1755e5e900a025a5d.bundle.js} +1 -1
  320. package/dist/390.8585876828ed565479d8.bundle.js +1 -0
  321. package/dist/{383.233b1f1c05d6a41ca667.bundle.js → 391.e41787c90e5971440ace.bundle.js} +1 -1
  322. package/dist/{384.8974dcb54aa79ecfa41d.bundle.js → 392.d1e8244123690aa49c67.bundle.js} +1 -1
  323. package/dist/{385.991354ffdbbbef4b03cd.bundle.js → 393.8c635bccb9f07e3d99ee.bundle.js} +1 -1
  324. package/dist/{386.fb346c88e1a04097ea31.bundle.js → 394.09ee1a79af516dac51f1.bundle.js} +1 -1
  325. package/dist/{3.bf5407fd4f31a2fb73fb.bundle.js → 4.3947c4905934322d0dd6.bundle.js} +1 -1
  326. package/dist/40.7238c6afe0137623466c.bundle.js +1 -0
  327. package/dist/{36.e08e03897ba4766efbb2.bundle.js → 41.1ebaf44ca36bf8527737.bundle.js} +1 -1
  328. package/dist/{37.cfe4a522de85d5c655e4.bundle.js → 42.853a8641bf50eef3de81.bundle.js} +1 -1
  329. package/dist/{38.5454bca277ba64dc0b9c.bundle.js → 43.aee21b9ba100c82e4659.bundle.js} +1 -1
  330. package/dist/44.90a523a1b31916b5ebd7.bundle.js +1 -0
  331. package/dist/45.3f2bd488027ca1f38eaf.bundle.js +1 -0
  332. package/dist/{41.6d31d16cd2e148da0781.bundle.js → 46.4037b933d2352c74b321.bundle.js} +1 -1
  333. package/dist/{42.48329e6d142b4e520134.bundle.js → 47.d0999c0aceb29874efcd.bundle.js} +1 -1
  334. package/dist/48.08f87cb27107d1f0d377.bundle.js +1 -0
  335. package/dist/49.e80a971e901c0d3929dd.bundle.js +1 -0
  336. package/dist/5.9a3ba02464bbfa18cb38.bundle.js +1 -0
  337. package/dist/{44.00252a53efa0a86deb44.bundle.js → 50.7b343a210ee52430eaf5.bundle.js} +2 -2
  338. package/dist/51.5b6a507f77f75d1776f5.bundle.js +1 -0
  339. package/dist/{46.a801a28fe2168e6c723c.bundle.js → 52.c7c6adcfdbf568c04cec.bundle.js} +1 -1
  340. package/dist/{47.059fd9cc3b179ebed65d.bundle.js → 53.5cd5c0fecc37df965ec5.bundle.js} +1 -1
  341. package/dist/{48.54707551ab8a11198afc.bundle.js → 54.627d2ce861c386668d79.bundle.js} +1 -1
  342. package/dist/{49.1d0155d2196c26d66a02.bundle.js → 55.f200a2b041ec38de45f8.bundle.js} +1 -1
  343. package/dist/{50.c4d3b40295500a0c33ad.bundle.js → 56.f9fb6f613614fedf7419.bundle.js} +1 -1
  344. package/dist/{51.8fa369af0c8b5e11d04c.bundle.js → 57.3106ad445383cc078ed5.bundle.js} +1 -1
  345. package/dist/58.91d1a1d7728a5f7e7296.bundle.js +1 -0
  346. package/dist/{52.29052e36a74030d9e41a.bundle.js → 59.a0b621b536dde5e0aee1.bundle.js} +1 -1
  347. package/dist/{5.ebb8b6aea672c64029b1.bundle.js → 6.1cf03f9d61c21f7132b8.bundle.js} +1 -1
  348. package/dist/{53.a61647e9e6eac009a7ae.bundle.js → 60.b211600daa77ec578d04.bundle.js} +1 -1
  349. package/dist/61.79fee854325c44c8a2bc.bundle.js +1 -0
  350. package/dist/{55.2807daccad98b7aa15f2.bundle.js → 62.83025f5698e9ab6cf74c.bundle.js} +2 -2
  351. package/dist/{56.7452b2314534830e98ad.bundle.js → 63.d6202aafe9264ec10635.bundle.js} +1 -1
  352. package/dist/{57.a23e424da1d5d3b5ae86.bundle.js → 64.53c25608190731785d98.bundle.js} +1 -1
  353. package/dist/{59.351c47755bb06aaa8331.bundle.js → 65.5098747b80c908d72cd2.bundle.js} +1 -1
  354. package/dist/{60.3df0dcd9af2fa4c7ce34.bundle.js → 66.d70db6a6e916c4af7ce1.bundle.js} +1 -1
  355. package/dist/67.5d24f1090f1f108006ca.bundle.js +1 -0
  356. package/dist/{61.e8a681d3549fc169ec69.bundle.js → 68.0a3fdb3e609d907f44e9.bundle.js} +1 -1
  357. package/dist/{62.b927e1ec0b1ff61e718b.bundle.js → 69.98e1f9152bd7460f8681.bundle.js} +1 -1
  358. package/dist/7.702938d283671b5c3488.bundle.js +1 -0
  359. package/dist/{63.fdf8c8063ae9069e4f52.bundle.js → 70.c86b58c81aca3aab2e14.bundle.js} +1 -1
  360. package/dist/71.612f3a743bf647da9558.bundle.js +1 -0
  361. package/dist/72.9861808a54d67db52f73.bundle.js +1 -0
  362. package/dist/{65.1fe55cdf3db59639e085.bundle.js → 73.46c7caba568524cb6b02.bundle.js} +1 -1
  363. package/dist/{66.56fb556d0519aa95d8f4.bundle.js → 74.a5a855f086cd9ad246ca.bundle.js} +1 -1
  364. package/dist/{67.e6fb2cb180cf6dbadef7.bundle.js → 75.6c757ea5de288b4d6355.bundle.js} +1 -1
  365. package/dist/76.53dbf4dabd1557924cf1.bundle.js +1 -0
  366. package/dist/77.cef3ad36317bcbbb51e3.bundle.js +1 -0
  367. package/dist/{71.1d860f6f8ae3d0192c80.bundle.js → 78.13f99689064113df72fd.bundle.js} +1 -1
  368. package/dist/{72.a4d0ad3506f133140cec.bundle.js → 79.d8e3194dbe33117c6ddd.bundle.js} +1 -1
  369. package/dist/8.950d6ff4713eea1d38f2.bundle.js +1 -0
  370. package/dist/{73.403c9b3c8405eae5d293.bundle.js → 80.20ce76f814d95859f7f9.bundle.js} +1 -1
  371. package/dist/{74.246979b1c0e7a79cbb85.bundle.js → 81.fe3fabcc9e92b7f54afc.bundle.js} +1 -1
  372. package/dist/{75.dc785f04f93ebfbe0f30.bundle.js → 82.bb3bcbd64eafa8c7f146.bundle.js} +1 -1
  373. package/dist/{76.8a8f93d40dcf4291240b.bundle.js → 83.f5eef86a90060f5492cf.bundle.js} +1 -1
  374. package/dist/{77.9cb29b89a66fd100e00b.bundle.js → 84.df0f15851d18899b1e26.bundle.js} +1 -1
  375. package/dist/{78.783bd0d21bd685c73354.bundle.js → 85.98bc298f8f2db0961040.bundle.js} +1 -1
  376. package/dist/{79.dbd2c812fd44a8c1ea2e.bundle.js → 86.7dc19a7c50d26ce3488c.bundle.js} +1 -1
  377. package/dist/{80.0dce75d76715811e2a2d.bundle.js → 87.78837e5bbf94ca603123.bundle.js} +1 -1
  378. package/dist/88.41f228ffb8b2aff84f40.bundle.js +1 -0
  379. package/dist/89.f5ed6d5a13863b85c61e.bundle.js +1 -0
  380. package/dist/{7.a93531535990ecc25f07.bundle.js → 9.4edcc360bed3b19e4101.bundle.js} +1 -1
  381. package/dist/{83.5a2605ee11c182a18010.bundle.js → 90.d9a12123b9c85e1e95de.bundle.js} +1 -1
  382. package/dist/{84.61195a0da3027c477514.bundle.js → 91.d6e858f7b860defbfa3d.bundle.js} +1 -1
  383. package/dist/92.f4ed809be0be9a942e05.bundle.js +1 -0
  384. package/dist/{86.a2249c525b967ba8b763.bundle.js → 93.05941c5e5e313a8397e7.bundle.js} +1 -1
  385. package/dist/{87.5aec7ee5fcb238104d38.bundle.js → 94.1e7ecde60e2d3f60183a.bundle.js} +1 -1
  386. package/dist/{88.55adafc6fc56ada49607.bundle.js → 95.de6d40e105844c92cf94.bundle.js} +1 -1
  387. package/dist/{89.b6489d83523f9191b801.bundle.js → 96.c6529d9eefcd1332fd44.bundle.js} +1 -1
  388. package/dist/97.80d912c2e7b40637cbbb.bundle.js +1 -0
  389. package/dist/{91.1df650208fadeee9f58b.bundle.js → 98.ccd1fdedf27c0ab11554.bundle.js} +1 -1
  390. package/dist/{92.06409c8e211adeee4d3e.bundle.js → 99.a5aae6d30f0e9599057c.bundle.js} +1 -1
  391. package/dist/{bundle.ab46df6bc4d4c7e32a6b.bundle.js → bundle.94aa42423c344044b857.bundle.js} +14 -14
  392. package/dist/css/bootstrap-graphdb-theme.css +9 -3
  393. package/dist/css/ttyg/agent-list.css +13 -2
  394. package/dist/css/ttyg/agent-select-menu.css +5 -0
  395. package/dist/css/ttyg/agent-settings-modal.css +2 -1
  396. package/dist/css/ttyg/chat-item-details.css +128 -0
  397. package/dist/css/ttyg/chat-list.css +15 -2
  398. package/dist/css/ttyg/chat-panel.css +23 -42
  399. package/dist/css/ttyg/ttyg.css +25 -8
  400. package/dist/i18n/locale-en.json +45 -7
  401. package/dist/i18n/locale-fr.json +45 -8
  402. package/dist/index.html +4 -4
  403. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  404. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  405. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  406. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  407. package/dist/js/angular/security/templates/user.html +1 -1
  408. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  409. package/dist/js/angular/ttyg/templates/agent-select-menu.html +5 -3
  410. package/dist/js/angular/ttyg/templates/chat-item-detail.html +68 -0
  411. package/dist/js/angular/ttyg/templates/chat-list.html +43 -41
  412. package/dist/js/angular/ttyg/templates/chat-panel.html +21 -36
  413. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +28 -12
  414. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  415. package/dist/js/angular/ttyg/templates/ttyg.html +22 -29
  416. package/dist/license-checker.json +150 -4
  417. package/dist/main.023ec298a5160f9f8cb5.css +1 -0
  418. package/dist/{main.269962097c8301c719bd.bundle.js → main.2782caff706571370192.bundle.js} +1 -1
  419. package/dist/pages/aclmanagement.html +2 -2
  420. package/dist/pages/autocomplete.html +1 -1
  421. package/dist/pages/choose-repository-type.html +1 -1
  422. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  423. package/dist/pages/create-index.html +1 -1
  424. package/dist/pages/dependencies.html +2 -2
  425. package/dist/pages/domainRangeInfo.html +2 -2
  426. package/dist/pages/edit.html +1 -1
  427. package/dist/pages/explore.html +1 -1
  428. package/dist/pages/export.html +1 -1
  429. package/dist/pages/find.html +1 -1
  430. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  431. package/dist/pages/graphs-visualizations.html +7 -7
  432. package/dist/pages/guides.html +1 -1
  433. package/dist/pages/import.html +2 -2
  434. package/dist/pages/jdbc-create.html +1 -1
  435. package/dist/pages/monitor/backup-and-restore.html +1 -1
  436. package/dist/pages/monitor/queries.html +1 -1
  437. package/dist/pages/monitor/resources.html +1 -1
  438. package/dist/pages/namespaces.html +2 -2
  439. package/dist/pages/plugins.html +1 -1
  440. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  441. package/dist/pages/rdfrank.html +2 -2
  442. package/dist/pages/repositories.html +1 -1
  443. package/dist/pages/repository.html +1 -1
  444. package/dist/pages/similarity-indexes.html +1 -1
  445. package/dist/pages/sparql-editor.html +1 -1
  446. package/dist/pages/sparql-template-create.html +1 -1
  447. package/dist/pages/ux-test1.html +2 -2
  448. package/dist/pages/webapi.html +2 -2
  449. package/dist/{polyfills-dom.05a7770bb435a0b38fc6.bundle.js → polyfills-dom.9f67279dd80d1071eccb.bundle.js} +1 -1
  450. package/dist/res/swagger5/index.html +12 -12
  451. package/dist/{vendor.70a25ea39bd7c73a002b.bundle.js → vendor.d7f9f8332a094bec999e.bundle.js} +4 -4
  452. package/dist/{vendors~polyfills-core-js.82092a0fe7a70177b16e.bundle.js → vendors~polyfills-core-js.2a794b50dc6dee332409.bundle.js} +1 -1
  453. package/package.json +4 -2
  454. package/dist/1.2d333b1dc9d9d93fa395.bundle.js +0 -1
  455. package/dist/10.bd27851334b1c8d91900.bundle.js +0 -1
  456. package/dist/113.6e2337d9644091e29855.bundle.js +0 -1
  457. package/dist/114.bf357cd566fb0d7f6ff0.bundle.js +0 -1
  458. package/dist/128.4fea7408f39af1661363.bundle.js +0 -1
  459. package/dist/130.e0e72d4ecf9667ad5882.bundle.js +0 -1
  460. package/dist/14.eaf1fb53a0c7be59d9d5.bundle.js +0 -2
  461. package/dist/140.09159c313ee474b77d9d.bundle.js +0 -1
  462. package/dist/177.7a137d51259ef61ce5e5.bundle.js +0 -1
  463. package/dist/199.51811bb9e2e77cf4d2ea.bundle.js +0 -1
  464. package/dist/2.3cdecf40af9e7a409ab0.bundle.js +0 -2
  465. package/dist/20.8d9794d3f726053d668d.bundle.js +0 -3
  466. package/dist/219.695162958f2fd3fd1cdd.bundle.js +0 -1
  467. package/dist/22.3c4fa5af09169a47d8a2.bundle.js +0 -1
  468. package/dist/221.72958b03d597ceecfe50.bundle.js +0 -1
  469. package/dist/23.f14cd250b4fbb29ee2dc.bundle.js +0 -2
  470. package/dist/232.8815712672db26258aa6.bundle.js +0 -1
  471. package/dist/233.f3bb4e8d76549cfabee1.bundle.js +0 -1
  472. package/dist/238.331be8ca0bb118630e24.bundle.js +0 -1
  473. package/dist/24.d59101c362ac2970a6b9.bundle.js +0 -1
  474. package/dist/240.fecfcc8370363c1b7687.bundle.js +0 -1
  475. package/dist/242.1e45789ff34bf3d1d6ec.bundle.js +0 -1
  476. package/dist/246.f10a2aae2e116152dc7c.bundle.js +0 -1
  477. package/dist/247.be423d9800ef044d2a33.bundle.js +0 -1
  478. package/dist/27.b6ec15df0eb1e0c65f9b.bundle.js +0 -1
  479. package/dist/277.f02152d211fea267e0ed.bundle.js +0 -1
  480. package/dist/284.1ce80efe24b24204cb01.bundle.js +0 -1
  481. package/dist/29.dea0307e0502c61e2610.bundle.js +0 -1
  482. package/dist/290.83a1baddc302c385a207.bundle.js +0 -1
  483. package/dist/291.e69fc89f2f1c20f53684.bundle.js +0 -1
  484. package/dist/293.90f1abeb090649362253.bundle.js +0 -1
  485. package/dist/294.2d7d4a8da28fc02d3ba0.bundle.js +0 -1
  486. package/dist/295.0c580d314b031753d9b5.bundle.js +0 -1
  487. package/dist/31.44a332e103ab9b33000d.bundle.js +0 -1
  488. package/dist/310.469994de69102ac3f19e.bundle.js +0 -1
  489. package/dist/35.2d8679e695ed60ffd6cb.bundle.js +0 -1
  490. package/dist/372.8c2b50c5a331ae2b9c70.bundle.js +0 -1
  491. package/dist/373.9ed7674129588e479e21.bundle.js +0 -1
  492. package/dist/374.b8ba6d28714210a3468b.bundle.js +0 -1
  493. package/dist/377.ae7fb3655af86acf9cd8.bundle.js +0 -1
  494. package/dist/380.8d892a8aaba0c859b3c2.bundle.js +0 -1
  495. package/dist/381.342f1effca225442db3a.bundle.js +0 -1
  496. package/dist/382.df1f73b97648ec3852ed.bundle.js +0 -1
  497. package/dist/39.6f313b421b3223b413e9.bundle.js +0 -1
  498. package/dist/4.3aa2978368a7d1c55d97.bundle.js +0 -1
  499. package/dist/40.8d1fe07eea5143d01072.bundle.js +0 -1
  500. package/dist/43.5bbca603ca6ec5a5068e.bundle.js +0 -1
  501. package/dist/45.d5bab5f557f0839e6056.bundle.js +0 -1
  502. package/dist/54.d9da92c299b633971397.bundle.js +0 -1
  503. package/dist/58.e5f89a68c158a10169a3.bundle.js +0 -1
  504. package/dist/6.bdd0c8920d113c3720a2.bundle.js +0 -1
  505. package/dist/64.79f5587fd87a655b6f69.bundle.js +0 -1
  506. package/dist/68.e7d9be16a37b8887a931.bundle.js +0 -1
  507. package/dist/69.107d812cd5ebbf60fc94.bundle.js +0 -1
  508. package/dist/70.4c411d83a739e6825088.bundle.js +0 -1
  509. package/dist/8.1e5e224c88447e09e540.bundle.js +0 -2
  510. package/dist/81.f11e24e42a58eddb7cbc.bundle.js +0 -1
  511. package/dist/82.2388472786ba09a073ac.bundle.js +0 -1
  512. package/dist/85.d4f4cc98d3ff4c390902.bundle.js +0 -1
  513. package/dist/9.385a4c21f00bcb09a7bc.bundle.js +0 -1
  514. package/dist/90.10abbbaca2bb8d1a79fe.bundle.js +0 -1
  515. package/dist/93.b392be47708365adb665.bundle.js +0 -1
  516. package/dist/94.78366351a9e8b6118152.bundle.js +0 -1
  517. package/dist/95.d4c56863599ed79076dd.bundle.js +0 -1
  518. package/dist/96.63d23375f0483dd84c16.bundle.js +0 -1
  519. package/dist/97.e18facc2d4c43d1ce376.bundle.js +0 -1
  520. package/dist/98.8db4998c638e9a3d3566.bundle.js +0 -1
  521. package/dist/99.5a00b0fcadc5efe1407e.bundle.js +0 -1
  522. package/dist/main.98c547eac0aca6db48bb.css +0 -1
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[120,301],{120:function(e,t,n){"use strict";n.r(t);var E=n(0),a=n(69);function i(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(i,c,A)=>{i.selectedAgent=void 0,i.selectedAgentsFilter=void 0,i.deletingAgent=void 0,i.onEditAgent=t=>{e.emit(a.TTYGEventName.EDIT_AGENT,t)},i.onCloneAgent=t=>{e.emit(a.TTYGEventName.CLONE_AGENT,t)},i.onDeleteAgent=i=>{const c=n.instant("ttyg.agent.delete_agent_modal.title"),A=Object(E.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:i.name}));t.openConfirmation(c,A,()=>e.emit(a.TTYGEventName.DELETE_AGENT,i))},i.onAgentsFilterChange=e=>{i.selectedAgentsFilter=e,i.selectedAgentsFilter&&i.agentList.filterByRepository(i.selectedAgentsFilter.key)};const T=()=>{const e=i.agentListFilterModel.find(e=>e.selected);i.selectedAgentsFilter=e||i.agentListFilterModel[0],i.onAgentsFilterChange(i.selectedAgentsFilter)},l=[];l.push(i.$watch("agentListFilterModel",T)),l.push(e.subscribe(a.TTYGEventName.DELETING_AGENT,e=>{i.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{i.selectedAgent=e})),i.$on("$destroy",()=>{l.forEach(e=>e())}),T()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",i),i.$inject=["TTYGContextService","ModalService","$translate"]},69:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var E=n(30);function a(e,t){let n=void 0,a=void 0,c=void 0,A=void 0,T={},l=void 0;const o=()=>Object(E.cloneDeep)(n),s=()=>Object(E.cloneDeep)(a),d=()=>Object(E.cloneDeep)(c),C=()=>Object(E.cloneDeep)(A),_=()=>Object(E.cloneDeep)(T),g=e=>!!T[e],r=(t,n)=>{e.emitSync(t,Object(E.cloneDeep)(n))},D=(t,n)=>e.subscribeSync(t,e=>n(e));return{emit:r,subscribe:D,getChats:s,updateChats:e=>{a=Object(E.cloneDeep)(e),r(i.CHAT_LIST_UPDATED,s())},onChatsListChanged:e=>(a&&angular.isFunction(e)&&e(s()),D(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:d,selectChat:e=>{c&&c.id===e.id||(c=Object(E.cloneDeep)(e),r(i.SELECT_CHAT,d()))},onSelectedChatChanged:e=>(c&&angular.isFunction(e)&&e(d()),D(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{c&&e&&c.id!==e.id||(c=Object(E.cloneDeep)(e),r(i.SELECTED_CHAT_UPDATED,d()))},onSelectedChatUpdated:e=>(c&&angular.isFunction(e)&&e(d()),D(i.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{n=Object(E.cloneDeep)(e),r(i.AGENT_LIST_UPDATED,o())},onAgentsListChanged:e=>(n&&angular.isFunction(e)&&e(o()),D(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:o,getAgent:e=>{if(n)return Object(E.cloneDeep)(n.getAgent(e))},selectAgent:e=>{A=Object(E.cloneDeep)(e),r(i.AGENT_SELECTED,C())},getSelectedAgent:C,onSelectedAgentChanged:e=>(A&&angular.isFunction(e)&&e(C()),D(i.AGENT_SELECTED,t=>e(t))),hasExplainResponse:g,toggleExplainResponse:e=>{g(e)&&(T[e].expanded=!T[e].expanded,r(i.EXPLAIN_RESPONSE_CACHE_UPDATED,_()))},getExplainResponse:e=>Object(E.cloneDeep)(T[e]),addExplainResponseCache:e=>{T[e.answerId]=Object(E.cloneDeep)(e),r(i.EXPLAIN_RESPONSE_CACHE_UPDATED,_())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(_()),D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t))),getDefaultAgent:()=>Object(E.cloneDeep)(l),setDefaultAgent:e=>{l=e}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];const i={NEW_CHAT:"newChat",CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[121,301],{122:function(e,t,E){"use strict";E.r(t);var n=E(69);function a(e){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:(t,E,a)=>{t.onCreateAgent=()=>{e.emit(n.TTYGEventName.CREATE_AGENT)}}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",a),a.$inject=["TTYGContextService"]},69:function(e,t,E){"use strict";E.r(t),E.d(t,"TTYGEventName",(function(){return T}));var n=E(30);function a(e,t){let E=void 0,a=void 0,A=void 0,c=void 0,C={},_=void 0;const o=()=>Object(n.cloneDeep)(E),i=()=>Object(n.cloneDeep)(a),l=()=>Object(n.cloneDeep)(A),s=()=>Object(n.cloneDeep)(c),d=()=>Object(n.cloneDeep)(C),S=e=>!!C[e],r=(t,E)=>{e.emitSync(t,Object(n.cloneDeep)(E))},D=(t,E)=>e.subscribeSync(t,e=>E(e));return{emit:r,subscribe:D,getChats:i,updateChats:e=>{a=Object(n.cloneDeep)(e),r(T.CHAT_LIST_UPDATED,i())},onChatsListChanged:e=>(a&&angular.isFunction(e)&&e(i()),D(T.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:l,selectChat:e=>{A&&A.id===e.id||(A=Object(n.cloneDeep)(e),r(T.SELECT_CHAT,l()))},onSelectedChatChanged:e=>(A&&angular.isFunction(e)&&e(l()),D(T.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{A&&e&&A.id!==e.id||(A=Object(n.cloneDeep)(e),r(T.SELECTED_CHAT_UPDATED,l()))},onSelectedChatUpdated:e=>(A&&angular.isFunction(e)&&e(l()),D(T.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{E=Object(n.cloneDeep)(e),r(T.AGENT_LIST_UPDATED,o())},onAgentsListChanged:e=>(E&&angular.isFunction(e)&&e(o()),D(T.AGENT_LIST_UPDATED,t=>e(t))),getAgents:o,getAgent:e=>{if(E)return Object(n.cloneDeep)(E.getAgent(e))},selectAgent:e=>{c=Object(n.cloneDeep)(e),r(T.AGENT_SELECTED,s())},getSelectedAgent:s,onSelectedAgentChanged:e=>(c&&angular.isFunction(e)&&e(s()),D(T.AGENT_SELECTED,t=>e(t))),hasExplainResponse:S,toggleExplainResponse:e=>{S(e)&&(C[e].expanded=!C[e].expanded,r(T.EXPLAIN_RESPONSE_CACHE_UPDATED,d()))},getExplainResponse:e=>Object(n.cloneDeep)(C[e]),addExplainResponseCache:e=>{C[e.answerId]=Object(n.cloneDeep)(e),r(T.EXPLAIN_RESPONSE_CACHE_UPDATED,d())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(d()),D(T.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t))),getDefaultAgent:()=>Object(n.cloneDeep)(_),setDefaultAgent:e=>{_=e}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];const T={NEW_CHAT:"newChat",CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[115],{125:function(r,n){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,n,t){const e=[];function o(r,n){if(!r||"*"===r)return r;const t=r.startsWith("!"),e=t?"!CUSTOM_":"CUSTOM_";return n?e+r.replace(/^!/,""):t?"!"+r.replace(e,""):r.replace(e,"")}function s(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const a="tags-input"===n[0].nodeName.toLowerCase();if(("INPUT"===n[0].tagName||"TEXTAREA"===n[0].tagName||a)&&t.ngModel){const i=n.controller("ngModel");a?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>s(r))),r})),e.push(r.$watch(t.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>s(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!s(r)),r})),i.$formatters.push((function(r){return o(r,!1)})),i.$parsers.push((function(r){return o(r,!0)})))}e.push(r.$on("$destroy",()=>{e.forEach(r=>r())}))}}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[122],{134:function(r,n){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,n,t){const e=[];function o(r,n){if(!r||"*"===r)return r;const t=r.startsWith("!"),e=t?"!CUSTOM_":"CUSTOM_";return n?e+r.replace(/^!/,""):t?"!"+r.replace(e,""):r.replace(e,"")}function s(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const a="tags-input"===n[0].nodeName.toLowerCase();if(("INPUT"===n[0].tagName||"TEXTAREA"===n[0].tagName||a)&&t.ngModel){const i=n.controller("ngModel");a?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>s(r))),r})),e.push(r.$watch(t.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>s(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!s(r)),r})),i.$formatters.push((function(r){return o(r,!1)})),i.$parsers.push((function(r){return o(r,!0)})))}e.push(r.$on("$destroy",()=>{e.forEach(r=>r())}))}}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[116],{115:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return l})),s.d(t,"ClearGraphACRuleModel",(function(){return c})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return h})),s.d(t,"ACL_OPERATION",(function(){return p})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var r=s(30);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,l,c){const u=a.createRule(e,t,s,r,i,o,n,l,c);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=h.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||p.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||p.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||p.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,h,p){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,h,r);case _.PLUGIN:return new l(s,t,p,r);case _.CLEAR_GRAPH:return new c(s,t,h);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const h={ALLOW:"allow",DENY:"deny"},p={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],g=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[123],{125:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return l})),s.d(t,"ClearGraphACRuleModel",(function(){return c})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return h})),s.d(t,"ACL_OPERATION",(function(){return p})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var r=s(30);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,l,c){const u=a.createRule(e,t,s,r,i,o,n,l,c);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=h.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||p.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||p.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||p.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,h,p){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,h,r);case _.PLUGIN:return new l(s,t,p,r);case _.CLEAR_GRAPH:return new c(s,t,h);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const h={ALLOW:"allow",DENY:"deny"},p={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],g=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[117],{282:function(e,a){PluginRegistry.add("route",{url:"/aclmanagement",module:"graphdb.framework.aclmanagement",path:"aclmanagement/app",chunk:"aclmanagement",controller:"AclManagementCtrl",templateUrl:"pages/aclmanagement.html",title:"view.aclmanagement.title",helpInfo:"view.aclmanagement.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"ACL Management",labelKey:"menu.aclmanagement.label",href:"aclmanagement",order:6,parent:"Setup",role:"ROLE_ADMIN",guideSelector:"sub-menu-aclmanagement"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[124],{287:function(e,a){PluginRegistry.add("route",{url:"/aclmanagement",module:"graphdb.framework.aclmanagement",path:"aclmanagement/app",chunk:"aclmanagement",controller:"AclManagementCtrl",templateUrl:"pages/aclmanagement.html",title:"view.aclmanagement.title",helpInfo:"view.aclmanagement.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"ACL Management",labelKey:"menu.aclmanagement.label",href:"aclmanagement",order:6,parent:"Setup",role:"ROLE_ADMIN",guideSelector:"sub-menu-aclmanagement"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[118],{284:function(e,t){PluginRegistry.add("route",{url:"/autocomplete",module:"graphdb.framework.autocomplete",path:"autocomplete/app",chunk:"autocomplete",controller:"AutocompleteCtrl",templateUrl:"pages/autocomplete.html",title:"view.autocomplete.title",helpInfo:"view.autocomplete.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Autocomplete",labelKey:"menu.autocomplete.label",href:"autocomplete",order:40,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-autocomplete"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[125],{289:function(e,t){PluginRegistry.add("route",{url:"/autocomplete",module:"graphdb.framework.autocomplete",path:"autocomplete/app",chunk:"autocomplete",controller:"AutocompleteCtrl",templateUrl:"pages/autocomplete.html",title:"view.autocomplete.title",helpInfo:"view.autocomplete.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Autocomplete",labelKey:"menu.autocomplete.label",href:"autocomplete",order:40,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-autocomplete"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[119],{168:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const i=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),i(),a=e(()=>i(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[126],{180:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const i=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),i(),a=e(()=>i(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[120],{286:function(e,r){PluginRegistry.add("route",{url:"/monitor/backup-and-restore",module:"graphdb.framework.monitoring.backupandrestore",path:"backup-and-restore/app",chunk:"monitor-backup-and-restore",controller:"BackupAndRestoreCtrl",templateUrl:"pages/monitor/backup-and-restore.html",title:"view.monitoring.backup_and_restore.title",helpInfo:"view.monitoring.backup_and_restore.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Backup and Restore",labelKey:"menu.backup_and_restore.label",href:"monitor/backup-and-restore",order:2,parent:"Monitor",guideSelector:"sub-menu-backup-and-restore"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[127],{291:function(e,r){PluginRegistry.add("route",{url:"/monitor/backup-and-restore",module:"graphdb.framework.monitoring.backupandrestore",path:"backup-and-restore/app",chunk:"monitor-backup-and-restore",controller:"BackupAndRestoreCtrl",templateUrl:"pages/monitor/backup-and-restore.html",title:"view.monitoring.backup_and_restore.title",helpInfo:"view.monitoring.backup_and_restore.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Backup and Restore",labelKey:"menu.backup_and_restore.label",href:"monitor/backup-and-restore",order:2,parent:"Monitor",guideSelector:"sub-menu-backup-and-restore"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[121],{174:function(o,n){function t(o,n,t,e,a){o.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},o.docBase=function(o){return"https://graphdb.ontotext.com/documentation/"+o.productShortVersion}(e),o.isValidLocation=()=>(o.newLocation.uri.length<6||0===o.newLocation.uri.indexOf("http:")||0===o.newLocation.uri.indexOf("https:"))&&o.newLocation.uri.indexOf("/repositories")<=-1,o.ok=()=>{o.newLocation?n.close(o.newLocation):t.error(a.instant("location.cannot.be.empty.error"))},o.cancel=()=>{n.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",t),t.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[128],{186:function(o,n){function t(o,n,t,e,a){o.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},o.docBase=function(o){return"https://graphdb.ontotext.com/documentation/"+o.productShortVersion}(e),o.isValidLocation=()=>(o.newLocation.uri.length<6||0===o.newLocation.uri.indexOf("http:")||0===o.newLocation.uri.indexOf("https:"))&&o.newLocation.uri.indexOf("/repositories")<=-1,o.ok=()=>{o.newLocation?n.close(o.newLocation):t.error(a.instant("location.cannot.be.empty.error"))},o.cancel=()=>{n.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",t),t.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[122],{173:function(e,c){function l(e,c){e.forceDelete=!1,e.ok=()=>{c.close(e.forceDelete)},e.cancel=()=>{c.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",l),l.$inject=["$scope","$uibModalInstance"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[129],{185:function(e,c){function l(e,c){e.forceDelete=!1,e.ok=()=>{c.close(e.forceDelete)},e.cancel=()=>{c.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",l),l.$inject=["$scope","$uibModalInstance"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[12,57,77,78,79,121,122,123,124,126,127,267],{169:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},170:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},171:function(e,t,o){"use strict";o.r(t);o(81);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},172:function(e,t,o){"use strict";o.r(t);o(81);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},173:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},174:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},175:function(e,t,o){"use strict";o.r(t);o(90);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},176:function(e,t,o){"use strict";o.r(t);o(81),o(90);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},272:function(e,t,o){"use strict";o.r(t);o(81),o(90),o(169),o(170),o(171),o(172),o(173),o(174),o(175),o(176);var n=o(30),r=o(85),s=o(91);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},90:function(e,t,o){"use strict";o.r(t);o(39);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},91:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[13,64,84,85,86,128,129,130,131,133,134,275],{181:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},182:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},183:function(e,t,o){"use strict";o.r(t);o(82);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},184:function(e,t,o){"use strict";o.r(t);o(82);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},185:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},186:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},187:function(e,t,o){"use strict";o.r(t);o(94);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},188:function(e,t,o){"use strict";o.r(t);o(82),o(94);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},278:function(e,t,o){"use strict";o.r(t);o(82),o(94),o(181),o(182),o(183),o(184),o(185),o(186),o(187),o(188);var n=o(30),r=o(87),s=o(95);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},82:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},94:function(e,t,o){"use strict";o.r(t);o(39);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},95:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[123],{170:function(e,o){function s(e,o,s){const n=_.cloneDeep(s.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(o,s)=>{s.shouldRemove=!s.shouldRemove,s.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const s=e.clusterNodes.filter(e=>e.shouldRemove);o.close(s)},e.cancel=()=>{o.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",s),s.$inject=["$scope","$uibModalInstance","data"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[130],{182:function(e,o){function s(e,o,s){const n=_.cloneDeep(s.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(o,s)=>{s.shouldRemove=!s.shouldRemove,s.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const s=e.clusterNodes.filter(e=>e.shouldRemove);o.close(s)},e.cancel=()=>{o.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",s),s.$inject=["$scope","$uibModalInstance","data"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[124],{91:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[131],{95:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[125],{288:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[132],{293:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[126],{169:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[133],{181:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[127],{90:function(t,r,e){"use strict";e.r(r);e(39);function n(t,r,e,n,o){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return r.error(e,o.instant("common.error")),!1}).then(t=>!!t&&a()).then(r=>{if(!1!==r)return e=r.find(r=>r.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);r.error(e,o.instant("common.error"))})).then(t=>{if(t)return function(t){const r=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(r=>(t.rpcAddress=r.data,t.isAvailable=!0,t)).catch(r=>{t.isAvailable=!1,t.error=getError(r.data,r.status)}));return Promise.allSettled(r).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[134],{94:function(t,r,e){"use strict";e.r(r);e(39);function n(t,r,e,n,o){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return r.error(e,o.instant("common.error")),!1}).then(t=>!!t&&a()).then(r=>{if(!1!==r)return e=r.find(r=>r.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);r.error(e,o.instant("common.error"))})).then(t=>{if(t)return function(t){const r=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(r=>(t.rpcAddress=r.data,t.isAvailable=!0,t)).catch(r=>{t.isAvailable=!1,t.error=getError(r.data,r.status)}));return Promise.allSettled(r).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{103:function(e,n,o){"use strict";function t(e,n,o,t,r){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,n){return e[n.name]=n.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=r.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,n,r){o.set(t.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:n,jsonldLink:r}))},e.cancel=function(){n.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),n.close({currentMode:e.currentMode,link:e.link})};!function(){const n=o.get(t.JSONLD_EXPORT_SETTINGS);n&&(e.currentMode=e.JSONLDModes.find(e=>e.name===n.jsonldFormName),e.link=n.jsonldLink)}()}o.r(n),o.d(n,"ExportSettingsCtrl",(function(){return t})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",t),t.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[129],{181:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[136],{193:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{96:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const i=[];let o;t.onKeydown=e=>{"Enter"===e.key?(l(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&c()},t.onCancelEditing=()=>{c()},t.onSelect=()=>{o?(l(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),l()}),250)};const c=()=>{l(),t.onCancel()},l=()=>{e.cancel(o),o=void 0};i.push(t.$watch("isEditing",i=>{i&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{i.forEach(e=>e()),l()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[131],{92:function(a,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(a,t,n){return{link:function(a,e){const i=()=>{const t=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>')(a);e.html(t)};i();const o=t.$on("$translateChangeSuccess",i);a.$on("$destroy",o)}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{97:function(a,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(a,t,n){return{link:function(a,e){const i=()=>{const t=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>')(a);e.html(t)};i();const o=t.$on("$translateChangeSuccess",i);a.$on("$destroy",o)}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[132],{45:function(e,t){let a=0,o=setInterval((function(){a++,5===a&&$(".ot-splash div").text("GraphDB Workbench is still loading but it's taking longer than usual, please wait..."),10===a&&$(".ot-splash div").text("If the Workbench hasn't loaded yet, please try to clear your browser cache and reload the page."),(a>=10||"block"!==$(".ot-splash").css("display"))&&(clearInterval(o),o=void 0,a=void 0)}),2e3)}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{45:function(e,t){let a=0,o=setInterval((function(){a++,5===a&&$(".ot-splash div").text("GraphDB Workbench is still loading but it's taking longer than usual, please wait..."),10===a&&$(".ot-splash div").text("If the Workbench hasn't loaded yet, please try to clear your browser cache and reload the page."),(a>=10||"block"!==$(".ot-splash").css("display"))&&(clearInterval(o),o=void 0,a=void 0)}),2e3)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[13,38,53,67,214,222,233,234,235,236,239,299],{122:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},246:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},247:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(78),n=t(122),s=t(70);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},248:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},277:function(e,i,t){"use strict";t.r(i);t(80),t(11),t(16);var r=t(84),n=t(15),s=t(70),a=t(76),y=t(248),o=t(122),l=t(73),d=t(246),u=t(108),c=t(247);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},70:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},73:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},74:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},78:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(73),n=t(74);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},80:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},84:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(78);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14,43,60,75,222,230,241,242,243,244,247,306],{131:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},260:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},261:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(83),n=t(131),s=t(72);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},262:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},282:function(e,i,t){"use strict";t.r(i);t(81),t(11),t(17);var r=t(91),n=t(15),s=t(72),a=t(79),y=t(262),o=t(131),l=t(76),d=t(260),u=t(111),c=t(261);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},79:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},81:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},83:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(76),n=t(77);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},91:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(83);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[140],{88:function(r,n,e){"use strict";e.r(n);var t=e(528),o=e(526),s=e.n(o);const c={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function a(r){const n=Object(t.a)().use(s.a,c);return{renderMarkdown:e=>{try{return r.trustAsHtml((o?Object(t.a)().use(s.a,o):n).render(e))}catch(n){return console.error("Error rendering markdown:",n),r.trustAsHtml(e)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",a),a.$inject=["$sce"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[133],{182:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[141],{194:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[134],{194:function(r,i,e){"use strict";e.r(i);e(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[142],{208:function(r,i,e){"use strict";e.r(i);e(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{290:function(e,r){PluginRegistry.add("route",[{url:"/resource",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"},{url:"/resource/edit",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"EditResourceCtrl",templateUrl:"pages/edit.html",title:"view.resource.title"},{url:"/resource/:any*",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[143],{295:function(e,r){PluginRegistry.add("route",[{url:"/resource",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"},{url:"/resource/edit",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"EditResourceCtrl",templateUrl:"pages/edit.html",title:"view.resource.title"},{url:"/resource/:any*",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[136],{192:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[144],{206:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{292:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[145],{297:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{196:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{210:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{294:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[147],{299:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[148],{217:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(12))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[141],{202:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{216:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);