graphdb-workbench 2.8.0-TR13 → 2.8.0-TR14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{0.c12880b944139d726364.bundle.js → 0.0d8dba82a956a0fca6e8.bundle.js} +3 -3
- package/dist/{1.b5ab0c81ff05d97d9212.bundle.js → 1.984a6c3190808a7a5842.bundle.js} +1 -1
- package/dist/{10.1179c6bc53d65a3018b4.bundle.js → 10.2ba2104975e4a1451cac.bundle.js} +1 -1
- package/dist/{101.f066daa3cfc930d79302.bundle.js → 100.5bd07197ba649812af04.bundle.js} +1 -1
- package/dist/101.281c48adcca740e354e3.bundle.js +1 -0
- package/dist/102.5ab0ad41cf75ebea24af.bundle.js +1 -0
- package/dist/103.73690100059e899cc551.bundle.js +1 -0
- package/dist/{104.e3e2867c1b690c43f489.bundle.js → 104.6c97eaf031d1b26deda2.bundle.js} +1 -1
- package/dist/{105.f8bc439e384e9f5110fe.bundle.js → 105.dab96be06056ee55117c.bundle.js} +1 -1
- package/dist/{106.8c2ba58b4f242956a82c.bundle.js → 106.b4da1610bcbdf8abce73.bundle.js} +1 -1
- package/dist/{107.4315a0c3620f546dd600.bundle.js → 107.a301cc751cfa73c46f25.bundle.js} +1 -1
- package/dist/{108.02aeec3c92b68ce6c35e.bundle.js → 108.d09d9639fc1e08837d24.bundle.js} +1 -1
- package/dist/{109.e0e1046fdb1e8ecd59f8.bundle.js → 109.cdc43f4aa3e47824d73f.bundle.js} +1 -1
- package/dist/{11.731ed4f7b67ece4fb109.bundle.js → 11.d47116d3612092bf9551.bundle.js} +1 -1
- package/dist/{110.d51e761889fe08e2c49d.bundle.js → 110.3a8be00b1c211d5794bb.bundle.js} +1 -1
- package/dist/{111.da72110e4ddfe486912a.bundle.js → 111.697d2eab5126899a1c6d.bundle.js} +1 -1
- package/dist/{112.77a36111c9f4da94f2d0.bundle.js → 112.db1a3a0e4402270bdacd.bundle.js} +1 -1
- package/dist/{113.d5bd3f0ad7bd8c52abe1.bundle.js → 113.931e11c0d00e8b7beafe.bundle.js} +1 -1
- package/dist/{114.2f6bdd6b8c8dd9f01217.bundle.js → 114.8bfcc698801727021cf9.bundle.js} +1 -1
- package/dist/{115.b9393bf71391a3f494da.bundle.js → 115.a5fa79860bc979f1ddc1.bundle.js} +1 -1
- package/dist/{116.54e31b6224e208e4c423.bundle.js → 116.be132857915bae2a3208.bundle.js} +1 -1
- package/dist/{117.38e2c564034dc25c4815.bundle.js → 117.eda6c531f87e92e08ef7.bundle.js} +1 -1
- package/dist/{118.09e66dd3b083f2d36696.bundle.js → 118.1d9dc0db991c0c4e09c9.bundle.js} +1 -1
- package/dist/{119.131ce05ec4fa52bfaf2a.bundle.js → 119.815ade22d1a0e9a9ada1.bundle.js} +1 -1
- package/dist/{12.006922371a75c0e8f3aa.bundle.js → 12.b813d4ae5b604410725a.bundle.js} +1 -1
- package/dist/120.25d68bcfd19f943c486f.bundle.js +1 -0
- package/dist/{121.4f96e05a93da0d050583.bundle.js → 121.e77d86de404da474bea9.bundle.js} +1 -1
- package/dist/{122.14c6539a5cf5826291f1.bundle.js → 122.dc275c0bb60623b1171a.bundle.js} +1 -1
- package/dist/123.11a7478990e61936e498.bundle.js +1 -0
- package/dist/124.f686bbf2c9227c52e346.bundle.js +1 -0
- package/dist/{125.653e9a40b0339268bfa4.bundle.js → 125.8c1fcafb1c17251fd313.bundle.js} +1 -1
- package/dist/{126.bc9af544cdeef53a98a4.bundle.js → 126.26ddd8fa61847ec94953.bundle.js} +1 -1
- package/dist/{127.20092c02c9853f630785.bundle.js → 127.a277314fe4751af4c5b9.bundle.js} +1 -1
- package/dist/{128.d7b62fe06971afd880da.bundle.js → 128.a1a7aa7d1380503c2a93.bundle.js} +1 -1
- package/dist/{129.676c2740eba42a5189ae.bundle.js → 129.c5f80c2cbb6799a7228c.bundle.js} +1 -1
- package/dist/{13.76fc57fe53ba53fb2c7f.bundle.js → 13.bd10564d41e12fd49ab7.bundle.js} +1 -1
- package/dist/130.1aa58b18d2b6b9b7ae1c.bundle.js +1 -0
- package/dist/{131.aaa123afc12ca4bdf46e.bundle.js → 131.ad8237e9e6b3499103d4.bundle.js} +1 -1
- package/dist/{132.88ff26b2f0d1d51bad52.bundle.js → 132.02058cfef71c4efc9ed4.bundle.js} +1 -1
- package/dist/{133.4847df13c0867a84a713.bundle.js → 133.72a317c1ba1ce436f58b.bundle.js} +1 -1
- package/dist/{134.20c075955d10d6925a62.bundle.js → 134.8bb69c8eaaa474ee9af4.bundle.js} +1 -1
- package/dist/135.f7185372439f472963f4.bundle.js +1 -0
- package/dist/{136.92a341f0772ee65da7d6.bundle.js → 136.d882d2c8f335e87f6d1a.bundle.js} +1 -1
- package/dist/{137.7330e14ed6a57aad5f94.bundle.js → 137.3c6040bf817d9a027d1f.bundle.js} +1 -1
- package/dist/{138.43357891c8faa58707b4.bundle.js → 138.5598505a6b739282d0a7.bundle.js} +1 -1
- package/dist/{139.2277d7941d2756767afe.bundle.js → 139.4f21f550a8f91b00a165.bundle.js} +1 -1
- package/dist/{14.a8fc6ef8dc6fa2f2816a.bundle.js → 14.635b5a8296e4819f51c9.bundle.js} +11 -11
- package/dist/{140.2bf9ff7d38dd8ff616af.bundle.js → 140.5661867f549e7024369c.bundle.js} +1 -1
- package/dist/{141.f710186615c337b2fae6.bundle.js → 141.0c8311c2d724af4451b4.bundle.js} +1 -1
- package/dist/{142.fd312126fe70574b15e3.bundle.js → 142.1cb2f46bc971f1dd7b89.bundle.js} +1 -1
- package/dist/{143.b31bed2d13b249d84ad0.bundle.js → 143.edca8f12d136b5b790b9.bundle.js} +1 -1
- package/dist/{144.9f1e5dd5f0d1e6f382fd.bundle.js → 144.7bdbd68cd969944f0343.bundle.js} +1 -1
- package/dist/{145.33d55443d1dd19a0bacb.bundle.js → 145.fed939c8b665241ae57a.bundle.js} +1 -1
- package/dist/146.a1962332f1be379e0daf.bundle.js +1 -0
- package/dist/{147.5d44d89036a267b899c1.bundle.js → 147.3634906fa9882179994f.bundle.js} +1 -1
- package/dist/148.7f617da1a025fdfe0f53.bundle.js +1 -0
- package/dist/{149.f7dbe3a9918a4684fa64.bundle.js → 149.2b2486964b839e50ecaf.bundle.js} +1 -1
- package/dist/{15.5e160943e2ce5fc32b3f.bundle.js → 15.a1bea2afdad7d7f9fedb.bundle.js} +1 -1
- package/dist/{150.c69c89d996b1a696f1b1.bundle.js → 150.184d0e967d52f40ac39d.bundle.js} +1 -1
- package/dist/{151.23df73ebedae9acb9f8a.bundle.js → 151.1b39d4f8114635f39fcc.bundle.js} +1 -1
- package/dist/{152.050964735a12306f4d8d.bundle.js → 152.147b39f09f26b0c24ecf.bundle.js} +1 -1
- package/dist/{153.450de3a974ca576d4f76.bundle.js → 153.4b5597e79caffc70f954.bundle.js} +1 -1
- package/dist/{154.e4cfb640ab1ca3cd4286.bundle.js → 154.2df29cddacf774c84594.bundle.js} +1 -1
- package/dist/{155.e07768c450476750f15e.bundle.js → 155.90fdaa237329d861899a.bundle.js} +1 -1
- package/dist/156.fc7fc6c732f3f75ff969.bundle.js +1 -0
- package/dist/{157.8647e0cfa6d9b22fba1c.bundle.js → 157.36c8b5da4dcb8203baea.bundle.js} +1 -1
- package/dist/{158.e2eb018ac1b578ce4b4e.bundle.js → 158.149e30fe0419edd4b8cd.bundle.js} +1 -1
- package/dist/159.dee7a019811aa3ea1c74.bundle.js +1 -0
- package/dist/{16.72c5de6792b2fb3d40cb.bundle.js → 16.d4e46e9d9d98b9e7d35e.bundle.js} +1 -1
- package/dist/{160.4f9ada4c29a100824fb1.bundle.js → 160.4794cdff03c97a1c7cac.bundle.js} +1 -1
- package/dist/{161.d048c37d7e9b3ee1528b.bundle.js → 161.3b846249124d26f3af55.bundle.js} +1 -1
- package/dist/{162.f08b5bef113ac7ac925d.bundle.js → 162.00b9bd9350702e8c2a83.bundle.js} +1 -1
- package/dist/{163.efa08aaff2e3cdda3711.bundle.js → 163.e80bd484dc94cab43fb6.bundle.js} +1 -1
- package/dist/{164.1654634aa86b14797f13.bundle.js → 164.1ef3aaf844445dc37fa4.bundle.js} +1 -1
- package/dist/{165.3e5cfde1214c42087e41.bundle.js → 165.3bf08abf581098dc5556.bundle.js} +1 -1
- package/dist/{166.bb6f7d1b5cc9bc3ac381.bundle.js → 166.8d8e4eb49d98565aca90.bundle.js} +1 -1
- package/dist/{167.7c7fd26d09c91dbd9c55.bundle.js → 167.6a6e2eceddf83e7ed688.bundle.js} +1 -1
- package/dist/{168.6a3e67fea55b932f3090.bundle.js → 168.f715afad815f5ef8d9e8.bundle.js} +1 -1
- package/dist/{169.a9310a747d8bf7366f97.bundle.js → 169.179af238ac3d66170e60.bundle.js} +1 -1
- package/dist/{17.ce810873458ff1ffca06.bundle.js → 17.af15b07ff5caf6012c9d.bundle.js} +2 -2
- package/dist/{170.cf2599059e3e923207a4.bundle.js → 170.98972afc977d436a8d2f.bundle.js} +1 -1
- package/dist/{171.a1608fd5e4c899b96352.bundle.js → 171.ca134dfd952dbb2ed446.bundle.js} +1 -1
- package/dist/{172.c42d95c2edad241cf688.bundle.js → 172.d8af318fbc1465328fef.bundle.js} +1 -1
- package/dist/{173.18301f20eb503ef8a27a.bundle.js → 173.d4615a56b202a9529997.bundle.js} +1 -1
- package/dist/{174.4a15711f0dd5f8ce0919.bundle.js → 174.45f595881f9122012d62.bundle.js} +1 -1
- package/dist/{175.a73ae90b613da5e597c5.bundle.js → 175.e56d48aa4ad55d1170ff.bundle.js} +1 -1
- package/dist/{176.4f84bdfcc0197d750474.bundle.js → 176.efb827ced959a1691763.bundle.js} +1 -1
- package/dist/{177.080a382546a2c07c54c8.bundle.js → 177.73aefc20ba0879d47d4c.bundle.js} +1 -1
- package/dist/{178.456581d02bb705a29124.bundle.js → 178.58735b742f3347848cfb.bundle.js} +1 -1
- package/dist/179.aefa20b32f76b68efb54.bundle.js +1 -0
- package/dist/{18.05b6388e2622fda2a4e1.bundle.js → 18.4cb817932027d1b7a3f3.bundle.js} +1 -1
- package/dist/180.f32a4dbb6286dac09e46.bundle.js +1 -0
- package/dist/{181.95f7ef7fc792b50c2cc6.bundle.js → 181.bbc58fee61806ad06bb6.bundle.js} +1 -1
- package/dist/{182.465ef1426af8ff195fac.bundle.js → 182.873e24d948e79bea7610.bundle.js} +1 -1
- package/dist/{183.569215a21a4c1546760c.bundle.js → 183.559aacd225a4fe3980a1.bundle.js} +1 -1
- package/dist/{184.badf1727b917eb1cc3a3.bundle.js → 184.805cf439b2adef6bb8a7.bundle.js} +1 -1
- package/dist/{185.dd5dc8cbc36ea29c75d1.bundle.js → 185.83602499d7b5740b0232.bundle.js} +1 -1
- package/dist/{186.d27f62884853006d8614.bundle.js → 186.e0d1d8bf714e0fc80a62.bundle.js} +1 -1
- package/dist/{187.cd3cd4940779cc26c789.bundle.js → 187.35cfddfd9308fabd0798.bundle.js} +1 -1
- package/dist/{188.06eac6a609764fbac382.bundle.js → 188.e189dafdd53ea7a20335.bundle.js} +1 -1
- package/dist/{189.ba20e7d03ba9d5662145.bundle.js → 189.b0bac492836f82dcdfc8.bundle.js} +1 -1
- package/dist/{19.a017cb971598b8f97d9d.bundle.js → 19.3710b4e8c5593e9c45cd.bundle.js} +1 -1
- package/dist/{190.cb6275ca394d76ef427c.bundle.js → 190.a1f7b57a5b96789a8893.bundle.js} +1 -1
- package/dist/{191.2f9468f433dd256b830d.bundle.js → 191.43bd25ac408d1b01098e.bundle.js} +1 -1
- package/dist/{192.bbc4db61fa1c83810958.bundle.js → 192.a0189b3855965653b219.bundle.js} +1 -1
- package/dist/{193.13de0802dc61815adb36.bundle.js → 193.b767b222b703c318b1e9.bundle.js} +1 -1
- package/dist/{194.cad267ee805777bb53f0.bundle.js → 194.3376a40cb875c291c2fe.bundle.js} +1 -1
- package/dist/{195.a88587cea9417bf47167.bundle.js → 195.3d16b1e1b1d2dafd9cc4.bundle.js} +1 -1
- package/dist/{196.aa2f65a02303df09f869.bundle.js → 196.3697fc4f43fdbe21f470.bundle.js} +1 -1
- package/dist/{197.d9ad911f2f09ee7f4c44.bundle.js → 197.36820945bea0e8ac5c94.bundle.js} +1 -1
- package/dist/{198.8cf96a77ff98047b56d4.bundle.js → 198.22d1c05df68d0385b7ea.bundle.js} +1 -1
- package/dist/{199.46d552230fd3b9a277c8.bundle.js → 199.176affe77ebb9e454298.bundle.js} +1 -1
- package/dist/{2.b24d9c8f4b672452f0cf.bundle.js → 2.141f6db3253713b84d44.bundle.js} +2 -2
- package/dist/{20.8ab4bf04280797eee840.bundle.js → 20.558c3b86f80fdc06cf15.bundle.js} +1 -1
- package/dist/{200.e8bd925fee20f081e0d8.bundle.js → 200.6041afb8975d4c351018.bundle.js} +1 -1
- package/dist/{201.38a5e9c920da6c674bb2.bundle.js → 201.75e3b0731d8403472b2a.bundle.js} +1 -1
- package/dist/{202.60995e2807007fdefbbc.bundle.js → 202.740b221f360eb7041ede.bundle.js} +1 -1
- package/dist/{203.09062b200e16b561e992.bundle.js → 203.33c02c890d483fcc74b2.bundle.js} +1 -1
- package/dist/{204.cea7c3f2fe05cd173b26.bundle.js → 204.3e3e6a5888849c1874fe.bundle.js} +1 -1
- package/dist/{205.69be86aebcd45d957b1e.bundle.js → 205.6af948eff63f3ef18c9e.bundle.js} +1 -1
- package/dist/{206.a4ee3c3fffdf85a82752.bundle.js → 206.092c305505663ce80fac.bundle.js} +1 -1
- package/dist/{207.8ab144e114ccc93a2c94.bundle.js → 207.d687cd6f4c71982e709a.bundle.js} +1 -1
- package/dist/{208.27d350ea98a8bc335a7d.bundle.js → 208.1e21d6f06ef3e723ed4f.bundle.js} +1 -1
- package/dist/{209.2c79024b41dfac14c3f9.bundle.js → 209.eba070ac11a4ca695af3.bundle.js} +1 -1
- package/dist/{21.a563810cf92e995c13c3.bundle.js → 21.dd3b6d304ab0ec58f92f.bundle.js} +1 -1
- package/dist/210.e879d741c23f749d4dbe.bundle.js +1 -0
- package/dist/{211.aca395e80f5e6a48e0de.bundle.js → 211.96b3d2cf349470f63b06.bundle.js} +1 -1
- package/dist/{212.36953c7f97cd6507d2d6.bundle.js → 212.ff36530f2b455845daee.bundle.js} +1 -1
- package/dist/{213.7804fa487e6278a29e53.bundle.js → 213.763d197634ccb5f79813.bundle.js} +1 -1
- package/dist/{214.c886d5ef7eec1e676930.bundle.js → 214.b13a1e28464c1b574d02.bundle.js} +1 -1
- package/dist/{215.658744c3b46d8dc85366.bundle.js → 215.5b427a823993da06a4ec.bundle.js} +1 -1
- package/dist/{216.f02f8bcf96f472f5b84d.bundle.js → 216.9d1b5f35a1fc61e12629.bundle.js} +1 -1
- package/dist/{217.4f7c1f106d34fe29303c.bundle.js → 217.7300f781f98665a439e8.bundle.js} +1 -1
- package/dist/{218.cd8f1c38958f6da4610e.bundle.js → 218.5e50bb514998d78f2048.bundle.js} +1 -1
- package/dist/{219.195dfdb05aa457e0ffad.bundle.js → 219.b84da7f1b32817033b4d.bundle.js} +1 -1
- package/dist/{22.f7fed8a367c43a44d346.bundle.js → 22.5a37f9ee7270946edc95.bundle.js} +2 -2
- package/dist/{220.359062c67e1ac99041a0.bundle.js → 220.b577e3505506547c7fa5.bundle.js} +1 -1
- package/dist/{221.489ed1f3b133ae83f38e.bundle.js → 221.dd7bd068189a0ae4580f.bundle.js} +1 -1
- package/dist/{222.ac5be57c1ecf47951587.bundle.js → 222.39f3cf56edb2b4b5c6ef.bundle.js} +1 -1
- package/dist/{223.12ba4921db0a80a7f6ec.bundle.js → 223.94d35e931b2609822898.bundle.js} +1 -1
- package/dist/{224.6601a180974115a39936.bundle.js → 224.d229ed8c12b247fea1b0.bundle.js} +1 -1
- package/dist/{225.573bc79a0dd932a2676f.bundle.js → 225.e8969bc194c9bd8a74a6.bundle.js} +1 -1
- package/dist/{226.c4bc92b0728fa5defa97.bundle.js → 226.072a53175223dce3c84f.bundle.js} +1 -1
- package/dist/{227.653e1bf41320c331f905.bundle.js → 227.bf1f44e5f3f288280267.bundle.js} +1 -1
- package/dist/{228.c4b21051d5d8f71835dd.bundle.js → 228.99d33c025f8febb1f98a.bundle.js} +1 -1
- package/dist/{229.855b8ace3ff3b2e00c6c.bundle.js → 229.d60147d5e9570b2f9f98.bundle.js} +1 -1
- package/dist/23.0201ef18132883dced7c.bundle.js +2 -0
- package/dist/230.4b98da3af966e0e390a0.bundle.js +1 -0
- package/dist/{231.ab1564ef24bd5560bff9.bundle.js → 231.fceaaadf5bcafe051b86.bundle.js} +1 -1
- package/dist/232.57e3a99fa7aa3d402abd.bundle.js +1 -0
- package/dist/{233.a5556c9c0ab666b2ba78.bundle.js → 233.fc40eb642efd36d54e99.bundle.js} +1 -1
- package/dist/{234.367169c455d8820a807c.bundle.js → 234.91991d2a8f29d25d158f.bundle.js} +1 -1
- package/dist/{235.2f2d4c37affc808fa971.bundle.js → 235.f067737b11b8f93cd92c.bundle.js} +1 -1
- package/dist/{236.35e1180ad2c8ce70ad4b.bundle.js → 236.6d974bc6ac731067f182.bundle.js} +1 -1
- package/dist/{237.83c53e7e4e46c2d64368.bundle.js → 237.d0b4370b77fc308b7433.bundle.js} +1 -1
- package/dist/{238.eb9903b3fdd36c43571f.bundle.js → 238.9185a3a9be2b44f472ee.bundle.js} +1 -1
- package/dist/{239.b02f686988986a34e9b7.bundle.js → 239.7847b00aedc190fd0c6a.bundle.js} +1 -1
- package/dist/24.c7056c5dd08ac65ec911.bundle.js +2 -0
- package/dist/{240.d65f43e1dbace7d8d7d3.bundle.js → 240.6c7507fd5a60c8e27473.bundle.js} +1 -1
- package/dist/{241.28390930afd91ed8d816.bundle.js → 241.f5595b3a1a76ce69b684.bundle.js} +1 -1
- package/dist/{242.9509806f8a01d26bdf83.bundle.js → 242.0b57e9afd8e426e5a060.bundle.js} +1 -1
- package/dist/243.aac9c16dc3e8d3a741d2.bundle.js +1 -0
- package/dist/244.c6e8b2a1e164440fabca.bundle.js +1 -0
- package/dist/{245.51569c5abc67f65be79e.bundle.js → 245.4823711edc0ff39124cb.bundle.js} +1 -1
- package/dist/{246.816cec67bc81bab4371f.bundle.js → 246.c0cb82586cc5d090c0a2.bundle.js} +1 -1
- package/dist/{247.70459005b0d253fcecb7.bundle.js → 247.82fa8152adb56ab6dc40.bundle.js} +1 -1
- package/dist/{248.511260c598cc125e71e4.bundle.js → 248.1c7bbfbdb4a9f8faa273.bundle.js} +1 -1
- package/dist/{249.9a6257284542082278c2.bundle.js → 249.bcb3610366e645f33995.bundle.js} +1 -1
- package/dist/25.a963a0c013917e4410fa.bundle.js +2 -0
- package/dist/{250.4ca0ea98b21c22156982.bundle.js → 250.4ab7bd2520f7b30bd204.bundle.js} +1 -1
- package/dist/251.5acbd7e4a7c5db11e469.bundle.js +1 -0
- package/dist/{252.14189833165f412a68cd.bundle.js → 252.f8cb3f2b2d139ebbeef3.bundle.js} +1 -1
- package/dist/253.580e600b21f4ca0d3679.bundle.js +1 -0
- package/dist/{254.6875897bff77b6222c2a.bundle.js → 254.3995b90fa417a2ac6bf0.bundle.js} +1 -1
- package/dist/{255.44cb00a2b9e6a891daa1.bundle.js → 255.565a5727e49f1fda766d.bundle.js} +1 -1
- package/dist/{256.b1032d9d6cc12cc90281.bundle.js → 256.fc422e15c8be69a9b860.bundle.js} +1 -1
- package/dist/257.e6ef29dbf8350de53a0b.bundle.js +1 -0
- package/dist/{258.109ff997ac0412172236.bundle.js → 258.2115ecdba1fbe08b7130.bundle.js} +1 -1
- package/dist/259.a4393ca56af4609425ed.bundle.js +1 -0
- package/dist/{26.fe862a850ff9f06e4945.bundle.js → 26.3d942cd03a6e1d33fe4e.bundle.js} +1 -1
- package/dist/{260.8b4d34bd5f8771440f83.bundle.js → 260.4edfe65313c86018b2a3.bundle.js} +1 -1
- package/dist/{261.1cef385e5bc9a0120cab.bundle.js → 261.0923e9341c266b4f0b35.bundle.js} +1 -1
- package/dist/{262.ac373be4e20b215d4005.bundle.js → 262.e9a5ff5ecbbe2d912ccb.bundle.js} +1 -1
- package/dist/{263.87b1d661b837f6acba82.bundle.js → 263.b0bb417d614585a78de7.bundle.js} +1 -1
- package/dist/{264.508024327c7e15863b03.bundle.js → 264.1caf44f2bf20b0ea607d.bundle.js} +1 -1
- package/dist/265.10f5d4a48ab1ad56fbff.bundle.js +1 -0
- package/dist/{266.7fe249a8dd58496edd5a.bundle.js → 266.109f7eef83b8e7cd5bfe.bundle.js} +1 -1
- package/dist/{267.813c52fac5e3a4c10bec.bundle.js → 267.729d92917c48d4c63dbc.bundle.js} +1 -1
- package/dist/{268.1760717d55d1cce059d8.bundle.js → 268.509174722ff558108bce.bundle.js} +1 -1
- package/dist/269.e56312b294b3ec4d7fff.bundle.js +1 -0
- package/dist/{27.3b2aa542f87461dc430e.bundle.js → 27.0c813a17cdf78efc8c7b.bundle.js} +2 -2
- package/dist/{270.9db5f5e3f78875e3220c.bundle.js → 270.0c0abcbb2091df17f795.bundle.js} +1 -1
- package/dist/271.9bca3a5bd5bfcfe52b9d.bundle.js +1 -0
- package/dist/272.cea592c68bcc5372edeb.bundle.js +1 -0
- package/dist/{273.1e58a14bc482f37dae02.bundle.js → 273.18d6aae5b29ad34fa562.bundle.js} +1 -1
- package/dist/274.daa1c3f8c4c7fece19dc.bundle.js +1 -0
- package/dist/{275.9dc2c9482c53353e2567.bundle.js → 275.3d85508042b23e6c164e.bundle.js} +1 -1
- package/dist/{276.9414df55f6f14dff2306.bundle.js → 276.a4444dac7437ab595293.bundle.js} +1 -1
- package/dist/{277.a91dd1008205eb4f5162.bundle.js → 277.246bfae6e0bd433e881b.bundle.js} +1 -1
- package/dist/278.5e0495e611ec8e01cb70.bundle.js +1 -0
- package/dist/{279.cf588b3c41cebbbddbc8.bundle.js → 279.9ec96a65f8d9440fc1bc.bundle.js} +1 -1
- package/dist/28.f59363df381c358e76ba.bundle.js +1 -0
- package/dist/{280.4e90409f55584b089387.bundle.js → 280.2e633a488fba5e98f89c.bundle.js} +1 -1
- package/dist/{282.a0559bbcbfe9c92ffd76.bundle.js → 282.f98dbe18f1e5411bd652.bundle.js} +1 -1
- package/dist/{283.172f7328e455cb38f8ad.bundle.js → 283.1f43e4d7825be6216c5d.bundle.js} +1 -1
- package/dist/{284.30dc35180864dfbc2927.bundle.js → 284.c13e01fee7e3f5df7288.bundle.js} +1 -1
- package/dist/{285.f0e41adb7ba7e938d5ec.bundle.js → 285.2716d6654655c602eef7.bundle.js} +1 -1
- package/dist/{286.0eee3de95ff80d120e02.bundle.js → 286.ea14118f7f4525bd9943.bundle.js} +1 -1
- package/dist/{287.5a566c1270bd784a7f51.bundle.js → 287.6a819bf32211bcee89d2.bundle.js} +1 -1
- package/dist/{288.a32072eeac9eccbb5698.bundle.js → 288.7da93b0837ef0458f42c.bundle.js} +1 -1
- package/dist/{289.fbfa6ce0a5f1d15259b4.bundle.js → 289.49536e9cabbc587795f7.bundle.js} +1 -1
- package/dist/{29.d7f53701e435afe11038.bundle.js → 29.4a5544d79560f654fa19.bundle.js} +1 -1
- package/dist/{290.d1f08b23cd58260b1226.bundle.js → 290.490de8b61f494279836a.bundle.js} +1 -1
- package/dist/{291.da9edfebb6940cbaee70.bundle.js → 291.77f64408716e248d7a87.bundle.js} +1 -1
- package/dist/{292.9e4d468765ee6b3db189.bundle.js → 292.9bcb025fc85673848140.bundle.js} +1 -1
- package/dist/293.4aad34d2ebbff7fe68ec.bundle.js +1 -0
- package/dist/{294.e6c10040aa02069c1e05.bundle.js → 294.4746e52fcca260c0dec6.bundle.js} +1 -1
- package/dist/{295.95030365ac036cda2e5f.bundle.js → 295.dafe89b9915c4ec88bd9.bundle.js} +1 -1
- package/dist/296.92201b7ef0c451221618.bundle.js +1 -0
- package/dist/297.ce83cc631d2c7ea2ecad.bundle.js +1 -0
- package/dist/298.db39fe33a0b4fb6368fd.bundle.js +1 -0
- package/dist/{299.fe9ca43f790c155799d6.bundle.js → 299.ee546abd23b7ca059fb1.bundle.js} +1 -1
- package/dist/{3.325ae6955d167cf629b6.bundle.js → 3.743e02ad8affcdcd64a1.bundle.js} +1 -1
- package/dist/{30.dfba97d073872a68a48b.bundle.js → 30.6fb2daf5a16a678f12d1.bundle.js} +1 -1
- package/dist/300.e50c8101da096818e27a.bundle.js +1 -0
- package/dist/{301.387501285ac0b2f557ca.bundle.js → 301.b66d8b6a548c0661c40a.bundle.js} +1 -1
- package/dist/{302.cd7dfab197ea83fddc62.bundle.js → 302.8811a97a3816cf208741.bundle.js} +1 -1
- package/dist/303.5bf4fb5808d3bc6a52ea.bundle.js +1 -0
- package/dist/304.50a37a9ab83505cf8d8e.bundle.js +1 -0
- package/dist/{305.7b55f0b9b7f098f296a4.bundle.js → 305.4003e5f2e7c77947b084.bundle.js} +1 -1
- package/dist/{306.bb9a74f47fcfa466da91.bundle.js → 306.291aced7dc8dbdf390ec.bundle.js} +1 -1
- package/dist/{307.fce2ff46fc55d2fe75c7.bundle.js → 307.cc77d862b4ba8fec1f30.bundle.js} +1 -1
- package/dist/308.ec4cfff7d0bfd5eed01c.bundle.js +1 -0
- package/dist/{308.5acbd03acf472e20ae08.bundle.js → 309.689b71fbec2f71390de5.bundle.js} +1 -1
- package/dist/{31.efc8d1b5a18dbec9a9aa.bundle.js → 31.c1f92c0413055d9e0bfe.bundle.js} +1 -1
- package/dist/{309.5b1e827b31e736a31f04.bundle.js → 310.bc837bff11451eef7406.bundle.js} +1 -1
- package/dist/{310.484b2c9a5912e27c15b1.bundle.js → 311.715172630f7eb5617fde.bundle.js} +1 -1
- package/dist/{311.edb2960e58f2ab6cf72f.bundle.js → 312.728118ef844fcd30189e.bundle.js} +1 -1
- package/dist/{312.f9ae518b97765ab230a4.bundle.js → 313.05fa3911bf2939efc791.bundle.js} +1 -1
- package/dist/{313.f65b42bd83ed3ecd090e.bundle.js → 314.c44ffb62eb6276536646.bundle.js} +1 -1
- package/dist/{314.aa017fbf0412dc642dec.bundle.js → 315.cb9a2efe32f73cc3ffa8.bundle.js} +1 -1
- package/dist/{315.d4c6d40909267d14a01b.bundle.js → 316.12cfd336ff3f2c4c82b2.bundle.js} +1 -1
- package/dist/{316.04cf972c06c0c069e03d.bundle.js → 317.6a9d53084f38f0361718.bundle.js} +1 -1
- package/dist/{32.39304475fbf4b36b2a43.bundle.js → 32.3e5bb653d0f6e677b555.bundle.js} +1 -1
- package/dist/{322.36a6899c0565b022e54d.bundle.js → 323.cf7411ca91f9f5598a00.bundle.js} +1 -1
- package/dist/{323.dcb289cffe4ff71d53a4.bundle.js → 324.79cc328ee738180f5e3f.bundle.js} +1 -1
- package/dist/{324.180650d6f3bd6b4adb4d.bundle.js → 325.ffca9ff80b683f653a63.bundle.js} +1 -1
- package/dist/{325.b4db54955a4ce097ad2f.bundle.js → 326.81f1c9231e97a12857b2.bundle.js} +1 -1
- package/dist/{326.c5d3853822abe1e86a44.bundle.js → 327.60e6e0d73d2fea33fdf3.bundle.js} +1 -1
- package/dist/{327.32ff9cb46eabb5d4a953.bundle.js → 328.d36d3f51eb293a6503fd.bundle.js} +1 -1
- package/dist/{328.a976af34cedf2fa2f704.bundle.js → 329.910acc6e45cdde42ecb5.bundle.js} +1 -1
- package/dist/33.635568621f059436bbca.bundle.js +1 -0
- package/dist/{329.12cfb97185cd3f19ec78.bundle.js → 330.cd90ad4adc53795b3b13.bundle.js} +1 -1
- package/dist/{330.bb63d5fc20b2bcd4d339.bundle.js → 331.9412e7b66fb1b320cd26.bundle.js} +1 -1
- package/dist/{331.dcf5bf6589ac6508f678.bundle.js → 332.1a1714093805645e91d6.bundle.js} +1 -1
- package/dist/{332.9d03e71ea008a855fa21.bundle.js → 333.a081dc1660bbff17603d.bundle.js} +1 -1
- package/dist/{333.0b9d6cf9eaddcf7fced8.bundle.js → 334.5277b1225860e2601182.bundle.js} +1 -1
- package/dist/{334.594168bf09ec20c0a3ca.bundle.js → 335.4d11d6224b9c13ec00fe.bundle.js} +1 -1
- package/dist/{335.8ba957523219aa412abc.bundle.js → 336.56aacfb110a6c22fa2b2.bundle.js} +1 -1
- package/dist/{336.34e1704cf1ebe667954f.bundle.js → 337.999aadccc181420ed706.bundle.js} +1 -1
- package/dist/{337.8481172aedfa9b3e2ae5.bundle.js → 338.03ac9fe4b0245fb2e77e.bundle.js} +1 -1
- package/dist/{338.f28c4ee33fc99bbfb9d0.bundle.js → 339.14b4c1d9ed947dfdd5d3.bundle.js} +1 -1
- package/dist/{34.cf1c5d51e0bfbf10fe2e.bundle.js → 34.575c8430d41268587900.bundle.js} +1 -1
- package/dist/340.29b9a65af6d94221c823.bundle.js +1 -0
- package/dist/{340.72090fb9be58672bf42d.bundle.js → 341.6070a575c7511543fa14.bundle.js} +1 -1
- package/dist/{341.97cd72809c4207c6d1da.bundle.js → 342.0eb122cacd472633a4ad.bundle.js} +1 -1
- package/dist/{342.865fb5893eb67ed6ac7c.bundle.js → 343.b7ed3f191c38e96cf071.bundle.js} +1 -1
- package/dist/{343.1e0cb72cc52ef6f3a593.bundle.js → 344.d17a321c4a32570664bc.bundle.js} +1 -1
- package/dist/{344.37dde32d5cb2fdbf6630.bundle.js → 345.c9d0cd5acba3b7ad1b66.bundle.js} +1 -1
- package/dist/{345.7b096bd8435e4ab16889.bundle.js → 346.99dc0e123a7c9b8154bf.bundle.js} +1 -1
- package/dist/{346.a4cd577a9e8aa56875d2.bundle.js → 347.09e92fac2ccb65a52786.bundle.js} +1 -1
- package/dist/{347.35843e38ac1e710251fb.bundle.js → 348.182f94f8ffa60a41afe7.bundle.js} +1 -1
- package/dist/{348.54a4ceaed66e168609a7.bundle.js → 349.68e24ffe977350b143b9.bundle.js} +1 -1
- package/dist/{35.ec76ac07567c2d176a4b.bundle.js → 35.6dd39434ecdad831f670.bundle.js} +1 -1
- package/dist/{349.2b5a807450bcf89aa7a3.bundle.js → 350.6d793dc9096be252af3b.bundle.js} +1 -1
- package/dist/{350.5bba8d09243b3ffc8d27.bundle.js → 351.00784f78884075f2eb00.bundle.js} +1 -1
- package/dist/{351.00c6d019c3ee260bbbb7.bundle.js → 352.48f7242d91b0fd7b918e.bundle.js} +1 -1
- package/dist/{352.216f8da48bf6779cbe8a.bundle.js → 353.0bfdef7866c2b0e2765c.bundle.js} +1 -1
- package/dist/{353.8c810994084e57e681af.bundle.js → 354.78213f74db16c39427e8.bundle.js} +1 -1
- package/dist/{354.7e3a75ab06e7bbc6e391.bundle.js → 355.317be9053f8554b1665a.bundle.js} +1 -1
- package/dist/{355.4bf835922000865b78ff.bundle.js → 356.3c95c162e9d6abc3893f.bundle.js} +1 -1
- package/dist/{356.2fb2e095f752291fc36a.bundle.js → 357.bc3b8448755888b96321.bundle.js} +1 -1
- package/dist/{357.7a005297fb7a35544edd.bundle.js → 358.b6e01a398351cb8f215f.bundle.js} +1 -1
- package/dist/{358.b81cae8ad3c6d372d78a.bundle.js → 359.170bccf7b5f03db5652d.bundle.js} +1 -1
- package/dist/{36.5ce24e912050a85868aa.bundle.js → 36.a3b294246c12092d71f5.bundle.js} +1 -1
- package/dist/{359.da5bb8979c09500c9731.bundle.js → 360.2545fd592f9b32e32e20.bundle.js} +1 -1
- package/dist/{360.b82aba282a9d8061d236.bundle.js → 361.17a13f54e8dd4b542149.bundle.js} +1 -1
- package/dist/{361.bf3bd5dac44b4779b072.bundle.js → 362.c05ffc84939da7bb5cdc.bundle.js} +1 -1
- package/dist/{362.18f0adca82e101c4e5b9.bundle.js → 363.df70b2415c40ec8a35a3.bundle.js} +1 -1
- package/dist/{363.242e5a4aba7c76394d71.bundle.js → 364.6aa8aaa9933f07d9fc74.bundle.js} +1 -1
- package/dist/{364.c8b7a1ca0adf6f6ab5d1.bundle.js → 365.020b946b0f0b8419e3c2.bundle.js} +1 -1
- package/dist/{365.da6f9e3b79056fbc9935.bundle.js → 366.8879a4d51172d8eb9cf1.bundle.js} +1 -1
- package/dist/367.6b22f24c90e03c20705d.bundle.js +1 -0
- package/dist/{367.333dbacb07d920cb4f35.bundle.js → 368.392b06b281d6962fbf77.bundle.js} +1 -1
- package/dist/{368.b996e000118fd2d48023.bundle.js → 369.a4958177019cba09d1dd.bundle.js} +1 -1
- package/dist/{37.31c75f57d06df83316c6.bundle.js → 37.7426d9db22e01ae003e5.bundle.js} +1 -1
- package/dist/{369.e9f183ffff429673e575.bundle.js → 370.aca7aa76426317ca11af.bundle.js} +1 -1
- package/dist/371.59f8ada05ae0394e6c60.bundle.js +1 -0
- package/dist/372.a4bc87448c90de177593.bundle.js +1 -0
- package/dist/{372.8dc712fa11b03b7cb4a0.bundle.js → 373.053c19c1eae44c1f9037.bundle.js} +1 -1
- package/dist/{373.23df17a1f315ef2daedf.bundle.js → 374.57fcd04fbcdc853997ac.bundle.js} +1 -1
- package/dist/{374.4dd4eb5cc82b451d8945.bundle.js → 375.6d0c0eecda47a860744a.bundle.js} +1 -1
- package/dist/{375.d5b1e69a6423a38c9caf.bundle.js → 376.a17c3dc3984caa9bb6bb.bundle.js} +1 -1
- package/dist/{376.be83e1d73d4b5595017c.bundle.js → 377.e37a811f69b937bed73f.bundle.js} +1 -1
- package/dist/{377.43c7d29f15618ab44a3d.bundle.js → 378.5025f8d4c85157d98ca5.bundle.js} +1 -1
- package/dist/{378.a5375562ce0b67f8382b.bundle.js → 379.ab09838f104c4ad48fc2.bundle.js} +1 -1
- package/dist/{38.1dfb5763064c2adaebd6.bundle.js → 38.f3371c3bdb77ff2fb74d.bundle.js} +1 -1
- package/dist/380.708056ab669c39096128.bundle.js +1 -0
- package/dist/{379.42bcccb9366be5787688.bundle.js → 381.8389ff486c8414de683c.bundle.js} +1 -1
- package/dist/382.85029f47dd0e46b47fe2.bundle.js +1 -0
- package/dist/{381.f5f789cf35400f2c9639.bundle.js → 383.01102ddef85b91858e7c.bundle.js} +1 -1
- package/dist/{382.421cd82a9eb002f6843c.bundle.js → 384.77acf10648faa200c368.bundle.js} +1 -1
- package/dist/385.e8b43f2f7df89f935813.bundle.js +1 -0
- package/dist/386.d1068ed7270fe75683e6.bundle.js +1 -0
- package/dist/387.bb2365b290db583fe9a4.bundle.js +1 -0
- package/dist/{386.7e64e8d9c4aac0bbdb45.bundle.js → 388.ecccb8944cf4d7307f92.bundle.js} +1 -1
- package/dist/{387.e9a84b8c2892dda2f650.bundle.js → 389.902f2749f08da6de31c8.bundle.js} +1 -1
- package/dist/{40.4cc11d63e6bcfb257927.bundle.js → 39.d23712bc988241bcda62.bundle.js} +1 -1
- package/dist/{388.2e6dfb15fbcd6462c3d3.bundle.js → 390.17f5e36eb68795a61643.bundle.js} +1 -1
- package/dist/{389.5b0ede46232d8f8f4d66.bundle.js → 391.9c2dffda1b364f23eade.bundle.js} +1 -1
- package/dist/{390.6036e2ff582e87acaec1.bundle.js → 392.50e1dac3d7338ae5c31b.bundle.js} +1 -1
- package/dist/393.e246c06e7550719bc78a.bundle.js +1 -0
- package/dist/394.bd70dc486e476d57e4d8.bundle.js +1 -0
- package/dist/395.b31b058ae190c871e05e.bundle.js +1 -0
- package/dist/{394.97f198143c473525a230.bundle.js → 396.21548a387670b79d77b6.bundle.js} +1 -1
- package/dist/{395.6ce498a744a986e8ff86.bundle.js → 397.3e574279a2c0f30b1890.bundle.js} +1 -1
- package/dist/{396.aefb86d4ebef8ff2a297.bundle.js → 398.86290e5d8273e5544f0a.bundle.js} +1 -1
- package/dist/{397.79cd207a9f02d868df10.bundle.js → 399.257ef9d210239ee75b32.bundle.js} +1 -1
- package/dist/4.dca130a2d0a2f08c4ced.bundle.js +1 -0
- package/dist/{41.8564cea4b8d2e978c0fa.bundle.js → 40.103e93954bb929dc95d8.bundle.js} +1 -1
- package/dist/{42.d7e29d98febe1327f20d.bundle.js → 41.54409d0144049d72d3a4.bundle.js} +1 -1
- package/dist/{43.970f6e2bb8846b2712b8.bundle.js → 42.b46b294c162ab1437a8a.bundle.js} +1 -1
- package/dist/{44.bcc6eace48b1d6434e62.bundle.js → 43.aba2202531047cdd340c.bundle.js} +1 -1
- package/dist/{45.9b655ea07221e5e2a517.bundle.js → 44.b5b2c1a5876e7b1bab1c.bundle.js} +1 -1
- package/dist/{46.a29d923276330b841abe.bundle.js → 45.2df13f1abdd4743e7565.bundle.js} +1 -1
- package/dist/46.27fbc950644d763654df.bundle.js +1 -0
- package/dist/47.1d2392c7f600ff36d826.bundle.js +1 -0
- package/dist/{49.929061b5beba2ec97451.bundle.js → 48.a17f650a2276b8c455e1.bundle.js} +1 -1
- package/dist/{50.20572266650787d7ee91.bundle.js → 49.95daa5890e4e90dff893.bundle.js} +1 -1
- package/dist/{5.b2096856419b1a06ea75.bundle.js → 5.58ff84bcf3a9b051cc9d.bundle.js} +1 -1
- package/dist/{51.920803b51e86c1f8d45a.bundle.js → 50.47a9b3e584e071df4c65.bundle.js} +1 -1
- package/dist/{53.ffce7c0ac6b025c53b75.bundle.js → 51.b3896c1c03df808060f2.bundle.js} +2 -2
- package/dist/52.3e0748f0e97dcc0e1466.bundle.js +1 -0
- package/dist/{54.ee14bd02621e6b4667b8.bundle.js → 53.3e35cb685ad48d5db269.bundle.js} +1 -1
- package/dist/{55.409784fff5aff351a7fe.bundle.js → 54.83fb3bb845e7b0921578.bundle.js} +1 -1
- package/dist/{56.b8582f61d881c1cad5e7.bundle.js → 55.dafa72cf24aac4a9573f.bundle.js} +1 -1
- package/dist/{57.a298ee7bb5d22e8419f8.bundle.js → 56.41b03cdc4fcd0187230f.bundle.js} +1 -1
- package/dist/{58.e8c5b3956ece53354494.bundle.js → 57.e4402ef4d681449925f6.bundle.js} +1 -1
- package/dist/{59.6b5fd868c31cfb6a2762.bundle.js → 58.fae57a6fe6b6963ab574.bundle.js} +1 -1
- package/dist/{60.686d916962bfb4056a6c.bundle.js → 59.b54dacae49eabe212e5f.bundle.js} +1 -1
- package/dist/6.f1f2558ab897aa83c59f.bundle.js +1 -0
- package/dist/{61.0f5b5f053325f96a3f34.bundle.js → 60.4111cd4b17e594b1679d.bundle.js} +1 -1
- package/dist/61.70bd103c52ca8e172ec1.bundle.js +1 -0
- package/dist/62.5613c34eecd6153d419f.bundle.js +1 -0
- package/dist/{65.72826a0c206575c1e2b0.bundle.js → 63.9aab2fa9eaad4418c3c4.bundle.js} +2 -2
- package/dist/{66.2d6293e2aff634d498fe.bundle.js → 64.f0bd97d0cd8d83e288e2.bundle.js} +1 -1
- package/dist/{67.ada6349f0f83da3f3256.bundle.js → 65.aa4da592d31842e53989.bundle.js} +1 -1
- package/dist/66.dd858c19331b18872236.bundle.js +1 -0
- package/dist/{69.07b17e35f4356b0316a6.bundle.js → 67.3eb4424dc5ec094cb8f6.bundle.js} +1 -1
- package/dist/{70.857ff29191ca36ed5b48.bundle.js → 68.5fe1da3809614fe236dc.bundle.js} +1 -1
- package/dist/{71.55f2d00c428565282880.bundle.js → 69.967252b961ccfed5fb80.bundle.js} +1 -1
- package/dist/7.1ac1cd77cb65935bf75f.bundle.js +1 -0
- package/dist/{72.aec349c178c91727485d.bundle.js → 70.c7fe7977369ea0871c56.bundle.js} +1 -1
- package/dist/{73.fdc9c07492227e344cc3.bundle.js → 71.1dbccca08c3af1eb0215.bundle.js} +1 -1
- package/dist/{74.ba6d30bda6286ae239d5.bundle.js → 72.452a300874c461b90e01.bundle.js} +1 -1
- package/dist/{75.8020265074f8b85a9038.bundle.js → 73.916059b14b0616eb753a.bundle.js} +1 -1
- package/dist/{76.f6535b08fc78b47a9c7e.bundle.js → 74.a4daa21ddd4c2651e85f.bundle.js} +1 -1
- package/dist/75.d53255f96984aba43493.bundle.js +1 -0
- package/dist/76.681b8aea626f158e46fe.bundle.js +1 -0
- package/dist/{78.4a3b2d46d28b4844917e.bundle.js → 77.81a144fdf32638aade21.bundle.js} +1 -1
- package/dist/{79.fcb63f57ab3b465fe83a.bundle.js → 78.52ea2a98aa029f5c5e8e.bundle.js} +1 -1
- package/dist/{80.ed230d0ab87e71ce20a0.bundle.js → 79.6b6705c1598cbbc0a17b.bundle.js} +1 -1
- package/dist/{8.61d7d1eb310f8cdc62a6.bundle.js → 8.2ec16ea75c1466e42939.bundle.js} +1 -1
- package/dist/{81.a5122117f8d64f9e4593.bundle.js → 80.6143bdcc34a80b922af1.bundle.js} +1 -1
- package/dist/{82.8d0172da4ec38841ff65.bundle.js → 81.1c5d87c757dc26cb6c0c.bundle.js} +1 -1
- package/dist/{83.06f9155fd9d2840c9e0d.bundle.js → 82.0f217a8b94b5eefc947a.bundle.js} +1 -1
- package/dist/{84.7a6bd4dcc42d89095d9d.bundle.js → 83.ae3a2b36b37770b090e4.bundle.js} +1 -1
- package/dist/{85.7c2f09c86407294a40ba.bundle.js → 84.78bf23fb8a85a484ee68.bundle.js} +1 -1
- package/dist/{86.80e2092b94da006fef06.bundle.js → 85.e63823466d563f6be7f9.bundle.js} +1 -1
- package/dist/{87.81bb296620f4b3a5fddd.bundle.js → 86.dbd455151f115da101a2.bundle.js} +1 -1
- package/dist/{88.ea0225ac48d9f5b7b8ee.bundle.js → 87.d6b22f58b49ca0782c41.bundle.js} +1 -1
- package/dist/{89.dcb04f91d7e151b1a309.bundle.js → 88.1d56c1546891859e77de.bundle.js} +1 -1
- package/dist/{90.0b163611c3037b07a007.bundle.js → 89.41a5ec34796af52e10f5.bundle.js} +1 -1
- package/dist/9.6228a4f939d43d5e1aee.bundle.js +1 -0
- package/dist/{91.ae39d2216929928ed44e.bundle.js → 90.45f963b0084664767830.bundle.js} +1 -1
- package/dist/{92.e809512eeabf7ebef765.bundle.js → 91.271bd981e4d895549a15.bundle.js} +1 -1
- package/dist/{93.eacf11b216749ef24662.bundle.js → 92.b72a6f200cfb3a6a5d84.bundle.js} +1 -1
- package/dist/{94.ea51ce6e0a719f162375.bundle.js → 93.c1455ca18f08700c51e7.bundle.js} +1 -1
- package/dist/{95.0dc5550911d3d0d871da.bundle.js → 94.5db9bafae984ea2a4a83.bundle.js} +1 -1
- package/dist/{96.f35153db1bf3b90d2abc.bundle.js → 95.f58d7348d1aa2c17e731.bundle.js} +1 -1
- package/dist/{97.5f0cbc7c62c5871a1dbb.bundle.js → 96.0a36d213b49da09c70e7.bundle.js} +1 -1
- package/dist/{98.6711ad20bbd77dd418d8.bundle.js → 97.875281bb552b026aa7dc.bundle.js} +1 -1
- package/dist/{99.35c79bc748869bc79a91.bundle.js → 98.fccd94272c9999b77a3b.bundle.js} +1 -1
- package/dist/99.35bb9a363cb2b3764063.bundle.js +1 -0
- package/dist/{bundle.f19c8bb3b73aeddf1f27.bundle.js → bundle.d615c550bb922f146642.bundle.js} +16 -16
- package/dist/css/rdf-resource-search.css +11 -4
- package/dist/css/repositories.css +17 -3
- package/dist/css/ttyg/ttyg.css +10 -5
- package/dist/i18n/locale-en.json +14 -4
- package/dist/i18n/locale-fr.json +14 -4
- package/dist/index.html +6 -6
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +7 -3
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/repositories/templates/manage-remote-location-dialog.template.html +36 -9
- package/dist/js/angular/security/templates/user.html +5 -2
- package/dist/js/angular/security/templates/users.html +1 -5
- package/dist/js/angular/templates/pageInfoTooltip.html +6 -0
- package/dist/js/angular/templates/titlePopoverTemplate.html +8 -4
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +6 -5
- package/dist/js/angular/ttyg/templates/chat-list.html +3 -3
- package/dist/js/angular/ttyg/templates/chat-panel.html +5 -5
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
- package/dist/js/angular/ttyg/templates/no-agents-view.html +2 -2
- package/dist/js/angular/ttyg/templates/ttyg.html +4 -8
- package/dist/license-checker.json +2 -2
- package/dist/{main.bc67010f8efbfa19a87a.bundle.js → main.f0608ada6ef8c3bd89c3.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +3 -7
- package/dist/pages/autocomplete.html +2 -6
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +4 -9
- package/dist/pages/connectorsInfo.html +1 -5
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +2 -6
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +3 -7
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +8 -12
- package/dist/pages/guides.html +2 -6
- package/dist/pages/import.html +3 -7
- package/dist/pages/info.html +1 -5
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/jdbc.html +1 -5
- package/dist/pages/licenseInfo.html +1 -5
- package/dist/pages/monitor/backup-and-restore.html +2 -8
- package/dist/pages/monitor/queries.html +2 -6
- package/dist/pages/monitor/resources.html +2 -6
- package/dist/pages/namespaces.html +3 -7
- package/dist/pages/plugins.html +2 -6
- package/dist/pages/rdfClassHierarchyInfo.html +8 -12
- package/dist/pages/rdfrank.html +3 -7
- package/dist/pages/repositories.html +165 -144
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +2 -6
- package/dist/pages/sparql-editor.html +2 -6
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/sparql-templates.html +1 -5
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +3 -7
- package/dist/plugins.js +87 -45
- package/dist/{polyfills-dom.798fd2050f81c0dff613.bundle.js → polyfills-dom.3169700da08d0116a944.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.3ae36bbbdf44fc52984f.bundle.js → vendor.d646e95fe71d0052bb8b.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.b7d53dddc781f5fdc222.bundle.js → vendors~polyfills-core-js.4e908cda4b605b6f1571.bundle.js} +1 -1
- package/package.json +1 -1
- package/dist/100.6ec3d989e75140cf46ca.bundle.js +0 -1
- package/dist/102.791468df396a09a31d71.bundle.js +0 -1
- package/dist/103.37921e51177a654d75ac.bundle.js +0 -1
- package/dist/120.2fe6c930b40edfc70a3f.bundle.js +0 -1
- package/dist/123.75914b050247dec2f47a.bundle.js +0 -1
- package/dist/124.db458d12650e11836826.bundle.js +0 -1
- package/dist/130.ef294422e321cdff61f3.bundle.js +0 -1
- package/dist/135.5e771c47f8d09d2854fc.bundle.js +0 -1
- package/dist/146.7765ae4e0ecce35603f4.bundle.js +0 -1
- package/dist/148.f25d2d396c86c31714f6.bundle.js +0 -1
- package/dist/156.0eea43daab882951002d.bundle.js +0 -1
- package/dist/159.a377c78f9b79f34833cd.bundle.js +0 -1
- package/dist/179.9cd9059a32896097ca5f.bundle.js +0 -1
- package/dist/180.5e55e866b1afe07594b5.bundle.js +0 -1
- package/dist/210.0f6c9ebcadbffaa8531e.bundle.js +0 -1
- package/dist/23.f3a3443a579f798ac397.bundle.js +0 -2
- package/dist/230.0488e3db5b97f2f0718e.bundle.js +0 -1
- package/dist/232.563f877ad8cb57bd7ae9.bundle.js +0 -1
- package/dist/24.89d0c908a57f6cc21ce1.bundle.js +0 -2
- package/dist/243.f903930bec14e06ab93c.bundle.js +0 -1
- package/dist/244.6220325e47e556f08596.bundle.js +0 -1
- package/dist/25.1679fde85cc933df66f0.bundle.js +0 -2
- package/dist/251.010f27656deea8b99ebc.bundle.js +0 -1
- package/dist/253.b13d8c3004ab84305e69.bundle.js +0 -1
- package/dist/257.cd5f9fcbaa21f8e9f2db.bundle.js +0 -1
- package/dist/259.e063188721ef545ef935.bundle.js +0 -1
- package/dist/265.e47f5f16cca0f82cdec5.bundle.js +0 -1
- package/dist/269.6fac51bdfdcd247f48ad.bundle.js +0 -1
- package/dist/271.9b9fede86283fadfb193.bundle.js +0 -1
- package/dist/272.adde63f600ed911c15a8.bundle.js +0 -1
- package/dist/274.4c4b5c33f1e88d517c3d.bundle.js +0 -1
- package/dist/278.2e0c8e3aaa8bfbec0561.bundle.js +0 -1
- package/dist/28.a4203eb16286d27639bd.bundle.js +0 -1
- package/dist/293.00eee1c8630942feed6e.bundle.js +0 -1
- package/dist/296.a80e29fc4de1a421231b.bundle.js +0 -1
- package/dist/297.829ef1630b4e75540813.bundle.js +0 -1
- package/dist/298.6b1a667d8bcbe6d3821d.bundle.js +0 -1
- package/dist/300.8f9582a9f4bfbf07c7ba.bundle.js +0 -1
- package/dist/303.5fbc4fc6b3b6700dd71c.bundle.js +0 -1
- package/dist/304.b6372799dca7f4e9f712.bundle.js +0 -1
- package/dist/33.750b03f61268eaf2623b.bundle.js +0 -1
- package/dist/339.c669b86c15f773126998.bundle.js +0 -1
- package/dist/366.933e620636c9518da77e.bundle.js +0 -1
- package/dist/370.2df5d6d470f8c4cf16de.bundle.js +0 -1
- package/dist/371.6e98e61425dae465956a.bundle.js +0 -1
- package/dist/380.fbd0b1c517e7f117b69c.bundle.js +0 -1
- package/dist/383.e5540db47682edab834d.bundle.js +0 -1
- package/dist/384.f1c40e0e60f01d8aba9a.bundle.js +0 -1
- package/dist/385.48c5e5379f7dfac726ab.bundle.js +0 -1
- package/dist/39.78d988e336bd9d4f7cd4.bundle.js +0 -1
- package/dist/391.90a84270ddca2ebe03eb.bundle.js +0 -1
- package/dist/392.e0c451e90d8b605ed2bd.bundle.js +0 -1
- package/dist/393.3bfc31b44bfdba16d49c.bundle.js +0 -1
- package/dist/4.6e3aeb8eee6cde5ba990.bundle.js +0 -1
- package/dist/47.ba8a59361b7bef07c6a4.bundle.js +0 -1
- package/dist/48.c31e4bbc3f21fe58fd65.bundle.js +0 -1
- package/dist/52.42e7bb5a56f5f4c75241.bundle.js +0 -1
- package/dist/6.fa03286d27c8ae9a8ab2.bundle.js +0 -1
- package/dist/62.b60e36b63fe11c962d52.bundle.js +0 -1
- package/dist/63.732d2a81f1389f90c8c9.bundle.js +0 -1
- package/dist/64.f3a6be2dd7fa51c4f3d4.bundle.js +0 -1
- package/dist/68.7237eac2d4aeac9a56bd.bundle.js +0 -1
- package/dist/7.cd9f66de5a80daeb89da.bundle.js +0 -1
- package/dist/77.5dd4b9ee10abc4d51d9d.bundle.js +0 -1
- package/dist/9.fec09ce429afc7d37e5c.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[220],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[220],{340:function(n,s,t){"use strict";t.r(s),t.d(s,"OngoingRequestsInfo",(function(){return o}));class o{constructor(n,s){this.queriesCount=n,this.updatesCount=s}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[221],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[221],{158:function(t,n,o){"use strict";o.r(n),o.d(n,"QueryExecutedEvent",(function(){return a}));class a{constructor(t){this.TYPE=t.TYPE,this.duration=t.payload.duration,this.tabId=t.payload.tabId}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[222],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[222],{153:function(e,t,a){"use strict";a.r(t),a.d(t,"QueryRequestEvent",(function(){return s}));class s{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}getPageSize(){return this.request._data.pageSize?parseInt(this.request._data.pageSize):void 0}setPageNumber(e){this.request._data.pageNumber=e}getPageNumber(){return this.request._data.pageNumber?parseInt(this.request._data.pageNumber):void 0}setOffset(e){this.request._data.offset=e}setLimit(e){this.request._data.limit=e}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[223,224],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[223,224],{112:function(E,C,T){"use strict";T.r(C),T.d(C,"QueryType",(function(){return D}));const D={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[224,223],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[224,223],{112:function(E,C,T){"use strict";T.r(C),T.d(C,"QueryType",(function(){return D}));const D={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[225],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[225],{75:function(n,e,o){"use strict";o.r(e),o.d(e,"RenderingMode",(function(){return s}));const s={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[226],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[226],{160:function(e,t,s){"use strict";s.r(t),s.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[227],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[227],{159:function(t,n,a){"use strict";a.r(n),a.d(n,"SaveQueryOpened",(function(){return e}));class e{constructor(t){this.tab=t.payload.tab}getTab(){return this.tab}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[228],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[228],{342:function(t,s,n){"use strict";n.r(s),n.d(s,"Tab",(function(){return i}));class i{constructor(t){this.tab=t,this.yasgui=t.yasgui}getId(){return this.tab.getId()}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[229],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[229],{270:function(n,i,o){"use strict";o.r(i),o.d(i,"YasguiOrientation",(function(){return t}));const t={VERTICAL:"orientation-vertical",HORIZONTAL:"orientation-horizontal"}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[23,25,60,74,95,135,187,190,245,246,281,290,302,307],{100:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const o=[];let r;t.onKeydown=e=>{"Enter"===e.key?(i(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&s()},t.onCancelEditing=()=>{s()},t.onSelect=()=>{r?(i(),t.onDblclick({source:t.source})):r=e((function(){t.onClick({source:t.source}),i()}),250)};const s=()=>{i(),t.onCancel()},i=()=>{e.cancel(r),r=void 0};o.push(t.$watch("isEditing",o=>{o&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{o.forEach(e=>e()),i()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]},103:function(e,t,n){"use strict";n.r(t);n(85);var o=n(93),r=n(77);function s(e){const t=(t,n)=>e.getConnectors(t,n).then(e=>Object(o.connectorTypesListMapper)(e.data)),n=(t,n,r)=>e.hasConnector(encodeURIComponent(t),n,r).then(e=>Object(o.connectorsMapper)(e.data));return{getConnectorTypes:t,getConnectorsByType:n,getConnectorPrefixByName:(e,n,o)=>t(n,o).then(t=>{const n=t.getConnectorByName(e);return n?n.prefix:null}),getConnectorsByTypeAsSelectMenuOptions:(e,t,o)=>n(e,t,o).then(e=>e.connectors.map(e=>new r.SelectMenuOptionsModel({value:e.name,label:e.name})))}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",s),s.$inject=["ConnectorsRestService"]},104:function(e,t,n){"use strict";n.r(t);n(90);var o=n(84),r=n(77);function s(e){const t=(t,n)=>e.getIndexes(t,n).then(e=>Object(o.mapIndexesResponseToSimilarityIndex)(e.data));return{getIndexes:t,getIndexesAsMenuModel:(e,n)=>t(e,n).then(e=>e.map(e=>new r.SelectMenuOptionsModel({label:e.name,value:e.name})))}}angular.module("graphdb.framework.core.services.similarity",["graphdb.framework.rest.similarity.service"]).factory("SimilarityService",s),s.$inject=["SimilarityRestService"]},129:function(e,t,n){"use strict";n.r(t),n.d(t,"status",(function(){return o}));const o={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,CONFLICT:409,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVAILABLE:503}},130:function(e,t,n){"use strict";n.r(t);n(100);var o=n(73),r=n(118),s=n(0);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:a=>{a.selectedChat=void 0,a.renamedChat=void 0,a.deletingChat=void 0,a.onSelectChatForRenaming=e=>{a.renamedChat=e},a.onSelectChat=t=>{if(!a.selectedChat||a.selectedChat.id!==t.id){const n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),a.renamedChat=void 0}},a.onDeleteChat=r=>{const i=n.instant("ttyg.dialog.delete.title"),a=Object(s.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:r.name}));t.openConfirmation(i,a,()=>e.emit(o.TTYGEventName.DELETE_CHAT,r))},a.onRenameChat=(t,n)=>{n.name=t,a.renamedChat=void 0,e.emit(o.TTYGEventName.RENAME_CHAT,n)},a.onExportChat=t=>{e.emit(o.TTYGEventName.CHAT_EXPORT,t)},a.onCancelChatRenaming=()=>{a.renamedChat=void 0},a.getHumanReadableChatGroupTimestamp=e=>Object(r.getHumanReadableTimestamp)(n,i,e);const c=e=>{a.selectedChat=e},l=[];l.push(e.onSelectedChatChanged(c)),l.push(e.onSelectedChatUpdated(c)),l.push(e.onChatsListChanged(e=>{a.chatList=e})),l.push(e.subscribe(o.TTYGEventName.DELETING_CHAT,e=>{a.deletingChat=e})),a.$on("$destroy",()=>{l.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",i),i.$inject=["TTYGContextService","ModalService","$translate","$filter"]},131:function(e,t,n){"use strict";n.r(t);n(186);var o=n(73),r=n(78),s=n(82),i=n(31),a=n(0);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(e,c,l)=>{e.chat=void 0,e.selectedAgent=void 0,e.chatItem=void 0,e.askingChatItem=void 0,e.loadingChat=!1,e.ask=()=>{e.askingChatItem=Object(i.cloneDeep)(e.chatItem),e.chatItem.chatId?g(e.chatItem):d(),e.chatItem=h(),p(),m()},e.regenerateQuestion=t=>{const n=h();n.setQuestionMessage(t.getQuestionMessage()),e.askingChatItem=n,g(n),p()},e.onKeypressOnInput=t=>{"Enter"!==t.key||t.shiftKey||t.ctrlKey||e.ask()},e.onAskHowDeliveredAnswer=()=>{const n=h();n.setQuestionMessage(t.instant("ttyg.chat_panel.btn.derive_answer.label")),e.askingChatItem=Object(i.cloneDeep)(n),g(n),p()},e.getAgentName=e=>{const o=n.getAgent(e);return o?o.name:Object(a.decodeHTML)(t.instant("ttyg.chat_panel.deleted_agent"))};const d=()=>{n.emit(o.TTYGEventName.CREATE_CHAT,e.chatItem)},g=e=>{n.emit(o.TTYGEventName.ASK_QUESTION,e)},u=()=>{e.chatItem=Object(i.cloneDeep)(e.askingChatItem),e.askingChatItem=void 0},h=()=>{const t=new s.ChatItemModel;return t.question=new r.ChatMessageModel({role:r.CHAT_MESSAGE_ROLE.USER}),e.chat&&(t.chatId=e.chat.id),e.selectedAgent&&(t.agentId=e.selectedAgent.id),t},m=()=>{c.find(".question-input")[0].focus()},p=()=>{setTimeout(()=>{const e=c.find(".chat-details")[0];e&&(e.scrollTop=e.scrollHeight)})},T=()=>{e.chat=void 0,e.loadingChat=!1,e.chatItem=h(),e.askingChatItem=void 0,m()},y=[];y.push(e.$watchCollection("chat.chatHistory.items",p)),y.push(n.onSelectedChatUpdated(t=>{if(e.chat=t,t&&(t.id||!e.askingChatItem)){if(e.loadingChat=!1,e.chatItem=h(),e.askingChatItem=void 0,e.chat){const t=e.chat.chatHistory.getLast();t&&t.agentId&&n.selectAgent(n.getAgent(t.agentId))}m()}})),y.push(n.onSelectedAgentChanged(t=>{e.selectedAgent=t,e.selectedAgent&&e.chatItem&&(e.chatItem.agentId=e.selectedAgent.id)})),y.push(n.onSelectedChatChanged(t=>{e.loadingChat=t&&t.id,e.chatItem=h(),m()})),y.push(n.subscribe(o.TTYGEventName.LOAD_CHAT_FAILURE,()=>{e.loadingChat=!1,e.chatItem=h(),m()})),y.push(n.subscribe(o.TTYGEventName.ASK_QUESTION_FAILURE,u)),y.push(n.subscribe(o.TTYGEventName.CREATE_CHAT_FAILURE,u)),y.push(n.subscribe(o.TTYGEventName.DELETE_CHAT_SUCCESSFUL,t=>{e.chat&&t.id===e.chat.id&&T()})),e.$on("$destroy",()=>{y.forEach(e=>e())}),e.chatItem=h(),m()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},132:function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(73);function s(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(s,i,a)=>{s.selectedAgent=void 0,s.selectedAgentsFilter=void 0,s.deletingAgent=void 0,s.onEditAgent=t=>{e.emit(r.TTYGEventName.EDIT_AGENT,t)},s.onCloneAgent=t=>{e.emit(r.TTYGEventName.CLONE_AGENT,t)},s.onDeleteAgent=s=>{const i=n.instant("ttyg.agent.delete_agent_modal.title"),a=Object(o.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:s.name}));t.openConfirmation(i,a,()=>e.emit(r.TTYGEventName.DELETE_AGENT,s))},s.onAgentsFilterChange=e=>{s.selectedAgentsFilter=e,s.selectedAgentsFilter&&s.agentList.filterByRepository(s.selectedAgentsFilter.key)};const c=()=>{const e=s.agentListFilterModel.find(e=>e.selected);s.selectedAgentsFilter=e||s.agentListFilterModel[0],s.onAgentsFilterChange(s.selectedAgentsFilter)},l=[];l.push(s.$watch("agentListFilterModel",c)),l.push(e.subscribe(r.TTYGEventName.DELETING_AGENT,e=>{s.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{s.selectedAgent=e})),s.$on("$destroy",()=>{l.forEach(e=>e())}),c()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",s),s.$inject=["TTYGContextService","ModalService","$translate"]},133:function(e,t,n){"use strict";n.r(t);var o=n(77),r=n(73);function s(e,t,n,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=t=>{i(t),n.selectedAgent=t,e.selectAgent(t)},n.onAgentWithoutRepoSelected=o=>{const a=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),c=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");s.openConfirmation(a,c,()=>e.emit(r.TTYGEventName.EDIT_AGENT,o.data.agent)),i(o),n.selectedAgent=o.data.agent,e.selectAgent(o.data.agent)};const i=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},a=e=>{n.agentOptionsList=e.agents.map(e=>new o.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{a(e)})),c.push(e.subscribe(r.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{i(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",s),s.$inject=["TTYGContextService","$translate","$sce","ModalService"]},134:function(e,t,n){"use strict";n.r(t);var o=n(73),r=n(12);function s(e,t){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:n=>{n.canModifyAgent=!1,n.talkToGraphDocumentationLink=r.DocumentationUrlResolver.getDocumentationUrl(t.productShortVersion,"talk-to-graph.html"),n.onCreateAgent=()=>{e.emit(o.TTYGEventName.OPEN_AGENT_SETTINGS)};const s=[];s.push(e.onCanUpdateAgentUpdated(e=>{n.canModifyAgent=e})),n.$on("$destroy",()=>{s.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",s),s.$inject=["TTYGContextService","productInfo"]},135:function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(91),s=(n(104),n(103),n(114),n(19),n(8)),i=n(73),a=n(88);function c(e,t,n,c,l,d,g,u,h,m,p,T,y){e.AGENT_OPERATION=a.AGENT_OPERATION,e.operation=p.operation,e.savingAgent=!1,e.agentFormModel=p.agentFormModel,e.activeRepositoryInfo=p.activeRepositoryInfo,e.extractionMethodLoaderFlags={[r.ExtractionMethod.SIMILARITY]:!1},e.activeRepositoryList=p.activeRepositoryList,e.extractionMethods=r.ExtractionMethod,e.showAdvancedSettings=!1,e.showHighTemperatureWarning=!1,e.showSystemInstructionWarning=!1,e.similarityIndexes=[],e.retrievalConnectors=[],e.ftsEnabled=!1,e.toggleExtractionMethod=t=>{t.expanded=t.selected,e.agentSettingsForm.extractionMethods.$setTouched(),S(),L[t.method](t)},e.onExtractionMethodPanelToggle=e=>{e.toggleCollapse(),L[e.method](e)},e.getModelHelpMessage=()=>{const e=Object(o.decodeHTML)(m.instant("ttyg.agent.create_agent_modal.form.model.hint"));return g.trustAsHtml(e)},e.getFTSDisabledHelpMessage=()=>{const t=Object(o.decodeHTML)(m.instant("ttyg.agent.create_agent_modal.form.fts_search.fts_disabled_message",{repositoryEditPage:"#/repository/edit/"+e.agentFormModel.repositoryId}));return g.trustAsHtml(t)},e.goToCreateSimilarityView=()=>{T.emit(i.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.goToConnectorsView=()=>{T.emit(i.TTYGEventName.GO_TO_CONNECTORS_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.ok=()=>{const t=e.agentFormModel.toPayload();return E[e.operation](t)},e.cancel=()=>{t.dismiss({})},e.close=()=>{t.dismiss({})},e.updateSimilaritySearchPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getSimilarityExtractionMethod();t&&(n.similarityIndex=null),_(n)},e.updateRetrievalConnectorPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getRetrievalExtractionMethod();t&&(n.retrievalConnectorInstance=null),b(n)},e.checkIfFTSEnabled=()=>{e.agentFormModel.repositoryId&&d.getRepositoryModel({id:e.agentFormModel.repositoryId}).then(t=>{e.ftsEnabled=t.getParamValue(s.REPOSITORY_PARAMS.enableFtsIndex)}).catch(e=>{v(e,"ttyg.agent.messages.error_repository_config_loading")}).finally(()=>{e.extractionMethodLoaderFlags[r.ExtractionMethod.FTS_SEARCH]=!1})},e.onRepositoryChange=()=>{e.checkIfFTSEnabled(),e.updateSimilaritySearchPanel(!0),e.updateRetrievalConnectorPanel(!0)},e.onRestoreDefaultSystemInstructions=()=>{e.agentFormModel.instructions.systemInstruction=e.agentFormModel.instructions.systemInstructionCopy},e.onRestoreDefaultUserInstructions=()=>{e.agentFormModel.instructions.userInstruction=e.agentFormModel.instructions.userInstructionCopy},e.onTemperatureChange=()=>{e.showHighTemperatureWarning=e.agentFormModel.temperature.value>1},e.onSystemInstructionChange=()=>{""===e.agentFormModel.instructions.systemInstruction||e.showSystemInstructionWarning||(e.showSystemInstructionWarning=!0,n.openModalAlert({title:m.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.title"),message:m.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.body")}).result.then((function(){}))),""===e.agentFormModel.instructions.systemInstruction&&(e.showSystemInstructionWarning=!1)};const E={[a.AGENT_OPERATION.CREATE]:e=>f(e),[a.AGENT_OPERATION.EDIT]:e=>A(e),[a.AGENT_OPERATION.CLONE]:e=>C(e)},f=n=>(e.savingAgent=!0,y.createAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),A=n=>(e.savingAgent=!0,y.editAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),C=n=>(e.savingAgent=!0,y.createAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),v=(e,t)=>{console.error(e),u.error(m.instant(t))},S=()=>{e.agentSettingsForm.extractionMethods.$setValidity("required",e.agentFormModel.hasExtractionMethodSelected())},I=()=>{const t=e.activeRepositoryList.find(t=>t.value===e.agentFormModel.repositoryId);return{repositoryId:t?t.data.repository.id:void 0,repositoryLocation:t?t.data.repository.location:void 0}},_=t=>{if(t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=I();c.getIndexesAsMenuModel(n.repositoryId,n.repositoryLocation).then(n=>{e.similarityIndexes=n,e.agentSettingsForm.$setValidity("missingIndex",!t.selected||!(!n||!n.length)),R(e.similarityIndexes,t)}).catch(e=>{v(e,"ttyg.agent.messages.error_similarity_indexes_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},R=(e,t)=>{if(0===e.length)return void(t.similarityIndex=null);const n=e.find(e=>e.value===t.similarityIndex);t.similarityIndex=n?n.value:e[0].value},b=t=>{if(t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=I();l.getConnectorPrefixByName("ChatGPT Retrieval",n.repositoryId,n.repositoryLocation).then(e=>l.getConnectorsByTypeAsSelectMenuOptions(e,n.repositoryId,n.repositoryLocation)).then(n=>{e.retrievalConnectors=n,e.agentSettingsForm.$setValidity("missingConnector",!t.selected||!(!n||!n.length)),N(e.retrievalConnectors,t)}).catch(e=>{v(e,"ttyg.agent.messages.error_retrieval_connectors_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},N=(e,t)=>{if(0===e.length)return void(t.retrievalConnectorInstance=null);const n=e.find(e=>e.value===t.retrievalConnectorInstance);t.retrievalConnectorInstance=n?n.value:e[0].value},L={[r.ExtractionMethod.FTS_SEARCH]:t=>(t=>{e.extractionMethodLoaderFlags[t.method]=!0,e.checkIfFTSEnabled()})(t),[r.ExtractionMethod.SPARQL]:e=>{},[r.ExtractionMethod.SIMILARITY]:e=>_(e),[r.ExtractionMethod.RETRIEVAL]:e=>b(e)};setTimeout(S,0)}angular.module("graphdb.framework.ttyg.controllers.agent-settings-modal",["graphdb.framework.core.services.similarity","graphdb.framework.core.services.connectors","graphdb.framework.rest.repositories.service"]).controller("AgentSettingsModalController",c),c.$inject=["$scope","$uibModalInstance","ModalService","SimilarityService","ConnectorsService","RepositoriesRestService","$sce","toastr","UriUtils","$translate","dialogModel","TTYGContextService","TTYGService"]},136:function(e,t){function n(e,t){const n={agent:{id:void 0},chat:{id:void 0}},o=()=>{let o=e.get(t.TTYG);return o||(o=n),o.agent||(o.agent={}),o.chat||(o.chat={}),o};return{saveAgent:function(n){const r=o();r.agent.id=n?n.id:void 0,e.set(t.TTYG,r)},getAgentId:function(){const e=o();if(e.agent)return e.agent.id},saveChat:function(n){const r=o();r.chat.id=n?n.id:void 0,e.set(t.TTYG,r)},getChatId:function(){const e=o();if(e.chat)return e.chat.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",n),n.$inject=["LocalStorageAdapter","LSKeys"]},137:function(e,t,n){"use strict";n.r(t),n.d(t,"AgentSettingsModal",(function(){return o}));class o{constructor(e,t,n,o){this.activeRepositoryInfo=e,this.activeRepositoryList=t,this.agentFormModel=n,this.operation=o}}},185:function(e,t,n){"use strict";n.r(t);n(130),n(131),n(132),n(133),n(134),n(135),n(114);var o=n(73),r=(n(136),n(88)),s=n(91),i=n(115),a=n(142),c=n(77),l=n(21),d=n(511),g=n(137),u=n(0),h=n(129),m=n(17);function p(e,t,n,p,T,y,E,f,A,C,v,S,I,_,R){const b=[],N={filter_all:E.instant("ttyg.agent.btn.filter.all")};p.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",p.isHelpVisible=!1,p.showChats=!0,p.showAgents=!1,p.chats=void 0,p.loadingChats=!1,p.loadingChat=!1,p.initialized=!1,p.agents=void 0,p.selectedAgent=void 0,p.loadingAgents=!1,p.reloadingAgents=!1,p.connectorID=void 0,p.canModifyAgent=!1,p.agentListFilterModel=[],p.activeRepositoryList=[],p.history=[],p.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5},p.startNewChat=()=>{let e=_.getChats().getNonPersistedChat();e||(e=x(),_.addChat(e)),_.selectChat(e)},p.onopen=p.onclose=()=>angular.noop(),p.toggleChatsListSidebar=()=>{p.showChats=!p.showChats},p.toggleAgentsListSidebar=()=>{p.showAgents=!p.showAgents},p.getIcon=e=>"question"===e?"user":"assistant"===e?"data":"help",p.clear=()=>{v.openSimpleModal({title:E.instant("common.confirm"),message:E.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){p.history=[],M()}))},p.openSettings=()=>{f.open({templateUrl:"js/angular/ttyg/templates/modal/settings.html",controller:"AgentSettingsDialogCtrl",size:"lg",resolve:{data:function(){return{askSettings:p.askSettings,connectorID:p.connectorID}}}}).result.then((function(e){p.connectorID=e.connectorID,p.askSettings=e.askSettings,M()}))},p.onToggleHelp=()=>{p.isHelpVisible=!p.isHelpVisible},p.onExportSelectedChat=()=>{k(_.getSelectedChat())};const L=()=>{const e=_.getDefaultAgent();return e?Promise.resolve(e):I.getDefaultAgent().then(e=>(_.setDefaultAgent(e),e))};p.onOpenNewAgentSettings=()=>{L().then(e=>{const t=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());e.repositoryId=t.id;const n=Object(a.agentFormModelMapper)(new s.AgentModel({}),e,r.AGENT_OPERATION.CREATE);return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(t,p.activeRepositoryList,n,r.AGENT_OPERATION.CREATE)}},size:"lg"}}).then(e=>{f.open(e).result.then(O)}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})},p.onOpenAgentSettings=e=>{let t=e;t||(t=_.getSelectedAgent()),L().then(e=>{const n=Object(a.agentFormModelMapper)(t,e,r.AGENT_OPERATION.EDIT),o=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(o,p.activeRepositoryList,n,r.AGENT_OPERATION.EDIT)}},size:"lg"}}).then(e=>{f.open(e).result.then(e=>{const t=_.getSelectedAgent();t&&e.id===t.id&&_.selectAgent(e),O()})}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})},p.onOpenCloneAgentSettings=e=>{L().then(t=>{const n=Object(a.agentFormModelMapper)(e,t,r.AGENT_OPERATION.CLONE);n.name="clone-"+n.name;const o=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(o,p.activeRepositoryList,n,r.AGENT_OPERATION.CLONE)}},size:"lg"}}).then(e=>{f.open(e).result.then(e=>{const t=_.getSelectedAgent();t&&e.id===t.id&&_.selectAgent(e),O()})}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})};const M=()=>{const e=S.get("ttyg")||{};e[A.getActiveRepository()]={history:p.history,connectorID:p.connectorID,askSettings:p.askSettings},S.set("ttyg",e)},G=()=>(p.loadingChats=!0,I.getConversations().then(e=>_.updateChats(e)).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH)),D(new i.ChatsListModel)}).finally(()=>{p.loadingChats=!1})),O=()=>(p.reloadingAgents=!0,I.getAgents().then(e=>_.updateAgents(e)).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{p.reloadingAgents=!1})),w=()=>{_.setCanModifyAgent(e.isRepoManager())},x=()=>{const e={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new i.ChatModel(e,Object(m.md5HashGenerator)())},D=e=>{e.isEmpty()?p.showChats=!1:(p.showChats=!0,_.getSelectedChat()||R.getChatId()||_.selectChat(p.chats.getFirstChat()))},k=e=>{I.exportConversation(e.id).then((function({data:t,filename:n}){Object(d.saveAs)(t,n),_.emit(o.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e)})).catch(()=>{_.emit(o.TTYGEventName.CHAT_EXPORT_FAILURE),C.error(E.instant("ttyg.chat.messages.export_failure"))})},F=()=>{const e=A.getActiveRepository(),t=A.getLocalReadableGraphdbRepositories().map(t=>new s.AgentListFilterModel(t.id,t.id,t.id===e));p.agentListFilterModel=[new s.AgentListFilterModel(r.AGENTS_FILTER_ALL_KEY,N.filter_all),...t]},Y=e=>{v.openModalAlert({title:E.instant("ttyg.chat.dialog.chat_is_missing.title"),message:E.instant("ttyg.chat.dialog.chat_is_missing.body")}).result.then((function(){_.deleteChat(e)}))},U=()=>{t.open("/similarity/index/create","_blank")},H=()=>{t.open("/connectors","_blank")},$=e=>{t.open(`/sparql?query=${encodeURIComponent(e)}&execute=true`,"_blank")},j=()=>{const e=R.getChatId(),t=_.getChats();e&&t.getChat(e)&&_.selectChat(_.getChats().getChat(e))};b.push(p.$watch(p.getActiveRepositoryObject,e=>{e&&(p.activeRepositoryList=A.getLocalReadableGraphdbRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id,data:{repository:e}})),((e=!0)=>(p.loadingAgents=e,I.getAgents().then(e=>_.updateAgents(e)).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{p.loadingAgents=!1})))().then(()=>(p.initialized=!0,F(),(()=>{const e=R.getAgentId();e&&I.getAgent(e).then(e=>{e&&_.selectAgent(e)}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})})(),G())).then(j),(()=>{const e=A.getActiveRepository();if(e){const t=S.get("ttyg");if(t&&t[e]){const n=t[e];n.history&&(p.history=n.history),p.connectorID=n.connectorID,n.askSettings&&(p.askSettings=n.askSettings)}}w()})())})),b.push(_.onSelectedChatChanged(e=>{e&&e.id?I.getConversation(e.id).then(t=>{_.updateSelectedChat(t),R.saveChat(e)}).catch(t=>{t.status===h.status.NOT_FOUND&&(Y(e),_.emit(o.TTYGEventName.LOAD_CHAT_FAILURE,e))}):_.updateSelectedChat(e)})),b.push(_.onChatsListChanged(e=>{p.chats=e,D(e)})),b.push(_.onCanUpdateAgentUpdated(e=>{p.canModifyAgent=e})),b.push(_.subscribe(_.onAgentsListChanged(e=>{p.agents=e}))),b.push(_.subscribe(o.TTYGEventName.CREATE_CHAT,e=>{p.startNewChat(),I.createConversation(e).then(e=>(_.emit(o.TTYGEventName.CREATE_CHAT_SUCCESSFUL),I.getConversation(e.chatId))).then(e=>{const t=_.getSelectedChat();if(t&&!t.id){const t=_.getChats().getNonPersistedChat();_.updateSelectedChat(e),_.replaceChat(e,t)}_.emit(o.TTYGEventName.LOAD_CHATS)}).catch(()=>{_.emit(o.TTYGEventName.CREATE_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.create_failure"))})})),b.push(_.subscribe(o.TTYGEventName.RENAME_CHAT,e=>{I.renameConversation(e).then(()=>{_.emit(o.TTYGEventName.RENAME_CHAT_SUCCESSFUL),_.emit(o.TTYGEventName.LOAD_CHATS)}).catch(()=>{_.emit(o.TTYGEventName.RENAME_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.rename_failure"))})})),b.push(_.subscribe(o.TTYGEventName.DELETE_CHAT,e=>{_.emit(o.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!0}),I.deleteConversation(e.id).then(()=>{_.emit(o.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e);const t=_.getChats();t.deleteChat(e),_.updateChats(t)}).catch(()=>{_.emit(o.TTYGEventName.DELETE_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.delete_failure"))}).finally(()=>_.emit(o.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!1}))})),b.push(_.subscribe(o.TTYGEventName.CHAT_EXPORT,k)),b.push(_.subscribe(o.TTYGEventName.ASK_QUESTION,e=>{e.question.timestamp=Date.now(),I.askQuestion(e).then(t=>{const n=_.getSelectedChat();if(n&&n.id===e.chatId){n.timestamp=t.timestamp;const o=e;e.answers=t.messages,n.chatHistory.appendItem(o),_.updateSelectedChat(n);const r=_.getChats();r.updateChatTimestamp(n.id,t.timestamp),_.updateChats(r)}}).catch(e=>{_.emit(o.TTYGEventName.ASK_QUESTION_FAILURE),C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})})),b.push(_.subscribe(o.TTYGEventName.LOAD_CHATS,G)),b.push(_.subscribe(o.TTYGEventName.OPEN_AGENT_SETTINGS,p.onOpenNewAgentSettings)),b.push(_.subscribe(o.TTYGEventName.EDIT_AGENT,p.onOpenAgentSettings)),b.push(_.subscribe(o.TTYGEventName.CLONE_AGENT,p.onOpenCloneAgentSettings)),b.push(_.subscribe(o.TTYGEventName.DELETE_AGENT,e=>{_.emit(o.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),I.deleteAgent(e.id).then(()=>O()).then(()=>{_.emit(o.TTYGEventName.AGENT_DELETED,e),p.selectedAgent&&p.selectedAgent.id===e.id&&(p.selectedAgent=void 0)}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{_.emit(o.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),b.push(_.subscribe(o.TTYGEventName.AGENT_SELECTED,e=>{p.selectedAgent=e,R.saveAgent(e)})),b.push(_.subscribe(o.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&v.openConfirmationModal({title:E.instant("common.confirm"),message:Object(u.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_similarity.body",{repositoryId:t.id})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{A.setRepository(t),U()})}else U()})),b.push(_.subscribe(o.TTYGEventName.GO_TO_CONNECTORS_VIEW,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&v.openConfirmationModal({title:E.instant("common.confirm"),message:Object(u.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_connectors.body",{repositoryId:t.id})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{A.setRepository(t),H()})}else H()})),b.push(_.subscribe(o.TTYGEventName.GO_TO_SPARQL_EDITOR,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&v.openConfirmation(E.instant("common.confirm"),Object(u.decodeHTML)(E.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:e.repositoryId})),()=>{A.setRepository(t),$(e.query)})}else $(e.query)})),b.push(n.$on("$translateChangeSuccess",()=>{N.filter_all=E.instant("ttyg.agent.btn.filter.all"),F()})),b.push(n.$on("securityInit",w)),p.$on("$destroy",(function(){b.forEach(e=>e()),_.resetContext()}))}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.controllers.agent-settings-modal"]).controller("TTYGViewCtrl",p),p.$inject=["$jwtAuth","$window","$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},379:function(e,t,n){"use strict";n.r(t);n(185);angular.module("graphdb.framework.ttyg",["ngRoute","graphdb.framework.ttyg.controllers.ttyg-view"])},510:function(e,t){(function(t){e.exports=t}).call(this,{})},511:function(e,t,n){var o,r=r||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),r=e.webkitRequestFileSystem,s=e.requestFileSystem||r||e.mozRequestFileSystem,i=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},a=0,c=function(t){var o=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?o():setTimeout(o,500)},l=function(e,t,n){for(var o=(t=[].concat(t)).length;o--;){var r=e["on"+t[o]];if("function"==typeof r)try{r.call(e,n||e)}catch(e){i(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},g=function(t,i){t=d(t);var g,u,h,m=this,p=t.type,T=!1,y=function(){l(m,"writestart progress write writeend".split(" "))},E=function(){(!T&&g||(g=n().createObjectURL(t)),u)?u.location.href=g:null==e.open(g,"_blank")&&"undefined"!=typeof safari&&(e.location.href=g);m.readyState=m.DONE,y(),c(g)},f=function(e){return function(){if(m.readyState!==m.DONE)return e.apply(this,arguments)}},A={create:!0,exclusive:!1};if(m.readyState=m.INIT,i||(i="download"),o)return g=n().createObjectURL(t),o.href=g,o.download=i,void setTimeout((function(){var e,t;e=o,t=new MouseEvent("click"),e.dispatchEvent(t),y(),c(g),m.readyState=m.DONE}));e.chrome&&p&&"application/octet-stream"!==p&&(h=t.slice||t.webkitSlice,t=h.call(t,0,t.size,"application/octet-stream"),T=!0),r&&"download"!==i&&(i+=".download"),("application/octet-stream"===p||r)&&(u=e),s?(a+=t.size,s(e.TEMPORARY,a,f((function(e){e.root.getDirectory("saved",A,f((function(e){var n=function(){e.getFile(i,A,f((function(e){e.createWriter(f((function(n){n.onwriteend=function(t){u.location.href=e.toURL(),m.readyState=m.DONE,l(m,"writeend",t),c(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&E()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=m["on"+e]})),n.write(t),m.abort=function(){n.abort(),m.readyState=m.DONE},m.readyState=m.WRITING})),E)})),E)};e.getFile(i,{create:!1},f((function(e){e.remove(),n()})),f((function(e){e.code===e.NOT_FOUND_ERR?n():E()})))})),E)})),E)):E()},u=g.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(d(e),t)}:(u.abort=function(){this.readyState=this.DONE,l(this,"abort")},u.readyState=u.INIT=0,u.WRITING=1,u.DONE=2,u.error=u.onwritestart=u.onprogress=u.onwrite=u.onabort=u.onerror=u.onwriteend=null,function(e,t){return new g(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
|
|
2
|
+
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=r:null!==n(517)&&null!=n(510)&&(void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o))},517:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},79:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexType",(function(){return o}));const o={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>o.TEXT===e,isTextLiteralType:e=>o.TEXT_LITERAL===e,isPredicationType:e=>o.PREDICATION===e}},80:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexStatus",(function(){return o}));const o={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>o.CREATING===e,isBuildingStatus:e=>o.BUILDING===e,isBuiltStatus:e=>o.BUILT===e,isRebuildingStatus:e=>o.REBUILDING===e,isOutdatedStatus:e=>o.OUTDATED===e,isInterruptedStatus:e=>o.INTERRUPTED===e,isObsoleteStatus:e=>o.OBSOLETE===e,isFailedStatus:e=>o.FAILED===e}},81:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndex",(function(){return s}));var o=n(79),r=n(80);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=o.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return o.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return o.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return o.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}},84:function(e,t,n){"use strict";n.r(t),n.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return r}));var o=n(81);const r=e=>e.map(e=>{const t=new o.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},85:function(e,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",n),n.$inject=["$http"];function n(e){return{getConnectors:function(t,n){if(t)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/connectors")},initConnector:function(t){return e.get("rest/connectors/options?prefix="+t)},hasConnector:function(t,n,o){if(n)return e.get("rest/connectors/existing?prefix="+t,{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":o}});return e.get("rest/connectors/existing?prefix="+t)},checkConnector:function(t){return e.post("rest/connectors/check",t,{headers:{"Content-Type":"text/plain"}})}}}},89:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorTypesListModel",(function(){return o})),n.d(t,"ConnectorTypeModel",(function(){return r})),n.d(t,"ConnectorListModel",(function(){return s})),n.d(t,"ConnectorModel",(function(){return i})),n.d(t,"ConnectorSettingsModel",(function(){return a}));class o{constructor(e={}){this._connectors=e.connectors||[]}getConnectorByName(e){return this._connectors.find(t=>t.name===e)}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class r{constructor(e){this._name=e.name,this._prefix=e.prefix}get name(){return this._name}set name(e){this._name=e}get prefix(){return this._prefix}set prefix(e){this._prefix=e}}class s{constructor(e=[]){this._connectors=e.connectors}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class i{constructor(e){this._name=e.name,this._settings=new a(e)}get settings(){return this._settings}set settings(e){this._settings=e}get name(){return this._name}set name(e){this._name=e}}class a{constructor(e){this._settings=e.values||{}}get settings(){return this._settings}set settings(e){this._settings=e}}},90:function(e,t){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",n),n.$inject=["$http","$repositories"];function n(e){return{getIndexes:function(t,n){if(t)return e.get("rest/similarity",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/similarity")},getSearchQueries:function(){return e.get("rest/similarity/config")},rebuildIndex:function(e){return t("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(t){return e.delete("rest/similarity?name="+t.name)},createIndex:t,getSamples:function(){return e.get("rest/similarity/samples")},getQuery:function(t){return e.get("rest/similarity/query",{params:{name:t.indexName,options:t.indexOptions,stopList:t.indexStopList,selectQuery:t.query,infer:t.queryInference,sameAs:t.querySameAs,type:t.viewType,analyzer:t.indexAnalyzer}})},saveSearchQuery:function(t){return e({method:"put",url:"rest/similarity/search-query",data:t})}};function t(t,n,o,r,s,i,a,c,l,d,g){return e({method:t,url:"rest/similarity",noCancelOnRouteChange:!0,data:{name:n,options:o,selectQuery:r,stopList:a,infer:c,sameAs:l,type:d,analyzer:g,searchQuery:s,analogicalQuery:i}})}}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"connectorTypesListMapper",(function(){return r})),n.d(t,"connectorsMapper",(function(){return s}));var o=n(89);const r=e=>{const t=new o.ConnectorTypesListModel;return e?(t.connectors=Object.keys(e).map(t=>new o.ConnectorTypeModel({name:t,prefix:e[t]})),t):t},s=e=>{const t=new o.ConnectorListModel;return e?(t.connectors=e.map(e=>new o.ConnectorModel(e)),t):t}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[230],{271:function(n,t,o){"use strict";o.r(t),o.d(t,"YasguiQueryHttpMethod",(function(){return s}));const s={POST:"POST",GET:"GET"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[231],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[231],{343:function(s,e,t){"use strict";t.r(e),t.d(e,"YasguiResetFlags",(function(){return r}));class r{constructor(s,e,t,r){this.resetCurrentTab=s,this.resetInferResults=e,this.resetSameAs=t,this.resetYasr=r}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[232],{344:function(n,o,t){"use strict";t.r(o),t.d(o,"YasqeActionButtonDefinition",(function(){return c}));class c{constructor(n,o){}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[233],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[233],{83:function(n,o,E){"use strict";E.r(o),E.d(o,"YasqeMode",(function(){return s}));const s={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[234],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[234],{345:function(s,e,t){"use strict";t.r(e),t.d(e,"YasrBeforeUpdateQueryResult",(function(){return i}));class i{constructor(){this.status=void 0,this.message=void 0,this.messageLabelKey=void 0,this.parameters=void 0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[235],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[235],{161:function(n,e,s){"use strict";s.r(e),s.d(e,"YasrPluginName",(function(){return t}));const t={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[236],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[236],{346:function(s,n,e){"use strict";e.r(n),e.d(n,"YasrQueryResponseStatus",(function(){return o}));const o={ERROR:"error",SUCCESS:"success"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[237],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[237],{347:function(t,e,s){"use strict";s.r(e),s.d(e,"YasrToolbarPlugin",(function(){return n}));class n{constructor(){this.createElement=t=>{},this.updateElement=(t,e)=>{},this.getOrder=()=>0,this.destroy=(t,e)=>{}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[238],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[238],{348:function(o,s,t){"use strict";t.r(s),t.d(s,"ProductInfo",(function(){return n}));class n{constructor(){this.Workbench="",this.connectors=[],this.productShortVersion="",this.productType="",this.productVersion="",this.sesame=""}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[239],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[239],{105:function(t,e,i){"use strict";i.r(e),i.d(e,"ContextType",(function(){return n})),i.d(e,"ContextTypes",(function(){return p}));class n{constructor(t,e){this.id=t,this.labelKey=e}static getAllType(){return[p.ALL,p.EXPLICIT,p.IMPLICIT]}static getContextType(t){return this.getAllType().find(e=>e.id===t)}}const p={ALL:new n("all","explore.explicit.implicit"),EXPLICIT:new n("explicit","explore.explicit"),IMPLICIT:new n("implicit","explore.implicit")}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[24,25,60,74,95,135,187,190,245,246,281,290,302,307],{100:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const o=[];let r;t.onKeydown=e=>{"Enter"===e.key?(i(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&s()},t.onCancelEditing=()=>{s()},t.onSelect=()=>{r?(i(),t.onDblclick({source:t.source})):r=e((function(){t.onClick({source:t.source}),i()}),250)};const s=()=>{i(),t.onCancel()},i=()=>{e.cancel(r),r=void 0};o.push(t.$watch("isEditing",o=>{o&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{o.forEach(e=>e()),i()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]},103:function(e,t,n){"use strict";n.r(t);n(85);var o=n(93),r=n(77);function s(e){const t=(t,n)=>e.getConnectors(t,n).then(e=>Object(o.connectorTypesListMapper)(e.data)),n=(t,n,r)=>e.hasConnector(encodeURIComponent(t),n,r).then(e=>Object(o.connectorsMapper)(e.data));return{getConnectorTypes:t,getConnectorsByType:n,getConnectorPrefixByName:(e,n,o)=>t(n,o).then(t=>{const n=t.getConnectorByName(e);return n?n.prefix:null}),getConnectorsByTypeAsSelectMenuOptions:(e,t,o)=>n(e,t,o).then(e=>e.connectors.map(e=>new r.SelectMenuOptionsModel({value:e.name,label:e.name})))}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",s),s.$inject=["ConnectorsRestService"]},104:function(e,t,n){"use strict";n.r(t);n(90);var o=n(84),r=n(77);function s(e){const t=(t,n)=>e.getIndexes(t,n).then(e=>Object(o.mapIndexesResponseToSimilarityIndex)(e.data));return{getIndexes:t,getIndexesAsMenuModel:(e,n)=>t(e,n).then(e=>e.map(e=>new r.SelectMenuOptionsModel({label:e.name,value:e.name})))}}angular.module("graphdb.framework.core.services.similarity",["graphdb.framework.rest.similarity.service"]).factory("SimilarityService",s),s.$inject=["SimilarityRestService"]},129:function(e,t,n){"use strict";n.r(t),n.d(t,"status",(function(){return o}));const o={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,CONFLICT:409,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVAILABLE:503}},130:function(e,t,n){"use strict";n.r(t);n(100);var o=n(73),r=n(118),s=n(0);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:a=>{a.selectedChat=void 0,a.renamedChat=void 0,a.deletingChat=void 0,a.onSelectChatForRenaming=e=>{a.renamedChat=e},a.onSelectChat=t=>{if(!a.selectedChat||a.selectedChat.id!==t.id){const n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),a.renamedChat=void 0}},a.onDeleteChat=r=>{const i=n.instant("ttyg.dialog.delete.title"),a=Object(s.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:r.name}));t.openConfirmation(i,a,()=>e.emit(o.TTYGEventName.DELETE_CHAT,r))},a.onRenameChat=(t,n)=>{n.name=t,a.renamedChat=void 0,e.emit(o.TTYGEventName.RENAME_CHAT,n)},a.onExportChat=t=>{e.emit(o.TTYGEventName.CHAT_EXPORT,t)},a.onCancelChatRenaming=()=>{a.renamedChat=void 0},a.getHumanReadableChatGroupTimestamp=e=>Object(r.getHumanReadableTimestamp)(n,i,e);const c=e=>{a.selectedChat=e},l=[];l.push(e.onSelectedChatChanged(c)),l.push(e.onSelectedChatUpdated(c)),l.push(e.onChatsListChanged(e=>{a.chatList=e})),l.push(e.subscribe(o.TTYGEventName.DELETING_CHAT,e=>{a.deletingChat=e})),a.$on("$destroy",()=>{l.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",i),i.$inject=["TTYGContextService","ModalService","$translate","$filter"]},131:function(e,t,n){"use strict";n.r(t);n(186);var o=n(73),r=n(78),s=n(82),i=n(31),a=n(0);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(e,c,l)=>{e.chat=void 0,e.selectedAgent=void 0,e.chatItem=void 0,e.askingChatItem=void 0,e.loadingChat=!1,e.ask=()=>{e.askingChatItem=Object(i.cloneDeep)(e.chatItem),e.chatItem.chatId?g(e.chatItem):d(),e.chatItem=h(),p(),m()},e.regenerateQuestion=t=>{const n=h();n.setQuestionMessage(t.getQuestionMessage()),e.askingChatItem=n,g(n),p()},e.onKeypressOnInput=t=>{"Enter"!==t.key||t.shiftKey||t.ctrlKey||e.ask()},e.onAskHowDeliveredAnswer=()=>{const n=h();n.setQuestionMessage(t.instant("ttyg.chat_panel.btn.derive_answer.label")),e.askingChatItem=Object(i.cloneDeep)(n),g(n),p()},e.getAgentName=e=>{const o=n.getAgent(e);return o?o.name:Object(a.decodeHTML)(t.instant("ttyg.chat_panel.deleted_agent"))};const d=()=>{n.emit(o.TTYGEventName.CREATE_CHAT,e.chatItem)},g=e=>{n.emit(o.TTYGEventName.ASK_QUESTION,e)},u=()=>{e.chatItem=Object(i.cloneDeep)(e.askingChatItem),e.askingChatItem=void 0},h=()=>{const t=new s.ChatItemModel;return t.question=new r.ChatMessageModel({role:r.CHAT_MESSAGE_ROLE.USER}),e.chat&&(t.chatId=e.chat.id),e.selectedAgent&&(t.agentId=e.selectedAgent.id),t},m=()=>{c.find(".question-input")[0].focus()},p=()=>{setTimeout(()=>{const e=c.find(".chat-details")[0];e&&(e.scrollTop=e.scrollHeight)})},T=()=>{e.chat=void 0,e.loadingChat=!1,e.chatItem=h(),e.askingChatItem=void 0,m()},y=[];y.push(e.$watchCollection("chat.chatHistory.items",p)),y.push(n.onSelectedChatUpdated(t=>{if(e.chat=t,t&&(t.id||!e.askingChatItem)){if(e.loadingChat=!1,e.chatItem=h(),e.askingChatItem=void 0,e.chat){const t=e.chat.chatHistory.getLast();t&&t.agentId&&n.selectAgent(n.getAgent(t.agentId))}m()}})),y.push(n.onSelectedAgentChanged(t=>{e.selectedAgent=t,e.selectedAgent&&e.chatItem&&(e.chatItem.agentId=e.selectedAgent.id)})),y.push(n.onSelectedChatChanged(t=>{e.loadingChat=t&&t.id,e.chatItem=h(),m()})),y.push(n.subscribe(o.TTYGEventName.LOAD_CHAT_FAILURE,()=>{e.loadingChat=!1,e.chatItem=h(),m()})),y.push(n.subscribe(o.TTYGEventName.ASK_QUESTION_FAILURE,u)),y.push(n.subscribe(o.TTYGEventName.CREATE_CHAT_FAILURE,u)),y.push(n.subscribe(o.TTYGEventName.DELETE_CHAT_SUCCESSFUL,t=>{e.chat&&t.id===e.chat.id&&T()})),e.$on("$destroy",()=>{y.forEach(e=>e())}),e.chatItem=h(),m()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},132:function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(73);function s(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(s,i,a)=>{s.selectedAgent=void 0,s.selectedAgentsFilter=void 0,s.deletingAgent=void 0,s.onEditAgent=t=>{e.emit(r.TTYGEventName.EDIT_AGENT,t)},s.onCloneAgent=t=>{e.emit(r.TTYGEventName.CLONE_AGENT,t)},s.onDeleteAgent=s=>{const i=n.instant("ttyg.agent.delete_agent_modal.title"),a=Object(o.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:s.name}));t.openConfirmation(i,a,()=>e.emit(r.TTYGEventName.DELETE_AGENT,s))},s.onAgentsFilterChange=e=>{s.selectedAgentsFilter=e,s.selectedAgentsFilter&&s.agentList.filterByRepository(s.selectedAgentsFilter.key)};const c=()=>{const e=s.agentListFilterModel.find(e=>e.selected);s.selectedAgentsFilter=e||s.agentListFilterModel[0],s.onAgentsFilterChange(s.selectedAgentsFilter)},l=[];l.push(s.$watch("agentListFilterModel",c)),l.push(e.subscribe(r.TTYGEventName.DELETING_AGENT,e=>{s.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{s.selectedAgent=e})),s.$on("$destroy",()=>{l.forEach(e=>e())}),c()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",s),s.$inject=["TTYGContextService","ModalService","$translate"]},133:function(e,t,n){"use strict";n.r(t);var o=n(77),r=n(73);function s(e,t,n,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=t=>{i(t),n.selectedAgent=t,e.selectAgent(t)},n.onAgentWithoutRepoSelected=o=>{const a=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),c=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");s.openConfirmation(a,c,()=>e.emit(r.TTYGEventName.EDIT_AGENT,o.data.agent)),i(o),n.selectedAgent=o.data.agent,e.selectAgent(o.data.agent)};const i=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},a=e=>{n.agentOptionsList=e.agents.map(e=>new o.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{a(e)})),c.push(e.subscribe(r.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{i(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",s),s.$inject=["TTYGContextService","$translate","$sce","ModalService"]},134:function(e,t,n){"use strict";n.r(t);var o=n(73),r=n(12);function s(e,t){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:n=>{n.canModifyAgent=!1,n.talkToGraphDocumentationLink=r.DocumentationUrlResolver.getDocumentationUrl(t.productShortVersion,"talk-to-graph.html"),n.onCreateAgent=()=>{e.emit(o.TTYGEventName.OPEN_AGENT_SETTINGS)};const s=[];s.push(e.onCanUpdateAgentUpdated(e=>{n.canModifyAgent=e})),n.$on("$destroy",()=>{s.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",s),s.$inject=["TTYGContextService","productInfo"]},135:function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(91),s=(n(104),n(103),n(114),n(19),n(8)),i=n(73),a=n(88);function c(e,t,n,c,l,d,g,u,h,m,p,T,y){e.AGENT_OPERATION=a.AGENT_OPERATION,e.operation=p.operation,e.savingAgent=!1,e.agentFormModel=p.agentFormModel,e.activeRepositoryInfo=p.activeRepositoryInfo,e.extractionMethodLoaderFlags={[r.ExtractionMethod.SIMILARITY]:!1},e.activeRepositoryList=p.activeRepositoryList,e.extractionMethods=r.ExtractionMethod,e.showAdvancedSettings=!1,e.showHighTemperatureWarning=!1,e.showSystemInstructionWarning=!1,e.similarityIndexes=[],e.retrievalConnectors=[],e.ftsEnabled=!1,e.toggleExtractionMethod=t=>{t.expanded=t.selected,e.agentSettingsForm.extractionMethods.$setTouched(),v(),L[t.method](t)},e.onExtractionMethodPanelToggle=e=>{e.toggleCollapse(),L[e.method](e)},e.getModelHelpMessage=()=>{const e=Object(o.decodeHTML)(m.instant("ttyg.agent.create_agent_modal.form.model.hint"));return g.trustAsHtml(e)},e.getFTSDisabledHelpMessage=()=>{const t=Object(o.decodeHTML)(m.instant("ttyg.agent.create_agent_modal.form.fts_search.fts_disabled_message",{repositoryEditPage:"#/repository/edit/"+e.agentFormModel.repositoryId}));return g.trustAsHtml(t)},e.goToCreateSimilarityView=()=>{T.emit(i.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.goToConnectorsView=()=>{T.emit(i.TTYGEventName.GO_TO_CONNECTORS_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.ok=()=>{const t=e.agentFormModel.toPayload();return E[e.operation](t)},e.cancel=()=>{t.dismiss({})},e.close=()=>{t.dismiss({})},e.updateSimilaritySearchPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getSimilarityExtractionMethod();t&&(n.similarityIndex=null),_(n)},e.updateRetrievalConnectorPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getRetrievalExtractionMethod();t&&(n.retrievalConnectorInstance=null),b(n)},e.checkIfFTSEnabled=()=>{e.agentFormModel.repositoryId&&d.getRepositoryModel({id:e.agentFormModel.repositoryId}).then(t=>{e.ftsEnabled=t.getParamValue(s.REPOSITORY_PARAMS.enableFtsIndex)}).catch(e=>{S(e,"ttyg.agent.messages.error_repository_config_loading")}).finally(()=>{e.extractionMethodLoaderFlags[r.ExtractionMethod.FTS_SEARCH]=!1})},e.onRepositoryChange=()=>{e.checkIfFTSEnabled(),e.updateSimilaritySearchPanel(!0),e.updateRetrievalConnectorPanel(!0)},e.onRestoreDefaultSystemInstructions=()=>{e.agentFormModel.instructions.systemInstruction=e.agentFormModel.instructions.systemInstructionCopy},e.onRestoreDefaultUserInstructions=()=>{e.agentFormModel.instructions.userInstruction=e.agentFormModel.instructions.userInstructionCopy},e.onTemperatureChange=()=>{e.showHighTemperatureWarning=e.agentFormModel.temperature.value>1},e.onSystemInstructionChange=()=>{""===e.agentFormModel.instructions.systemInstruction||e.showSystemInstructionWarning||(e.showSystemInstructionWarning=!0,n.openModalAlert({title:m.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.title"),message:m.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.body")}).result.then((function(){}))),""===e.agentFormModel.instructions.systemInstruction&&(e.showSystemInstructionWarning=!1)};const E={[a.AGENT_OPERATION.CREATE]:e=>f(e),[a.AGENT_OPERATION.EDIT]:e=>A(e),[a.AGENT_OPERATION.CLONE]:e=>C(e)},f=n=>(e.savingAgent=!0,y.createAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),A=n=>(e.savingAgent=!0,y.editAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),C=n=>(e.savingAgent=!0,y.createAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),S=(e,t)=>{console.error(e),u.error(m.instant(t))},v=()=>{e.agentSettingsForm.extractionMethods.$setValidity("required",e.agentFormModel.hasExtractionMethodSelected())},I=()=>{const t=e.activeRepositoryList.find(t=>t.value===e.agentFormModel.repositoryId);return{repositoryId:t?t.data.repository.id:void 0,repositoryLocation:t?t.data.repository.location:void 0}},_=t=>{if(t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=I();c.getIndexesAsMenuModel(n.repositoryId,n.repositoryLocation).then(n=>{e.similarityIndexes=n,e.agentSettingsForm.$setValidity("missingIndex",!t.selected||!(!n||!n.length)),R(e.similarityIndexes,t)}).catch(e=>{S(e,"ttyg.agent.messages.error_similarity_indexes_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},R=(e,t)=>{if(0===e.length)return void(t.similarityIndex=null);const n=e.find(e=>e.value===t.similarityIndex);t.similarityIndex=n?n.value:e[0].value},b=t=>{if(t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=I();l.getConnectorPrefixByName("ChatGPT Retrieval",n.repositoryId,n.repositoryLocation).then(e=>l.getConnectorsByTypeAsSelectMenuOptions(e,n.repositoryId,n.repositoryLocation)).then(n=>{e.retrievalConnectors=n,e.agentSettingsForm.$setValidity("missingConnector",!t.selected||!(!n||!n.length)),N(e.retrievalConnectors,t)}).catch(e=>{S(e,"ttyg.agent.messages.error_retrieval_connectors_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},N=(e,t)=>{if(0===e.length)return void(t.retrievalConnectorInstance=null);const n=e.find(e=>e.value===t.retrievalConnectorInstance);t.retrievalConnectorInstance=n?n.value:e[0].value},L={[r.ExtractionMethod.FTS_SEARCH]:t=>(t=>{e.extractionMethodLoaderFlags[t.method]=!0,e.checkIfFTSEnabled()})(t),[r.ExtractionMethod.SPARQL]:e=>{},[r.ExtractionMethod.SIMILARITY]:e=>_(e),[r.ExtractionMethod.RETRIEVAL]:e=>b(e)};setTimeout(v,0)}angular.module("graphdb.framework.ttyg.controllers.agent-settings-modal",["graphdb.framework.core.services.similarity","graphdb.framework.core.services.connectors","graphdb.framework.rest.repositories.service"]).controller("AgentSettingsModalController",c),c.$inject=["$scope","$uibModalInstance","ModalService","SimilarityService","ConnectorsService","RepositoriesRestService","$sce","toastr","UriUtils","$translate","dialogModel","TTYGContextService","TTYGService"]},136:function(e,t){function n(e,t){const n={agent:{id:void 0},chat:{id:void 0}},o=()=>{let o=e.get(t.TTYG);return o||(o=n),o.agent||(o.agent={}),o.chat||(o.chat={}),o};return{saveAgent:function(n){const r=o();r.agent.id=n?n.id:void 0,e.set(t.TTYG,r)},getAgentId:function(){const e=o();if(e.agent)return e.agent.id},saveChat:function(n){const r=o();r.chat.id=n?n.id:void 0,e.set(t.TTYG,r)},getChatId:function(){const e=o();if(e.chat)return e.chat.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",n),n.$inject=["LocalStorageAdapter","LSKeys"]},137:function(e,t,n){"use strict";n.r(t),n.d(t,"AgentSettingsModal",(function(){return o}));class o{constructor(e,t,n,o){this.activeRepositoryInfo=e,this.activeRepositoryList=t,this.agentFormModel=n,this.operation=o}}},185:function(e,t,n){"use strict";n.r(t);n(130),n(131),n(132),n(133),n(134),n(135),n(114);var o=n(73),r=(n(136),n(88)),s=n(91),i=n(115),a=n(142),c=n(77),l=n(21),d=n(511),g=n(137),u=n(0),h=n(129),m=n(17);function p(e,t,n,p,T,y,E,f,A,C,S,v,I,_,R){const b=[],N={filter_all:E.instant("ttyg.agent.btn.filter.all")};p.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",p.isHelpVisible=!1,p.showChats=!0,p.showAgents=!1,p.chats=void 0,p.loadingChats=!1,p.loadingChat=!1,p.initialized=!1,p.agents=void 0,p.selectedAgent=void 0,p.loadingAgents=!1,p.reloadingAgents=!1,p.connectorID=void 0,p.canModifyAgent=!1,p.agentListFilterModel=[],p.activeRepositoryList=[],p.history=[],p.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5},p.startNewChat=()=>{let e=_.getChats().getNonPersistedChat();e||(e=x(),_.addChat(e)),_.selectChat(e)},p.onopen=p.onclose=()=>angular.noop(),p.toggleChatsListSidebar=()=>{p.showChats=!p.showChats},p.toggleAgentsListSidebar=()=>{p.showAgents=!p.showAgents},p.getIcon=e=>"question"===e?"user":"assistant"===e?"data":"help",p.clear=()=>{S.openSimpleModal({title:E.instant("common.confirm"),message:E.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){p.history=[],M()}))},p.openSettings=()=>{f.open({templateUrl:"js/angular/ttyg/templates/modal/settings.html",controller:"AgentSettingsDialogCtrl",size:"lg",resolve:{data:function(){return{askSettings:p.askSettings,connectorID:p.connectorID}}}}).result.then((function(e){p.connectorID=e.connectorID,p.askSettings=e.askSettings,M()}))},p.onToggleHelp=()=>{p.isHelpVisible=!p.isHelpVisible},p.onExportSelectedChat=()=>{k(_.getSelectedChat())};const L=()=>{const e=_.getDefaultAgent();return e?Promise.resolve(e):I.getDefaultAgent().then(e=>(_.setDefaultAgent(e),e))};p.onOpenNewAgentSettings=()=>{L().then(e=>{const t=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());e.repositoryId=t.id;const n=Object(a.agentFormModelMapper)(new s.AgentModel({}),e,r.AGENT_OPERATION.CREATE);return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(t,p.activeRepositoryList,n,r.AGENT_OPERATION.CREATE)}},size:"lg"}}).then(e=>{f.open(e).result.then(O)}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})},p.onOpenAgentSettings=e=>{let t=e;t||(t=_.getSelectedAgent()),L().then(e=>{const n=Object(a.agentFormModelMapper)(t,e,r.AGENT_OPERATION.EDIT),o=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(o,p.activeRepositoryList,n,r.AGENT_OPERATION.EDIT)}},size:"lg"}}).then(e=>{f.open(e).result.then(e=>{const t=_.getSelectedAgent();t&&e.id===t.id&&_.selectAgent(e),O()})}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})},p.onOpenCloneAgentSettings=e=>{L().then(t=>{const n=Object(a.agentFormModelMapper)(e,t,r.AGENT_OPERATION.CLONE);n.name="clone-"+n.name;const o=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(o,p.activeRepositoryList,n,r.AGENT_OPERATION.CLONE)}},size:"lg"}}).then(e=>{f.open(e).result.then(e=>{const t=_.getSelectedAgent();t&&e.id===t.id&&_.selectAgent(e),O()})}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})};const M=()=>{const e=v.get("ttyg")||{};e[A.getActiveRepository()]={history:p.history,connectorID:p.connectorID,askSettings:p.askSettings},v.set("ttyg",e)},G=()=>(p.loadingChats=!0,I.getConversations().then(e=>_.updateChats(e)).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH)),D(new i.ChatsListModel)}).finally(()=>{p.loadingChats=!1})),O=()=>(p.reloadingAgents=!0,I.getAgents().then(e=>_.updateAgents(e)).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{p.reloadingAgents=!1})),w=()=>{_.setCanModifyAgent(e.isRepoManager())},x=()=>{const e={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new i.ChatModel(e,Object(m.md5HashGenerator)())},D=e=>{e.isEmpty()?p.showChats=!1:(p.showChats=!0,_.getSelectedChat()||R.getChatId()||_.selectChat(p.chats.getFirstChat()))},k=e=>{I.exportConversation(e.id).then((function({data:t,filename:n}){Object(d.saveAs)(t,n),_.emit(o.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e)})).catch(()=>{_.emit(o.TTYGEventName.CHAT_EXPORT_FAILURE),C.error(E.instant("ttyg.chat.messages.export_failure"))})},F=()=>{const e=A.getActiveRepository(),t=A.getLocalReadableGraphdbRepositories().map(t=>new s.AgentListFilterModel(t.id,t.id,t.id===e));p.agentListFilterModel=[new s.AgentListFilterModel(r.AGENTS_FILTER_ALL_KEY,N.filter_all),...t]},Y=e=>{S.openModalAlert({title:E.instant("ttyg.chat.dialog.chat_is_missing.title"),message:E.instant("ttyg.chat.dialog.chat_is_missing.body")}).result.then((function(){_.deleteChat(e)}))},U=()=>{t.open("/similarity/index/create","_blank")},H=()=>{t.open("/connectors","_blank")},$=e=>{t.open(`/sparql?query=${encodeURIComponent(e)}&execute=true`,"_blank")},j=()=>{const e=R.getChatId(),t=_.getChats();e&&t.getChat(e)&&_.selectChat(_.getChats().getChat(e))};b.push(p.$watch(p.getActiveRepositoryObject,e=>{e&&(p.activeRepositoryList=A.getLocalReadableGraphdbRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id,data:{repository:e}})),((e=!0)=>(p.loadingAgents=e,I.getAgents().then(e=>_.updateAgents(e)).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{p.loadingAgents=!1})))().then(()=>(p.initialized=!0,F(),(()=>{const e=R.getAgentId();e&&I.getAgent(e).then(e=>{e&&_.selectAgent(e)}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})})(),G())).then(j),(()=>{const e=A.getActiveRepository();if(e){const t=v.get("ttyg");if(t&&t[e]){const n=t[e];n.history&&(p.history=n.history),p.connectorID=n.connectorID,n.askSettings&&(p.askSettings=n.askSettings)}}w()})())})),b.push(_.onSelectedChatChanged(e=>{e&&e.id?I.getConversation(e.id).then(t=>{_.updateSelectedChat(t),R.saveChat(e)}).catch(t=>{t.status===h.status.NOT_FOUND&&(Y(e),_.emit(o.TTYGEventName.LOAD_CHAT_FAILURE,e))}):_.updateSelectedChat(e)})),b.push(_.onChatsListChanged(e=>{p.chats=e,D(e)})),b.push(_.onCanUpdateAgentUpdated(e=>{p.canModifyAgent=e})),b.push(_.subscribe(_.onAgentsListChanged(e=>{p.agents=e}))),b.push(_.subscribe(o.TTYGEventName.CREATE_CHAT,e=>{p.startNewChat(),I.createConversation(e).then(e=>(_.emit(o.TTYGEventName.CREATE_CHAT_SUCCESSFUL),I.getConversation(e.chatId))).then(e=>{const t=_.getSelectedChat();if(t&&!t.id){const t=_.getChats().getNonPersistedChat();_.updateSelectedChat(e),_.replaceChat(e,t)}_.emit(o.TTYGEventName.LOAD_CHATS)}).catch(()=>{_.emit(o.TTYGEventName.CREATE_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.create_failure"))})})),b.push(_.subscribe(o.TTYGEventName.RENAME_CHAT,e=>{I.renameConversation(e).then(()=>{_.emit(o.TTYGEventName.RENAME_CHAT_SUCCESSFUL),_.emit(o.TTYGEventName.LOAD_CHATS)}).catch(()=>{_.emit(o.TTYGEventName.RENAME_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.rename_failure"))})})),b.push(_.subscribe(o.TTYGEventName.DELETE_CHAT,e=>{_.emit(o.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!0}),I.deleteConversation(e.id).then(()=>{_.emit(o.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e);const t=_.getChats();t.deleteChat(e),_.updateChats(t)}).catch(()=>{_.emit(o.TTYGEventName.DELETE_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.delete_failure"))}).finally(()=>_.emit(o.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!1}))})),b.push(_.subscribe(o.TTYGEventName.CHAT_EXPORT,k)),b.push(_.subscribe(o.TTYGEventName.ASK_QUESTION,e=>{e.question.timestamp=Date.now(),I.askQuestion(e).then(t=>{const n=_.getSelectedChat();if(n&&n.id===e.chatId){n.timestamp=t.timestamp;const o=e;e.answers=t.messages,n.chatHistory.appendItem(o),_.updateSelectedChat(n);const r=_.getChats();r.updateChatTimestamp(n.id,t.timestamp),_.updateChats(r)}}).catch(e=>{_.emit(o.TTYGEventName.ASK_QUESTION_FAILURE),C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))})})),b.push(_.subscribe(o.TTYGEventName.LOAD_CHATS,G)),b.push(_.subscribe(o.TTYGEventName.OPEN_AGENT_SETTINGS,p.onOpenNewAgentSettings)),b.push(_.subscribe(o.TTYGEventName.EDIT_AGENT,p.onOpenAgentSettings)),b.push(_.subscribe(o.TTYGEventName.CLONE_AGENT,p.onOpenCloneAgentSettings)),b.push(_.subscribe(o.TTYGEventName.DELETE_AGENT,e=>{_.emit(o.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),I.deleteAgent(e.id).then(()=>O()).then(()=>{_.emit(o.TTYGEventName.AGENT_DELETED,e),p.selectedAgent&&p.selectedAgent.id===e.id&&(p.selectedAgent=void 0)}).catch(e=>{C.error(getError(e,0,r.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{_.emit(o.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),b.push(_.subscribe(o.TTYGEventName.AGENT_SELECTED,e=>{p.selectedAgent=e,R.saveAgent(e)})),b.push(_.subscribe(o.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&S.openConfirmationModal({title:E.instant("common.confirm"),message:Object(u.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_similarity.body",{repositoryId:t.id})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{A.setRepository(t),U()})}else U()})),b.push(_.subscribe(o.TTYGEventName.GO_TO_CONNECTORS_VIEW,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&S.openConfirmationModal({title:E.instant("common.confirm"),message:Object(u.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_connectors.body",{repositoryId:t.id})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{A.setRepository(t),H()})}else H()})),b.push(_.subscribe(o.TTYGEventName.GO_TO_SPARQL_EDITOR,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&S.openConfirmation(E.instant("common.confirm"),Object(u.decodeHTML)(E.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:e.repositoryId})),()=>{A.setRepository(t),$(e.query)})}else $(e.query)})),b.push(n.$on("$translateChangeSuccess",()=>{N.filter_all=E.instant("ttyg.agent.btn.filter.all"),F()})),b.push(n.$on("securityInit",w)),p.$on("$destroy",(function(){b.forEach(e=>e()),_.resetContext()}))}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.controllers.agent-settings-modal"]).controller("TTYGViewCtrl",p),p.$inject=["$jwtAuth","$window","$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},380:function(e,t,n){"use strict";n.r(t);n(185);function o(e,t,n,o){e.dialogTitle=t.instant("ttyg.settings.title"),e.save=function(){if(e.form.$valid){const t={queryTemplate:JSON.parse(e.queryTemplate),groundTruths:e.groundTruths.split("\n"),topK:e.topK,echoVectorQuery:e.echoVectorQuery};n.close({askSettings:t,connectorID:e.connectorID})}},e.cancel=function(){n.dismiss("cancel")},e.connectorID=o.connectorID,e.queryTemplate=JSON.stringify(o.askSettings.queryTemplate,null," "),e.topK=o.askSettings.topK,e.echoVectorQuery=o.askSettings.echoVectorQuery,e.groundTruths=o.askSettings.groundTruths.map(e=>e.trim()).filter(e=>""!==e).join("\n")}angular.module("graphdb.framework.ttyg.controllers",["toastr","graphdb.framework.utils.localstorageadapter"]).controller("AgentSettingsDialogCtrl",o),o.$inject=["$scope","$translate","$uibModalInstance","data"]},510:function(e,t){(function(t){e.exports=t}).call(this,{})},511:function(e,t,n){var o,r=r||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),r=e.webkitRequestFileSystem,s=e.requestFileSystem||r||e.mozRequestFileSystem,i=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},a=0,c=function(t){var o=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?o():setTimeout(o,500)},l=function(e,t,n){for(var o=(t=[].concat(t)).length;o--;){var r=e["on"+t[o]];if("function"==typeof r)try{r.call(e,n||e)}catch(e){i(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},g=function(t,i){t=d(t);var g,u,h,m=this,p=t.type,T=!1,y=function(){l(m,"writestart progress write writeend".split(" "))},E=function(){(!T&&g||(g=n().createObjectURL(t)),u)?u.location.href=g:null==e.open(g,"_blank")&&"undefined"!=typeof safari&&(e.location.href=g);m.readyState=m.DONE,y(),c(g)},f=function(e){return function(){if(m.readyState!==m.DONE)return e.apply(this,arguments)}},A={create:!0,exclusive:!1};if(m.readyState=m.INIT,i||(i="download"),o)return g=n().createObjectURL(t),o.href=g,o.download=i,void setTimeout((function(){var e,t;e=o,t=new MouseEvent("click"),e.dispatchEvent(t),y(),c(g),m.readyState=m.DONE}));e.chrome&&p&&"application/octet-stream"!==p&&(h=t.slice||t.webkitSlice,t=h.call(t,0,t.size,"application/octet-stream"),T=!0),r&&"download"!==i&&(i+=".download"),("application/octet-stream"===p||r)&&(u=e),s?(a+=t.size,s(e.TEMPORARY,a,f((function(e){e.root.getDirectory("saved",A,f((function(e){var n=function(){e.getFile(i,A,f((function(e){e.createWriter(f((function(n){n.onwriteend=function(t){u.location.href=e.toURL(),m.readyState=m.DONE,l(m,"writeend",t),c(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&E()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=m["on"+e]})),n.write(t),m.abort=function(){n.abort(),m.readyState=m.DONE},m.readyState=m.WRITING})),E)})),E)};e.getFile(i,{create:!1},f((function(e){e.remove(),n()})),f((function(e){e.code===e.NOT_FOUND_ERR?n():E()})))})),E)})),E)):E()},u=g.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(d(e),t)}:(u.abort=function(){this.readyState=this.DONE,l(this,"abort")},u.readyState=u.INIT=0,u.WRITING=1,u.DONE=2,u.error=u.onwritestart=u.onprogress=u.onwrite=u.onabort=u.onerror=u.onwriteend=null,function(e,t){return new g(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
|
|
2
|
+
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=r:null!==n(517)&&null!=n(510)&&(void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o))},517:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},79:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexType",(function(){return o}));const o={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>o.TEXT===e,isTextLiteralType:e=>o.TEXT_LITERAL===e,isPredicationType:e=>o.PREDICATION===e}},80:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexStatus",(function(){return o}));const o={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>o.CREATING===e,isBuildingStatus:e=>o.BUILDING===e,isBuiltStatus:e=>o.BUILT===e,isRebuildingStatus:e=>o.REBUILDING===e,isOutdatedStatus:e=>o.OUTDATED===e,isInterruptedStatus:e=>o.INTERRUPTED===e,isObsoleteStatus:e=>o.OBSOLETE===e,isFailedStatus:e=>o.FAILED===e}},81:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndex",(function(){return s}));var o=n(79),r=n(80);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=o.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return o.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return o.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return o.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}},84:function(e,t,n){"use strict";n.r(t),n.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return r}));var o=n(81);const r=e=>e.map(e=>{const t=new o.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},85:function(e,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",n),n.$inject=["$http"];function n(e){return{getConnectors:function(t,n){if(t)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/connectors")},initConnector:function(t){return e.get("rest/connectors/options?prefix="+t)},hasConnector:function(t,n,o){if(n)return e.get("rest/connectors/existing?prefix="+t,{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":o}});return e.get("rest/connectors/existing?prefix="+t)},checkConnector:function(t){return e.post("rest/connectors/check",t,{headers:{"Content-Type":"text/plain"}})}}}},89:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorTypesListModel",(function(){return o})),n.d(t,"ConnectorTypeModel",(function(){return r})),n.d(t,"ConnectorListModel",(function(){return s})),n.d(t,"ConnectorModel",(function(){return i})),n.d(t,"ConnectorSettingsModel",(function(){return a}));class o{constructor(e={}){this._connectors=e.connectors||[]}getConnectorByName(e){return this._connectors.find(t=>t.name===e)}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class r{constructor(e){this._name=e.name,this._prefix=e.prefix}get name(){return this._name}set name(e){this._name=e}get prefix(){return this._prefix}set prefix(e){this._prefix=e}}class s{constructor(e=[]){this._connectors=e.connectors}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class i{constructor(e){this._name=e.name,this._settings=new a(e)}get settings(){return this._settings}set settings(e){this._settings=e}get name(){return this._name}set name(e){this._name=e}}class a{constructor(e){this._settings=e.values||{}}get settings(){return this._settings}set settings(e){this._settings=e}}},90:function(e,t){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",n),n.$inject=["$http","$repositories"];function n(e){return{getIndexes:function(t,n){if(t)return e.get("rest/similarity",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/similarity")},getSearchQueries:function(){return e.get("rest/similarity/config")},rebuildIndex:function(e){return t("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(t){return e.delete("rest/similarity?name="+t.name)},createIndex:t,getSamples:function(){return e.get("rest/similarity/samples")},getQuery:function(t){return e.get("rest/similarity/query",{params:{name:t.indexName,options:t.indexOptions,stopList:t.indexStopList,selectQuery:t.query,infer:t.queryInference,sameAs:t.querySameAs,type:t.viewType,analyzer:t.indexAnalyzer}})},saveSearchQuery:function(t){return e({method:"put",url:"rest/similarity/search-query",data:t})}};function t(t,n,o,r,s,i,a,c,l,d,g){return e({method:t,url:"rest/similarity",noCancelOnRouteChange:!0,data:{name:n,options:o,selectQuery:r,stopList:a,infer:c,sameAs:l,type:d,analyzer:g,searchQuery:s,analogicalQuery:i}})}}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"connectorTypesListMapper",(function(){return r})),n.d(t,"connectorsMapper",(function(){return s}));var o=n(89);const r=e=>{const t=new o.ConnectorTypesListModel;return e?(t.connectors=Object.keys(e).map(t=>new o.ConnectorTypeModel({name:t,prefix:e[t]})),t):t},s=e=>{const t=new o.ConnectorListModel;return e?(t.connectors=e.map(e=>new o.ConnectorModel(e)),t):t}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[240],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[240],{127:function(i,o,t){"use strict";t.r(o),t.d(o,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[241],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[241],{349:function(n,s,e){"use strict";e.r(s),e.d(s,"ResourceGraphResponse",(function(){return r})),e.d(s,"ResourceGraphResponseHead",(function(){return c})),e.d(s,"ResourceGraphResponseResults",(function(){return o})),e.d(s,"ResourceGraphResponseBinding",(function(){return t})),e.d(s,"ResourceGraphResponseBindingContext",(function(){return u})),e.d(s,"ResourceGraphResponseBindingObject",(function(){return i})),e.d(s,"ResourceGraphResponseBindingPredicate",(function(){return a})),e.d(s,"ResourceGraphResponseBindingSubject",(function(){return p}));class r{constructor(n=new c,s=new o){}}class c{constructor(n={vars:[]}){}}class o{constructor(n={bindings:[]}){}}class t{constructor(n,s,e,r){}}class u{constructor(n,s){}}class i{constructor(n,s){}}class a{constructor(n,s){}}class p{constructor(n,s){}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[242],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[242],{165:function(e,n,t){"use strict";t.r(n),t.d(n,"RoleType",(function(){return c}));const c={SUBJECT:"subject",PREDICATE:"predicate",OBJECT:"object",CONTEXT:"context",ALL:"all"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[243],{350:function(n,e,o){"use strict";o.r(e),o.d(e,"WorkbenchSettingsModel",(function(){return t}));const t={theme:"",mode:""}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[244],{272:function(n,r,i){"use strict";i.r(r),i.d(r,"SimilarityIndexError",(function(){return o}));class o extends Error{}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[245],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[245],{80:function(t,I,s){"use strict";s.r(I),s.d(I,"SimilarityIndexStatus",(function(){return E}));const E={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>E.CREATING===t,isBuildingStatus:t=>E.BUILDING===t,isBuiltStatus:t=>E.BUILT===t,isRebuildingStatus:t=>E.REBUILDING===t,isOutdatedStatus:t=>E.OUTDATED===t,isInterruptedStatus:t=>E.INTERRUPTED===t,isObsoleteStatus:t=>E.OBSOLETE===t,isFailedStatus:t=>E.FAILED===t}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[246],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[246],{79:function(T,e,i){"use strict";i.r(e),i.d(e,"SimilarityIndexType",(function(){return t}));const t={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:T=>t.TEXT===T,isTextLiteralType:T=>t.TEXT_LITERAL===T,isPredicationType:T=>t.PREDICATION===T}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[247],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[247],{147:function(A,n,i){"use strict";i.r(n),i.d(n,"SimilarityQueryType",(function(){return o}));const o={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[248],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[248],{179:function(e,t,T){"use strict";T.r(t),T.d(t,"SimilarityResultType",(function(){return s}));const s={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:e=>s.DOCUMENT_RESULT===e,isResultTermType:e=>s.TERM_RESULT===e}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[249],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[249],{107:function(e,E,c){"use strict";c.r(E),c.d(E,"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}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[25,60,74,95,135,187,190,245,246,281,290,302,307],{100:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const o=[];let s;t.onKeydown=e=>{"Enter"===e.key?(i(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&r()},t.onCancelEditing=()=>{r()},t.onSelect=()=>{s?(i(),t.onDblclick({source:t.source})):s=e((function(){t.onClick({source:t.source}),i()}),250)};const r=()=>{i(),t.onCancel()},i=()=>{e.cancel(s),s=void 0};o.push(t.$watch("isEditing",o=>{o&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{o.forEach(e=>e()),i()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]},103:function(e,t,n){"use strict";n.r(t);n(85);var o=n(93),s=n(77);function r(e){const t=(t,n)=>e.getConnectors(t,n).then(e=>Object(o.connectorTypesListMapper)(e.data)),n=(t,n,s)=>e.hasConnector(encodeURIComponent(t),n,s).then(e=>Object(o.connectorsMapper)(e.data));return{getConnectorTypes:t,getConnectorsByType:n,getConnectorPrefixByName:(e,n,o)=>t(n,o).then(t=>{const n=t.getConnectorByName(e);return n?n.prefix:null}),getConnectorsByTypeAsSelectMenuOptions:(e,t,o)=>n(e,t,o).then(e=>e.connectors.map(e=>new s.SelectMenuOptionsModel({value:e.name,label:e.name})))}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",r),r.$inject=["ConnectorsRestService"]},104:function(e,t,n){"use strict";n.r(t);n(90);var o=n(84),s=n(77);function r(e){const t=(t,n)=>e.getIndexes(t,n).then(e=>Object(o.mapIndexesResponseToSimilarityIndex)(e.data));return{getIndexes:t,getIndexesAsMenuModel:(e,n)=>t(e,n).then(e=>e.map(e=>new s.SelectMenuOptionsModel({label:e.name,value:e.name})))}}angular.module("graphdb.framework.core.services.similarity",["graphdb.framework.rest.similarity.service"]).factory("SimilarityService",r),r.$inject=["SimilarityRestService"]},129:function(e,t,n){"use strict";n.r(t),n.d(t,"status",(function(){return o}));const o={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,CONFLICT:409,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVAILABLE:503}},130:function(e,t,n){"use strict";n.r(t);n(100);var o=n(73),s=n(118),r=n(0);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:a=>{a.selectedChat=void 0,a.renamedChat=void 0,a.deletingChat=void 0,a.onSelectChatForRenaming=e=>{a.renamedChat=e},a.onSelectChat=t=>{if(!a.selectedChat||a.selectedChat.id!==t.id){const n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),a.renamedChat=void 0}},a.onDeleteChat=s=>{const i=n.instant("ttyg.dialog.delete.title"),a=Object(r.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:s.name}));t.openConfirmation(i,a,()=>e.emit(o.TTYGEventName.DELETE_CHAT,s))},a.onRenameChat=(t,n)=>{n.name=t,a.renamedChat=void 0,e.emit(o.TTYGEventName.RENAME_CHAT,n)},a.onExportChat=t=>{e.emit(o.TTYGEventName.CHAT_EXPORT,t)},a.onCancelChatRenaming=()=>{a.renamedChat=void 0},a.getHumanReadableChatGroupTimestamp=e=>Object(s.getHumanReadableTimestamp)(n,i,e);const c=e=>{a.selectedChat=e},l=[];l.push(e.onSelectedChatChanged(c)),l.push(e.onSelectedChatUpdated(c)),l.push(e.onChatsListChanged(e=>{a.chatList=e})),l.push(e.subscribe(o.TTYGEventName.DELETING_CHAT,e=>{a.deletingChat=e})),a.$on("$destroy",()=>{l.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",i),i.$inject=["TTYGContextService","ModalService","$translate","$filter"]},131:function(e,t,n){"use strict";n.r(t);n(186);var o=n(73),s=n(78),r=n(82),i=n(31),a=n(0);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(e,c,l)=>{e.chat=void 0,e.selectedAgent=void 0,e.chatItem=void 0,e.askingChatItem=void 0,e.loadingChat=!1,e.ask=()=>{e.askingChatItem=Object(i.cloneDeep)(e.chatItem),e.chatItem.chatId?g(e.chatItem):d(),e.chatItem=h(),p(),m()},e.regenerateQuestion=t=>{const n=h();n.setQuestionMessage(t.getQuestionMessage()),e.askingChatItem=n,g(n),p()},e.onKeypressOnInput=t=>{"Enter"!==t.key||t.shiftKey||t.ctrlKey||e.ask()},e.onAskHowDeliveredAnswer=()=>{const n=h();n.setQuestionMessage(t.instant("ttyg.chat_panel.btn.derive_answer.label")),e.askingChatItem=Object(i.cloneDeep)(n),g(n),p()},e.getAgentName=e=>{const o=n.getAgent(e);return o?o.name:Object(a.decodeHTML)(t.instant("ttyg.chat_panel.deleted_agent"))};const d=()=>{n.emit(o.TTYGEventName.CREATE_CHAT,e.chatItem)},g=e=>{n.emit(o.TTYGEventName.ASK_QUESTION,e)},u=()=>{e.chatItem=Object(i.cloneDeep)(e.askingChatItem),e.askingChatItem=void 0},h=()=>{const t=new r.ChatItemModel;return t.question=new s.ChatMessageModel({role:s.CHAT_MESSAGE_ROLE.USER}),e.chat&&(t.chatId=e.chat.id),e.selectedAgent&&(t.agentId=e.selectedAgent.id),t},m=()=>{c.find(".question-input")[0].focus()},p=()=>{setTimeout(()=>{const e=c.find(".chat-details")[0];e&&(e.scrollTop=e.scrollHeight)})},T=()=>{e.chat=void 0,e.loadingChat=!1,e.chatItem=h(),e.askingChatItem=void 0,m()},y=[];y.push(e.$watchCollection("chat.chatHistory.items",p)),y.push(n.onSelectedChatUpdated(t=>{if(e.chat=t,t&&(t.id||!e.askingChatItem)){if(e.loadingChat=!1,e.chatItem=h(),e.askingChatItem=void 0,e.chat){const t=e.chat.chatHistory.getLast();t&&t.agentId&&n.selectAgent(n.getAgent(t.agentId))}m()}})),y.push(n.onSelectedAgentChanged(t=>{e.selectedAgent=t,e.selectedAgent&&e.chatItem&&(e.chatItem.agentId=e.selectedAgent.id)})),y.push(n.onSelectedChatChanged(t=>{e.loadingChat=t&&t.id,e.chatItem=h(),m()})),y.push(n.subscribe(o.TTYGEventName.LOAD_CHAT_FAILURE,()=>{e.loadingChat=!1,e.chatItem=h(),m()})),y.push(n.subscribe(o.TTYGEventName.ASK_QUESTION_FAILURE,u)),y.push(n.subscribe(o.TTYGEventName.CREATE_CHAT_FAILURE,u)),y.push(n.subscribe(o.TTYGEventName.DELETE_CHAT_SUCCESSFUL,t=>{e.chat&&t.id===e.chat.id&&T()})),e.$on("$destroy",()=>{y.forEach(e=>e())}),e.chatItem=h(),m()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},132:function(e,t,n){"use strict";n.r(t);var o=n(0),s=n(73);function r(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(r,i,a)=>{r.selectedAgent=void 0,r.selectedAgentsFilter=void 0,r.deletingAgent=void 0,r.onEditAgent=t=>{e.emit(s.TTYGEventName.EDIT_AGENT,t)},r.onCloneAgent=t=>{e.emit(s.TTYGEventName.CLONE_AGENT,t)},r.onDeleteAgent=r=>{const i=n.instant("ttyg.agent.delete_agent_modal.title"),a=Object(o.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:r.name}));t.openConfirmation(i,a,()=>e.emit(s.TTYGEventName.DELETE_AGENT,r))},r.onAgentsFilterChange=e=>{r.selectedAgentsFilter=e,r.selectedAgentsFilter&&r.agentList.filterByRepository(r.selectedAgentsFilter.key)};const c=()=>{const e=r.agentListFilterModel.find(e=>e.selected);r.selectedAgentsFilter=e||r.agentListFilterModel[0],r.onAgentsFilterChange(r.selectedAgentsFilter)},l=[];l.push(r.$watch("agentListFilterModel",c)),l.push(e.subscribe(s.TTYGEventName.DELETING_AGENT,e=>{r.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{r.selectedAgent=e})),r.$on("$destroy",()=>{l.forEach(e=>e())}),c()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",r),r.$inject=["TTYGContextService","ModalService","$translate"]},133:function(e,t,n){"use strict";n.r(t);var o=n(77),s=n(73);function r(e,t,n,r){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=t=>{i(t),n.selectedAgent=t,e.selectAgent(t)},n.onAgentWithoutRepoSelected=o=>{const a=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),c=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");r.openConfirmation(a,c,()=>e.emit(s.TTYGEventName.EDIT_AGENT,o.data.agent)),i(o),n.selectedAgent=o.data.agent,e.selectAgent(o.data.agent)};const i=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},a=e=>{n.agentOptionsList=e.agents.map(e=>new o.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{a(e)})),c.push(e.subscribe(s.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{i(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",r),r.$inject=["TTYGContextService","$translate","$sce","ModalService"]},134:function(e,t,n){"use strict";n.r(t);var o=n(73),s=n(12);function r(e,t){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:n=>{n.canModifyAgent=!1,n.talkToGraphDocumentationLink=s.DocumentationUrlResolver.getDocumentationUrl(t.productShortVersion,"talk-to-graph.html"),n.onCreateAgent=()=>{e.emit(o.TTYGEventName.OPEN_AGENT_SETTINGS)};const r=[];r.push(e.onCanUpdateAgentUpdated(e=>{n.canModifyAgent=e})),n.$on("$destroy",()=>{r.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",r),r.$inject=["TTYGContextService","productInfo"]},135:function(e,t,n){"use strict";n.r(t);var o=n(0),s=n(91),r=(n(104),n(103),n(114),n(19),n(8)),i=n(73),a=n(88);function c(e,t,n,c,l,d,g,u,h,m,p,T,y){e.AGENT_OPERATION=a.AGENT_OPERATION,e.operation=p.operation,e.savingAgent=!1,e.agentFormModel=p.agentFormModel,e.activeRepositoryInfo=p.activeRepositoryInfo,e.extractionMethodLoaderFlags={[s.ExtractionMethod.SIMILARITY]:!1},e.activeRepositoryList=p.activeRepositoryList,e.extractionMethods=s.ExtractionMethod,e.showAdvancedSettings=!1,e.showHighTemperatureWarning=!1,e.showSystemInstructionWarning=!1,e.similarityIndexes=[],e.retrievalConnectors=[],e.ftsEnabled=!1,e.toggleExtractionMethod=t=>{t.expanded=t.selected,e.agentSettingsForm.extractionMethods.$setTouched(),S(),L[t.method](t)},e.onExtractionMethodPanelToggle=e=>{e.toggleCollapse(),L[e.method](e)},e.getModelHelpMessage=()=>{const e=Object(o.decodeHTML)(m.instant("ttyg.agent.create_agent_modal.form.model.hint"));return g.trustAsHtml(e)},e.getFTSDisabledHelpMessage=()=>{const t=Object(o.decodeHTML)(m.instant("ttyg.agent.create_agent_modal.form.fts_search.fts_disabled_message",{repositoryEditPage:"#/repository/edit/"+e.agentFormModel.repositoryId}));return g.trustAsHtml(t)},e.goToCreateSimilarityView=()=>{T.emit(i.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.goToConnectorsView=()=>{T.emit(i.TTYGEventName.GO_TO_CONNECTORS_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.ok=()=>{const t=e.agentFormModel.toPayload();return E[e.operation](t)},e.cancel=()=>{t.dismiss({})},e.close=()=>{t.dismiss({})},e.updateSimilaritySearchPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getSimilarityExtractionMethod();t&&(n.similarityIndex=null),_(n)},e.updateRetrievalConnectorPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getRetrievalExtractionMethod();t&&(n.retrievalConnectorInstance=null),b(n)},e.checkIfFTSEnabled=()=>{e.agentFormModel.repositoryId&&d.getRepositoryModel({id:e.agentFormModel.repositoryId}).then(t=>{e.ftsEnabled=t.getParamValue(r.REPOSITORY_PARAMS.enableFtsIndex)}).catch(e=>{v(e,"ttyg.agent.messages.error_repository_config_loading")}).finally(()=>{e.extractionMethodLoaderFlags[s.ExtractionMethod.FTS_SEARCH]=!1})},e.onRepositoryChange=()=>{e.checkIfFTSEnabled(),e.updateSimilaritySearchPanel(!0),e.updateRetrievalConnectorPanel(!0)},e.onRestoreDefaultSystemInstructions=()=>{e.agentFormModel.instructions.systemInstruction=e.agentFormModel.instructions.systemInstructionCopy},e.onRestoreDefaultUserInstructions=()=>{e.agentFormModel.instructions.userInstruction=e.agentFormModel.instructions.userInstructionCopy},e.onTemperatureChange=()=>{e.showHighTemperatureWarning=e.agentFormModel.temperature.value>1},e.onSystemInstructionChange=()=>{""===e.agentFormModel.instructions.systemInstruction||e.showSystemInstructionWarning||(e.showSystemInstructionWarning=!0,n.openModalAlert({title:m.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.title"),message:m.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.body")}).result.then((function(){}))),""===e.agentFormModel.instructions.systemInstruction&&(e.showSystemInstructionWarning=!1)};const E={[a.AGENT_OPERATION.CREATE]:e=>f(e),[a.AGENT_OPERATION.EDIT]:e=>A(e),[a.AGENT_OPERATION.CLONE]:e=>C(e)},f=n=>(e.savingAgent=!0,y.createAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),A=n=>(e.savingAgent=!0,y.editAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),C=n=>(e.savingAgent=!0,y.createAgent(n).then(e=>{t.close(e),u.success(m.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{u.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),v=(e,t)=>{console.error(e),u.error(m.instant(t))},S=()=>{e.agentSettingsForm.extractionMethods.$setValidity("required",e.agentFormModel.hasExtractionMethodSelected())},I=()=>{const t=e.activeRepositoryList.find(t=>t.value===e.agentFormModel.repositoryId);return{repositoryId:t?t.data.repository.id:void 0,repositoryLocation:t?t.data.repository.location:void 0}},_=t=>{if(t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=I();c.getIndexesAsMenuModel(n.repositoryId,n.repositoryLocation).then(n=>{e.similarityIndexes=n,e.agentSettingsForm.$setValidity("missingIndex",!t.selected||!(!n||!n.length)),R(e.similarityIndexes,t)}).catch(e=>{v(e,"ttyg.agent.messages.error_similarity_indexes_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},R=(e,t)=>{if(0===e.length)return void(t.similarityIndex=null);const n=e.find(e=>e.value===t.similarityIndex);t.similarityIndex=n?n.value:e[0].value},b=t=>{if(t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=I();l.getConnectorPrefixByName("ChatGPT Retrieval",n.repositoryId,n.repositoryLocation).then(e=>l.getConnectorsByTypeAsSelectMenuOptions(e,n.repositoryId,n.repositoryLocation)).then(n=>{e.retrievalConnectors=n,e.agentSettingsForm.$setValidity("missingConnector",!t.selected||!(!n||!n.length)),N(e.retrievalConnectors,t)}).catch(e=>{v(e,"ttyg.agent.messages.error_retrieval_connectors_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},N=(e,t)=>{if(0===e.length)return void(t.retrievalConnectorInstance=null);const n=e.find(e=>e.value===t.retrievalConnectorInstance);t.retrievalConnectorInstance=n?n.value:e[0].value},L={[s.ExtractionMethod.FTS_SEARCH]:t=>(t=>{e.extractionMethodLoaderFlags[t.method]=!0,e.checkIfFTSEnabled()})(t),[s.ExtractionMethod.SPARQL]:e=>{},[s.ExtractionMethod.SIMILARITY]:e=>_(e),[s.ExtractionMethod.RETRIEVAL]:e=>b(e)};setTimeout(S,0)}angular.module("graphdb.framework.ttyg.controllers.agent-settings-modal",["graphdb.framework.core.services.similarity","graphdb.framework.core.services.connectors","graphdb.framework.rest.repositories.service"]).controller("AgentSettingsModalController",c),c.$inject=["$scope","$uibModalInstance","ModalService","SimilarityService","ConnectorsService","RepositoriesRestService","$sce","toastr","UriUtils","$translate","dialogModel","TTYGContextService","TTYGService"]},136:function(e,t){function n(e,t){const n={agent:{id:void 0},chat:{id:void 0}},o=()=>{let o=e.get(t.TTYG);return o||(o=n),o.agent||(o.agent={}),o.chat||(o.chat={}),o};return{saveAgent:function(n){const s=o();s.agent.id=n?n.id:void 0,e.set(t.TTYG,s)},getAgentId:function(){const e=o();if(e.agent)return e.agent.id},saveChat:function(n){const s=o();s.chat.id=n?n.id:void 0,e.set(t.TTYG,s)},getChatId:function(){const e=o();if(e.chat)return e.chat.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",n),n.$inject=["LocalStorageAdapter","LSKeys"]},137:function(e,t,n){"use strict";n.r(t),n.d(t,"AgentSettingsModal",(function(){return o}));class o{constructor(e,t,n,o){this.activeRepositoryInfo=e,this.activeRepositoryList=t,this.agentFormModel=n,this.operation=o}}},185:function(e,t,n){"use strict";n.r(t);n(130),n(131),n(132),n(133),n(134),n(135),n(114);var o=n(73),s=(n(136),n(88)),r=n(91),i=n(115),a=n(142),c=n(77),l=n(21),d=n(511),g=n(137),u=n(0),h=n(129),m=n(17);function p(e,t,n,p,T,y,E,f,A,C,v,S,I,_,R){const b=[],N={filter_all:E.instant("ttyg.agent.btn.filter.all")};p.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",p.isHelpVisible=!1,p.showChats=!0,p.showAgents=!1,p.chats=void 0,p.loadingChats=!1,p.loadingChat=!1,p.initialized=!1,p.agents=void 0,p.selectedAgent=void 0,p.loadingAgents=!1,p.reloadingAgents=!1,p.connectorID=void 0,p.canModifyAgent=!1,p.agentListFilterModel=[],p.activeRepositoryList=[],p.history=[],p.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5},p.startNewChat=()=>{let e=_.getChats().getNonPersistedChat();e||(e=x(),_.addChat(e)),_.selectChat(e)},p.onopen=p.onclose=()=>angular.noop(),p.toggleChatsListSidebar=()=>{p.showChats=!p.showChats},p.toggleAgentsListSidebar=()=>{p.showAgents=!p.showAgents},p.getIcon=e=>"question"===e?"user":"assistant"===e?"data":"help",p.clear=()=>{v.openSimpleModal({title:E.instant("common.confirm"),message:E.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){p.history=[],M()}))},p.openSettings=()=>{f.open({templateUrl:"js/angular/ttyg/templates/modal/settings.html",controller:"AgentSettingsDialogCtrl",size:"lg",resolve:{data:function(){return{askSettings:p.askSettings,connectorID:p.connectorID}}}}).result.then((function(e){p.connectorID=e.connectorID,p.askSettings=e.askSettings,M()}))},p.onToggleHelp=()=>{p.isHelpVisible=!p.isHelpVisible},p.onExportSelectedChat=()=>{k(_.getSelectedChat())};const L=()=>{const e=_.getDefaultAgent();return e?Promise.resolve(e):I.getDefaultAgent().then(e=>(_.setDefaultAgent(e),e))};p.onOpenNewAgentSettings=()=>{L().then(e=>{const t=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());e.repositoryId=t.id;const n=Object(a.agentFormModelMapper)(new r.AgentModel({}),e,s.AGENT_OPERATION.CREATE);return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(t,p.activeRepositoryList,n,s.AGENT_OPERATION.CREATE)}},size:"lg"}}).then(e=>{f.open(e).result.then(O)}).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))})},p.onOpenAgentSettings=e=>{let t=e;t||(t=_.getSelectedAgent()),L().then(e=>{const n=Object(a.agentFormModelMapper)(t,e,s.AGENT_OPERATION.EDIT),o=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(o,p.activeRepositoryList,n,s.AGENT_OPERATION.EDIT)}},size:"lg"}}).then(e=>{f.open(e).result.then(e=>{const t=_.getSelectedAgent();t&&e.id===t.id&&_.selectAgent(e),O()})}).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))})},p.onOpenCloneAgentSettings=e=>{L().then(t=>{const n=Object(a.agentFormModelMapper)(e,t,s.AGENT_OPERATION.CLONE);n.name="clone-"+n.name;const o=Object(l.repositoryInfoMapper)(A.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",backdrop:"static",resolve:{dialogModel:function(){return new g.AgentSettingsModal(o,p.activeRepositoryList,n,s.AGENT_OPERATION.CLONE)}},size:"lg"}}).then(e=>{f.open(e).result.then(e=>{const t=_.getSelectedAgent();t&&e.id===t.id&&_.selectAgent(e),O()})}).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))})};const M=()=>{const e=S.get("ttyg")||{};e[A.getActiveRepository()]={history:p.history,connectorID:p.connectorID,askSettings:p.askSettings},S.set("ttyg",e)},G=()=>(p.loadingChats=!0,I.getConversations().then(e=>_.updateChats(e)).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH)),D(new i.ChatsListModel)}).finally(()=>{p.loadingChats=!1})),O=()=>(p.reloadingAgents=!0,I.getAgents().then(e=>_.updateAgents(e)).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{p.reloadingAgents=!1})),w=()=>{_.setCanModifyAgent(e.isRepoManager())},x=()=>{const e={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new i.ChatModel(e,Object(m.md5HashGenerator)())},D=e=>{e.isEmpty()?p.showChats=!1:(p.showChats=!0,_.getSelectedChat()||R.getChatId()||_.selectChat(p.chats.getFirstChat()))},k=e=>{I.exportConversation(e.id).then((function({data:t,filename:n}){Object(d.saveAs)(t,n),_.emit(o.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e)})).catch(()=>{_.emit(o.TTYGEventName.CHAT_EXPORT_FAILURE),C.error(E.instant("ttyg.chat.messages.export_failure"))})},F=()=>{const e=A.getActiveRepository(),t=A.getLocalReadableGraphdbRepositories().map(t=>new r.AgentListFilterModel(t.id,t.id,t.id===e));p.agentListFilterModel=[new r.AgentListFilterModel(s.AGENTS_FILTER_ALL_KEY,N.filter_all),...t]},Y=e=>{v.openModalAlert({title:E.instant("ttyg.chat.dialog.chat_is_missing.title"),message:E.instant("ttyg.chat.dialog.chat_is_missing.body")}).result.then((function(){_.deleteChat(e)}))},U=()=>{t.open("/similarity/index/create","_blank")},H=()=>{t.open("/connectors","_blank")},$=e=>{t.open(`/sparql?query=${encodeURIComponent(e)}&execute=true`,"_blank")},j=()=>{const e=R.getChatId(),t=_.getChats();e&&t.getChat(e)&&_.selectChat(_.getChats().getChat(e))};b.push(p.$watch(p.getActiveRepositoryObject,e=>{e&&(p.activeRepositoryList=A.getLocalReadableGraphdbRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id,data:{repository:e}})),((e=!0)=>(p.loadingAgents=e,I.getAgents().then(e=>_.updateAgents(e)).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{p.loadingAgents=!1})))().then(()=>(p.initialized=!0,F(),(()=>{const e=R.getAgentId();e&&I.getAgent(e).then(e=>{e&&_.selectAgent(e)}).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))})})(),G())).then(j),(()=>{const e=A.getActiveRepository();if(e){const t=S.get("ttyg");if(t&&t[e]){const n=t[e];n.history&&(p.history=n.history),p.connectorID=n.connectorID,n.askSettings&&(p.askSettings=n.askSettings)}}w()})())})),b.push(_.onSelectedChatChanged(e=>{e&&e.id?I.getConversation(e.id).then(t=>{_.updateSelectedChat(t),R.saveChat(e)}).catch(t=>{t.status===h.status.NOT_FOUND&&(Y(e),_.emit(o.TTYGEventName.LOAD_CHAT_FAILURE,e))}):_.updateSelectedChat(e)})),b.push(_.onChatsListChanged(e=>{p.chats=e,D(e)})),b.push(_.onCanUpdateAgentUpdated(e=>{p.canModifyAgent=e})),b.push(_.subscribe(_.onAgentsListChanged(e=>{p.agents=e}))),b.push(_.subscribe(o.TTYGEventName.CREATE_CHAT,e=>{p.startNewChat(),I.createConversation(e).then(e=>(_.emit(o.TTYGEventName.CREATE_CHAT_SUCCESSFUL),I.getConversation(e.chatId))).then(e=>{const t=_.getSelectedChat();if(t&&!t.id){const t=_.getChats().getNonPersistedChat();_.updateSelectedChat(e),_.replaceChat(e,t)}_.emit(o.TTYGEventName.LOAD_CHATS)}).catch(()=>{_.emit(o.TTYGEventName.CREATE_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.create_failure"))})})),b.push(_.subscribe(o.TTYGEventName.RENAME_CHAT,e=>{I.renameConversation(e).then(()=>{_.emit(o.TTYGEventName.RENAME_CHAT_SUCCESSFUL),_.emit(o.TTYGEventName.LOAD_CHATS)}).catch(()=>{_.emit(o.TTYGEventName.RENAME_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.rename_failure"))})})),b.push(_.subscribe(o.TTYGEventName.DELETE_CHAT,e=>{_.emit(o.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!0}),I.deleteConversation(e.id).then(()=>{_.emit(o.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e);const t=_.getChats();t.deleteChat(e),_.updateChats(t)}).catch(()=>{_.emit(o.TTYGEventName.DELETE_CHAT_FAILURE),C.error(E.instant("ttyg.chat.messages.delete_failure"))}).finally(()=>_.emit(o.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!1}))})),b.push(_.subscribe(o.TTYGEventName.CHAT_EXPORT,k)),b.push(_.subscribe(o.TTYGEventName.ASK_QUESTION,e=>{e.question.timestamp=Date.now(),I.askQuestion(e).then(t=>{const n=_.getSelectedChat();if(n&&n.id===e.chatId){n.timestamp=t.timestamp;const o=e;e.answers=t.messages,n.chatHistory.appendItem(o),_.updateSelectedChat(n);const s=_.getChats();s.updateChatTimestamp(n.id,t.timestamp),_.updateChats(s)}}).catch(e=>{_.emit(o.TTYGEventName.ASK_QUESTION_FAILURE),C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))})})),b.push(_.subscribe(o.TTYGEventName.LOAD_CHATS,G)),b.push(_.subscribe(o.TTYGEventName.OPEN_AGENT_SETTINGS,p.onOpenNewAgentSettings)),b.push(_.subscribe(o.TTYGEventName.EDIT_AGENT,p.onOpenAgentSettings)),b.push(_.subscribe(o.TTYGEventName.CLONE_AGENT,p.onOpenCloneAgentSettings)),b.push(_.subscribe(o.TTYGEventName.DELETE_AGENT,e=>{_.emit(o.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),I.deleteAgent(e.id).then(()=>O()).then(()=>{_.emit(o.TTYGEventName.AGENT_DELETED,e),p.selectedAgent&&p.selectedAgent.id===e.id&&(p.selectedAgent=void 0)}).catch(e=>{C.error(getError(e,0,s.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{_.emit(o.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),b.push(_.subscribe(o.TTYGEventName.AGENT_SELECTED,e=>{p.selectedAgent=e,R.saveAgent(e)})),b.push(_.subscribe(o.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&v.openConfirmationModal({title:E.instant("common.confirm"),message:Object(u.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_similarity.body",{repositoryId:t.id})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{A.setRepository(t),U()})}else U()})),b.push(_.subscribe(o.TTYGEventName.GO_TO_CONNECTORS_VIEW,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&v.openConfirmationModal({title:E.instant("common.confirm"),message:Object(u.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_connectors.body",{repositoryId:t.id})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{A.setRepository(t),H()})}else H()})),b.push(_.subscribe(o.TTYGEventName.GO_TO_SPARQL_EDITOR,e=>{if(e.repositoryId!==A.getActiveRepository()){const t=A.getRepository(e.repositoryId);t&&v.openConfirmation(E.instant("common.confirm"),Object(u.decodeHTML)(E.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:e.repositoryId})),()=>{A.setRepository(t),$(e.query)})}else $(e.query)})),b.push(n.$on("$translateChangeSuccess",()=>{N.filter_all=E.instant("ttyg.agent.btn.filter.all"),F()})),b.push(n.$on("securityInit",w)),p.$on("$destroy",(function(){b.forEach(e=>e()),_.resetContext()}))}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.controllers.agent-settings-modal"]).controller("TTYGViewCtrl",p),p.$inject=["$jwtAuth","$window","$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},510:function(e,t){(function(t){e.exports=t}).call(this,{})},511:function(e,t,n){var o,s=s||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),s=e.webkitRequestFileSystem,r=e.requestFileSystem||s||e.mozRequestFileSystem,i=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},a=0,c=function(t){var o=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?o():setTimeout(o,500)},l=function(e,t,n){for(var o=(t=[].concat(t)).length;o--;){var s=e["on"+t[o]];if("function"==typeof s)try{s.call(e,n||e)}catch(e){i(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},g=function(t,i){t=d(t);var g,u,h,m=this,p=t.type,T=!1,y=function(){l(m,"writestart progress write writeend".split(" "))},E=function(){(!T&&g||(g=n().createObjectURL(t)),u)?u.location.href=g:null==e.open(g,"_blank")&&"undefined"!=typeof safari&&(e.location.href=g);m.readyState=m.DONE,y(),c(g)},f=function(e){return function(){if(m.readyState!==m.DONE)return e.apply(this,arguments)}},A={create:!0,exclusive:!1};if(m.readyState=m.INIT,i||(i="download"),o)return g=n().createObjectURL(t),o.href=g,o.download=i,void setTimeout((function(){var e,t;e=o,t=new MouseEvent("click"),e.dispatchEvent(t),y(),c(g),m.readyState=m.DONE}));e.chrome&&p&&"application/octet-stream"!==p&&(h=t.slice||t.webkitSlice,t=h.call(t,0,t.size,"application/octet-stream"),T=!0),s&&"download"!==i&&(i+=".download"),("application/octet-stream"===p||s)&&(u=e),r?(a+=t.size,r(e.TEMPORARY,a,f((function(e){e.root.getDirectory("saved",A,f((function(e){var n=function(){e.getFile(i,A,f((function(e){e.createWriter(f((function(n){n.onwriteend=function(t){u.location.href=e.toURL(),m.readyState=m.DONE,l(m,"writeend",t),c(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&E()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=m["on"+e]})),n.write(t),m.abort=function(){n.abort(),m.readyState=m.DONE},m.readyState=m.WRITING})),E)})),E)};e.getFile(i,{create:!1},f((function(e){e.remove(),n()})),f((function(e){e.code===e.NOT_FOUND_ERR?n():E()})))})),E)})),E)):E()},u=g.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(d(e),t)}:(u.abort=function(){this.readyState=this.DONE,l(this,"abort")},u.readyState=u.INIT=0,u.WRITING=1,u.DONE=2,u.error=u.onwritestart=u.onprogress=u.onwrite=u.onabort=u.onerror=u.onwriteend=null,function(e,t){return new g(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
|
|
2
|
+
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=s:null!==n(517)&&null!=n(510)&&(void 0===(o=function(){return s}.apply(t,[]))||(e.exports=o))},517:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},79:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexType",(function(){return o}));const o={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>o.TEXT===e,isTextLiteralType:e=>o.TEXT_LITERAL===e,isPredicationType:e=>o.PREDICATION===e}},80:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexStatus",(function(){return o}));const o={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>o.CREATING===e,isBuildingStatus:e=>o.BUILDING===e,isBuiltStatus:e=>o.BUILT===e,isRebuildingStatus:e=>o.REBUILDING===e,isOutdatedStatus:e=>o.OUTDATED===e,isInterruptedStatus:e=>o.INTERRUPTED===e,isObsoleteStatus:e=>o.OBSOLETE===e,isFailedStatus:e=>o.FAILED===e}},81:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndex",(function(){return r}));var o=n(79),s=n(80);class r{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=o.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return o.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return o.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return o.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return s.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return s.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return s.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return s.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return s.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return s.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return s.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return s.SimilarityIndexStatus.isFailedStatus(this.status)}}},84:function(e,t,n){"use strict";n.r(t),n.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return s}));var o=n(81);const s=e=>e.map(e=>{const t=new o.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},85:function(e,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",n),n.$inject=["$http"];function n(e){return{getConnectors:function(t,n){if(t)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/connectors")},initConnector:function(t){return e.get("rest/connectors/options?prefix="+t)},hasConnector:function(t,n,o){if(n)return e.get("rest/connectors/existing?prefix="+t,{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":o}});return e.get("rest/connectors/existing?prefix="+t)},checkConnector:function(t){return e.post("rest/connectors/check",t,{headers:{"Content-Type":"text/plain"}})}}}},89:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorTypesListModel",(function(){return o})),n.d(t,"ConnectorTypeModel",(function(){return s})),n.d(t,"ConnectorListModel",(function(){return r})),n.d(t,"ConnectorModel",(function(){return i})),n.d(t,"ConnectorSettingsModel",(function(){return a}));class o{constructor(e={}){this._connectors=e.connectors||[]}getConnectorByName(e){return this._connectors.find(t=>t.name===e)}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class s{constructor(e){this._name=e.name,this._prefix=e.prefix}get name(){return this._name}set name(e){this._name=e}get prefix(){return this._prefix}set prefix(e){this._prefix=e}}class r{constructor(e=[]){this._connectors=e.connectors}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class i{constructor(e){this._name=e.name,this._settings=new a(e)}get settings(){return this._settings}set settings(e){this._settings=e}get name(){return this._name}set name(e){this._name=e}}class a{constructor(e){this._settings=e.values||{}}get settings(){return this._settings}set settings(e){this._settings=e}}},90:function(e,t){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",n),n.$inject=["$http","$repositories"];function n(e){return{getIndexes:function(t,n){if(t)return e.get("rest/similarity",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/similarity")},getSearchQueries:function(){return e.get("rest/similarity/config")},rebuildIndex:function(e){return t("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(t){return e.delete("rest/similarity?name="+t.name)},createIndex:t,getSamples:function(){return e.get("rest/similarity/samples")},getQuery:function(t){return e.get("rest/similarity/query",{params:{name:t.indexName,options:t.indexOptions,stopList:t.indexStopList,selectQuery:t.query,infer:t.queryInference,sameAs:t.querySameAs,type:t.viewType,analyzer:t.indexAnalyzer}})},saveSearchQuery:function(t){return e({method:"put",url:"rest/similarity/search-query",data:t})}};function t(t,n,o,s,r,i,a,c,l,d,g){return e({method:t,url:"rest/similarity",noCancelOnRouteChange:!0,data:{name:n,options:o,selectQuery:s,stopList:a,infer:c,sameAs:l,type:d,analyzer:g,searchQuery:r,analogicalQuery:i}})}}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"connectorTypesListMapper",(function(){return s})),n.d(t,"connectorsMapper",(function(){return r}));var o=n(89);const s=e=>{const t=new o.ConnectorTypesListModel;return e?(t.connectors=Object.keys(e).map(t=>new o.ConnectorTypeModel({name:t,prefix:e[t]})),t):t},r=e=>{const t=new o.ConnectorListModel;return e?(t.connectors=e.map(e=>new o.ConnectorModel(e)),t):t}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[250],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[250],{274:function(n,i,o){"use strict";o.r(i),o.d(i,"SimilarityViewMode",(function(){return E}));const E={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[251],{182:function(r,n,e){"use strict";e.r(n),e.d(n,"SparqlTemplateError",(function(){return o}));class o extends Error{}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[252],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[252],{183:function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_SPARQL_QUERY",(function(){return s})),n.d(t,"SparqlTemplateInfo",(function(){return i}));const s="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX ex: <http://example.com#>\nDELETE {\n ?subject ex:myPredicate ?oldValue .\n} INSERT {\n ?subject ex:myPredicate ?newValue .\n} WHERE {\n ?id rdf:type ex:MyType .\n ?subject ex:isRelatedTo ?id .\n}\n";class i{constructor(e=s,t=!0,n){this.query=e,this.templateID=n,this.isNewTemplate=t,this.templateExist=!1,this.isValidTemplateId=!0,this.isValidQuery=!0,this.isValidQueryMode=!0}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[253],{181:function(n,r,e){"use strict";e.r(r),e.d(r,"CancelAbortingQuery",(function(){return o}));class o extends Error{}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[254],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[254],{113:function(n,o,r){"use strict";r.r(o),r.d(o,"VIEW_SPARQL_EDITOR",(function(){return c}));const c="graphdb-workbench-sparql-editor"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[255],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[255],{351:function(s,t,n){"use strict";n.r(t),n.d(t,"MAX_VISIBLE_ERROR_CHARACTERS",(function(){return r})),n.d(t,"SparqlQueryErrorInfo",(function(){return o}));const r=160;class o{constructor(s="",t="",n=""){n&&n.length>r&&(this.shortenErrorMessage=n.substring(0,r)),this.status=s,this.statusText=t,this.responseText=n}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[256],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[256],{124:function(s,i,n){"use strict";n.r(i),n.d(i,"TabQueryModel",(function(){return t}));class t{constructor(s,i,n,t=!0){this.queryName=s,this.query=i,this.owner=n,this.isPublic=t}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[257],{352:function(n,e,o){"use strict";o.r(e),o.d(e,"ThemeModel",(function(){return c}));const c={name:"",label:"",mode:""}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{125:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatAnswerModel",(function(){return a}));class a{constructor(t={}){this._chatId=t.chatId,this._chatName=t.chatName||"",this._timestamp=t.timestamp,this._messages=t.messages||[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get chatName(){return this._chatName}set chatName(t){this._chatName=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get messages(){return this._messages}set messages(t){this._messages=t}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[259],{78:function(s,t,e){"use strict";e.r(t),e.d(t,"ChatMessageModel",(function(){return i})),e.d(t,"CHAT_MESSAGE_ROLE",(function(){return r}));class i{constructor(s){this._id=s.id,this._role=s.role,this._message=s.message,this._timestamp=1e3*s.timestamp}get id(){return this._id}set id(s){this._id=s}get role(){return this._role}set role(s){this._role=s}get message(){return this._message}set message(s){this._message=s}get timestamp(){return this._timestamp}set timestamp(s){this._timestamp=s}}const r={USER:"user",ASSISTANT:"assistant"}}}]);
|