graphdb-workbench 2.8.0-TR9 → 2.8.0
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.b18306b2cadb110a4706.bundle.js +25 -0
- package/dist/1.448206bdf418ae6f4bb1.bundle.js +1 -0
- package/dist/10.68a799e9740094ae6dca.bundle.js +1 -0
- package/dist/100.09a30a5e44435c837f2a.bundle.js +1 -0
- package/dist/101.caacc7236547367b3490.bundle.js +1 -0
- package/dist/102.4eeca7f968a33676bd37.bundle.js +1 -0
- package/dist/103.51d530c22201d78caa93.bundle.js +1 -0
- package/dist/104.38201bee605ebc344d8a.bundle.js +1 -0
- package/dist/105.e11b21c6d94f5df2b6c0.bundle.js +1 -0
- package/dist/106.9f79d102d74f6c666426.bundle.js +1 -0
- package/dist/107.57f4a826dcecb39b5cff.bundle.js +1 -0
- package/dist/108.685698b895a5e16ba92f.bundle.js +1 -0
- package/dist/109.7e1872c8dc363801a73a.bundle.js +1 -0
- package/dist/11.fb254db6ab09d415273d.bundle.js +1 -0
- package/dist/110.be87cfc050d9a4f51e6c.bundle.js +1 -0
- package/dist/111.2ce44854edbaa2238fa4.bundle.js +1 -0
- package/dist/112.28febaaf610eba64128b.bundle.js +1 -0
- package/dist/113.9ad88652dd2d85f3dd2e.bundle.js +1 -0
- package/dist/114.f68e86a5c96abb1ee21c.bundle.js +1 -0
- package/dist/115.a627783d082869bde43e.bundle.js +1 -0
- package/dist/116.37799a5fbee1455a6a54.bundle.js +1 -0
- package/dist/117.aee330b983bf5c50f8c1.bundle.js +1 -0
- package/dist/118.97b6ec864fd41bc2aed8.bundle.js +1 -0
- package/dist/119.fb10ef86ec9300396424.bundle.js +1 -0
- package/dist/12.aea46cc96155a0219494.bundle.js +1 -0
- package/dist/120.c5617b13f324abddd2eb.bundle.js +1 -0
- package/dist/121.6064dd0a23e54b173692.bundle.js +1 -0
- package/dist/122.d09e905c00bfdc8e819c.bundle.js +1 -0
- package/dist/123.277f71995a92fc780150.bundle.js +1 -0
- package/dist/124.5546d1169cf1cd85a80a.bundle.js +1 -0
- package/dist/125.577c4efc0f0f4aaf6104.bundle.js +1 -0
- package/dist/126.40a15e56f739d5afeb9a.bundle.js +1 -0
- package/dist/127.883c16bae272fa231f2a.bundle.js +1 -0
- package/dist/128.a7f9973153bcb25c1f8f.bundle.js +1 -0
- package/dist/129.52e5b0f138bd41938143.bundle.js +1 -0
- package/dist/13.a4143780b628e2fa079e.bundle.js +1 -0
- package/dist/130.d6d5350813d4be3f4bb9.bundle.js +1 -0
- package/dist/131.18d1d6707a36a49acf81.bundle.js +1 -0
- package/dist/132.288cfa82dc82357a8f20.bundle.js +1 -0
- package/dist/133.6269f897deb2b5d1b734.bundle.js +1 -0
- package/dist/134.9d6ec1c346ccc0d29367.bundle.js +1 -0
- package/dist/135.1003cea170e7cc563d7e.bundle.js +1 -0
- package/dist/136.5903c06aaa6c3e2ffb94.bundle.js +1 -0
- package/dist/137.7aee8a081b5b3bb40453.bundle.js +1 -0
- package/dist/138.aa34288a887f892ec5b8.bundle.js +1 -0
- package/dist/139.f941d14574b513055316.bundle.js +1 -0
- package/dist/14.fcda4963e80d7ed89952.bundle.js +73 -0
- package/dist/140.984ea48adce39951c9c6.bundle.js +1 -0
- package/dist/141.842ee11d12b8205bf779.bundle.js +1 -0
- package/dist/142.80cbe981daac3fadb374.bundle.js +1 -0
- package/dist/143.b9e266bdae34f5807898.bundle.js +1 -0
- package/dist/144.6ac9bf46ac40bef252a6.bundle.js +1 -0
- package/dist/145.54e47d651b85080af814.bundle.js +1 -0
- package/dist/146.06eb1f7fad6a997ce599.bundle.js +1 -0
- package/dist/147.a79ce7406724d200aa40.bundle.js +1 -0
- package/dist/148.f858b14c733ac66234f2.bundle.js +1 -0
- package/dist/149.8ea2179cbd2b37bd7fc9.bundle.js +1 -0
- package/dist/15.8a1172142b37104705f4.bundle.js +1 -0
- package/dist/150.a89bf930768b00296cf2.bundle.js +1 -0
- package/dist/151.341d3c1e0a807ea028ff.bundle.js +1 -0
- package/dist/152.cb606b2e29d0ed211393.bundle.js +1 -0
- package/dist/153.05a8742cb29b3a462a16.bundle.js +1 -0
- package/dist/154.6e565221bccc175c1108.bundle.js +1 -0
- package/dist/155.72bb7cc06d05273c5c80.bundle.js +1 -0
- package/dist/156.cd11334661dc42349670.bundle.js +1 -0
- package/dist/157.40975d0dfdc019625f93.bundle.js +1 -0
- package/dist/158.db6a06ef20338c27bbe8.bundle.js +1 -0
- package/dist/159.db706dea000e1f0bb7b6.bundle.js +1 -0
- package/dist/16.63883919105a1da4d0f2.bundle.js +1 -0
- package/dist/160.3d8e18b58dc2fa30620c.bundle.js +1 -0
- package/dist/161.e7b42e2e61898d16340b.bundle.js +1 -0
- package/dist/162.177a114825eb9bb2f64c.bundle.js +1 -0
- package/dist/163.5632f146b007b7c5b651.bundle.js +1 -0
- package/dist/164.39225bdfaec366b1e002.bundle.js +1 -0
- package/dist/165.c998450dcdfb148f9437.bundle.js +1 -0
- package/dist/166.fdd8b408b4ffc6613106.bundle.js +1 -0
- package/dist/167.eafc82608c6dc1f2b1f4.bundle.js +1 -0
- package/dist/168.ae99c3d32903e94a4fdc.bundle.js +1 -0
- package/dist/169.b7caec5f442177ac9af4.bundle.js +1 -0
- package/dist/17.2a66a1b22ee5fd2e5188.bundle.js +2 -0
- package/dist/170.539e36297ae66e786055.bundle.js +1 -0
- package/dist/171.5042692bf21358d4cc13.bundle.js +1 -0
- package/dist/172.4a5a1655f275c1e76a8e.bundle.js +1 -0
- package/dist/173.8f37db05a2eccb1338e1.bundle.js +1 -0
- package/dist/174.3a835bc4586dd3be2127.bundle.js +1 -0
- package/dist/175.a295324d2a50b9f3788f.bundle.js +1 -0
- package/dist/176.4894021d44b59a93d0c5.bundle.js +1 -0
- package/dist/177.fc36db9ae6d2d507633e.bundle.js +1 -0
- package/dist/178.45843921d2eeb59d94ad.bundle.js +1 -0
- package/dist/179.dacbc3288deaea6b4b2d.bundle.js +1 -0
- package/dist/18.68db9e46f52c336f9882.bundle.js +1 -0
- package/dist/180.5c117f9cff77d6b25ea5.bundle.js +1 -0
- package/dist/181.4e8ff24fbb350c7b3b56.bundle.js +1 -0
- package/dist/182.78cd0ca67c114d4083b0.bundle.js +1 -0
- package/dist/183.a923584c5000b5a438e3.bundle.js +1 -0
- package/dist/184.9a0b9a3991efda186ea4.bundle.js +1 -0
- package/dist/185.7ab1c7b6eeeb6781cd99.bundle.js +1 -0
- package/dist/186.4a9ff497b3db9ea494e2.bundle.js +1 -0
- package/dist/187.ef6208e299a07f5f0334.bundle.js +1 -0
- package/dist/188.3029a2fc07ee161ffaeb.bundle.js +1 -0
- package/dist/189.012126382569e603f621.bundle.js +1 -0
- package/dist/19.ef19be06bbc801cb999f.bundle.js +1 -0
- package/dist/190.56e27ca9cbda2c67173e.bundle.js +1 -0
- package/dist/191.bcb776be3822dfe4cde1.bundle.js +1 -0
- package/dist/192.eefdfa8a64adc02ad0b4.bundle.js +1 -0
- package/dist/193.d4e1ad5cb8479a52d46b.bundle.js +1 -0
- package/dist/194.2a55ba6912d19408b435.bundle.js +1 -0
- package/dist/195.e941fc5e7f9378c8ab17.bundle.js +1 -0
- package/dist/196.71a74578eb6a02973e37.bundle.js +1 -0
- package/dist/197.3d35c2ec219cd3d7bfb8.bundle.js +1 -0
- package/dist/198.41a1c12d702b8eea05cb.bundle.js +1 -0
- package/dist/199.307a221895d1caf18a5c.bundle.js +1 -0
- package/dist/2.0a0dec9390b72e19b311.bundle.js +2 -0
- package/dist/20.1e1f5194b0bf7ee695ef.bundle.js +1 -0
- package/dist/200.bef000050c58e422e7c2.bundle.js +1 -0
- package/dist/201.973002fd688954a9c8d3.bundle.js +1 -0
- package/dist/202.eee2a68f67f81d75f2bb.bundle.js +1 -0
- package/dist/203.1cbd8dfff56ca2ec7ede.bundle.js +1 -0
- package/dist/204.7ebfdc337e93ae87170b.bundle.js +1 -0
- package/dist/205.e1eb8d6a79d414e06380.bundle.js +1 -0
- package/dist/206.a553de5fdb17b24c8dc2.bundle.js +1 -0
- package/dist/207.fb14c8bf4459323e849d.bundle.js +1 -0
- package/dist/208.19f9c901ae486326fc98.bundle.js +1 -0
- package/dist/209.d8063aa7350f75bac278.bundle.js +1 -0
- package/dist/21.de32d5c65457afa2851e.bundle.js +7 -0
- package/dist/210.5304eabe571eec1c2b81.bundle.js +1 -0
- package/dist/211.f9a5cdef1f2ddeb689b1.bundle.js +1 -0
- package/dist/212.ccea27a7be519d5f0757.bundle.js +1 -0
- package/dist/213.0eca28ecfc4802e125de.bundle.js +1 -0
- package/dist/214.e040526722e17347d84c.bundle.js +1 -0
- package/dist/215.b800566c0700c7b8c4cd.bundle.js +1 -0
- package/dist/216.b9fda0a7848f41ed40ab.bundle.js +1 -0
- package/dist/217.6d32c1bed20438834a78.bundle.js +1 -0
- package/dist/218.104544e4b49e62764ca5.bundle.js +1 -0
- package/dist/219.15c1b79bf625228f47cb.bundle.js +1 -0
- package/dist/22.13bcebaa12a3b6a7fc1f.bundle.js +3 -0
- package/dist/220.f4ba0c5153acc78befc4.bundle.js +1 -0
- package/dist/221.5639c32db29b47e60ceb.bundle.js +1 -0
- package/dist/222.431a31dfc100558127d2.bundle.js +1 -0
- package/dist/223.8fdcf71c23342ad508e3.bundle.js +1 -0
- package/dist/224.a07c2cd53365458b55a4.bundle.js +1 -0
- package/dist/225.c840f4a43ed6003b1c16.bundle.js +1 -0
- package/dist/226.24e3e9d84938a6a6eabf.bundle.js +1 -0
- package/dist/227.1a67bed102a40f2f9ec0.bundle.js +1 -0
- package/dist/228.22e230cd5fc561469a69.bundle.js +1 -0
- package/dist/229.d3761019da85e0658fff.bundle.js +1 -0
- package/dist/23.4d6fe6188090079288b3.bundle.js +2 -0
- package/dist/230.e4296329f772553ad850.bundle.js +1 -0
- package/dist/231.225bd343729ebbe1e0d5.bundle.js +1 -0
- package/dist/232.78a074ea22fd72fb8ef8.bundle.js +1 -0
- package/dist/233.bc36adcaeb1cbf7be85f.bundle.js +1 -0
- package/dist/234.02a294874e6cd8a3c262.bundle.js +1 -0
- package/dist/235.af02bcdf218e584a9303.bundle.js +1 -0
- package/dist/236.4b4edf5ad5693dbd5abf.bundle.js +1 -0
- package/dist/237.cb3f9d5743c45490a7fa.bundle.js +1 -0
- package/dist/238.19c1a0889632baadd488.bundle.js +1 -0
- package/dist/239.bad995b4d6f03d272bdf.bundle.js +1 -0
- package/dist/24.1415927663d7b3630b0c.bundle.js +2 -0
- package/dist/240.0dec87a0f31102e36391.bundle.js +1 -0
- package/dist/241.6e91c98c8555ff376e83.bundle.js +1 -0
- package/dist/242.047a0d8236c488473600.bundle.js +1 -0
- package/dist/243.96f2f187d39b4125760e.bundle.js +1 -0
- package/dist/244.6079a1e8227c55deca7b.bundle.js +1 -0
- package/dist/245.a83f7acd7d8871aada1f.bundle.js +1 -0
- package/dist/246.8f1b7dcf59027abbee88.bundle.js +1 -0
- package/dist/247.69933abdb3ac6473f39a.bundle.js +1 -0
- package/dist/248.d0a8b9678a6b7f6ca48e.bundle.js +1 -0
- package/dist/249.9a21eb19f42a0137d9ca.bundle.js +1 -0
- package/dist/25.80e686f280eafd8c7664.bundle.js +3 -0
- package/dist/250.afa8def1fef396da6206.bundle.js +1 -0
- package/dist/251.44f0ad72f2e2ae880b1f.bundle.js +1 -0
- package/dist/252.798aa3fa53ade809df13.bundle.js +1 -0
- package/dist/253.490a4f5bc8f155fa0fc2.bundle.js +1 -0
- package/dist/254.7a4d2839c0aae9ac6883.bundle.js +1 -0
- package/dist/255.706cb4baf3519dfba49c.bundle.js +1 -0
- package/dist/256.0a1b5a98ab0f964c8ef2.bundle.js +1 -0
- package/dist/257.d99c4d31a05376c3f843.bundle.js +1 -0
- package/dist/258.89724a72f0d594fd807f.bundle.js +1 -0
- package/dist/259.5be44d1f2b55d67f3607.bundle.js +1 -0
- package/dist/26.0ee8122dea38e7d63213.bundle.js +2 -0
- package/dist/260.783eff3ffb08e7fa4a8a.bundle.js +1 -0
- package/dist/261.0ce68d027610b2847725.bundle.js +1 -0
- package/dist/262.371d0ce39c547830ad1c.bundle.js +1 -0
- package/dist/263.c7acda74d3dbb1cd304b.bundle.js +1 -0
- package/dist/264.aedec62c0dc39d44b4ad.bundle.js +1 -0
- package/dist/265.c0ea38a64927308a1b7a.bundle.js +1 -0
- package/dist/266.052b282e1b16c6e72836.bundle.js +1 -0
- package/dist/267.d0d17712a0f80512c8a3.bundle.js +1 -0
- package/dist/268.aa19ee9c8013f92dcb37.bundle.js +1 -0
- package/dist/269.920b703620f5aee4db65.bundle.js +1 -0
- package/dist/27.8856a51632932276e7e5.bundle.js +1 -0
- package/dist/270.b78ec99c364f8f1a6b0d.bundle.js +1 -0
- package/dist/271.a3dbddf9fea6e4dfd1a8.bundle.js +1 -0
- package/dist/272.7cf9ca0b8223d413db9b.bundle.js +1 -0
- package/dist/273.9748c07378184f419d9f.bundle.js +1 -0
- package/dist/274.502fae4622f3761e659b.bundle.js +1 -0
- package/dist/275.0513f0175abb80c78611.bundle.js +1 -0
- package/dist/276.386a0e533ebd0cd3cdad.bundle.js +1 -0
- package/dist/277.ca2031feaeed71250acf.bundle.js +1 -0
- package/dist/278.4e762ecad5dfb540582c.bundle.js +1 -0
- package/dist/279.7d3222c1187c2a8af6c1.bundle.js +1 -0
- package/dist/28.6275b1d899c2bb12f8b3.bundle.js +1 -0
- package/dist/280.f7c9c937a5ad4df3c776.bundle.js +1 -0
- package/dist/281.6d164e70a537421f3583.bundle.js +1 -0
- package/dist/282.436cb89900efb14f0e27.bundle.js +1 -0
- package/dist/283.9103fa93e7c82c62ec66.bundle.js +1 -0
- package/dist/284.5019105aee7925d4b092.bundle.js +1 -0
- package/dist/285.fdc130b4c824ec5d1cbe.bundle.js +1 -0
- package/dist/286.5dc436a24b127c95da4a.bundle.js +1 -0
- package/dist/287.2b3402507a7d4a71726d.bundle.js +1 -0
- package/dist/288.27cfaf5bc952ebe4de86.bundle.js +1 -0
- package/dist/289.e86c412b657356e1b345.bundle.js +1 -0
- package/dist/29.95ab7220eb7def6e7416.bundle.js +1 -0
- package/dist/290.705bec39ac6fcd67ad8a.bundle.js +1 -0
- package/dist/291.311b21c6a3479a6da0c7.bundle.js +1 -0
- package/dist/292.c23eb4ce9a64e6043123.bundle.js +1 -0
- package/dist/293.99ab6c45e68e7ecad9e8.bundle.js +1 -0
- package/dist/294.8270fa1ffb8203ca1cc3.bundle.js +1 -0
- package/dist/295.7bad90be385fcda06014.bundle.js +1 -0
- package/dist/296.f92f730629029a0dc6f5.bundle.js +1 -0
- package/dist/297.58bfbc1ea7dff42e109d.bundle.js +1 -0
- package/dist/298.b86326f23cf40ce223ad.bundle.js +1 -0
- package/dist/299.4d8ae690d0fa6d898b37.bundle.js +1 -0
- package/dist/3.24d929991cd69f80ef8b.bundle.js +1 -0
- package/dist/30.1ec37731f3b0df265413.bundle.js +1 -0
- package/dist/300.471c4c0c346532201460.bundle.js +1 -0
- package/dist/301.cea05be97634a58db214.bundle.js +1 -0
- package/dist/302.ede2bb7d60ffdccb3abf.bundle.js +1 -0
- package/dist/303.01161175bae4fe4fb327.bundle.js +1 -0
- package/dist/304.f81c644b70d285cb155c.bundle.js +1 -0
- package/dist/305.37546faea1450e64fd64.bundle.js +1 -0
- package/dist/306.f340b1965ea84420e5ca.bundle.js +1 -0
- package/dist/307.99fa859b8ddf91742c05.bundle.js +1 -0
- package/dist/308.32808960941dcf27889e.bundle.js +1 -0
- package/dist/309.50dba7f6704e28502a25.bundle.js +1 -0
- package/dist/31.1dc7125bd98d362a1c3a.bundle.js +1 -0
- package/dist/310.9d9091c885408782ded3.bundle.js +1 -0
- package/dist/311.b1fa5974a44a860981bb.bundle.js +1 -0
- package/dist/312.a7d1eaf803d04f490dda.bundle.js +1 -0
- package/dist/313.9892d397a1ef74dc3246.bundle.js +1 -0
- package/dist/314.8fada0aa3e9615994573.bundle.js +1 -0
- package/dist/315.c59f4c4ee0f446eb3ad2.bundle.js +1 -0
- package/dist/316.988d54f02efb8211aed0.bundle.js +1 -0
- package/dist/317.e288b28fe2a995c47a1d.bundle.js +1 -0
- package/dist/318.01ae6d6ab01df5a8323e.bundle.js +1 -0
- package/dist/319.c1530887f9ceae9c73a1.bundle.js +1 -0
- package/dist/32.6006167b7a4dd794eedd.bundle.js +1 -0
- package/dist/320.9371c672401796d6edbc.bundle.js +1 -0
- package/dist/321.a4b79742c85844545a6d.bundle.js +1 -0
- package/dist/322.2909303415e952e92a19.bundle.js +1 -0
- package/dist/323.e16e96761d188a8833a3.bundle.js +1 -0
- package/dist/324.d4da0726bd089f2452b2.bundle.js +1 -0
- package/dist/33.ee00b23e5898b06e9d39.bundle.js +1 -0
- package/dist/330.3cda043d8a4f43d52219.bundle.js +1 -0
- package/dist/331.c2de2e82638496ea5d94.bundle.js +1 -0
- package/dist/332.eb7968637b591e432b40.bundle.js +1 -0
- package/dist/333.5080aa875f7a9c9dcc6a.bundle.js +1 -0
- package/dist/334.84d54c19de812615fd02.bundle.js +1 -0
- package/dist/335.5214afe77fa497f009d2.bundle.js +1 -0
- package/dist/336.6d785bb54171657c30ff.bundle.js +1 -0
- package/dist/337.758b1a71933d97eda859.bundle.js +1 -0
- package/dist/338.7bcd3c70a017970cc3e5.bundle.js +1 -0
- package/dist/339.40c538257c91895af690.bundle.js +1 -0
- package/dist/34.5fc9a74572694e984363.bundle.js +1 -0
- package/dist/340.5982841392c052586445.bundle.js +1 -0
- package/dist/341.6eb6b427ced82f22560b.bundle.js +1 -0
- package/dist/342.8ae2e43b4a5a15e9d447.bundle.js +1 -0
- package/dist/343.0a7a71474836fc8e64bb.bundle.js +1 -0
- package/dist/344.b79958d7e67bc51ac74a.bundle.js +1 -0
- package/dist/345.ad526192db3541576676.bundle.js +1 -0
- package/dist/346.e4e76912b08faedc1ad9.bundle.js +1 -0
- package/dist/347.118ca575ab87cb19ce76.bundle.js +1 -0
- package/dist/348.b66e869463d89757632c.bundle.js +1 -0
- package/dist/349.2b88eb8ae560d7ba5291.bundle.js +1 -0
- package/dist/35.1a48bf64f65cd345abc2.bundle.js +1 -0
- package/dist/350.c8218ae833103bf52abf.bundle.js +1 -0
- package/dist/351.8a5f28a009ef04d0167d.bundle.js +1 -0
- package/dist/352.739323a4a0d80fa64a83.bundle.js +1 -0
- package/dist/353.e9821df37c8a8f529f2b.bundle.js +1 -0
- package/dist/354.5b2d83dbc08d59ece66c.bundle.js +1 -0
- package/dist/355.698a8825eb6c8c14c900.bundle.js +1 -0
- package/dist/356.64b32e22c857ec1941a8.bundle.js +1 -0
- package/dist/357.633f1ec2bb4f7aaad08c.bundle.js +1 -0
- package/dist/358.712444d717ab6016e061.bundle.js +1 -0
- package/dist/359.f490d1cd5bd0129ff5b8.bundle.js +1 -0
- package/dist/36.aac2ef57fe3df2918f1b.bundle.js +1 -0
- package/dist/360.62558fe8ea27dda9b767.bundle.js +1 -0
- package/dist/361.6a61caaca065617b2b20.bundle.js +1 -0
- package/dist/362.ddbdb2c98ca0050223c1.bundle.js +1 -0
- package/dist/363.8162d94c452625b7dba2.bundle.js +1 -0
- package/dist/364.df576cf78783fbda560d.bundle.js +1 -0
- package/dist/365.c1b330bbee71b66c6e7d.bundle.js +1 -0
- package/dist/366.f274b147f1fd2385edc4.bundle.js +1 -0
- package/dist/367.ccc2198ed5d2d9b56917.bundle.js +1 -0
- package/dist/368.d1bda6a51fc34a479b56.bundle.js +1 -0
- package/dist/369.feb0175b8dfd9bd143c2.bundle.js +1 -0
- package/dist/37.0a225dfd2f11c5b53ed5.bundle.js +1 -0
- package/dist/370.07d42a26f84b75cacf05.bundle.js +1 -0
- package/dist/371.5fd92bdd8f8ffb242213.bundle.js +1 -0
- package/dist/372.4a22dee44a456abedd3d.bundle.js +1 -0
- package/dist/373.ce1c01e608feb5cd354f.bundle.js +1 -0
- package/dist/374.3ae6c657ff865c4644c7.bundle.js +1 -0
- package/dist/375.a5c32971453bb62103f5.bundle.js +1 -0
- package/dist/376.1721960c5ff0e6307090.bundle.js +1 -0
- package/dist/377.17de81e958f2f38140c9.bundle.js +1 -0
- package/dist/378.e81f14ca32cdeb91b857.bundle.js +1 -0
- package/dist/379.371dd8bf3cb796582e68.bundle.js +1 -0
- package/dist/38.e4bbd711edc6129814be.bundle.js +1 -0
- package/dist/380.cbfd2023e142f3a48c34.bundle.js +1 -0
- package/dist/381.31836243f690cac41488.bundle.js +1 -0
- package/dist/382.b191c3409d24e5b84db3.bundle.js +1 -0
- package/dist/383.7d3c8474dcabceb72ad2.bundle.js +1 -0
- package/dist/384.d092675a415f87c59ebb.bundle.js +1 -0
- package/dist/385.1b48f8fd2a6c13372310.bundle.js +1 -0
- package/dist/386.f7eba8712e0146432fae.bundle.js +1 -0
- package/dist/387.f20ac43e9573d1bf2cc0.bundle.js +1 -0
- package/dist/388.dbe8b4a8d674906030c2.bundle.js +1 -0
- package/dist/389.d757e5bcb889385da864.bundle.js +1 -0
- package/dist/39.7b2fb34ede6e3eb03543.bundle.js +1 -0
- package/dist/390.fb3d315def37abb72c83.bundle.js +1 -0
- package/dist/391.e91eb0dad6c7507f1d9e.bundle.js +1 -0
- package/dist/392.08902ee038af0130a1bb.bundle.js +1 -0
- package/dist/393.ab19e87c78f15a1efa4a.bundle.js +1 -0
- package/dist/394.bd6cf8a58a6125028809.bundle.js +1 -0
- package/dist/395.679acc45f1c3ec6e8e86.bundle.js +1 -0
- package/dist/396.64e6e967b19be45aaf42.bundle.js +1 -0
- package/dist/397.fb643ad79378b15ce832.bundle.js +1 -0
- package/dist/398.86b51249d3390a580fc0.bundle.js +1 -0
- package/dist/399.313a67359a2156ac8034.bundle.js +1 -0
- package/dist/4.7869e46dd1e461d2a308.bundle.js +1 -0
- package/dist/40.12ff537a70c56a4d7db6.bundle.js +1 -0
- package/dist/400.10fd33b06610a0992944.bundle.js +1 -0
- package/dist/401.46048116cf65befbce56.bundle.js +1 -0
- package/dist/402.5fd9fff1cbe21d970ebe.bundle.js +1 -0
- package/dist/403.3841f7aaaae7caf2255f.bundle.js +1 -0
- package/dist/404.4dc9ee7188b9d2893515.bundle.js +1 -0
- package/dist/405.676926ad412a22f2fbeb.bundle.js +1 -0
- package/dist/406.fac49242989bf5bd6c3c.bundle.js +1 -0
- package/dist/407.c6e72e1d06d9a88ff0ef.bundle.js +1 -0
- package/dist/408.e4b580b91a4d2e7bae39.bundle.js +1 -0
- package/dist/409.ef1fe0a86ae00924b36f.bundle.js +1 -0
- package/dist/41.40c3d7b8512190b33ab8.bundle.js +1 -0
- package/dist/410.64c4c5bca0fd1177632a.bundle.js +1 -0
- package/dist/411.f14f388ae0c6938b2d78.bundle.js +1 -0
- package/dist/42.be35a3551bb3d2f3ea0d.bundle.js +1 -0
- package/dist/43.7f0c15d16cdac0a2da0e.bundle.js +1 -0
- package/dist/44.252d834ea9ffc35b6598.bundle.js +1 -0
- package/dist/45.c51d3862fd2d47236bc5.bundle.js +1 -0
- package/dist/46.9d389b688ec36cd263bf.bundle.js +1 -0
- package/dist/47.19dbb262272e0b7157ef.bundle.js +1 -0
- package/dist/48.eb684d0a5125b4b18d93.bundle.js +1 -0
- package/dist/49.73257e723398975ed270.bundle.js +1 -0
- package/dist/5.9a97267eba2b4178729d.bundle.js +1 -0
- package/dist/50.f5224b94dfc174541293.bundle.js +1 -0
- package/dist/51.2fc2a5a0b09cbb966ac5.bundle.js +1 -0
- package/dist/52.8a2a53097a771b3e9669.bundle.js +1 -0
- package/dist/53.482592db08b5d952a441.bundle.js +1 -0
- package/dist/54.dd9da0061488636aab94.bundle.js +2 -0
- package/dist/55.e3907bcbd21994967f06.bundle.js +1 -0
- package/dist/56.9ae2a535fe8e01907992.bundle.js +1 -0
- package/dist/57.0959ae1c799c1763d134.bundle.js +1 -0
- package/dist/58.3796144f75d9bdebed5a.bundle.js +1 -0
- package/dist/59.4be5c7e1550359c21a9f.bundle.js +1 -0
- package/dist/6.7cc41abda36b65ad5840.bundle.js +1 -0
- package/dist/60.b1461706f705563364df.bundle.js +1 -0
- package/dist/61.e42f998a53a0b7fee628.bundle.js +1 -0
- package/dist/62.f4381093d6b3e08c9f09.bundle.js +1 -0
- package/dist/63.7aae8d391a169e4e0222.bundle.js +1 -0
- package/dist/64.4ce03b3d619cbd788a73.bundle.js +1 -0
- package/dist/65.5d65a68f261af60ac82d.bundle.js +2 -0
- package/dist/66.6b2f8fb2e77bd6368832.bundle.js +1 -0
- package/dist/67.d58cfe3f39280b74aabe.bundle.js +1 -0
- package/dist/68.5c5c07ecddafaa87139a.bundle.js +1 -0
- package/dist/69.c4a95cb341a5ddff6f63.bundle.js +1 -0
- package/dist/7.5bb100322bb46a0283b5.bundle.js +1 -0
- package/dist/70.8796413c83479a2d289a.bundle.js +1 -0
- package/dist/71.300bfdede485053ff6ad.bundle.js +1 -0
- package/dist/72.a3507db36af0a119f134.bundle.js +1 -0
- package/dist/73.549bd6b48569d03fff6f.bundle.js +1 -0
- package/dist/74.2bb76c2b1fec4bf3904d.bundle.js +1 -0
- package/dist/75.4179bf924060f596b5c3.bundle.js +1 -0
- package/dist/76.1dc77d16d009a3a60dc6.bundle.js +1 -0
- package/dist/77.1fef81e5ff349d22a31e.bundle.js +1 -0
- package/dist/78.66a9b8f60dcb519e6e18.bundle.js +1 -0
- package/dist/79.6a9dac3c4299fbea231e.bundle.js +1 -0
- package/dist/8.5945491c614f0a5ebdd3.bundle.js +1 -0
- package/dist/80.c3e98de533be05d33c4e.bundle.js +2 -0
- package/dist/81.4ca4b112b1a9acda1067.bundle.js +1 -0
- package/dist/82.196dffd2af62f257a06e.bundle.js +1 -0
- package/dist/83.57f7c159d51528ed6e0f.bundle.js +1 -0
- package/dist/84.582c7b1e0e8d9560c896.bundle.js +1 -0
- package/dist/85.a5896df819bc62ed857b.bundle.js +1 -0
- package/dist/86.59cd3fc7143e513de9d8.bundle.js +1 -0
- package/dist/87.ba5b94f7848cbf41a1b0.bundle.js +1 -0
- package/dist/88.a9bf78d48bafff308c64.bundle.js +1 -0
- package/dist/89.39f3e479004eac9fe1f7.bundle.js +1 -0
- package/dist/9.0aeb629f3625bc6f0777.bundle.js +1 -0
- package/dist/90.47d51a7e5dda73f6112f.bundle.js +1 -0
- package/dist/91.8e7ab09b3702954f26de.bundle.js +1 -0
- package/dist/92.6b310a47587f1c0e73cc.bundle.js +1 -0
- package/dist/93.2f4ad7230e90ecddb840.bundle.js +1 -0
- package/dist/94.c9dff0ba2448d2a26193.bundle.js +1 -0
- package/dist/95.7bb038bae141529ed428.bundle.js +1 -0
- package/dist/96.67f668289fbf473429e8.bundle.js +1 -0
- package/dist/97.416025b95def8b73233e.bundle.js +1 -0
- package/dist/98.36c45849b797f091484c.bundle.js +1 -0
- package/dist/99.ef2db01f95590908fab6.bundle.js +1 -0
- package/dist/bundle.a7e07d5231025abafc4d.bundle.js +95 -0
- package/dist/css/bootstrap-graphdb-theme-dark-auto.css +0 -10
- package/dist/css/bootstrap-graphdb-theme.css +33 -9
- package/dist/css/cluster-nodes-configuration.css +100 -0
- package/dist/css/clustermanagement.css +146 -0
- package/dist/css/common.css +1 -0
- package/dist/css/cookie-policy.css +52 -0
- package/dist/css/find.css +1 -1
- package/dist/css/import.css +0 -17
- package/dist/css/rdf-resource-search.css +11 -4
- package/dist/css/repositories.css +17 -3
- package/dist/css/ttyg/agent-instructions-explain-modal.css +12 -0
- package/dist/css/ttyg/agent-list.css +1 -1
- package/dist/css/ttyg/agent-select-menu.css +36 -2
- package/dist/css/ttyg/agent-settings-modal.css +21 -1
- package/dist/css/ttyg/chat-item-details.css +62 -38
- package/dist/css/ttyg/chat-panel.css +83 -11
- package/dist/css/ttyg/no-agents-view.css +4 -0
- package/dist/css/ttyg/ttyg.css +27 -31
- package/dist/css/workbench-custom.css +4 -0
- package/dist/i18n/locale-en.json +266 -90
- package/dist/i18n/locale-fr.json +347 -181
- package/dist/index.html +13 -9
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-configuration.html +37 -0
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-nodes.html +15 -0
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html +86 -0
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +146 -0
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +389 -0
- package/dist/js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html +24 -19
- package/dist/js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html +64 -103
- package/dist/js/angular/clustermanagement/templates/modal/edit-cluster-nodes-modal.html +17 -0
- package/dist/js/angular/clustermanagement/templates/modal/secondary-mode-modal.html +40 -0
- 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/core/templates/cookie-policy/cookie-consent.html +9 -0
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +48 -0
- package/dist/js/angular/core/templates/modal/modal-simple.html +11 -9
- package/dist/js/angular/core/templates/modal/modal-warning.html +15 -14
- package/dist/js/angular/repositories/templates/manage-remote-location-dialog.template.html +36 -9
- package/dist/js/angular/security/templates/user.html +10 -3
- 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 +12 -15
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +21 -18
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +55 -40
- package/dist/js/angular/ttyg/templates/chat-list.html +7 -7
- package/dist/js/angular/ttyg/templates/chat-panel.html +26 -21
- package/dist/js/angular/ttyg/templates/chatInfo.html +4 -4
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +26 -0
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +83 -55
- package/dist/js/angular/ttyg/templates/no-agents-view.html +13 -7
- package/dist/js/angular/ttyg/templates/ttyg.html +25 -21
- package/dist/license-checker.json +51 -129
- package/dist/main.0e3d6114868b1818d519.bundle.js +1 -0
- package/dist/main.f6983968e07a3fb0fdd4.css +1 -0
- 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 +8 -23
- 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 +3 -3
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +5 -9
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +9 -13
- package/dist/pages/guides.html +2 -6
- package/dist/pages/import.html +7 -9
- 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 +4 -10
- package/dist/pages/login.html +1 -1
- 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/ux-test2.html +31 -0
- package/dist/pages/webapi.html +3 -7
- package/dist/plugins.js +89 -47
- package/dist/polyfills-dom.d30d58efeadc8ed60dd0.bundle.js +19 -0
- package/dist/res/swagger5/fonts/fa-sharp-regular-400.woff2 +0 -0
- package/dist/res/swagger5/index.html +12 -12
- package/dist/vendor.54210054e552a2a96fb6.css +26 -0
- package/dist/vendor.567467e33e9cfc654cb6.bundle.js +27 -0
- package/dist/vendors~polyfills-core-js.1aeb97dbe0d90dbb7983.bundle.js +1 -0
- package/package.json +2 -4
- package/dist/0.93d87420a8f6f497a752.bundle.js +0 -25
- package/dist/1.1d48970931b02943cf4a.bundle.js +0 -1
- package/dist/10.744322001f79eeeebc2f.bundle.js +0 -1
- package/dist/100.e29b5efe2fbc0bb7a5f4.bundle.js +0 -1
- package/dist/101.fe24aecb4730a999e647.bundle.js +0 -1
- package/dist/102.63518bce2a8c1c78fe7c.bundle.js +0 -1
- package/dist/103.7965a437228ca8030cf8.bundle.js +0 -1
- package/dist/104.b780c6c0242f75eab14f.bundle.js +0 -1
- package/dist/105.5dc23ad3a20b69b5c68a.bundle.js +0 -1
- package/dist/106.10f1e7151b931d781873.bundle.js +0 -1
- package/dist/107.cd7e922cc13ca484361c.bundle.js +0 -1
- package/dist/108.531a56a37c358c7eb716.bundle.js +0 -1
- package/dist/109.219fe067efe2c5c13905.bundle.js +0 -1
- package/dist/11.3cbcbb21d886fff027c5.bundle.js +0 -1
- package/dist/110.1d8dc2d3db4cc484364a.bundle.js +0 -1
- package/dist/111.7c5283968657e2ef686c.bundle.js +0 -1
- package/dist/112.bdc85f2a318f69194f55.bundle.js +0 -1
- package/dist/113.62ca17b2447622176856.bundle.js +0 -1
- package/dist/114.52f802379ffc63f04bda.bundle.js +0 -1
- package/dist/115.526878d1ad85ef966589.bundle.js +0 -1
- package/dist/116.872724459e1ffba3355f.bundle.js +0 -1
- package/dist/117.2254713ace6a2ee1b3e6.bundle.js +0 -1
- package/dist/118.475538f514784a48c496.bundle.js +0 -1
- package/dist/119.3e860b52440fb02b07b1.bundle.js +0 -1
- package/dist/12.9d7774b721e218c0d1a8.bundle.js +0 -1
- package/dist/120.d0a082faf2c1d48f3d39.bundle.js +0 -1
- package/dist/121.19e849dc6ee838e394b2.bundle.js +0 -1
- package/dist/122.83bc9c335b278ed23f7e.bundle.js +0 -1
- package/dist/123.225acf6a6b6225a0bdc7.bundle.js +0 -1
- package/dist/124.22f485a993d2d5f0c3fe.bundle.js +0 -1
- package/dist/125.a0120c9bbf263871f1f2.bundle.js +0 -1
- package/dist/126.6c6361f8a794c25f03c3.bundle.js +0 -1
- package/dist/127.9695ad415ea407a5766d.bundle.js +0 -1
- package/dist/128.efaa3c64cc680871c101.bundle.js +0 -1
- package/dist/129.6e076a0591f2535f20e7.bundle.js +0 -1
- package/dist/13.3ceee67e787b33ff65bd.bundle.js +0 -73
- package/dist/130.4d28f0d6454349513e3b.bundle.js +0 -1
- package/dist/131.1150f3770fcd7254facc.bundle.js +0 -1
- package/dist/132.5b35a91b7faf35ac5fc1.bundle.js +0 -1
- package/dist/133.2527ae61d051ccc92449.bundle.js +0 -1
- package/dist/134.c8d1a0beb2c4135bee49.bundle.js +0 -1
- package/dist/135.2412e9ff08269c7629e4.bundle.js +0 -1
- package/dist/136.dfc8598885e7413fddb2.bundle.js +0 -1
- package/dist/137.27be842f789ab617b72a.bundle.js +0 -1
- package/dist/138.3352262ff6ad4d8b1959.bundle.js +0 -1
- package/dist/139.e89c0ccc2363622ad4c7.bundle.js +0 -1
- package/dist/14.d3b8465c006f4a7ce30c.bundle.js +0 -1
- package/dist/140.0536e559a9baabc76030.bundle.js +0 -1
- package/dist/141.dfd47bb9fcc11ac8a30b.bundle.js +0 -1
- package/dist/142.1227bc64cacbe76f16d9.bundle.js +0 -1
- package/dist/143.5545959797ea89b40e59.bundle.js +0 -1
- package/dist/144.5b140731425a34cf125a.bundle.js +0 -1
- package/dist/145.28b77f4c246bdc8df93a.bundle.js +0 -1
- package/dist/146.6fef463bb43f86016d1e.bundle.js +0 -1
- package/dist/147.815687d4dbe9b1b37b18.bundle.js +0 -1
- package/dist/148.b3b5fa19ce5fa37e87a3.bundle.js +0 -1
- package/dist/149.f0176599fd805fe1c9e3.bundle.js +0 -1
- package/dist/15.8766865adcae6bca8ef1.bundle.js +0 -1
- package/dist/150.6ee46dd0446cd91c5df5.bundle.js +0 -1
- package/dist/151.fdeaee5624ebd2eb1ff6.bundle.js +0 -1
- package/dist/152.809817ae7b07996f0e13.bundle.js +0 -1
- package/dist/153.f4af131f932f79445edf.bundle.js +0 -1
- package/dist/154.3b0d779ea269d2e0f964.bundle.js +0 -1
- package/dist/155.52205389c28320f9201f.bundle.js +0 -1
- package/dist/156.c8b3277de77670d24eee.bundle.js +0 -1
- package/dist/157.261634b5278ba4c5eebf.bundle.js +0 -1
- package/dist/158.ef35149a736ccb14c53a.bundle.js +0 -1
- package/dist/159.a43b2a42dc2a88c0b99f.bundle.js +0 -1
- package/dist/16.5c0032b87470da10a81f.bundle.js +0 -2
- package/dist/160.68a3c092234acef47e77.bundle.js +0 -1
- package/dist/161.d1d70b8f86ea38c9ea5c.bundle.js +0 -1
- package/dist/162.d277865cf49b2368c9e2.bundle.js +0 -1
- package/dist/163.f8f2a84efe4ecc4f954d.bundle.js +0 -1
- package/dist/164.a90934fa38d7275dfd80.bundle.js +0 -1
- package/dist/165.d1dba76f79111f728339.bundle.js +0 -1
- package/dist/166.87f1eaff82bc80cc4b2a.bundle.js +0 -1
- package/dist/167.738f243edcf3972dd55f.bundle.js +0 -1
- package/dist/168.ce724b818621b0bf69cc.bundle.js +0 -1
- package/dist/169.3194692379d22d85fe3f.bundle.js +0 -1
- package/dist/17.73a7e201cb4694d56da8.bundle.js +0 -1
- package/dist/170.705370e83f0e3976dd91.bundle.js +0 -1
- package/dist/171.8f776b3339a02d4177f2.bundle.js +0 -1
- package/dist/172.c468ce9c646c173d5a7f.bundle.js +0 -1
- package/dist/173.50adf001265b609010d2.bundle.js +0 -1
- package/dist/174.1904d8d341c1771fd4e8.bundle.js +0 -1
- package/dist/175.2db920b9a065c1000a6b.bundle.js +0 -1
- package/dist/176.e707680bb419334004af.bundle.js +0 -1
- package/dist/177.91c01025d11dbdbd9476.bundle.js +0 -1
- package/dist/178.187817c27b17d9360b0e.bundle.js +0 -1
- package/dist/179.01f66e46cf05d51a33a6.bundle.js +0 -1
- package/dist/18.90f671cf3c97c97e5b82.bundle.js +0 -1
- package/dist/180.ca0e5f5df0a4ad862df1.bundle.js +0 -1
- package/dist/181.82e19fa38f81c6b7df94.bundle.js +0 -1
- package/dist/182.4ed09656d9dcc45924ee.bundle.js +0 -1
- package/dist/183.11c9d0e4592a5c5a2c71.bundle.js +0 -1
- package/dist/184.28e2a335ff27978d5a2a.bundle.js +0 -1
- package/dist/185.0d498f3347a0af3564e9.bundle.js +0 -1
- package/dist/186.38671edb0ea386d34b6f.bundle.js +0 -1
- package/dist/187.12693c3384e8c2c1fc65.bundle.js +0 -1
- package/dist/188.862160c1f5ebd87f09f7.bundle.js +0 -1
- package/dist/189.70422e07b43dab5dbcb6.bundle.js +0 -1
- package/dist/19.ba0c978148343715a79d.bundle.js +0 -1
- package/dist/190.80daee3e34a56cf67f9b.bundle.js +0 -1
- package/dist/191.5c22c7606d0119c6f454.bundle.js +0 -1
- package/dist/192.9b3ce93032a62d0486e8.bundle.js +0 -1
- package/dist/193.c50bf4da4b6e6eccd7a8.bundle.js +0 -1
- package/dist/194.510bceaaed6b6444c598.bundle.js +0 -1
- package/dist/195.b38c4f61b0af57e81c6b.bundle.js +0 -1
- package/dist/196.a1f2fcc36a9897095927.bundle.js +0 -1
- package/dist/197.c3c4bb58e8dfde422a21.bundle.js +0 -1
- package/dist/198.7259b2dd4193106d5448.bundle.js +0 -1
- package/dist/199.fac7a8faeddb8eb056cf.bundle.js +0 -1
- package/dist/2.5a1c3220c519d29070ff.bundle.js +0 -2
- package/dist/20.a1bdd8399a6a51a601ae.bundle.js +0 -7
- package/dist/200.12311f99b956ce538a9a.bundle.js +0 -1
- package/dist/201.343f666a1864faac9b81.bundle.js +0 -1
- package/dist/202.19bb71680d959bb69cc7.bundle.js +0 -1
- package/dist/203.58086d3f02b6be55a6fd.bundle.js +0 -1
- package/dist/204.650f7ec1f82a0abe854c.bundle.js +0 -1
- package/dist/205.73d4316aba11f69685a0.bundle.js +0 -1
- package/dist/206.87348349d08a30adfe92.bundle.js +0 -1
- package/dist/207.b4e0ed1bb40e2bcf6cf4.bundle.js +0 -1
- package/dist/208.1cb310372fd5a6561b89.bundle.js +0 -1
- package/dist/209.3363d93d2efb2258b90d.bundle.js +0 -1
- package/dist/21.8d3e63a2f5875dcfaca7.bundle.js +0 -3
- package/dist/210.e0c3298389d55519c46a.bundle.js +0 -1
- package/dist/211.2f2086dc512733f834c9.bundle.js +0 -1
- package/dist/212.024ad15951d8dd1a5785.bundle.js +0 -1
- package/dist/213.904b87fe88638fa860ae.bundle.js +0 -1
- package/dist/214.94246e747ea0f27767d3.bundle.js +0 -1
- package/dist/215.376ec9fbb7f020cba0c4.bundle.js +0 -1
- package/dist/216.73685c47844fac21340c.bundle.js +0 -1
- package/dist/217.4acdfe41f8f508c401a4.bundle.js +0 -1
- package/dist/218.23d5c5b68f6bcde4572b.bundle.js +0 -1
- package/dist/219.09dc44d1ec255159788b.bundle.js +0 -1
- package/dist/22.421d4099235c120e3bdf.bundle.js +0 -2
- package/dist/220.b38cadb9facafaff76c0.bundle.js +0 -1
- package/dist/221.84e5d84098df0f0ade09.bundle.js +0 -1
- package/dist/222.8ba561dc76b777bef340.bundle.js +0 -1
- package/dist/223.2241b4a8460e45fe6cde.bundle.js +0 -1
- package/dist/224.d91d61ce4a050ebf5574.bundle.js +0 -1
- package/dist/225.37e61008f9c558fbcb85.bundle.js +0 -1
- package/dist/226.6f7e28882ff9b5ad7cfe.bundle.js +0 -1
- package/dist/227.c66d9038f3dbf7f19446.bundle.js +0 -1
- package/dist/228.2dde53a417be761d8b08.bundle.js +0 -1
- package/dist/229.b50655ee434e21efb86e.bundle.js +0 -1
- package/dist/23.bed6c1d218c005398a3f.bundle.js +0 -2
- package/dist/230.91d03e28517c7c97f0a3.bundle.js +0 -1
- package/dist/231.07f8b07a6229b7efccf6.bundle.js +0 -1
- package/dist/232.960b33cc7ef460f08872.bundle.js +0 -1
- package/dist/233.e72cfb683e619f25968a.bundle.js +0 -1
- package/dist/234.6891f7482bb44454ac60.bundle.js +0 -1
- package/dist/235.7a5fc597d268171457c8.bundle.js +0 -1
- package/dist/236.542d9c5f42d67a030c7e.bundle.js +0 -1
- package/dist/237.fa38be2df8222e03a2ee.bundle.js +0 -1
- package/dist/238.06a024edf2fb4cf05145.bundle.js +0 -1
- package/dist/239.e68127e932877e92e455.bundle.js +0 -1
- package/dist/24.9586b091416fa3b62d76.bundle.js +0 -2
- package/dist/240.8537eba206b20c1f85b6.bundle.js +0 -1
- package/dist/241.118dca6897721042eb6a.bundle.js +0 -1
- package/dist/242.fa38e02cc0ff632a9767.bundle.js +0 -1
- package/dist/243.406933e4ff600625c87b.bundle.js +0 -1
- package/dist/244.42df15649bf6fbb6ae28.bundle.js +0 -1
- package/dist/245.0d38643706328b1baed8.bundle.js +0 -1
- package/dist/246.73d860fbadda4208c38f.bundle.js +0 -1
- package/dist/247.8229753949301befe9d7.bundle.js +0 -1
- package/dist/248.b16d2d06fefb398ef703.bundle.js +0 -1
- package/dist/249.0a068e835b94e2043bbf.bundle.js +0 -1
- package/dist/25.4283e906c915f232dd2f.bundle.js +0 -3
- package/dist/250.2254d9c1c0e8a5beed71.bundle.js +0 -1
- package/dist/251.20f348c03876fd5f35f4.bundle.js +0 -1
- package/dist/252.f011e1d343e4a00c142c.bundle.js +0 -1
- package/dist/253.49400a681a73c49477aa.bundle.js +0 -1
- package/dist/254.dc60f2f2f4f144b671e4.bundle.js +0 -1
- package/dist/255.a324feec76f0b7246b0f.bundle.js +0 -1
- package/dist/256.ab2a628ebde4359d0673.bundle.js +0 -1
- package/dist/257.36b881ac4bcf848e28f6.bundle.js +0 -1
- package/dist/258.8321c950b90a8f15b0a6.bundle.js +0 -1
- package/dist/259.b00cb1b126cf8d458c67.bundle.js +0 -1
- package/dist/26.73c69a12be6239cf9566.bundle.js +0 -2
- package/dist/260.d03fa5b869b733bea327.bundle.js +0 -1
- package/dist/261.67a700b678c8033328fe.bundle.js +0 -1
- package/dist/262.98b498dab7614d027278.bundle.js +0 -1
- package/dist/263.16a41a007b4a7e5ebb22.bundle.js +0 -1
- package/dist/264.470339e4a94ddbb274d4.bundle.js +0 -1
- package/dist/265.990fa5974f1cf58a374b.bundle.js +0 -1
- package/dist/266.5f39042b3bf4743d8edf.bundle.js +0 -1
- package/dist/267.9ce9c7bb96ffd9d671b9.bundle.js +0 -1
- package/dist/268.5589bbc57e2ebb420a1f.bundle.js +0 -1
- package/dist/269.288caed26aff5b00f6d9.bundle.js +0 -1
- package/dist/27.b0d33a93fa7077e40ff6.bundle.js +0 -1
- package/dist/270.e9ffa72d075b6a58ce94.bundle.js +0 -1
- package/dist/271.5e24cf3832610585483f.bundle.js +0 -1
- package/dist/272.454bbf7ef91181f534c5.bundle.js +0 -1
- package/dist/273.9b038599a001d5ac1f31.bundle.js +0 -1
- package/dist/274.a95f19ff813366a5ef87.bundle.js +0 -1
- package/dist/275.364f5b07c2f8474949c0.bundle.js +0 -1
- package/dist/276.8669778e0f02fbaf1359.bundle.js +0 -1
- package/dist/277.d6bcae3d265394d526b3.bundle.js +0 -1
- package/dist/278.4b72240c92be90867667.bundle.js +0 -1
- package/dist/279.30543bcc71ca936d4340.bundle.js +0 -1
- package/dist/28.5d0ce77be09856232b24.bundle.js +0 -1
- package/dist/280.d348199223ecf9cecd79.bundle.js +0 -1
- package/dist/281.8aece5d8599fff8d14ca.bundle.js +0 -1
- package/dist/282.5d37a44da02faf0fb797.bundle.js +0 -1
- package/dist/283.b340a561c1afa4b3f297.bundle.js +0 -1
- package/dist/284.cbb69a27e9bcded6ba2b.bundle.js +0 -1
- package/dist/285.b30a4a122f6c27de6103.bundle.js +0 -1
- package/dist/286.f6c62a90e755adc06762.bundle.js +0 -1
- package/dist/287.8bb14bbe169e89e1b2b6.bundle.js +0 -1
- package/dist/288.9345bf900149ec91ab59.bundle.js +0 -1
- package/dist/289.b2b24ddffb097ca701c0.bundle.js +0 -1
- package/dist/29.c5ac5a3feca4eaa518a7.bundle.js +0 -1
- package/dist/290.2ea84ef2ad86f1c2d863.bundle.js +0 -1
- package/dist/291.4d040a1e236e406aa1de.bundle.js +0 -1
- package/dist/292.2a9f08229b90a0427504.bundle.js +0 -1
- package/dist/293.df46d21552d860c45398.bundle.js +0 -1
- package/dist/294.bdc65413d8e7bcfd697d.bundle.js +0 -1
- package/dist/295.a114ad1b8a636323e5d8.bundle.js +0 -1
- package/dist/296.707abfe8b4d18d3198e2.bundle.js +0 -1
- package/dist/297.b000b9d469a624b01215.bundle.js +0 -1
- package/dist/298.9d114949fba6dddcc7b7.bundle.js +0 -1
- package/dist/299.79c639fcb1b54de984be.bundle.js +0 -1
- package/dist/3.72e3071998a5aa3045f3.bundle.js +0 -8
- package/dist/30.de7e273062d0657d01de.bundle.js +0 -1
- package/dist/300.7afa3a8aa332b422aa1d.bundle.js +0 -1
- package/dist/301.f91cc8bea08c5db19eff.bundle.js +0 -1
- package/dist/302.7445c9a4e8af056b8cc4.bundle.js +0 -1
- package/dist/303.9fdacf8b8c443f7b8217.bundle.js +0 -1
- package/dist/304.602469b7a9fec89b3555.bundle.js +0 -1
- package/dist/305.7dd9df0bedade69bbd5e.bundle.js +0 -1
- package/dist/306.e8f7a45e7fe6afa1a564.bundle.js +0 -1
- package/dist/307.7f35f097388d622dd09c.bundle.js +0 -1
- package/dist/308.ac64f16ed6c9f65b08f1.bundle.js +0 -1
- package/dist/309.2e406070cb5adf9c2a2e.bundle.js +0 -1
- package/dist/31.8b63905275172e3ce73c.bundle.js +0 -1
- package/dist/310.4ed15bd416516b6086a3.bundle.js +0 -1
- package/dist/311.c07b7d2776bd9b7204c6.bundle.js +0 -1
- package/dist/317.539a83f222bfb863424b.bundle.js +0 -1
- package/dist/318.50a10e61b351659669a1.bundle.js +0 -1
- package/dist/319.07b537f2e1fa45daae36.bundle.js +0 -1
- package/dist/32.a21378622614124fc023.bundle.js +0 -1
- package/dist/320.87c72b25fd048e43fd12.bundle.js +0 -1
- package/dist/321.af2e33bfd4a89e90a3b7.bundle.js +0 -1
- package/dist/322.178da090de958969ee95.bundle.js +0 -1
- package/dist/323.88dfb6b03490c60b427e.bundle.js +0 -1
- package/dist/324.cff9069709afaa207cbf.bundle.js +0 -1
- package/dist/325.0cec7cb7809cfb51b811.bundle.js +0 -1
- package/dist/326.1e041209f2856388aefb.bundle.js +0 -1
- package/dist/327.9aa83c9626391fdccd0a.bundle.js +0 -1
- package/dist/328.d3b9ec522db9ea2b40e7.bundle.js +0 -1
- package/dist/329.76a8c31d1416ff070581.bundle.js +0 -1
- package/dist/33.4d10c139640859c6facb.bundle.js +0 -1
- package/dist/330.17d9fc7092fbb5376ad5.bundle.js +0 -1
- package/dist/331.72550834ebd98825cff4.bundle.js +0 -1
- package/dist/332.baa17fb5d46d9f500d58.bundle.js +0 -1
- package/dist/333.8473d9d0e59977006ec1.bundle.js +0 -1
- package/dist/334.63e62f07e83fb55ee3ac.bundle.js +0 -1
- package/dist/335.b455d0c1e91b7085684b.bundle.js +0 -1
- package/dist/336.2593a403d137da998ab7.bundle.js +0 -1
- package/dist/337.207acb52f033fcbcc14e.bundle.js +0 -1
- package/dist/338.bd56ea9f343686e8ddfa.bundle.js +0 -1
- package/dist/339.808f22c90c9535d7d056.bundle.js +0 -1
- package/dist/34.dfde4d36337fd5a7d51a.bundle.js +0 -1
- package/dist/340.427f24f1ff7800e051a6.bundle.js +0 -1
- package/dist/341.7458c41fa14d5855fed9.bundle.js +0 -1
- package/dist/342.baf0064845e5a02f2fa2.bundle.js +0 -1
- package/dist/343.9264ef42da1a81dc01e2.bundle.js +0 -1
- package/dist/344.ea07eff4352299e91792.bundle.js +0 -1
- package/dist/345.c1f98fd181cfc058a674.bundle.js +0 -1
- package/dist/346.e18d15a0d654f7020267.bundle.js +0 -1
- package/dist/347.5ae52ad022076cebc98b.bundle.js +0 -1
- package/dist/348.e384c1330c6c02a8cbce.bundle.js +0 -1
- package/dist/349.ffe280435cb5b4dbc32f.bundle.js +0 -1
- package/dist/35.c2b997ef90bbf4667fcd.bundle.js +0 -1
- package/dist/350.4fe2b334b61ab206a887.bundle.js +0 -1
- package/dist/351.238886e694cddbce7a5b.bundle.js +0 -1
- package/dist/352.bee54a3fd5eb57170ab5.bundle.js +0 -1
- package/dist/353.f2971cb75c24a461587e.bundle.js +0 -1
- package/dist/354.d6ecf14ab2e6a10c974f.bundle.js +0 -1
- package/dist/355.980c02b324dad42b864e.bundle.js +0 -1
- package/dist/356.0c0cb87286734584dd0f.bundle.js +0 -1
- package/dist/357.57fc6817eb60156ecff9.bundle.js +0 -1
- package/dist/358.00fbdcb2fbcfa30eb71a.bundle.js +0 -1
- package/dist/359.4aca3f259a23b5038ca5.bundle.js +0 -1
- package/dist/36.9175ff19c49b4e32c6ce.bundle.js +0 -1
- package/dist/360.0e250b26c1ab9613559a.bundle.js +0 -1
- package/dist/361.0d2df26c4f7cd4aa9736.bundle.js +0 -1
- package/dist/362.34cc651b36ad9d19ca36.bundle.js +0 -1
- package/dist/363.1d19f99bf6a7aaf28776.bundle.js +0 -1
- package/dist/364.5682c86fb09af3fdbb32.bundle.js +0 -1
- package/dist/365.920400a2703b5ae19133.bundle.js +0 -1
- package/dist/366.9b618919ae47b957f3a3.bundle.js +0 -1
- package/dist/367.6c5ee2773a79a50e226e.bundle.js +0 -1
- package/dist/368.bc2b4971ab9f3094004d.bundle.js +0 -1
- package/dist/369.d60e61d8b761876b6a31.bundle.js +0 -1
- package/dist/37.eb67d499239c4763932f.bundle.js +0 -1
- package/dist/370.4fb6df487083484497fe.bundle.js +0 -1
- package/dist/371.b1d4d0c1890966e34395.bundle.js +0 -1
- package/dist/372.af48f00db28f03bc45bc.bundle.js +0 -1
- package/dist/373.b3932d31b9ee77c20097.bundle.js +0 -1
- package/dist/374.dd3c6e969a4e504826d0.bundle.js +0 -1
- package/dist/375.ba9408df2ede9e451a2e.bundle.js +0 -1
- package/dist/376.f6b57ce0f97aabdc675c.bundle.js +0 -1
- package/dist/377.bee6a6edc6750a23a3d3.bundle.js +0 -1
- package/dist/378.612178aa3dae146a8871.bundle.js +0 -1
- package/dist/379.a27466e91e0efd164ce0.bundle.js +0 -1
- package/dist/38.9762682c14dd82db8f90.bundle.js +0 -1
- package/dist/380.82c22d1d8a846226b974.bundle.js +0 -1
- package/dist/381.48f54c2f85df19f2aa85.bundle.js +0 -1
- package/dist/382.e0b470b574035bee27d4.bundle.js +0 -1
- package/dist/383.3e806a60df03bac9c821.bundle.js +0 -1
- package/dist/384.18bd7d8fe60814e473c6.bundle.js +0 -1
- package/dist/385.8580c2280d17a66f49c5.bundle.js +0 -1
- package/dist/386.1c032e92f5d20915527d.bundle.js +0 -1
- package/dist/387.4db8d808a82bb7523f33.bundle.js +0 -1
- package/dist/388.f8aac673dc45a5445e93.bundle.js +0 -1
- package/dist/389.2b8ec720c6e833befc74.bundle.js +0 -1
- package/dist/39.cc2eab1715e30f1dad71.bundle.js +0 -1
- package/dist/390.86edacf0ea98943071af.bundle.js +0 -1
- package/dist/391.6427098b78a42177c068.bundle.js +0 -1
- package/dist/392.8eaa08b34afb9d3c3792.bundle.js +0 -1
- package/dist/393.e58b899fa345dee02ac6.bundle.js +0 -1
- package/dist/394.ae0420fcabd869157187.bundle.js +0 -1
- package/dist/4.7b26ae3c486b50349043.bundle.js +0 -1
- package/dist/40.ac2205773eaafdbb3563.bundle.js +0 -1
- package/dist/41.6cda4247c4e6cdb6542a.bundle.js +0 -1
- package/dist/42.5820b0041a692de4eb8d.bundle.js +0 -1
- package/dist/43.afeb12fc559f12e973db.bundle.js +0 -1
- package/dist/44.f0901e0abe43ea7a898e.bundle.js +0 -1
- package/dist/45.27168510290727e3ecdb.bundle.js +0 -1
- package/dist/46.195e4e42ab64d2430ed5.bundle.js +0 -1
- package/dist/47.c85867c005fc8903a887.bundle.js +0 -1
- package/dist/48.d5ea8f391640308bbcd8.bundle.js +0 -1
- package/dist/49.583b0583a80750253c19.bundle.js +0 -1
- package/dist/5.7b6b14d384cc99866f24.bundle.js +0 -1
- package/dist/50.6ec1bafbdd1414e0002d.bundle.js +0 -1
- package/dist/51.bfd314f2bba3c733d2e7.bundle.js +0 -2
- package/dist/52.575b7f0607c0bd7d8f35.bundle.js +0 -1
- package/dist/53.4a87b3dcd191cb319ecf.bundle.js +0 -1
- package/dist/54.fce153121f81edaaf8c9.bundle.js +0 -1
- package/dist/55.d8f0848f95d1dc1224d0.bundle.js +0 -1
- package/dist/56.3d223ff6a7027aaf4222.bundle.js +0 -1
- package/dist/57.841a76b910f4aeb6d346.bundle.js +0 -1
- package/dist/58.297babf6b2bff44c12d9.bundle.js +0 -1
- package/dist/59.b110322dea862519c3da.bundle.js +0 -1
- package/dist/6.357ec507621869997c53.bundle.js +0 -1
- package/dist/60.89030184a19b4a046323.bundle.js +0 -1
- package/dist/61.36612101e6a37e466063.bundle.js +0 -1
- package/dist/62.4a16f37fba9dde1353ad.bundle.js +0 -1
- package/dist/63.2f52b8251ea20e7114e4.bundle.js +0 -2
- package/dist/64.fc4b203d6801e8b2cb03.bundle.js +0 -1
- package/dist/65.bd90f480aaac8ab6a62d.bundle.js +0 -1
- package/dist/66.a0165643326bf0fd6e45.bundle.js +0 -1
- package/dist/67.d8ecb3b1cd08f4014bfb.bundle.js +0 -1
- package/dist/68.aff4a20f5bc96a1419ee.bundle.js +0 -1
- package/dist/69.5a4556693688fa5e26e0.bundle.js +0 -1
- package/dist/7.678a56ac42543ff54f0f.bundle.js +0 -1
- package/dist/70.a0f8034299faa2f6ab75.bundle.js +0 -1
- package/dist/71.cbb57dfb91a6a2e106af.bundle.js +0 -1
- package/dist/72.24a71af9fe0d66223c95.bundle.js +0 -1
- package/dist/73.0401dbcda81badc90b10.bundle.js +0 -1
- package/dist/74.4e59c7982d0dad1714e7.bundle.js +0 -1
- package/dist/75.55b2254ad7d4ceed8959.bundle.js +0 -1
- package/dist/76.ed7b48a3cc473945ccba.bundle.js +0 -1
- package/dist/77.f74d7b9c7522c9427b39.bundle.js +0 -1
- package/dist/78.0516889e88c7a0af33bb.bundle.js +0 -2
- package/dist/79.58c2a93aae41ce74fab8.bundle.js +0 -1
- package/dist/8.81d8b3bb065afeb08360.bundle.js +0 -1
- package/dist/80.5e8dae199ab50de40921.bundle.js +0 -1
- package/dist/81.ffdf6bc5232d8a241ad6.bundle.js +0 -1
- package/dist/82.9eb734602aec23f83632.bundle.js +0 -1
- package/dist/83.725028846ee253436a03.bundle.js +0 -1
- package/dist/84.032d2e2a4130d57bdb8b.bundle.js +0 -1
- package/dist/85.eedc74a4c0c7e98a5e30.bundle.js +0 -1
- package/dist/86.c85fcd75cbecaef0e936.bundle.js +0 -1
- package/dist/87.59863379688b54dccfaa.bundle.js +0 -1
- package/dist/88.4ef4cce091ae21c6140d.bundle.js +0 -1
- package/dist/89.6820e4fc3caf6707d43c.bundle.js +0 -1
- package/dist/9.1a9f6211a9f06c9ba0df.bundle.js +0 -1
- package/dist/90.ae10f084b83fd0fd29b4.bundle.js +0 -1
- package/dist/91.b845def1c3068aa07148.bundle.js +0 -1
- package/dist/92.4d8f669441b95a34ec48.bundle.js +0 -1
- package/dist/93.b42cb51b73c930deebfd.bundle.js +0 -1
- package/dist/94.00cbe462754df578a9ca.bundle.js +0 -1
- package/dist/95.2a9f51caabb7640acbc9.bundle.js +0 -1
- package/dist/96.eb73b3aec448bb3e44bc.bundle.js +0 -1
- package/dist/97.52921d26adcb097f4fa9.bundle.js +0 -1
- package/dist/98.e7ce23f2e26626e8e422.bundle.js +0 -1
- package/dist/99.ea41a6b2ea895615b2fb.bundle.js +0 -1
- package/dist/bundle.a50b4410f74f90e68cca.bundle.js +0 -95
- package/dist/font/font-awesome/4.3.0/css/font-awesome.css +0 -2337
- package/dist/font/font-awesome/4.3.0/css/font-awesome.css.map +0 -7
- package/dist/font/font-awesome/4.3.0/css/font-awesome.min.css +0 -4
- package/dist/font/font-awesome/4.3.0/fonts/FontAwesome.otf +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.eot +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.svg +0 -2671
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.woff +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/font/fontawesome-webfont.674f50d287a8c48dc19ba404d20fe713.eot +0 -0
- package/dist/img/fontawesome-webfont.912ec66d7572ff821749319396470bde.svg +0 -2671
- package/dist/js/angular/clustermanagement/templates/cluster-configuration.html +0 -89
- package/dist/js/angular/clustermanagement/templates/modal/add-nodes-dialog.html +0 -67
- package/dist/js/angular/clustermanagement/templates/modal/cluster-create-dialog.html +0 -173
- package/dist/js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html +0 -39
- package/dist/js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html +0 -86
- package/dist/js/angular/ttyg/templates/chat1.html +0 -113
- package/dist/js/angular/ttyg/templates/modal/settings.html +0 -61
- package/dist/main.014ea04a26eb617c4024.bundle.js +0 -1
- package/dist/main.da1e35265d3539b9c0e3.css +0 -1
- package/dist/polyfills-dom.22135bdcc72573088982.bundle.js +0 -19
- package/dist/res/swagger5/fonts/fontawesome-webfont.woff +0 -0
- package/dist/res/swagger5/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/vendor.0dbd09f6d69e78b19728.css +0 -25
- package/dist/vendor.8ea54fa36da2ce4394ca.bundle.js +0 -27
- package/dist/vendors~polyfills-core-js.c4633b3e70914563160a.bundle.js +0 -1
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{504:function(e,t,n){"use strict";const o={};e.exports=o,o.isArray=Array.isArray,o.isBoolean=e=>"boolean"==typeof e||"[object Boolean]"===Object.prototype.toString.call(e),o.isDouble=e=>o.isNumber(e)&&(-1!==String(e).indexOf(".")||Math.abs(e)>=1e21),o.isEmptyObject=e=>o.isObject(e)&&0===Object.keys(e).length,o.isNumber=e=>"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e),o.isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),o.isObject=e=>"[object Object]"===Object.prototype.toString.call(e),o.isString=e=>"string"==typeof e||"[object String]"===Object.prototype.toString.call(e),o.isUndefined=e=>void 0===e},506:function(e,t,n){"use strict";const o=n(514),r=n(504),i=n(565).IdentifierIssuer,a=n(507),s=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,l=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,c=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,d={accept:"application/ld+json, application/json"},u={};e.exports=u,u.IdentifierIssuer=i,u.REGEX_BCP47=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,u.REGEX_KEYWORD=/^@[a-zA-Z]+$/,u.clone=function(e){if(e&&"object"==typeof e){let t;if(r.isArray(e)){t=[];for(let n=0;n<e.length;++n)t[n]=u.clone(e[n])}else if(e instanceof Map){t=new Map;for(const[n,o]of e)t.set(n,u.clone(o))}else if(e instanceof Set){t=new Set;for(const n of e)t.add(u.clone(n))}else if(r.isObject(e)){t={};for(const n in e)t[n]=u.clone(e[n])}else t=e.toString();return t}return e},u.asArray=function(e){return Array.isArray(e)?e:[e]},u.buildHeaders=(e={})=>{if(Object.keys(e).some(e=>"accept"===e.toLowerCase()))throw new RangeError('Accept header may not be specified; only "'+d.accept+'" is supported.');return Object.assign({Accept:d.accept},e)},u.parseLinkHeader=e=>{const t={},n=e.match(s);for(let e=0;e<n.length;++e){let o=n[e].match(l);if(!o)continue;const r={target:o[1]},i=o[2];for(;o=c.exec(i);)r[o[1]]=void 0===o[2]?o[3]:o[2];const a=r.rel||"";Array.isArray(t[a])?t[a].push(r):t.hasOwnProperty(a)?t[a]=[t[a],r]:t[a]=r}return t},u.validateTypeValue=(e,t)=>{if(!(r.isString(e)||r.isArray(e)&&e.every(e=>r.isString(e)))){if(t&&r.isObject(e))switch(Object.keys(e).length){case 0:return;case 1:if("@default"in e&&u.asArray(e["@default"]).every(e=>r.isString(e)))return}throw new a('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:e})}},u.hasProperty=(e,t)=>{if(e.hasOwnProperty(t)){const n=e[t];return!r.isArray(n)||n.length>0}return!1},u.hasValue=(e,t,n)=>{if(u.hasProperty(e,t)){let i=e[t];const a=o.isList(i);if(r.isArray(i)||a){a&&(i=i["@list"]);for(let e=0;e<i.length;++e)if(u.compareValues(n,i[e]))return!0}else if(!r.isArray(n))return u.compareValues(n,i)}return!1},u.addValue=(e,t,n,o)=>{if("propertyIsArray"in(o=o||{})||(o.propertyIsArray=!1),"valueIsArray"in o||(o.valueIsArray=!1),"allowDuplicate"in o||(o.allowDuplicate=!0),"prependValue"in o||(o.prependValue=!1),o.valueIsArray)e[t]=n;else if(r.isArray(n)){0===n.length&&o.propertyIsArray&&!e.hasOwnProperty(t)&&(e[t]=[]),o.prependValue&&(n=n.concat(e[t]),e[t]=[]);for(let r=0;r<n.length;++r)u.addValue(e,t,n[r],o)}else if(e.hasOwnProperty(t)){const i=!o.allowDuplicate&&u.hasValue(e,t,n);r.isArray(e[t])||i&&!o.propertyIsArray||(e[t]=[e[t]]),i||(o.prependValue?e[t].unshift(n):e[t].push(n))}else e[t]=o.propertyIsArray?[n]:n},u.getValues=(e,t)=>[].concat(e[t]||[]),u.removeProperty=(e,t)=>{delete e[t]},u.removeValue=(e,t,n,o)=>{"propertyIsArray"in(o=o||{})||(o.propertyIsArray=!1);const r=u.getValues(e,t).filter(e=>!u.compareValues(e,n));0===r.length?u.removeProperty(e,t):1!==r.length||o.propertyIsArray?e[t]=r:e[t]=r[0]},u.relabelBlankNodes=(e,t)=>function e(t,n){if(r.isArray(n))for(let o=0;o<n.length;++o)n[o]=e(t,n[o]);else if(o.isList(n))n["@list"]=e(t,n["@list"]);else if(r.isObject(n)){o.isBlankNode(n)&&(n["@id"]=t.getId(n["@id"]));const r=Object.keys(n).sort();for(let o=0;o<r.length;++o){const i=r[o];"@id"!==i&&(n[i]=e(t,n[i]))}}return n}((t=t||{}).issuer||new i("_:b"),e),u.compareValues=(e,t)=>e===t||(!(!o.isValue(e)||!o.isValue(t)||e["@value"]!==t["@value"]||e["@type"]!==t["@type"]||e["@language"]!==t["@language"]||e["@index"]!==t["@index"])||!!(r.isObject(e)&&"@id"in e&&r.isObject(t)&&"@id"in t)&&e["@id"]===t["@id"]),u.compareShortestLeast=(e,t)=>e.length<t.length?-1:t.length<e.length?1:e===t?0:e<t?-1:1},507:function(e,t,n){"use strict";e.exports=class extends Error{constructor(e="An unspecified JSON-LD error occurred.",t="jsonld.Error",n={}){super(e),this.name=t,this.message=e,this.details=n}}},514:function(e,t,n){"use strict";const o=n(504),r={};e.exports=r,r.isSubject=e=>{if(o.isObject(e)&&!("@value"in e||"@set"in e||"@list"in e)){return Object.keys(e).length>1||!("@id"in e)}return!1},r.isSubjectReference=e=>o.isObject(e)&&1===Object.keys(e).length&&"@id"in e,r.isValue=e=>o.isObject(e)&&"@value"in e,r.isList=e=>o.isObject(e)&&"@list"in e,r.isGraph=e=>o.isObject(e)&&"@graph"in e&&1===Object.keys(e).filter(e=>"@id"!==e&&"@index"!==e).length,r.isSimpleGraph=e=>r.isGraph(e)&&!("@id"in e),r.isBlankNode=e=>{if(o.isObject(e)){if("@id"in e){const t=e["@id"];return!o.isString(t)||0===t.indexOf("_:")}return 0===Object.keys(e).length||!("@value"in e||"@set"in e||"@list"in e)}return!1}},516:function(e,t,n){"use strict";const o=n(504),r={};e.exports=r,r.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([a-zA-Z][a-zA-Z0-9+-.]*):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}},r.parse=(e,t)=>{const n={},o=r.parsers[t||"full"],i=o.regex.exec(e);let a=o.keys.length;for(;a--;)n[o.keys[a]]=void 0===i[a]?null:i[a];return("https"===n.scheme&&"443"===n.port||"http"===n.scheme&&"80"===n.port)&&(n.href=n.href.replace(":"+n.port,""),n.authority=n.authority.replace(":"+n.port,""),n.port=null),n.normalizedPath=r.removeDotSegments(n.path),n},r.prependBase=(e,t)=>{if(null===e)return t;if(r.isAbsolute(t))return t;e&&!o.isString(e)||(e=r.parse(e||""));const n=r.parse(t),i={protocol:e.protocol||""};if(null!==n.authority)i.authority=n.authority,i.path=n.path,i.query=n.query;else if(i.authority=e.authority,""===n.path)i.path=e.path,null!==n.query?i.query=n.query:i.query=e.query;else{if(0===n.path.indexOf("/"))i.path=n.path;else{let t=e.path;t=t.substr(0,t.lastIndexOf("/")+1),(t.length>0||e.authority)&&"/"!==t.substr(-1)&&(t+="/"),t+=n.path,i.path=t}i.query=n.query}""!==n.path&&(i.path=r.removeDotSegments(i.path));let a=i.protocol;return null!==i.authority&&(a+="//"+i.authority),a+=i.path,null!==i.query&&(a+="?"+i.query),null!==n.fragment&&(a+="#"+n.fragment),""===a&&(a="./"),a},r.removeBase=(e,t)=>{if(null===e)return t;e&&!o.isString(e)||(e=r.parse(e||""));let n="";if(""!==e.href?n+=(e.protocol||"")+"//"+(e.authority||""):t.indexOf("//")&&(n+="//"),0!==t.indexOf(n))return t;const i=r.parse(t.substr(n.length)),a=e.normalizedPath.split("/"),s=i.normalizedPath.split("/"),l=i.fragment||i.query?0:1;for(;a.length>0&&s.length>l&&a[0]===s[0];)a.shift(),s.shift();let c="";if(a.length>0){a.pop();for(let e=0;e<a.length;++e)c+="../"}return c+=s.join("/"),null!==i.query&&(c+="?"+i.query),null!==i.fragment&&(c+="#"+i.fragment),""===c&&(c="./"),c},r.removeDotSegments=e=>{if(0===e.length)return"";const t=e.split("/"),n=[];for(;t.length>0;){const e=t.shift(),o=0===t.length;"."!==e?".."!==e?n.push(e):(n.pop(),o&&n.push("")):o&&n.push("")}return"/"===e[0]&&n.length>0&&""!==n[0]&&n.unshift(""),1===n.length&&""===n[0]?"/":n.join("/")};const i=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;r.isAbsolute=e=>o.isString(e)&&i.test(e),r.isRelative=e=>o.isString(e)},521:function(e,t,n){"use strict";const o=n(506),r=n(507),{isArray:i,isObject:a,isString:s,isUndefined:l}=n(504),{isAbsolute:c,isRelative:d,prependBase:u}=n(516),{handleEvent:p}=n(533),{REGEX_BCP47:f,REGEX_KEYWORD:h,asArray:v,compareShortestLeast:g}=n(506),y=new Map,m={};function x(e,t,n,o,r,i){if(null===t||!s(t)||m.isKeyword(t))return t;if(t.match(h))return null;if(o&&o.hasOwnProperty(t)&&!0!==r.get(t)&&m.createTermDefinition({activeCtx:e,localCtx:o,term:t,defined:r,options:i}),(n=n||{}).vocab){const n=e.mappings.get(t);if(null===n)return null;if(a(n)&&"@id"in n)return n["@id"]}const l=t.indexOf(":");if(l>0){const n=t.substr(0,l),a=t.substr(l+1);if("_"===n||0===a.indexOf("//"))return t;o&&o.hasOwnProperty(n)&&m.createTermDefinition({activeCtx:e,localCtx:o,term:n,defined:r,options:i});const s=e.mappings.get(n);if(s&&s._prefix)return s["@id"]+a;if(c(t))return t}if(n.vocab&&"@vocab"in e){t=e["@vocab"]+t}else if(n.base){let n,o;"@base"in e?e["@base"]?(o=u(i.base,e["@base"]),n=u(o,t)):(o=e["@base"],n=t):(o=i.base,n=u(i.base,t)),t=n}return t}e.exports=m,m.process=async({activeCtx:e,localCtx:t,options:n,propagate:o=!0,overrideProtected:l=!1,cycles:h=new Set})=>{a(t)&&"@context"in t&&i(t["@context"])&&(t=t["@context"]);if(0===v(t).length)return e;const g=[],y=[({event:e,next:t})=>{g.push(e),t()}];n.eventHandler&&y.push(n.eventHandler);const b=n;n={...n,eventHandler:y};const w=await n.contextResolver.resolve({activeCtx:e,context:t,documentLoader:n.documentLoader,base:n.base});a(w[0].document)&&"boolean"==typeof w[0].document["@propagate"]&&(o=w[0].document["@propagate"]);let j=e;o||j.previousContext||(j=j.clone(),j.previousContext=e);for(const o of w){let{document:i}=o;if(e=j,null===i){if(!l&&0!==Object.keys(e.protected).length)throw new r("Tried to nullify a context with protected terms outside of a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"});j=e=m.getInitialContext(n).clone();continue}const v=o.getProcessed(e);if(v){if(b.eventHandler)for(const e of v.events)p({event:e,options:b});j=e=v.context;continue}if(a(i)&&"@context"in i&&(i=i["@context"]),!a(i))throw new r("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:i});j=j.clone();const y=new Map;if("@version"in i){if(1.1!==i["@version"])throw new r("Unsupported JSON-LD version: "+i["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:i});if(e.processingMode&&"json-ld-1.0"===e.processingMode)throw new r("@version: "+i["@version"]+" not compatible with "+e.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:i});j.processingMode="json-ld-1.1",j["@version"]=i["@version"],y.set("@version",!0)}if(j.processingMode=j.processingMode||e.processingMode,"@base"in i){let e=i["@base"];if(null===e||c(e));else{if(!d(e))throw new r('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI, a relative IRI, or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:i});e=u(j["@base"],e)}j["@base"]=e,y.set("@base",!0)}if("@vocab"in i){const e=i["@vocab"];if(null===e)delete j["@vocab"];else{if(!s(e))throw new r('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:i});if(!c(e)&&m.processingMode(j,1))throw new r('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:i});{const t=x(j,e,{vocab:!0,base:!0},void 0,void 0,n);c(t)||n.eventHandler&&p({event:{type:["JsonLdEvent"],code:"relative @vocab reference",level:"warning",message:"Relative @vocab reference found.",details:{vocab:t}},options:n}),j["@vocab"]=t}}y.set("@vocab",!0)}if("@language"in i){const e=i["@language"];if(null===e)delete j["@language"];else{if(!s(e))throw new r('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:i});e.match(f)||n.eventHandler&&p({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e}},options:n}),j["@language"]=e.toLowerCase()}y.set("@language",!0)}if("@direction"in i){const t=i["@direction"];if("json-ld-1.0"===e.processingMode)throw new r("Invalid JSON-LD syntax; @direction not compatible with "+e.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:i});if(null===t)delete j["@direction"];else{if("ltr"!==t&&"rtl"!==t)throw new r('Invalid JSON-LD syntax; the value of "@direction" in a @context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:i});j["@direction"]=t}y.set("@direction",!0)}if("@propagate"in i){const n=i["@propagate"];if("json-ld-1.0"===e.processingMode)throw new r("Invalid JSON-LD syntax; @propagate not compatible with "+e.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:i});if("boolean"!=typeof n)throw new r("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:t});y.set("@propagate",!0)}if("@import"in i){const o=i["@import"];if("json-ld-1.0"===e.processingMode)throw new r("Invalid JSON-LD syntax; @import not compatible with "+e.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:i});if(!s(o))throw new r("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:t});const a=await n.contextResolver.resolve({activeCtx:e,context:o,documentLoader:n.documentLoader,base:n.base});if(1!==a.length)throw new r("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:t});const l=a[0].getProcessed(e);if(l)i=l;else{const n=a[0].document;if("@import"in n)throw new r("Invalid JSON-LD syntax: imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:t});for(const e in n)i.hasOwnProperty(e)||(i[e]=n[e]);a[0].setProcessed(e,i)}y.set("@import",!0)}y.set("@protected",i["@protected"]||!1);for(const e in i)if(m.createTermDefinition({activeCtx:j,localCtx:i,term:e,defined:y,options:n,overrideProtected:l}),a(i[e])&&"@context"in i[e]){const t=i[e]["@context"];let o=!0;if(s(t)){const e=u(n.base,t);h.has(e)?o=!1:h.add(e)}if(o)try{await m.process({activeCtx:j.clone(),localCtx:i[e]["@context"],overrideProtected:!0,options:n,cycles:h})}catch(t){throw new r("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:i[e]["@context"],term:e})}}o.setProcessed(e,{context:j,events:g})}return j},m.createTermDefinition=({activeCtx:e,localCtx:t,term:n,defined:o,options:l,overrideProtected:d=!1})=>{if(o.has(n)){if(o.get(n))return;throw new r("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:t,term:n})}let u;if(o.set(n,!1),t.hasOwnProperty(n)&&(u=t[n]),"@type"===n&&a(u)&&"@set"===(u["@container"]||"@set")&&m.processingMode(e,1.1)){const e=["@container","@id","@protected"],o=Object.keys(u);if(0===o.length||o.some(t=>!e.includes(t)))throw new r("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:t,term:n})}else{if(m.isKeyword(n))throw new r("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:t,term:n});if(n.match(h))return void(l.eventHandler&&p({event:{type:["JsonLdEvent"],code:"reserved term",level:"warning",message:'Terms beginning with "@" are reserved for future use and dropped.',details:{term:n}},options:l}));if(""===n)throw new r("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:t})}const f=e.mappings.get(n);e.mappings.has(n)&&e.mappings.delete(n);let v=!1;if((s(u)||null===u)&&(v=!0,u={"@id":u}),!a(u))throw new r("Invalid JSON-LD syntax; @context term values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:t});const g={};e.mappings.set(n,g),g.reverse=!1;const y=["@container","@id","@language","@reverse","@type"];m.processingMode(e,1.1)&&y.push("@context","@direction","@index","@nest","@prefix","@protected");for(const e in u)if(!y.includes(e))throw new r("Invalid JSON-LD syntax; a term definition must not contain "+e,"jsonld.SyntaxError",{code:"invalid term definition",context:t});const b=n.indexOf(":");if(g._termHasColon=b>0,"@reverse"in u){if("@id"in u)throw new r("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});if("@nest"in u)throw new r("Invalid JSON-LD syntax; a @reverse term definition must not contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});const i=u["@reverse"];if(!s(i))throw new r("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(i.match(h))return l.eventHandler&&p({event:{type:["JsonLdEvent"],code:"reserved @reverse value",level:"warning",message:'@reverse values beginning with "@" are reserved for future use and dropped.',details:{reverse:i}},options:l}),void(f?e.mappings.set(n,f):e.mappings.delete(n));const a=x(e,i,{vocab:!0,base:!1},t,o,l);if(!c(a))throw new r("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});g["@id"]=a,g.reverse=!0}else if("@id"in u){let i=u["@id"];if(i&&!s(i))throw new r("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(null===i)g["@id"]=null;else{if(!m.isKeyword(i)&&i.match(h))return l.eventHandler&&p({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:'@id values beginning with "@" are reserved for future use and dropped.',details:{id:i}},options:l}),void(f?e.mappings.set(n,f):e.mappings.delete(n));if(i!==n){if(i=x(e,i,{vocab:!0,base:!1},t,o,l),!c(i)&&!m.isKeyword(i))throw new r("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(n.match(/(?::[^:])|\//)){if(x(e,n,{vocab:!0,base:!1},t,new Map(o).set(n,!0),l)!==i)throw new r("Invalid JSON-LD syntax; term in form of IRI must expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t})}g["@id"]=i,g._prefix=v&&!g._termHasColon&&null!==i.match(/[:\/\?#\[\]@]$/)}}}if(!("@id"in g))if(g._termHasColon){const r=n.substr(0,b);if(t.hasOwnProperty(r)&&m.createTermDefinition({activeCtx:e,localCtx:t,term:r,defined:o,options:l}),e.mappings.has(r)){const t=n.substr(b+1);g["@id"]=e.mappings.get(r)["@id"]+t}else g["@id"]=n}else if("@type"===n)g["@id"]=n;else{if(!("@vocab"in e))throw new r("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t,term:n});g["@id"]=e["@vocab"]+n}if((!0===u["@protected"]||!0===o.get("@protected")&&!1!==u["@protected"])&&(e.protected[n]=!0,g.protected=!0),o.set(n,!0),"@type"in u){let n=u["@type"];if(!s(n))throw new r("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if("@json"===n||"@none"===n){if(m.processingMode(e,1))throw new r(`Invalid JSON-LD syntax; an @context @type value must not be "${n}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:t})}else if("@id"!==n&&"@vocab"!==n){if(n=x(e,n,{vocab:!0,base:!1},t,o,l),!c(n))throw new r("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if(0===n.indexOf("_:"))throw new r("Invalid JSON-LD syntax; an @context @type value must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:t})}g["@type"]=n}if("@container"in u){const n=s(u["@container"])?[u["@container"]]:u["@container"]||[],o=["@list","@set","@index","@language"];let a=!0;const l=n.includes("@set");if(m.processingMode(e,1.1)){if(o.push("@graph","@id","@type"),n.includes("@list")){if(1!==n.length)throw new r("Invalid JSON-LD syntax; @context @container with @list must have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:t})}else if(n.includes("@graph")){if(n.some(e=>"@graph"!==e&&"@id"!==e&&"@index"!==e&&"@set"!==e))throw new r("Invalid JSON-LD syntax; @context @container with @graph must have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:t})}else a&=n.length<=(l?2:1);if(n.includes("@type")&&(g["@type"]=g["@type"]||"@id",!["@id","@vocab"].includes(g["@type"])))throw new r("Invalid JSON-LD syntax; container: @type requires @type to be @id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:t})}else a&=!i(u["@container"]),a&=n.length<=1;if(a&=n.every(e=>o.includes(e)),a&=!(l&&n.includes("@list")),!a)throw new r("Invalid JSON-LD syntax; @context @container value must be one of the following: "+o.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:t});if(g.reverse&&!n.every(e=>["@index","@set"].includes(e)))throw new r("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});g["@container"]=n}if("@index"in u){if(!("@container"in u)||!g["@container"].includes("@index"))throw new r(`Invalid JSON-LD syntax; @index without @index in @container: "${u["@index"]}" on term "${n}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:t});if(!s(u["@index"])||0===u["@index"].indexOf("@"))throw new r(`Invalid JSON-LD syntax; @index must expand to an IRI: "${u["@index"]}" on term "${n}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:t});g["@index"]=u["@index"]}if("@context"in u&&(g["@context"]=u["@context"]),"@language"in u&&!("@type"in u)){let e=u["@language"];if(null!==e&&!s(e))throw new r("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:t});null!==e&&(e=e.toLowerCase()),g["@language"]=e}if("@prefix"in u){if(n.match(/:|\//))throw new r("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:t});if(m.isKeyword(g["@id"]))throw new r("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:t});if("boolean"!=typeof u["@prefix"])throw new r("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:t});g._prefix=!0===u["@prefix"]}if("@direction"in u){const e=u["@direction"];if(null!==e&&"ltr"!==e&&"rtl"!==e)throw new r('Invalid JSON-LD syntax; @direction value must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:t});g["@direction"]=e}if("@nest"in u){const e=u["@nest"];if(!s(e)||"@nest"!==e&&0===e.indexOf("@"))throw new r("Invalid JSON-LD syntax; @context @nest value must be a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:t});g["@nest"]=e}
|
|
2
|
-
// disallow aliasing @context and @preserve
|
|
3
|
-
const w=g["@id"];if("@context"===w||"@preserve"===w)throw new r("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:t});if(f&&f.protected&&!d&&(e.protected[n]=!0,g.protected=!0,!function e(t,n){if(!t||"object"!=typeof t||!n||"object"!=typeof n)return t===n;const o=Array.isArray(t);if(o!==Array.isArray(n))return!1;if(o){if(t.length!==n.length)return!1;for(let o=0;o<t.length;++o)if(!e(t[o],n[o]))return!1;return!0}const r=Object.keys(t),i=Object.keys(n);if(r.length!==i.length)return!1;for(const o in t){let r=t[o],i=n[o];if("@container"===o&&Array.isArray(r)&&Array.isArray(i)&&(r=r.slice().sort(),i=i.slice().sort()),!e(r,i))return!1}return!0}(f,g)))throw new r("Invalid JSON-LD syntax; tried to redefine a protected term.","jsonld.SyntaxError",{code:"protected term redefinition",context:t,term:n})},m.expandIri=(e,t,n,o)=>x(e,t,n,void 0,void 0,o),m.getInitialContext=e=>{const t=JSON.stringify({processingMode:e.processingMode}),n=y.get(t);if(n)return n;const r={processingMode:e.processingMode,mappings:new Map,inverse:null,getInverse:function(){const e=this;if(e.inverse)return e.inverse;const t=e.inverse={},n=e.fastCurieMap={},o={},r=(e["@language"]||"@none").toLowerCase(),s=e["@direction"],l=e.mappings,c=[...l.keys()].sort(g);for(const e of c){const i=l.get(e);if(null===i)continue;let c=i["@container"]||"@none";if(c=[].concat(c).sort().join(""),null===i["@id"])continue;const d=v(i["@id"]);for(const l of d){let d=t[l];const u=m.isKeyword(l);if(d)u||i._termHasColon||o[l].push(e);else if(t[l]=d={},!u&&!i._termHasColon){o[l]=[e];const t={iri:l,terms:o[l]};l[0]in n?n[l[0]].push(t):n[l[0]]=[t]}if(d[c]||(d[c]={"@language":{},"@type":{},"@any":{}}),d=d[c],a(e,d["@any"],"@none"),i.reverse)a(e,d["@type"],"@reverse");else if("@none"===i["@type"])a(e,d["@any"],"@none"),a(e,d["@language"],"@none"),a(e,d["@type"],"@none");else if("@type"in i)a(e,d["@type"],i["@type"]);else if("@language"in i&&"@direction"in i){const t=i["@language"],n=i["@direction"];a(e,d["@language"],t&&n?`${t}_${n}`.toLowerCase():t?t.toLowerCase():n?"_"+n:"@null")}else"@language"in i?a(e,d["@language"],(i["@language"]||"@null").toLowerCase()):"@direction"in i?i["@direction"]?a(e,d["@language"],"_"+i["@direction"]):a(e,d["@language"],"@none"):s?(a(e,d["@language"],"_"+s),a(e,d["@language"],"@none"),a(e,d["@type"],"@none")):(a(e,d["@language"],r),a(e,d["@language"],"@none"),a(e,d["@type"],"@none"))}}for(const e in n)i(n,e,1);return t},clone:function(){const e={};e.mappings=o.clone(this.mappings),e.clone=this.clone,e.inverse=null,e.getInverse=this.getInverse,e.protected=o.clone(this.protected),this.previousContext&&(e.previousContext=this.previousContext.clone());e.revertToPreviousContext=this.revertToPreviousContext,"@base"in this&&(e["@base"]=this["@base"]);"@language"in this&&(e["@language"]=this["@language"]);"@vocab"in this&&(e["@vocab"]=this["@vocab"]);return e},revertToPreviousContext:function(){if(!this.previousContext)return this;return this.previousContext.clone()},protected:{}};return 1e4===y.size&&y.clear(),y.set(t,r),r;function i(e,t,n){const o=e[t],r=e[t]={};let a,s;for(const e of o)a=e.iri,s=n>=a.length?"":a[n],s in r?r[s].push(e):r[s]=[e];for(const e in r)""!==e&&i(r,e,n+1)}function a(e,t,n){t.hasOwnProperty(n)||(t[n]=e)}},m.getContextValue=(e,t,n)=>{if(null===t){if("@context"===n)return;return null}if(e.mappings.has(t)){const o=e.mappings.get(t);if(l(n))return o;if(o.hasOwnProperty(n))return o[n]}return"@language"===n&&n in e||"@direction"===n&&n in e?e[n]:"@context"!==n?null:void 0},m.processingMode=(e,t)=>t.toString()>="1.1"?!e.processingMode||e.processingMode>="json-ld-"+t.toString():"json-ld-1.0"===e.processingMode,m.isKeyword=e=>{if(!s(e)||"@"!==e[0])return!1;switch(e){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return!0}return!1}},533:function(e,t,n){"use strict";const o=n(507),{isArray:r}=n(504),{asArray:i}=n(506),a={};e.exports=a,a.defaultEventHandler=null,a.setupEventHandler=({options:e={}})=>{const t=[].concat(e.safe?a.safeEventHandler:[],e.eventHandler?i(e.eventHandler):[],a.defaultEventHandler?a.defaultEventHandler:[]);return 0===t.length?null:t},a.handleEvent=({event:e,options:t})=>{!function e({event:t,handlers:n}){let i=!0;for(let a=0;i&&a<n.length;++a){i=!1;const s=n[a];if(r(s))i=e({event:t,handlers:s});else if("function"==typeof s)s({event:t,next:()=>{i=!0}});else{if("object"!=typeof s)throw new o("Invalid event handler.","jsonld.InvalidEventHandler",{event:t});t.code in s?s[t.code]({event:t,next:()=>{i=!0}}):i=!0}}return i}({event:e,handlers:t.eventHandler})};const s=new Set(["empty object","free-floating scalar","invalid @language value","invalid property","null @id value","null @value value","object with only @id","object with only @language","object with only @list","object with only @value","relative @id reference","relative @type reference","relative @vocab reference","reserved @id value","reserved @reverse value","reserved term","blank node predicate","relative graph reference","relative object reference","relative predicate reference","relative subject reference","rdfDirection not set"]);a.safeEventHandler=function({event:e,next:t}){if("warning"===e.level&&s.has(e.code))throw new o("Safe mode validation error.","jsonld.ValidationError",{event:e});t()},a.logEventHandler=function({event:e,next:t}){console.log("EVENT: "+e.message,{event:e}),t()},a.logWarningEventHandler=function({event:e,next:t}){"warning"===e.level&&console.warn("WARNING: "+e.message,{event:e}),t()},a.unhandledEventHandler=function({event:e}){throw new o("No handler for event.","jsonld.UnhandledEvent",{event:e})},a.setDefaultEventHandler=function({eventHandler:e}={}){a.defaultEventHandler=e?i(e):null}},548:function(e,t,n){"use strict";
|
|
4
|
-
/*!
|
|
5
|
-
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
6
|
-
*/n(607);const o=self.crypto||self.msCrypto;e.exports=class{constructor(e){if(!o||!o.subtle)throw new Error("crypto.subtle not found.");if("sha256"===e)this.algorithm={name:"SHA-256"};else{if("sha1"!==e)throw new Error(`Unsupported algorithm "${e}".`);this.algorithm={name:"SHA-1"}}this._content=""}update(e){this._content+=e}async digest(){const e=(new TextEncoder).encode(this._content),t=new Uint8Array(await o.subtle.digest(this.algorithm,e));let n="";for(let e=0;e<t.length;++e)n+=t[e].toString(16).padStart(2,"0");return n}}},549:function(e,t,n){"use strict";const{isKeyword:o}=n(521),r=n(514),i=n(504),a=n(506),s=n(507),l={};e.exports=l,l.createMergedNodeMap=(e,t)=>{const n=(t=t||{}).issuer||new a.IdentifierIssuer("_:b"),o={"@default":{}};return l.createNodeMap(e,o,"@default",n),l.mergeNodeMaps(o)},l.createNodeMap=(e,t,n,c,d,u)=>{if(i.isArray(e)){for(const o of e)l.createNodeMap(o,t,n,c,void 0,u);return}if(!i.isObject(e))return void(u&&u.push(e));if(r.isValue(e)){if("@type"in e){let t=e["@type"];0===t.indexOf("_:")&&(e["@type"]=t=c.getId(t))}return void(u&&u.push(e))}if(u&&r.isList(e)){const o=[];return l.createNodeMap(e["@list"],t,n,c,d,o),void u.push({"@list":o})}if("@type"in e){const t=e["@type"];for(const e of t)0===e.indexOf("_:")&&c.getId(e)}i.isUndefined(d)&&(d=r.isBlankNode(e)?c.getId(e["@id"]):e["@id"]),u&&u.push({"@id":d});const p=t[n],f=p[d]=p[d]||{};f["@id"]=d;const h=Object.keys(e).sort();for(let i of h){if("@id"===i)continue;if("@reverse"===i){const o={"@id":d},i=e["@reverse"];for(const e in i){const s=i[e];for(const i of s){let s=i["@id"];r.isBlankNode(i)&&(s=c.getId(s)),l.createNodeMap(i,t,n,c,s),a.addValue(p[s],e,o,{propertyIsArray:!0,allowDuplicate:!1})}}continue}if("@graph"===i){d in t||(t[d]={}),l.createNodeMap(e[i],t,d,c);continue}if("@included"===i){l.createNodeMap(e[i],t,n,c);continue}if("@type"!==i&&o(i)){if("@index"===i&&i in f&&(e[i]!==f[i]||e[i]["@id"]!==f[i]["@id"]))throw new s("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:f});f[i]=e[i];continue}const u=e[i];if(0===i.indexOf("_:")&&(i=c.getId(i)),0!==u.length)for(let e of u)if("@type"===i&&(e=0===e.indexOf("_:")?c.getId(e):e),r.isSubject(e)||r.isSubjectReference(e)){if("@id"in e&&!e["@id"])continue;const o=r.isBlankNode(e)?c.getId(e["@id"]):e["@id"];a.addValue(f,i,{"@id":o},{propertyIsArray:!0,allowDuplicate:!1}),l.createNodeMap(e,t,n,c,o)}else if(r.isValue(e))a.addValue(f,i,e,{propertyIsArray:!0,allowDuplicate:!1});else if(r.isList(e)){const o=[];l.createNodeMap(e["@list"],t,n,c,d,o),e={"@list":o},a.addValue(f,i,e,{propertyIsArray:!0,allowDuplicate:!1})}else l.createNodeMap(e,t,n,c,d),a.addValue(f,i,e,{propertyIsArray:!0,allowDuplicate:!1});else a.addValue(f,i,[],{propertyIsArray:!0})}},l.mergeNodeMapGraphs=e=>{const t={};for(const n of Object.keys(e).sort())for(const r of Object.keys(e[n]).sort()){const i=e[n][r];r in t||(t[r]={"@id":r});const s=t[r];for(const e of Object.keys(i).sort())if(o(e)&&"@type"!==e)s[e]=a.clone(i[e]);else for(const t of i[e])a.addValue(s,e,a.clone(t),{propertyIsArray:!0,allowDuplicate:!1})}return t},l.mergeNodeMaps=e=>{const t=e["@default"],n=Object.keys(e).sort();for(const o of n){if("@default"===o)continue;const n=e[o];let i=t[o];i?"@graph"in i||(i["@graph"]=[]):t[o]=i={"@id":o,"@graph":[]};const a=i["@graph"];for(const e of Object.keys(n).sort()){const t=n[e];r.isSubjectReference(t)||a.push(t)}}return t}},565:function(e,t,n){e.exports=n(747)},566:function(e,t,n){"use strict";e.exports=class e{constructor(e,t=new Map,n=0){this.prefix=e,this._existing=t,this.counter=n}clone(){const{prefix:t,_existing:n,counter:o}=this;return new e(t,new Map(n),o)}getId(e){const t=e&&this._existing.get(e);if(t)return t;const n=this.prefix+this.counter;return this.counter++,e&&this._existing.set(e,n),n}hasId(e){return this._existing.has(e)}getOldIds(){return[...this._existing.keys()]}}},567:function(e,t,n){"use strict";
|
|
7
|
-
/*!
|
|
8
|
-
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
9
|
-
*/const o="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString",r="http://www.w3.org/2001/XMLSchema#string",i={};function a(e,t){return e.subject.termType===t.subject.termType&&e.object.termType===t.object.termType&&(e.subject.value===t.subject.value&&e.predicate.value===t.predicate.value&&e.object.value===t.object.value&&("Literal"!==e.object.termType||e.object.datatype.termType===t.object.datatype.termType&&e.object.language===t.object.language&&e.object.datatype.value===t.object.datatype.value))}i.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,i.empty=new RegExp("^[ \\t]*$"),i.quad=new RegExp('^[ \\t]*(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?))[ \\t]+(?:<([^:]+:[^>]*)>)[ \\t]+(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?)|(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"(?:(?:\\^\\^(?:<([^:]+:[^>]*)>))|(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*)))?))[ \\t]*(?:\\.|(?:(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?))[ \\t]*\\.))[ \\t]*$'),e.exports=class e{static parse(e){const t=[],n={},s=e.split(i.eoln);let c=0;for(const e of s){if(c++,i.empty.test(e))continue;const s=e.match(i.quad);if(null===s)throw new Error("N-Quads parse error on line "+c+".");const d={subject:null,predicate:null,object:null,graph:null};if(void 0!==s[1]?d.subject={termType:"NamedNode",value:s[1]}:d.subject={termType:"BlankNode",value:s[2]},d.predicate={termType:"NamedNode",value:s[3]},void 0!==s[4]?d.object={termType:"NamedNode",value:s[4]}:void 0!==s[5]?d.object={termType:"BlankNode",value:s[5]}:(d.object={termType:"Literal",value:void 0,datatype:{termType:"NamedNode"}},void 0!==s[7]?d.object.datatype.value=s[7]:void 0!==s[8]?(d.object.datatype.value=o,d.object.language=s[8]):d.object.datatype.value=r,d.object.value=s[6].replace(l,(function(e,t,n,o){if(t)switch(t){case"t":return"\t";case"b":return"\b";case"n":return"\n";case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(n)return String.fromCharCode(parseInt(n,16));if(o)throw new Error("Unsupported U escape")}))),void 0!==s[9]?d.graph={termType:"NamedNode",value:s[9]}:void 0!==s[10]?d.graph={termType:"BlankNode",value:s[10]}:d.graph={termType:"DefaultGraph",value:""},d.graph.value in n){let e=!0;const o=n[d.graph.value];for(const t of o)if(a(t,d)){e=!1;break}e&&(o.push(d),t.push(d))}else n[d.graph.value]=[d],t.push(d)}return t}static serialize(t){Array.isArray(t)||(t=e.legacyDatasetToQuads(t));const n=[];for(const o of t)n.push(e.serializeQuad(o));return n.sort().join("")}static serializeQuadComponents(e,t,n,i){let a="";return"NamedNode"===e.termType?a+=`<${e.value}>`:a+=""+e.value,a+=` <${t.value}> `,"NamedNode"===n.termType?a+=`<${n.value}>`:"BlankNode"===n.termType?a+=n.value:(a+=`"${function(e){return e.replace(s,(function(e){switch(e){case'"':return'\\"';case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r"}}))}(n.value)}"`,n.datatype.value===o?n.language&&(a+="@"+n.language):n.datatype.value!==r&&(a+=`^^<${n.datatype.value}>`)),"NamedNode"===i.termType?a+=` <${i.value}>`:"BlankNode"===i.termType&&(a+=" "+i.value),a+=" .\n",a}static serializeQuad(t){return e.serializeQuadComponents(t.subject,t.predicate,t.object,t.graph)}static legacyDatasetToQuads(e){const t=[],n={"blank node":"BlankNode",IRI:"NamedNode",literal:"Literal"};for(const i in e){e[i].forEach(e=>{const a={};for(const t in e){const i=e[t],s={termType:n[i.type],value:i.value};"Literal"===s.termType&&(s.datatype={termType:"NamedNode"},"datatype"in i&&(s.datatype.value=i.datatype),"language"in i?("datatype"in i||(s.datatype.value=o),s.language=i.language):"datatype"in i||(s.datatype.value=r)),a[t]=s}a.graph="@default"===i?{termType:"DefaultGraph",value:""}:{termType:i.startsWith("_:")?"BlankNode":"NamedNode",value:i},t.push(a)})}return t}};const s=/["\\\n\r]/g;const l=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g},568:function(e,t,n){"use strict";const o="http://www.w3.org/1999/02/22-rdf-syntax-ns#",r="http://www.w3.org/2001/XMLSchema#";e.exports={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",LINK_HEADER_CONTEXT:"http://www.w3.org/ns/json-ld#context",RDF:o,RDF_LIST:o+"List",RDF_FIRST:o+"first",RDF_REST:o+"rest",RDF_NIL:o+"nil",RDF_TYPE:o+"type",RDF_PLAIN_LITERAL:o+"PlainLiteral",RDF_XML_LITERAL:o+"XMLLiteral",RDF_JSON_LITERAL:o+"JSON",RDF_OBJECT:o+"object",RDF_LANGSTRING:o+"langString",XSD:r,XSD_BOOLEAN:r+"boolean",XSD_DOUBLE:r+"double",XSD_INTEGER:r+"integer",XSD_STRING:r+"string"}},605:function(e,t,n){
|
|
10
|
-
/**
|
|
11
|
-
* A JavaScript implementation of the JSON-LD API.
|
|
12
|
-
*
|
|
13
|
-
* @author Dave Longley
|
|
14
|
-
*
|
|
15
|
-
* @license BSD 3-Clause License
|
|
16
|
-
* Copyright (c) 2011-2022 Digital Bazaar, Inc.
|
|
17
|
-
* All rights reserved.
|
|
18
|
-
*
|
|
19
|
-
* Redistribution and use in source and binary forms, with or without
|
|
20
|
-
* modification, are permitted provided that the following conditions are met:
|
|
21
|
-
*
|
|
22
|
-
* Redistributions of source code must retain the above copyright notice,
|
|
23
|
-
* this list of conditions and the following disclaimer.
|
|
24
|
-
*
|
|
25
|
-
* Redistributions in binary form must reproduce the above copyright
|
|
26
|
-
* notice, this list of conditions and the following disclaimer in the
|
|
27
|
-
* documentation and/or other materials provided with the distribution.
|
|
28
|
-
*
|
|
29
|
-
* Neither the name of the Digital Bazaar, Inc. nor the names of its
|
|
30
|
-
* contributors may be used to endorse or promote products derived from
|
|
31
|
-
* this software without specific prior written permission.
|
|
32
|
-
*
|
|
33
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
34
|
-
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
35
|
-
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
36
|
-
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
37
|
-
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
38
|
-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
39
|
-
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
40
|
-
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
41
|
-
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
42
|
-
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
43
|
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
44
|
-
*/
|
|
45
|
-
const o=n(565),r=n(752),i=n(506),a=n(754),s=i.IdentifierIssuer,l=n(507),c=n(612),d=n(758),{expand:u}=n(759),{flatten:p}=n(760),{fromRDF:f}=n(761),{toRDF:h}=n(762),{frameMergedOrDefault:v,cleanupNull:g}=n(764),{isArray:y,isObject:m,isString:x}=n(504),{isSubjectReference:b}=n(514),{expandIri:w,getInitialContext:j,process:I,processingMode:N}=n(521),{compact:S,compactIri:E}=n(765),{createNodeMap:O,createMergedNodeMap:k,mergeNodeMaps:D}=n(549),{logEventHandler:C,logWarningEventHandler:L,safeEventHandler:T,setDefaultEventHandler:R,setupEventHandler:A,strictEventHandler:_,unhandledEventHandler:M}=n(533),J=function(e){const t={},J=new c({max:100});function P(t,{documentLoader:n=e.documentLoader,...o}){if(t&&"compactionMap"in t)throw new l('"compactionMap" not supported.',"jsonld.OptionsError");if(t&&"expansionMap"in t)throw new l('"expansionMap" not supported.',"jsonld.OptionsError");return Object.assign({},{documentLoader:n},o,t,{eventHandler:A({options:t})})}return e.compact=async function(t,n,o){if(arguments.length<2)throw new TypeError("Could not compact, too few arguments.");if(null===n)throw new l("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"});if(null===t)return null;let r;(o=P(o,{base:x(t)?t:"",compactArrays:!0,compactToRelative:!0,graph:!1,skipExpansion:!1,link:!1,issuer:new s("_:b"),contextResolver:new a({sharedCache:J})})).link&&(o.skipExpansion=!0),o.compactToRelative||delete o.base,r=o.skipExpansion?t:await e.expand(t,o);const c=await e.processContext(j(o),n,o);let d=await S({activeCtx:c,element:r,options:o});o.compactArrays&&!o.graph&&y(d)?1===d.length?d=d[0]:0===d.length&&(d={}):o.graph&&m(d)&&(d=[d]),m(n)&&"@context"in n&&(n=n["@context"]),n=i.clone(n),y(n)||(n=[n]);const u=n;n=[];for(let e=0;e<u.length;++e)(!m(u[e])||Object.keys(u[e]).length>0)&&n.push(u[e]);const p=n.length>0;if(1===n.length&&(n=n[0]),y(d)){const e=E({activeCtx:c,iri:"@graph",relativeTo:{vocab:!0}}),t=d;d={},p&&(d["@context"]=n),d[e]=t}else if(m(d)&&p){const e=d;d={"@context":n};for(const t in e)d[t]=e[t]}return d},e.expand=async function(t,n){if(arguments.length<1)throw new TypeError("Could not expand, too few arguments.");const o={},r=[];if("expandContext"in(n=P(n,{keepFreeFloatingNodes:!1,contextResolver:new a({sharedCache:J})}))){const e=i.clone(n.expandContext);m(e)&&"@context"in e?o.expandContext=e:o.expandContext={"@context":e},r.push(o.expandContext)}let s;if(x(t)){const i=await e.get(t,n);s=i.documentUrl,o.input=i.document,i.contextUrl&&(o.remoteContext={"@context":i.contextUrl},r.push(o.remoteContext))}else o.input=i.clone(t);"base"in n||(n.base=s||"");let l=j(n);for(const e of r)l=await I({activeCtx:l,localCtx:e,options:n});let c=await u({activeCtx:l,element:o.input,options:n});return m(c)&&"@graph"in c&&1===Object.keys(c).length?c=c["@graph"]:null===c&&(c=[]),y(c)||(c=[c]),c},e.flatten=async function(t,n,o){if(arguments.length<1)return new TypeError("Could not flatten, too few arguments.");n="function"==typeof n?null:n||null,o=P(o,{base:x(t)?t:"",contextResolver:new a({sharedCache:J})});const r=await e.expand(t,o),i=p(r);if(null===n)return i;o.graph=!0,o.skipExpansion=!0;const s=await e.compact(i,n,o);return s},e.frame=async function(t,n,o){if(arguments.length<2)throw new TypeError("Could not frame, too few arguments.");if(o=P(o,{base:x(t)?t:"",embed:"@once",explicit:!1,requireAll:!1,omitDefault:!1,bnodesToClear:[],contextResolver:new a({sharedCache:J})}),x(n)){const t=await e.get(n,o);if(n=t.document,t.contextUrl){let e=n["@context"];e?y(e)?e.push(t.contextUrl):e=[e,t.contextUrl]:e=t.contextUrl,n["@context"]=e}}const r=n&&n["@context"]||{},i=await e.processContext(j(o),r,o);o.hasOwnProperty("omitGraph")||(o.omitGraph=N(i,1.1)),o.hasOwnProperty("pruneBlankNodeIdentifiers")||(o.pruneBlankNodeIdentifiers=N(i,1.1));const s=await e.expand(t,o),l={...o};l.isFrame=!0,l.keepFreeFloatingNodes=!0;const c=await e.expand(n,l),d=Object.keys(n).map(e=>w(i,e,{vocab:!0}));l.merged=!d.includes("@graph"),l.is11=N(i,1.1);const u=v(s,c,l);l.graph=!o.omitGraph,l.skipExpansion=!0,l.link={},l.framing=!0;let p=await e.compact(u,r,l);return l.link={},p=g(p,l),p},e.link=async function(t,n,o){const r={};return n&&(r["@context"]=n),r["@embed"]="@link",e.frame(t,r,o)},e.normalize=e.canonize=async function(t,n){if(arguments.length<1)throw new TypeError("Could not canonize, too few arguments.");if("inputFormat"in(n=P(n,{base:x(t)?t:null,algorithm:"URDNA2015",skipExpansion:!1,safe:!0,contextResolver:new a({sharedCache:J})}))){if("application/n-quads"!==n.inputFormat&&"application/nquads"!==n.inputFormat)throw new l("Unknown canonicalization input format.","jsonld.CanonizeError");const e=d.parse(t);return o.canonize(e,n)}const r={...n};delete r.format,r.produceGeneralizedRdf=!1;const i=await e.toRDF(t,r);return o.canonize(i,n)},e.fromRDF=async function(e,n){if(arguments.length<1)throw new TypeError("Could not convert from RDF, too few arguments.");n=P(n,{format:x(e)?"application/n-quads":void 0});const{format:o}=n;let{rdfParser:r}=n;if(o){if(r=r||t[o],!r)throw new l("Unknown input format.","jsonld.UnknownFormat",{format:o})}else r=()=>e;const i=await r(e);return f(i,n)},e.toRDF=async function(t,n){if(arguments.length<1)throw new TypeError("Could not convert to RDF, too few arguments.");let o;o=(n=P(n,{base:x(t)?t:"",skipExpansion:!1,contextResolver:new a({sharedCache:J})})).skipExpansion?t:await e.expand(t,n);const r=h(o,n);if(n.format){if("application/n-quads"===n.format||"application/nquads"===n.format)return d.serialize(r);throw new l("Unknown output format.","jsonld.UnknownFormat",{format:n.format})}return r},e.createNodeMap=async function(t,n){if(arguments.length<1)throw new TypeError("Could not create node map, too few arguments.");n=P(n,{base:x(t)?t:"",contextResolver:new a({sharedCache:J})});const o=await e.expand(t,n);return k(o,n)},e.merge=async function(t,n,o){if(arguments.length<1)throw new TypeError("Could not merge, too few arguments.");if(!y(t))throw new TypeError('Could not merge, "docs" must be an array.');n="function"==typeof n?null:n||null,o=P(o,{contextResolver:new a({sharedCache:J})});const r=await Promise.all(t.map(t=>{const n={...o};return e.expand(t,n)}));let l=!0;"mergeNodes"in o&&(l=o.mergeNodes);const c=o.issuer||new s("_:b"),d={"@default":{}};for(let e=0;e<r.length;++e){const t=i.relabelBlankNodes(r[e],{issuer:new s("_:b"+e+"-")}),n=l||0===e?d:{"@default":{}};if(O(t,n,"@default",c),n!==d)for(const e in n){const t=n[e];if(!(e in d)){d[e]=t;continue}const o=d[e];for(const e in t)e in o||(o[e]=t[e])}}const u=D(d),p=[],f=Object.keys(u).sort();for(let e=0;e<f.length;++e){const t=u[f[e]];b(t)||p.push(t)}if(null===n)return p;o.graph=!0,o.skipExpansion=!0;const h=await e.compact(p,n,o);return h},Object.defineProperty(e,"documentLoader",{get:()=>e._documentLoader,set:t=>e._documentLoader=t}),e.documentLoader=async e=>{throw new l("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:e})},e.get=async function(t,n){let o;o="function"==typeof n.documentLoader?n.documentLoader:e.documentLoader;const r=await o(t);try{if(!r.document)throw new l("No remote document found at the given URL.","jsonld.NullRemoteDocument");x(r.document)&&(r.document=JSON.parse(r.document))}catch(e){throw new l("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:e,remoteDoc:r})}return r},e.processContext=async function(e,t,n){return n=P(n,{base:"",contextResolver:new a({sharedCache:J})}),null===t?j(n):(t=i.clone(t),m(t)&&"@context"in t||(t={"@context":t}),I({activeCtx:e,localCtx:t,options:n}))},e.getContextValue=n(521).getContextValue,e.documentLoaders={},e.useDocumentLoader=function(t){if(!(t in e.documentLoaders))throw new l('Unknown document loader type: "'+t+'"',"jsonld.UnknownDocumentLoader",{type:t});e.documentLoader=e.documentLoaders[t].apply(e,Array.prototype.slice.call(arguments,1))},e.registerRDFParser=function(e,n){t[e]=n},e.unregisterRDFParser=function(e){delete t[e]},e.registerRDFParser("application/n-quads",d.parse),e.registerRDFParser("application/nquads",d.parse),e.url=n(516),e.logEventHandler=C,e.logWarningEventHandler=L,e.safeEventHandler=T,e.setDefaultEventHandler=R,e.strictEventHandler=_,e.unhandledEventHandler=M,e.util=i,Object.assign(e,i),e.promises=e,e.RequestQueue=n(611),e.JsonLdProcessor=n(766)(e),r.setupGlobals(e),r.setupDocumentLoaders(e),e},P=function(){return J((function(){return P()}))};J(P),e.exports=P},606:function(e,t,n){"use strict";(function(t){
|
|
46
|
-
/*!
|
|
47
|
-
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
48
|
-
*/
|
|
49
|
-
const o=n(566),r=n(548),i=n(608),a=n(567);function s(e,t){return e.hash<t.hash?-1:e.hash>t.hash?1:0}e.exports=class{constructor({createMessageDigest:e=(()=>new r("sha256")),canonicalIdMap:t=new Map,maxDeepIterations:n=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new o("_:c14n",t),this.createMessageDigest=e,this.maxDeepIterations=n,this.quads=null,this.deepIterations=null}async main(e){this.deepIterations=new Map,this.quads=e;for(const t of e)this._addBlankNodeQuadInfo({quad:t,component:t.subject}),this._addBlankNodeQuadInfo({quad:t,component:t.object}),this._addBlankNodeQuadInfo({quad:t,component:t.graph});const t=new Map,n=[...this.blankNodeInfo.keys()];let r=0;for(const e of n)++r%100==0&&await this._yield(),await this._hashAndTrackBlankNode({id:e,hashToBlankNodes:t});const i=[...t.keys()].sort(),l=[];for(const e of i){const n=t.get(e);if(n.length>1){l.push(n);continue}const o=n[0];this.canonicalIssuer.getId(o)}for(const e of l){const t=[];for(const n of e){if(this.canonicalIssuer.hasId(n))continue;const e=new o("_:b");e.getId(n);const r=await this.hashNDegreeQuads(n,e);t.push(r)}t.sort(s);for(const e of t){const t=e.issuer.getOldIds();for(const e of t)this.canonicalIssuer.getId(e)}}const c=[];for(const e of this.quads){const t=a.serializeQuadComponents(this._componentWithCanonicalId(e.subject),e.predicate,this._componentWithCanonicalId(e.object),this._componentWithCanonicalId(e.graph));c.push(t)}return c.sort(),c.join("")}async hashFirstDegreeQuads(e){const t=[],n=this.blankNodeInfo.get(e),o=n.quads;for(const n of o){const o={subject:null,predicate:n.predicate,object:null,graph:null};o.subject=this.modifyFirstDegreeComponent(e,n.subject,"subject"),o.object=this.modifyFirstDegreeComponent(e,n.object,"object"),o.graph=this.modifyFirstDegreeComponent(e,n.graph,"graph"),t.push(a.serializeQuad(o))}t.sort();const r=this.createMessageDigest();for(const e of t)r.update(e);return n.hash=await r.digest(),n.hash}async hashRelatedBlankNode(e,t,n,o){let r;r=this.canonicalIssuer.hasId(e)?this.canonicalIssuer.getId(e):n.hasId(e)?n.getId(e):this.blankNodeInfo.get(e).hash;const i=this.createMessageDigest();return i.update(o),"g"!==o&&i.update(this.getRelatedPredicate(t)),i.update(r),i.digest()}async hashNDegreeQuads(e,t){const n=this.deepIterations.get(e)||0;if(n>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(e,n+1);const o=this.createMessageDigest(),r=await this.createHashToRelated(e,t),a=[...r.keys()].sort();for(const e of a){o.update(e);let n,a="";const s=new i(r.get(e));let l=0;for(;s.hasNext();){const e=s.next();++l%3==0&&await this._yield();let o=t.clone(),r="";const i=[];let c=!1;for(const t of e)if(this.canonicalIssuer.hasId(t)?r+=this.canonicalIssuer.getId(t):(o.hasId(t)||i.push(t),r+=o.getId(t)),0!==a.length&&r>a){c=!0;break}if(!c){for(const e of i){const t=await this.hashNDegreeQuads(e,o);if(r+=o.getId(e),r+=`<${t.hash}>`,o=t.issuer,0!==a.length&&r>a){c=!0;break}}c||(0===a.length||r<a)&&(a=r,n=o)}}o.update(a),t=n}return{hash:await o.digest(),issuer:t}}modifyFirstDegreeComponent(e,t){return"BlankNode"!==t.termType?t:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return`<${e.predicate.value}>`}async createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;let r=0;for(const i of o)++r%100==0&&await this._yield(),await Promise.all([this._addRelatedBlankNodeHash({quad:i,component:i.subject,position:"s",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:i,component:i.object,position:"o",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:i,component:i.graph,position:"g",id:e,issuer:t,hashToRelated:n})]);return n}async _hashAndTrackBlankNode({id:e,hashToBlankNodes:t}){const n=await this.hashFirstDegreeQuads(e),o=t.get(n);o?o.push(e):t.set(n,[e])}_addBlankNodeQuadInfo({quad:e,component:t}){if("BlankNode"!==t.termType)return;const n=t.value,o=this.blankNodeInfo.get(n);o?o.quads.add(e):this.blankNodeInfo.set(n,{quads:new Set([e]),hash:null})}async _addRelatedBlankNodeHash({quad:e,component:t,position:n,id:o,issuer:r,hashToRelated:i}){if("BlankNode"!==t.termType||t.value===o)return;const a=t.value,s=await this.hashRelatedBlankNode(a,e,r,n),l=i.get(s);l?l.push(a):i.set(s,[a])}_componentWithCanonicalId(e){return"BlankNode"!==e.termType||e.value.startsWith(this.canonicalIssuer.prefix)?e:{termType:"BlankNode",value:this.canonicalIssuer.getId(e.value)}}async _yield(){return new Promise(e=>t(e))}}}).call(this,n(748).setImmediate)},607:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var o,r,i,a,s,l=1,c={},d=!1,u=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},o=function(e){i.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,o=function(e){var t=u.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),o=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return c[l]=r,o(l),l++},p.clearImmediate=f}function f(e){delete c[e]}function h(e){if(d)setTimeout(h,0,e);else{var t=c[e];if(t){d=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),d=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(12),n(749))},608:function(e,t,n){"use strict";
|
|
50
|
-
/*!
|
|
51
|
-
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
52
|
-
*/e.exports=class{constructor(e){this.current=e.sort(),this.done=!1,this.dir=new Map;for(let t=0;t<e.length;++t)this.dir.set(e[t],!0)}hasNext(){return!this.done}next(){const{current:e,dir:t}=this,n=e.slice();let o=null,r=0;const i=e.length;for(let n=0;n<i;++n){const a=e[n],s=t.get(a);(null===o||a>o)&&(s&&n>0&&a>e[n-1]||!s&&n<i-1&&a>e[n+1])&&(o=a,r=n)}if(null===o)this.done=!0;else{const n=t.get(o)?r-1:r+1;e[r]=e[n],e[n]=o;for(const n of e)n>o&&t.set(n,!t.get(n))}return n}}},609:function(e,t,n){"use strict";
|
|
53
|
-
/*!
|
|
54
|
-
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
55
|
-
*/const o=n(566),r=n(548),i=n(608),a=n(567);function s(e,t){return e.hash<t.hash?-1:e.hash>t.hash?1:0}e.exports=class{constructor({createMessageDigest:e=(()=>new r("sha256")),canonicalIdMap:t=new Map,maxDeepIterations:n=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new o("_:c14n",t),this.createMessageDigest=e,this.maxDeepIterations=n,this.quads=null,this.deepIterations=null}main(e){this.deepIterations=new Map,this.quads=e;for(const t of e)this._addBlankNodeQuadInfo({quad:t,component:t.subject}),this._addBlankNodeQuadInfo({quad:t,component:t.object}),this._addBlankNodeQuadInfo({quad:t,component:t.graph});const t=new Map,n=[...this.blankNodeInfo.keys()];for(const e of n)this._hashAndTrackBlankNode({id:e,hashToBlankNodes:t});const r=[...t.keys()].sort(),i=[];for(const e of r){const n=t.get(e);if(n.length>1){i.push(n);continue}const o=n[0];this.canonicalIssuer.getId(o)}for(const e of i){const t=[];for(const n of e){if(this.canonicalIssuer.hasId(n))continue;const e=new o("_:b");e.getId(n);const r=this.hashNDegreeQuads(n,e);t.push(r)}t.sort(s);for(const e of t){const t=e.issuer.getOldIds();for(const e of t)this.canonicalIssuer.getId(e)}}const l=[];for(const e of this.quads){const t=a.serializeQuadComponents(this._componentWithCanonicalId({component:e.subject}),e.predicate,this._componentWithCanonicalId({component:e.object}),this._componentWithCanonicalId({component:e.graph}));l.push(t)}return l.sort(),l.join("")}hashFirstDegreeQuads(e){const t=[],n=this.blankNodeInfo.get(e),o=n.quads;for(const n of o){const o={subject:null,predicate:n.predicate,object:null,graph:null};o.subject=this.modifyFirstDegreeComponent(e,n.subject,"subject"),o.object=this.modifyFirstDegreeComponent(e,n.object,"object"),o.graph=this.modifyFirstDegreeComponent(e,n.graph,"graph"),t.push(a.serializeQuad(o))}t.sort();const r=this.createMessageDigest();for(const e of t)r.update(e);return n.hash=r.digest(),n.hash}hashRelatedBlankNode(e,t,n,o){let r;r=this.canonicalIssuer.hasId(e)?this.canonicalIssuer.getId(e):n.hasId(e)?n.getId(e):this.blankNodeInfo.get(e).hash;const i=this.createMessageDigest();return i.update(o),"g"!==o&&i.update(this.getRelatedPredicate(t)),i.update(r),i.digest()}hashNDegreeQuads(e,t){const n=this.deepIterations.get(e)||0;if(n>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(e,n+1);const o=this.createMessageDigest(),r=this.createHashToRelated(e,t),a=[...r.keys()].sort();for(const e of a){o.update(e);let n,a="";const s=new i(r.get(e));for(;s.hasNext();){const e=s.next();let o=t.clone(),r="";const i=[];let l=!1;for(const t of e)if(this.canonicalIssuer.hasId(t)?r+=this.canonicalIssuer.getId(t):(o.hasId(t)||i.push(t),r+=o.getId(t)),0!==a.length&&r>a){l=!0;break}if(!l){for(const e of i){const t=this.hashNDegreeQuads(e,o);if(r+=o.getId(e),r+=`<${t.hash}>`,o=t.issuer,0!==a.length&&r>a){l=!0;break}}l||(0===a.length||r<a)&&(a=r,n=o)}}o.update(a),t=n}return{hash:o.digest(),issuer:t}}modifyFirstDegreeComponent(e,t){return"BlankNode"!==t.termType?t:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return`<${e.predicate.value}>`}createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;for(const r of o)this._addRelatedBlankNodeHash({quad:r,component:r.subject,position:"s",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:r,component:r.object,position:"o",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:r,component:r.graph,position:"g",id:e,issuer:t,hashToRelated:n});return n}_hashAndTrackBlankNode({id:e,hashToBlankNodes:t}){const n=this.hashFirstDegreeQuads(e),o=t.get(n);o?o.push(e):t.set(n,[e])}_addBlankNodeQuadInfo({quad:e,component:t}){if("BlankNode"!==t.termType)return;const n=t.value,o=this.blankNodeInfo.get(n);o?o.quads.add(e):this.blankNodeInfo.set(n,{quads:new Set([e]),hash:null})}_addRelatedBlankNodeHash({quad:e,component:t,position:n,id:o,issuer:r,hashToRelated:i}){if("BlankNode"!==t.termType||t.value===o)return;const a=t.value,s=this.hashRelatedBlankNode(a,e,r,n),l=i.get(s);l?l.push(a):i.set(s,[a])}_componentWithCanonicalId({component:e}){return"BlankNode"!==e.termType||e.value.startsWith(this.canonicalIssuer.prefix)?e:{termType:"BlankNode",value:this.canonicalIssuer.getId(e.value)}}}},611:function(e,t,n){"use strict";e.exports=class{constructor(){this._requests={}}wrapLoader(e){const t=this;return t._loader=e,function(){return t.add.apply(t,arguments)}}async add(e){let t=this._requests[e];if(t)return Promise.resolve(t);t=this._requests[e]=this._loader(e);try{return await t}finally{delete this._requests[e]}}}},612:function(e,t,n){"use strict";const o=n(756),r=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),d=Symbol("noDisposeOnSet"),u=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),h=()=>1;const v=(e,t,n)=>{const o=e[p].get(t);if(o){const t=o.value;if(g(e,t)){if(m(e,o),!e[s])return}else n&&(e[f]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},y=e=>{if(e[i]>e[r])for(let t=e[u].tail;e[i]>e[r]&&null!==t;){const n=t.prev;m(e,t),t=n}},m=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[i]-=n.length,e[p].delete(n.key),e[u].removeNode(t)}};class x{constructor(e,t,n,o,r){this.key=e,this.value=t,this.length=n,this.now=o,this.maxAge=r||0}}const b=(e,t,n,o)=>{let r=n.value;g(e,r)&&(m(e,n),e[s]||(r=void 0)),r&&t.call(o,r.value,r.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[r]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[d]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||1/0,y(this)}get max(){return this[r]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,y(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[i]=0,this[u].forEach(e=>{e.length=this[a](e.value,e.key),this[i]+=e.length})),y(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const o=n.prev;b(this,e,n,t),n=o}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const o=n.next;b(this,e,n,t),n=o}}keys(){return this[u].toArray().map(e=>e.key)}values(){return this[u].toArray().map(e=>e.value)}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach(e=>this[c](e.key,e.value)),this[p]=new Map,this[u]=new o,this[i]=0}dump(){return this[u].map(e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const o=n?Date.now():0,s=this[a](t,e);if(this[p].has(e)){if(s>this[r])return m(this,this[p].get(e)),!1;const a=this[p].get(e).value;return this[c]&&(this[d]||this[c](e,a.value)),a.now=o,a.maxAge=n,a.value=t,this[i]+=s-a.length,a.length=s,this.get(e),y(this),!0}const f=new x(e,t,s,o,n);return f.length>this[r]?(this[c]&&this[c](e,t),!1):(this[i]+=f.length,this[u].unshift(f),this[p].set(e,this[u].head),y(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!g(this,t)}get(e){return v(this,e,!0)}peek(e){return v(this,e,!1)}pop(){const e=this[u].tail;return e?(m(this,e),e.value):null}del(e){m(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const o=e[n],r=o.e||0;if(0===r)this.set(o.k,o.v);else{const e=r-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[p].forEach((e,t)=>v(this,t,!1))}}},747:function(e,t,n){"use strict";const o=n(606),r=n(750),i=n(609),a=n(751);let s;try{s=n(610)}catch(e){}function l(e){return Array.isArray(e)?e:t.NQuads.legacyDatasetToQuads(e)}t.NQuads=n(567),t.IdentifierIssuer=n(566),t._rdfCanonizeNative=function(e){return e&&(s=e),s},t.canonize=async function(e,t){const n=l(e);if(t.useNative){if(!s)throw new Error("rdf-canonize-native not available");if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return new Promise((e,o)=>s.canonize(n,t,(t,n)=>t?o(t):e(n)))}if("URDNA2015"===t.algorithm)return new o(t).main(n);if("URGNA2012"===t.algorithm){if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new r(t).main(n)}if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)},t._canonizeSync=function(e,t){const n=l(e);if(t.useNative){if(!s)throw new Error("rdf-canonize-native not available");if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return s.canonizeSync(n,t)}if("URDNA2015"===t.algorithm)return new i(t).main(n);if("URGNA2012"===t.algorithm){if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new a(t).main(n)}if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)}},748:function(e,t,n){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(607),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(12))},749:function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var l,c=[],d=!1,u=-1;function p(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&f())}function f(){if(!d){var e=s(p);d=!0;for(var t=c.length;t;){for(l=c,c=[];++u<t;)l&&l[u].run();u=-1,t=c.length}l=null,d=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||d||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},750:function(e,t,n){"use strict";
|
|
56
|
-
/*!
|
|
57
|
-
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
58
|
-
*/const o=n(548),r=n(606);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new o("sha1")}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}async createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;let r=0;for(const i of o){let o,a;if("BlankNode"===i.subject.termType&&i.subject.value!==e)a=i.subject.value,o="p";else{if("BlankNode"!==i.object.termType||i.object.value===e)continue;a=i.object.value,o="r"}++r%100==0&&await this._yield();const s=await this.hashRelatedBlankNode(a,i,t,o),l=n.get(s);l?l.push(a):n.set(s,[a])}return n}}},751:function(e,t,n){"use strict";
|
|
59
|
-
/*!
|
|
60
|
-
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
|
|
61
|
-
*/const o=n(548),r=n(609);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new o("sha1")}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;for(const r of o){let o,i;if("BlankNode"===r.subject.termType&&r.subject.value!==e)i=r.subject.value,o="p";else{if("BlankNode"!==r.object.termType||r.object.value===e)continue;i=r.object.value,o="r"}const a=this.hashRelatedBlankNode(i,r,t,o),s=n.get(a);s?s.push(i):n.set(a,[i])}return n}}},752:function(e,t,n){"use strict";const o=n(753),r={};e.exports=r,r.setupDocumentLoaders=function(e){"undefined"!=typeof XMLHttpRequest&&(e.documentLoaders.xhr=o,e.useDocumentLoader("xhr"))},r.setupGlobals=function(e){void 0===globalThis.JsonLdProcessor&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:e.JsonLdProcessor})}},753:function(e,t,n){"use strict";const{parseLinkHeader:o,buildHeaders:r}=n(506),{LINK_HEADER_CONTEXT:i}=n(568),a=n(507),s=n(611),{prependBase:l}=n(516),c=/(^|(\r\n))link:/i;e.exports=({secure:e,headers:t={},xhr:n}={headers:{}})=>{t=r(t);return(new s).wrapLoader((async function r(s){if(0!==s.indexOf("http:")&&0!==s.indexOf("https:"))throw new a('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:s});if(e&&0!==s.indexOf("https"))throw new a('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:s});let d;try{d=await function(e,t,n){const o=new(e=e||XMLHttpRequest);return new Promise((e,r)=>{o.onload=()=>e(o),o.onerror=e=>r(e),o.open("GET",t,!0);for(const e in n)o.setRequestHeader(e,n[e]);o.send()})}(n,s,t)}catch(e){throw new a("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:s,cause:e})}if(d.status>=400)throw new a("URL could not be dereferenced: "+d.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:s,httpStatusCode:d.status});let u={contextUrl:null,documentUrl:s,document:d.response},p=null;const f=d.getResponseHeader("Content-Type");let h;c.test(d.getAllResponseHeaders())&&(h=d.getResponseHeader("Link"));if(h&&"application/ld+json"!==f){const e=o(h),t=e[i];if(Array.isArray(t))throw new a("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:s});t&&(u.contextUrl=t.target),p=e.alternate,p&&"application/ld+json"==p.type&&!(f||"").match(/^application\/(\w*\+)?json$/)&&(u=await r(l(s,p.target)))}return u}))}},754:function(e,t,n){"use strict";const{isArray:o,isObject:r,isString:i}=n(504),{asArray:a}=n(506),{prependBase:s}=n(516),l=n(507),c=n(755);function d(e){throw new l("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:e})}e.exports=class{constructor({sharedCache:e}){this.perOpCache=new Map,this.sharedCache=e}async resolve({activeCtx:e,context:t,documentLoader:n,base:s,cycles:l=new Set}){t&&r(t)&&t["@context"]&&(t=t["@context"]),t=a(t);const u=[];for(const a of t){if(i(a)){let t=this._get(a);t||(t=await this._resolveRemoteContext({activeCtx:e,url:a,documentLoader:n,base:s,cycles:l})),o(t)?u.push(...t):u.push(t);continue}if(null===a){u.push(new c({document:null}));continue}r(a)||d(t);const p=JSON.stringify(a);let f=this._get(p);f||(f=new c({document:a}),this._cacheResolvedContext({key:p,resolved:f,tag:"static"})),u.push(f)}return u}_get(e){let t=this.perOpCache.get(e);if(!t){const n=this.sharedCache.get(e);n&&(t=n.get("static"),t&&this.perOpCache.set(e,t))}return t}_cacheResolvedContext({key:e,resolved:t,tag:n}){if(this.perOpCache.set(e,t),void 0!==n){let o=this.sharedCache.get(e);o||(o=new Map,this.sharedCache.set(e,o)),o.set(n,t)}return t}async _resolveRemoteContext({activeCtx:e,url:t,documentLoader:n,base:a,cycles:l}){t=s(a,t);const{context:c,remoteDoc:d}=await this._fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:l});(function e({context:t,base:n}){if(!t)return;const a=t["@context"];if(i(a))return void(t["@context"]=s(n,a));if(o(a)){for(let t=0;t<a.length;++t){const o=a[t];i(o)?a[t]=s(n,o):r(o)&&e({context:{"@context":o},base:n})}return}if(!r(a))return;for(const t in a)e({context:a[t],base:n})})({context:c,base:a=d.documentUrl||t});const u=await this.resolve({activeCtx:e,context:c,documentLoader:n,base:a,cycles:l});return this._cacheResolvedContext({key:t,resolved:u,tag:d.tag}),u}async _fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:a}){if(a.size>10)throw new l("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"loading remote context failed":"context overflow",max:10});if(a.has(t))throw new l("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"recursive context inclusion":"context overflow",url:t});let s,c;a.add(t);try{c=await n(t),s=c.document||null,i(s)&&(s=JSON.parse(s))}catch(e){throw new l("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:t,cause:e})}if(!r(s))throw new l("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:t});return s="@context"in s?{"@context":s["@context"]}:{"@context":{}},c.contextUrl&&(o(s["@context"])||(s["@context"]=[s["@context"]]),s["@context"].push(c.contextUrl)),{context:s,remoteDoc:c}}}},755:function(e,t,n){"use strict";const o=n(612);e.exports=class{constructor({document:e}){this.document=e,this.cache=new o({max:10})}getProcessed(e){return this.cache.get(e)}setProcessed(e,t){this.cache.set(e,t)}}},756:function(e,t,n){"use strict";function o(e){var t=this;if(t instanceof o||(t=new o),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}function r(e,t,n){var o=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===o.next&&(e.tail=o),null===o.prev&&(e.head=o),e.length++,o}function i(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,o){if(!(this instanceof s))return new s(e,t,n,o);this.list=o,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=o,o.Node=s,o.create=o,o.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},o.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},o.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},o.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},o.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},o.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},o.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},o.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,o=0;null!==n;o++)e.call(t,n.value,o,this),n=n.next},o.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,o=this.length-1;null!==n;o--)e.call(t,n.value,o,this),n=n.prev},o.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},o.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},o.prototype.map=function(e,t){t=t||this;for(var n=new o,r=this.head;null!==r;)n.push(e.call(t,r.value,this)),r=r.next;return n},o.prototype.mapReverse=function(e,t){t=t||this;for(var n=new o,r=this.tail;null!==r;)n.push(e.call(t,r.value,this)),r=r.prev;return n},o.prototype.reduce=function(e,t){var n,o=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,n=this.head.value}for(var r=0;null!==o;r++)n=e(n,o.value,r),o=o.next;return n},o.prototype.reduceReverse=function(e,t){var n,o=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,n=this.tail.value}for(var r=this.length-1;null!==o;r--)n=e(n,o.value,r),o=o.prev;return n},o.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},o.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},o.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new o;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;for(;null!==i&&r<t;r++,i=i.next)n.push(i.value);return n},o.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new o;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,i=this.tail;null!==i&&r>t;r--)i=i.prev;for(;null!==i&&r>e;r--,i=i.prev)n.push(i.value);return n},o.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;var a=[];for(o=0;i&&o<t;o++)a.push(i.value),i=this.removeNode(i);null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(o=0;o<n.length;o++)i=r(this,i,n[o]);return a},o.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var o=n.prev;n.prev=n.next,n.next=o}return this.head=t,this.tail=e,this};try{n(757)(o)}catch(e){}},757:function(e,t,n){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},758:function(e,t,n){"use strict";e.exports=n(565).NQuads},759:function(e,t,n){"use strict";const o=n(507),{isArray:r,isObject:i,isEmptyObject:a,isString:s,isUndefined:l}=n(504),{isList:c,isValue:d,isGraph:u,isSubject:p}=n(514),{expandIri:f,getContextValue:h,isKeyword:v,process:g,processingMode:y}=n(521),{isAbsolute:m}=n(516),{REGEX_BCP47:x,REGEX_KEYWORD:b,addValue:w,asArray:j,getValues:I,validateTypeValue:N}=n(506),{handleEvent:S}=n(533),E={};function O({value:e,count:t,options:n}){if(0===t||"@value"in e||"@list"in e||1===t&&"@id"in e){if(n.eventHandler){let o,r;0===t?(o="empty object",r="Dropping empty object."):"@value"in e?(o="object with only @value",r="Dropping object with only @value."):"@list"in e?(o="object with only @list",r="Dropping object with only @list."):1===t&&"@id"in e&&(o="object with only @id",r="Dropping object with only @id."),S({event:{type:["JsonLdEvent"],code:o,level:"warning",message:r,details:{value:e}},options:n})}return null}return e}function k({activeCtx:e,activeProperty:t,value:n,options:o}){if(null==n)return null;const r=f(e,t,{vocab:!0},o);if("@id"===r)return f(e,n,{base:!0},o);if("@type"===r)return f(e,n,{vocab:!0,base:!0},{...o,typeExpansion:!0});const i=h(e,t,"@type");if(("@id"===i||"@graph"===r)&&s(n)){const r=f(e,n,{base:!0},o);return null===r&&n.match(b)&&o.eventHandler&&S({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:t}},options:o}),{"@id":r}}if("@vocab"===i&&s(n))return{"@id":f(e,n,{vocab:!0,base:!0},o)};if(v(r))return n;const a={};if(i&&!["@id","@vocab","@none"].includes(i))a["@type"]=i;else if(s(n)){const n=h(e,t,"@language");null!==n&&(a["@language"]=n);const o=h(e,t,"@direction");null!==o&&(a["@direction"]=o)}return["boolean","number","string"].includes(typeof n)||(n=n.toString()),a["@value"]=n,a}function D(e,t,n,i){const a=[],l=Object.keys(t).sort();for(const c of l){const l=f(e,c,{vocab:!0},i);let d=t[c];r(d)||(d=[d]);for(const e of d){if(null===e)continue;if(!s(e))throw new o("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:t});const r={"@value":e};"@none"!==l&&(c.match(x)||i.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:c}},options:i}),r["@language"]=c.toLowerCase()),n&&(r["@direction"]=n),a.push(r)}}return a}async function C({activeCtx:e,options:t,activeProperty:n,value:i,asGraph:a,indexKey:s,propertyIndex:c}){const p=[],v=Object.keys(i).sort(),y="@type"===s;for(let m of v){if(y){const n=h(e,m,"@context");l(n)||(e=await g({activeCtx:e,localCtx:n,propagate:!1,options:t}))}let v,x=i[m];r(x)||(x=[x]),x=await E.expand({activeCtx:e,activeProperty:n,element:x,options:t,insideList:!1,insideIndex:!0}),v=c?"@none"===m?"@none":k({activeCtx:e,activeProperty:s,value:m,options:t}):f(e,m,{vocab:!0},t),"@id"===s?m=f(e,m,{base:!0},t):y&&(m=v);for(let e of x){if(a&&!u(e)&&(e={"@graph":[e]}),"@type"===s)"@none"===v||(e["@type"]?e["@type"]=[m].concat(e["@type"]):e["@type"]=[m]);else{if(d(e)&&!["@language","@type","@index"].includes(s))throw new o(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${s}".`,"jsonld.SyntaxError",{code:"invalid value object",value:e});c?"@none"!==v&&w(e,c,v,{propertyIsArray:!0,prependValue:!0}):"@none"===v||s in e||(e[s]=m)}p.push(e)}}return p}e.exports=E,E.expand=async({activeCtx:e,activeProperty:t=null,element:n,options:u={},insideList:b=!1,insideIndex:L=!1,typeScopedContext:T=null})=>{if(null==n)return null;if("@default"===t&&(u=Object.assign({},u,{isFrame:!1})),!r(n)&&!i(n))return b||null!==t&&"@graph"!==f(e,t,{vocab:!0},u)?k({activeCtx:e,activeProperty:t,value:n,options:u}):(u.eventHandler&&S({event:{type:["JsonLdEvent"],code:"free-floating scalar",level:"warning",message:"Dropping free-floating scalar not in a list.",details:{value:n}},options:u}),null);if(r(n)){let o=[];const i=h(e,t,"@container")||[];b=b||i.includes("@list");for(let i=0;i<n.length;++i){let a=await E.expand({activeCtx:e,activeProperty:t,element:n[i],options:u,insideIndex:L,typeScopedContext:T});b&&r(a)&&(a={"@list":a}),null!==a&&(r(a)?o=o.concat(a):o.push(a))}return o}const R=f(e,t,{vocab:!0},u),A=h(e,t,"@context");T=T||(e.previousContext?e:null);let _=Object.keys(n).sort(),M=!L;if(M&&T&&_.length<=2&&!_.includes("@context"))for(const t of _){const n=f(T,t,{vocab:!0},u);if("@value"===n){M=!1,e=T;break}if("@id"===n&&1===_.length){M=!1;break}}M&&(e=e.revertToPreviousContext()),l(A)||(e=await g({activeCtx:e,localCtx:A,propagate:!0,overrideProtected:!0,options:u})),"@context"in n&&(e=await g({activeCtx:e,localCtx:n["@context"],options:u})),T=e;let J=null;for(const t of _){if("@type"===f(e,t,{vocab:!0},u)){J=J||t;const o=n[t],r=Array.isArray(o)?o.length>1?o.slice().sort():o:[o];for(const t of r){const n=h(T,t,"@context");l(n)||(e=await g({activeCtx:e,localCtx:n,options:u,propagate:!1}))}}}let P={};await async function e({activeCtx:t,activeProperty:n,expandedActiveProperty:u,element:b,expandedParent:I,options:k={},insideList:L,typeKey:T,typeScopedContext:R}){const A=Object.keys(b).sort(),_=[];let M;const J=b[T]&&"@json"===f(t,r(b[T])?b[T][0]:b[T],{vocab:!0},{...k,typeExpansion:!0});for(const e of A){let L,T=b[e];if("@context"===e)continue;const A=f(t,e,{vocab:!0},k);if(null===A||!m(A)&&!v(A)){k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid property",level:"warning",message:"Dropping property that did not expand into an absolute IRI or keyword.",details:{property:e,expandedProperty:A}},options:k});continue}if(v(A)){if("@reverse"===u)throw new o("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:T});if(A in I&&"@included"!==A&&"@type"!==A)throw new o("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:A})}if("@id"===A){if(!s(T)){if(!k.isFrame)throw new o('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:T});if(i(T)){if(!a(T))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:T})}else{if(!r(T))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:T});if(!T.every(e=>s(e)))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:T})}}w(I,"@id",j(T).map(e=>{if(s(e)){const n=f(t,e,{base:!0},k);return k.eventHandler&&(null===n?S(null===e?{event:{type:["JsonLdEvent"],code:"null @id value",level:"warning",message:"Null @id found.",details:{id:e}},options:k}:{event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:e}},options:k}):m(n)||S({event:{type:["JsonLdEvent"],code:"relative @id reference",level:"warning",message:"Relative @id reference found.",details:{id:e,expandedId:n}},options:k})),n}return e}),{propertyIsArray:k.isFrame});continue}if("@type"===A){i(T)&&(T=Object.fromEntries(Object.entries(T).map(([e,t])=>[f(R,e,{vocab:!0}),j(t).map(e=>f(R,e,{base:!0,vocab:!0},{...k,typeExpansion:!0}))]))),N(T,k.isFrame),w(I,"@type",j(T).map(e=>{if(s(e)){const t=f(R,e,{base:!0,vocab:!0},{...k,typeExpansion:!0});return"@json"===t||m(t)||k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"relative @type reference",level:"warning",message:"Relative @type reference found.",details:{type:e}},options:k}),t}return e}),{propertyIsArray:!!k.isFrame});continue}if("@included"===A&&y(t,1.1)){const e=j(await E.expand({activeCtx:t,activeProperty:n,element:T,options:k}));if(!e.every(e=>p(e)))throw new o("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:T});w(I,"@included",e,{propertyIsArray:!0});continue}if("@graph"===A&&!i(T)&&!r(T))throw new o('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:T});if("@value"===A){M=T,J&&y(t,1.1)?I["@value"]=T:w(I,"@value",T,{propertyIsArray:k.isFrame});continue}if("@language"===A){if(null===T)continue;if(!s(T)&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:T});T=j(T).map(e=>s(e)?e.toLowerCase():e);for(const e of T)s(e)&&!e.match(x)&&k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e}},options:k});w(I,"@language",T,{propertyIsArray:k.isFrame});continue}if("@direction"===A){if(!s(T)&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:T});T=j(T);for(const e of T)if(s(e)&&"ltr"!==e&&"rtl"!==e)throw new o('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:T});w(I,"@direction",T,{propertyIsArray:k.isFrame});continue}if("@index"===A){if(!s(T))throw new o('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:T});w(I,"@index",T);continue}if("@reverse"===A){if(!i(T))throw new o('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:T});if(L=await E.expand({activeCtx:t,activeProperty:"@reverse",element:T,options:k}),"@reverse"in L)for(const e in L["@reverse"])w(I,e,L["@reverse"][e],{propertyIsArray:!0});let e=I["@reverse"]||null;for(const t in L){if("@reverse"===t)continue;null===e&&(e=I["@reverse"]={}),w(e,t,[],{propertyIsArray:!0});const n=L[t];for(let r=0;r<n.length;++r){const i=n[r];if(d(i)||c(i))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:L});w(e,t,i,{propertyIsArray:!0})}}continue}if("@nest"===A){_.push(e);continue}let P=t;const B=h(t,e,"@context");l(B)||(P=await g({activeCtx:t,localCtx:B,propagate:!0,overrideProtected:!0,options:k}));const H=h(t,e,"@container")||[];if(H.includes("@language")&&i(T)){const t=h(P,e,"@direction");L=D(P,T,t,k)}else if(H.includes("@index")&&i(T)){const n=H.includes("@graph"),o=h(P,e,"@index")||"@index",r="@index"!==o&&f(t,o,{vocab:!0},k);L=await C({activeCtx:P,options:k,activeProperty:e,value:T,asGraph:n,indexKey:o,propertyIndex:r})}else if(H.includes("@id")&&i(T)){const t=H.includes("@graph");L=await C({activeCtx:P,options:k,activeProperty:e,value:T,asGraph:t,indexKey:"@id"})}else if(H.includes("@type")&&i(T))L=await C({activeCtx:P.revertToPreviousContext(),options:k,activeProperty:e,value:T,asGraph:!1,indexKey:"@type"});else{const o="@list"===A;if(o||"@set"===A){let e=n;o&&"@graph"===u&&(e=null),L=await E.expand({activeCtx:P,activeProperty:e,element:T,options:k,insideList:o})}else L="@json"===h(t,e,"@type")?{"@type":"@json","@value":T}:await E.expand({activeCtx:P,activeProperty:e,element:T,options:k,insideList:!1})}if(null!==L||"@value"===A){if("@list"!==A&&!c(L)&&H.includes("@list")&&(L={"@list":j(L)}),H.includes("@graph")&&!H.some(e=>"@id"===e||"@index"===e)){if(L=j(L),k.isFrame||(L=L.filter(e=>null!==O({value:e,count:Object.keys(e).length,options:k}))),0===L.length)continue;L=L.map(e=>({"@graph":j(e)}))}if(P.mappings.has(e)&&P.mappings.get(e).reverse){const e=I["@reverse"]=I["@reverse"]||{};L=j(L);for(let t=0;t<L.length;++t){const n=L[t];if(d(n)||c(n))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:L});w(e,A,n,{propertyIsArray:!0})}}else w(I,A,L,{propertyIsArray:!0})}}if("@value"in I)if("@json"===I["@type"]&&y(t,1.1));else if((i(M)||r(M))&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:M});for(const a of _){const s=r(b[a])?b[a]:[b[a]];for(const r of s){if(!i(r)||Object.keys(r).some(e=>"@value"===f(t,e,{vocab:!0},k)))throw new o("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:r});await e({activeCtx:t,activeProperty:n,expandedActiveProperty:u,element:r,expandedParent:I,options:k,insideList:L,typeScopedContext:R,typeKey:T})}}}({activeCtx:e,activeProperty:t,expandedActiveProperty:R,element:n,expandedParent:P,options:u,insideList:b,typeKey:J,typeScopedContext:T}),_=Object.keys(P);let B=_.length;if("@value"in P){if("@type"in P&&("@language"in P||"@direction"in P))throw new o('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:P});let t=B-1;if("@type"in P&&(t-=1),"@index"in P&&(t-=1),"@language"in P&&(t-=1),"@direction"in P&&(t-=1),0!==t)throw new o('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:P});const n=null===P["@value"]?[]:j(P["@value"]),r=I(P,"@type");if(y(e,1.1)&&r.includes("@json")&&1===r.length);else if(0===n.length)u.eventHandler&&S({event:{type:["JsonLdEvent"],code:"null @value value",level:"warning",message:"Dropping null @value value.",details:{value:P}},options:u}),P=null;else{if(!n.every(e=>s(e)||a(e))&&"@language"in P)throw new o("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:P});if(!r.every(e=>m(e)&&!(s(e)&&0===e.indexOf("_:"))||a(e)))throw new o('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:P})}}else if("@type"in P&&!r(P["@type"]))P["@type"]=[P["@type"]];else if("@set"in P||"@list"in P){if(B>1&&(2!==B||!("@index"in P)))throw new o('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:P});"@set"in P&&(P=P["@set"],_=Object.keys(P),B=_.length)}else 1===B&&"@language"in P&&(u.eventHandler&&S({event:{type:["JsonLdEvent"],code:"object with only @language",level:"warning",message:"Dropping object with only @language.",details:{value:P}},options:u}),P=null);return!i(P)||u.keepFreeFloatingNodes||b||null!==t&&"@graph"!==R&&!(h(e,t,"@container")||[]).includes("@graph")||(P=O({value:P,count:B,options:u})),P}},760:function(e,t,n){"use strict";const{isSubjectReference:o}=n(514),{createMergedNodeMap:r}=n(549),i={};e.exports=i,i.flatten=e=>{const t=r(e),n=[],i=Object.keys(t).sort();for(let e=0;e<i.length;++e){const r=t[i[e]];o(r)||n.push(r)}return n}},761:function(e,t,n){"use strict";const o=n(507),r=n(514),i=n(504),{REGEX_BCP47:a,addValue:s}=n(506),{handleEvent:l}=n(533),{RDF_LIST:c,RDF_FIRST:d,RDF_REST:u,RDF_NIL:p,RDF_TYPE:f,RDF_JSON_LITERAL:h,XSD_BOOLEAN:v,XSD_DOUBLE:g,XSD_INTEGER:y,XSD_STRING:m}=n(568),x={};function b(e,t,n,r){if(e.termType.endsWith("Node"))return{"@id":e.value};const s={"@value":e.value};if(e.language)e.language.match(a)||r.eventHandler&&l({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e.language}},options:r}),s["@language"]=e.language;else{let c=e.datatype.value;if(c||(c=m),c===h){c="@json";try{s["@value"]=JSON.parse(s["@value"])}catch(e){throw new o("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:s["@value"],cause:e})}}if(t){if(c===v)"true"===s["@value"]?s["@value"]=!0:"false"===s["@value"]&&(s["@value"]=!1);else if(i.isNumeric(s["@value"]))if(c===y){const e=parseInt(s["@value"],10);e.toFixed(0)===s["@value"]&&(s["@value"]=e)}else c===g&&(s["@value"]=parseFloat(s["@value"]));[v,y,g,m].includes(c)||(s["@type"]=c)}else if("i18n-datatype"===n&&c.startsWith("https://www.w3.org/ns/i18n#")){const[,e,t]=c.split(/[#_]/);e.length>0&&(s["@language"]=e,e.match(a)||r.eventHandler&&l({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e}},options:r})),s["@direction"]=t}else c!==m&&(s["@type"]=c)}return s}e.exports=x,x.fromRDF=async(e,t)=>{const{useRdfType:n=!1,useNativeTypes:a=!1,rdfDirection:l=null}=t,h={},v={"@default":h},g={};if(l){if("compound-literal"===l)throw new o("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:l});if("i18n-datatype"!==l)throw new o("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:l})}for(const o of e){const e="DefaultGraph"===o.graph.termType?"@default":o.graph.value;e in v||(v[e]={}),"@default"===e||e in h||(h[e]={"@id":e});const r=v[e],i=o.subject.value,c=o.predicate.value,d=o.object;i in r||(r[i]={"@id":i});const u=r[i],y=d.termType.endsWith("Node");if(y&&!(d.value in r)&&(r[d.value]={"@id":d.value}),c===f&&!n&&y){s(u,"@type",d.value,{propertyIsArray:!0});continue}const m=b(d,a,l,t);if(s(u,c,m,{propertyIsArray:!0}),y)if(d.value===p){const e=r[d.value];"usages"in e||(e.usages=[]),e.usages.push({node:u,property:c,value:m})}else d.value in g?g[d.value]=!1:g[d.value]={node:u,property:c,value:m}}for(const e in v){const t=v[e];if(!(p in t))continue;const n=t[p];if(n.usages){for(let e of n.usages){let n=e.node,o=e.property,a=e.value;const s=[],l=[];let p=Object.keys(n).length;for(;o===u&&i.isObject(g[n["@id"]])&&i.isArray(n[d])&&1===n[d].length&&i.isArray(n[u])&&1===n[u].length&&(3===p||4===p&&i.isArray(n["@type"])&&1===n["@type"].length&&n["@type"][0]===c)&&(s.push(n[d][0]),l.push(n["@id"]),e=g[n["@id"]],n=e.node,o=e.property,a=e.value,p=Object.keys(n).length,r.isBlankNode(n)););delete a["@id"],a["@list"]=s.reverse();for(const e of l)delete t[e]}delete n.usages}}const y=[],m=Object.keys(h).sort();for(const e of m){const t=h[e];if(e in v){const n=t["@graph"]=[],o=v[e],i=Object.keys(o).sort();for(const e of i){const t=o[e];r.isSubjectReference(t)||n.push(t)}}r.isSubjectReference(t)||y.push(t)}return y}},762:function(e,t,n){"use strict";const{createNodeMap:o}=n(549),{isKeyword:r}=n(521),i=n(514),a=n(763),s=n(507),l=n(504),c=n(506),{handleEvent:d}=n(533),{RDF_FIRST:u,RDF_REST:p,RDF_NIL:f,RDF_TYPE:h,RDF_JSON_LITERAL:v,RDF_LANGSTRING:g,XSD_BOOLEAN:y,XSD_DOUBLE:m,XSD_INTEGER:x,XSD_STRING:b}=n(568),{isAbsolute:w}=n(516),j={};function I(e,t,n,o,i){const a=Object.keys(t).sort();for(const s of a){const a=t[s],l=Object.keys(a).sort();for(let t of l){const l=a[t];if("@type"===t)t=h;else if(r(t))continue;for(const r of l){const a={termType:s.startsWith("_:")?"BlankNode":"NamedNode",value:s};if(!w(s)){i.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative subject reference",level:"warning",message:"Relative subject reference found.",details:{subject:s}},options:i});continue}const l={termType:t.startsWith("_:")?"BlankNode":"NamedNode",value:t};if(!w(t)){i.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative predicate reference",level:"warning",message:"Relative predicate reference found.",details:{predicate:t}},options:i});continue}if("BlankNode"===l.termType&&!i.produceGeneralizedRdf){i.eventHandler&&d({event:{type:["JsonLdEvent"],code:"blank node predicate",level:"warning",message:"Dropping blank node predicate.",details:{property:o.getOldIds().find(e=>o.getId(e)===t)}},options:i});continue}const c=N(r,o,e,n,i.rdfDirection,i);c&&e.push({subject:a,predicate:l,object:c,graph:n})}}}}function N(e,t,n,o,r,c){const h={};if(i.isValue(e)){h.termType="Literal",h.value=void 0,h.datatype={termType:"NamedNode"};let t=e["@value"];const n=e["@type"]||null;if("@json"===n)h.value=a(t),h.datatype.value=v;else if(l.isBoolean(t))h.value=t.toString(),h.datatype.value=n||y;else if(l.isDouble(t)||n===m)l.isDouble(t)||(t=parseFloat(t)),h.value=t.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),h.datatype.value=n||m;else if(l.isNumber(t))h.value=t.toFixed(0),h.datatype.value=n||x;else if("@direction"in e&&"i18n-datatype"===r){const n=`https://www.w3.org/ns/i18n#${(e["@language"]||"").toLowerCase()}_${e["@direction"]}`;h.datatype.value=n,h.value=t}else{if("@direction"in e&&"compound-literal"===r)throw new s("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:r});if("@direction"in e&&r)throw new s("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:r});"@language"in e?("@direction"in e&&!r&&c.eventHandler&&d({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:h.value}},options:c}),h.value=t,h.datatype.value=n||g,h.language=e["@language"]):("@direction"in e&&!r&&c.eventHandler&&d({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:h.value}},options:c}),h.value=t,h.datatype.value=n||b)}}else if(i.isList(e)){const i=function(e,t,n,o,r,i){const a={termType:"NamedNode",value:u},s={termType:"NamedNode",value:p},l={termType:"NamedNode",value:f},c=e.pop(),d=c?{termType:"BlankNode",value:t.getId()}:l;let h=d;for(const l of e){const e=N(l,t,n,o,r,i),c={termType:"BlankNode",value:t.getId()};n.push({subject:h,predicate:a,object:e,graph:o}),n.push({subject:h,predicate:s,object:c,graph:o}),h=c}if(c){const e=N(c,t,n,o,r,i);n.push({subject:h,predicate:a,object:e,graph:o}),n.push({subject:h,predicate:s,object:l,graph:o})}return d}(e["@list"],t,n,o,r,c);h.termType=i.termType,h.value=i.value}else{const t=l.isObject(e)?e["@id"]:e;h.termType=t.startsWith("_:")?"BlankNode":"NamedNode",h.value=t}return"NamedNode"!==h.termType||w(h.value)?h:(c.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative object reference",level:"warning",message:"Relative object reference found.",details:{object:h.value}},options:c}),null)}e.exports=j,j.toRDF=(e,t)=>{const n=new c.IdentifierIssuer("_:b"),r={"@default":{}};o(e,r,"@default",n);const i=[],a=Object.keys(r).sort();for(const e of a){let o;if("@default"===e)o={termType:"DefaultGraph",value:""};else{if(!w(e)){t.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative graph reference",level:"warning",message:"Relative graph reference found.",details:{graph:e}},options:t});continue}o=e.startsWith("_:")?{termType:"BlankNode"}:{termType:"NamedNode"},o.value=e}I(i,r[e],o,n,t)}return i}},763:function(e,t,n){"use strict";e.exports=function e(t){return null===t||"object"!=typeof t||null!=t.toJSON?JSON.stringify(t):Array.isArray(t)?"["+t.reduce((t,n,o)=>t+(0===o?"":",")+e(void 0===n||"symbol"==typeof n?null:n),"")+"]":"{"+Object.keys(t).sort().reduce((n,o,r)=>{if(void 0===t[o]||"symbol"==typeof t[o])return n;return n+(0===n.length?"":",")+e(o)+":"+e(t[o])},"")+"}"}},764:function(e,t,n){"use strict";const{isKeyword:o}=n(521),r=n(514),i=n(504),a=n(506),s=n(516),l=n(507),{createNodeMap:c,mergeNodeMapGraphs:d}=n(549),u={};function p(e){const t={};for(const n in e)void 0!==e[n]&&(t["@"+n]=[e[n]]);return[t]}function f(e,t,n){for(let o=n.length-1;o>=0;--o){const r=n[o];if(r.graph===t&&r.subject["@id"]===e["@id"])return!0}return!1}function h(e,t,n){const o="@"+n;let r=o in e?e[o][0]:t[n];if("embed"===n)if(!0===r)r="@once";else if(!1===r)r="@never";else if("@always"!==r&&"@never"!==r&&"@link"!==r&&"@first"!==r&&"@last"!==r&&"@once"!==r)throw new l("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:e});return r}function v(e){if(!i.isArray(e)||1!==e.length||!i.isObject(e[0]))throw new l("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:e});if("@id"in e[0])for(const t of a.asArray(e[0]["@id"]))if(!i.isObject(t)&&!s.isAbsolute(t)||i.isString(t)&&0===t.indexOf("_:"))throw new l("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e});if("@type"in e[0])for(const t of a.asArray(e[0]["@type"]))if(!i.isObject(t)&&!s.isAbsolute(t)&&"@json"!==t||i.isString(t)&&0===t.indexOf("_:"))throw new l("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e})}function g(e,t,n,s){let l=!0,c=!1;for(const d in n){let u=!1;const p=a.getValues(t,d),f=0===a.getValues(n,d).length;if("@id"===d){if(i.isEmptyObject(n["@id"][0]||{})?u=!0:n["@id"].length>=0&&(u=n["@id"].includes(p[0])),!s.requireAll)return u}else if("@type"===d){if(l=!1,f){if(p.length>0)return!1;u=!0}else if(1===n["@type"].length&&i.isEmptyObject(n["@type"][0]))u=p.length>0;else for(const e of n["@type"])u=!(!i.isObject(e)||!("@default"in e))||(u||p.some(t=>t===e));if(!s.requireAll)return u}else{if(o(d))continue;{const t=a.getValues(n,d)[0];let o=!1;if(t&&(v([t]),o="@default"in t),l=!1,0===p.length&&o)continue;if(p.length>0&&f)return!1;if(void 0===t){if(p.length>0)return!1;u=!0}else if(r.isList(t)){const n=t["@list"][0];if(r.isList(p[0])){const t=p[0]["@list"];r.isValue(n)?u=t.some(e=>b(n,e)):(r.isSubject(n)||r.isSubjectReference(n))&&(u=t.some(t=>x(e,n,t,s)))}}else u=r.isValue(t)?p.some(e=>b(t,e)):r.isSubjectReference(t)?p.some(n=>x(e,t,n,s)):!!i.isObject(t)&&p.length>0}}if(!u&&s.requireAll)return!1;c=c||u}return l||c}function y(e,t){const n=e.uniqueEmbeds[e.graph],o=n[t],r=o.parent,s=o.property,l={"@id":t};if(i.isArray(r)){for(let e=0;e<r.length;++e)if(a.compareValues(r[e],l)){r[e]=l;break}}else{const e=i.isArray(r[s]);a.removeValue(r,s,l,{propertyIsArray:e}),a.addValue(r,s,l,{propertyIsArray:e})}const c=e=>{const t=Object.keys(n);for(const o of t)o in n&&i.isObject(n[o].parent)&&n[o].parent["@id"]===e&&(delete n[o],c(o))};c(t)}
|
|
62
|
-
/**
|
|
63
|
-
* Removes the @preserve keywords from expanded result of framing.
|
|
64
|
-
*
|
|
65
|
-
* @param input the framed, framed output.
|
|
66
|
-
* @param options the framing options used.
|
|
67
|
-
*
|
|
68
|
-
* @return the resulting output.
|
|
69
|
-
*/function m(e,t,n){i.isObject(e)?a.addValue(e,t,n,{propertyIsArray:!0}):e.push(n)}function x(e,t,n,o){if(!("@id"in n))return!1;const r=e.subjects[n["@id"]];return r&&g(e,r,t,o)}function b(e,t){const n=t["@value"],o=t["@type"],r=t["@language"],a=e["@value"]?i.isArray(e["@value"])?e["@value"]:[e["@value"]]:[],s=e["@type"]?i.isArray(e["@type"])?e["@type"]:[e["@type"]]:[],l=e["@language"]?i.isArray(e["@language"])?e["@language"]:[e["@language"]]:[];return 0===a.length&&0===s.length&&0===l.length||!(!a.includes(n)&&!i.isEmptyObject(a[0]))&&(!!(!o&&0===s.length||s.includes(o)||o&&i.isEmptyObject(s[0]))&&!!(!r&&0===l.length||l.includes(r)||r&&i.isEmptyObject(l[0])))}e.exports=u,u.frameMergedOrDefault=(e,t,n)=>{const o={options:n,embedded:!1,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}},s=new a.IdentifierIssuer("_:b");c(e,o.graphMap,"@default",s),n.merged&&(o.graphMap["@merged"]=d(o.graphMap),o.graph="@merged"),o.subjects=o.graphMap[o.graph];const l=[];return u.frame(o,Object.keys(o.subjects).sort(),t,l),n.pruneBlankNodeIdentifiers&&(n.bnodesToClear=Object.keys(o.bnodeMap).filter(e=>1===o.bnodeMap[e].length)),
|
|
70
|
-
// remove @preserve from results
|
|
71
|
-
n.link={},function e(t,n){if(i.isArray(t))return t.map(t=>e(t,n));if(i.isObject(t)){
|
|
72
|
-
// remove @preserve
|
|
73
|
-
if("@preserve"in t)return t["@preserve"][0];if(r.isValue(t))return t;if(r.isList(t))return t["@list"]=e(t["@list"],n),t;if("@id"in t){const e=t["@id"];if(n.link.hasOwnProperty(e)){const o=n.link[e].indexOf(t);if(-1!==o)return n.link[e][o];n.link[e].push(t)}else n.link[e]=[t]}for(const o in t)"@id"===o&&n.bnodesToClear.includes(t[o])?delete t["@id"]:t[o]=e(t[o],n)}return t}(l,n)},u.frame=(e,t,n,s,c=null)=>{v(n),n=n[0];const d=e.options,x={embed:h(n,d,"embed"),explicit:h(n,d,"explicit"),requireAll:h(n,d,"requireAll")};e.link.hasOwnProperty(e.graph)||(e.link[e.graph]={});const w=e.link[e.graph],j=function(e,t,n,o){const r={};for(const i of t){const t=e.graphMap[e.graph][i];g(e,t,n,o)&&(r[i]=t)}return r}(e,t,n,x),I=Object.keys(j).sort();for(const v of I){const g=j[v];if(null===c?e.uniqueEmbeds={[e.graph]:{}}:e.uniqueEmbeds[e.graph]=e.uniqueEmbeds[e.graph]||{},"@link"===x.embed&&v in w){m(s,c,w[v]);continue}const I={"@id":v};if(0===v.indexOf("_:")&&a.addValue(e.bnodeMap,v,I,{propertyIsArray:!0}),w[v]=I,("@first"===x.embed||"@last"===x.embed)&&e.is11)throw new l("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:n});if(e.embedded||!e.uniqueEmbeds[e.graph].hasOwnProperty(v))if(!e.embedded||"@never"!==x.embed&&!f(g,e.graph,e.subjectStack))if(!e.embedded||"@first"!=x.embed&&"@once"!=x.embed||!e.uniqueEmbeds[e.graph].hasOwnProperty(v)){if("@last"===x.embed&&v in e.uniqueEmbeds[e.graph]&&y(e,v),e.uniqueEmbeds[e.graph][v]={parent:s,property:c},e.subjectStack.push({subject:g,graph:e.graph}),v in e.graphMap){let t=!1,o=null;"@graph"in n?(o=n["@graph"][0],t=!("@merged"===v||"@default"===v),i.isObject(o)||(o={})):(t="@merged"!==e.graph,o={}),t&&u.frame({...e,graph:v,embedded:!1},Object.keys(e.graphMap[v]).sort(),[o],I,"@graph")}"@included"in n&&u.frame({...e,embedded:!1},t,n["@included"],I,"@included");for(const t of Object.keys(g).sort())if(o(t)){if(I[t]=a.clone(g[t]),"@type"===t)for(const t of g["@type"])0===t.indexOf("_:")&&a.addValue(e.bnodeMap,t,I,{propertyIsArray:!0})}else if(!x.explicit||t in n)for(const o of g[t]){const i=t in n?n[t]:p(x);if(r.isList(o)){const i=n[t]&&n[t][0]&&n[t][0]["@list"]?n[t][0]["@list"]:p(x),s={"@list":[]};m(I,t,s);const l=o["@list"];for(const t of l)r.isSubjectReference(t)?u.frame({...e,embedded:!0},[t["@id"]],i,s,"@list"):m(s,"@list",a.clone(t))}else r.isSubjectReference(o)?u.frame({...e,embedded:!0},[o["@id"]],i,I,t):b(i[0],o)&&m(I,t,a.clone(o))}for(const e of Object.keys(n).sort()){if("@type"===e){if(!i.isObject(n[e][0])||!("@default"in n[e][0]))continue}else if(o(e))continue;const t=n[e][0]||{};if(!h(t,d,"omitDefault")&&!(e in I)){let n="@null";"@default"in t&&(n=a.clone(t["@default"])),i.isArray(n)||(n=[n]),I[e]=[{"@preserve":n}]}}for(const t of Object.keys(n["@reverse"]||{}).sort()){const o=n["@reverse"][t];for(const n of Object.keys(e.subjects)){a.getValues(e.subjects[n],t).some(e=>e["@id"]===v)&&(I["@reverse"]=I["@reverse"]||{},a.addValue(I["@reverse"],t,[],{propertyIsArray:!0}),u.frame({...e,embedded:!0},[n],o,I["@reverse"][t],c))}}m(s,c,I),e.subjectStack.pop()}else m(s,c,I);else m(s,c,I)}},u.cleanupNull=(e,t)=>{if(i.isArray(e)){return e.map(e=>u.cleanupNull(e,t)).filter(e=>e)}if("@null"===e)return null;if(i.isObject(e)){if("@id"in e){const n=e["@id"];if(t.link.hasOwnProperty(n)){const o=t.link[n].indexOf(e);if(-1!==o)return t.link[n][o];t.link[n].push(e)}else t.link[n]=[e]}for(const n in e)e[n]=u.cleanupNull(e[n],t)}return e}},765:function(e,t,n){"use strict";const o=n(507),{isArray:r,isObject:i,isString:a,isUndefined:s}=n(504),{isList:l,isValue:c,isGraph:d,isSimpleGraph:u,isSubjectReference:p}=n(514),{expandIri:f,getContextValue:h,isKeyword:v,process:g,processingMode:y}=n(521),{removeBase:m,prependBase:x}=n(516),{REGEX_KEYWORD:b,addValue:w,asArray:j,compareShortestLeast:I}=n(506),N={};function S(e,t,n){if("@nest"!==f(e,t,{vocab:!0},n))throw new o("JSON-LD compact error; nested property must have an @nest value resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}e.exports=N,N.compact=async({activeCtx:e,activeProperty:t=null,element:n,options:f={}})=>{if(r(n)){let o=[];for(let r=0;r<n.length;++r){const i=await N.compact({activeCtx:e,activeProperty:t,element:n[r],options:f});null!==i&&o.push(i)}if(f.compactArrays&&1===o.length){0===(h(e,t,"@container")||[]).length&&(o=o[0])}return o}const m=h(e,t,"@context");if(s(m)||(e=await g({activeCtx:e,localCtx:m,propagate:!0,overrideProtected:!0,options:f})),i(n)){if(f.link&&"@id"in n&&f.link.hasOwnProperty(n["@id"])){const e=f.link[n["@id"]];for(let t=0;t<e.length;++t)if(e[t].expanded===n)return e[t].compacted}if(c(n)||p(n)){const o=N.compactValue({activeCtx:e,activeProperty:t,value:n,options:f});return f.link&&p(n)&&(f.link.hasOwnProperty(n["@id"])||(f.link[n["@id"]]=[]),f.link[n["@id"]].push({expanded:n,compacted:o})),o}if(l(n)){if((h(e,t,"@container")||[]).includes("@list"))return N.compact({activeCtx:e,activeProperty:t,element:n["@list"],options:f})}const m="@reverse"===t,x={},b=e;c(n)||p(n)||(e=e.revertToPreviousContext());const I=h(b,t,"@context");s(I)||(e=await g({activeCtx:e,localCtx:I,propagate:!0,overrideProtected:!0,options:f})),f.link&&"@id"in n&&(f.link.hasOwnProperty(n["@id"])||(f.link[n["@id"]]=[]),f.link[n["@id"]].push({expanded:n,compacted:x}));let E=n["@type"]||[];E.length>1&&(E=Array.from(E).sort());const O=e;for(const t of E){const n=N.compactIri({activeCtx:O,iri:t,relativeTo:{vocab:!0}}),o=h(b,n,"@context");s(o)||(e=await g({activeCtx:e,localCtx:o,options:f,propagate:!1}))}const k=Object.keys(n).sort();for(const s of k){const p=n[s];if("@id"!==s)if("@type"!==s)if("@reverse"!==s)if("@preserve"!==s)if("@index"!==s)if("@graph"!==s&&"@list"!==s&&"@included"!==s&&v(s)){const t=N.compactIri({activeCtx:e,iri:s,relativeTo:{vocab:!0}});w(x,t,p)}else{if(!r(p))throw new o("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError");if(0===p.length){const t=N.compactIri({activeCtx:e,iri:s,value:p,relativeTo:{vocab:!0},reverse:m}),n=e.mappings.has(t)?e.mappings.get(t)["@nest"]:null;let o=x;n&&(S(e,n,f),i(x[n])||(x[n]={}),o=x[n]),w(o,t,p,{propertyIsArray:!0})}for(const t of p){const n=N.compactIri({activeCtx:e,iri:s,value:t,relativeTo:{vocab:!0},reverse:m}),o=e.mappings.has(n)?e.mappings.get(n)["@nest"]:null;let p=x;o&&(S(e,o,f),i(x[o])||(x[o]={}),p=x[o]);const v=h(e,n,"@container")||[],g=d(t),y=l(t);let b;y?b=t["@list"]:g&&(b=t["@graph"]);let I=await N.compact({activeCtx:e,activeProperty:n,element:y||g?b:t,options:f});if(y){if(r(I)||(I=[I]),v.includes("@list")){w(p,n,I,{valueIsArray:!0,allowDuplicate:!0});continue}I={[N.compactIri({activeCtx:e,iri:"@list",relativeTo:{vocab:!0}})]:I},"@index"in t&&(I[N.compactIri({activeCtx:e,iri:"@index",relativeTo:{vocab:!0}})]=t["@index"])}if(g)if(v.includes("@graph")&&(v.includes("@id")||v.includes("@index")&&u(t))){let o;p.hasOwnProperty(n)?o=p[n]:p[n]=o={};const r=(v.includes("@id")?t["@id"]:t["@index"])||N.compactIri({activeCtx:e,iri:"@none",relativeTo:{vocab:!0}});w(o,r,I,{propertyIsArray:!f.compactArrays||v.includes("@set")})}else v.includes("@graph")&&u(t)?(r(I)&&I.length>1&&(I={"@included":I}),w(p,n,I,{propertyIsArray:!f.compactArrays||v.includes("@set")})):(r(I)&&1===I.length&&f.compactArrays&&(I=I[0]),I={[N.compactIri({activeCtx:e,iri:"@graph",relativeTo:{vocab:!0}})]:I},"@id"in t&&(I[N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}})]=t["@id"]),"@index"in t&&(I[N.compactIri({activeCtx:e,iri:"@index",relativeTo:{vocab:!0}})]=t["@index"]),w(p,n,I,{propertyIsArray:!f.compactArrays||v.includes("@set")}));else if(v.includes("@language")||v.includes("@index")||v.includes("@id")||v.includes("@type")){let o,r;if(p.hasOwnProperty(n)?o=p[n]:p[n]=o={},v.includes("@language"))c(I)&&(I=I["@value"]),r=t["@language"];else if(v.includes("@index")){const o=h(e,n,"@index")||"@index",i=N.compactIri({activeCtx:e,iri:o,relativeTo:{vocab:!0}});if("@index"===o)r=t["@index"],delete I[i];else{let e;if([r,...e]=j(I[o]||[]),a(r))switch(e.length){case 0:delete I[o];break;case 1:I[o]=e[0];break;default:I[o]=e}else r=null}}else if(v.includes("@id")){const t=N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}});r=I[t],delete I[t]}else if(v.includes("@type")){const o=N.compactIri({activeCtx:e,iri:"@type",relativeTo:{vocab:!0}});let i;switch([r,...i]=j(I[o]||[]),i.length){case 0:delete I[o];break;case 1:I[o]=i[0];break;default:I[o]=i}1===Object.keys(I).length&&"@id"in t&&(I=await N.compact({activeCtx:e,activeProperty:n,element:{"@id":t["@id"]},options:f}))}r||(r=N.compactIri({activeCtx:e,iri:"@none",relativeTo:{vocab:!0}})),w(o,r,I,{propertyIsArray:v.includes("@set")})}else{const e=!f.compactArrays||v.includes("@set")||v.includes("@list")||r(I)&&0===I.length||"@list"===s||"@graph"===s;w(p,n,I,{propertyIsArray:e})}}}else{if((h(e,t,"@container")||[]).includes("@index"))continue;const n=N.compactIri({activeCtx:e,iri:s,relativeTo:{vocab:!0}});w(x,n,p)}else{const n=await N.compact({activeCtx:e,activeProperty:t,element:p,options:f});r(n)&&0===n.length||w(x,s,n)}else{const t=await N.compact({activeCtx:e,activeProperty:"@reverse",element:p,options:f});for(const n in t)if(e.mappings.has(n)&&e.mappings.get(n).reverse){const o=t[n],r=(h(e,n,"@container")||[]).includes("@set")||!f.compactArrays;w(x,n,o,{propertyIsArray:r}),delete t[n]}if(Object.keys(t).length>0){const n=N.compactIri({activeCtx:e,iri:s,relativeTo:{vocab:!0}});w(x,n,t)}}else{let t=j(p).map(e=>N.compactIri({activeCtx:b,iri:e,relativeTo:{vocab:!0}}));1===t.length&&(t=t[0]);const n=N.compactIri({activeCtx:e,iri:"@type",relativeTo:{vocab:!0}}),o=(h(e,n,"@container")||[]).includes("@set")&&y(e,1.1)||r(t)&&0===p.length;w(x,n,t,{propertyIsArray:o})}else{let t=j(p).map(t=>N.compactIri({activeCtx:e,iri:t,relativeTo:{vocab:!1},base:f.base}));1===t.length&&(t=t[0]);x[N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}})]=t}}return x}return n},N.compactIri=({activeCtx:e,iri:t,value:n=null,relativeTo:r={vocab:!1},reverse:a=!1,base:s=null})=>{if(null===t)return t;e.isPropertyTermScoped&&e.previousContext&&(e=e.previousContext);const u=e.getInverse();if(v(t)&&t in u&&"@none"in u[t]&&"@type"in u[t]["@none"]&&"@none"in u[t]["@none"]["@type"])return u[t]["@none"]["@type"]["@none"];if(r.vocab&&t in u){const o=e["@language"]||"@none",r=[];i(n)&&"@index"in n&&!("@graph"in n)&&r.push("@index","@index@set"),i(n)&&"@preserve"in n&&(n=n["@preserve"][0]),d(n)?("@index"in n&&r.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in n&&r.push("@graph@id","@graph@id@set"),r.push("@graph","@graph@set","@set"),"@index"in n||r.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in n||r.push("@graph@id","@graph@id@set")):i(n)&&!c(n)&&r.push("@id","@id@set","@type","@set@type");let s="@language",u="@null";if(a)s="@type",u="@reverse",r.push("@set");else if(l(n)){"@index"in n||r.push("@list");const e=n["@list"];if(0===e.length)s="@any",u="@none";else{let t=0===e.length?o:null,n=null;for(let o=0;o<e.length;++o){const r=e[o];let i="@none",a="@none";if(c(r))if("@direction"in r){i=`${(r["@language"]||"").toLowerCase()}_${r["@direction"]}`}else"@language"in r?i=r["@language"].toLowerCase():"@type"in r?a=r["@type"]:i="@null";else a="@id";if(null===t?t=i:i!==t&&c(r)&&(t="@none"),null===n?n=a:a!==n&&(n="@none"),"@none"===t&&"@none"===n)break}t=t||"@none",n=n||"@none","@none"!==n?(s="@type",u=n):u=t}}else{if(c(n))if("@language"in n&&!("@index"in n)){r.push("@language","@language@set"),u=n["@language"];const e=n["@direction"];e&&(u=`${u}_${e}`)}else"@direction"in n&&!("@index"in n)?u="_"+n["@direction"]:"@type"in n&&(s="@type",u=n["@type"]);else s="@type",u="@id";r.push("@set")}r.push("@none"),i(n)&&!("@index"in n)&&r.push("@index","@index@set"),c(n)&&1===Object.keys(n).length&&r.push("@language","@language@set");const p=function(e,t,n,o,r,a){null===a&&(a="@null");const s=[];if(("@id"===a||"@reverse"===a)&&i(n)&&"@id"in n){"@reverse"===a&&s.push("@reverse");const t=N.compactIri({activeCtx:e,iri:n["@id"],relativeTo:{vocab:!0}});e.mappings.has(t)&&e.mappings.get(t)&&e.mappings.get(t)["@id"]===n["@id"]?s.push.apply(s,["@vocab","@id"]):s.push.apply(s,["@id","@vocab"])}else{s.push(a);const e=s.find(e=>e.includes("_"));e&&s.push(e.replace(/^[^_]+_/,"_"))}s.push("@none");const l=e.inverse[t];for(const e of o){if(!(e in l))continue;const t=l[e][r];for(const e of s)if(e in t)return t[e]}return null}(e,t,n,r,s,u);if(null!==p)return p}if(r.vocab&&"@vocab"in e){const n=e["@vocab"];if(0===t.indexOf(n)&&t!==n){const o=t.substr(n.length);if(!e.mappings.has(o))return o}}let p=null;const f=[];let h=e.fastCurieMap;const g=t.length-1;for(let e=0;e<g&&t[e]in h;++e)h=h[t[e]],""in h&&f.push(h[""][0]);for(let o=f.length-1;o>=0;--o){const r=f[o],i=r.terms;for(const o of i){const i=o+":"+t.substr(r.iri.length);e.mappings.get(o)._prefix&&(!e.mappings.has(i)||null===n&&e.mappings.get(i)["@id"]===t)&&(null===p||I(i,p)<0)&&(p=i)}}if(null!==p)return p;for(const[n,r]of e.mappings)if(r&&r._prefix&&t.startsWith(n+":"))throw new o(`Absolute IRI "${t}" confused with prefix "${n}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:e});if(!r.vocab){if("@base"in e){if(e["@base"]){const n=m(x(s,e["@base"]),t);return b.test(n)?"./"+n:n}return t}return m(s,t)}return t},N.compactValue=({activeCtx:e,activeProperty:t,value:n,options:o})=>{if(c(n)){const o=h(e,t,"@type"),r=h(e,t,"@language"),i=h(e,t,"@direction"),s=h(e,t,"@container")||[],l="@index"in n&&!s.includes("@index");if(!l&&"@none"!==o){if(n["@type"]===o)return n["@value"];if("@language"in n&&n["@language"]===r&&"@direction"in n&&n["@direction"]===i)return n["@value"];if("@language"in n&&n["@language"]===r)return n["@value"];if("@direction"in n&&n["@direction"]===i)return n["@value"]}const c=Object.keys(n).length,d=1===c||2===c&&"@index"in n&&!l,u="@language"in e,p=a(n["@value"]),f=e.mappings.has(t)&&null===e.mappings.get(t)["@language"];if(d&&"@none"!==o&&(!u||!p||f))return n["@value"];const v={};return l&&(v[N.compactIri({activeCtx:e,iri:"@index",relativeTo:{vocab:!0}})]=n["@index"]),"@type"in n?v[N.compactIri({activeCtx:e,iri:"@type",relativeTo:{vocab:!0}})]=N.compactIri({activeCtx:e,iri:n["@type"],relativeTo:{vocab:!0}}):"@language"in n&&(v[N.compactIri({activeCtx:e,iri:"@language",relativeTo:{vocab:!0}})]=n["@language"]),"@direction"in n&&(v[N.compactIri({activeCtx:e,iri:"@direction",relativeTo:{vocab:!0}})]=n["@direction"]),v[N.compactIri({activeCtx:e,iri:"@value",relativeTo:{vocab:!0}})]=n["@value"],v}const r=f(e,t,{vocab:!0},o),i=h(e,t,"@type"),s=N.compactIri({activeCtx:e,iri:n["@id"],relativeTo:{vocab:"@vocab"===i},base:o.base});return"@id"===i||"@vocab"===i||"@graph"===r?s:{[N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}})]:s}}},766:function(e,t,n){"use strict";e.exports=e=>{class t{toString(){return"[object JsonLdProcessor]"}}return Object.defineProperty(t,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(t.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:t}),t.compact=function(t,n){return arguments.length<2?Promise.reject(new TypeError("Could not compact, too few arguments.")):e.compact(t,n)},t.expand=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not expand, too few arguments.")):e.expand(t)},t.flatten=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not flatten, too few arguments.")):e.flatten(t)},t}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[130],{94:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{295:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{186:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{93:function(t,r,e){"use strict";e.r(r);e(38);function n(t,r,e,n,o){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return r.error(e,o.instant("common.error")),!1}).then(t=>!!t&&a()).then(r=>{if(!1!==r)return e=r.find(r=>r.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);r.error(e,o.instant("common.error"))})).then(t=>{if(t)return function(t){const r=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(r=>(t.rpcAddress=r.data,t.isAvailable=!0,t)).catch(r=>{t.isAvailable=!1,t.error=getError(r.data,r.status)}));return Promise.allSettled(r).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{104:function(e,n,o){"use strict";function t(e,n,o,t,r){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,n){return e[n.name]=n.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=r.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,n,r){o.set(t.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:n,jsonldLink:r}))},e.cancel=function(){n.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),n.close({currentMode:e.currentMode,link:e.link})};!function(){const n=o.get(t.JSONLD_EXPORT_SETTINGS);n&&(e.currentMode=e.JSONLDModes.find(e=>e.name===n.jsonldFormName),e.link=n.jsonldLink)}()}o.r(n),o.d(n,"ExportSettingsCtrl",(function(){return t})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",t),t.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[135],{198:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{95:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const i=[];let o;t.onKeydown=e=>{"Enter"===e.key?(l(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&c()},t.onCancelEditing=()=>{c()},t.onSelect=()=>{o?(l(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),l()}),250)};const c=()=>{l(),t.onCancel()},l=()=>{e.cancel(o),o=void 0};i.push(t.$watch("isEditing",i=>{i&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{i.forEach(e=>e()),l()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{96:function(a,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(a,t,n){return{link:function(a,e){const i=()=>{const t=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(a);e.html(t)};i();const o=t.$on("$translateChangeSuccess",i);a.$on("$destroy",o)}}}])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[138],{45:function(e,t){let a=0,o=setInterval((function(){a++,5===a&&$(".ot-splash div").text("GraphDB Workbench is still loading but it's taking longer than usual, please wait..."),10===a&&$(".ot-splash div").text("If the Workbench hasn't loaded yet, please try to clear your browser cache and reload the page."),(a>=10||"block"!==$(".ot-splash").css("display"))&&(clearInterval(o),o=void 0,a=void 0)}),2e3)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{87:function(r,n,e){"use strict";e.r(n);var t=e(530),o=e(528),s=e.n(o);const c={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function a(r){const n=Object(t.a)().use(s.a,c);return{renderMarkdown:e=>{try{return r.trustAsHtml((o?Object(t.a)().use(s.a,o):n).render(e))}catch(n){return console.error("Error rendering markdown:",n),r.trustAsHtml(e)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",a),a.$inject=["$sce"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[14,65,83,84,85,127,128,129,130,132,133,276],{186:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},187:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},188:function(e,t,o){"use strict";o.r(t);o(83);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},189:function(e,t,o){"use strict";o.r(t);o(83);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},190:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},191:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},192:function(e,t,o){"use strict";o.r(t);o(93);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},193:function(e,t,o){"use strict";o.r(t);o(83),o(93);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},281:function(e,t,o){"use strict";o.r(t);o(83),o(93),o(186),o(187),o(188),o(189),o(190),o(191),o(192),o(193);var n=o(30),r=o(86),s=o(94);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},83:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},93:function(e,t,o){"use strict";o.r(t);o(38);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},94:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{199:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{213:function(r,i,e){"use strict";e.r(i);e(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{297:function(e,r){PluginRegistry.add("route",[{url:"/resource",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"},{url:"/resource/edit",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"EditResourceCtrl",templateUrl:"pages/edit.html",title:"view.resource.title"},{url:"/resource/:any*",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"}]})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{211:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[144],{299:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{215:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{301:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{222:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(12))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[148],{221:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
|