graphdb-workbench 2.8.0-TR2 → 2.8.0-TR4

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 (470) hide show
  1. package/dist/{0.c57f2f68d367a4c218fc.bundle.js → 0.b771c387eb20bde9a6ea.bundle.js} +3 -3
  2. package/dist/{1.a0b75d45735a22f37ddc.bundle.js → 1.1a45680f3bec35238550.bundle.js} +1 -1
  3. package/dist/10.bd27851334b1c8d91900.bundle.js +1 -0
  4. package/dist/{100.2d727ff763d70314a344.bundle.js → 100.7f26323156afd3feba54.bundle.js} +1 -1
  5. package/dist/{101.033154cfbe16d0474fc2.bundle.js → 101.17b056cee15358cbc0a7.bundle.js} +1 -1
  6. package/dist/{102.23581665e40a3c38bdc4.bundle.js → 102.8a0ce8ba413e7ea86257.bundle.js} +1 -1
  7. package/dist/{103.bec4bbe3c8edafaf0938.bundle.js → 103.6ae9591418ef71bbb36d.bundle.js} +1 -1
  8. package/dist/{104.4f6d66b077a66f66b880.bundle.js → 104.dc01d9de825caa974509.bundle.js} +1 -1
  9. package/dist/{105.2d79cd219effe43091f8.bundle.js → 105.c7c1ae143ee3a8dd99f2.bundle.js} +1 -1
  10. package/dist/{106.69ce103db4da1e272b72.bundle.js → 106.ea5c53069820d041c2cf.bundle.js} +1 -1
  11. package/dist/{107.b3378ee27a543e47234c.bundle.js → 107.9c76b13718754b7183b5.bundle.js} +1 -1
  12. package/dist/{108.c9936ab2e1547962c2bc.bundle.js → 108.fdebacb3ded74d19301d.bundle.js} +1 -1
  13. package/dist/{109.3af142a701cf0ce3ac3e.bundle.js → 109.9a8dd93a3ea7e7110f5f.bundle.js} +1 -1
  14. package/dist/{10.898fa2a36737f95067a6.bundle.js → 11.df90fccb3ff14cb166d8.bundle.js} +11 -11
  15. package/dist/{110.30cfa414191b314a261b.bundle.js → 110.88abaf0bf128a31fe04f.bundle.js} +1 -1
  16. package/dist/{111.4cf8ef55422eab73d874.bundle.js → 111.e8a5b4b837c49f1c50e9.bundle.js} +1 -1
  17. package/dist/{112.401fb8c98ab73e208730.bundle.js → 112.6c477f41f1ebb640b827.bundle.js} +1 -1
  18. package/dist/113.6e2337d9644091e29855.bundle.js +1 -0
  19. package/dist/{114.c577fe3214041daecdf5.bundle.js → 114.bf357cd566fb0d7f6ff0.bundle.js} +1 -1
  20. package/dist/{117.c4a9a26113e943e9e762.bundle.js → 117.713664012b6dfd281e0d.bundle.js} +1 -1
  21. package/dist/{118.fd44c264becff4a1797c.bundle.js → 118.1342e18ec64449b19f6a.bundle.js} +1 -1
  22. package/dist/{119.e46cd3518e0dbf3169bb.bundle.js → 119.cad78d6d421057850b36.bundle.js} +1 -1
  23. package/dist/{11.e430b38a9a250b880d28.bundle.js → 12.1c8de7c348eb25c8164b.bundle.js} +1 -1
  24. package/dist/{120.8e52ba856d40cd8864d9.bundle.js → 120.1ea37f7c308bcd1d3e3d.bundle.js} +1 -1
  25. package/dist/{121.a9992f7ff46cf77b304c.bundle.js → 121.d8cd4bdf5336330ad171.bundle.js} +1 -1
  26. package/dist/{122.1c9c84436c94b46fe056.bundle.js → 122.10dfb4139bd5b1fc0994.bundle.js} +1 -1
  27. package/dist/{123.83252c0af670f08d60cd.bundle.js → 123.4076684ffef33bbf0d4b.bundle.js} +1 -1
  28. package/dist/{124.cf9703439aa0c9313b50.bundle.js → 124.1d2113ee6e00c6a13c91.bundle.js} +1 -1
  29. package/dist/{125.400f68c00301d92445d4.bundle.js → 125.88574f352ebbc5799e78.bundle.js} +1 -1
  30. package/dist/{126.8c636a630d2d121743c5.bundle.js → 126.2b01a012a14a746753a6.bundle.js} +1 -1
  31. package/dist/{127.332e86694914476a6176.bundle.js → 127.099000071b2c1e40bd35.bundle.js} +1 -1
  32. package/dist/128.4fea7408f39af1661363.bundle.js +1 -0
  33. package/dist/{129.047b0311e394c752a6a9.bundle.js → 129.4bfaa1c1d7e341a1ed06.bundle.js} +1 -1
  34. package/dist/{12.afb551efb4792fb9eb1d.bundle.js → 13.59de37f004085772ef6c.bundle.js} +1 -1
  35. package/dist/{131.ef612c8696bb612a9331.bundle.js → 131.d620cb87c7bce0386b4f.bundle.js} +1 -1
  36. package/dist/{133.a9589d4a3884fface583.bundle.js → 132.c5faf2429dd401f2ef0a.bundle.js} +1 -1
  37. package/dist/{134.191e4cec3a9f7d292909.bundle.js → 133.678a2ade8fb91b5497d7.bundle.js} +1 -1
  38. package/dist/{135.91959568020b889bb345.bundle.js → 134.b1cefe8fe02520d788c2.bundle.js} +1 -1
  39. package/dist/{136.22b5615ae37d7e80a08f.bundle.js → 135.219d64990a02f7c93c9c.bundle.js} +1 -1
  40. package/dist/{137.9827883dd192444a74fb.bundle.js → 136.40b90ddc2d688af4c33f.bundle.js} +1 -1
  41. package/dist/{138.96826465cc9a16b82556.bundle.js → 137.379a388eba6b32d996ee.bundle.js} +1 -1
  42. package/dist/{139.2cb69ff75bf32a7bcb56.bundle.js → 138.aa7a34b1e2fec5ea652d.bundle.js} +1 -1
  43. package/dist/{140.fa447907c59d17ea6889.bundle.js → 139.cc7ae06c97f6b630db4a.bundle.js} +1 -1
  44. package/dist/14.14d3683da668325381d3.bundle.js +2 -0
  45. package/dist/{141.0817f727da63a4010f1c.bundle.js → 140.09159c313ee474b77d9d.bundle.js} +1 -1
  46. package/dist/{142.ee1fa4586e90d701b89d.bundle.js → 141.12a35752b5cebfafb18a.bundle.js} +1 -1
  47. package/dist/{143.03a96c94ac2f1e76af74.bundle.js → 142.cb26db2d36bcddb783d7.bundle.js} +1 -1
  48. package/dist/{144.acc869ff4afdfbc7b569.bundle.js → 143.ccd119624a493bb1cb42.bundle.js} +1 -1
  49. package/dist/{145.9d4717d4ce872f9d7115.bundle.js → 144.274b18f4ce93e3fc5fd0.bundle.js} +1 -1
  50. package/dist/{146.115618c61ec69e872444.bundle.js → 145.ef704ce34d4873d7571e.bundle.js} +1 -1
  51. package/dist/{147.e16c4c0feef631a4326f.bundle.js → 146.06ec94074395141ca9ea.bundle.js} +1 -1
  52. package/dist/{148.0eb58cc95c0ecbcf17b1.bundle.js → 147.b96cf3fdb22423f27fb6.bundle.js} +1 -1
  53. package/dist/{149.9789710206b4d96b57c9.bundle.js → 148.a2f96bd51dc88c690e46.bundle.js} +1 -1
  54. package/dist/{150.35e41f0d3f0126bb0e22.bundle.js → 149.23ba51de78896cd3bd25.bundle.js} +1 -1
  55. package/dist/{14.86cc7f1cd846ca4c89f0.bundle.js → 15.0b152cd39a88fc6856bc.bundle.js} +1 -1
  56. package/dist/{151.ccd788d21a4b850b4498.bundle.js → 150.2a6eeac996eb6221b925.bundle.js} +1 -1
  57. package/dist/{152.347075daa3636c189b5a.bundle.js → 151.dac623f30a505b8f48f9.bundle.js} +1 -1
  58. package/dist/{153.7e378999ca9460fdeb20.bundle.js → 152.0ff58e14a1559a4c5f5f.bundle.js} +1 -1
  59. package/dist/{154.ae457607bebe60643d4f.bundle.js → 153.ecf1c83a52cfffa6c26f.bundle.js} +1 -1
  60. package/dist/{155.5e1d88e98437e5f4bf53.bundle.js → 154.b0701c5daa0497e176e7.bundle.js} +1 -1
  61. package/dist/{156.a317651a9d328a0b9255.bundle.js → 155.f27f0a946702a5076313.bundle.js} +1 -1
  62. package/dist/{157.74c735071d16b0c93df1.bundle.js → 156.fba8b767ced422f459a2.bundle.js} +1 -1
  63. package/dist/{158.65f735aa3d785816234f.bundle.js → 157.a0f3360e0b6082486c12.bundle.js} +1 -1
  64. package/dist/{159.0d1b5f2a73b45b4ca07e.bundle.js → 158.029fb4e807d37a3e5329.bundle.js} +1 -1
  65. package/dist/{160.1be8e3ed4f049bd912c6.bundle.js → 159.0b667773afee1890caa5.bundle.js} +1 -1
  66. package/dist/{15.926edf6efc64325909c5.bundle.js → 16.d382f943f0121874fd1e.bundle.js} +1 -1
  67. package/dist/{161.a6b6c6e1a56257d6835a.bundle.js → 160.2aa35b2e5d2a0c988459.bundle.js} +1 -1
  68. package/dist/{162.c175bd3e48b719d9c894.bundle.js → 161.869e0c7ce82f35dbb91c.bundle.js} +1 -1
  69. package/dist/{163.e191b04c452053f521aa.bundle.js → 162.693032a729e709d1deac.bundle.js} +1 -1
  70. package/dist/{164.9044e5dec55b3f5a6cda.bundle.js → 163.932e1cbe6c7ca46b2cc4.bundle.js} +1 -1
  71. package/dist/{165.43dabca3ac2700b7a4c0.bundle.js → 164.c1e08572ede9625177a0.bundle.js} +1 -1
  72. package/dist/{166.8bd61601bf2aeb3077c0.bundle.js → 165.11214d1c15cd00f920b4.bundle.js} +1 -1
  73. package/dist/{167.13e35aa71b5812c20d29.bundle.js → 166.b5f3f6286f197b5d7dfc.bundle.js} +1 -1
  74. package/dist/{168.7fe1f6eb6698093fa80c.bundle.js → 167.d4b7fc5fa09527e47466.bundle.js} +1 -1
  75. package/dist/{169.14f519fa81a573d8542a.bundle.js → 168.f04bc0534788c07907c6.bundle.js} +1 -1
  76. package/dist/{170.dc1c139ea471ee4b75fd.bundle.js → 169.322c21e85b3a434daad6.bundle.js} +1 -1
  77. package/dist/{16.8bc6a8a10c03ec785174.bundle.js → 17.c3a499e5391e06c764e8.bundle.js} +1 -1
  78. package/dist/{171.47f9f78df56ca774432e.bundle.js → 170.f28ed2ea2bd3d484a998.bundle.js} +1 -1
  79. package/dist/{172.ad983564793860cbc3e3.bundle.js → 171.e825625eee38003a9c09.bundle.js} +1 -1
  80. package/dist/{173.ff64a189cbdbbe1dd96d.bundle.js → 172.4048014207111dd465a8.bundle.js} +1 -1
  81. package/dist/{174.6ad666a27da6ab0b77ac.bundle.js → 173.7c1c7d7e43a83800bcc5.bundle.js} +1 -1
  82. package/dist/{175.0914e983d8d96502e204.bundle.js → 174.6cd463bcab68410bad02.bundle.js} +1 -1
  83. package/dist/{176.962b33b52428b36072bd.bundle.js → 175.372886e33b57422185a4.bundle.js} +1 -1
  84. package/dist/{177.469270bdac920bff879c.bundle.js → 176.7e0c9b5eb6fd1dbb9359.bundle.js} +1 -1
  85. package/dist/{178.b4a67f2d275aa4e7c7e6.bundle.js → 177.7a137d51259ef61ce5e5.bundle.js} +1 -1
  86. package/dist/{179.90b68b334b6faf134682.bundle.js → 178.11f2eb8a371403f292b3.bundle.js} +1 -1
  87. package/dist/{180.63229bd4c96385b5e328.bundle.js → 179.5b90d2e399a2fdac1c25.bundle.js} +1 -1
  88. package/dist/{17.0add578b712aeaedb5a0.bundle.js → 18.9d2448dd2d3ec3631580.bundle.js} +1 -1
  89. package/dist/{181.2055f375b339e25cd8ce.bundle.js → 180.c448596c4e028ad5bdf3.bundle.js} +1 -1
  90. package/dist/{182.5ad9217095176d8833ee.bundle.js → 181.30a474897d97b2d02822.bundle.js} +1 -1
  91. package/dist/{183.16dc05d0e4276155a8bb.bundle.js → 182.dc7920a78d0d736d4f4e.bundle.js} +1 -1
  92. package/dist/{184.6ca8a534a2bd9c8e1181.bundle.js → 183.19aabd1e5e39cc8e83dc.bundle.js} +1 -1
  93. package/dist/{185.12a376642e6930274397.bundle.js → 184.540e1daa09ad0bf278c3.bundle.js} +1 -1
  94. package/dist/{186.0969b66c3a149529f828.bundle.js → 185.16b5a5bd58ff9bedcc7a.bundle.js} +1 -1
  95. package/dist/{187.34becb6d27cbfd4b074d.bundle.js → 186.f9689bf33815bda7ac3c.bundle.js} +1 -1
  96. package/dist/{188.0dd8a7f601f6d2ebc6a7.bundle.js → 187.9e42da5cdc1bf9ebb96e.bundle.js} +1 -1
  97. package/dist/{189.7b0a1c093716b939fd52.bundle.js → 188.b80e869e07dca3da01a7.bundle.js} +1 -1
  98. package/dist/{190.ea276a38d182b5f1ee5d.bundle.js → 189.cb382ef7332d62a304c2.bundle.js} +1 -1
  99. package/dist/{18.9b6042eb938bed7eb676.bundle.js → 19.70b96c19d7848640dbb9.bundle.js} +1 -1
  100. package/dist/{191.bd22587f391925a001a4.bundle.js → 190.2c27b901c1e33c268e1b.bundle.js} +1 -1
  101. package/dist/{192.d804999372c58f33681a.bundle.js → 191.36cb3368edee2fd7fabd.bundle.js} +1 -1
  102. package/dist/{193.43049c97c19dbd1c41f0.bundle.js → 192.f345d24a0bf15aeb0b62.bundle.js} +1 -1
  103. package/dist/{194.d7958e6927a6b08b0328.bundle.js → 193.35391d9216d14ac0bf3e.bundle.js} +1 -1
  104. package/dist/{195.c3e3cc656951aa456f64.bundle.js → 194.62ccc8391956bbf0d069.bundle.js} +1 -1
  105. package/dist/{196.fbea7e355a6df1f8aee0.bundle.js → 195.8652779019d20199ee0e.bundle.js} +1 -1
  106. package/dist/{197.9750357510c52edc3a12.bundle.js → 196.c22cb6fdb66bea1455c4.bundle.js} +1 -1
  107. package/dist/{198.d25dbf25a09e68bed5a8.bundle.js → 197.5abc2b7e62e56bf86060.bundle.js} +1 -1
  108. package/dist/{199.727623492df97b809e5f.bundle.js → 198.d9bbf27bcb13c5dd78d1.bundle.js} +1 -1
  109. package/dist/199.51811bb9e2e77cf4d2ea.bundle.js +1 -0
  110. package/dist/2.9770846cbe686a33e4f8.bundle.js +2 -0
  111. package/dist/{19.f1b9c74ef0c256da2eca.bundle.js → 20.6f75ff85c57c42f30433.bundle.js} +2 -2
  112. package/dist/{201.462d8ff94af160e4e59a.bundle.js → 200.e6d409c5925a76e58e72.bundle.js} +1 -1
  113. package/dist/{202.d24f184ca1d6c5ffa2e5.bundle.js → 201.9d82b44c237290e04aea.bundle.js} +1 -1
  114. package/dist/{203.16c8fa81cbed63945f95.bundle.js → 202.3dfb4af2249898ed3fc9.bundle.js} +1 -1
  115. package/dist/{204.a0112c3e522d5805c8aa.bundle.js → 203.2da0c27b1d0ab513e4e7.bundle.js} +1 -1
  116. package/dist/{205.d7c86c03230059559e3b.bundle.js → 204.9b4c2de63ab9028d7d97.bundle.js} +1 -1
  117. package/dist/{206.eb4b6574ecf62dd4ec2c.bundle.js → 205.c58772214c94ed3afea3.bundle.js} +1 -1
  118. package/dist/{207.af83fd1ffcdc9a322f6c.bundle.js → 206.e7c97cc504ac442c75bc.bundle.js} +1 -1
  119. package/dist/{208.6669833033e12d867018.bundle.js → 207.00de0a8515de06ef0fb7.bundle.js} +1 -1
  120. package/dist/{209.c92981001b844f410bfa.bundle.js → 208.a72a2586de056c048102.bundle.js} +1 -1
  121. package/dist/{210.e699f4cd7167f90ecc5c.bundle.js → 209.9dea550a4bf6f086cad1.bundle.js} +1 -1
  122. package/dist/{20.4c4d231852e056d4c705.bundle.js → 21.39dffe7ceff8f6658a56.bundle.js} +2 -2
  123. package/dist/{211.cb1c1240f7cd19ed77b3.bundle.js → 210.050643db12705405adcc.bundle.js} +1 -1
  124. package/dist/{212.7b202219bd0640d3507e.bundle.js → 211.9d7c7e9982c0561da76f.bundle.js} +1 -1
  125. package/dist/{213.9cbbf239525e01e98b16.bundle.js → 212.5a2ba04f1d462a112657.bundle.js} +1 -1
  126. package/dist/{214.ee6729fffbd79f1304e3.bundle.js → 213.db0539f7cf1f77976f20.bundle.js} +1 -1
  127. package/dist/{215.30a15a3516992764cfc8.bundle.js → 214.f674735412e7fdfd871f.bundle.js} +1 -1
  128. package/dist/{216.c95a7c28927c92f3b5c4.bundle.js → 215.e780ea6c4aadb41aef3c.bundle.js} +1 -1
  129. package/dist/{217.6cc9c2234df3d452bbab.bundle.js → 216.734785a55884f809069a.bundle.js} +1 -1
  130. package/dist/{218.c9161fe2977a98ac4691.bundle.js → 217.a0bfba5b23d72aad2861.bundle.js} +1 -1
  131. package/dist/{219.3ffd3b41407c3e174fe6.bundle.js → 218.d1c1a80db4bfb412c6c7.bundle.js} +1 -1
  132. package/dist/219.695162958f2fd3fd1cdd.bundle.js +1 -0
  133. package/dist/22.3c4fa5af09169a47d8a2.bundle.js +1 -0
  134. package/dist/{221.ad9187e7128163257e6e.bundle.js → 220.d00c6328f9fe29da03d5.bundle.js} +1 -1
  135. package/dist/221.72958b03d597ceecfe50.bundle.js +1 -0
  136. package/dist/{223.b7e2302ce49d6efe51f1.bundle.js → 222.b064e1013cc5c12917cc.bundle.js} +1 -1
  137. package/dist/{224.bbb1ab875351949e8262.bundle.js → 223.d3032b152d950ff8967b.bundle.js} +1 -1
  138. package/dist/{225.8a652415e4cd7b115ea1.bundle.js → 224.c28b4c3d0b2d55b6f023.bundle.js} +1 -1
  139. package/dist/{226.458321d164f5f42bba06.bundle.js → 225.8bf0aec084863fc95414.bundle.js} +1 -1
  140. package/dist/{227.978bb5223109ac854464.bundle.js → 226.9de98c97cf870a77efbf.bundle.js} +1 -1
  141. package/dist/{228.68ba7dd55d304641ff68.bundle.js → 227.a7ae559b03897d292b39.bundle.js} +1 -1
  142. package/dist/{229.cc86db36d4eed5ffc13d.bundle.js → 228.f8555ecfdf9f553c7845.bundle.js} +1 -1
  143. package/dist/{230.28deb650d81d3ce40fdc.bundle.js → 229.a2d575f36de5f1763342.bundle.js} +1 -1
  144. package/dist/23.9d9bea64ee0f22ec8159.bundle.js +2 -0
  145. package/dist/{231.1bd697a441224f2fccfe.bundle.js → 230.4d5c3a00d39fbdd6d152.bundle.js} +1 -1
  146. package/dist/{232.9da2520175cf682c5ba9.bundle.js → 231.434597b10f9e7fb259df.bundle.js} +1 -1
  147. package/dist/232.8815712672db26258aa6.bundle.js +1 -0
  148. package/dist/233.f3bb4e8d76549cfabee1.bundle.js +1 -0
  149. package/dist/{235.43d04e575269c106efe9.bundle.js → 234.863ddddb8449ed7c0ee1.bundle.js} +1 -1
  150. package/dist/{236.7198f0e3c4e0aba1b711.bundle.js → 235.956f01dae59a47f998b5.bundle.js} +1 -1
  151. package/dist/{237.8182429a519c72f50b3e.bundle.js → 236.36baaaeee73e76c481c7.bundle.js} +1 -1
  152. package/dist/{238.e7da1693dc6480734527.bundle.js → 237.5bce30c4e82980e9754f.bundle.js} +1 -1
  153. package/dist/{239.5a0e3e9d302c61c9dd2a.bundle.js → 238.331be8ca0bb118630e24.bundle.js} +1 -1
  154. package/dist/{240.0b1616112ed290e78ab7.bundle.js → 239.db5085cb5625931497c1.bundle.js} +1 -1
  155. package/dist/{23.65519943d430769ff624.bundle.js → 24.d59101c362ac2970a6b9.bundle.js} +1 -1
  156. package/dist/240.fecfcc8370363c1b7687.bundle.js +1 -0
  157. package/dist/{242.4b96aef3e71a70c1c5dc.bundle.js → 241.5f31e65b530c9c673af3.bundle.js} +1 -1
  158. package/dist/242.1e45789ff34bf3d1d6ec.bundle.js +1 -0
  159. package/dist/{244.38f4a20f1b3a17482909.bundle.js → 243.39f5289044a150487acb.bundle.js} +1 -1
  160. package/dist/{245.f7d3853ef4b296d49ac2.bundle.js → 244.3e3b0217ad8558015878.bundle.js} +1 -1
  161. package/dist/{246.69bb254202ff33946ba4.bundle.js → 245.12f6b1e768771000f1f3.bundle.js} +1 -1
  162. package/dist/246.f10a2aae2e116152dc7c.bundle.js +1 -0
  163. package/dist/247.be423d9800ef044d2a33.bundle.js +1 -0
  164. package/dist/{249.708995171b1ef0a960f8.bundle.js → 248.6fb8d92b19677312ec2f.bundle.js} +1 -1
  165. package/dist/{250.1e06d075be2d6fab28da.bundle.js → 249.361380fd0c4d2710e06b.bundle.js} +1 -1
  166. package/dist/{24.ce44938fc8e7e0dd20a8.bundle.js → 25.199fc623310cefd2f4ad.bundle.js} +1 -1
  167. package/dist/{251.bf23de4a477a3d6ff964.bundle.js → 250.9cc0025717bda9ff85ac.bundle.js} +1 -1
  168. package/dist/{252.dbcb6f45c195255004e5.bundle.js → 251.7bd7c734de38e195da15.bundle.js} +1 -1
  169. package/dist/{253.be100e16651d601f687f.bundle.js → 252.8afa7a1e2a6e4c5a926d.bundle.js} +1 -1
  170. package/dist/{254.fb1530fc3e147cacad71.bundle.js → 253.b9409aa29124da201410.bundle.js} +1 -1
  171. package/dist/{255.30a3e052d8e9e7982063.bundle.js → 254.42a241c6856d1a55afa8.bundle.js} +1 -1
  172. package/dist/{256.91ebaee133283c39881d.bundle.js → 255.a0c66c6f832d20e3397e.bundle.js} +1 -1
  173. package/dist/{257.3e570aa4e758fac2b2f0.bundle.js → 256.a8fd6ef683a6fb3742db.bundle.js} +1 -1
  174. package/dist/{258.39e96f0c5de71c54e796.bundle.js → 257.44e7db279a0efb0018ff.bundle.js} +1 -1
  175. package/dist/{259.f5b9d6459c55aff64dcd.bundle.js → 258.d79f5ef6319cb30b0118.bundle.js} +1 -1
  176. package/dist/{260.593a7610b3df4ae713c9.bundle.js → 259.8a37906084ccf1911e30.bundle.js} +1 -1
  177. package/dist/{25.dc83aef89e5a2d728c9a.bundle.js → 26.ddaf300ca3cebd842a06.bundle.js} +1 -1
  178. package/dist/{261.48c648ab8355d092fe8f.bundle.js → 260.75e33fe1306bc28415b9.bundle.js} +1 -1
  179. package/dist/{262.65c73cb5d0fbefe0baf4.bundle.js → 261.87ee58d6687591dbc53d.bundle.js} +1 -1
  180. package/dist/{263.74a323fb27a3b00879e9.bundle.js → 262.53c026834f1a7c31cff4.bundle.js} +1 -1
  181. package/dist/{264.f6d6d64d76e3dfe04fa1.bundle.js → 263.ac0888e10472290fd5cd.bundle.js} +1 -1
  182. package/dist/{265.2ea8090292a86db73bed.bundle.js → 264.4206d53ab8da96bc5375.bundle.js} +1 -1
  183. package/dist/{266.9465da3286b0b5e059b2.bundle.js → 265.ca35e25f40cc557e9326.bundle.js} +1 -1
  184. package/dist/{267.c0c12cb49bc1e89c7b94.bundle.js → 266.549fcc29307b61d6b427.bundle.js} +1 -1
  185. package/dist/{268.b56d0649d9e78844c830.bundle.js → 267.e5b8430e17b550a89458.bundle.js} +1 -1
  186. package/dist/{269.a00401c177fd14ae0c1f.bundle.js → 268.f9bbc4810ebb192a1432.bundle.js} +1 -1
  187. package/dist/{270.785670697c0455ac4b52.bundle.js → 269.f8aba27c315f1a1b4484.bundle.js} +1 -1
  188. package/dist/{26.810adeabe76dd0774dcd.bundle.js → 27.b6ec15df0eb1e0c65f9b.bundle.js} +1 -1
  189. package/dist/{271.8581a9231b36d0f97e00.bundle.js → 270.f4c88d06faa70fe73cd9.bundle.js} +1 -1
  190. package/dist/{272.9241175b9f6526de0f2a.bundle.js → 271.398aaa6c01600df61c6b.bundle.js} +1 -1
  191. package/dist/{273.395881adba4e9ec1c60f.bundle.js → 272.414a02980b8cb5dc2380.bundle.js} +1 -1
  192. package/dist/{274.660cbfc53dfbe8e406af.bundle.js → 273.13cc72edc9ab16311f3a.bundle.js} +1 -1
  193. package/dist/{275.dcef80da1502f7da8c09.bundle.js → 274.5683e1f4c2c1f6902888.bundle.js} +1 -1
  194. package/dist/{276.48625189c1286a05fd4c.bundle.js → 275.fff6b0befb4b17f37eda.bundle.js} +1 -1
  195. package/dist/{277.9c19fa229933c6222b17.bundle.js → 276.99cdf1dff924b1f9c64c.bundle.js} +1 -1
  196. package/dist/{278.384136e3d0926f51464c.bundle.js → 277.f02152d211fea267e0ed.bundle.js} +1 -1
  197. package/dist/{279.6745fa845fbfa74e75bb.bundle.js → 278.22ea31506084cf22b1d2.bundle.js} +1 -1
  198. package/dist/{280.443811921e18f3043058.bundle.js → 279.a84df2f197ed43f54e65.bundle.js} +1 -1
  199. package/dist/{27.b41b821eff22e1910c8e.bundle.js → 28.af295559f3ec77d40839.bundle.js} +1 -1
  200. package/dist/{281.d28c664e6a570fc84f12.bundle.js → 280.f1354e40d7a16b412e88.bundle.js} +1 -1
  201. package/dist/{282.bb843b144879c7953fae.bundle.js → 281.5683a8f152dcc8f75e4d.bundle.js} +1 -1
  202. package/dist/{283.e118d0da0229e1ff6279.bundle.js → 282.4aae3dba3b35ea673c13.bundle.js} +1 -1
  203. package/dist/{284.b354586b137e9d897700.bundle.js → 283.ce463e4cfa59e37d607b.bundle.js} +1 -1
  204. package/dist/284.1ce80efe24b24204cb01.bundle.js +1 -0
  205. package/dist/{286.da86b665251df217c00a.bundle.js → 285.a1fd5a729eebc9586f96.bundle.js} +1 -1
  206. package/dist/{287.e06fcbe992886459fc4a.bundle.js → 286.b4d04aefb9c8758eb72c.bundle.js} +1 -1
  207. package/dist/{288.7b8342ef2f06c297efa8.bundle.js → 287.869b9eda721edd0d7042.bundle.js} +1 -1
  208. package/dist/{289.58a7e6ee8c3e123dc429.bundle.js → 288.c079bcb1e2518d4b2813.bundle.js} +1 -1
  209. package/dist/{290.146ba3fdfbe710791cba.bundle.js → 289.71c26b5ffaa393ece793.bundle.js} +1 -1
  210. package/dist/{28.2a5850ca91ebaccf5ed6.bundle.js → 29.dea0307e0502c61e2610.bundle.js} +1 -1
  211. package/dist/290.83a1baddc302c385a207.bundle.js +1 -0
  212. package/dist/{292.3ccfe3e09f4f60976994.bundle.js → 291.e69fc89f2f1c20f53684.bundle.js} +1 -1
  213. package/dist/{293.24d7d7b5ee0dc6abf357.bundle.js → 292.c20bfd9c5c2dc21cbfe5.bundle.js} +1 -1
  214. package/dist/293.90f1abeb090649362253.bundle.js +1 -0
  215. package/dist/{295.d73226da95f8b1c5729c.bundle.js → 294.2d7d4a8da28fc02d3ba0.bundle.js} +1 -1
  216. package/dist/{296.547cf6617c31df5cc90e.bundle.js → 295.0c580d314b031753d9b5.bundle.js} +1 -1
  217. package/dist/{297.667086f08d35fbf48395.bundle.js → 296.214f47f8d04f8172325a.bundle.js} +1 -1
  218. package/dist/{298.dba77c4207a920d56f6b.bundle.js → 297.150d2e735d97469bc97a.bundle.js} +1 -1
  219. package/dist/{299.2e9e96c44921369b1b19.bundle.js → 298.e0fe45df8f4d8971c381.bundle.js} +1 -1
  220. package/dist/{300.e1c2fa76ba52143d0321.bundle.js → 299.3499097fbb66b52fc421.bundle.js} +1 -1
  221. package/dist/{3.6333d6a0418e5320bf56.bundle.js → 3.bf5407fd4f31a2fb73fb.bundle.js} +1 -1
  222. package/dist/{29.9f64f22c46c7b02a0ec8.bundle.js → 30.83358047fbcc339d474f.bundle.js} +1 -1
  223. package/dist/{301.95db4a50bfc24f68ac2e.bundle.js → 300.39de47db08587229ef0e.bundle.js} +1 -1
  224. package/dist/{302.b20c8d1e643b2fdc4564.bundle.js → 301.1343a9b079798562aa6a.bundle.js} +1 -1
  225. package/dist/{303.c822e7199ecac39adcfb.bundle.js → 302.750cbc741f3c77e99e81.bundle.js} +1 -1
  226. package/dist/{304.28ee878b3769022514fe.bundle.js → 303.e44f63ffeda3cbf7ae16.bundle.js} +1 -1
  227. package/dist/{305.2eeb37b548e027712722.bundle.js → 304.2d3ac502aa624081b1e5.bundle.js} +1 -1
  228. package/dist/{30.75b398d38eabe765da4e.bundle.js → 31.44a332e103ab9b33000d.bundle.js} +1 -1
  229. package/dist/{311.2b9993e11f4cef6911a5.bundle.js → 310.82c1148db42192c0090c.bundle.js} +1 -1
  230. package/dist/{312.a511ecbbbcfe8341e517.bundle.js → 311.9874544df1bbafd10692.bundle.js} +1 -1
  231. package/dist/{313.ecb3eb64bb8dc315e292.bundle.js → 312.e1b40283b695dcb101b0.bundle.js} +1 -1
  232. package/dist/{314.a4ad30cde3d6dff34628.bundle.js → 313.d9cca6e410a0f1a448bb.bundle.js} +1 -1
  233. package/dist/{315.1f1cf5c188d94b8d4e14.bundle.js → 314.f597d0c2a2be830776de.bundle.js} +1 -1
  234. package/dist/{316.2f4496d2edbc7fc747b7.bundle.js → 315.58bc5637ceb47626bde3.bundle.js} +1 -1
  235. package/dist/{317.209dc16df0afb578e39e.bundle.js → 316.4f9a18e26bbe0f0adbe6.bundle.js} +1 -1
  236. package/dist/{318.e6ddb4a1c9843e7771f1.bundle.js → 317.979f24ed265641b8ddc1.bundle.js} +1 -1
  237. package/dist/{319.a27170539b52cb9dab92.bundle.js → 318.f5c05dd1599c529762e4.bundle.js} +1 -1
  238. package/dist/{320.dfb7824d64eb50a53144.bundle.js → 319.cccd7fb2eaa18f65e716.bundle.js} +1 -1
  239. package/dist/{31.6e0bf46006dfb4b7338c.bundle.js → 32.be13f368fa0460e227a7.bundle.js} +1 -1
  240. package/dist/{321.a0c97ce6d54400967ab1.bundle.js → 320.0d9f2f2aeda450f2f0a7.bundle.js} +1 -1
  241. package/dist/{322.25cddf396e5160617a9a.bundle.js → 321.2f817913ca2f9cd27812.bundle.js} +1 -1
  242. package/dist/{323.5484fbc2febd83f8d00e.bundle.js → 322.ad2b9395bfbc385119fe.bundle.js} +1 -1
  243. package/dist/{324.521f021f636c10821162.bundle.js → 323.7b979063981cd58478be.bundle.js} +1 -1
  244. package/dist/{325.08b69bd9b1a34cc35d67.bundle.js → 324.37c3249317427c3878c6.bundle.js} +1 -1
  245. package/dist/{326.8a369e8cb3db85e5fd21.bundle.js → 325.993f7143c5d5592ab355.bundle.js} +1 -1
  246. package/dist/{327.9a1305561b9ee871f677.bundle.js → 326.e5ce686fb321b3922da0.bundle.js} +1 -1
  247. package/dist/{328.0e4ebf7e474a23cf0aa8.bundle.js → 327.40d5727ccb824f68ecd1.bundle.js} +1 -1
  248. package/dist/{329.95f8d46ef472c45724ef.bundle.js → 328.c8475579baf28af54890.bundle.js} +1 -1
  249. package/dist/{330.b557e07136977ad81a04.bundle.js → 329.29a283ec1f3ceb4adb26.bundle.js} +1 -1
  250. package/dist/{32.60795cfcb9c447399fc2.bundle.js → 33.34c20158a0c7476d953f.bundle.js} +1 -1
  251. package/dist/{331.70b775db910815aec7d5.bundle.js → 330.4e27caee2a547aeaf45b.bundle.js} +1 -1
  252. package/dist/{332.6174c9a0244faea483d8.bundle.js → 331.8e2eed9790d553e91940.bundle.js} +1 -1
  253. package/dist/{333.c46d92559385a3ec4ea7.bundle.js → 332.6b6043fc84aa75c59a29.bundle.js} +1 -1
  254. package/dist/{334.54392f7f0e16887b2f41.bundle.js → 333.1629c955f4780836ba1e.bundle.js} +1 -1
  255. package/dist/{335.bdec765f2598123058be.bundle.js → 334.820bf9aa8aca42035920.bundle.js} +1 -1
  256. package/dist/{336.4af91442c99d4ec1a557.bundle.js → 335.441f2c1b005bf4da9da9.bundle.js} +1 -1
  257. package/dist/{337.9b0aefa9e9997e8bb366.bundle.js → 336.2e620911b9848d22d0bc.bundle.js} +1 -1
  258. package/dist/{338.6ea16c3d7f81ea4d3d58.bundle.js → 337.dd96b11f66d00f3c11d8.bundle.js} +1 -1
  259. package/dist/{339.9059878c18fa2c749de8.bundle.js → 338.31ccf952930ab1a64141.bundle.js} +1 -1
  260. package/dist/{340.13712037d8e707ae11ef.bundle.js → 339.8e581416b7b86cfd8829.bundle.js} +1 -1
  261. package/dist/{33.d19f2c40b3b42b314591.bundle.js → 34.cec479590af17a5f1b17.bundle.js} +1 -1
  262. package/dist/{341.50bccf91ec47cd6b9470.bundle.js → 340.2a9bbb58af2ebd5eaad8.bundle.js} +1 -1
  263. package/dist/{342.84abf16d1ae0f3fa58e3.bundle.js → 341.2e30539f06783590237c.bundle.js} +1 -1
  264. package/dist/{343.8f3430d930b608c20751.bundle.js → 342.881d5df270fb6891b5aa.bundle.js} +1 -1
  265. package/dist/{344.9387f3ddd773381699bb.bundle.js → 343.a197d3c62465378339aa.bundle.js} +1 -1
  266. package/dist/{345.129967192316e48437d4.bundle.js → 344.03eeb3da1ab8be45223d.bundle.js} +1 -1
  267. package/dist/{346.26d147e0f77ff069acbd.bundle.js → 345.5f48e10965bfdaca076a.bundle.js} +1 -1
  268. package/dist/{347.3ee25a23ffcb21051539.bundle.js → 346.222128167abd9e37a506.bundle.js} +1 -1
  269. package/dist/{348.32f9dbf6dd88ef9ef2fa.bundle.js → 347.a43c655bcfb27aebf21f.bundle.js} +1 -1
  270. package/dist/{349.6b417c71a22af055359f.bundle.js → 348.fc0a1d8a9f0c832aa8ab.bundle.js} +1 -1
  271. package/dist/{350.0cb56b29da5fdb977c3d.bundle.js → 349.6fffb3cae65ee940693a.bundle.js} +1 -1
  272. package/dist/{34.cd22a42400934b4cdf87.bundle.js → 35.2d8679e695ed60ffd6cb.bundle.js} +1 -1
  273. package/dist/{351.45e2fa352cb26a0826c4.bundle.js → 350.46496fb9ac596d87a6dd.bundle.js} +1 -1
  274. package/dist/{352.b8833055f446b4432a51.bundle.js → 351.c0d2293d07f7b3fe2e1e.bundle.js} +1 -1
  275. package/dist/{353.35379a499cac3a62bc55.bundle.js → 352.ce177c6de5a67a54fa09.bundle.js} +1 -1
  276. package/dist/{354.0481230d0681abc066ea.bundle.js → 353.062e7407b1897bf7cc94.bundle.js} +1 -1
  277. package/dist/{355.c1251d26aa986c6b579d.bundle.js → 354.f93c5a2afd738d69c647.bundle.js} +1 -1
  278. package/dist/{356.03c285ab5bdf2bd3e12d.bundle.js → 355.1f8e35f904433628b5f6.bundle.js} +1 -1
  279. package/dist/{357.8685dd981d95da81248a.bundle.js → 356.ec6765fff7de228d9851.bundle.js} +1 -1
  280. package/dist/{358.86b09694d2d0700f75ed.bundle.js → 357.080f7f0713070c48821d.bundle.js} +1 -1
  281. package/dist/{359.fac3bcab66e2baa83202.bundle.js → 358.0f1231c8453e8a211b66.bundle.js} +1 -1
  282. package/dist/{360.f21e8815aea4c61d4de1.bundle.js → 359.5e4939ee985e5ee4aa08.bundle.js} +1 -1
  283. package/dist/{35.cfb69109b2c7ebc2d1ef.bundle.js → 36.e08e03897ba4766efbb2.bundle.js} +1 -1
  284. package/dist/{361.48dd1b79917eaa9b7e6a.bundle.js → 360.c02645ba0f7ccc709bd3.bundle.js} +1 -1
  285. package/dist/{362.23ea58a6d71ace84a1a6.bundle.js → 361.7d22ee4c5cc1f0f62847.bundle.js} +1 -1
  286. package/dist/{363.d035bde2a6e524abebbb.bundle.js → 362.1bacdbc961d8d9340b05.bundle.js} +1 -1
  287. package/dist/{364.ca825d61b795d834659a.bundle.js → 363.d56197d81f8b906de505.bundle.js} +1 -1
  288. package/dist/{365.d6f8aadf1c0a634b8461.bundle.js → 364.f7d8a7e79c6918701b69.bundle.js} +1 -1
  289. package/dist/{366.86e8279bfe0cf51b6511.bundle.js → 365.e75d8e89ce4fbe893c53.bundle.js} +1 -1
  290. package/dist/{367.044c0183e4b99a0b6345.bundle.js → 366.4a672b01bd6827f8fb5b.bundle.js} +1 -1
  291. package/dist/{368.9f4b02a874a9456d77ed.bundle.js → 367.c7afbfe177106f5da484.bundle.js} +1 -1
  292. package/dist/{369.ab4263bb42d3f317264b.bundle.js → 368.c422af78aedc9c0aa9fb.bundle.js} +1 -1
  293. package/dist/{370.74ea79a0e3815a78e966.bundle.js → 369.36c2e57f36dbbdb0244d.bundle.js} +1 -1
  294. package/dist/{36.a7b1ed685913595d40e9.bundle.js → 37.cfe4a522de85d5c655e4.bundle.js} +1 -1
  295. package/dist/{371.ae1a62cc1a69115e3f8f.bundle.js → 370.323b8d44f600bf312ca8.bundle.js} +1 -1
  296. package/dist/{372.5e3859739cd36c6ffd8a.bundle.js → 371.4ac7a2c3459079f9fb6a.bundle.js} +1 -1
  297. package/dist/{373.6e2258b5ab6ced0f532d.bundle.js → 372.8c2b50c5a331ae2b9c70.bundle.js} +1 -1
  298. package/dist/373.9ed7674129588e479e21.bundle.js +1 -0
  299. package/dist/{375.fd66d9e99c21bb8621a7.bundle.js → 374.b8ba6d28714210a3468b.bundle.js} +1 -1
  300. package/dist/{376.5e3632f2491cea9e0c8f.bundle.js → 375.3273381131fe2a8a2d6a.bundle.js} +1 -1
  301. package/dist/{377.ef5f3c3684072649f0d0.bundle.js → 376.4abc77ce350e98e61006.bundle.js} +1 -1
  302. package/dist/377.ae7fb3655af86acf9cd8.bundle.js +1 -0
  303. package/dist/{379.6703214bd0a62d6bba1b.bundle.js → 378.13c8331f50dd6a1792d7.bundle.js} +1 -1
  304. package/dist/{380.a1095e01a9df1355fd0a.bundle.js → 379.cee485c49fe7cbbf1b00.bundle.js} +1 -1
  305. package/dist/{37.7a0d6e8f543f2ab93d6d.bundle.js → 38.5454bca277ba64dc0b9c.bundle.js} +1 -1
  306. package/dist/380.19a7d7b2178f303269b4.bundle.js +1 -0
  307. package/dist/381.342f1effca225442db3a.bundle.js +1 -0
  308. package/dist/382.df1f73b97648ec3852ed.bundle.js +1 -0
  309. package/dist/{384.4e40e9fcefcecfc9ed70.bundle.js → 383.233b1f1c05d6a41ca667.bundle.js} +1 -1
  310. package/dist/{385.6ed894fe60872f194c7a.bundle.js → 384.8974dcb54aa79ecfa41d.bundle.js} +1 -1
  311. package/dist/{386.f6e72f5f0006f45ca17a.bundle.js → 385.991354ffdbbbef4b03cd.bundle.js} +1 -1
  312. package/dist/{387.07a6d582350bf2ffff56.bundle.js → 386.fb346c88e1a04097ea31.bundle.js} +1 -1
  313. package/dist/{38.f53ead5a867b583684cc.bundle.js → 39.6f313b421b3223b413e9.bundle.js} +1 -1
  314. package/dist/4.3aa2978368a7d1c55d97.bundle.js +1 -0
  315. package/dist/{39.b424e4c3cad0e7af5ac6.bundle.js → 40.8d1fe07eea5143d01072.bundle.js} +1 -1
  316. package/dist/{40.6479ea8c327190f89451.bundle.js → 41.6d31d16cd2e148da0781.bundle.js} +1 -1
  317. package/dist/{42.c8adf98ad0104887b4ec.bundle.js → 42.48329e6d142b4e520134.bundle.js} +1 -1
  318. package/dist/{43.f49aac05f6879c3dac89.bundle.js → 43.5bbca603ca6ec5a5068e.bundle.js} +1 -1
  319. package/dist/{44.4322dcdd5bf0de55e04e.bundle.js → 44.00252a53efa0a86deb44.bundle.js} +2 -2
  320. package/dist/45.d5bab5f557f0839e6056.bundle.js +1 -0
  321. package/dist/{47.0d580dbe9ed87bce496c.bundle.js → 46.a801a28fe2168e6c723c.bundle.js} +1 -1
  322. package/dist/{48.fb09364abedeac430971.bundle.js → 47.059fd9cc3b179ebed65d.bundle.js} +1 -1
  323. package/dist/{49.d23a9330be7f04d859de.bundle.js → 48.54707551ab8a11198afc.bundle.js} +1 -1
  324. package/dist/{50.ec14ac614772913e0be0.bundle.js → 49.1d0155d2196c26d66a02.bundle.js} +1 -1
  325. package/dist/{5.d34980533e122f4791f4.bundle.js → 5.ebb8b6aea672c64029b1.bundle.js} +1 -1
  326. package/dist/{51.8689b92a13bd2b2a3074.bundle.js → 50.c4d3b40295500a0c33ad.bundle.js} +1 -1
  327. package/dist/{52.a38b6e76a6402b2e5b78.bundle.js → 51.8fa369af0c8b5e11d04c.bundle.js} +1 -1
  328. package/dist/{53.3d653040b7defd01415f.bundle.js → 52.29052e36a74030d9e41a.bundle.js} +1 -1
  329. package/dist/{54.9b232eafefbda85cc4bd.bundle.js → 53.a61647e9e6eac009a7ae.bundle.js} +1 -1
  330. package/dist/{55.8ada9bc7e9011b6e7c21.bundle.js → 54.1a6e4ada1e69a58b2b52.bundle.js} +1 -1
  331. package/dist/{56.302766c61395b663e4c3.bundle.js → 55.2807daccad98b7aa15f2.bundle.js} +2 -2
  332. package/dist/{57.0d4caf8a82a7ff1f1dca.bundle.js → 56.7452b2314534830e98ad.bundle.js} +1 -1
  333. package/dist/{58.c4cb8de207c705cee7a1.bundle.js → 57.a23e424da1d5d3b5ae86.bundle.js} +1 -1
  334. package/dist/58.463fc66ca234d1129da3.bundle.js +1 -0
  335. package/dist/{59.821da70e952924981e80.bundle.js → 59.351c47755bb06aaa8331.bundle.js} +1 -1
  336. package/dist/6.2cf11b39c0980889d446.bundle.js +1 -0
  337. package/dist/{60.8deab4881eaf63bcd6a4.bundle.js → 60.3df0dcd9af2fa4c7ce34.bundle.js} +1 -1
  338. package/dist/{61.7736faf8cd8733139f11.bundle.js → 61.e8a681d3549fc169ec69.bundle.js} +1 -1
  339. package/dist/{62.518759d544e052fd9256.bundle.js → 62.b927e1ec0b1ff61e718b.bundle.js} +1 -1
  340. package/dist/{63.31bff84c37ea1de0acef.bundle.js → 63.fdf8c8063ae9069e4f52.bundle.js} +1 -1
  341. package/dist/{64.3bac8674c52226912630.bundle.js → 64.79f5587fd87a655b6f69.bundle.js} +1 -1
  342. package/dist/{65.a36fbde317ab57cce415.bundle.js → 65.1fe55cdf3db59639e085.bundle.js} +1 -1
  343. package/dist/{66.8f8126d5175f62c3face.bundle.js → 66.56fb556d0519aa95d8f4.bundle.js} +1 -1
  344. package/dist/{67.2f9547fd1b14efa12158.bundle.js → 67.e6fb2cb180cf6dbadef7.bundle.js} +1 -1
  345. package/dist/{68.55c008fb3a0efa470906.bundle.js → 68.e7d9be16a37b8887a931.bundle.js} +1 -1
  346. package/dist/{69.44cd46e87a6df00420b5.bundle.js → 69.107d812cd5ebbf60fc94.bundle.js} +1 -1
  347. package/dist/{6.c639b6efdd4f0ac3d584.bundle.js → 7.a93531535990ecc25f07.bundle.js} +1 -1
  348. package/dist/70.05fb2a311f0b1542c9e3.bundle.js +1 -0
  349. package/dist/{71.c8ee9a76c64455ab9c8f.bundle.js → 71.1d860f6f8ae3d0192c80.bundle.js} +1 -1
  350. package/dist/{72.b97671744c9618e13a10.bundle.js → 72.a4d0ad3506f133140cec.bundle.js} +1 -1
  351. package/dist/{73.96f11c5b82fd5a7fd278.bundle.js → 73.403c9b3c8405eae5d293.bundle.js} +1 -1
  352. package/dist/{74.e9db7f3271c826c88a78.bundle.js → 74.246979b1c0e7a79cbb85.bundle.js} +1 -1
  353. package/dist/{75.c25619a16d098a2721be.bundle.js → 75.dc785f04f93ebfbe0f30.bundle.js} +1 -1
  354. package/dist/{76.14ae4b937c879f457b25.bundle.js → 76.8a8f93d40dcf4291240b.bundle.js} +1 -1
  355. package/dist/{77.463f82a88b3c6e954c01.bundle.js → 77.9cb29b89a66fd100e00b.bundle.js} +1 -1
  356. package/dist/{78.1fa69d08bd50f06f636a.bundle.js → 78.783bd0d21bd685c73354.bundle.js} +1 -1
  357. package/dist/{79.d5735446205c02c627cb.bundle.js → 79.dbd2c812fd44a8c1ea2e.bundle.js} +1 -1
  358. package/dist/8.7f0f98ff96fac525fd5a.bundle.js +1 -0
  359. package/dist/{80.9c57ff6117953efd9e90.bundle.js → 80.0dce75d76715811e2a2d.bundle.js} +1 -1
  360. package/dist/81.f11e24e42a58eddb7cbc.bundle.js +1 -0
  361. package/dist/82.2388472786ba09a073ac.bundle.js +1 -0
  362. package/dist/{83.f9c096421bb5c0b29ba9.bundle.js → 83.8225300dc7f6501d3272.bundle.js} +1 -1
  363. package/dist/{84.514756b3a32bb6873cc1.bundle.js → 84.61195a0da3027c477514.bundle.js} +1 -1
  364. package/dist/{85.70d008d869c71199d1e9.bundle.js → 85.d4f4cc98d3ff4c390902.bundle.js} +1 -1
  365. package/dist/{86.08b4429bf0ec0b5dcde0.bundle.js → 86.a2249c525b967ba8b763.bundle.js} +1 -1
  366. package/dist/{87.1b3837e239bd74b553ee.bundle.js → 87.5aec7ee5fcb238104d38.bundle.js} +1 -1
  367. package/dist/{88.49ed0628c81926c98925.bundle.js → 88.55adafc6fc56ada49607.bundle.js} +1 -1
  368. package/dist/{89.6355fb17f7c9088bd61d.bundle.js → 89.b6489d83523f9191b801.bundle.js} +1 -1
  369. package/dist/{8.b2bab85e9d32868938e8.bundle.js → 9.385a4c21f00bcb09a7bc.bundle.js} +1 -1
  370. package/dist/{90.c0be68f3cc4c02f18818.bundle.js → 90.10abbbaca2bb8d1a79fe.bundle.js} +1 -1
  371. package/dist/{91.8a23e41280e7b69dba09.bundle.js → 91.1df650208fadeee9f58b.bundle.js} +1 -1
  372. package/dist/{92.6c45ec02f991fb9e0343.bundle.js → 92.06409c8e211adeee4d3e.bundle.js} +1 -1
  373. package/dist/{93.d7428790221f27764822.bundle.js → 93.b392be47708365adb665.bundle.js} +1 -1
  374. package/dist/{94.f353e48cd582c9a3eeea.bundle.js → 94.78366351a9e8b6118152.bundle.js} +1 -1
  375. package/dist/{95.2b1230102fa575c74b94.bundle.js → 95.d4c56863599ed79076dd.bundle.js} +1 -1
  376. package/dist/96.63d23375f0483dd84c16.bundle.js +1 -0
  377. package/dist/{97.bac15331c44cf11b7d7c.bundle.js → 97.e18facc2d4c43d1ce376.bundle.js} +1 -1
  378. package/dist/98.8db4998c638e9a3d3566.bundle.js +1 -0
  379. package/dist/{99.e7ceaa6c9c8bd7672878.bundle.js → 99.5a00b0fcadc5efe1407e.bundle.js} +1 -1
  380. package/dist/{bundle.3cbc347e3527f274db18.bundle.js → bundle.202db8517acfc0d257cd.bundle.js} +13 -13
  381. package/dist/i18n/locale-en.json +10 -2
  382. package/dist/i18n/locale-fr.json +10 -2
  383. package/dist/index.html +4 -4
  384. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  385. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  386. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  387. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  388. package/dist/js/angular/security/templates/user.html +1 -1
  389. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  390. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  391. package/dist/js/angular/ttyg/templates/chat-list.html +2 -2
  392. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  393. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +4 -4
  394. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  395. package/dist/js/angular/ttyg/templates/ttyg.html +2 -2
  396. package/dist/license-checker-static.json +7 -0
  397. package/dist/license-checker.json +2 -2
  398. package/dist/{main.3c684afa9035e26698d0.bundle.js → main.269962097c8301c719bd.bundle.js} +1 -1
  399. package/dist/pages/aclmanagement.html +2 -2
  400. package/dist/pages/autocomplete.html +1 -1
  401. package/dist/pages/choose-repository-type.html +1 -1
  402. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  403. package/dist/pages/create-index.html +1 -1
  404. package/dist/pages/dependencies.html +1 -1
  405. package/dist/pages/domainRangeInfo.html +2 -2
  406. package/dist/pages/edit.html +3 -3
  407. package/dist/pages/explore.html +1 -1
  408. package/dist/pages/export.html +1 -1
  409. package/dist/pages/find.html +1 -1
  410. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  411. package/dist/pages/graphs-visualizations.html +7 -7
  412. package/dist/pages/guides.html +1 -1
  413. package/dist/pages/import.html +2 -2
  414. package/dist/pages/jdbc-create.html +1 -1
  415. package/dist/pages/monitor/backup-and-restore.html +1 -1
  416. package/dist/pages/monitor/queries.html +1 -1
  417. package/dist/pages/monitor/resources.html +1 -1
  418. package/dist/pages/namespaces.html +2 -2
  419. package/dist/pages/plugins.html +1 -1
  420. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  421. package/dist/pages/rdfrank.html +2 -2
  422. package/dist/pages/repositories.html +1 -1
  423. package/dist/pages/repository.html +1 -1
  424. package/dist/pages/similarity-indexes.html +1 -1
  425. package/dist/pages/sparql-editor.html +1 -1
  426. package/dist/pages/sparql-template-create.html +1 -1
  427. package/dist/pages/ux-test1.html +2 -2
  428. package/dist/pages/webapi.html +2 -2
  429. package/dist/{polyfills-dom.2e911e88416db513165d.bundle.js → polyfills-dom.05a7770bb435a0b38fc6.bundle.js} +1 -1
  430. package/dist/res/swagger5/index.html +12 -12
  431. package/dist/vendor.0dbd09f6d69e78b19728.css +25 -0
  432. package/dist/{vendor.c8de9e8334756c4117a7.bundle.js → vendor.70a25ea39bd7c73a002b.bundle.js} +4 -4
  433. package/dist/{vendors~polyfills-core-js.b457b41cf3ac34b0e840.bundle.js → vendors~polyfills-core-js.82092a0fe7a70177b16e.bundle.js} +1 -1
  434. package/package.json +2 -1
  435. package/dist/113.6d341bb94caa74a19866.bundle.js +0 -1
  436. package/dist/128.f414d604bcd013bf911d.bundle.js +0 -1
  437. package/dist/13.dd3daf303c726658ee20.bundle.js +0 -2
  438. package/dist/132.944ecc91b5233d778847.bundle.js +0 -1
  439. package/dist/2.5ecba6f91ee9aba0f72b.bundle.js +0 -2
  440. package/dist/200.92f1a086ea5aef9edf3b.bundle.js +0 -1
  441. package/dist/21.54344d162b6a34c9b801.bundle.js +0 -1
  442. package/dist/22.d0b623eb0f96c9aa6b24.bundle.js +0 -2
  443. package/dist/220.021899f905b9ad3d6a2f.bundle.js +0 -1
  444. package/dist/222.180b7745dd350d7e0e40.bundle.js +0 -1
  445. package/dist/233.d221cf4fc26c61fad24c.bundle.js +0 -1
  446. package/dist/234.f32797efb10ecea1afc8.bundle.js +0 -1
  447. package/dist/241.0d40fca2dbe1e4286b0a.bundle.js +0 -1
  448. package/dist/243.d4b2847d8cb1af74a2ac.bundle.js +0 -1
  449. package/dist/247.5b2fe2937e878cd03e99.bundle.js +0 -1
  450. package/dist/248.1c51c8776dafd2938c2f.bundle.js +0 -1
  451. package/dist/285.eb0437c8ef1eb29f15a2.bundle.js +0 -1
  452. package/dist/291.453ba8701e97d5e0e9f2.bundle.js +0 -1
  453. package/dist/294.2cce50bef12473652329.bundle.js +0 -1
  454. package/dist/374.9e21d915726536564967.bundle.js +0 -1
  455. package/dist/378.3bd7c408c54fcd423c10.bundle.js +0 -1
  456. package/dist/381.104beacb095b894100a3.bundle.js +0 -1
  457. package/dist/382.78ab349878afa6f19d97.bundle.js +0 -1
  458. package/dist/383.fd4a62cce2cb093fdb90.bundle.js +0 -1
  459. package/dist/4.a6011f0d50143709767a.bundle.js +0 -1
  460. package/dist/41.4d964baeed672c11337a.bundle.js +0 -1
  461. package/dist/45.c7588a46eb35e1030511.bundle.js +0 -1
  462. package/dist/46.a61ad257a02ee69f07de.bundle.js +0 -1
  463. package/dist/7.83006fb76d213f065ce3.bundle.js +0 -1
  464. package/dist/70.70bb2af41d1cec8e2fa0.bundle.js +0 -1
  465. package/dist/81.6abcbb0a4f0c5371da19.bundle.js +0 -1
  466. package/dist/82.3a7ddfc6c1efaf493f3f.bundle.js +0 -1
  467. package/dist/9.c92dd64e96b478a92d2e.bundle.js +0 -1
  468. package/dist/96.701d4c87469fd1ae6073.bundle.js +0 -1
  469. package/dist/98.9ce0dc28adca0979eac7.bundle.js +0 -1
  470. package/dist/vendor.c3e18291118da6a85719.css +0 -20
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[87,269],{147:function(n,e,t){"use strict";t.r(e);t(38),t(82);function o(n){const e=[];return Object.keys(n).forEach((function(t){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]))})),e.join("&")}function r(n,e){return _.reduce(n,(function(n,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(e.instant("externalsync.empty.value.key.error",{value:t.value}));if(n.hasOwnProperty(t.key))throw new Error(e.instant("externalsync.duplicate.key.error",{key:t.key}));n[t.key]=t.value}return n}),{})}function i(n,e){for(let o=0;o<e.length;o++){const r=e[o];if("StringArray"===r.__type)n[r.__name]||(n[r.__name]=[""]);else if("OptionArray"===r.__type)if(n[r.__name])for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];if("Boolean"===t.__type)for(let e=0;e<n[r.__name].length;e++){const o=n[r.__name][e];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{n[r.__name]=[];const e={};for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];"StringArray"===t.__type?e[t.__name]=[""]:e[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}n[r.__name].push(e)}else"Map"===r.__type?n[r.__name]?n[r.__name]=(t=n[r.__name],_.map(t,(function(n,e){return{key:e,value:n}}))):n[r.__name]=[]:"JsonString"===r.__type?!n[r.__name]||n[r.__name]instanceof String||"string"==typeof n[r.__name]||(n[r.__name]=angular.toJson(n[r.__name],2)):angular.isUndefined(n[r.__name])&&(n[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return n}function c(n,e,t){return n.post("repositories/"+e,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function a(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const c=function n(e,t){const o={};return _.each(t,(function(t){angular.isDefined(e[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(e[t.__name],(function(e){o[t.__name].push(n(e,t.__childOptions))}))):o[t.__name]=_.cloneDeep(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?c[o[n].__name]=r(c[o[n].__name],$translate):"JsonString"===o[n].__type&&(c[o[n].__name]=angular.fromJson(c[o[n].__name]))}catch(e){return i(o[n].__label,e.message),null}!function n(e){Array.isArray(e)&&(e=_.filter(e,(function(n){return null!==n&&(!n.trim||""!==n.trim())})));return Object.keys(e).forEach((function(t){""!==e[t]&&null!=e[t]||!1===e[t]?"object"==typeof e[t]&&(e[t]=n(e[t])):delete e[t]})),e}(c);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+a(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(c,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,p,f,d,g){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:a(e)+t,name:t,inline:!1,doneCallback:function(){n.beingBuiltConnector.modalInstance.dismiss("cancel")}}),n.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:n}),n.beingBuiltConnector.modalInstance}function C(e,r,i){const c=y(e.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(g.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){c.dismiss("cancel")}))}n.loader=!1,n.controllers=[],n.existing={},n.definitions={},n.getLoaderMessage=function(){const e=(Date.now()-n.loaderStartTime)/1e3,t=n.getHumanReadableSeconds(e);let o="";return o=n.progressMessage?n.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),n.extraMessage&&e>10&&(o+="\n"+n.extraMessage),o},n.setLoader=function(e,t,o){e?(n.loader=!0,n.loaderStartTime=Date.now(),n.progressMessage=t,n.extraMessage=o):(n.loader=!1,n.progressMessage="",n.extraMessage="")},n.initConnector=function(e){return d.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),p.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return c(e,t.getActiveRepository(),n)}(o).then((function(e){const t=function(n){if(n.bindings)for(let e=0;e<n.bindings.length;e++)try{const t=JSON.parse(n.bindings[e].status.value);if("BUILDING"===t.status)return{connector:n.bindings[e].connector.value,status:t}}catch(n){console.error(n)}return{}}(e.data.results);if(t.connector){const e=t.connector.split(/#/);e[0]=e[0].replace(/\/instance$/,"#"),o=e[0],r=e[1],m(),$.extend(n.beingBuiltConnector,{iri:a(o)+r,name:r,inline:!0,doneCallback:function(){n.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){n.setLoader(!1)})):n.setLoader(!1)}))})).catch((function(e){n.setLoader(!1),l.error(getError(e),g.instant("externalsync.could.not.get.connectors.error"))})),n.existing={})},n.getOptions=function(e){return n.definitions[e.key]},n.isEmpty=function(n){return angular.isObject(n)&&0===Object.keys(n).length},n.toPrettyJson=function(n){return angular.toJson(n,2)},n.$watch((function(){return t.getActiveRepository()}),n.getConnectors),n.$watch((function(){return t.getActiveLocation()}),n.getConnectors),n.copyConnector=function(e,t){let o;angular.isUndefined(t)||(o=_.cloneDeep(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.newConnector=function(e,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.repair=function(e,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),c=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+a(u)+s+'> prefix:repairConnector ""\n}');var s,u;f.addStatements(t.getActiveRepository(),o({update:c})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(g.instant("externalsync.repair.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){i.dismiss("cancel")}))}))},n.delete=function(e,i){const c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:e.name}),g.instant("externalsync.extra.message.warning"));const a=function(n,e,t){const o=e.substring(0,e.length-1)+"/instance#";return"PREFIX prefix:<"+e+">\nINSERT DATA {\n\t<"+o+n+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(e.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:a})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(g.instant("externalsync.delete.force.success.msg",{name:e.name})),c&&l.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(g.instant("externalsync.delete.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){n.setLoader(!1)}))}))},n.viewQuery=function(e,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=n.getOptions(e);return s(t.name,e.value,i(t.values,o),o)}}})}}function u(n,e,t){n.force=!1,n.popoverMsg=t,n.ok=function(){e.close(n.force)},n.cancel=function(){e.dismiss()}}function p(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=_.cloneDeep(n.defaultValues[t][0]);n.values[t].splice(e+1,0,o)},n.addOption=function(n,e){e.splice(n+1,0,"")},n.deleteOption=function(n,e){e.splice(n,1)},n.addMapOption=function(n,e){e.splice(n+1,0,{key:"",value:""})},n.deleteMapOption=function(n,e){e.splice(n,1)},n.ok=function(){if(n.form.$valid){const t=i();t&&e.close({name:n.name,values:n.values,options:n.options,query:t})}},n.viewQuery=function(){const n=i();n&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return n}}})},n.cancel=function(){e.dismiss("cancel")}}function f(n,e,t,o,r,c,a,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:c})),n.values=a.values,n.options=s,n.name=a.name,a.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=_.cloneDeep(n.values)}function d(n,e,t,o,r){function i(){const i=function(n){const e=n.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+n+"> <"+e+"> ?status",t+="\n}",t}(n.beingBuiltConnector.iri);n.beingBuiltConnector.iri=null,n.progressInterval=e((function(){(function(n){return c(t,o.getActiveRepository(),n)})(i).then((function(t){const o=function(n){if(n.bindings&&n.bindings.length>0)try{return JSON.parse(n.bindings[0].status.value)}catch(n){console.error(n)}return{}}(t.data.results);"BUILDING"===o.status?(n.beingBuiltConnector.status=o,n.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),n.beingBuiltConnector.eta=n.getHumanReadableSeconds(o.etaSeconds),n.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),n.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||n.beingBuiltConnector.waitOnRepairStartOnce||(e.cancel(n.progressInterval),n.beingBuiltConnector.doneCallback&&n.beingBuiltConnector.doneCallback())}))}),1e3),n.$on("$destroy",(function(){e.cancel(n.progressInterval)}))}n.beingBuiltConnector=n.beingBuiltConnector||{},!n.beingBuiltConnector.inline&&n.beingBuiltConnector.iri&&i(),n.$watch("beingBuiltConnector.iri",(function(e){n.beingBuiltConnector.inline&&e&&i()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",l).controller("ExtendNewConnectorCtrl",p).controller("CreateConnectorCtrl",f).controller("CreateProgressCtrl",d).controller("DeleteConnectorCtrl",u).filter("ceil",(function(){return function(n){return Math.ceil(n)}})),l.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],u.$inject=["$scope","$uibModalInstance","popoverMsg"],p.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],f.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},82:function(n,e){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(n){return{getConnectors:function(){return n.get("rest/connectors")},initConnector:function(e){return n.get("rest/connectors/options?prefix="+e)},hasConnector:function(e){return n.get("rest/connectors/existing?prefix="+e)},checkConnector:function(e){return n.post("rest/connectors/check",e,{headers:{"Content-Type":"text/plain"}})}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[87,268],{145:function(n,e,t){"use strict";t.r(e);t(38),t(82);function o(n){const e=[];return Object.keys(n).forEach((function(t){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]))})),e.join("&")}function r(n,e){return _.reduce(n,(function(n,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(e.instant("externalsync.empty.value.key.error",{value:t.value}));if(n.hasOwnProperty(t.key))throw new Error(e.instant("externalsync.duplicate.key.error",{key:t.key}));n[t.key]=t.value}return n}),{})}function i(n,e){for(let o=0;o<e.length;o++){const r=e[o];if("StringArray"===r.__type)n[r.__name]||(n[r.__name]=[""]);else if("OptionArray"===r.__type)if(n[r.__name])for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];if("Boolean"===t.__type)for(let e=0;e<n[r.__name].length;e++){const o=n[r.__name][e];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{n[r.__name]=[];const e={};for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];"StringArray"===t.__type?e[t.__name]=[""]:e[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}n[r.__name].push(e)}else"Map"===r.__type?n[r.__name]?n[r.__name]=(t=n[r.__name],_.map(t,(function(n,e){return{key:e,value:n}}))):n[r.__name]=[]:"JsonString"===r.__type?!n[r.__name]||n[r.__name]instanceof String||"string"==typeof n[r.__name]||(n[r.__name]=angular.toJson(n[r.__name],2)):angular.isUndefined(n[r.__name])&&(n[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return n}function c(n,e,t){return n.post("repositories/"+e,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function a(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const c=function n(e,t){const o={};return _.each(t,(function(t){angular.isDefined(e[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(e[t.__name],(function(e){o[t.__name].push(n(e,t.__childOptions))}))):o[t.__name]=_.cloneDeep(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?c[o[n].__name]=r(c[o[n].__name],$translate):"JsonString"===o[n].__type&&(c[o[n].__name]=angular.fromJson(c[o[n].__name]))}catch(e){return i(o[n].__label,e.message),null}!function n(e){Array.isArray(e)&&(e=_.filter(e,(function(n){return null!==n&&(!n.trim||""!==n.trim())})));return Object.keys(e).forEach((function(t){""!==e[t]&&null!=e[t]||!1===e[t]?"object"==typeof e[t]&&(e[t]=n(e[t])):delete e[t]})),e}(c);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+a(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(c,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,p,f,d,g){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:a(e)+t,name:t,inline:!1,doneCallback:function(){n.beingBuiltConnector.modalInstance.dismiss("cancel")}}),n.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:n}),n.beingBuiltConnector.modalInstance}function C(e,r,i){const c=y(e.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(g.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){c.dismiss("cancel")}))}n.loader=!1,n.controllers=[],n.existing={},n.definitions={},n.getLoaderMessage=function(){const e=(Date.now()-n.loaderStartTime)/1e3,t=n.getHumanReadableSeconds(e);let o="";return o=n.progressMessage?n.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),n.extraMessage&&e>10&&(o+="\n"+n.extraMessage),o},n.setLoader=function(e,t,o){e?(n.loader=!0,n.loaderStartTime=Date.now(),n.progressMessage=t,n.extraMessage=o):(n.loader=!1,n.progressMessage="",n.extraMessage="")},n.initConnector=function(e){return d.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),p.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return c(e,t.getActiveRepository(),n)}(o).then((function(e){const t=function(n){if(n.bindings)for(let e=0;e<n.bindings.length;e++)try{const t=JSON.parse(n.bindings[e].status.value);if("BUILDING"===t.status)return{connector:n.bindings[e].connector.value,status:t}}catch(n){console.error(n)}return{}}(e.data.results);if(t.connector){const e=t.connector.split(/#/);e[0]=e[0].replace(/\/instance$/,"#"),o=e[0],r=e[1],m(),$.extend(n.beingBuiltConnector,{iri:a(o)+r,name:r,inline:!0,doneCallback:function(){n.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){n.setLoader(!1)})):n.setLoader(!1)}))})).catch((function(e){n.setLoader(!1),l.error(getError(e),g.instant("externalsync.could.not.get.connectors.error"))})),n.existing={})},n.getOptions=function(e){return n.definitions[e.key]},n.isEmpty=function(n){return angular.isObject(n)&&0===Object.keys(n).length},n.toPrettyJson=function(n){return angular.toJson(n,2)},n.$watch((function(){return t.getActiveRepository()}),n.getConnectors),n.$watch((function(){return t.getActiveLocation()}),n.getConnectors),n.copyConnector=function(e,t){let o;angular.isUndefined(t)||(o=_.cloneDeep(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.newConnector=function(e,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.repair=function(e,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),c=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+a(u)+s+'> prefix:repairConnector ""\n}');var s,u;f.addStatements(t.getActiveRepository(),o({update:c})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(g.instant("externalsync.repair.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){i.dismiss("cancel")}))}))},n.delete=function(e,i){const c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:e.name}),g.instant("externalsync.extra.message.warning"));const a=function(n,e,t){const o=e.substring(0,e.length-1)+"/instance#";return"PREFIX prefix:<"+e+">\nINSERT DATA {\n\t<"+o+n+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(e.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:a})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(g.instant("externalsync.delete.force.success.msg",{name:e.name})),c&&l.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(g.instant("externalsync.delete.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){n.setLoader(!1)}))}))},n.viewQuery=function(e,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=n.getOptions(e);return s(t.name,e.value,i(t.values,o),o)}}})}}function u(n,e,t){n.force=!1,n.popoverMsg=t,n.ok=function(){e.close(n.force)},n.cancel=function(){e.dismiss()}}function p(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=_.cloneDeep(n.defaultValues[t][0]);n.values[t].splice(e+1,0,o)},n.addOption=function(n,e){e.splice(n+1,0,"")},n.deleteOption=function(n,e){e.splice(n,1)},n.addMapOption=function(n,e){e.splice(n+1,0,{key:"",value:""})},n.deleteMapOption=function(n,e){e.splice(n,1)},n.ok=function(){if(n.form.$valid){const t=i();t&&e.close({name:n.name,values:n.values,options:n.options,query:t})}},n.viewQuery=function(){const n=i();n&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return n}}})},n.cancel=function(){e.dismiss("cancel")}}function f(n,e,t,o,r,c,a,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:c})),n.values=a.values,n.options=s,n.name=a.name,a.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=_.cloneDeep(n.values)}function d(n,e,t,o,r){function i(){const i=function(n){const e=n.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+n+"> <"+e+"> ?status",t+="\n}",t}(n.beingBuiltConnector.iri);n.beingBuiltConnector.iri=null,n.progressInterval=e((function(){(function(n){return c(t,o.getActiveRepository(),n)})(i).then((function(t){const o=function(n){if(n.bindings&&n.bindings.length>0)try{return JSON.parse(n.bindings[0].status.value)}catch(n){console.error(n)}return{}}(t.data.results);"BUILDING"===o.status?(n.beingBuiltConnector.status=o,n.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),n.beingBuiltConnector.eta=n.getHumanReadableSeconds(o.etaSeconds),n.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),n.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||n.beingBuiltConnector.waitOnRepairStartOnce||(e.cancel(n.progressInterval),n.beingBuiltConnector.doneCallback&&n.beingBuiltConnector.doneCallback())}))}),1e3),n.$on("$destroy",(function(){e.cancel(n.progressInterval)}))}n.beingBuiltConnector=n.beingBuiltConnector||{},!n.beingBuiltConnector.inline&&n.beingBuiltConnector.iri&&i(),n.$watch("beingBuiltConnector.iri",(function(e){n.beingBuiltConnector.inline&&e&&i()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",l).controller("ExtendNewConnectorCtrl",p).controller("CreateConnectorCtrl",f).controller("CreateProgressCtrl",d).controller("DeleteConnectorCtrl",u).filter("ceil",(function(){return function(n){return Math.ceil(n)}})),l.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],u.$inject=["$scope","$uibModalInstance","popoverMsg"],p.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],f.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},82:function(n,e){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(n){return{getConnectors:function(){return n.get("rest/connectors")},initConnector:function(e){return n.get("rest/connectors/options?prefix="+e)},hasConnector:function(e){return n.get("rest/connectors/existing?prefix="+e)},checkConnector:function(e){return n.post("rest/connectors/check",e,{headers:{"Content-Type":"text/plain"}})}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[88,299],{119:function(e,i,t){"use strict";t.r(i),t.d(i,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const i=e.lastIndexOf(".");return{filename:e.substring(0,i),extension:e.substring(i+1)}}}},226:function(e,i,t){"use strict";t.r(i),t.d(i,"FilePrefixRegistry",(function(){return n}));var s=t(119);class n{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=s.FileUtils.getFilenameAndExtension(e.name).filename,t=i.lastIndexOf("-");let n=t<0?0:i.substring(t+1),r=i.substring(0,t);if(t<0?(n=0,r=i):(n=i.substring(t+1),r=i.substring(0,t)),n){n=parseInt(n);const e=this.filesPrefixRegistry[r]||0;this.filesPrefixRegistry[r]=e<n?n:e}else this.filesPrefixRegistry[r]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:t}=s.FileUtils.getFilenameAndExtension(e.name),n=`${i}-${this.getIndexForFile(i)}.${t}`;return new File([e],n,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[88,298],{119:function(e,i,t){"use strict";t.r(i),t.d(i,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const i=e.lastIndexOf(".");return{filename:e.substring(0,i),extension:e.substring(i+1)}}}},225:function(e,i,t){"use strict";t.r(i),t.d(i,"FilePrefixRegistry",(function(){return n}));var s=t(119);class n{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=s.FileUtils.getFilenameAndExtension(e.name).filename,t=i.lastIndexOf("-");let n=t<0?0:i.substring(t+1),r=i.substring(0,t);if(t<0?(n=0,r=i):(n=i.substring(t+1),r=i.substring(0,t)),n){n=parseInt(n);const e=this.filesPrefixRegistry[r]||0;this.filesPrefixRegistry[r]=e<n?n:e}else this.filesPrefixRegistry[r]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:t}=s.FileUtils.getFilenameAndExtension(e.name),n=`${i}-${this.getIndexForFile(i)}.${t}`;return new File([e],n,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[89,184],{71:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return c}));const c={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},89:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return r}));var c=n(30),o=n(71);const r={USER:"user",SERVER:"server"};function s(e){let t=r.USER,n=[],s=[],u=[],d=!0,i=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",l())},getActiveTabId:l,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:m,addFile:function(t){const n=m();n.push(t),f(n),e.emitSync("fileAdded",Object(c.cloneDeep)(t))},updateFiles:f,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:U,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",U()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){d=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){i=Object(c.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);b(t)},getResourceForUpload:function(e){return Object(c.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:b,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(c.cloneDeep)(i)}function p(){return d}function l(){return t}function f(t){u=Object(c.cloneDeep)(t),e.emitSync("filesUpdated",m())}function m(){return Object(c.cloneDeep)(u)}function U(){return Object(c.cloneDeep)(n)||[]}function R(){const e=U();let t=S();const n=[],c=[];return e.forEach(({name:e})=>{const r=t.find(({name:t})=>t===e);r&&(r.status===o.ImportResourceStatus.UPLOADED?n.push(r):c.push(r))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),b(t,!1)),e.filter(({name:e})=>!c.some(t=>e===t)).concat(t)}function b(t,n=!0){s=Object(c.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),n&&e.emitSync("resourcesUpdated",R())}function S(){return Object(c.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[89,183],{71:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return c}));const c={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},88:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return r}));var c=n(30),o=n(71);const r={USER:"user",SERVER:"server"};function s(e){let t=r.USER,n=[],s=[],u=[],d=!0,i=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",l())},getActiveTabId:l,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:m,addFile:function(t){const n=m();n.push(t),f(n),e.emitSync("fileAdded",Object(c.cloneDeep)(t))},updateFiles:f,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:U,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",U()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){d=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){i=Object(c.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);b(t)},getResourceForUpload:function(e){return Object(c.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:b,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(c.cloneDeep)(i)}function p(){return d}function l(){return t}function f(t){u=Object(c.cloneDeep)(t),e.emitSync("filesUpdated",m())}function m(){return Object(c.cloneDeep)(u)}function U(){return Object(c.cloneDeep)(n)||[]}function R(){const e=U();let t=S();const n=[],c=[];return e.forEach(({name:e})=>{const r=t.find(({name:t})=>t===e);r&&(r.status===o.ImportResourceStatus.UPLOADED?n.push(r):c.push(r))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),b(t,!1)),e.filter(({name:e})=>!c.some(t=>e===t)).concat(t)}function b(t,n=!0){s=Object(c.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),n&&e.emitSync("resourcesUpdated",R())}function S(){return Object(c.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8,40,42,53,62,88,89,164,166,167,181,182,184,185,187,273,280,297,299,303],{114:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportParsingSettings",(function(){return o}));class o{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},119:function(e,t,r){"use strict";r.r(t),r.d(t,"FileUtils",(function(){return o}));class o{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const t=e.lastIndexOf(".");return{filename:e.substring(0,t),extension:e.substring(t+1)}}}},148:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResource",(function(){return n}));var o=r(71),i=r(114),s=r(87);class n{constructor(e,t){this.hash=t(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:o.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0}isDirectory(){return s.ImportResourceType.DIRECTORY===this.type}isFile(){return s.ImportResourceType.FILE===this.type||s.ImportResourceType.URL===this.type||s.ImportResourceType.TEXT===this.type}isURL(){return s.ImportResourceType.URL===this.type}isText(){return s.ImportResourceType.TEXT===this.type}}},149:function(e,t,r){"use strict";r.r(t),r.d(t,"SortingType",(function(){return o}));const o={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},215:function(e,t,r){"use strict";r.r(t),r.d(t,"Operation",(function(){return g}));r(7),r(35),r(216),r(217);var o=r(89),i=(r(218),r(219)),s=(r(220),r(221),r(222),r(223)),n=r(83),a=r(119),p=r(224),c=r(225),l=r(0),u=r(226),d=r(149),m=r(71);const f=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet","graphdb.framework.impex.import.controllers.file-override-confirmation"]),g={IMPORT:"import",BATCH_IMPORT:"batch_import",IMPORT_SNIPPET:"import_snippet",IMPORT_URL:"import_url",UPLOAD:"upload"},h="file",R="text",S="url";f.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService",function(e,t,r,p,u,f,h,R,S,I,v,F,y,T){const b=[];let U=null;let E=void 0;e.files=[],e.fileChecked={},e.activeTabId=T.getActiveTabId(),e.popoverTemplateUrl="settingsPopoverTemplate.html",e.fileFormatsExtended=s.FileFormats.getFileFormatsExtended(),e.fileFormatsHuman=s.FileFormats.getFileFormatsHuman()+S.instant("import.gz.zip"),e.textFileFormatsHuman=s.FileFormats.getTextFileFormatsHuman(),e.maxUploadFileSizeMB=0,e.SORTING_TYPES=d.SortingType,e.TAB_IDS=o.TABS,e.toTitleCase=e=>n.toTitleCase(e),e.setSettingsFor=(t,r,o,s,n=(()=>{}))=>{$(t,r).then(r=>{e.settingsFor=t,e.settings=r,""===t||"application/ld+json"===o||"application/x-ld+ndjson"===o||t.endsWith("jsonld")||t.endsWith("zip")||t.endsWith("gz")||"directory"===e.settings.type?e.settings.hasContextLink=!0:e.settings.hasContextLink=!1;const a=_.cloneDeep(e.settings),p={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",windowClass:"import-settings-modal",resolve:{dialogModel:function(){return{operation:s,settings:_.cloneDeep(e.settings),hasParserSettings:e.isLocalLocation,defaultSettings:a,isMultiple:!t,activeTab:e.activeTabId}}},size:"lg"};v.isActive()&&(p.backdrop="static",p.keyboard=!1),u.open(p).result.then(t=>{if(e.currentFiles&&t.action===i.SettingsModalActions.UPLOAD_AND_IMPORT){const t=Object(c.filesToImportResource)(e.currentFiles,m.ImportResourceStatus.UPLOADING);T.updateResourcesForUpload(t)}e.settings=t.settings,""===e.settingsFor?e.importSelected():e.importFile(e.settingsFor,!0)},t=>{if(e.settings=t.settings,t.action===i.SettingsModalActions.CANCEL&&(e.currentFiles=[],s===g.UPLOAD&&(e.files=[])),e.currentFiles&&t.action===i.SettingsModalActions.UPLOAD_ONLY){const t=Object(c.filesToImportResource)(e.currentFiles,m.ImportResourceStatus.UPLOADING);T.updateResourcesForUpload(t)}n&&n()})})},e.updateImport=(t,r,o)=>{$(t,r).then(r=>{e.settingsFor=t,e.settings=r,e.importFile(t,o)})},e.importSelected=t=>{const r=new Set([...D(),...O()]),o=Array.from(r),i=()=>{const r=o.shift();r&&$(r).then(o=>{t&&(e.settings=o),e.importFile(r,!0,i)})};i()},e.isLocalLocation=()=>{const e=p.getActiveLocation();return e&&e.local},e.updateList=t=>{e.canWriteActiveRepo()&&e.updateListHttp(t)},e.onRepositoryChange=()=>{e.setRestricted(),e.isRestricted||(e.updateList(!0),x())},e.onImport=t=>{e.setSettingsFor(t.importResource.name,!1,t.importResource.format,g.IMPORT)},e.onStopImport=r=>{const i=r.importResource;(e.activeTabId===o.TABS.USER?y.stopUserDataImport:y.stopServerImport)(p.getActiveRepository(),{name:i.name,type:i.type}).success((function(){e.updateList()})).error((function(e){t.warning(S.instant("import.error.could.not.stop",{data:getError(e)}))}))},e.onRemove=e=>{const t=e.map(e=>e.name);A(t)},e.onReset=e=>{L(e,!1)},e.importAll=(t,r)=>{if(r)e.importSelected(t,r);else{let o="";1===t.length&&(o=t[0].importResource.name),e.setSettingsFor(o,r,void 0,g.BATCH_IMPORT)}},e.onEditResource=t=>{t.importResource.isText()&&e.openTextSnippetDialog(t.importResource)};const x=()=>(E=void 0,e.canWriteActiveRepo()?y.getDefaultSettings(p.getActiveRepository()).success((function(e){return E=e,E})).error((function(e){t.warning(S.instant("import.error.default.settings",{data:getError(e)}))})):Promise.resolve(E)),O=()=>T.getSelectedFilesNames(),D=()=>e.currentFiles.filter(e=>e.name).map(e=>e.name),A=(e=[])=>{const t="<br/>"+e.join("<br/>"),r=Object(l.decodeHTML)(S.instant("import.remove.confirm.msg",{name:t}));F.openConfirmation(S.instant("common.confirm"),r,()=>{L(e,!0)})},$=(t,r)=>r||_.isEmpty(t)||_.isEmpty(e.savedSettings[t])?(E?Promise.resolve(angular.copy(E)):x().then(()=>angular.copy(E))).then(e=>e):Promise.resolve(e.savedSettings[t]);e.updateListHttp=r=>{if(!p.getActiveRepository())return Promise.resolve();const i=e.activeTabId===o.TABS.USER?y.getUploadedFiles:y.getServerFiles,s=e.activeTabId;return i(p.getActiveRepository()).success((function(t){s===T.getActiveTabId()&&(T.updateImportedResources(Object(c.toImportResource)(t)),0===e.files.length||r?(e.files=t,T.updateFiles(e.files),e.files.forEach((function(t){t.type||(t.type=e.defaultType)}))):e.files.forEach((function(r){const o=_.find(t,_.matches({name:r.name}));r.status&&o&&_.assign(r,o),r.type||(r.type=e.defaultType)})),r&&o.TABS.USER===e.activeTabId&&(e.files=_.filter(e.files,(function(e){return void 0!==e.status})),T.updateFiles(e.files)),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"))})).error((function(e){t.warning(S.instant("import.error.could.not.get.files",{data:getError(e)}))}))};const L=(r,i)=>{if(!r||r.length<1)return;(e.activeTabId===o.TABS.USER?y.resetUserDataStatus:y.resetServerFileStatus)(p.getActiveRepository(),r,i).success((function(){e.updateList(!0)})).error((function(e){t.warning(S.instant("import.error.could.not.clear",{data:getError(e)}))}))},P=()=>{b.forEach(e=>e())},w=t=>{e.activeTabId=t,T.updateImportedResources([]),T.updateResourcesForUpload([]),T.updateShowLoader(!0),e.updateListHttp(!0).finally(()=>T.updateShowLoader(!1))};e.importViewControllerInit=()=>{b.push(e.$on("repositoryIsSet",e.onRepositoryChange)),b.push(e.$on("$destroy",()=>r.cancel(U))),b.push(T.onActiveTabIdUpdated(e=>w(e))),e.$on("$destroy",P),I.getInfo().success((function(t){e.appData={},e.appData.properties={};for(let r=0;r<t.length;r++)e.appData.properties[t[r].key]={source:t[r].source,value:t[r].value};e.maxUploadFileSizeMB=a.FileUtils.convertBytesToMegabytes(e.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(e){const r=getError(e);t.error(r,S.instant("common.error"))})),x(),U=r(()=>{e.updating||e.updateList(!1)},4e3),w(T.getActiveTabId())}}]),f.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(e,t,r,i,s,n,a){e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.modified",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType="server",e.tabId="#import-server",e.importSelected=e=>{p(a.getSelectedFilesNames(),e)},e.importFile=function(e){p([e])};const p=function(r,o){e.canWriteActiveRepo()&&n.importServerFiles(s.getActiveRepository(),{importSettings:o?null:e.settings,fileNames:r}).success((function(){e.updateList(),e.fileChecked={}})).error((function(e){t.error(i.instant("import.could.not.send.file",{data:getError(e)}))}))};o.TABS.SERVER===a.getActiveTabId()&&e.importViewControllerInit()}]),f.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(e,t,r,i,s,n,c,l,d,f,I){const v=new u.FilePrefixRegistry,F=[];e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.uploaded",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType=h,e.tabId="#import-user",e.currentFiles=[];let y=!1;e.pastedDataIdx=1,e.fileSelected=function(t,r,o,i,s){const n={files:o,cancel:!1};I.emit("filesForUploadSelected",n,t=>{if(!t.cancel){const t=s||[];T(t);const r=t.map(e=>e.name);let i=o||[];i=i.filter(e=>!r.includes(e.name)),O(i);const n=[],a=[];i.forEach(t=>{e.files.some(e=>e.name===t.name)?n.push(t):a.push(t)}),n.length>0?D(n,a):(e.currentFiles=[...i],y=!0,A())}})},e.importFile=(r,o,i)=>{const n=e.files.find(e=>e.name===r);n?n.type===R?b(n,o,i):n.type===S?E(n,o,i):x(n,o,i):t.warning(s.instant("import.no.such.file",{name:r}))},e.openTextSnippetDialog=t=>{t&&t.data;i.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return t?t.data:""},format:function(){return t?t.format:"text/turtle"}}}).result.then(r=>{t?(t.data===r.text&&t.format===r.format||t.status===m.ImportResourceStatus.NONE||(t.status=m.ImportResourceStatus.NONE,t.message=s.instant("import.text.snippet.not.imported")),t.data=r.text,t.format=r.format,U(t)):(t={type:"text",name:"Text snippet "+p.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},e.files.unshift(t),e.updateImport(t.name,!1,!1)),r.startImport&&e.setSettingsFor(t.name,!1,t.format,g.IMPORT_SNIPPET)})},e.rdfDataFromURL=()=>{i.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:e}).result.then((function(t){const r=_.find(e.files,{type:"url",name:t.url});r?r.format=t.format:e.files.unshift({type:"url",name:t.url,format:t.format,data:t.url}),e.updateImport(t.url,!0,!1),t.startImport&&e.setSettingsFor(t.url,!0,t.format,g.IMPORT_URL)}))};const T=e=>{e.length>0&&e.forEach((function(e){t.warning(s.instant("import.large.file",{name:e.name,size:a.FileUtils.convertBytesToMegabytes(e.size)}))}))},b=(r,o,i)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(o?c.importTextSnippet:c.updateTextSnippet)(n.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(s.instant("import.could.not.send.data",{data:getError(e)})),r.status=m.ImportResourceStatus.ERROR,r.message=getError(e)})).finally(i||function(){})},U=r=>{e.updating=!0,c.updateTextSnippet(n.getActiveRepository(),r).success((function(e){})).error((function(e){t.error(s.instant("import.could.not.update.text",{data:getError(e)}))})).finally((function(){e.updating=!1}))},E=(r,o,i)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(o?c.importFromUrl:c.updateFromUrl)(n.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(s.instant("import.could.not.send.url",{data:getError(e)}))})).finally(i||function(){})},x=(r,o,i)=>{e.settings.name=r.name;const a=l.createUploadPayload(r,e.settings);(o?l.uploadUserDataFile:l.updateUserDataFile)(n.getActiveRepository(),r,a).progress(e=>{const t=parseInt(100*e.loaded/e.total)||0,o=s.instant("import.file.upload.progress",{progress:t}),i=f.getResourceForUpload(r.name);i&&i.status!==m.ImportResourceStatus.UPLOAD_ERROR&&(i.status=t>=100?m.ImportResourceStatus.UPLOADED:m.ImportResourceStatus.UPLOADING,i.message=o,f.updateResourceForUpload(i))}).success(t=>{const o=f.getResourceForUpload(r.name);o&&o.status!==m.ImportResourceStatus.UPLOAD_ERROR&&(o.status=m.ImportResourceStatus.UPLOADED,o.message=void 0,f.updateResourceForUpload(o)),e.updateList()}).error(e=>{let o="";o=e?s.instant("import.could.not.upload.file",{data:o}):s.instant("import.upload.file.failure"),t.error(o),r.status=m.ImportResourceStatus.ERROR,r.message=o;const i=f.getResourceForUpload(r.name);i&&i.status!==m.ImportResourceStatus.UPLOADED&&(i.status=m.ImportResourceStatus.UPLOAD_ERROR,i.message=o,f.updateResourceForUpload(i))}).finally(()=>{e.currentFiles=e.currentFiles.filter(({name:e})=>e!==r.name),i()})},O=e=>{e.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const o=e.indexOf(r);o>-1&&e.splice(o,1),t.error(s.instant("import.could.not.upload",{name:r.name}))}}))},D=(t,r)=>{const o=t.map(e=>e.name).join("<br/>");i.open({templateUrl:"js/angular/import/templates/file-override-confirmation.html",controller:"FileOverrideConfirmationController",windowClass:"confirm-duplicate-files-dialog",resolve:{duplicatedFiles:()=>o}}).result.then(o=>{if(o.overwrite)e.currentFiles.length?e.currentFiles=[...t,...r]:e.currentFiles.push(...t,...r);else{const o=v.prefixDuplicates(t);e.currentFiles=[...e.currentFiles,...o,...r]}y=!0,A()})},A=()=>{if(e.files=_.uniqBy(_.union(_.map(e.currentFiles,(function(e){return{name:e.name,type:"file",file:e}})),e.files),(function(e){return e.name})),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"),y&&e.currentFiles.length>0){$(),e.currentFiles.forEach(t=>{e.fileChecked[t.name]=!0});let t="";1===e.currentFiles.length&&(t=e.currentFiles[0].name),e.setSettingsFor(t,!1,void 0,g.UPLOAD,()=>{e.currentFiles.forEach(t=>{e.updateImport(t.name,!1,!1)})})}},$=()=>{Object.keys(e.fileChecked).forEach(t=>{e.fileChecked[t]=!1})};e.$on("$destroy",()=>{F.forEach(e=>e())});o.TABS.USER===f.getActiveTabId()&&(e.importViewControllerInit(),F.push(f.onFilesUpdated(e=>{v.buildPrefixesRegistry(e)})))}])},216:function(e,t){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",o),o.$inject=["$http"];const r="rest/repositories";function o(e){return{getDefaultSettings:function(t){return e.get(`${r}/${t}/import/settings/default`)},getUploadedFiles:function(t){return e.get(`${r}/${t}/import/upload`)},getServerFiles:function(t){return e.get(`${r}/${t}/import/server`)},importServerFiles:function(t,o){return e.post(`${r}/${t}/import/server`,o)},importTextSnippet:function(t,o){return e.post(`${r}/${t}/import/upload/text`,o)},updateTextSnippet:function(t,o){return e.post(`${r}/${t}/import/upload/update/text`,o)},importFromUrl:function(t,o){return e.post(`${r}/${t}/import/upload/url`,o)},updateFromUrl:function(t,o){return e.post(`${r}/${t}/import/upload/update/url`,o)},stopServerImport:function(t,o){return e.delete(`${r}/${t}/import/server`,{params:o})},stopUserDataImport:function(t,o){return e.delete(`${r}/${t}/import/upload`,{params:o})},resetServerFileStatus:function(t,o,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/server/status`,params:{remove:i},data:o,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(t,o,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/upload/status`,params:{remove:i},data:o,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},217:function(e,t){angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",r),r.$inject=["$http","Upload","$translate"];function r(e,t,r){return{createUploadPayload:function(e,r){let o;o=e.file?{file:e.file,importSettings:t.jsonBlob(r)}:{importSettings:t.jsonBlob(r)};return o},uploadUserDataFile:function(e,r,o){return t.upload({url:`rest/repositories/${e}/import/upload/file`,data:o})},updateUserDataFile:function(e,r,o){return t.upload({url:`rest/repositories/${e}/import/upload/update/file`,data:o})}}}},218:function(e,t,r){"use strict";r.r(t);var o=r(89);function i(e,t,r){let i;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const n=()=>{if(i.isPristine(e.activeTabId)){const t=r.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=i.isHelpVisible(e.activeTabId)};e.openTab=e=>{r.updateActiveTabId(e)},e.toggleHelp=()=>{i.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),n()};const a=[];a.push(r.onActiveTabIdUpdated(r=>{e.activeTabId=r,t.hash(e.activeTabId),n()})),a.push(r.onResourcesUpdated(n));e.$on("$destroy",()=>a.forEach(e=>e())),(()=>{i=new s;const r=t.hash()||o.TABS.USER;e.openTab(r),n()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",i),i.$inject=["$scope","$location","ImportContextService"];class s{constructor(){this._helpVisibility={[o.TABS.USER]:{isHelpVisible:void 0},[o.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,t){this._helpVisibility[e].isHelpVisible=t}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},219:function(e,t,r){"use strict";r.r(t),r.d(t,"SettingsModalActions",(function(){return s}));var o=r(89),i=r(215);angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",n);const s={UPLOAD_ONLY:"upload_only",UPLOAD_AND_IMPORT:"upload_and_import",CANCEL:"cancel",CANCEL_IMPORT:"cancel_import"};function n(e,t,r,n,a,p){e.settings=p.settings,e.hasParserSettings=p.hasParserSettings,e.isMultiple=p.isMultiple,e.enableReplace=!(!e.settings.replaceGraphs||!e.settings.replaceGraphs.length),e.showAdvancedSettings=!1,e.activeTab=p.activeTab,e.userTabId=o.TABS.USER,e.isUploadOperation=p.operation===i.Operation.UPLOAD,e.hasError=function(e,t){return _.find(e,(function(e){return t===e.$name}))},e.ok=function(){e.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),e.settingsForm.$valid&&(l(),t.close(c(s.UPLOAD_AND_IMPORT)))},e.cancel=function(){l(),t.dismiss(c(s.CANCEL))},e.onlyUpload=function(){l(),t.dismiss(c(s.UPLOAD_ONLY))},e.cancelImport=function(){l(),t.dismiss(c(s.CANCEL_IMPORT))},e.close=function(){l(),t.dismiss(c(s.CANCEL))},e.reset=function(){e.settings=_.cloneDeep(p.defaultSettings),e.target="data"},e.addReplaceGraph=function(t){let o=!0;"default"!==t&&(o=n.isValidIri(t,t.toString())),e.settingsForm.replaceGraph.$setTouched(),e.settingsForm.replaceGraph.$setValidity("replaceGraph",o),e.settingsForm.replaceGraph.$valid&&(e.settings.replaceGraphs=e.settings.replaceGraphs||[],-1===_.indexOf(e.settings.replaceGraphs,t)?(e.replaceGraph="",e.settings.replaceGraphs.push(t)):r.warning(a.instant("import.graph.already.in.list")))},e.checkEnterReplaceGraph=function(t,r){13===t.keyCode&&(t.preventDefault(),e.addReplaceGraph(r))},e.switchParserSettings=function(){e.showAdvancedSettings=!e.showAdvancedSettings};const c=function(t){return{settings:e.settings,action:t}},l=function(){"default"===e.target?e.settings.context="default":"data"===e.target&&(e.settings.context=""),e.enableReplace?"default"!==e.target&&"named"!==e.target||(e.settings.replaceGraphs=[e.settings.context]):e.settings.replaceGraphs=[]};e.settings.context?"default"===e.settings.context?(e.target="default",e.settings.context=""):e.target="named":e.target="data"}n.$inject=["$scope","$uibModalInstance","toastr","UriUtils","$translate","dialogModel"]},220:function(e,t){function r(e,t){e.importFormat={name:"Auto",type:""},e.startImport=!0,e.cancel=function(){t.dismiss()},e.ok=function(){t.close({url:e.dataUrl,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},221:function(e,t){function r(e,t,r,o){e.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],e.rdfText=r,e.importFormat=e.importFormats.find(e=>e.type===o),e.startImport=!0,e.sizeLimit=1e5,e.setFormat=t=>{e.importFormat=t},e.cancel=()=>{t.dismiss()},e.ok=()=>{t.close({text:e.rdfText,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},222:function(e,t,r){"use strict";r.r(t);var o=r(0);function i(e,t,r,i,s){e.message=i.trustAsHtml(Object(o.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:s}))),e.cancel=()=>{t.dismiss()},e.keepBoth=()=>{t.close({overwrite:!1})},e.overwrite=()=>{t.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",i),i.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},223:function(e,t,r){"use strict";r.r(t),r.d(t,"FILE_FORMATS",(function(){return o})),r.d(t,"FileFormats",(function(){return i}));const o=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class i{static getGZS(){return o.map(e=>`.${e}.gz`)}static getBasics(){return o.map(e=>"."+e)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(e=>".brf"!==e).join(" ")}}},224:function(e,t,r){"use strict";r.r(t),r.d(t,"DateUtils",(function(){return o}));class o{static formatCurrentDateTime(){const e=new Date;return e.getFullYear()+"-"+_.padStart(e.getMonth()+1,2,"0")+"-"+_.padStart(e.getDate(),2,"0")+" "+_.padStart(e.getHours(),2,"0")+":"+_.padStart(e.getMinutes(),2,"0")+":"+_.padStart(e.getSeconds(),2,"0")+"."+_.padStart(e.getMilliseconds(),3,"0")}}},225:function(e,t,r){"use strict";r.r(t),r.d(t,"toImportResource",(function(){return s})),r.d(t,"fileToImportResource",(function(){return n})),r.d(t,"filesToImportResource",(function(){return a}));var o=r(148),i=r(17);const s=e=>{const t=Object(i.md5HashGenerator)();return e.map(e=>new o.ImportResource(e,t))},n=e=>{const t=Object(i.md5HashGenerator)();return new o.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:e.lastModified,file:e},t)},a=(e,t)=>{const r=Object(i.md5HashGenerator)();return e.map(e=>new o.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:void 0,file:e,status:t},r))}},226:function(e,t,r){"use strict";r.r(t),r.d(t,"FilePrefixRegistry",(function(){return i}));var o=r(119);class i{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const t=o.FileUtils.getFilenameAndExtension(e.name).filename,r=t.lastIndexOf("-");let i=r<0?0:t.substring(r+1),s=t.substring(0,r);if(r<0?(i=0,s=t):(i=t.substring(r+1),s=t.substring(0,r)),i){i=parseInt(i);const e=this.filesPrefixRegistry[s]||0;this.filesPrefixRegistry[s]=e<i?i:e}else this.filesPrefixRegistry[s]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:t,extension:r}=o.FileUtils.getFilenameAndExtension(e.name),i=`${t}-${this.getIndexForFile(t)}.${r}`;return new File([e],i,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let t=this.filesPrefixRegistry[e];return void 0!==t?t++:t=0,this.filesPrefixRegistry[e]=t,t}}},71:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return o}));const o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},83:function(e,t,r){"use strict";r.r(t),r.d(t,"removeSpecialChars",(function(){return i})),r.d(t,"toBoolean",(function(){return s})),r.d(t,"toTitleCase",(function(){return n}));var o=r(30);const i=e=>e.replace(/[()']/g,""),s=e=>"string"==typeof e?"true"===e:Boolean(e),n=e=>e?Object(o.upperFirst)(e.toLowerCase()):e},87:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return o}));const o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},89:function(e,t,r){"use strict";r.r(t),r.d(t,"TABS",(function(){return s}));var o=r(30),i=r(71);const s={USER:"user",SERVER:"server"};function n(e){let t=s.USER,r=[],n=[],a=[],p=!0,c=[];return{updateActiveTabId:function(r){t=r,e.emitSync("activeTabIdUpdated",d())},getActiveTabId:d,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:f,addFile:function(t){const r=f();r.push(t),m(r),e.emitSync("fileAdded",Object(o.cloneDeep)(t))},updateFiles:m,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:g,updateImportedResources:function(t){r=t,e.emitSync("importedResourcesUpdated",g()),e.emitSync("resourcesUpdated",h())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:h,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){p=t,e.emitSync("showLoaderUpdated",u())},getShowLoader:u,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){c=Object(o.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",l())},getSelectedFilesNames:l,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),r=t.find(({name:t})=>t===e.name);r?Object.assign(r,e):t.push(e);R(t)},getResourceForUpload:function(e){return Object(o.cloneDeep)(n.find(({name:t})=>t===e))},updateResourcesForUpload:R,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function l(){return Object(o.cloneDeep)(c)}function u(){return p}function d(){return t}function m(t){a=Object(o.cloneDeep)(t),e.emitSync("filesUpdated",f())}function f(){return Object(o.cloneDeep)(a)}function g(){return Object(o.cloneDeep)(r)||[]}function h(){const e=g();let t=S();const r=[],o=[];return e.forEach(({name:e})=>{const s=t.find(({name:t})=>t===e);s&&(s.status===i.ImportResourceStatus.UPLOADED?r.push(s):o.push(s))}),r.length>0&&(t=t.filter(({name:e})=>!r.some(({name:t})=>t===e)),R(t,!1)),e.filter(({name:e})=>!o.some(t=>e===t)).concat(t)}function R(t,r=!0){n=Object(o.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),r&&e.emitSync("resourcesUpdated",h())}function S(){return Object(o.cloneDeep)(n)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",n),n.$inject=["EventEmitterService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[9,41,42,52,62,88,89,163,165,166,180,181,183,184,186,272,279,296,298,302],{114:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportParsingSettings",(function(){return o}));class o{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},119:function(e,t,r){"use strict";r.r(t),r.d(t,"FileUtils",(function(){return o}));class o{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const t=e.lastIndexOf(".");return{filename:e.substring(0,t),extension:e.substring(t+1)}}}},146:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResource",(function(){return n}));var o=r(71),i=r(114),s=r(87);class n{constructor(e,t){this.hash=t(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:o.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0}isDirectory(){return s.ImportResourceType.DIRECTORY===this.type}isFile(){return s.ImportResourceType.FILE===this.type||s.ImportResourceType.URL===this.type||s.ImportResourceType.TEXT===this.type}isURL(){return s.ImportResourceType.URL===this.type}isText(){return s.ImportResourceType.TEXT===this.type}}},147:function(e,t,r){"use strict";r.r(t),r.d(t,"SortingType",(function(){return o}));const o={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},214:function(e,t,r){"use strict";r.r(t),r.d(t,"Operation",(function(){return g}));r(7),r(35),r(215),r(216);var o=r(88),i=(r(217),r(218)),s=(r(219),r(220),r(221),r(222)),n=r(83),a=r(119),p=r(223),c=r(224),l=r(0),u=r(225),d=r(147),m=r(71);const f=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet","graphdb.framework.impex.import.controllers.file-override-confirmation"]),g={IMPORT:"import",BATCH_IMPORT:"batch_import",IMPORT_SNIPPET:"import_snippet",IMPORT_URL:"import_url",UPLOAD:"upload"},h="file",R="text",S="url";f.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService",function(e,t,r,p,u,f,h,R,S,I,v,F,y,T){const b=[];let U=null;let E=void 0;e.files=[],e.fileChecked={},e.activeTabId=T.getActiveTabId(),e.popoverTemplateUrl="settingsPopoverTemplate.html",e.fileFormatsExtended=s.FileFormats.getFileFormatsExtended(),e.fileFormatsHuman=s.FileFormats.getFileFormatsHuman()+S.instant("import.gz.zip"),e.textFileFormatsHuman=s.FileFormats.getTextFileFormatsHuman(),e.maxUploadFileSizeMB=0,e.SORTING_TYPES=d.SortingType,e.TAB_IDS=o.TABS,e.toTitleCase=e=>n.toTitleCase(e),e.setSettingsFor=(t,r,o,s,n=(()=>{}))=>{$(t,r).then(r=>{e.settingsFor=t,e.settings=r,""===t||"application/ld+json"===o||"application/x-ld+ndjson"===o||t.endsWith("jsonld")||t.endsWith("zip")||t.endsWith("gz")||"directory"===e.settings.type?e.settings.hasContextLink=!0:e.settings.hasContextLink=!1;const a=_.cloneDeep(e.settings),p={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",windowClass:"import-settings-modal",resolve:{dialogModel:function(){return{operation:s,settings:_.cloneDeep(e.settings),hasParserSettings:e.isLocalLocation,defaultSettings:a,isMultiple:!t,activeTab:e.activeTabId}}},size:"lg"};v.isActive()&&(p.backdrop="static",p.keyboard=!1),u.open(p).result.then(t=>{if(e.currentFiles&&t.action===i.SettingsModalActions.UPLOAD_AND_IMPORT){const t=Object(c.filesToImportResource)(e.currentFiles,m.ImportResourceStatus.UPLOADING);T.updateResourcesForUpload(t)}e.settings=t.settings,""===e.settingsFor?e.importSelected():e.importFile(e.settingsFor,!0)},t=>{if(e.settings=t.settings,t.action===i.SettingsModalActions.CANCEL&&(e.currentFiles=[],s===g.UPLOAD&&(e.files=[])),e.currentFiles&&t.action===i.SettingsModalActions.UPLOAD_ONLY){const t=Object(c.filesToImportResource)(e.currentFiles,m.ImportResourceStatus.UPLOADING);T.updateResourcesForUpload(t)}n&&n()})})},e.updateImport=(t,r,o)=>{$(t,r).then(r=>{e.settingsFor=t,e.settings=r,e.importFile(t,o)})},e.importSelected=t=>{const r=new Set([...D(),...O()]),o=Array.from(r),i=()=>{const r=o.shift();r&&$(r).then(o=>{t&&(e.settings=o),e.importFile(r,!0,i)})};i()},e.isLocalLocation=()=>{const e=p.getActiveLocation();return e&&e.local},e.updateList=t=>{e.canWriteActiveRepo()&&e.updateListHttp(t)},e.onRepositoryChange=()=>{e.setRestricted(),e.isRestricted||(e.updateList(!0),x())},e.onImport=t=>{e.setSettingsFor(t.importResource.name,!1,t.importResource.format,g.IMPORT)},e.onStopImport=r=>{const i=r.importResource;(e.activeTabId===o.TABS.USER?y.stopUserDataImport:y.stopServerImport)(p.getActiveRepository(),{name:i.name,type:i.type}).success((function(){e.updateList()})).error((function(e){t.warning(S.instant("import.error.could.not.stop",{data:getError(e)}))}))},e.onRemove=e=>{const t=e.map(e=>e.name);A(t)},e.onReset=e=>{L(e,!1)},e.importAll=(t,r)=>{if(r)e.importSelected(t,r);else{let o="";1===t.length&&(o=t[0].importResource.name),e.setSettingsFor(o,r,void 0,g.BATCH_IMPORT)}},e.onEditResource=t=>{t.importResource.isText()&&e.openTextSnippetDialog(t.importResource)};const x=()=>(E=void 0,e.canWriteActiveRepo()?y.getDefaultSettings(p.getActiveRepository()).success((function(e){return E=e,E})).error((function(e){t.warning(S.instant("import.error.default.settings",{data:getError(e)}))})):Promise.resolve(E)),O=()=>T.getSelectedFilesNames(),D=()=>e.currentFiles.filter(e=>e.name).map(e=>e.name),A=(e=[])=>{const t="<br/>"+e.join("<br/>"),r=Object(l.decodeHTML)(S.instant("import.remove.confirm.msg",{name:t}));F.openConfirmation(S.instant("common.confirm"),r,()=>{L(e,!0)})},$=(t,r)=>r||_.isEmpty(t)||_.isEmpty(e.savedSettings[t])?(E?Promise.resolve(angular.copy(E)):x().then(()=>angular.copy(E))).then(e=>e):Promise.resolve(e.savedSettings[t]);e.updateListHttp=r=>{if(!p.getActiveRepository())return Promise.resolve();const i=e.activeTabId===o.TABS.USER?y.getUploadedFiles:y.getServerFiles,s=e.activeTabId;return i(p.getActiveRepository()).success((function(t){s===T.getActiveTabId()&&(T.updateImportedResources(Object(c.toImportResource)(t)),0===e.files.length||r?(e.files=t,T.updateFiles(e.files),e.files.forEach((function(t){t.type||(t.type=e.defaultType)}))):e.files.forEach((function(r){const o=_.find(t,_.matches({name:r.name}));r.status&&o&&_.assign(r,o),r.type||(r.type=e.defaultType)})),r&&o.TABS.USER===e.activeTabId&&(e.files=_.filter(e.files,(function(e){return void 0!==e.status})),T.updateFiles(e.files)),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"))})).error((function(e){t.warning(S.instant("import.error.could.not.get.files",{data:getError(e)}))}))};const L=(r,i)=>{if(!r||r.length<1)return;(e.activeTabId===o.TABS.USER?y.resetUserDataStatus:y.resetServerFileStatus)(p.getActiveRepository(),r,i).success((function(){e.updateList(!0)})).error((function(e){t.warning(S.instant("import.error.could.not.clear",{data:getError(e)}))}))},P=()=>{b.forEach(e=>e())},w=t=>{e.activeTabId=t,T.updateImportedResources([]),T.updateResourcesForUpload([]),T.updateShowLoader(!0),e.updateListHttp(!0).finally(()=>T.updateShowLoader(!1))};e.importViewControllerInit=()=>{b.push(e.$on("repositoryIsSet",e.onRepositoryChange)),b.push(e.$on("$destroy",()=>r.cancel(U))),b.push(T.onActiveTabIdUpdated(e=>w(e))),e.$on("$destroy",P),I.getInfo().success((function(t){e.appData={},e.appData.properties={};for(let r=0;r<t.length;r++)e.appData.properties[t[r].key]={source:t[r].source,value:t[r].value};e.maxUploadFileSizeMB=a.FileUtils.convertBytesToMegabytes(e.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(e){const r=getError(e);t.error(r,S.instant("common.error"))})),x(),U=r(()=>{e.updating||e.updateList(!1)},4e3),w(T.getActiveTabId())}}]),f.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(e,t,r,i,s,n,a){e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.modified",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType="server",e.tabId="#import-server",e.importSelected=e=>{p(a.getSelectedFilesNames(),e)},e.importFile=function(e){p([e])};const p=function(r,o){e.canWriteActiveRepo()&&n.importServerFiles(s.getActiveRepository(),{importSettings:o?null:e.settings,fileNames:r}).success((function(){e.updateList(),e.fileChecked={}})).error((function(e){t.error(i.instant("import.could.not.send.file",{data:getError(e)}))}))};o.TABS.SERVER===a.getActiveTabId()&&e.importViewControllerInit()}]),f.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(e,t,r,i,s,n,c,l,d,f,I){const v=new u.FilePrefixRegistry,F=[];e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.uploaded",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType=h,e.tabId="#import-user",e.currentFiles=[];let y=!1;e.pastedDataIdx=1,e.fileSelected=function(t,r,o,i,s){const n={files:o,cancel:!1};I.emit("filesForUploadSelected",n,t=>{if(!t.cancel){const t=s||[];T(t);const r=t.map(e=>e.name);let i=o||[];i=i.filter(e=>!r.includes(e.name)),O(i);const n=[],a=[];i.forEach(t=>{e.files.some(e=>e.name===t.name)?n.push(t):a.push(t)}),n.length>0?D(n,a):(e.currentFiles=[...i],y=!0,A())}})},e.importFile=(r,o,i)=>{const n=e.files.find(e=>e.name===r);n?n.type===R?b(n,o,i):n.type===S?E(n,o,i):x(n,o,i):t.warning(s.instant("import.no.such.file",{name:r}))},e.openTextSnippetDialog=t=>{t&&t.data;i.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return t?t.data:""},format:function(){return t?t.format:"text/turtle"}}}).result.then(r=>{t?(t.data===r.text&&t.format===r.format||t.status===m.ImportResourceStatus.NONE||(t.status=m.ImportResourceStatus.NONE,t.message=s.instant("import.text.snippet.not.imported")),t.data=r.text,t.format=r.format,U(t)):(t={type:"text",name:"Text snippet "+p.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},e.files.unshift(t),e.updateImport(t.name,!1,!1)),r.startImport&&e.setSettingsFor(t.name,!1,t.format,g.IMPORT_SNIPPET)})},e.rdfDataFromURL=()=>{i.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:e}).result.then((function(t){const r=_.find(e.files,{type:"url",name:t.url});r?r.format=t.format:e.files.unshift({type:"url",name:t.url,format:t.format,data:t.url}),e.updateImport(t.url,!0,!1),t.startImport&&e.setSettingsFor(t.url,!0,t.format,g.IMPORT_URL)}))};const T=e=>{e.length>0&&e.forEach((function(e){t.warning(s.instant("import.large.file",{name:e.name,size:a.FileUtils.convertBytesToMegabytes(e.size)}))}))},b=(r,o,i)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(o?c.importTextSnippet:c.updateTextSnippet)(n.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(s.instant("import.could.not.send.data",{data:getError(e)})),r.status=m.ImportResourceStatus.ERROR,r.message=getError(e)})).finally(i||function(){})},U=r=>{e.updating=!0,c.updateTextSnippet(n.getActiveRepository(),r).success((function(e){})).error((function(e){t.error(s.instant("import.could.not.update.text",{data:getError(e)}))})).finally((function(){e.updating=!1}))},E=(r,o,i)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(o?c.importFromUrl:c.updateFromUrl)(n.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(s.instant("import.could.not.send.url",{data:getError(e)}))})).finally(i||function(){})},x=(r,o,i)=>{e.settings.name=r.name;const a=l.createUploadPayload(r,e.settings);(o?l.uploadUserDataFile:l.updateUserDataFile)(n.getActiveRepository(),r,a).progress(e=>{const t=parseInt(100*e.loaded/e.total)||0,o=s.instant("import.file.upload.progress",{progress:t}),i=f.getResourceForUpload(r.name);i&&i.status!==m.ImportResourceStatus.UPLOAD_ERROR&&(i.status=t>=100?m.ImportResourceStatus.UPLOADED:m.ImportResourceStatus.UPLOADING,i.message=o,f.updateResourceForUpload(i))}).success(t=>{const o=f.getResourceForUpload(r.name);o&&o.status!==m.ImportResourceStatus.UPLOAD_ERROR&&(o.status=m.ImportResourceStatus.UPLOADED,o.message=void 0,f.updateResourceForUpload(o)),e.updateList()}).error(e=>{let o="";o=e?s.instant("import.could.not.upload.file",{data:o}):s.instant("import.upload.file.failure"),t.error(o),r.status=m.ImportResourceStatus.ERROR,r.message=o;const i=f.getResourceForUpload(r.name);i&&i.status!==m.ImportResourceStatus.UPLOADED&&(i.status=m.ImportResourceStatus.UPLOAD_ERROR,i.message=o,f.updateResourceForUpload(i))}).finally(()=>{e.currentFiles=e.currentFiles.filter(({name:e})=>e!==r.name),i()})},O=e=>{e.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const o=e.indexOf(r);o>-1&&e.splice(o,1),t.error(s.instant("import.could.not.upload",{name:r.name}))}}))},D=(t,r)=>{const o=t.map(e=>e.name).join("<br/>");i.open({templateUrl:"js/angular/import/templates/file-override-confirmation.html",controller:"FileOverrideConfirmationController",windowClass:"confirm-duplicate-files-dialog",resolve:{duplicatedFiles:()=>o}}).result.then(o=>{if(o.overwrite)e.currentFiles.length?e.currentFiles=[...t,...r]:e.currentFiles.push(...t,...r);else{const o=v.prefixDuplicates(t);e.currentFiles=[...e.currentFiles,...o,...r]}y=!0,A()})},A=()=>{if(e.files=_.uniqBy(_.union(_.map(e.currentFiles,(function(e){return{name:e.name,type:"file",file:e}})),e.files),(function(e){return e.name})),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"),y&&e.currentFiles.length>0){$(),e.currentFiles.forEach(t=>{e.fileChecked[t.name]=!0});let t="";1===e.currentFiles.length&&(t=e.currentFiles[0].name),e.setSettingsFor(t,!1,void 0,g.UPLOAD,()=>{e.currentFiles.forEach(t=>{e.updateImport(t.name,!1,!1)})})}},$=()=>{Object.keys(e.fileChecked).forEach(t=>{e.fileChecked[t]=!1})};e.$on("$destroy",()=>{F.forEach(e=>e())});o.TABS.USER===f.getActiveTabId()&&(e.importViewControllerInit(),F.push(f.onFilesUpdated(e=>{v.buildPrefixesRegistry(e)})))}])},215:function(e,t){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",o),o.$inject=["$http"];const r="rest/repositories";function o(e){return{getDefaultSettings:function(t){return e.get(`${r}/${t}/import/settings/default`)},getUploadedFiles:function(t){return e.get(`${r}/${t}/import/upload`)},getServerFiles:function(t){return e.get(`${r}/${t}/import/server`)},importServerFiles:function(t,o){return e.post(`${r}/${t}/import/server`,o)},importTextSnippet:function(t,o){return e.post(`${r}/${t}/import/upload/text`,o)},updateTextSnippet:function(t,o){return e.post(`${r}/${t}/import/upload/update/text`,o)},importFromUrl:function(t,o){return e.post(`${r}/${t}/import/upload/url`,o)},updateFromUrl:function(t,o){return e.post(`${r}/${t}/import/upload/update/url`,o)},stopServerImport:function(t,o){return e.delete(`${r}/${t}/import/server`,{params:o})},stopUserDataImport:function(t,o){return e.delete(`${r}/${t}/import/upload`,{params:o})},resetServerFileStatus:function(t,o,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/server/status`,params:{remove:i},data:o,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(t,o,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/upload/status`,params:{remove:i},data:o,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},216:function(e,t){angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",r),r.$inject=["$http","Upload","$translate"];function r(e,t,r){return{createUploadPayload:function(e,r){let o;o=e.file?{file:e.file,importSettings:t.jsonBlob(r)}:{importSettings:t.jsonBlob(r)};return o},uploadUserDataFile:function(e,r,o){return t.upload({url:`rest/repositories/${e}/import/upload/file`,data:o})},updateUserDataFile:function(e,r,o){return t.upload({url:`rest/repositories/${e}/import/upload/update/file`,data:o})}}}},217:function(e,t,r){"use strict";r.r(t);var o=r(88);function i(e,t,r){let i;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const n=()=>{if(i.isPristine(e.activeTabId)){const t=r.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=i.isHelpVisible(e.activeTabId)};e.openTab=e=>{r.updateActiveTabId(e)},e.toggleHelp=()=>{i.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),n()};const a=[];a.push(r.onActiveTabIdUpdated(r=>{e.activeTabId=r,t.hash(e.activeTabId),n()})),a.push(r.onResourcesUpdated(n));e.$on("$destroy",()=>a.forEach(e=>e())),(()=>{i=new s;const r=t.hash()||o.TABS.USER;e.openTab(r),n()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",i),i.$inject=["$scope","$location","ImportContextService"];class s{constructor(){this._helpVisibility={[o.TABS.USER]:{isHelpVisible:void 0},[o.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,t){this._helpVisibility[e].isHelpVisible=t}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},218:function(e,t,r){"use strict";r.r(t),r.d(t,"SettingsModalActions",(function(){return s}));var o=r(88),i=r(214);angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",n);const s={UPLOAD_ONLY:"upload_only",UPLOAD_AND_IMPORT:"upload_and_import",CANCEL:"cancel",CANCEL_IMPORT:"cancel_import"};function n(e,t,r,n,a,p){e.settings=p.settings,e.hasParserSettings=p.hasParserSettings,e.isMultiple=p.isMultiple,e.enableReplace=!(!e.settings.replaceGraphs||!e.settings.replaceGraphs.length),e.showAdvancedSettings=!1,e.activeTab=p.activeTab,e.userTabId=o.TABS.USER,e.isUploadOperation=p.operation===i.Operation.UPLOAD,e.hasError=function(e,t){return _.find(e,(function(e){return t===e.$name}))},e.ok=function(){e.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),e.settingsForm.$valid&&(l(),t.close(c(s.UPLOAD_AND_IMPORT)))},e.cancel=function(){l(),t.dismiss(c(s.CANCEL))},e.onlyUpload=function(){l(),t.dismiss(c(s.UPLOAD_ONLY))},e.cancelImport=function(){l(),t.dismiss(c(s.CANCEL_IMPORT))},e.close=function(){l(),t.dismiss(c(s.CANCEL))},e.reset=function(){e.settings=_.cloneDeep(p.defaultSettings),e.target="data"},e.addReplaceGraph=function(t){let o=!0;"default"!==t&&(o=n.isValidIri(t,t.toString())),e.settingsForm.replaceGraph.$setTouched(),e.settingsForm.replaceGraph.$setValidity("replaceGraph",o),e.settingsForm.replaceGraph.$valid&&(e.settings.replaceGraphs=e.settings.replaceGraphs||[],-1===_.indexOf(e.settings.replaceGraphs,t)?(e.replaceGraph="",e.settings.replaceGraphs.push(t)):r.warning(a.instant("import.graph.already.in.list")))},e.checkEnterReplaceGraph=function(t,r){13===t.keyCode&&(t.preventDefault(),e.addReplaceGraph(r))},e.switchParserSettings=function(){e.showAdvancedSettings=!e.showAdvancedSettings};const c=function(t){return{settings:e.settings,action:t}},l=function(){"default"===e.target?e.settings.context="default":"data"===e.target&&(e.settings.context=""),e.enableReplace?"default"!==e.target&&"named"!==e.target||(e.settings.replaceGraphs=[e.settings.context]):e.settings.replaceGraphs=[]};e.settings.context?"default"===e.settings.context?(e.target="default",e.settings.context=""):e.target="named":e.target="data"}n.$inject=["$scope","$uibModalInstance","toastr","UriUtils","$translate","dialogModel"]},219:function(e,t){function r(e,t){e.importFormat={name:"Auto",type:""},e.startImport=!0,e.cancel=function(){t.dismiss()},e.ok=function(){t.close({url:e.dataUrl,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},220:function(e,t){function r(e,t,r,o){e.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],e.rdfText=r,e.importFormat=e.importFormats.find(e=>e.type===o),e.startImport=!0,e.sizeLimit=1e5,e.setFormat=t=>{e.importFormat=t},e.cancel=()=>{t.dismiss()},e.ok=()=>{t.close({text:e.rdfText,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},221:function(e,t,r){"use strict";r.r(t);var o=r(0);function i(e,t,r,i,s){e.message=i.trustAsHtml(Object(o.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:s}))),e.cancel=()=>{t.dismiss()},e.keepBoth=()=>{t.close({overwrite:!1})},e.overwrite=()=>{t.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",i),i.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},222:function(e,t,r){"use strict";r.r(t),r.d(t,"FILE_FORMATS",(function(){return o})),r.d(t,"FileFormats",(function(){return i}));const o=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class i{static getGZS(){return o.map(e=>`.${e}.gz`)}static getBasics(){return o.map(e=>"."+e)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(e=>".brf"!==e).join(" ")}}},223:function(e,t,r){"use strict";r.r(t),r.d(t,"DateUtils",(function(){return o}));class o{static formatCurrentDateTime(){const e=new Date;return e.getFullYear()+"-"+_.padStart(e.getMonth()+1,2,"0")+"-"+_.padStart(e.getDate(),2,"0")+" "+_.padStart(e.getHours(),2,"0")+":"+_.padStart(e.getMinutes(),2,"0")+":"+_.padStart(e.getSeconds(),2,"0")+"."+_.padStart(e.getMilliseconds(),3,"0")}}},224:function(e,t,r){"use strict";r.r(t),r.d(t,"toImportResource",(function(){return s})),r.d(t,"fileToImportResource",(function(){return n})),r.d(t,"filesToImportResource",(function(){return a}));var o=r(146),i=r(17);const s=e=>{const t=Object(i.md5HashGenerator)();return e.map(e=>new o.ImportResource(e,t))},n=e=>{const t=Object(i.md5HashGenerator)();return new o.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:e.lastModified,file:e},t)},a=(e,t)=>{const r=Object(i.md5HashGenerator)();return e.map(e=>new o.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:void 0,file:e,status:t},r))}},225:function(e,t,r){"use strict";r.r(t),r.d(t,"FilePrefixRegistry",(function(){return i}));var o=r(119);class i{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const t=o.FileUtils.getFilenameAndExtension(e.name).filename,r=t.lastIndexOf("-");let i=r<0?0:t.substring(r+1),s=t.substring(0,r);if(r<0?(i=0,s=t):(i=t.substring(r+1),s=t.substring(0,r)),i){i=parseInt(i);const e=this.filesPrefixRegistry[s]||0;this.filesPrefixRegistry[s]=e<i?i:e}else this.filesPrefixRegistry[s]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:t,extension:r}=o.FileUtils.getFilenameAndExtension(e.name),i=`${t}-${this.getIndexForFile(t)}.${r}`;return new File([e],i,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let t=this.filesPrefixRegistry[e];return void 0!==t?t++:t=0,this.filesPrefixRegistry[e]=t,t}}},71:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return o}));const o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},83:function(e,t,r){"use strict";r.r(t),r.d(t,"removeSpecialChars",(function(){return i})),r.d(t,"toBoolean",(function(){return s})),r.d(t,"toTitleCase",(function(){return n}));var o=r(30);const i=e=>e.replace(/[()']/g,""),s=e=>"string"==typeof e?"true"===e:Boolean(e),n=e=>e?Object(o.upperFirst)(e.toLowerCase()):e},87:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return o}));const o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},88:function(e,t,r){"use strict";r.r(t),r.d(t,"TABS",(function(){return s}));var o=r(30),i=r(71);const s={USER:"user",SERVER:"server"};function n(e){let t=s.USER,r=[],n=[],a=[],p=!0,c=[];return{updateActiveTabId:function(r){t=r,e.emitSync("activeTabIdUpdated",d())},getActiveTabId:d,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:f,addFile:function(t){const r=f();r.push(t),m(r),e.emitSync("fileAdded",Object(o.cloneDeep)(t))},updateFiles:m,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:g,updateImportedResources:function(t){r=t,e.emitSync("importedResourcesUpdated",g()),e.emitSync("resourcesUpdated",h())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:h,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){p=t,e.emitSync("showLoaderUpdated",u())},getShowLoader:u,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){c=Object(o.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",l())},getSelectedFilesNames:l,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),r=t.find(({name:t})=>t===e.name);r?Object.assign(r,e):t.push(e);R(t)},getResourceForUpload:function(e){return Object(o.cloneDeep)(n.find(({name:t})=>t===e))},updateResourcesForUpload:R,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function l(){return Object(o.cloneDeep)(c)}function u(){return p}function d(){return t}function m(t){a=Object(o.cloneDeep)(t),e.emitSync("filesUpdated",f())}function f(){return Object(o.cloneDeep)(a)}function g(){return Object(o.cloneDeep)(r)||[]}function h(){const e=g();let t=S();const r=[],o=[];return e.forEach(({name:e})=>{const s=t.find(({name:t})=>t===e);s&&(s.status===i.ImportResourceStatus.UPLOADED?r.push(s):o.push(s))}),r.length>0&&(t=t.filter(({name:e})=>!r.some(({name:t})=>t===e)),R(t,!1)),e.filter(({name:e})=>!o.some(t=>e===t)).concat(t)}function R(t,r=!0){n=Object(o.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),r&&e.emitSync("resourcesUpdated",h())}function S(){return Object(o.cloneDeep)(n)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",n),n.$inject=["EventEmitterService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[90,178],{111:function(t,n,e){"use strict";e.r(n),e.d(n,"connectorTypesListMapper",(function(){return o})),e.d(n,"connectorsMapper",(function(){return r}));var s=e(94);const o=t=>{const n=new s.ConnectorTypesListModel;return t?(n.connectors=Object.keys(t).map(n=>new s.ConnectorTypeModel({name:n,prefix:t[n]})),n):n},r=t=>{const n=new s.ConnectorListModel;return t?(n.connectors=t.map(t=>new s.ConnectorModel(t)),n):n}},94:function(t,n,e){"use strict";e.r(n),e.d(n,"ConnectorTypesListModel",(function(){return s})),e.d(n,"ConnectorTypeModel",(function(){return o})),e.d(n,"ConnectorListModel",(function(){return r})),e.d(n,"ConnectorModel",(function(){return c})),e.d(n,"ConnectorSettingsModel",(function(){return i}));class s{constructor(t={}){this._connectors=t.connectors||[]}getConnectorByName(t){return this._connectors.find(n=>n.name===t)}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class o{constructor(t){this._name=t.name,this._prefix=t.prefix}get name(){return this._name}set name(t){this._name=t}get prefix(){return this._prefix}set prefix(t){this._prefix=t}}class r{constructor(t=[]){this._connectors=t.connectors}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class c{constructor(t){this._name=t.name,this._settings=new i(t)}get settings(){return this._settings}set settings(t){this._settings=t}get name(){return this._name}set name(t){this._name=t}}class i{constructor(t){this._settings=t.values||{}}get settings(){return this._settings}set settings(t){this._settings=t}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[90,177],{110:function(t,n,e){"use strict";e.r(n),e.d(n,"connectorTypesListMapper",(function(){return o})),e.d(n,"connectorsMapper",(function(){return r}));var s=e(93);const o=t=>{const n=new s.ConnectorTypesListModel;return t?(n.connectors=Object.keys(t).map(n=>new s.ConnectorTypeModel({name:n,prefix:t[n]})),n):n},r=t=>{const n=new s.ConnectorListModel;return t?(n.connectors=t.map(t=>new s.ConnectorModel(t)),n):n}},93:function(t,n,e){"use strict";e.r(n),e.d(n,"ConnectorTypesListModel",(function(){return s})),e.d(n,"ConnectorTypeModel",(function(){return o})),e.d(n,"ConnectorListModel",(function(){return r})),e.d(n,"ConnectorModel",(function(){return c})),e.d(n,"ConnectorSettingsModel",(function(){return i}));class s{constructor(t={}){this._connectors=t.connectors||[]}getConnectorByName(t){return this._connectors.find(n=>n.name===t)}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class o{constructor(t){this._name=t.name,this._prefix=t.prefix}get name(){return this._name}set name(t){this._name=t}get prefix(){return this._prefix}set prefix(t){this._prefix=t}}class r{constructor(t=[]){this._connectors=t.connectors}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class c{constructor(t){this._name=t.name,this._settings=new i(t)}get settings(){return this._settings}set settings(t){this._settings=t}get name(){return this._name}set name(t){this._name=t}}class i{constructor(t){this._settings=t.values||{}}get settings(){return this._settings}set settings(t){this._settings=t}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[91,180],{103:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(86);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))},86:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[91,179],{102:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(86);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))},86:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[92,184],{120:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var i=s(71),r=s(30);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(r.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(r.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===i.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},71:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[92,183],{120:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var i=s(71),r=s(30);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(r.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(r.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===i.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},71:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[93,196],{155:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(98);class s{constructor(){this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""}static isGenericDriver(r){return r===t.JdbcDriverType.GENERIC}static isSnowflakeDriver(r){return r===t.JdbcDriverType.SNOWFLAKE}}},98:function(r,e,i){"use strict";i.r(e),i.d(e,"JdbcDriverType",(function(){return t}));const t={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[93,195],{153:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(96);class s{constructor(){this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""}static isGenericDriver(r){return r===t.JdbcDriverType.GENERIC}static isSnowflakeDriver(r){return r===t.JdbcDriverType.SNOWFLAKE}}},96:function(r,e,i){"use strict";i.r(e),i.d(e,"JdbcDriverType",(function(){return t}));const t={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[94,239],{160:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(99);class c{constructor(){this.type=t.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return t.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return t.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return t.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return t.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return t.SimilaritySearchType.isSearchDocumentType(this.type)}}},99:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearchType",(function(){return t}));const t={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>t.SEARCH_TERM===e,isSearchAnalogicalType:e=>t.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>t.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>t.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>t.SEARCH_DOCUMENT===e}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[94,238],{158:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(97);class c{constructor(){this.type=t.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return t.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return t.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return t.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return t.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return t.SimilaritySearchType.isSearchDocumentType(this.type)}}},97:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearchType",(function(){return t}));const t={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>t.SEARCH_TERM===e,isSearchAnalogicalType:e=>t.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>t.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>t.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>t.SEARCH_DOCUMENT===e}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[95,246],{108:function(e,a,n){"use strict";n.r(a),n.d(a,"TabQueryModel",(function(){return r}));class r{constructor(e,a,n,r=!0){this.queryName=e,this.query=a,this.owner=n,this.isPublic=r}}},128:function(e,a,n){"use strict";n.r(a),n.d(a,"buildQueryModel",(function(){return t})),n.d(a,"savedQueriesResponseMapper",(function(){return u})),n.d(a,"savedQueryResponseMapper",(function(){return d})),n.d(a,"queryPayloadFromEvent",(function(){return o}));var r=n(108);const t=(e,a,n,t)=>new r.TabQueryModel(a,e,n,t),u=e=>e&&e.data?e.data.map?e.data.map(e=>t(e.body,e.name,e.owner,e.shared)):[t(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],d=e=>{const a=u(e);return a.length?a[0]:null},o=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[95,245],{107:function(e,a,n){"use strict";n.r(a),n.d(a,"TabQueryModel",(function(){return r}));class r{constructor(e,a,n,r=!0){this.queryName=e,this.query=a,this.owner=n,this.isPublic=r}}},128:function(e,a,n){"use strict";n.r(a),n.d(a,"buildQueryModel",(function(){return t})),n.d(a,"savedQueriesResponseMapper",(function(){return u})),n.d(a,"savedQueryResponseMapper",(function(){return d})),n.d(a,"queryPayloadFromEvent",(function(){return o}));var r=n(107);const t=(e,a,n,t)=>new r.TabQueryModel(a,e,n,t),u=e=>e&&e.data?e.data.map?e.data.map(e=>t(e.body,e.name,e.owner,e.shared)):[t(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],d=e=>{const a=u(e);return a.length?a[0]:null},o=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[96,293],{101:function(t,e,s){"use strict";s.r(e),s.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return i}));const i="ALL"},111:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentModel",(function(){return n})),s.d(e,"AgentInstructionsModel",(function(){return o})),s.d(e,"ExtractionMethodModel",(function(){return a})),s.d(e,"AdditionalExtractionMethodsModel",(function(){return h})),s.d(e,"AdditionalExtractionMethodModel",(function(){return d})),s.d(e,"AgentListModel",(function(){return l})),s.d(e,"ExtractionMethod",(function(){return u})),s.d(e,"AdditionalExtractionMethod",(function(){return c})),s.d(e,"AgentListFilterModel",(function(){return _}));var i=s(30),r=s(101);class n{constructor(t,e){this.hashGenerator=e,this._isDeleted=!1,this._id=t.id,this._name=t.name,this._repositoryId=t.repositoryId,this._model=t.model,this._temperature=t.temperature,this._topP=t.topP,this._seed=t.seed,this._instructions=t.instructions,this._assistantExtractionMethods=t.assistantExtractionMethods,this._additionalExtractionMethods=t.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this._name=t}get repositoryId(){return this._repositoryId}set repositoryId(t){this._repositoryId=t}get model(){return this._model}set model(t){this._model=t}get temperature(){return this._temperature}set temperature(t){this._temperature=t}get topP(){return this._topP}set topP(t){this._topP=t}get seed(){return this._seed}set seed(t){this._seed=t}get instructions(){return this._instructions}set instructions(t){this._instructions=t}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(t){this._assistantExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class o{constructor(t){this._systemInstruction=t.systemInstruction,this._userInstruction=t.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(t){this._systemInstruction=t}get userInstruction(){return this._userInstruction}set userInstruction(t){this._userInstruction=t}}class a{constructor(t){this._method=t.method,this._ontologyGraph=t.ontologyGraph,this._sparqlQuery=t.sparqlQuery,this._maxNumberOfTriplesPerCall=t.maxNumberOfTriplesPerCall,this._similarityIndex=t.similarityIndex,this._similarityIndexThreshold=t.similarityIndexThreshold,this._queryTemplate=t.queryTemplate,this._retrievalConnectorInstance=t.retrievalConnectorInstance}get method(){return this._method}set method(t){this._method=t}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(t){this._sparqlQuery=t}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(t){this._ontologyGraph=t}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(t){this._maxNumberOfTriplesPerCall=t}get similarityIndex(){return this._similarityIndex}set similarityIndex(t){this._similarityIndex=t}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(t){this._similarityIndexThreshold=t}get queryTemplate(){return this._queryTemplate}set queryTemplate(t){this._queryTemplate=t}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(t){this._retrievalConnectorInstance=t}}class h{constructor(t){this._additionalExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class d{constructor(t){this._method=t.method}get method(){return this._method}set method(t){this._method=t}}class l{constructor(t=[]){this._agents=t,this._filterableAgents=Object(i.cloneDeep)(t)}isEmpty(){return 0===this._agents.length}filterByRepository(t){this._filterableAgents=this._agents.filter(e=>t===r.AGENTS_FILTER_ALL_KEY||(e.repositoryId===t?e:void 0))}get agents(){return this._agents}set agents(t){this._agents=t}get filterableAgents(){return this._filterableAgents}set filterableAgents(t){this._filterableAgents=t}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class _{constructor(t,e,s=!1){this._key=t,this._label=e,this._selected=s}get key(){return this._key}set key(t){this._key=t}get label(){return this._label}set label(t){this._label=t}get selected(){return this._selected}set selected(t){this._selected=t}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[97,249],{72:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatMessageModel",(function(){return i})),e.d(s,"CHAT_MESSAGE_ROLE",(function(){return n}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const n={USER:"user",ASSISTANT:"assistant"}},79:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatItemModel",(function(){return n})),e.d(s,"ChatItemsListModel",(function(){return a}));var i=e(72);class n{constructor(t,s,e,i){this._chatId=t,this._agentId=s,this._question=e,this._answer=i}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answer(){return this._answer}set answer(t){this._answer=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class a{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[97,248],{72:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatMessageModel",(function(){return i})),e.d(s,"CHAT_MESSAGE_ROLE",(function(){return n}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const n={USER:"user",ASSISTANT:"assistant"}},79:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatItemModel",(function(){return n})),e.d(s,"ChatItemsListModel",(function(){return a}));var i=e(72);class n{constructor(t,s,e,i){this._chatId=t,this._agentId=s,this._question=e,this._answer=i}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answer(){return this._answer}set answer(t){this._answer=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class a{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[98,248],{141:function(e,t,s){"use strict";s.r(t),s.d(t,"TtygRestServiceFakeBackend",(function(){return r}));var n=s(30),i=s(72);class r{constructor(){this.conversations=[...a]}getConversations(){return new Promise(e=>{e({data:Object(n.cloneDeep)(this.conversations)})})}getConversation(e){return Promise.resolve({data:Object(n.cloneDeep)(this.conversations.find(t=>t.id===e))})}renameConversation(e,t){const s=this.conversations.find(t=>t.id===e);return s&&(s.name=t.name),Promise.resolve({data:Object(n.cloneDeep)(s)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:`Reply to '${e.question}'`,role:i.CHAT_MESSAGE_ROLE.USER,timestamp:Date.now()},s={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:`Reply to '${e.question}'`,role:i.CHAT_MESSAGE_ROLE.ASSISTANT,timestamp:Date.now()},n=this.conversations.find(t=>t.id===e.conversationId);return n&&(n.messages.push(s),n.messages.push(t)),Promise.resolve({data:s})}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),Promise.resolve()}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Date.now(),messages:[]};this.conversations.unshift(t);const s=Object(n.cloneDeep)(e);return s.conversationId=t.id,this.askQuestion(s).then(()=>({data:{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:t.id,agentId:e.agentId}}))}getAgents(){return Promise.resolve({data:[...o]})}getAgent(e){return Promise.resolve({data:Object(n.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return o.push(e),Promise.resolve({data:e})}editAgent(e){return o=o.map(t=>t.id===e.id?e:t),Promise.resolve({data:e})}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}}const a=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}]},72:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return n})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return i}));class n{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const i={USER:"user",ASSISTANT:"assistant"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[99,256],{253:function(n,e,i){"use strict";i.r(e);i(40);function t(n,e,i,t,r,o,s,l){let u;const a=function(){n.clear(),r.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()&&c()};n.clear=function(){n.searchPluginsTerm="",n.plugins=[],n.displayedPlugins=[]};const c=function(){g(),u=e((function(){g()}),5e3)},g=function(){s.getPlugins(n.getActiveRepository()).success((function(e){n.plugins=n.buildPluginsArray(e.results.bindings)})).error((function(n){i.error(getError(n))})).finally((function(){n.filterResults(),n.setLoader(!1)}))};n.buildPluginsArray=function(n){return n.map(n=>({name:n.s.value,enabled:"true"===n.o.value})).filter((function(n){return"plugincontrol"!==n.name&&"literals-index"!==n.name})).sort((function(n,e){const i=n.name.toLowerCase(),t=e.name.toLowerCase();return i<t?-1:i>t?1:0}))},n.filterResults=function(){const e=n.plugins.filter(e=>-1!==e.name.indexOf(n.searchPluginsTerm));f(e)&&n.updateDisplayedPlugins(e)};const f=function(e){if(!n.displayedPlugins||n.displayedPlugins.length!==e.length)return!0;for(const i in e)if(!n.displayedPlugins.find(n=>angular.equals(n,e[i])))return!0;return!1};function d(){u&&e.cancel(u)}n.updateDisplayedPlugins=function(e){n.displayedPlugins=e,setTimeout((function(){n.applyRowStyles()}),0)},n.setLoader=function(e,i){o.cancel(n.loaderTimeout),e?n.loaderTimeout=o((function(){n.loader=e,n.loaderMessage=i}),300):n.loader=!1},n.$on("repositoryIsSet",(function(){d(),a()})),n.$on("$destroy",(function(){d(),$(window).off("resize.plugin")})),$(window).on("resize.plugin",(function(){n.applyRowStyles()})),n.applyRowStyles=function(){const e=$("#wb-plugins-pluginInPlugins").width(),i=$("tr").width(),t=Math.floor(e/i);$(".wb-plugins-row").toArray().forEach((e,i)=>{n.isGreyBackground(t,i)?$(e).addClass("grey-row"):$(e).removeClass("grey-row")})},n.isGreyBackground=function(n,e){const i=(Math.floor(e/n)+1)%2!=1,t=e%2!=0;if(n%2!=0){if(i&&!t||!i&&!t)return!0;if(i&&t||!i&&t)return!1}else{if(i&&!t||!i&&t)return!1;if(i&&t||!i&&!t)return!0}},n.togglePlugin=function(e,t){const r=n.getActiveRepository(),o=t?l.instant("deactivating.plugin",{pluginName:e}):l.instant("activating.plugin",{pluginName:e});n.setLoader(!0,o),s.togglePlugin(r,t,e).error((function(n){i.error(getError(n))})).finally((function(){g(),n.setLoader(!1)}))},n.getLoaderMessage=function(){return n.loaderMessage||l.instant("common.loading")},n.onSearchTermChanged=function(){n.filterResults()},a()}angular.module("graphdb.framework.plugins.controllers",["graphdb.framework.rest.plugins.service"]).controller("PluginsCtrl",t),t.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$timeout","PluginsRestService","$translate"]},342:function(n,e,i){"use strict";i.r(e);i(253);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[99,255],{252:function(n,e,i){"use strict";i.r(e);i(40);function t(n,e,i,t,r,o,s,l){let u;const a=function(){n.clear(),r.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()&&c()};n.clear=function(){n.searchPluginsTerm="",n.plugins=[],n.displayedPlugins=[]};const c=function(){g(),u=e((function(){g()}),5e3)},g=function(){s.getPlugins(n.getActiveRepository()).success((function(e){n.plugins=n.buildPluginsArray(e.results.bindings)})).error((function(n){i.error(getError(n))})).finally((function(){n.filterResults(),n.setLoader(!1)}))};n.buildPluginsArray=function(n){return n.map(n=>({name:n.s.value,enabled:"true"===n.o.value})).filter((function(n){return"plugincontrol"!==n.name&&"literals-index"!==n.name})).sort((function(n,e){const i=n.name.toLowerCase(),t=e.name.toLowerCase();return i<t?-1:i>t?1:0}))},n.filterResults=function(){const e=n.plugins.filter(e=>-1!==e.name.indexOf(n.searchPluginsTerm));f(e)&&n.updateDisplayedPlugins(e)};const f=function(e){if(!n.displayedPlugins||n.displayedPlugins.length!==e.length)return!0;for(const i in e)if(!n.displayedPlugins.find(n=>angular.equals(n,e[i])))return!0;return!1};function d(){u&&e.cancel(u)}n.updateDisplayedPlugins=function(e){n.displayedPlugins=e,setTimeout((function(){n.applyRowStyles()}),0)},n.setLoader=function(e,i){o.cancel(n.loaderTimeout),e?n.loaderTimeout=o((function(){n.loader=e,n.loaderMessage=i}),300):n.loader=!1},n.$on("repositoryIsSet",(function(){d(),a()})),n.$on("$destroy",(function(){d(),$(window).off("resize.plugin")})),$(window).on("resize.plugin",(function(){n.applyRowStyles()})),n.applyRowStyles=function(){const e=$("#wb-plugins-pluginInPlugins").width(),i=$("tr").width(),t=Math.floor(e/i);$(".wb-plugins-row").toArray().forEach((e,i)=>{n.isGreyBackground(t,i)?$(e).addClass("grey-row"):$(e).removeClass("grey-row")})},n.isGreyBackground=function(n,e){const i=(Math.floor(e/n)+1)%2!=1,t=e%2!=0;if(n%2!=0){if(i&&!t||!i&&!t)return!0;if(i&&t||!i&&t)return!1}else{if(i&&!t||!i&&t)return!1;if(i&&t||!i&&!t)return!0}},n.togglePlugin=function(e,t){const r=n.getActiveRepository(),o=t?l.instant("deactivating.plugin",{pluginName:e}):l.instant("activating.plugin",{pluginName:e});n.setLoader(!0,o),s.togglePlugin(r,t,e).error((function(n){i.error(getError(n))})).finally((function(){g(),n.setLoader(!1)}))},n.getLoaderMessage=function(){return n.loaderMessage||l.instant("common.loading")},n.onSearchTermChanged=function(){n.filterResults()},a()}angular.module("graphdb.framework.plugins.controllers",["graphdb.framework.rest.plugins.service"]).controller("PluginsCtrl",t),t.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$timeout","PluginsRestService","$translate"]},341:function(n,e,i){"use strict";i.r(e);i(252);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);