@pod-os/core 0.17.1-rc.624a4a0.0 → 0.17.1-rc.6bd4b35.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/{chunk-VGZLO2LW.js → chunk-3LTXZPFZ.js} +14 -14
- package/dist/{dist-UG2BEWCW.js → dist-4BQLT63G.js} +1 -1
- package/dist/index.js +229 -113
- package/lib/index.js +603 -487
- package/package.json +10 -10
- package/types/Store.d.ts +16 -10
- package/types/index.d.ts +3 -1
package/lib/index.js
CHANGED
|
@@ -796,12 +796,12 @@ var PodOS = (() => {
|
|
|
796
796
|
* and give the document you are patching. In future, we may have a more
|
|
797
797
|
* powerful update() which can update more than one document.
|
|
798
798
|
*/
|
|
799
|
-
constructor(
|
|
799
|
+
constructor(subject8, predicate4, object8, graph3) {
|
|
800
800
|
_defineProperty(this, "subject", void 0);
|
|
801
801
|
_defineProperty(this, "predicate", void 0);
|
|
802
802
|
_defineProperty(this, "object", void 0);
|
|
803
803
|
_defineProperty(this, "graph", void 0);
|
|
804
|
-
this.subject = Node2.fromValue(
|
|
804
|
+
this.subject = Node2.fromValue(subject8);
|
|
805
805
|
this.predicate = Node2.fromValue(predicate4);
|
|
806
806
|
this.object = Node2.fromValue(object8);
|
|
807
807
|
this.graph = graph3 == void 0 ? defaultGraph : Node2.fromValue(graph3);
|
|
@@ -1082,7 +1082,7 @@ var PodOS = (() => {
|
|
|
1082
1082
|
var Feature;
|
|
1083
1083
|
var init_factory_types = __esm({
|
|
1084
1084
|
"../node_modules/rdflib/esm/factories/factory-types.js"() {
|
|
1085
|
-
Feature = /* @__PURE__ */ function(Feature2) {
|
|
1085
|
+
Feature = /* @__PURE__ */ (function(Feature2) {
|
|
1086
1086
|
Feature2["collections"] = "COLLECTIONS";
|
|
1087
1087
|
Feature2["defaultGraphType"] = "DEFAULT_GRAPH_TYPE";
|
|
1088
1088
|
Feature2["equalsMethod"] = "EQUALS_METHOD";
|
|
@@ -1091,7 +1091,7 @@ var PodOS = (() => {
|
|
|
1091
1091
|
Feature2["reversibleId"] = "REVERSIBLE_ID";
|
|
1092
1092
|
Feature2["variableType"] = "VARIABLE_TYPE";
|
|
1093
1093
|
return Feature2;
|
|
1094
|
-
}({});
|
|
1094
|
+
})({});
|
|
1095
1095
|
}
|
|
1096
1096
|
});
|
|
1097
1097
|
|
|
@@ -1211,8 +1211,8 @@ var PodOS = (() => {
|
|
|
1211
1211
|
* @param object - The object
|
|
1212
1212
|
* @param graph - The containing graph
|
|
1213
1213
|
*/
|
|
1214
|
-
quad(
|
|
1215
|
-
return new Statement(
|
|
1214
|
+
quad(subject8, predicate4, object8, graph3) {
|
|
1215
|
+
return new Statement(subject8, predicate4, object8, graph3 || defaultGraph2);
|
|
1216
1216
|
},
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Creates a new statement
|
|
@@ -1221,8 +1221,8 @@ var PodOS = (() => {
|
|
|
1221
1221
|
* @param object - The object
|
|
1222
1222
|
* @param graph - The containing graph
|
|
1223
1223
|
*/
|
|
1224
|
-
triple(
|
|
1225
|
-
return this.quad(
|
|
1224
|
+
triple(subject8, predicate4, object8, graph3) {
|
|
1225
|
+
return this.quad(subject8, predicate4, object8, graph3);
|
|
1226
1226
|
},
|
|
1227
1227
|
quadToNQ(q) {
|
|
1228
1228
|
return `${this.termToNQ(q.subject)} ${this.termToNQ(q.predicate)} ${this.termToNQ(q.object)} ${this.termToNQ(q.graph)} .`;
|
|
@@ -1454,11 +1454,11 @@ var PodOS = (() => {
|
|
|
1454
1454
|
function splitOnASCIIWhitespace(input2) {
|
|
1455
1455
|
return input2 ? input2.split(/[\t\n\f\r ]+/).filter(notEmptyString) : [];
|
|
1456
1456
|
}
|
|
1457
|
-
function orderedSetReducer(
|
|
1458
|
-
if (!
|
|
1459
|
-
|
|
1457
|
+
function orderedSetReducer(current3, element2) {
|
|
1458
|
+
if (!current3.hasOwnProperty(element2)) {
|
|
1459
|
+
current3[element2] = true;
|
|
1460
1460
|
}
|
|
1461
|
-
return
|
|
1461
|
+
return current3;
|
|
1462
1462
|
}
|
|
1463
1463
|
function toOrderedSet(input2) {
|
|
1464
1464
|
if (!input2) return [];
|
|
@@ -1836,13 +1836,13 @@ var PodOS = (() => {
|
|
|
1836
1836
|
normalize: function() {
|
|
1837
1837
|
var child2 = this.firstChild;
|
|
1838
1838
|
while (child2) {
|
|
1839
|
-
var
|
|
1840
|
-
if (
|
|
1841
|
-
this.removeChild(
|
|
1842
|
-
child2.appendData(
|
|
1839
|
+
var next4 = child2.nextSibling;
|
|
1840
|
+
if (next4 && next4.nodeType == TEXT_NODE && child2.nodeType == TEXT_NODE) {
|
|
1841
|
+
this.removeChild(next4);
|
|
1842
|
+
child2.appendData(next4.data);
|
|
1843
1843
|
} else {
|
|
1844
1844
|
child2.normalize();
|
|
1845
|
-
child2 =
|
|
1845
|
+
child2 = next4;
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
},
|
|
@@ -1957,14 +1957,14 @@ var PodOS = (() => {
|
|
|
1957
1957
|
}
|
|
1958
1958
|
function _removeChild(parentNode, child2) {
|
|
1959
1959
|
var previous3 = child2.previousSibling;
|
|
1960
|
-
var
|
|
1960
|
+
var next4 = child2.nextSibling;
|
|
1961
1961
|
if (previous3) {
|
|
1962
|
-
previous3.nextSibling =
|
|
1962
|
+
previous3.nextSibling = next4;
|
|
1963
1963
|
} else {
|
|
1964
|
-
parentNode.firstChild =
|
|
1964
|
+
parentNode.firstChild = next4;
|
|
1965
1965
|
}
|
|
1966
|
-
if (
|
|
1967
|
-
|
|
1966
|
+
if (next4) {
|
|
1967
|
+
next4.previousSibling = previous3;
|
|
1968
1968
|
} else {
|
|
1969
1969
|
parentNode.lastChild = previous3;
|
|
1970
1970
|
}
|
|
@@ -2163,9 +2163,9 @@ var PodOS = (() => {
|
|
|
2163
2163
|
if (newChild.nodeType == DOCUMENT_FRAGMENT_NODE) {
|
|
2164
2164
|
var child2 = newChild.firstChild;
|
|
2165
2165
|
while (child2) {
|
|
2166
|
-
var
|
|
2166
|
+
var next4 = child2.nextSibling;
|
|
2167
2167
|
this.insertBefore(child2, refChild);
|
|
2168
|
-
child2 =
|
|
2168
|
+
child2 = next4;
|
|
2169
2169
|
}
|
|
2170
2170
|
return newChild;
|
|
2171
2171
|
}
|
|
@@ -5467,8 +5467,8 @@ var PodOS = (() => {
|
|
|
5467
5467
|
}
|
|
5468
5468
|
}
|
|
5469
5469
|
function parseDCC(source8, start3, domBuilder, errorHandler) {
|
|
5470
|
-
var
|
|
5471
|
-
switch (
|
|
5470
|
+
var next4 = source8.charAt(start3 + 2);
|
|
5471
|
+
switch (next4) {
|
|
5472
5472
|
case "-":
|
|
5473
5473
|
if (source8.charAt(start3 + 3) === "-") {
|
|
5474
5474
|
var end2 = source8.indexOf("-->", start3 + 4);
|
|
@@ -5692,9 +5692,9 @@ var PodOS = (() => {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
},
|
|
5694
5694
|
endElement: function(namespaceURI, localName, qName) {
|
|
5695
|
-
var
|
|
5696
|
-
var tagName =
|
|
5697
|
-
this.currentElement =
|
|
5695
|
+
var current3 = this.currentElement;
|
|
5696
|
+
var tagName = current3.tagName;
|
|
5697
|
+
this.currentElement = current3.parentNode;
|
|
5698
5698
|
},
|
|
5699
5699
|
startPrefixMapping: function(prefix3, uri6) {
|
|
5700
5700
|
},
|
|
@@ -6417,10 +6417,10 @@ var PodOS = (() => {
|
|
|
6417
6417
|
function location7() {
|
|
6418
6418
|
return peg$computeLocation(peg$savedPos, peg$currPos);
|
|
6419
6419
|
}
|
|
6420
|
-
function expected(
|
|
6420
|
+
function expected(description12, location8) {
|
|
6421
6421
|
location8 = location8 !== void 0 ? location8 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
6422
6422
|
throw peg$buildStructuredError(
|
|
6423
|
-
[peg$otherExpectation(
|
|
6423
|
+
[peg$otherExpectation(description12)],
|
|
6424
6424
|
input2.substring(peg$savedPos, peg$currPos),
|
|
6425
6425
|
location8
|
|
6426
6426
|
);
|
|
@@ -6441,8 +6441,8 @@ var PodOS = (() => {
|
|
|
6441
6441
|
function peg$endExpectation() {
|
|
6442
6442
|
return { type: "end" };
|
|
6443
6443
|
}
|
|
6444
|
-
function peg$otherExpectation(
|
|
6445
|
-
return { type: "other", description:
|
|
6444
|
+
function peg$otherExpectation(description12) {
|
|
6445
|
+
return { type: "other", description: description12 };
|
|
6446
6446
|
}
|
|
6447
6447
|
function peg$computePosDetails(pos) {
|
|
6448
6448
|
var details2 = peg$posDetailsCache[pos], p;
|
|
@@ -10691,8 +10691,8 @@ var PodOS = (() => {
|
|
|
10691
10691
|
context4.base.push(uri6);
|
|
10692
10692
|
return;
|
|
10693
10693
|
}
|
|
10694
|
-
const
|
|
10695
|
-
if (
|
|
10694
|
+
const last3 = context4.base[context4.base.length - 1];
|
|
10695
|
+
if (last3 !== uri6) context4.base.push(new URL(uri6, last3).toString());
|
|
10696
10696
|
},
|
|
10697
10697
|
addPrefix: function(prefix3, uri6) {
|
|
10698
10698
|
const list = context4.data[prefix3];
|
|
@@ -11166,18 +11166,18 @@ var PodOS = (() => {
|
|
|
11166
11166
|
return results;
|
|
11167
11167
|
}
|
|
11168
11168
|
var statementListToTree = statementListToTreeMethod.bind(this);
|
|
11169
|
-
function subjectTree(
|
|
11170
|
-
if (
|
|
11171
|
-
return objectTree(
|
|
11169
|
+
function subjectTree(subject8, stats) {
|
|
11170
|
+
if (subject8.termType === "BlankNode" && !stats.incoming[subject8]) {
|
|
11171
|
+
return objectTree(subject8, stats, true).concat(["."]);
|
|
11172
11172
|
}
|
|
11173
|
-
return [termToN3(
|
|
11173
|
+
return [termToN3(subject8, stats)].concat([propertyTree(subject8, stats)]).concat(["."]);
|
|
11174
11174
|
}
|
|
11175
|
-
function propertyTreeMethod(
|
|
11175
|
+
function propertyTreeMethod(subject8, stats) {
|
|
11176
11176
|
var results = [];
|
|
11177
11177
|
var lastPred = null;
|
|
11178
|
-
var sts2 = stats.subjects[this.toStr(
|
|
11178
|
+
var sts2 = stats.subjects[this.toStr(subject8)] || [];
|
|
11179
11179
|
if (typeof sts2 === "undefined") {
|
|
11180
|
-
throw new Error("Cant find statements for " +
|
|
11180
|
+
throw new Error("Cant find statements for " + subject8);
|
|
11181
11181
|
}
|
|
11182
11182
|
var objects = [];
|
|
11183
11183
|
for (var i = 0; i < sts2.length; i++) {
|
|
@@ -11475,12 +11475,12 @@ var PodOS = (() => {
|
|
|
11475
11475
|
return escapeForXML(this.base ? uri_exports.refTo(this.base, term3.uri) : term3.uri);
|
|
11476
11476
|
}
|
|
11477
11477
|
var relURI = relURIMethod.bind(this);
|
|
11478
|
-
function subjectXMLTreeMethod(
|
|
11478
|
+
function subjectXMLTreeMethod(subject8, stats) {
|
|
11479
11479
|
var results = [];
|
|
11480
11480
|
var type5, t, st2, pred;
|
|
11481
|
-
var sts2 = stats.subjects[this.toStr(
|
|
11481
|
+
var sts2 = stats.subjects[this.toStr(subject8)];
|
|
11482
11482
|
if (typeof sts2 === "undefined") {
|
|
11483
|
-
return propertyXMLTree(
|
|
11483
|
+
return propertyXMLTree(subject8, stats);
|
|
11484
11484
|
}
|
|
11485
11485
|
sts2.sort(function(a, b) {
|
|
11486
11486
|
var ap = a.predicate.uri;
|
|
@@ -11535,26 +11535,26 @@ var PodOS = (() => {
|
|
|
11535
11535
|
}
|
|
11536
11536
|
var tag3 = type5 ? qname(type5) : "rdf:Description";
|
|
11537
11537
|
var attrs = "";
|
|
11538
|
-
if (
|
|
11539
|
-
if (!stats.incoming[
|
|
11540
|
-
attrs = ' rdf:nodeID="' +
|
|
11538
|
+
if (subject8.termType === "BlankNode") {
|
|
11539
|
+
if (!stats.incoming[subject8] || stats.incoming[subject8].length !== 1) {
|
|
11540
|
+
attrs = ' rdf:nodeID="' + subject8.toNT().slice(2) + '"';
|
|
11541
11541
|
}
|
|
11542
11542
|
} else {
|
|
11543
|
-
attrs = ' rdf:about="' + relURI(
|
|
11543
|
+
attrs = ' rdf:about="' + relURI(subject8) + '"';
|
|
11544
11544
|
}
|
|
11545
11545
|
return ["<" + tag3 + attrs + ">"].concat([results]).concat(["</" + tag3 + ">"]);
|
|
11546
11546
|
}
|
|
11547
11547
|
var subjectXMLTree = subjectXMLTreeMethod.bind(this);
|
|
11548
|
-
function collectionXMLTree(
|
|
11548
|
+
function collectionXMLTree(subject8, stats) {
|
|
11549
11549
|
var res = [];
|
|
11550
|
-
for (var i = 0; i <
|
|
11551
|
-
res.push(subjectXMLTree(
|
|
11550
|
+
for (var i = 0; i < subject8.elements.length; i++) {
|
|
11551
|
+
res.push(subjectXMLTree(subject8.elements[i], stats));
|
|
11552
11552
|
}
|
|
11553
11553
|
return res;
|
|
11554
11554
|
}
|
|
11555
|
-
function propertyXMLTreeMethod(
|
|
11555
|
+
function propertyXMLTreeMethod(subject8, stats) {
|
|
11556
11556
|
var results = [];
|
|
11557
|
-
var sts2 = stats.subjects[this.toStr(
|
|
11557
|
+
var sts2 = stats.subjects[this.toStr(subject8)];
|
|
11558
11558
|
if (!sts2) return results;
|
|
11559
11559
|
sts2.sort();
|
|
11560
11560
|
for (var i = 0; i < sts2.length; i++) {
|
|
@@ -11699,7 +11699,7 @@ var PodOS = (() => {
|
|
|
11699
11699
|
});
|
|
11700
11700
|
|
|
11701
11701
|
// ../node_modules/rdflib/esm/utils.js
|
|
11702
|
-
function arrayToStatements(rdfFactory,
|
|
11702
|
+
function arrayToStatements(rdfFactory, subject8, data2) {
|
|
11703
11703
|
const statements = [];
|
|
11704
11704
|
data2.reduce((id4, _listObj, i, listData) => {
|
|
11705
11705
|
statements.push(rdfFactory.quad(id4, rdfFactory.namedNode(rdf.first), listData[i]));
|
|
@@ -11711,7 +11711,7 @@ var PodOS = (() => {
|
|
|
11711
11711
|
statements.push(rdfFactory.quad(id4, rdfFactory.namedNode(rdf.rest), rdfFactory.namedNode(rdf.nil)));
|
|
11712
11712
|
}
|
|
11713
11713
|
return nextNode;
|
|
11714
|
-
},
|
|
11714
|
+
}, subject8);
|
|
11715
11715
|
return statements;
|
|
11716
11716
|
}
|
|
11717
11717
|
function ArrayIndexOf(arr, item4) {
|
|
@@ -11797,11 +11797,11 @@ var PodOS = (() => {
|
|
|
11797
11797
|
* @param object - the third part of the statement
|
|
11798
11798
|
* @param graph - the last part of the statement
|
|
11799
11799
|
*/
|
|
11800
|
-
add(
|
|
11800
|
+
add(subject8, predicate4, object8, graph3) {
|
|
11801
11801
|
if (arguments.length === 1) {
|
|
11802
|
-
|
|
11802
|
+
subject8.forEach((st2) => this.add(st2.subject, st2.predicate, st2.object, st2.graph));
|
|
11803
11803
|
}
|
|
11804
|
-
return this.statements.push(this.rdfFactory.quad(
|
|
11804
|
+
return this.statements.push(this.rdfFactory.quad(subject8, predicate4, object8, graph3));
|
|
11805
11805
|
}
|
|
11806
11806
|
/** Add a statment object
|
|
11807
11807
|
* @param {Statement} statement - An existing constructed statement to add
|
|
@@ -12058,8 +12058,8 @@ var PodOS = (() => {
|
|
|
12058
12058
|
* Get all the Classes of which we can RDFS-infer the subject is a member
|
|
12059
12059
|
* @param subject - A named node
|
|
12060
12060
|
*/
|
|
12061
|
-
findMemberURIs(
|
|
12062
|
-
return this.NTtoURI(this.findMembersNT(
|
|
12061
|
+
findMemberURIs(subject8) {
|
|
12062
|
+
return this.NTtoURI(this.findMembersNT(subject8));
|
|
12063
12063
|
}
|
|
12064
12064
|
/**
|
|
12065
12065
|
* Get all the Classes of which we can RDFS-infer the subject is a superclass
|
|
@@ -12068,9 +12068,9 @@ var PodOS = (() => {
|
|
|
12068
12068
|
* Does NOT return terms, returns URI strings.
|
|
12069
12069
|
* We use NT representations in this version because they handle blank nodes.
|
|
12070
12070
|
*/
|
|
12071
|
-
findSubClassesNT(
|
|
12071
|
+
findSubClassesNT(subject8) {
|
|
12072
12072
|
let types = {};
|
|
12073
|
-
types[
|
|
12073
|
+
types[subject8.toNT()] = true;
|
|
12074
12074
|
return this.transitiveClosure(types, this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"), true);
|
|
12075
12075
|
}
|
|
12076
12076
|
/**
|
|
@@ -12081,9 +12081,9 @@ var PodOS = (() => {
|
|
|
12081
12081
|
* Does NOT return terms, returns URI strings.
|
|
12082
12082
|
* We use NT representations in this version because they handle blank nodes.
|
|
12083
12083
|
*/
|
|
12084
|
-
findSuperClassesNT(
|
|
12084
|
+
findSuperClassesNT(subject8) {
|
|
12085
12085
|
let types = {};
|
|
12086
|
-
types[
|
|
12086
|
+
types[subject8.toNT()] = true;
|
|
12087
12087
|
return this.transitiveClosure(types, this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"), false);
|
|
12088
12088
|
}
|
|
12089
12089
|
/**
|
|
@@ -12095,7 +12095,7 @@ var PodOS = (() => {
|
|
|
12095
12095
|
* Does NOT return terms, returns URI strings.
|
|
12096
12096
|
* We use NT representations in this version because they handle blank nodes.
|
|
12097
12097
|
*/
|
|
12098
|
-
findTypesNT(
|
|
12098
|
+
findTypesNT(subject8) {
|
|
12099
12099
|
let domain4;
|
|
12100
12100
|
let range3;
|
|
12101
12101
|
let rdftype;
|
|
@@ -12107,7 +12107,7 @@ var PodOS = (() => {
|
|
|
12107
12107
|
let types;
|
|
12108
12108
|
rdftype = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type";
|
|
12109
12109
|
types = [];
|
|
12110
|
-
ref = this.statementsMatching(
|
|
12110
|
+
ref = this.statementsMatching(subject8, void 0, void 0);
|
|
12111
12111
|
for (let i = 0, len = ref.length; i < len; i++) {
|
|
12112
12112
|
st2 = ref[i];
|
|
12113
12113
|
if (st2.predicate.uri === rdftype) {
|
|
@@ -12120,7 +12120,7 @@ var PodOS = (() => {
|
|
|
12120
12120
|
}
|
|
12121
12121
|
}
|
|
12122
12122
|
}
|
|
12123
|
-
ref2 = this.statementsMatching(void 0, void 0,
|
|
12123
|
+
ref2 = this.statementsMatching(void 0, void 0, subject8);
|
|
12124
12124
|
for (let m = 0, len2 = ref2.length; m < len2; m++) {
|
|
12125
12125
|
st2 = ref2[m];
|
|
12126
12126
|
ref3 = this.each(st2.predicate, this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#range"));
|
|
@@ -12141,8 +12141,8 @@ var PodOS = (() => {
|
|
|
12141
12141
|
* We use NT representations in this version because they handle blank nodes.
|
|
12142
12142
|
* @param subject - A subject node
|
|
12143
12143
|
*/
|
|
12144
|
-
findTypeURIs(
|
|
12145
|
-
return this.NTtoURI(this.findTypesNT(
|
|
12144
|
+
findTypeURIs(subject8) {
|
|
12145
|
+
return this.NTtoURI(this.findTypesNT(subject8));
|
|
12146
12146
|
}
|
|
12147
12147
|
/** Trace statements which connect directly, or through bnodes
|
|
12148
12148
|
*
|
|
@@ -12150,9 +12150,9 @@ var PodOS = (() => {
|
|
|
12150
12150
|
* @param doc - The document to be searched, or null to search all documents
|
|
12151
12151
|
* @returns an array of statements, duplicate statements are suppresssed.
|
|
12152
12152
|
*/
|
|
12153
|
-
connectedStatements(
|
|
12153
|
+
connectedStatements(subject8, doc, excludePredicateURIs) {
|
|
12154
12154
|
excludePredicateURIs = excludePredicateURIs || [];
|
|
12155
|
-
let todo = [
|
|
12155
|
+
let todo = [subject8];
|
|
12156
12156
|
let done = {};
|
|
12157
12157
|
let doneArcs = {};
|
|
12158
12158
|
let result6 = [];
|
|
@@ -12350,12 +12350,12 @@ var PodOS = (() => {
|
|
|
12350
12350
|
Object.assign(agenda2, seeds);
|
|
12351
12351
|
let done = {};
|
|
12352
12352
|
while (true) {
|
|
12353
|
-
t = function() {
|
|
12353
|
+
t = (function() {
|
|
12354
12354
|
for (let p in agenda2) {
|
|
12355
12355
|
if (!agenda2.hasOwnProperty(p)) continue;
|
|
12356
12356
|
return p;
|
|
12357
12357
|
}
|
|
12358
|
-
}();
|
|
12358
|
+
})();
|
|
12359
12359
|
if (t == null) {
|
|
12360
12360
|
return done;
|
|
12361
12361
|
}
|
|
@@ -13372,8 +13372,8 @@ var PodOS = (() => {
|
|
|
13372
13372
|
* @param object The object
|
|
13373
13373
|
* @param graph The graph that contains the statement
|
|
13374
13374
|
*/
|
|
13375
|
-
match(
|
|
13376
|
-
return this.statementsMatching(node_default.fromValue(
|
|
13375
|
+
match(subject8, predicate4, object8, graph3) {
|
|
13376
|
+
return this.statementsMatching(node_default.fromValue(subject8), node_default.fromValue(predicate4), node_default.fromValue(object8), node_default.fromValue(graph3));
|
|
13377
13377
|
}
|
|
13378
13378
|
/**
|
|
13379
13379
|
* Find out whether a given URI is used as symbol in the formula
|
|
@@ -13555,8 +13555,8 @@ var PodOS = (() => {
|
|
|
13555
13555
|
* @param object The object
|
|
13556
13556
|
* @param graph The graph that contains the statement
|
|
13557
13557
|
*/
|
|
13558
|
-
removeMatches(
|
|
13559
|
-
this.removeMany(
|
|
13558
|
+
removeMatches(subject8, predicate4, object8, graph3) {
|
|
13559
|
+
this.removeMany(subject8, predicate4, object8, graph3);
|
|
13560
13560
|
return this;
|
|
13561
13561
|
}
|
|
13562
13562
|
/**
|
|
@@ -15480,15 +15480,15 @@ var PodOS = (() => {
|
|
|
15480
15480
|
* @return the next permutation.
|
|
15481
15481
|
*/
|
|
15482
15482
|
next() {
|
|
15483
|
-
const { current:
|
|
15484
|
-
const rval =
|
|
15483
|
+
const { current: current3, dir } = this;
|
|
15484
|
+
const rval = current3.slice();
|
|
15485
15485
|
let k = null;
|
|
15486
15486
|
let pos = 0;
|
|
15487
|
-
const length3 =
|
|
15487
|
+
const length3 = current3.length;
|
|
15488
15488
|
for (let i = 0; i < length3; ++i) {
|
|
15489
|
-
const element2 =
|
|
15489
|
+
const element2 = current3[i];
|
|
15490
15490
|
const left = dir.get(element2);
|
|
15491
|
-
if ((k === null || element2 > k) && (left && i > 0 && element2 >
|
|
15491
|
+
if ((k === null || element2 > k) && (left && i > 0 && element2 > current3[i - 1] || !left && i < length3 - 1 && element2 > current3[i + 1])) {
|
|
15492
15492
|
k = element2;
|
|
15493
15493
|
pos = i;
|
|
15494
15494
|
}
|
|
@@ -15497,9 +15497,9 @@ var PodOS = (() => {
|
|
|
15497
15497
|
this.done = true;
|
|
15498
15498
|
} else {
|
|
15499
15499
|
const swap = dir.get(k) ? pos - 1 : pos + 1;
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
for (const element2 of
|
|
15500
|
+
current3[pos] = current3[swap];
|
|
15501
|
+
current3[swap] = k;
|
|
15502
|
+
for (const element2 of current3) {
|
|
15503
15503
|
if (element2 > k) {
|
|
15504
15504
|
dir.set(element2, !dir.get(element2));
|
|
15505
15505
|
}
|
|
@@ -15536,14 +15536,14 @@ var PodOS = (() => {
|
|
|
15536
15536
|
const literal4 = "(?:" + plain + "(?:" + datatype3 + "|" + language9 + ")?)";
|
|
15537
15537
|
const ws2 = "[ \\t]+";
|
|
15538
15538
|
const wso = "[ \\t]*";
|
|
15539
|
-
const
|
|
15539
|
+
const subject8 = "(?:" + iri + "|" + bnode + ")" + ws2;
|
|
15540
15540
|
const property4 = iri + ws2;
|
|
15541
15541
|
const object8 = "(?:" + iri + "|" + bnode + "|" + literal4 + ")" + wso;
|
|
15542
15542
|
const graphName = "(?:\\.|(?:(?:" + iri + "|" + bnode + ")" + wso + "\\.))";
|
|
15543
15543
|
REGEX.eoln = /(?:\r\n)|(?:\n)|(?:\r)/g;
|
|
15544
15544
|
REGEX.empty = new RegExp("^" + wso + "$");
|
|
15545
15545
|
REGEX.quad = new RegExp(
|
|
15546
|
-
"^" + wso +
|
|
15546
|
+
"^" + wso + subject8 + property4 + object8 + graphName + wso + "$"
|
|
15547
15547
|
);
|
|
15548
15548
|
})();
|
|
15549
15549
|
module3.exports = class NQuads {
|
|
@@ -16879,16 +16879,16 @@ var PodOS = (() => {
|
|
|
16879
16879
|
{ code: "invalid type value", value: v2 }
|
|
16880
16880
|
);
|
|
16881
16881
|
};
|
|
16882
|
-
api.hasProperty = (
|
|
16883
|
-
if (
|
|
16884
|
-
const value7 =
|
|
16882
|
+
api.hasProperty = (subject8, property4) => {
|
|
16883
|
+
if (subject8.hasOwnProperty(property4)) {
|
|
16884
|
+
const value7 = subject8[property4];
|
|
16885
16885
|
return !types.isArray(value7) || value7.length > 0;
|
|
16886
16886
|
}
|
|
16887
16887
|
return false;
|
|
16888
16888
|
};
|
|
16889
|
-
api.hasValue = (
|
|
16890
|
-
if (api.hasProperty(
|
|
16891
|
-
let val =
|
|
16889
|
+
api.hasValue = (subject8, property4, value7) => {
|
|
16890
|
+
if (api.hasProperty(subject8, property4)) {
|
|
16891
|
+
let val = subject8[property4];
|
|
16892
16892
|
const isList = graphTypes.isList(val);
|
|
16893
16893
|
if (types.isArray(val) || isList) {
|
|
16894
16894
|
if (isList) {
|
|
@@ -16905,7 +16905,7 @@ var PodOS = (() => {
|
|
|
16905
16905
|
}
|
|
16906
16906
|
return false;
|
|
16907
16907
|
};
|
|
16908
|
-
api.addValue = (
|
|
16908
|
+
api.addValue = (subject8, property4, value7, options) => {
|
|
16909
16909
|
options = options || {};
|
|
16910
16910
|
if (!("propertyIsArray" in options)) {
|
|
16911
16911
|
options.propertyIsArray = false;
|
|
@@ -16920,52 +16920,52 @@ var PodOS = (() => {
|
|
|
16920
16920
|
options.prependValue = false;
|
|
16921
16921
|
}
|
|
16922
16922
|
if (options.valueIsArray) {
|
|
16923
|
-
|
|
16923
|
+
subject8[property4] = value7;
|
|
16924
16924
|
} else if (types.isArray(value7)) {
|
|
16925
|
-
if (value7.length === 0 && options.propertyIsArray && !
|
|
16926
|
-
|
|
16925
|
+
if (value7.length === 0 && options.propertyIsArray && !subject8.hasOwnProperty(property4)) {
|
|
16926
|
+
subject8[property4] = [];
|
|
16927
16927
|
}
|
|
16928
16928
|
if (options.prependValue) {
|
|
16929
|
-
value7 = value7.concat(
|
|
16930
|
-
|
|
16929
|
+
value7 = value7.concat(subject8[property4]);
|
|
16930
|
+
subject8[property4] = [];
|
|
16931
16931
|
}
|
|
16932
16932
|
for (let i = 0; i < value7.length; ++i) {
|
|
16933
|
-
api.addValue(
|
|
16933
|
+
api.addValue(subject8, property4, value7[i], options);
|
|
16934
16934
|
}
|
|
16935
|
-
} else if (
|
|
16936
|
-
const hasValue4 = !options.allowDuplicate && api.hasValue(
|
|
16937
|
-
if (!types.isArray(
|
|
16938
|
-
|
|
16935
|
+
} else if (subject8.hasOwnProperty(property4)) {
|
|
16936
|
+
const hasValue4 = !options.allowDuplicate && api.hasValue(subject8, property4, value7);
|
|
16937
|
+
if (!types.isArray(subject8[property4]) && (!hasValue4 || options.propertyIsArray)) {
|
|
16938
|
+
subject8[property4] = [subject8[property4]];
|
|
16939
16939
|
}
|
|
16940
16940
|
if (!hasValue4) {
|
|
16941
16941
|
if (options.prependValue) {
|
|
16942
|
-
|
|
16942
|
+
subject8[property4].unshift(value7);
|
|
16943
16943
|
} else {
|
|
16944
|
-
|
|
16944
|
+
subject8[property4].push(value7);
|
|
16945
16945
|
}
|
|
16946
16946
|
}
|
|
16947
16947
|
} else {
|
|
16948
|
-
|
|
16948
|
+
subject8[property4] = options.propertyIsArray ? [value7] : value7;
|
|
16949
16949
|
}
|
|
16950
16950
|
};
|
|
16951
|
-
api.getValues = (
|
|
16952
|
-
api.removeProperty = (
|
|
16953
|
-
delete
|
|
16951
|
+
api.getValues = (subject8, property4) => [].concat(subject8[property4] || []);
|
|
16952
|
+
api.removeProperty = (subject8, property4) => {
|
|
16953
|
+
delete subject8[property4];
|
|
16954
16954
|
};
|
|
16955
|
-
api.removeValue = (
|
|
16955
|
+
api.removeValue = (subject8, property4, value7, options) => {
|
|
16956
16956
|
options = options || {};
|
|
16957
16957
|
if (!("propertyIsArray" in options)) {
|
|
16958
16958
|
options.propertyIsArray = false;
|
|
16959
16959
|
}
|
|
16960
|
-
const values2 = api.getValues(
|
|
16960
|
+
const values2 = api.getValues(subject8, property4).filter(
|
|
16961
16961
|
(e) => !api.compareValues(e, value7)
|
|
16962
16962
|
);
|
|
16963
16963
|
if (values2.length === 0) {
|
|
16964
|
-
api.removeProperty(
|
|
16964
|
+
api.removeProperty(subject8, property4);
|
|
16965
16965
|
} else if (values2.length === 1 && !options.propertyIsArray) {
|
|
16966
|
-
|
|
16966
|
+
subject8[property4] = values2[0];
|
|
16967
16967
|
} else {
|
|
16968
|
-
|
|
16968
|
+
subject8[property4] = values2;
|
|
16969
16969
|
}
|
|
16970
16970
|
};
|
|
16971
16971
|
api.relabelBlankNodes = (input2, options) => {
|
|
@@ -17223,8 +17223,8 @@ var PodOS = (() => {
|
|
|
17223
17223
|
const rel2 = api.parse(iri.substr(root.length));
|
|
17224
17224
|
const baseSegments = base2.normalizedPath.split("/");
|
|
17225
17225
|
const iriSegments = rel2.normalizedPath.split("/");
|
|
17226
|
-
const
|
|
17227
|
-
while (baseSegments.length > 0 && iriSegments.length >
|
|
17226
|
+
const last3 = rel2.fragment || rel2.query ? 0 : 1;
|
|
17227
|
+
while (baseSegments.length > 0 && iriSegments.length > last3) {
|
|
17228
17228
|
if (baseSegments[0] !== iriSegments[0]) {
|
|
17229
17229
|
break;
|
|
17230
17230
|
}
|
|
@@ -17257,22 +17257,22 @@ var PodOS = (() => {
|
|
|
17257
17257
|
const input2 = path3.split("/");
|
|
17258
17258
|
const output2 = [];
|
|
17259
17259
|
while (input2.length > 0) {
|
|
17260
|
-
const
|
|
17260
|
+
const next4 = input2.shift();
|
|
17261
17261
|
const done = input2.length === 0;
|
|
17262
|
-
if (
|
|
17262
|
+
if (next4 === ".") {
|
|
17263
17263
|
if (done) {
|
|
17264
17264
|
output2.push("");
|
|
17265
17265
|
}
|
|
17266
17266
|
continue;
|
|
17267
17267
|
}
|
|
17268
|
-
if (
|
|
17268
|
+
if (next4 === "..") {
|
|
17269
17269
|
output2.pop();
|
|
17270
17270
|
if (done) {
|
|
17271
17271
|
output2.push("");
|
|
17272
17272
|
}
|
|
17273
17273
|
continue;
|
|
17274
17274
|
}
|
|
17275
|
-
output2.push(
|
|
17275
|
+
output2.push(next4);
|
|
17276
17276
|
}
|
|
17277
17277
|
if (path3[0] === "/" && output2.length > 0 && output2[0] !== "") {
|
|
17278
17278
|
output2.unshift("");
|
|
@@ -17456,25 +17456,25 @@ var PodOS = (() => {
|
|
|
17456
17456
|
if (node3.list !== this) {
|
|
17457
17457
|
throw new Error("removing node which does not belong to this list");
|
|
17458
17458
|
}
|
|
17459
|
-
var
|
|
17460
|
-
var
|
|
17461
|
-
if (
|
|
17462
|
-
|
|
17459
|
+
var next4 = node3.next;
|
|
17460
|
+
var prev2 = node3.prev;
|
|
17461
|
+
if (next4) {
|
|
17462
|
+
next4.prev = prev2;
|
|
17463
17463
|
}
|
|
17464
|
-
if (
|
|
17465
|
-
|
|
17464
|
+
if (prev2) {
|
|
17465
|
+
prev2.next = next4;
|
|
17466
17466
|
}
|
|
17467
17467
|
if (node3 === this.head) {
|
|
17468
|
-
this.head =
|
|
17468
|
+
this.head = next4;
|
|
17469
17469
|
}
|
|
17470
17470
|
if (node3 === this.tail) {
|
|
17471
|
-
this.tail =
|
|
17471
|
+
this.tail = prev2;
|
|
17472
17472
|
}
|
|
17473
17473
|
node3.list.length--;
|
|
17474
17474
|
node3.next = null;
|
|
17475
17475
|
node3.prev = null;
|
|
17476
17476
|
node3.list = null;
|
|
17477
|
-
return
|
|
17477
|
+
return next4;
|
|
17478
17478
|
};
|
|
17479
17479
|
Yallist.prototype.unshiftNode = function(node3) {
|
|
17480
17480
|
if (node3 === this.head) {
|
|
@@ -17769,21 +17769,21 @@ var PodOS = (() => {
|
|
|
17769
17769
|
}
|
|
17770
17770
|
self2.length++;
|
|
17771
17771
|
}
|
|
17772
|
-
function Node3(value7,
|
|
17772
|
+
function Node3(value7, prev2, next4, list) {
|
|
17773
17773
|
if (!(this instanceof Node3)) {
|
|
17774
|
-
return new Node3(value7,
|
|
17774
|
+
return new Node3(value7, prev2, next4, list);
|
|
17775
17775
|
}
|
|
17776
17776
|
this.list = list;
|
|
17777
17777
|
this.value = value7;
|
|
17778
|
-
if (
|
|
17779
|
-
|
|
17780
|
-
this.prev =
|
|
17778
|
+
if (prev2) {
|
|
17779
|
+
prev2.next = this;
|
|
17780
|
+
this.prev = prev2;
|
|
17781
17781
|
} else {
|
|
17782
17782
|
this.prev = null;
|
|
17783
17783
|
}
|
|
17784
|
-
if (
|
|
17785
|
-
|
|
17786
|
-
this.next =
|
|
17784
|
+
if (next4) {
|
|
17785
|
+
next4.prev = this;
|
|
17786
|
+
this.next = next4;
|
|
17787
17787
|
} else {
|
|
17788
17788
|
this.next = null;
|
|
17789
17789
|
}
|
|
@@ -17882,17 +17882,17 @@ var PodOS = (() => {
|
|
|
17882
17882
|
rforEach(fn2, thisp) {
|
|
17883
17883
|
thisp = thisp || this;
|
|
17884
17884
|
for (let walker = this[LRU_LIST].tail; walker !== null; ) {
|
|
17885
|
-
const
|
|
17885
|
+
const prev2 = walker.prev;
|
|
17886
17886
|
forEachStep(this, fn2, walker, thisp);
|
|
17887
|
-
walker =
|
|
17887
|
+
walker = prev2;
|
|
17888
17888
|
}
|
|
17889
17889
|
}
|
|
17890
17890
|
forEach(fn2, thisp) {
|
|
17891
17891
|
thisp = thisp || this;
|
|
17892
17892
|
for (let walker = this[LRU_LIST].head; walker !== null; ) {
|
|
17893
|
-
const
|
|
17893
|
+
const next4 = walker.next;
|
|
17894
17894
|
forEachStep(this, fn2, walker, thisp);
|
|
17895
|
-
walker =
|
|
17895
|
+
walker = next4;
|
|
17896
17896
|
}
|
|
17897
17897
|
}
|
|
17898
17898
|
keys() {
|
|
@@ -18025,9 +18025,9 @@ var PodOS = (() => {
|
|
|
18025
18025
|
var trim = (self2) => {
|
|
18026
18026
|
if (self2[LENGTH] > self2[MAX]) {
|
|
18027
18027
|
for (let walker = self2[LRU_LIST].tail; self2[LENGTH] > self2[MAX] && walker !== null; ) {
|
|
18028
|
-
const
|
|
18028
|
+
const prev2 = walker.prev;
|
|
18029
18029
|
del(self2, walker);
|
|
18030
|
-
walker =
|
|
18030
|
+
walker = prev2;
|
|
18031
18031
|
}
|
|
18032
18032
|
}
|
|
18033
18033
|
};
|
|
@@ -18390,7 +18390,7 @@ var PodOS = (() => {
|
|
|
18390
18390
|
// toRDF / fromRDF
|
|
18391
18391
|
"rdfDirection not set"
|
|
18392
18392
|
]);
|
|
18393
|
-
api.safeEventHandler = function safeEventHandler({ event: event4, next:
|
|
18393
|
+
api.safeEventHandler = function safeEventHandler({ event: event4, next: next4 }) {
|
|
18394
18394
|
if (event4.level === "warning" && _notSafeEventCodes.has(event4.code)) {
|
|
18395
18395
|
throw new JsonLdError(
|
|
18396
18396
|
"Safe mode validation error.",
|
|
@@ -18398,17 +18398,17 @@ var PodOS = (() => {
|
|
|
18398
18398
|
{ event: event4 }
|
|
18399
18399
|
);
|
|
18400
18400
|
}
|
|
18401
|
-
|
|
18401
|
+
next4();
|
|
18402
18402
|
};
|
|
18403
|
-
api.logEventHandler = function logEventHandler({ event: event4, next:
|
|
18403
|
+
api.logEventHandler = function logEventHandler({ event: event4, next: next4 }) {
|
|
18404
18404
|
console.log(`EVENT: ${event4.message}`, { event: event4 });
|
|
18405
|
-
|
|
18405
|
+
next4();
|
|
18406
18406
|
};
|
|
18407
|
-
api.logWarningEventHandler = function logWarningEventHandler({ event: event4, next:
|
|
18407
|
+
api.logWarningEventHandler = function logWarningEventHandler({ event: event4, next: next4 }) {
|
|
18408
18408
|
if (event4.level === "warning") {
|
|
18409
18409
|
console.warn(`WARNING: ${event4.message}`, { event: event4 });
|
|
18410
18410
|
}
|
|
18411
|
-
|
|
18411
|
+
next4();
|
|
18412
18412
|
};
|
|
18413
18413
|
api.unhandledEventHandler = function unhandledEventHandler({ event: event4 }) {
|
|
18414
18414
|
throw new JsonLdError(
|
|
@@ -18470,9 +18470,9 @@ var PodOS = (() => {
|
|
|
18470
18470
|
}
|
|
18471
18471
|
const events3 = [];
|
|
18472
18472
|
const eventCaptureHandler = [
|
|
18473
|
-
({ event: event4, next:
|
|
18473
|
+
({ event: event4, next: next4 }) => {
|
|
18474
18474
|
events3.push(event4);
|
|
18475
|
-
|
|
18475
|
+
next4();
|
|
18476
18476
|
}
|
|
18477
18477
|
];
|
|
18478
18478
|
if (options.eventHandler) {
|
|
@@ -19464,7 +19464,7 @@ var PodOS = (() => {
|
|
|
19464
19464
|
}
|
|
19465
19465
|
function _buildIriMap(iriMap, key4, idx) {
|
|
19466
19466
|
const entries = iriMap[key4];
|
|
19467
|
-
const
|
|
19467
|
+
const next4 = iriMap[key4] = {};
|
|
19468
19468
|
let iri;
|
|
19469
19469
|
let letter;
|
|
19470
19470
|
for (const entry2 of entries) {
|
|
@@ -19474,17 +19474,17 @@ var PodOS = (() => {
|
|
|
19474
19474
|
} else {
|
|
19475
19475
|
letter = iri[idx];
|
|
19476
19476
|
}
|
|
19477
|
-
if (letter in
|
|
19478
|
-
|
|
19477
|
+
if (letter in next4) {
|
|
19478
|
+
next4[letter].push(entry2);
|
|
19479
19479
|
} else {
|
|
19480
|
-
|
|
19480
|
+
next4[letter] = [entry2];
|
|
19481
19481
|
}
|
|
19482
19482
|
}
|
|
19483
|
-
for (const key5 in
|
|
19483
|
+
for (const key5 in next4) {
|
|
19484
19484
|
if (key5 === "") {
|
|
19485
19485
|
continue;
|
|
19486
19486
|
}
|
|
19487
|
-
_buildIriMap(
|
|
19487
|
+
_buildIriMap(next4, key5, idx + 1);
|
|
19488
19488
|
}
|
|
19489
19489
|
}
|
|
19490
19490
|
function _addPreferredTerm(term3, entry2, typeOrLanguageValue) {
|
|
@@ -20757,8 +20757,8 @@ var PodOS = (() => {
|
|
|
20757
20757
|
list.push({ "@id": name9 });
|
|
20758
20758
|
}
|
|
20759
20759
|
const subjects2 = graphs[graph3];
|
|
20760
|
-
const
|
|
20761
|
-
|
|
20760
|
+
const subject8 = subjects2[name9] = subjects2[name9] || {};
|
|
20761
|
+
subject8["@id"] = name9;
|
|
20762
20762
|
const properties = Object.keys(input2).sort();
|
|
20763
20763
|
for (let property4 of properties) {
|
|
20764
20764
|
if (property4 === "@id") {
|
|
@@ -20797,14 +20797,14 @@ var PodOS = (() => {
|
|
|
20797
20797
|
continue;
|
|
20798
20798
|
}
|
|
20799
20799
|
if (property4 !== "@type" && isKeyword(property4)) {
|
|
20800
|
-
if (property4 === "@index" && property4 in
|
|
20800
|
+
if (property4 === "@index" && property4 in subject8 && (input2[property4] !== subject8[property4] || input2[property4]["@id"] !== subject8[property4]["@id"])) {
|
|
20801
20801
|
throw new JsonLdError(
|
|
20802
20802
|
"Invalid JSON-LD syntax; conflicting @index property detected.",
|
|
20803
20803
|
"jsonld.SyntaxError",
|
|
20804
|
-
{ code: "conflicting indexes", subject:
|
|
20804
|
+
{ code: "conflicting indexes", subject: subject8 }
|
|
20805
20805
|
);
|
|
20806
20806
|
}
|
|
20807
|
-
|
|
20807
|
+
subject8[property4] = input2[property4];
|
|
20808
20808
|
continue;
|
|
20809
20809
|
}
|
|
20810
20810
|
const objects = input2[property4];
|
|
@@ -20812,7 +20812,7 @@ var PodOS = (() => {
|
|
|
20812
20812
|
property4 = issuer2.getId(property4);
|
|
20813
20813
|
}
|
|
20814
20814
|
if (objects.length === 0) {
|
|
20815
|
-
util.addValue(
|
|
20815
|
+
util.addValue(subject8, property4, [], { propertyIsArray: true });
|
|
20816
20816
|
continue;
|
|
20817
20817
|
}
|
|
20818
20818
|
for (let o of objects) {
|
|
@@ -20825,7 +20825,7 @@ var PodOS = (() => {
|
|
|
20825
20825
|
}
|
|
20826
20826
|
const id4 = graphTypes.isBlankNode(o) ? issuer2.getId(o["@id"]) : o["@id"];
|
|
20827
20827
|
util.addValue(
|
|
20828
|
-
|
|
20828
|
+
subject8,
|
|
20829
20829
|
property4,
|
|
20830
20830
|
{ "@id": id4 },
|
|
20831
20831
|
{ propertyIsArray: true, allowDuplicate: false }
|
|
@@ -20833,7 +20833,7 @@ var PodOS = (() => {
|
|
|
20833
20833
|
api.createNodeMap(o, graphs, graph3, issuer2, id4);
|
|
20834
20834
|
} else if (graphTypes.isValue(o)) {
|
|
20835
20835
|
util.addValue(
|
|
20836
|
-
|
|
20836
|
+
subject8,
|
|
20837
20837
|
property4,
|
|
20838
20838
|
o,
|
|
20839
20839
|
{ propertyIsArray: true, allowDuplicate: false }
|
|
@@ -20843,7 +20843,7 @@ var PodOS = (() => {
|
|
|
20843
20843
|
api.createNodeMap(o["@list"], graphs, graph3, issuer2, name9, _list);
|
|
20844
20844
|
o = { "@list": _list };
|
|
20845
20845
|
util.addValue(
|
|
20846
|
-
|
|
20846
|
+
subject8,
|
|
20847
20847
|
property4,
|
|
20848
20848
|
o,
|
|
20849
20849
|
{ propertyIsArray: true, allowDuplicate: false }
|
|
@@ -20851,7 +20851,7 @@ var PodOS = (() => {
|
|
|
20851
20851
|
} else {
|
|
20852
20852
|
api.createNodeMap(o, graphs, graph3, issuer2, name9);
|
|
20853
20853
|
util.addValue(
|
|
20854
|
-
|
|
20854
|
+
subject8,
|
|
20855
20855
|
property4,
|
|
20856
20856
|
o,
|
|
20857
20857
|
{ propertyIsArray: true, allowDuplicate: false }
|
|
@@ -20895,16 +20895,16 @@ var PodOS = (() => {
|
|
|
20895
20895
|
continue;
|
|
20896
20896
|
}
|
|
20897
20897
|
const nodeMap = graphs[graphName];
|
|
20898
|
-
let
|
|
20899
|
-
if (!
|
|
20900
|
-
defaultGraph5[graphName] =
|
|
20898
|
+
let subject8 = defaultGraph5[graphName];
|
|
20899
|
+
if (!subject8) {
|
|
20900
|
+
defaultGraph5[graphName] = subject8 = {
|
|
20901
20901
|
"@id": graphName,
|
|
20902
20902
|
"@graph": []
|
|
20903
20903
|
};
|
|
20904
|
-
} else if (!("@graph" in
|
|
20905
|
-
|
|
20904
|
+
} else if (!("@graph" in subject8)) {
|
|
20905
|
+
subject8["@graph"] = [];
|
|
20906
20906
|
}
|
|
20907
|
-
const graph3 =
|
|
20907
|
+
const graph3 = subject8["@graph"];
|
|
20908
20908
|
for (const id4 of Object.keys(nodeMap).sort()) {
|
|
20909
20909
|
const node3 = nodeMap[id4];
|
|
20910
20910
|
if (!graphTypes.isSubjectReference(node3)) {
|
|
@@ -21088,11 +21088,11 @@ var PodOS = (() => {
|
|
|
21088
21088
|
}
|
|
21089
21089
|
const result6 = [];
|
|
21090
21090
|
const subjects2 = Object.keys(defaultGraph5).sort();
|
|
21091
|
-
for (const
|
|
21092
|
-
const node3 = defaultGraph5[
|
|
21093
|
-
if (
|
|
21091
|
+
for (const subject8 of subjects2) {
|
|
21092
|
+
const node3 = defaultGraph5[subject8];
|
|
21093
|
+
if (subject8 in graphMap) {
|
|
21094
21094
|
const graph3 = node3["@graph"] = [];
|
|
21095
|
-
const graphObject = graphMap[
|
|
21095
|
+
const graphObject = graphMap[subject8];
|
|
21096
21096
|
const graphSubjects = Object.keys(graphObject).sort();
|
|
21097
21097
|
for (const graphSubject of graphSubjects) {
|
|
21098
21098
|
const node4 = graphObject[graphSubject];
|
|
@@ -21312,7 +21312,7 @@ var PodOS = (() => {
|
|
|
21312
21312
|
continue;
|
|
21313
21313
|
}
|
|
21314
21314
|
for (const item4 of items2) {
|
|
21315
|
-
const
|
|
21315
|
+
const subject8 = {
|
|
21316
21316
|
termType: id4.startsWith("_:") ? "BlankNode" : "NamedNode",
|
|
21317
21317
|
value: id4
|
|
21318
21318
|
};
|
|
@@ -21382,7 +21382,7 @@ var PodOS = (() => {
|
|
|
21382
21382
|
);
|
|
21383
21383
|
if (object8) {
|
|
21384
21384
|
dataset3.push({
|
|
21385
|
-
subject:
|
|
21385
|
+
subject: subject8,
|
|
21386
21386
|
predicate: predicate4,
|
|
21387
21387
|
object: object8,
|
|
21388
21388
|
graph: graphTerm
|
|
@@ -21393,12 +21393,12 @@ var PodOS = (() => {
|
|
|
21393
21393
|
}
|
|
21394
21394
|
}
|
|
21395
21395
|
function _listToRDF(list, issuer2, dataset3, graphTerm, rdfDirection, options) {
|
|
21396
|
-
const
|
|
21396
|
+
const first4 = { termType: "NamedNode", value: RDF_FIRST };
|
|
21397
21397
|
const rest3 = { termType: "NamedNode", value: RDF_REST };
|
|
21398
21398
|
const nil = { termType: "NamedNode", value: RDF_NIL };
|
|
21399
|
-
const
|
|
21400
|
-
const result6 =
|
|
21401
|
-
let
|
|
21399
|
+
const last3 = list.pop();
|
|
21400
|
+
const result6 = last3 ? { termType: "BlankNode", value: issuer2.getId() } : nil;
|
|
21401
|
+
let subject8 = result6;
|
|
21402
21402
|
for (const item4 of list) {
|
|
21403
21403
|
const object8 = _objectToRDF(
|
|
21404
21404
|
item4,
|
|
@@ -21408,24 +21408,24 @@ var PodOS = (() => {
|
|
|
21408
21408
|
rdfDirection,
|
|
21409
21409
|
options
|
|
21410
21410
|
);
|
|
21411
|
-
const
|
|
21411
|
+
const next4 = { termType: "BlankNode", value: issuer2.getId() };
|
|
21412
21412
|
dataset3.push({
|
|
21413
|
-
subject:
|
|
21414
|
-
predicate:
|
|
21413
|
+
subject: subject8,
|
|
21414
|
+
predicate: first4,
|
|
21415
21415
|
object: object8,
|
|
21416
21416
|
graph: graphTerm
|
|
21417
21417
|
});
|
|
21418
21418
|
dataset3.push({
|
|
21419
|
-
subject:
|
|
21419
|
+
subject: subject8,
|
|
21420
21420
|
predicate: rest3,
|
|
21421
|
-
object:
|
|
21421
|
+
object: next4,
|
|
21422
21422
|
graph: graphTerm
|
|
21423
21423
|
});
|
|
21424
|
-
|
|
21424
|
+
subject8 = next4;
|
|
21425
21425
|
}
|
|
21426
|
-
if (
|
|
21426
|
+
if (last3) {
|
|
21427
21427
|
const object8 = _objectToRDF(
|
|
21428
|
-
|
|
21428
|
+
last3,
|
|
21429
21429
|
issuer2,
|
|
21430
21430
|
dataset3,
|
|
21431
21431
|
graphTerm,
|
|
@@ -21433,13 +21433,13 @@ var PodOS = (() => {
|
|
|
21433
21433
|
options
|
|
21434
21434
|
);
|
|
21435
21435
|
dataset3.push({
|
|
21436
|
-
subject:
|
|
21437
|
-
predicate:
|
|
21436
|
+
subject: subject8,
|
|
21437
|
+
predicate: first4,
|
|
21438
21438
|
object: object8,
|
|
21439
21439
|
graph: graphTerm
|
|
21440
21440
|
});
|
|
21441
21441
|
dataset3.push({
|
|
21442
|
-
subject:
|
|
21442
|
+
subject: subject8,
|
|
21443
21443
|
predicate: rest3,
|
|
21444
21444
|
object: nil,
|
|
21445
21445
|
graph: graphTerm
|
|
@@ -21625,7 +21625,7 @@ var PodOS = (() => {
|
|
|
21625
21625
|
const matches = _filterSubjects(state2, subjects2, frame, flags3);
|
|
21626
21626
|
const ids = Object.keys(matches).sort();
|
|
21627
21627
|
for (const id4 of ids) {
|
|
21628
|
-
const
|
|
21628
|
+
const subject8 = matches[id4];
|
|
21629
21629
|
if (property4 === null) {
|
|
21630
21630
|
state2.uniqueEmbeds = { [state2.graph]: {} };
|
|
21631
21631
|
} else {
|
|
@@ -21650,7 +21650,7 @@ var PodOS = (() => {
|
|
|
21650
21650
|
if (!state2.embedded && state2.uniqueEmbeds[state2.graph].hasOwnProperty(id4)) {
|
|
21651
21651
|
continue;
|
|
21652
21652
|
}
|
|
21653
|
-
if (state2.embedded && (flags3.embed === "@never" || _createsCircularReference(
|
|
21653
|
+
if (state2.embedded && (flags3.embed === "@never" || _createsCircularReference(subject8, state2.graph, state2.subjectStack))) {
|
|
21654
21654
|
_addFrameOutput(parent4, property4, output2);
|
|
21655
21655
|
continue;
|
|
21656
21656
|
}
|
|
@@ -21664,7 +21664,7 @@ var PodOS = (() => {
|
|
|
21664
21664
|
}
|
|
21665
21665
|
}
|
|
21666
21666
|
state2.uniqueEmbeds[state2.graph][id4] = { parent: parent4, property: property4 };
|
|
21667
|
-
state2.subjectStack.push({ subject:
|
|
21667
|
+
state2.subjectStack.push({ subject: subject8, graph: state2.graph });
|
|
21668
21668
|
if (id4 in state2.graphMap) {
|
|
21669
21669
|
let recurse = false;
|
|
21670
21670
|
let subframe = null;
|
|
@@ -21697,11 +21697,11 @@ var PodOS = (() => {
|
|
|
21697
21697
|
"@included"
|
|
21698
21698
|
);
|
|
21699
21699
|
}
|
|
21700
|
-
for (const prop of Object.keys(
|
|
21700
|
+
for (const prop of Object.keys(subject8).sort()) {
|
|
21701
21701
|
if (isKeyword(prop)) {
|
|
21702
|
-
output2[prop] = util.clone(
|
|
21702
|
+
output2[prop] = util.clone(subject8[prop]);
|
|
21703
21703
|
if (prop === "@type") {
|
|
21704
|
-
for (const type5 of
|
|
21704
|
+
for (const type5 of subject8["@type"]) {
|
|
21705
21705
|
if (type5.indexOf("_:") === 0) {
|
|
21706
21706
|
util.addValue(
|
|
21707
21707
|
state2.bnodeMap,
|
|
@@ -21717,7 +21717,7 @@ var PodOS = (() => {
|
|
|
21717
21717
|
if (flags3.explicit && !(prop in frame)) {
|
|
21718
21718
|
continue;
|
|
21719
21719
|
}
|
|
21720
|
-
for (const o of
|
|
21720
|
+
for (const o of subject8[prop]) {
|
|
21721
21721
|
const subframe = prop in frame ? frame[prop] : _createImplicitFrame(flags3);
|
|
21722
21722
|
if (graphTypes.isList(o)) {
|
|
21723
21723
|
const subframe2 = frame[prop] && frame[prop][0] && frame[prop][0]["@list"] ? frame[prop][0]["@list"] : _createImplicitFrame(flags3);
|
|
@@ -21758,12 +21758,12 @@ var PodOS = (() => {
|
|
|
21758
21758
|
} else if (isKeyword(prop)) {
|
|
21759
21759
|
continue;
|
|
21760
21760
|
}
|
|
21761
|
-
const
|
|
21762
|
-
const omitDefaultOn = _getFrameFlag(
|
|
21761
|
+
const next4 = frame[prop][0] || {};
|
|
21762
|
+
const omitDefaultOn = _getFrameFlag(next4, options, "omitDefault");
|
|
21763
21763
|
if (!omitDefaultOn && !(prop in output2)) {
|
|
21764
21764
|
let preserve = "@null";
|
|
21765
|
-
if ("@default" in
|
|
21766
|
-
preserve = util.clone(
|
|
21765
|
+
if ("@default" in next4) {
|
|
21766
|
+
preserve = util.clone(next4["@default"]);
|
|
21767
21767
|
}
|
|
21768
21768
|
if (!types.isArray(preserve)) {
|
|
21769
21769
|
preserve = [preserve];
|
|
@@ -21773,8 +21773,8 @@ var PodOS = (() => {
|
|
|
21773
21773
|
}
|
|
21774
21774
|
for (const reverseProp of Object.keys(frame["@reverse"] || {}).sort()) {
|
|
21775
21775
|
const subframe = frame["@reverse"][reverseProp];
|
|
21776
|
-
for (const
|
|
21777
|
-
const nodeValues = util.getValues(state2.subjects[
|
|
21776
|
+
for (const subject9 of Object.keys(state2.subjects)) {
|
|
21777
|
+
const nodeValues = util.getValues(state2.subjects[subject9], reverseProp);
|
|
21778
21778
|
if (nodeValues.some((v2) => v2["@id"] === id4)) {
|
|
21779
21779
|
output2["@reverse"] = output2["@reverse"] || {};
|
|
21780
21780
|
util.addValue(
|
|
@@ -21785,7 +21785,7 @@ var PodOS = (() => {
|
|
|
21785
21785
|
);
|
|
21786
21786
|
api.frame(
|
|
21787
21787
|
{ ...state2, embedded: true },
|
|
21788
|
-
[
|
|
21788
|
+
[subject9],
|
|
21789
21789
|
subframe,
|
|
21790
21790
|
output2["@reverse"][reverseProp],
|
|
21791
21791
|
property4
|
|
@@ -21835,8 +21835,8 @@ var PodOS = (() => {
|
|
|
21835
21835
|
}
|
|
21836
21836
|
function _createsCircularReference(subjectToEmbed, graph3, subjectStack) {
|
|
21837
21837
|
for (let i = subjectStack.length - 1; i >= 0; --i) {
|
|
21838
|
-
const
|
|
21839
|
-
if (
|
|
21838
|
+
const subject8 = subjectStack[i];
|
|
21839
|
+
if (subject8.graph === graph3 && subject8.subject["@id"] === subjectToEmbed["@id"]) {
|
|
21840
21840
|
return true;
|
|
21841
21841
|
}
|
|
21842
21842
|
}
|
|
@@ -21894,19 +21894,19 @@ var PodOS = (() => {
|
|
|
21894
21894
|
function _filterSubjects(state2, subjects2, frame, flags3) {
|
|
21895
21895
|
const rval = {};
|
|
21896
21896
|
for (const id4 of subjects2) {
|
|
21897
|
-
const
|
|
21898
|
-
if (_filterSubject(state2,
|
|
21899
|
-
rval[id4] =
|
|
21897
|
+
const subject8 = state2.graphMap[state2.graph][id4];
|
|
21898
|
+
if (_filterSubject(state2, subject8, frame, flags3)) {
|
|
21899
|
+
rval[id4] = subject8;
|
|
21900
21900
|
}
|
|
21901
21901
|
}
|
|
21902
21902
|
return rval;
|
|
21903
21903
|
}
|
|
21904
|
-
function _filterSubject(state2,
|
|
21904
|
+
function _filterSubject(state2, subject8, frame, flags3) {
|
|
21905
21905
|
let wildcard = true;
|
|
21906
21906
|
let matchesSome = false;
|
|
21907
21907
|
for (const key3 in frame) {
|
|
21908
21908
|
let matchThis = false;
|
|
21909
|
-
const nodeValues = util.getValues(
|
|
21909
|
+
const nodeValues = util.getValues(subject8, key3);
|
|
21910
21910
|
const isEmpty = util.getValues(frame, key3).length === 0;
|
|
21911
21911
|
if (key3 === "@id") {
|
|
21912
21912
|
if (types.isEmptyObject(frame["@id"][0] || {})) {
|
|
@@ -21998,25 +21998,25 @@ var PodOS = (() => {
|
|
|
21998
21998
|
const embed = embeds[id4];
|
|
21999
21999
|
const parent4 = embed.parent;
|
|
22000
22000
|
const property4 = embed.property;
|
|
22001
|
-
const
|
|
22001
|
+
const subject8 = { "@id": id4 };
|
|
22002
22002
|
if (types.isArray(parent4)) {
|
|
22003
22003
|
for (let i = 0; i < parent4.length; ++i) {
|
|
22004
|
-
if (util.compareValues(parent4[i],
|
|
22005
|
-
parent4[i] =
|
|
22004
|
+
if (util.compareValues(parent4[i], subject8)) {
|
|
22005
|
+
parent4[i] = subject8;
|
|
22006
22006
|
break;
|
|
22007
22007
|
}
|
|
22008
22008
|
}
|
|
22009
22009
|
} else {
|
|
22010
22010
|
const useArray = types.isArray(parent4[property4]);
|
|
22011
|
-
util.removeValue(parent4, property4,
|
|
22012
|
-
util.addValue(parent4, property4,
|
|
22011
|
+
util.removeValue(parent4, property4, subject8, { propertyIsArray: useArray });
|
|
22012
|
+
util.addValue(parent4, property4, subject8, { propertyIsArray: useArray });
|
|
22013
22013
|
}
|
|
22014
22014
|
const removeDependents = (id5) => {
|
|
22015
22015
|
const ids = Object.keys(embeds);
|
|
22016
|
-
for (const
|
|
22017
|
-
if (
|
|
22018
|
-
delete embeds[
|
|
22019
|
-
removeDependents(
|
|
22016
|
+
for (const next4 of ids) {
|
|
22017
|
+
if (next4 in embeds && types.isObject(embeds[next4].parent) && embeds[next4].parent["@id"] === id5) {
|
|
22018
|
+
delete embeds[next4];
|
|
22019
|
+
removeDependents(next4);
|
|
22020
22020
|
}
|
|
22021
22021
|
}
|
|
22022
22022
|
};
|
|
@@ -24814,25 +24814,25 @@ var PodOS = (() => {
|
|
|
24814
24814
|
Buffer3.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE(offset3) {
|
|
24815
24815
|
offset3 = offset3 >>> 0;
|
|
24816
24816
|
validateNumber(offset3, "offset");
|
|
24817
|
-
const
|
|
24818
|
-
const
|
|
24819
|
-
if (
|
|
24817
|
+
const first4 = this[offset3];
|
|
24818
|
+
const last3 = this[offset3 + 7];
|
|
24819
|
+
if (first4 === void 0 || last3 === void 0) {
|
|
24820
24820
|
boundsError(offset3, this.length - 8);
|
|
24821
24821
|
}
|
|
24822
|
-
const lo =
|
|
24823
|
-
const hi = this[++offset3] + this[++offset3] * 2 ** 8 + this[++offset3] * 2 ** 16 +
|
|
24822
|
+
const lo = first4 + this[++offset3] * 2 ** 8 + this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 24;
|
|
24823
|
+
const hi = this[++offset3] + this[++offset3] * 2 ** 8 + this[++offset3] * 2 ** 16 + last3 * 2 ** 24;
|
|
24824
24824
|
return BigInt(lo) + (BigInt(hi) << BigInt(32));
|
|
24825
24825
|
});
|
|
24826
24826
|
Buffer3.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE(offset3) {
|
|
24827
24827
|
offset3 = offset3 >>> 0;
|
|
24828
24828
|
validateNumber(offset3, "offset");
|
|
24829
|
-
const
|
|
24830
|
-
const
|
|
24831
|
-
if (
|
|
24829
|
+
const first4 = this[offset3];
|
|
24830
|
+
const last3 = this[offset3 + 7];
|
|
24831
|
+
if (first4 === void 0 || last3 === void 0) {
|
|
24832
24832
|
boundsError(offset3, this.length - 8);
|
|
24833
24833
|
}
|
|
24834
|
-
const hi =
|
|
24835
|
-
const lo = this[++offset3] * 2 ** 24 + this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 8 +
|
|
24834
|
+
const hi = first4 * 2 ** 24 + this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 8 + this[++offset3];
|
|
24835
|
+
const lo = this[++offset3] * 2 ** 24 + this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 8 + last3;
|
|
24836
24836
|
return (BigInt(hi) << BigInt(32)) + BigInt(lo);
|
|
24837
24837
|
});
|
|
24838
24838
|
Buffer3.prototype.readIntLE = function readIntLE(offset3, byteLength2, noAssert) {
|
|
@@ -24894,25 +24894,25 @@ var PodOS = (() => {
|
|
|
24894
24894
|
Buffer3.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE(offset3) {
|
|
24895
24895
|
offset3 = offset3 >>> 0;
|
|
24896
24896
|
validateNumber(offset3, "offset");
|
|
24897
|
-
const
|
|
24898
|
-
const
|
|
24899
|
-
if (
|
|
24897
|
+
const first4 = this[offset3];
|
|
24898
|
+
const last3 = this[offset3 + 7];
|
|
24899
|
+
if (first4 === void 0 || last3 === void 0) {
|
|
24900
24900
|
boundsError(offset3, this.length - 8);
|
|
24901
24901
|
}
|
|
24902
|
-
const val = this[offset3 + 4] + this[offset3 + 5] * 2 ** 8 + this[offset3 + 6] * 2 ** 16 + (
|
|
24903
|
-
return (BigInt(val) << BigInt(32)) + BigInt(
|
|
24902
|
+
const val = this[offset3 + 4] + this[offset3 + 5] * 2 ** 8 + this[offset3 + 6] * 2 ** 16 + (last3 << 24);
|
|
24903
|
+
return (BigInt(val) << BigInt(32)) + BigInt(first4 + this[++offset3] * 2 ** 8 + this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 24);
|
|
24904
24904
|
});
|
|
24905
24905
|
Buffer3.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE(offset3) {
|
|
24906
24906
|
offset3 = offset3 >>> 0;
|
|
24907
24907
|
validateNumber(offset3, "offset");
|
|
24908
|
-
const
|
|
24909
|
-
const
|
|
24910
|
-
if (
|
|
24908
|
+
const first4 = this[offset3];
|
|
24909
|
+
const last3 = this[offset3 + 7];
|
|
24910
|
+
if (first4 === void 0 || last3 === void 0) {
|
|
24911
24911
|
boundsError(offset3, this.length - 8);
|
|
24912
24912
|
}
|
|
24913
|
-
const val = (
|
|
24913
|
+
const val = (first4 << 24) + // Overflow
|
|
24914
24914
|
this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 8 + this[++offset3];
|
|
24915
|
-
return (BigInt(val) << BigInt(32)) + BigInt(this[++offset3] * 2 ** 24 + this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 8 +
|
|
24915
|
+
return (BigInt(val) << BigInt(32)) + BigInt(this[++offset3] * 2 ** 24 + this[++offset3] * 2 ** 16 + this[++offset3] * 2 ** 8 + last3);
|
|
24916
24916
|
});
|
|
24917
24917
|
Buffer3.prototype.readFloatLE = function readFloatLE(offset3, noAssert) {
|
|
24918
24918
|
offset3 = offset3 >>> 0;
|
|
@@ -25490,7 +25490,7 @@ var PodOS = (() => {
|
|
|
25490
25490
|
function numberIsNaN(obj) {
|
|
25491
25491
|
return obj !== obj;
|
|
25492
25492
|
}
|
|
25493
|
-
var hexSliceLookupTable = function() {
|
|
25493
|
+
var hexSliceLookupTable = (function() {
|
|
25494
25494
|
const alphabet = "0123456789abcdef";
|
|
25495
25495
|
const table = new Array(256);
|
|
25496
25496
|
for (let i = 0; i < 16; ++i) {
|
|
@@ -25500,7 +25500,7 @@ var PodOS = (() => {
|
|
|
25500
25500
|
}
|
|
25501
25501
|
}
|
|
25502
25502
|
return table;
|
|
25503
|
-
}();
|
|
25503
|
+
})();
|
|
25504
25504
|
function defineBigIntMethod(fn2) {
|
|
25505
25505
|
return typeof BigInt === "undefined" ? BufferBigIntNotDefined : fn2;
|
|
25506
25506
|
}
|
|
@@ -26015,8 +26015,8 @@ var PodOS = (() => {
|
|
|
26015
26015
|
function defaultGraph3() {
|
|
26016
26016
|
return DEFAULTGRAPH;
|
|
26017
26017
|
}
|
|
26018
|
-
function quad(
|
|
26019
|
-
return new Quad(
|
|
26018
|
+
function quad(subject8, predicate4, object8, graph3) {
|
|
26019
|
+
return new Quad(subject8, predicate4, object8, graph3);
|
|
26020
26020
|
}
|
|
26021
26021
|
function fromTerm(term3) {
|
|
26022
26022
|
if (term3 instanceof Term)
|
|
@@ -26181,9 +26181,9 @@ var PodOS = (() => {
|
|
|
26181
26181
|
};
|
|
26182
26182
|
DEFAULTGRAPH = new DefaultGraph2();
|
|
26183
26183
|
Quad = class extends Term {
|
|
26184
|
-
constructor(
|
|
26184
|
+
constructor(subject8, predicate4, object8, graph3) {
|
|
26185
26185
|
super("");
|
|
26186
|
-
this._subject =
|
|
26186
|
+
this._subject = subject8;
|
|
26187
26187
|
this._predicate = predicate4;
|
|
26188
26188
|
this._object = object8;
|
|
26189
26189
|
this._graph = graph3 || DEFAULTGRAPH;
|
|
@@ -26293,11 +26293,11 @@ var PodOS = (() => {
|
|
|
26293
26293
|
}
|
|
26294
26294
|
// ### `_saveContext` stores the current parsing context
|
|
26295
26295
|
// when entering a new scope (list, blank node, formula)
|
|
26296
|
-
_saveContext(type5, graph3,
|
|
26296
|
+
_saveContext(type5, graph3, subject8, predicate4, object8) {
|
|
26297
26297
|
const n3Mode = this._n3Mode;
|
|
26298
26298
|
this._contextStack.push({
|
|
26299
26299
|
type: type5,
|
|
26300
|
-
subject:
|
|
26300
|
+
subject: subject8,
|
|
26301
26301
|
predicate: predicate4,
|
|
26302
26302
|
object: object8,
|
|
26303
26303
|
graph: graph3,
|
|
@@ -26599,7 +26599,7 @@ var PodOS = (() => {
|
|
|
26599
26599
|
}
|
|
26600
26600
|
// ### `_readListItem` reads items from a list
|
|
26601
26601
|
_readListItem(token2) {
|
|
26602
|
-
let item4 = null, list = null,
|
|
26602
|
+
let item4 = null, list = null, next4 = this._readListItem;
|
|
26603
26603
|
const previousList = this._subject, stack = this._contextStack, parent4 = stack[stack.length - 1];
|
|
26604
26604
|
switch (token2.type) {
|
|
26605
26605
|
case "[":
|
|
@@ -26610,7 +26610,7 @@ var PodOS = (() => {
|
|
|
26610
26610
|
this.RDF_FIRST,
|
|
26611
26611
|
this._subject = item4 = this._factory.blankNode()
|
|
26612
26612
|
);
|
|
26613
|
-
|
|
26613
|
+
next4 = this._readBlankNodeHead;
|
|
26614
26614
|
break;
|
|
26615
26615
|
case "(":
|
|
26616
26616
|
this._saveContext(
|
|
@@ -26627,23 +26627,23 @@ var PodOS = (() => {
|
|
|
26627
26627
|
if (stack.length !== 0 && stack[stack.length - 1].type === "list")
|
|
26628
26628
|
this._emit(this._subject, this._predicate, this._object, this._graph);
|
|
26629
26629
|
if (this._predicate === null) {
|
|
26630
|
-
|
|
26630
|
+
next4 = this._readPredicate;
|
|
26631
26631
|
if (this._subject === this.RDF_NIL)
|
|
26632
|
-
return
|
|
26632
|
+
return next4;
|
|
26633
26633
|
} else {
|
|
26634
|
-
|
|
26634
|
+
next4 = this._getContextEndReader();
|
|
26635
26635
|
if (this._object === this.RDF_NIL)
|
|
26636
|
-
return
|
|
26636
|
+
return next4;
|
|
26637
26637
|
}
|
|
26638
26638
|
list = this.RDF_NIL;
|
|
26639
26639
|
break;
|
|
26640
26640
|
case "literal":
|
|
26641
26641
|
if (token2.prefix.length === 0) {
|
|
26642
26642
|
this._literalValue = token2.value;
|
|
26643
|
-
|
|
26643
|
+
next4 = this._readListItemDataTypeOrLang;
|
|
26644
26644
|
} else {
|
|
26645
26645
|
item4 = this._factory.literal(token2.value, this._factory.namedNode(token2.prefix));
|
|
26646
|
-
|
|
26646
|
+
next4 = this._getContextEndReader();
|
|
26647
26647
|
}
|
|
26648
26648
|
break;
|
|
26649
26649
|
case "{":
|
|
@@ -26679,7 +26679,7 @@ var PodOS = (() => {
|
|
|
26679
26679
|
}
|
|
26680
26680
|
this._emit(list, this.RDF_FIRST, item4, this._graph);
|
|
26681
26681
|
}
|
|
26682
|
-
return
|
|
26682
|
+
return next4;
|
|
26683
26683
|
}
|
|
26684
26684
|
// ### `_readDataTypeOrLang` reads an _optional_ datatype or language
|
|
26685
26685
|
_readDataTypeOrLang(token2) {
|
|
@@ -26740,8 +26740,8 @@ var PodOS = (() => {
|
|
|
26740
26740
|
}
|
|
26741
26741
|
// ### `_readPunctuation` reads punctuation between quads or quad parts
|
|
26742
26742
|
_readPunctuation(token2) {
|
|
26743
|
-
let
|
|
26744
|
-
const
|
|
26743
|
+
let next4, graph3 = this._graph;
|
|
26744
|
+
const subject8 = this._subject, inversePredicate = this._inversePredicate;
|
|
26745
26745
|
switch (token2.type) {
|
|
26746
26746
|
// A closing brace ends a graph
|
|
26747
26747
|
case "}":
|
|
@@ -26753,65 +26753,65 @@ var PodOS = (() => {
|
|
|
26753
26753
|
// A dot just ends the statement, without sharing anything with the next
|
|
26754
26754
|
case ".":
|
|
26755
26755
|
this._subject = null;
|
|
26756
|
-
|
|
26756
|
+
next4 = this._contextStack.length ? this._readSubject : this._readInTopContext;
|
|
26757
26757
|
if (inversePredicate) this._inversePredicate = false;
|
|
26758
26758
|
break;
|
|
26759
26759
|
// Semicolon means the subject is shared; predicate and object are different
|
|
26760
26760
|
case ";":
|
|
26761
|
-
|
|
26761
|
+
next4 = this._readPredicate;
|
|
26762
26762
|
break;
|
|
26763
26763
|
// Comma means both the subject and predicate are shared; the object is different
|
|
26764
26764
|
case ",":
|
|
26765
|
-
|
|
26765
|
+
next4 = this._readObject;
|
|
26766
26766
|
break;
|
|
26767
26767
|
// {| means that the current triple is annotated with predicate-object pairs.
|
|
26768
26768
|
case "{|":
|
|
26769
26769
|
if (!this._supportsRDFStar)
|
|
26770
26770
|
return this._error("Unexpected RDF-star syntax", token2);
|
|
26771
26771
|
const predicate4 = this._predicate, object8 = this._object;
|
|
26772
|
-
this._subject = this._factory.quad(
|
|
26773
|
-
|
|
26772
|
+
this._subject = this._factory.quad(subject8, predicate4, object8, this.DEFAULTGRAPH);
|
|
26773
|
+
next4 = this._readPredicate;
|
|
26774
26774
|
break;
|
|
26775
26775
|
// |} means that the current quoted triple in annotation syntax is finalized.
|
|
26776
26776
|
case "|}":
|
|
26777
26777
|
if (this._subject.termType !== "Quad")
|
|
26778
26778
|
return this._error("Unexpected asserted triple closing", token2);
|
|
26779
26779
|
this._subject = null;
|
|
26780
|
-
|
|
26780
|
+
next4 = this._readPunctuation;
|
|
26781
26781
|
break;
|
|
26782
26782
|
default:
|
|
26783
26783
|
if (this._supportsQuads && this._graph === null && (graph3 = this._readEntity(token2)) !== void 0) {
|
|
26784
|
-
|
|
26784
|
+
next4 = this._readQuadPunctuation;
|
|
26785
26785
|
break;
|
|
26786
26786
|
}
|
|
26787
26787
|
return this._error(`Expected punctuation to follow "${this._object.id}"`, token2);
|
|
26788
26788
|
}
|
|
26789
|
-
if (
|
|
26789
|
+
if (subject8 !== null) {
|
|
26790
26790
|
const predicate4 = this._predicate, object8 = this._object;
|
|
26791
26791
|
if (!inversePredicate)
|
|
26792
|
-
this._emit(
|
|
26792
|
+
this._emit(subject8, predicate4, object8, graph3);
|
|
26793
26793
|
else
|
|
26794
|
-
this._emit(object8, predicate4,
|
|
26794
|
+
this._emit(object8, predicate4, subject8, graph3);
|
|
26795
26795
|
}
|
|
26796
|
-
return
|
|
26796
|
+
return next4;
|
|
26797
26797
|
}
|
|
26798
26798
|
// ### `_readBlankNodePunctuation` reads punctuation in a blank node
|
|
26799
26799
|
_readBlankNodePunctuation(token2) {
|
|
26800
|
-
let
|
|
26800
|
+
let next4;
|
|
26801
26801
|
switch (token2.type) {
|
|
26802
26802
|
// Semicolon means the subject is shared; predicate and object are different
|
|
26803
26803
|
case ";":
|
|
26804
|
-
|
|
26804
|
+
next4 = this._readPredicate;
|
|
26805
26805
|
break;
|
|
26806
26806
|
// Comma means both the subject and predicate are shared; the object is different
|
|
26807
26807
|
case ",":
|
|
26808
|
-
|
|
26808
|
+
next4 = this._readObject;
|
|
26809
26809
|
break;
|
|
26810
26810
|
default:
|
|
26811
26811
|
return this._error(`Expected punctuation to follow "${this._object.id}"`, token2);
|
|
26812
26812
|
}
|
|
26813
26813
|
this._emit(this._subject, this._predicate, this._object, this._graph);
|
|
26814
|
-
return
|
|
26814
|
+
return next4;
|
|
26815
26815
|
}
|
|
26816
26816
|
// ### `_readQuadPunctuation` reads punctuation after a quad
|
|
26817
26817
|
_readQuadPunctuation(token2) {
|
|
@@ -26945,28 +26945,28 @@ var PodOS = (() => {
|
|
|
26945
26945
|
}
|
|
26946
26946
|
// ### `_readForwardPath` reads a '!' path
|
|
26947
26947
|
_readForwardPath(token2) {
|
|
26948
|
-
let
|
|
26948
|
+
let subject8, predicate4;
|
|
26949
26949
|
const object8 = this._factory.blankNode();
|
|
26950
26950
|
if ((predicate4 = this._readEntity(token2)) === void 0)
|
|
26951
26951
|
return;
|
|
26952
26952
|
if (this._predicate === null)
|
|
26953
|
-
|
|
26953
|
+
subject8 = this._subject, this._subject = object8;
|
|
26954
26954
|
else
|
|
26955
|
-
|
|
26956
|
-
this._emit(
|
|
26955
|
+
subject8 = this._object, this._object = object8;
|
|
26956
|
+
this._emit(subject8, predicate4, object8, this._graph);
|
|
26957
26957
|
return this._readPath;
|
|
26958
26958
|
}
|
|
26959
26959
|
// ### `_readBackwardPath` reads a '^' path
|
|
26960
26960
|
_readBackwardPath(token2) {
|
|
26961
|
-
const
|
|
26961
|
+
const subject8 = this._factory.blankNode();
|
|
26962
26962
|
let predicate4, object8;
|
|
26963
26963
|
if ((predicate4 = this._readEntity(token2)) === void 0)
|
|
26964
26964
|
return;
|
|
26965
26965
|
if (this._predicate === null)
|
|
26966
|
-
object8 = this._subject, this._subject =
|
|
26966
|
+
object8 = this._subject, this._subject = subject8;
|
|
26967
26967
|
else
|
|
26968
|
-
object8 = this._object, this._object =
|
|
26969
|
-
this._emit(
|
|
26968
|
+
object8 = this._object, this._object = subject8;
|
|
26969
|
+
this._emit(subject8, predicate4, object8, this._graph);
|
|
26970
26970
|
return this._readPath;
|
|
26971
26971
|
}
|
|
26972
26972
|
// ### `_readRDFStarTailOrGraph` reads the graph of a nested RDF-star quad or the end of a nested RDF-star triple
|
|
@@ -27014,8 +27014,8 @@ var PodOS = (() => {
|
|
|
27014
27014
|
}
|
|
27015
27015
|
}
|
|
27016
27016
|
// ### `_emit` sends a quad through the callback
|
|
27017
|
-
_emit(
|
|
27018
|
-
this._callback(null, this._factory.quad(
|
|
27017
|
+
_emit(subject8, predicate4, object8, graph3) {
|
|
27018
|
+
this._callback(null, this._factory.quad(subject8, predicate4, object8, graph3 || this.DEFAULTGRAPH));
|
|
27019
27019
|
}
|
|
27020
27020
|
// ### `_error` emits an error message through the callback
|
|
27021
27021
|
_error(message4, token2) {
|
|
@@ -27057,9 +27057,9 @@ var PodOS = (() => {
|
|
|
27057
27057
|
if (!/(^|\/)\.\.?($|[/#?])/.test(iri))
|
|
27058
27058
|
return iri;
|
|
27059
27059
|
const length3 = iri.length;
|
|
27060
|
-
let result6 = "", i = -1, pathStart = -1, segmentStart = 0,
|
|
27060
|
+
let result6 = "", i = -1, pathStart = -1, segmentStart = 0, next4 = "/";
|
|
27061
27061
|
while (i < length3) {
|
|
27062
|
-
switch (
|
|
27062
|
+
switch (next4) {
|
|
27063
27063
|
// The path starts with the first slash after the authority
|
|
27064
27064
|
case ":":
|
|
27065
27065
|
if (pathStart < 0) {
|
|
@@ -27076,8 +27076,8 @@ var PodOS = (() => {
|
|
|
27076
27076
|
// Handle '/.' or '/..' path segments
|
|
27077
27077
|
case "/":
|
|
27078
27078
|
if (iri[i + 1] === ".") {
|
|
27079
|
-
|
|
27080
|
-
switch (
|
|
27079
|
+
next4 = iri[++i + 1];
|
|
27080
|
+
switch (next4) {
|
|
27081
27081
|
// Remove a '/.' segment
|
|
27082
27082
|
case "/":
|
|
27083
27083
|
result6 += iri.substring(segmentStart, i - 1);
|
|
@@ -27090,19 +27090,19 @@ var PodOS = (() => {
|
|
|
27090
27090
|
return result6 + iri.substring(segmentStart, i) + iri.substr(i + 1);
|
|
27091
27091
|
// Remove a '/..' segment
|
|
27092
27092
|
case ".":
|
|
27093
|
-
|
|
27094
|
-
if (
|
|
27093
|
+
next4 = iri[++i + 1];
|
|
27094
|
+
if (next4 === void 0 || next4 === "/" || next4 === "?" || next4 === "#") {
|
|
27095
27095
|
result6 += iri.substring(segmentStart, i - 2);
|
|
27096
27096
|
if ((segmentStart = result6.lastIndexOf("/")) >= pathStart)
|
|
27097
27097
|
result6 = result6.substr(0, segmentStart);
|
|
27098
|
-
if (
|
|
27098
|
+
if (next4 !== "/")
|
|
27099
27099
|
return `${result6}/${iri.substr(i + 1)}`;
|
|
27100
27100
|
segmentStart = i + 1;
|
|
27101
27101
|
}
|
|
27102
27102
|
}
|
|
27103
27103
|
}
|
|
27104
27104
|
}
|
|
27105
|
-
|
|
27105
|
+
next4 = iri[++i];
|
|
27106
27106
|
}
|
|
27107
27107
|
return result6 + iri.substring(segmentStart);
|
|
27108
27108
|
}
|
|
@@ -27225,12 +27225,12 @@ var PodOS = (() => {
|
|
|
27225
27225
|
this.finishedHandlers = [];
|
|
27226
27226
|
this.init();
|
|
27227
27227
|
}
|
|
27228
|
-
addTriple(origin4,
|
|
27228
|
+
addTriple(origin4, subject8, predicate4, object8) {
|
|
27229
27229
|
var su, ob, pr, or2;
|
|
27230
|
-
if (typeof
|
|
27230
|
+
if (typeof subject8 === "undefined") {
|
|
27231
27231
|
su = canonical_data_factory_default.namedNode(this.options.base);
|
|
27232
27232
|
} else {
|
|
27233
|
-
su = this.toRDFNodeObject(
|
|
27233
|
+
su = this.toRDFNodeObject(subject8);
|
|
27234
27234
|
}
|
|
27235
27235
|
pr = this.toRDFNodeObject(predicate4);
|
|
27236
27236
|
ob = this.toRDFNodeObject(object8);
|
|
@@ -27269,7 +27269,7 @@ var PodOS = (() => {
|
|
|
27269
27269
|
this.blankCounter++;
|
|
27270
27270
|
return "_:" + this.blankCounter;
|
|
27271
27271
|
}
|
|
27272
|
-
newSubjectOrigin(origin4,
|
|
27272
|
+
newSubjectOrigin(origin4, subject8) {
|
|
27273
27273
|
}
|
|
27274
27274
|
parseCURIE(value7, prefixes2, base2) {
|
|
27275
27275
|
var colon = value7.indexOf(":");
|
|
@@ -27461,7 +27461,7 @@ var PodOS = (() => {
|
|
|
27461
27461
|
}
|
|
27462
27462
|
continue;
|
|
27463
27463
|
}
|
|
27464
|
-
var
|
|
27464
|
+
var current3 = item4.current;
|
|
27465
27465
|
var context4 = item4.context;
|
|
27466
27466
|
var skip = false;
|
|
27467
27467
|
var newSubject = null;
|
|
@@ -27474,15 +27474,15 @@ var PodOS = (() => {
|
|
|
27474
27474
|
var listMappingDifferent = !context4.parent;
|
|
27475
27475
|
var language9 = context4.language;
|
|
27476
27476
|
var vocabulary = context4.vocabulary;
|
|
27477
|
-
base2 = this.parseURI(removeHash(
|
|
27478
|
-
|
|
27479
|
-
var vocabAtt =
|
|
27477
|
+
base2 = this.parseURI(removeHash(current3.baseURI));
|
|
27478
|
+
current3.item = null;
|
|
27479
|
+
var vocabAtt = current3.getAttributeNode("vocab");
|
|
27480
27480
|
if (vocabAtt) {
|
|
27481
27481
|
let value7 = this.trim(vocabAtt.value);
|
|
27482
27482
|
if (value7.length > 0) {
|
|
27483
27483
|
vocabulary = value7;
|
|
27484
27484
|
var baseSubject = base2.spec;
|
|
27485
|
-
this.addTriple(
|
|
27485
|
+
this.addTriple(current3, baseSubject, "http://www.w3.org/ns/rdfa#usesVocabulary", {
|
|
27486
27486
|
type: _RDFaProcessor.objectURI,
|
|
27487
27487
|
value: vocabulary
|
|
27488
27488
|
});
|
|
@@ -27490,8 +27490,8 @@ var PodOS = (() => {
|
|
|
27490
27490
|
vocabulary = this.vocabulary;
|
|
27491
27491
|
}
|
|
27492
27492
|
}
|
|
27493
|
-
for (var i = 0; i <
|
|
27494
|
-
var att =
|
|
27493
|
+
for (var i = 0; i < current3.attributes.length; i++) {
|
|
27494
|
+
var att = current3.attributes[i];
|
|
27495
27495
|
if (att.nodeName.charAt(0) === "x" && att.nodeName.indexOf("xmlns:") === 0) {
|
|
27496
27496
|
if (!prefixesCopied) {
|
|
27497
27497
|
prefixes2 = this.copyMappings(prefixes2);
|
|
@@ -27502,7 +27502,7 @@ var PodOS = (() => {
|
|
|
27502
27502
|
prefixes2[prefix3] = this.options.base ? join(ref, this.options.base) : ref;
|
|
27503
27503
|
}
|
|
27504
27504
|
}
|
|
27505
|
-
var prefixAtt =
|
|
27505
|
+
var prefixAtt = current3.getAttributeNode("prefix");
|
|
27506
27506
|
if (prefixAtt) {
|
|
27507
27507
|
if (!prefixesCopied) {
|
|
27508
27508
|
prefixes2 = this.copyMappings(prefixes2);
|
|
@@ -27512,7 +27512,7 @@ var PodOS = (() => {
|
|
|
27512
27512
|
}
|
|
27513
27513
|
var xmlLangAtt = null;
|
|
27514
27514
|
for (let i2 = 0; !xmlLangAtt && i2 < this.langAttributes.length; i2++) {
|
|
27515
|
-
xmlLangAtt =
|
|
27515
|
+
xmlLangAtt = current3.getAttributeNodeNS(this.langAttributes[i2].namespaceURI, this.langAttributes[i2].localName);
|
|
27516
27516
|
}
|
|
27517
27517
|
if (xmlLangAtt) {
|
|
27518
27518
|
let value7 = _RDFaProcessor.trim(xmlLangAtt.value);
|
|
@@ -27522,18 +27522,18 @@ var PodOS = (() => {
|
|
|
27522
27522
|
language9 = null;
|
|
27523
27523
|
}
|
|
27524
27524
|
}
|
|
27525
|
-
var relAtt =
|
|
27526
|
-
var revAtt =
|
|
27527
|
-
var typeofAtt =
|
|
27528
|
-
var propertyAtt =
|
|
27529
|
-
var datatypeAtt =
|
|
27530
|
-
var datetimeAtt = this.inHTMLMode ?
|
|
27531
|
-
var contentAtt =
|
|
27532
|
-
var aboutAtt =
|
|
27533
|
-
var srcAtt =
|
|
27534
|
-
var resourceAtt =
|
|
27535
|
-
var hrefAtt =
|
|
27536
|
-
var inlistAtt =
|
|
27525
|
+
var relAtt = current3.getAttributeNode("rel");
|
|
27526
|
+
var revAtt = current3.getAttributeNode("rev");
|
|
27527
|
+
var typeofAtt = current3.getAttributeNode("typeof");
|
|
27528
|
+
var propertyAtt = current3.getAttributeNode("property");
|
|
27529
|
+
var datatypeAtt = current3.getAttributeNode("datatype");
|
|
27530
|
+
var datetimeAtt = this.inHTMLMode ? current3.getAttributeNode("datetime") : null;
|
|
27531
|
+
var contentAtt = current3.getAttributeNode("content");
|
|
27532
|
+
var aboutAtt = current3.getAttributeNode("about");
|
|
27533
|
+
var srcAtt = current3.getAttributeNode("src");
|
|
27534
|
+
var resourceAtt = current3.getAttributeNode("resource");
|
|
27535
|
+
var hrefAtt = current3.getAttributeNode("href");
|
|
27536
|
+
var inlistAtt = current3.getAttributeNode("inlist");
|
|
27537
27537
|
var relAttPredicates = [];
|
|
27538
27538
|
var predicate4, values2;
|
|
27539
27539
|
if (relAtt) {
|
|
@@ -27571,10 +27571,10 @@ var PodOS = (() => {
|
|
|
27571
27571
|
typedResource = newSubject;
|
|
27572
27572
|
}
|
|
27573
27573
|
if (!newSubject) {
|
|
27574
|
-
if (
|
|
27575
|
-
newSubject = removeHash(
|
|
27574
|
+
if (current3.parentNode.nodeType === Node3.DOCUMENT_NODE) {
|
|
27575
|
+
newSubject = removeHash(current3.baseURI);
|
|
27576
27576
|
} else if (context4.parentObject) {
|
|
27577
|
-
newSubject = removeHash(
|
|
27577
|
+
newSubject = removeHash(current3.parentNode.baseURI) === context4.parentObject ? removeHash(current3.baseURI) : context4.parentObject;
|
|
27578
27578
|
}
|
|
27579
27579
|
}
|
|
27580
27580
|
if (resourceAtt) {
|
|
@@ -27585,11 +27585,11 @@ var PodOS = (() => {
|
|
|
27585
27585
|
currentObjectResource = this.resolveAndNormalize(base2, encodeURI(hrefAtt.value));
|
|
27586
27586
|
} else if (srcAtt) {
|
|
27587
27587
|
currentObjectResource = this.resolveAndNormalize(base2, encodeURI(srcAtt.value));
|
|
27588
|
-
} else if (typeofAtt && !aboutAtt && !(this.inXHTMLMode && (
|
|
27588
|
+
} else if (typeofAtt && !aboutAtt && !(this.inXHTMLMode && (current3.localName === "head" || current3.localName === "body"))) {
|
|
27589
27589
|
currentObjectResource = this.newBlankNode();
|
|
27590
27590
|
}
|
|
27591
27591
|
}
|
|
27592
|
-
if (typeofAtt && !aboutAtt && this.inXHTMLMode && (
|
|
27592
|
+
if (typeofAtt && !aboutAtt && this.inXHTMLMode && (current3.localName === "head" || current3.localName === "body")) {
|
|
27593
27593
|
typedResource = newSubject;
|
|
27594
27594
|
} else if (typeofAtt && !aboutAtt) {
|
|
27595
27595
|
typedResource = currentObjectResource;
|
|
@@ -27601,13 +27601,13 @@ var PodOS = (() => {
|
|
|
27601
27601
|
typedResource = newSubject;
|
|
27602
27602
|
}
|
|
27603
27603
|
}
|
|
27604
|
-
if (!newSubject &&
|
|
27605
|
-
newSubject = removeHash(
|
|
27604
|
+
if (!newSubject && current3.parentNode.nodeType === Node3.DOCUMENT_NODE) {
|
|
27605
|
+
newSubject = removeHash(current3.baseURI);
|
|
27606
27606
|
if (typeofAtt) {
|
|
27607
27607
|
typedResource = newSubject;
|
|
27608
27608
|
}
|
|
27609
27609
|
} else if (!newSubject && context4.parentObject) {
|
|
27610
|
-
newSubject = removeHash(
|
|
27610
|
+
newSubject = removeHash(current3.parentNode.baseURI) === context4.parentObject ? removeHash(current3.baseURI) : context4.parentObject;
|
|
27611
27611
|
}
|
|
27612
27612
|
if (typeofAtt && !typedResource) {
|
|
27613
27613
|
if (resourceAtt) {
|
|
@@ -27619,7 +27619,7 @@ var PodOS = (() => {
|
|
|
27619
27619
|
if (!typedResource && srcAtt) {
|
|
27620
27620
|
typedResource = this.resolveAndNormalize(base2, encodeURI(srcAtt.value));
|
|
27621
27621
|
}
|
|
27622
|
-
if (!typedResource && (this.inXHTMLMode || this.inHTMLMode) && (
|
|
27622
|
+
if (!typedResource && (this.inXHTMLMode || this.inHTMLMode) && (current3.localName === "head" || current3.localName === "body")) {
|
|
27623
27623
|
typedResource = newSubject;
|
|
27624
27624
|
}
|
|
27625
27625
|
if (!typedResource) {
|
|
@@ -27641,14 +27641,14 @@ var PodOS = (() => {
|
|
|
27641
27641
|
newSubject = this.resolveAndNormalize(base2, encodeURI(srcAtt.value));
|
|
27642
27642
|
}
|
|
27643
27643
|
if (!newSubject) {
|
|
27644
|
-
if (
|
|
27645
|
-
newSubject = removeHash(
|
|
27646
|
-
} else if ((this.inXHTMLMode || this.inHTMLMode) && (
|
|
27647
|
-
newSubject = removeHash(
|
|
27644
|
+
if (current3.parentNode.nodeType === Node3.DOCUMENT_NODE) {
|
|
27645
|
+
newSubject = removeHash(current3.baseURI);
|
|
27646
|
+
} else if ((this.inXHTMLMode || this.inHTMLMode) && (current3.localName === "head" || current3.localName === "body")) {
|
|
27647
|
+
newSubject = removeHash(current3.parentNode.baseURI) === context4.parentObject ? removeHash(current3.baseURI) : context4.parentObject;
|
|
27648
27648
|
} else if (typeofAtt) {
|
|
27649
27649
|
newSubject = this.newBlankNode();
|
|
27650
27650
|
} else if (context4.parentObject) {
|
|
27651
|
-
newSubject = removeHash(
|
|
27651
|
+
newSubject = removeHash(current3.parentNode.baseURI) === context4.parentObject ? removeHash(current3.baseURI) : context4.parentObject;
|
|
27652
27652
|
if (!propertyAtt) {
|
|
27653
27653
|
skip = true;
|
|
27654
27654
|
}
|
|
@@ -27664,7 +27664,7 @@ var PodOS = (() => {
|
|
|
27664
27664
|
if (typeofAtt && !aboutAtt && !resourceAtt && currentObjectResource) {
|
|
27665
27665
|
id4 = currentObjectResource;
|
|
27666
27666
|
}
|
|
27667
|
-
this.newSubjectOrigin(
|
|
27667
|
+
this.newSubjectOrigin(current3, id4);
|
|
27668
27668
|
}
|
|
27669
27669
|
}
|
|
27670
27670
|
if (typedResource) {
|
|
@@ -27672,7 +27672,7 @@ var PodOS = (() => {
|
|
|
27672
27672
|
for (let i2 = 0; i2 < values2.length; i2++) {
|
|
27673
27673
|
var object8 = this.parseTermOrCURIEOrAbsURI(values2[i2], vocabulary, context4.terms, prefixes2, base2);
|
|
27674
27674
|
if (object8) {
|
|
27675
|
-
this.addTriple(
|
|
27675
|
+
this.addTriple(current3, typedResource, _RDFaProcessor.typeURI, {
|
|
27676
27676
|
type: _RDFaProcessor.objectURI,
|
|
27677
27677
|
value: object8
|
|
27678
27678
|
});
|
|
@@ -27698,7 +27698,7 @@ var PodOS = (() => {
|
|
|
27698
27698
|
}
|
|
27699
27699
|
} else if (relAtt) {
|
|
27700
27700
|
for (let i2 = 0; i2 < relAttPredicates.length; i2++) {
|
|
27701
|
-
this.addTriple(
|
|
27701
|
+
this.addTriple(current3, newSubject, relAttPredicates[i2], {
|
|
27702
27702
|
type: _RDFaProcessor.objectURI,
|
|
27703
27703
|
value: currentObjectResource
|
|
27704
27704
|
});
|
|
@@ -27706,7 +27706,7 @@ var PodOS = (() => {
|
|
|
27706
27706
|
}
|
|
27707
27707
|
if (revAtt) {
|
|
27708
27708
|
for (let i2 = 0; i2 < revAttPredicates.length; i2++) {
|
|
27709
|
-
this.addTriple(
|
|
27709
|
+
this.addTriple(current3, currentObjectResource, revAttPredicates[i2], {
|
|
27710
27710
|
type: _RDFaProcessor.objectURI,
|
|
27711
27711
|
value: newSubject
|
|
27712
27712
|
});
|
|
@@ -27753,7 +27753,7 @@ var PodOS = (() => {
|
|
|
27753
27753
|
if (datetimeAtt && !contentAtt) {
|
|
27754
27754
|
content5 = datetimeAtt.value;
|
|
27755
27755
|
} else {
|
|
27756
|
-
content5 = datatype3 === _RDFaProcessor.XMLLiteralURI || datatype3 === _RDFaProcessor.HTMLLiteralURI ? null : contentAtt ? contentAtt.value :
|
|
27756
|
+
content5 = datatype3 === _RDFaProcessor.XMLLiteralURI || datatype3 === _RDFaProcessor.HTMLLiteralURI ? null : contentAtt ? contentAtt.value : current3.textContent;
|
|
27757
27757
|
}
|
|
27758
27758
|
} else if (contentAtt) {
|
|
27759
27759
|
datatype3 = _RDFaProcessor.PlainLiteralURI;
|
|
@@ -27782,8 +27782,8 @@ var PodOS = (() => {
|
|
|
27782
27782
|
datatype3 = _RDFaProcessor.objectURI;
|
|
27783
27783
|
content5 = typedResource;
|
|
27784
27784
|
} else {
|
|
27785
|
-
content5 =
|
|
27786
|
-
if (this.inHTMLMode &&
|
|
27785
|
+
content5 = current3.textContent;
|
|
27786
|
+
if (this.inHTMLMode && current3.localName === "time") {
|
|
27787
27787
|
datatype3 = _RDFaProcessor.deriveDateTimeType(content5);
|
|
27788
27788
|
}
|
|
27789
27789
|
if (!datatype3) {
|
|
@@ -27803,7 +27803,7 @@ var PodOS = (() => {
|
|
|
27803
27803
|
}
|
|
27804
27804
|
list2.push(datatype3 === _RDFaProcessor.XMLLiteralURI || datatype3 === _RDFaProcessor.HTMLLiteralURI ? {
|
|
27805
27805
|
type: datatype3,
|
|
27806
|
-
value:
|
|
27806
|
+
value: current3.childNodes
|
|
27807
27807
|
} : {
|
|
27808
27808
|
type: datatype3 || _RDFaProcessor.PlainLiteralURI,
|
|
27809
27809
|
value: content5,
|
|
@@ -27811,12 +27811,12 @@ var PodOS = (() => {
|
|
|
27811
27811
|
});
|
|
27812
27812
|
} else {
|
|
27813
27813
|
if (datatype3 === _RDFaProcessor.XMLLiteralURI || datatype3 === _RDFaProcessor.HTMLLiteralURI) {
|
|
27814
|
-
this.addTriple(
|
|
27814
|
+
this.addTriple(current3, newSubject, predicate5, {
|
|
27815
27815
|
type: datatype3,
|
|
27816
|
-
value:
|
|
27816
|
+
value: current3.childNodes
|
|
27817
27817
|
});
|
|
27818
27818
|
} else {
|
|
27819
|
-
this.addTriple(
|
|
27819
|
+
this.addTriple(current3, newSubject, predicate5, {
|
|
27820
27820
|
type: datatype3 || _RDFaProcessor.PlainLiteralURI,
|
|
27821
27821
|
value: content5,
|
|
27822
27822
|
language: language9
|
|
@@ -27834,12 +27834,12 @@ var PodOS = (() => {
|
|
|
27834
27834
|
value: newSubject
|
|
27835
27835
|
});
|
|
27836
27836
|
} else if (context4.incomplete[i2].forward) {
|
|
27837
|
-
this.addTriple(
|
|
27837
|
+
this.addTriple(current3, context4.subject, context4.incomplete[i2].predicate, {
|
|
27838
27838
|
type: _RDFaProcessor.objectURI,
|
|
27839
27839
|
value: newSubject
|
|
27840
27840
|
});
|
|
27841
27841
|
} else {
|
|
27842
|
-
this.addTriple(
|
|
27842
|
+
this.addTriple(current3, newSubject, context4.incomplete[i2].predicate, {
|
|
27843
27843
|
type: _RDFaProcessor.objectURI,
|
|
27844
27844
|
value: context4.subject
|
|
27845
27845
|
});
|
|
@@ -27850,7 +27850,7 @@ var PodOS = (() => {
|
|
|
27850
27850
|
var listSubject = newSubject;
|
|
27851
27851
|
if (skip) {
|
|
27852
27852
|
childContext = this.push(context4, context4.subject);
|
|
27853
|
-
childContext.parentObject = removeHash(
|
|
27853
|
+
childContext.parentObject = removeHash(current3.parentNode.baseURI) === context4.parentObject ? removeHash(current3.baseURI) : context4.parentObject;
|
|
27854
27854
|
childContext.incomplete = context4.incomplete;
|
|
27855
27855
|
childContext.language = language9;
|
|
27856
27856
|
childContext.prefixes = prefixes2;
|
|
@@ -27871,13 +27871,13 @@ var PodOS = (() => {
|
|
|
27871
27871
|
}
|
|
27872
27872
|
if (listMappingDifferent) {
|
|
27873
27873
|
queue.unshift({
|
|
27874
|
-
parent:
|
|
27874
|
+
parent: current3,
|
|
27875
27875
|
context: context4,
|
|
27876
27876
|
subject: listSubject,
|
|
27877
27877
|
listMapping
|
|
27878
27878
|
});
|
|
27879
27879
|
}
|
|
27880
|
-
for (var child2 =
|
|
27880
|
+
for (var child2 = current3.lastChild; child2; child2 = child2.previousSibling) {
|
|
27881
27881
|
if (child2.nodeType === Node3.ELEMENT_NODE) {
|
|
27882
27882
|
queue.unshift({
|
|
27883
27883
|
current: child2,
|
|
@@ -27893,10 +27893,10 @@ var PodOS = (() => {
|
|
|
27893
27893
|
this.finishedHandlers[i2](node3);
|
|
27894
27894
|
}
|
|
27895
27895
|
}
|
|
27896
|
-
push(parent4,
|
|
27896
|
+
push(parent4, subject8) {
|
|
27897
27897
|
return {
|
|
27898
27898
|
parent: parent4,
|
|
27899
|
-
subject:
|
|
27899
|
+
subject: subject8 || (parent4 ? parent4.subject : null),
|
|
27900
27900
|
parentObject: null,
|
|
27901
27901
|
incomplete: [],
|
|
27902
27902
|
listMapping: parent4 ? parent4.listMapping : {},
|
|
@@ -28662,29 +28662,29 @@ var PodOS = (() => {
|
|
|
28662
28662
|
var require_browser_ponyfill = __commonJS({
|
|
28663
28663
|
"../node_modules/rdflib/node_modules/cross-fetch/dist/browser-ponyfill.js"(exports, module3) {
|
|
28664
28664
|
var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof global !== "undefined" && global;
|
|
28665
|
-
var __globalThis__ = function() {
|
|
28665
|
+
var __globalThis__ = (function() {
|
|
28666
28666
|
function F() {
|
|
28667
28667
|
this.fetch = false;
|
|
28668
28668
|
this.DOMException = __global__.DOMException;
|
|
28669
28669
|
}
|
|
28670
28670
|
F.prototype = __global__;
|
|
28671
28671
|
return new F();
|
|
28672
|
-
}();
|
|
28672
|
+
})();
|
|
28673
28673
|
(function(globalThis2) {
|
|
28674
|
-
var irrelevant = function(exports2) {
|
|
28674
|
+
var irrelevant = (function(exports2) {
|
|
28675
28675
|
var g = typeof globalThis2 !== "undefined" && globalThis2 || typeof self !== "undefined" && self || // eslint-disable-next-line no-undef
|
|
28676
28676
|
typeof global !== "undefined" && global || {};
|
|
28677
28677
|
var support2 = {
|
|
28678
28678
|
searchParams: "URLSearchParams" in g,
|
|
28679
28679
|
iterable: "Symbol" in g && "iterator" in Symbol,
|
|
28680
|
-
blob: "FileReader" in g && "Blob" in g && function() {
|
|
28680
|
+
blob: "FileReader" in g && "Blob" in g && (function() {
|
|
28681
28681
|
try {
|
|
28682
28682
|
new Blob();
|
|
28683
28683
|
return true;
|
|
28684
28684
|
} catch (e) {
|
|
28685
28685
|
return false;
|
|
28686
28686
|
}
|
|
28687
|
-
}(),
|
|
28687
|
+
})(),
|
|
28688
28688
|
formData: "FormData" in g,
|
|
28689
28689
|
arrayBuffer: "ArrayBuffer" in g
|
|
28690
28690
|
};
|
|
@@ -28986,12 +28986,12 @@ var PodOS = (() => {
|
|
|
28986
28986
|
}
|
|
28987
28987
|
this.method = normalizeMethod(options.method || this.method || "GET");
|
|
28988
28988
|
this.mode = options.mode || this.mode || null;
|
|
28989
|
-
this.signal = options.signal || this.signal || function() {
|
|
28989
|
+
this.signal = options.signal || this.signal || (function() {
|
|
28990
28990
|
if ("AbortController" in g) {
|
|
28991
28991
|
var ctrl = new AbortController();
|
|
28992
28992
|
return ctrl.signal;
|
|
28993
28993
|
}
|
|
28994
|
-
}();
|
|
28994
|
+
})();
|
|
28995
28995
|
this.referrer = null;
|
|
28996
28996
|
if ((this.method === "GET" || this.method === "HEAD") && body) {
|
|
28997
28997
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
@@ -29199,7 +29199,7 @@ var PodOS = (() => {
|
|
|
29199
29199
|
exports2.fetch = fetch;
|
|
29200
29200
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
29201
29201
|
return exports2;
|
|
29202
|
-
}({});
|
|
29202
|
+
})({});
|
|
29203
29203
|
})(__globalThis__);
|
|
29204
29204
|
__globalThis__.fetch.ponyfill = true;
|
|
29205
29205
|
delete __globalThis__.fetch.polyfill;
|
|
@@ -29335,9 +29335,9 @@ var PodOS = (() => {
|
|
|
29335
29335
|
this.dom = parseXML(responseText);
|
|
29336
29336
|
}
|
|
29337
29337
|
let kb = fetcher2.store;
|
|
29338
|
-
let
|
|
29339
|
-
if (
|
|
29340
|
-
kb.add(options.resource, ns2.dc("title"), kb.rdfFactory.literal(
|
|
29338
|
+
let title10 = this.dom.getElementsByTagName("title");
|
|
29339
|
+
if (title10.length > 0) {
|
|
29340
|
+
kb.add(options.resource, ns2.dc("title"), kb.rdfFactory.literal(title10[0].textContent), options.resource);
|
|
29341
29341
|
}
|
|
29342
29342
|
let links = this.dom.getElementsByTagName("link");
|
|
29343
29343
|
for (let x = links.length - 1; x >= 0; x--) {
|
|
@@ -30408,23 +30408,23 @@ var PodOS = (() => {
|
|
|
30408
30408
|
}
|
|
30409
30409
|
// deduce some things from the HTTP transaction
|
|
30410
30410
|
addType(rdfType, req, kb, locURI) {
|
|
30411
|
-
let
|
|
30411
|
+
let prev2 = req;
|
|
30412
30412
|
if (locURI) {
|
|
30413
|
-
var reqURI = kb.any(
|
|
30413
|
+
var reqURI = kb.any(prev2, this.ns.link("requestedURI"));
|
|
30414
30414
|
if (reqURI && reqURI.value !== locURI) {
|
|
30415
30415
|
kb.add(kb.rdfFactory.namedNode(locURI), this.ns.rdf("type"), rdfType, this.appNode);
|
|
30416
30416
|
}
|
|
30417
30417
|
}
|
|
30418
30418
|
for (; ; ) {
|
|
30419
|
-
const doc = kb.any(
|
|
30419
|
+
const doc = kb.any(prev2, this.ns.link("requestedURI"));
|
|
30420
30420
|
if (doc && doc.value) {
|
|
30421
30421
|
kb.add(kb.rdfFactory.namedNode(doc.value), this.ns.rdf("type"), rdfType, this.appNode);
|
|
30422
30422
|
}
|
|
30423
|
-
|
|
30424
|
-
if (!
|
|
30423
|
+
prev2 = kb.any(void 0, kb.rdfFactory.namedNode("http://www.w3.org/2007/ont/link#redirectedRequest"), prev2);
|
|
30424
|
+
if (!prev2) {
|
|
30425
30425
|
break;
|
|
30426
30426
|
}
|
|
30427
|
-
var response6 = kb.any(
|
|
30427
|
+
var response6 = kb.any(prev2, kb.rdfFactory.namedNode("http://www.w3.org/2007/ont/link#response"));
|
|
30428
30428
|
if (!response6) {
|
|
30429
30429
|
break;
|
|
30430
30430
|
}
|
|
@@ -31634,8 +31634,8 @@ _:patch
|
|
|
31634
31634
|
* @param object The object
|
|
31635
31635
|
* @param graph The containing graph
|
|
31636
31636
|
*/
|
|
31637
|
-
st(
|
|
31638
|
-
return this.quad(
|
|
31637
|
+
st(subject8, predicate4, object8, graph3) {
|
|
31638
|
+
return this.quad(subject8, predicate4, object8, graph3);
|
|
31639
31639
|
}
|
|
31640
31640
|
};
|
|
31641
31641
|
rdflib_data_factory_default = RDFlibDataFactory;
|
|
@@ -32758,7 +32758,7 @@ _:patch
|
|
|
32758
32758
|
const addressBookNode = namedNode(uri6);
|
|
32759
32759
|
await this.support.fetchNode(addressBookNode);
|
|
32760
32760
|
const query4 = new AddressBookQuery(this.store, addressBookNode);
|
|
32761
|
-
const
|
|
32761
|
+
const title10 = query4.queryTitle();
|
|
32762
32762
|
const nameEmailIndex = query4.queryNameEmailIndex();
|
|
32763
32763
|
const groupIndex = query4.queryGroupIndex();
|
|
32764
32764
|
await this.support.fetchAll([nameEmailIndex, groupIndex]);
|
|
@@ -32766,7 +32766,7 @@ _:patch
|
|
|
32766
32766
|
const groups = query4.queryGroups();
|
|
32767
32767
|
return {
|
|
32768
32768
|
uri: uri6,
|
|
32769
|
-
title:
|
|
32769
|
+
title: title10,
|
|
32770
32770
|
contacts,
|
|
32771
32771
|
groups
|
|
32772
32772
|
};
|
|
@@ -32978,13 +32978,13 @@ _:patch
|
|
|
32978
32978
|
};
|
|
32979
32979
|
lunr2.version = "2.3.9";
|
|
32980
32980
|
lunr2.utils = {};
|
|
32981
|
-
lunr2.utils.warn = /* @__PURE__ */ function(global3) {
|
|
32981
|
+
lunr2.utils.warn = /* @__PURE__ */ (function(global3) {
|
|
32982
32982
|
return function(message4) {
|
|
32983
32983
|
if (global3.console && console.warn) {
|
|
32984
32984
|
console.warn(message4);
|
|
32985
32985
|
}
|
|
32986
32986
|
};
|
|
32987
|
-
}(this);
|
|
32987
|
+
})(this);
|
|
32988
32988
|
lunr2.utils.asString = function(obj) {
|
|
32989
32989
|
if (obj === void 0 || obj === null) {
|
|
32990
32990
|
return "";
|
|
@@ -33339,7 +33339,7 @@ _:patch
|
|
|
33339
33339
|
lunr2.Vector.prototype.toJSON = function() {
|
|
33340
33340
|
return this.elements;
|
|
33341
33341
|
};
|
|
33342
|
-
lunr2.stemmer = function() {
|
|
33342
|
+
lunr2.stemmer = (function() {
|
|
33343
33343
|
var step2list = {
|
|
33344
33344
|
"ational": "ate",
|
|
33345
33345
|
"tional": "tion",
|
|
@@ -33503,7 +33503,7 @@ _:patch
|
|
|
33503
33503
|
return function(token2) {
|
|
33504
33504
|
return token2.update(porterStemmer);
|
|
33505
33505
|
};
|
|
33506
|
-
}();
|
|
33506
|
+
})();
|
|
33507
33507
|
lunr2.Pipeline.registerFunction(lunr2.stemmer, "stemmer");
|
|
33508
33508
|
lunr2.generateStopWordFilter = function(stopWords) {
|
|
33509
33509
|
var words = stopWords.reduce(function(memo, stopWord) {
|
|
@@ -33761,10 +33761,10 @@ _:patch
|
|
|
33761
33761
|
node3.edges[char] = node3;
|
|
33762
33762
|
node3.final = final2;
|
|
33763
33763
|
} else {
|
|
33764
|
-
var
|
|
33765
|
-
|
|
33766
|
-
node3.edges[char] =
|
|
33767
|
-
node3 =
|
|
33764
|
+
var next4 = new lunr2.TokenSet();
|
|
33765
|
+
next4.final = final2;
|
|
33766
|
+
node3.edges[char] = next4;
|
|
33767
|
+
node3 = next4;
|
|
33768
33768
|
}
|
|
33769
33769
|
}
|
|
33770
33770
|
return root;
|
|
@@ -33817,18 +33817,18 @@ _:patch
|
|
|
33817
33817
|
for (var n2 = 0; n2 < nLen; n2++) {
|
|
33818
33818
|
var nEdge = nEdges[n2];
|
|
33819
33819
|
if (nEdge == qEdge || qEdge == "*") {
|
|
33820
|
-
var node3 = frame.node.edges[nEdge], qNode = frame.qNode.edges[qEdge], final2 = node3.final && qNode.final,
|
|
33820
|
+
var node3 = frame.node.edges[nEdge], qNode = frame.qNode.edges[qEdge], final2 = node3.final && qNode.final, next4 = void 0;
|
|
33821
33821
|
if (nEdge in frame.output.edges) {
|
|
33822
|
-
|
|
33823
|
-
|
|
33822
|
+
next4 = frame.output.edges[nEdge];
|
|
33823
|
+
next4.final = next4.final || final2;
|
|
33824
33824
|
} else {
|
|
33825
|
-
|
|
33826
|
-
|
|
33827
|
-
frame.output.edges[nEdge] =
|
|
33825
|
+
next4 = new lunr2.TokenSet();
|
|
33826
|
+
next4.final = final2;
|
|
33827
|
+
frame.output.edges[nEdge] = next4;
|
|
33828
33828
|
}
|
|
33829
33829
|
stack.push({
|
|
33830
33830
|
qNode,
|
|
33831
|
-
output:
|
|
33831
|
+
output: next4,
|
|
33832
33832
|
node: node3
|
|
33833
33833
|
});
|
|
33834
33834
|
}
|
|
@@ -34856,7 +34856,7 @@ _:patch
|
|
|
34856
34856
|
}
|
|
34857
34857
|
|
|
34858
34858
|
// ../node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
34859
|
-
var Subscription = function() {
|
|
34859
|
+
var Subscription = (function() {
|
|
34860
34860
|
function Subscription3(initialTeardown) {
|
|
34861
34861
|
this.initialTeardown = initialTeardown;
|
|
34862
34862
|
this.closed = false;
|
|
@@ -34969,13 +34969,13 @@ _:patch
|
|
|
34969
34969
|
teardown2._removeParent(this);
|
|
34970
34970
|
}
|
|
34971
34971
|
};
|
|
34972
|
-
Subscription3.EMPTY = function() {
|
|
34972
|
+
Subscription3.EMPTY = (function() {
|
|
34973
34973
|
var empty = new Subscription3();
|
|
34974
34974
|
empty.closed = true;
|
|
34975
34975
|
return empty;
|
|
34976
|
-
}();
|
|
34976
|
+
})();
|
|
34977
34977
|
return Subscription3;
|
|
34978
|
-
}();
|
|
34978
|
+
})();
|
|
34979
34979
|
var EMPTY_SUBSCRIPTION = Subscription.EMPTY;
|
|
34980
34980
|
function isSubscription(value7) {
|
|
34981
34981
|
return value7 instanceof Subscription || value7 && "closed" in value7 && isFunction(value7.remove) && isFunction(value7.add) && isFunction(value7.unsubscribe);
|
|
@@ -35034,9 +35034,9 @@ _:patch
|
|
|
35034
35034
|
}
|
|
35035
35035
|
|
|
35036
35036
|
// ../node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
35037
|
-
var COMPLETE_NOTIFICATION = function() {
|
|
35037
|
+
var COMPLETE_NOTIFICATION = (function() {
|
|
35038
35038
|
return createNotification("C", void 0, void 0);
|
|
35039
|
-
}();
|
|
35039
|
+
})();
|
|
35040
35040
|
function errorNotification(error4) {
|
|
35041
35041
|
return createNotification("E", void 0, error4);
|
|
35042
35042
|
}
|
|
@@ -35079,7 +35079,7 @@ _:patch
|
|
|
35079
35079
|
}
|
|
35080
35080
|
|
|
35081
35081
|
// ../node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
35082
|
-
var Subscriber = function(_super) {
|
|
35082
|
+
var Subscriber = (function(_super) {
|
|
35083
35083
|
__extends(Subscriber2, _super);
|
|
35084
35084
|
function Subscriber2(destination2) {
|
|
35085
35085
|
var _this = _super.call(this) || this;
|
|
@@ -35094,8 +35094,8 @@ _:patch
|
|
|
35094
35094
|
}
|
|
35095
35095
|
return _this;
|
|
35096
35096
|
}
|
|
35097
|
-
Subscriber2.create = function(
|
|
35098
|
-
return new SafeSubscriber(
|
|
35097
|
+
Subscriber2.create = function(next4, error4, complete2) {
|
|
35098
|
+
return new SafeSubscriber(next4, error4, complete2);
|
|
35099
35099
|
};
|
|
35100
35100
|
Subscriber2.prototype.next = function(value7) {
|
|
35101
35101
|
if (this.isStopped) {
|
|
@@ -35145,12 +35145,12 @@ _:patch
|
|
|
35145
35145
|
}
|
|
35146
35146
|
};
|
|
35147
35147
|
return Subscriber2;
|
|
35148
|
-
}(Subscription);
|
|
35148
|
+
})(Subscription);
|
|
35149
35149
|
var _bind = Function.prototype.bind;
|
|
35150
35150
|
function bind(fn2, thisArg) {
|
|
35151
35151
|
return _bind.call(fn2, thisArg);
|
|
35152
35152
|
}
|
|
35153
|
-
var ConsumerObserver = function() {
|
|
35153
|
+
var ConsumerObserver = (function() {
|
|
35154
35154
|
function ConsumerObserver2(partialObserver) {
|
|
35155
35155
|
this.partialObserver = partialObserver;
|
|
35156
35156
|
}
|
|
@@ -35187,8 +35187,8 @@ _:patch
|
|
|
35187
35187
|
}
|
|
35188
35188
|
};
|
|
35189
35189
|
return ConsumerObserver2;
|
|
35190
|
-
}();
|
|
35191
|
-
var SafeSubscriber = function(_super) {
|
|
35190
|
+
})();
|
|
35191
|
+
var SafeSubscriber = (function(_super) {
|
|
35192
35192
|
__extends(SafeSubscriber2, _super);
|
|
35193
35193
|
function SafeSubscriber2(observerOrNext, error4, complete2) {
|
|
35194
35194
|
var _this = _super.call(this) || this;
|
|
@@ -35219,7 +35219,7 @@ _:patch
|
|
|
35219
35219
|
return _this;
|
|
35220
35220
|
}
|
|
35221
35221
|
return SafeSubscriber2;
|
|
35222
|
-
}(Subscriber);
|
|
35222
|
+
})(Subscriber);
|
|
35223
35223
|
function handleUnhandledError(error4) {
|
|
35224
35224
|
if (config.useDeprecatedSynchronousErrorHandling) {
|
|
35225
35225
|
captureError(error4);
|
|
@@ -35244,9 +35244,9 @@ _:patch
|
|
|
35244
35244
|
};
|
|
35245
35245
|
|
|
35246
35246
|
// ../node_modules/rxjs/dist/esm5/internal/symbol/observable.js
|
|
35247
|
-
var observable = function() {
|
|
35247
|
+
var observable = (function() {
|
|
35248
35248
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
35249
|
-
}();
|
|
35249
|
+
})();
|
|
35250
35250
|
|
|
35251
35251
|
// ../node_modules/rxjs/dist/esm5/internal/util/identity.js
|
|
35252
35252
|
function identity(x) {
|
|
@@ -35262,14 +35262,14 @@ _:patch
|
|
|
35262
35262
|
return fns[0];
|
|
35263
35263
|
}
|
|
35264
35264
|
return function piped(input2) {
|
|
35265
|
-
return fns.reduce(function(
|
|
35266
|
-
return fn2(
|
|
35265
|
+
return fns.reduce(function(prev2, fn2) {
|
|
35266
|
+
return fn2(prev2);
|
|
35267
35267
|
}, input2);
|
|
35268
35268
|
};
|
|
35269
35269
|
}
|
|
35270
35270
|
|
|
35271
35271
|
// ../node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
35272
|
-
var Observable = function() {
|
|
35272
|
+
var Observable = (function() {
|
|
35273
35273
|
function Observable2(subscribe) {
|
|
35274
35274
|
if (subscribe) {
|
|
35275
35275
|
this._subscribe = subscribe;
|
|
@@ -35297,14 +35297,14 @@ _:patch
|
|
|
35297
35297
|
sink.error(err);
|
|
35298
35298
|
}
|
|
35299
35299
|
};
|
|
35300
|
-
Observable2.prototype.forEach = function(
|
|
35300
|
+
Observable2.prototype.forEach = function(next4, promiseCtor) {
|
|
35301
35301
|
var _this = this;
|
|
35302
35302
|
promiseCtor = getPromiseCtor(promiseCtor);
|
|
35303
35303
|
return new promiseCtor(function(resolve, reject) {
|
|
35304
35304
|
var subscriber3 = new SafeSubscriber({
|
|
35305
35305
|
next: function(value7) {
|
|
35306
35306
|
try {
|
|
35307
|
-
|
|
35307
|
+
next4(value7);
|
|
35308
35308
|
} catch (err) {
|
|
35309
35309
|
reject(err);
|
|
35310
35310
|
subscriber3.unsubscribe();
|
|
@@ -35348,7 +35348,7 @@ _:patch
|
|
|
35348
35348
|
return new Observable2(subscribe);
|
|
35349
35349
|
};
|
|
35350
35350
|
return Observable2;
|
|
35351
|
-
}();
|
|
35351
|
+
})();
|
|
35352
35352
|
function getPromiseCtor(promiseCtor) {
|
|
35353
35353
|
var _a;
|
|
35354
35354
|
return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;
|
|
@@ -35383,7 +35383,7 @@ _:patch
|
|
|
35383
35383
|
function createOperatorSubscriber(destination2, onNext, onComplete, onError, onFinalize) {
|
|
35384
35384
|
return new OperatorSubscriber(destination2, onNext, onComplete, onError, onFinalize);
|
|
35385
35385
|
}
|
|
35386
|
-
var OperatorSubscriber = function(_super) {
|
|
35386
|
+
var OperatorSubscriber = (function(_super) {
|
|
35387
35387
|
__extends(OperatorSubscriber2, _super);
|
|
35388
35388
|
function OperatorSubscriber2(destination2, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
|
|
35389
35389
|
var _this = _super.call(this, destination2) || this;
|
|
@@ -35425,7 +35425,7 @@ _:patch
|
|
|
35425
35425
|
}
|
|
35426
35426
|
};
|
|
35427
35427
|
return OperatorSubscriber2;
|
|
35428
|
-
}(Subscriber);
|
|
35428
|
+
})(Subscriber);
|
|
35429
35429
|
|
|
35430
35430
|
// ../node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
35431
35431
|
var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
@@ -35437,7 +35437,7 @@ _:patch
|
|
|
35437
35437
|
});
|
|
35438
35438
|
|
|
35439
35439
|
// ../node_modules/rxjs/dist/esm5/internal/Subject.js
|
|
35440
|
-
var Subject = function(_super) {
|
|
35440
|
+
var Subject = (function(_super) {
|
|
35441
35441
|
__extends(Subject2, _super);
|
|
35442
35442
|
function Subject2() {
|
|
35443
35443
|
var _this = _super.call(this) || this;
|
|
@@ -35450,9 +35450,9 @@ _:patch
|
|
|
35450
35450
|
return _this;
|
|
35451
35451
|
}
|
|
35452
35452
|
Subject2.prototype.lift = function(operator2) {
|
|
35453
|
-
var
|
|
35454
|
-
|
|
35455
|
-
return
|
|
35453
|
+
var subject8 = new AnonymousSubject(this, this);
|
|
35454
|
+
subject8.operator = operator2;
|
|
35455
|
+
return subject8;
|
|
35456
35456
|
};
|
|
35457
35457
|
Subject2.prototype._throwIfClosed = function() {
|
|
35458
35458
|
if (this.closed) {
|
|
@@ -35563,8 +35563,8 @@ _:patch
|
|
|
35563
35563
|
return new AnonymousSubject(destination2, source8);
|
|
35564
35564
|
};
|
|
35565
35565
|
return Subject2;
|
|
35566
|
-
}(Observable);
|
|
35567
|
-
var AnonymousSubject = function(_super) {
|
|
35566
|
+
})(Observable);
|
|
35567
|
+
var AnonymousSubject = (function(_super) {
|
|
35568
35568
|
__extends(AnonymousSubject2, _super);
|
|
35569
35569
|
function AnonymousSubject2(destination2, source8) {
|
|
35570
35570
|
var _this = _super.call(this) || this;
|
|
@@ -35589,10 +35589,10 @@ _:patch
|
|
|
35589
35589
|
return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber3)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
|
|
35590
35590
|
};
|
|
35591
35591
|
return AnonymousSubject2;
|
|
35592
|
-
}(Subject);
|
|
35592
|
+
})(Subject);
|
|
35593
35593
|
|
|
35594
35594
|
// ../node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js
|
|
35595
|
-
var BehaviorSubject = function(_super) {
|
|
35595
|
+
var BehaviorSubject = (function(_super) {
|
|
35596
35596
|
__extends(BehaviorSubject3, _super);
|
|
35597
35597
|
function BehaviorSubject3(_value2) {
|
|
35598
35598
|
var _this = _super.call(this) || this;
|
|
@@ -35623,7 +35623,7 @@ _:patch
|
|
|
35623
35623
|
_super.prototype.next.call(this, this._value = value7);
|
|
35624
35624
|
};
|
|
35625
35625
|
return BehaviorSubject3;
|
|
35626
|
-
}(Subject);
|
|
35626
|
+
})(Subject);
|
|
35627
35627
|
|
|
35628
35628
|
// ../node_modules/rxjs/dist/esm5/internal/operators/tap.js
|
|
35629
35629
|
function tap(observerOrNext, error4, complete2) {
|
|
@@ -35714,11 +35714,7 @@ _:patch
|
|
|
35714
35714
|
// src/modules/contacts.ts
|
|
35715
35715
|
async function loadContactsModule(store) {
|
|
35716
35716
|
const module3 = await Promise.resolve().then(() => (init_dist2(), dist_exports));
|
|
35717
|
-
return
|
|
35718
|
-
store: store.graph,
|
|
35719
|
-
fetcher: store.fetcher,
|
|
35720
|
-
updater: store.updater
|
|
35721
|
-
});
|
|
35717
|
+
return store.loadModule(module3);
|
|
35722
35718
|
}
|
|
35723
35719
|
|
|
35724
35720
|
// src/profile/WebIdProfile.ts
|
|
@@ -35728,20 +35724,20 @@ _:patch
|
|
|
35728
35724
|
init_esm();
|
|
35729
35725
|
|
|
35730
35726
|
// src/thing/accumulateSubjects.ts
|
|
35731
|
-
var accumulateSubjects = (accumulator,
|
|
35732
|
-
const existing = accumulator[
|
|
35727
|
+
var accumulateSubjects = (accumulator, current3) => {
|
|
35728
|
+
const existing = accumulator[current3.predicate.uri];
|
|
35733
35729
|
return {
|
|
35734
35730
|
...accumulator,
|
|
35735
|
-
[
|
|
35731
|
+
[current3.predicate.uri]: existing ? [...existing, current3.subject.value] : [current3.subject.value]
|
|
35736
35732
|
};
|
|
35737
35733
|
};
|
|
35738
35734
|
|
|
35739
35735
|
// src/thing/accumulateValues.ts
|
|
35740
|
-
var accumulateValues = (accumulator,
|
|
35741
|
-
const existing = accumulator[
|
|
35736
|
+
var accumulateValues = (accumulator, current3) => {
|
|
35737
|
+
const existing = accumulator[current3.predicate.uri];
|
|
35742
35738
|
return {
|
|
35743
35739
|
...accumulator,
|
|
35744
|
-
[
|
|
35740
|
+
[current3.predicate.uri]: existing ? [...existing, current3.object.value] : [current3.object.value]
|
|
35745
35741
|
};
|
|
35746
35742
|
};
|
|
35747
35743
|
|
|
@@ -36269,17 +36265,17 @@ _:patch
|
|
|
36269
36265
|
|
|
36270
36266
|
// src/Store.ts
|
|
36271
36267
|
var Store = class {
|
|
36272
|
-
constructor(session4, offlineCache = new NoOfflineCache(), onlineStatus = new AssumeAlwaysOnline()) {
|
|
36273
|
-
this.
|
|
36274
|
-
this.fetcher = new OfflineCapableFetcher(this.
|
|
36268
|
+
constructor(session4, offlineCache = new NoOfflineCache(), onlineStatus = new AssumeAlwaysOnline(), internalStore = graph()) {
|
|
36269
|
+
this.internalStore = internalStore;
|
|
36270
|
+
this.fetcher = new OfflineCapableFetcher(this.internalStore, {
|
|
36275
36271
|
fetch: session4.authenticatedFetch,
|
|
36276
36272
|
offlineCache,
|
|
36277
36273
|
isOnline: onlineStatus.isOnline
|
|
36278
36274
|
});
|
|
36279
|
-
this.updater = new UpdateManager(this.
|
|
36275
|
+
this.updater = new UpdateManager(this.internalStore);
|
|
36280
36276
|
}
|
|
36281
36277
|
/**
|
|
36282
|
-
* Fetch data for the given URI to the
|
|
36278
|
+
* Fetch data for the given URI to the internalStore
|
|
36283
36279
|
* @param uri
|
|
36284
36280
|
*/
|
|
36285
36281
|
fetch(uri6) {
|
|
@@ -36295,7 +36291,7 @@ _:patch
|
|
|
36295
36291
|
});
|
|
36296
36292
|
}
|
|
36297
36293
|
/**
|
|
36298
|
-
* Fetch all the given URIs in parallel and put the data to the
|
|
36294
|
+
* Fetch all the given URIs in parallel and put the data to the internalStore
|
|
36299
36295
|
* @param uris
|
|
36300
36296
|
*/
|
|
36301
36297
|
fetchAll(uris) {
|
|
@@ -36303,12 +36299,12 @@ _:patch
|
|
|
36303
36299
|
return Promise.allSettled(responses);
|
|
36304
36300
|
}
|
|
36305
36301
|
/**
|
|
36306
|
-
* Retrieve the thing identified by the given URI from the
|
|
36302
|
+
* Retrieve the thing identified by the given URI from the internalStore
|
|
36307
36303
|
* @param uri
|
|
36308
36304
|
*/
|
|
36309
36305
|
get(uri6) {
|
|
36310
36306
|
const editable = !!this.updater.editable(uri6);
|
|
36311
|
-
return new Thing(uri6, this.
|
|
36307
|
+
return new Thing(uri6, this.internalStore, editable);
|
|
36312
36308
|
}
|
|
36313
36309
|
/**
|
|
36314
36310
|
* Adds a new value to the property of the given thing
|
|
@@ -36358,6 +36354,16 @@ _:patch
|
|
|
36358
36354
|
async executeUpdate(operation3) {
|
|
36359
36355
|
await executeUpdate2(this.fetcher, this.updater, operation3);
|
|
36360
36356
|
}
|
|
36357
|
+
flagAuthorizationMetadata() {
|
|
36358
|
+
this.updater.flagAuthorizationMetadata();
|
|
36359
|
+
}
|
|
36360
|
+
loadModule(module3) {
|
|
36361
|
+
return new module3.default({
|
|
36362
|
+
store: this.internalStore,
|
|
36363
|
+
fetcher: this.fetcher,
|
|
36364
|
+
updater: this.updater
|
|
36365
|
+
});
|
|
36366
|
+
}
|
|
36361
36367
|
};
|
|
36362
36368
|
|
|
36363
36369
|
// ../node_modules/rdf-namespaces/dist/index.es.js
|
|
@@ -36366,6 +36372,7 @@ _:patch
|
|
|
36366
36372
|
acl: () => acl,
|
|
36367
36373
|
arg: () => arg,
|
|
36368
36374
|
as: () => as,
|
|
36375
|
+
bookmark: () => bookmark,
|
|
36369
36376
|
cal: () => cal,
|
|
36370
36377
|
contact: () => contact3,
|
|
36371
36378
|
dc: () => dc2,
|
|
@@ -36460,7 +36467,7 @@ _:patch
|
|
|
36460
36467
|
support
|
|
36461
36468
|
});
|
|
36462
36469
|
|
|
36463
|
-
// ../node_modules/rdf-namespaces/dist/as-
|
|
36470
|
+
// ../node_modules/rdf-namespaces/dist/as-48207dab.js
|
|
36464
36471
|
var actor = "https://www.w3.org/ns/activitystreams#actor";
|
|
36465
36472
|
var attributedTo = "https://www.w3.org/ns/activitystreams#attributedTo";
|
|
36466
36473
|
var attachment = "https://www.w3.org/ns/activitystreams#attachment";
|
|
@@ -36470,20 +36477,26 @@ _:patch
|
|
|
36470
36477
|
var bto = "https://www.w3.org/ns/activitystreams#bto";
|
|
36471
36478
|
var cc = "https://www.w3.org/ns/activitystreams#cc";
|
|
36472
36479
|
var context2 = "https://www.w3.org/ns/activitystreams#context";
|
|
36480
|
+
var current = "https://www.w3.org/ns/activitystreams#current";
|
|
36481
|
+
var first = "https://www.w3.org/ns/activitystreams#first";
|
|
36473
36482
|
var generator = "https://www.w3.org/ns/activitystreams#generator";
|
|
36474
36483
|
var icon = "https://www.w3.org/ns/activitystreams#icon";
|
|
36475
36484
|
var image = "https://www.w3.org/ns/activitystreams#image";
|
|
36476
36485
|
var inReplyTo = "https://www.w3.org/ns/activitystreams#inReplyTo";
|
|
36477
36486
|
var items = "https://www.w3.org/ns/activitystreams#items";
|
|
36487
|
+
var last = "https://www.w3.org/ns/activitystreams#last";
|
|
36478
36488
|
var location = "https://www.w3.org/ns/activitystreams#location";
|
|
36489
|
+
var next = "https://www.w3.org/ns/activitystreams#next";
|
|
36479
36490
|
var object = "https://www.w3.org/ns/activitystreams#object";
|
|
36480
36491
|
var oneOf = "https://www.w3.org/ns/activitystreams#oneOf";
|
|
36481
36492
|
var anyOf = "https://www.w3.org/ns/activitystreams#anyOf";
|
|
36493
|
+
var prev = "https://www.w3.org/ns/activitystreams#prev";
|
|
36482
36494
|
var preview = "https://www.w3.org/ns/activitystreams#preview";
|
|
36483
36495
|
var provider = "https://www.w3.org/ns/activitystreams#provider";
|
|
36484
36496
|
var replies = "https://www.w3.org/ns/activitystreams#replies";
|
|
36485
36497
|
var result = "https://www.w3.org/ns/activitystreams#result";
|
|
36486
36498
|
var audience = "https://www.w3.org/ns/activitystreams#audience";
|
|
36499
|
+
var partOf = "https://www.w3.org/ns/activitystreams#partOf";
|
|
36487
36500
|
var tag = "https://www.w3.org/ns/activitystreams#tag";
|
|
36488
36501
|
var tags = "https://www.w3.org/ns/activitystreams#tags";
|
|
36489
36502
|
var target = "https://www.w3.org/ns/activitystreams#target";
|
|
@@ -36491,6 +36504,7 @@ _:patch
|
|
|
36491
36504
|
var instrument = "https://www.w3.org/ns/activitystreams#instrument";
|
|
36492
36505
|
var to = "https://www.w3.org/ns/activitystreams#to";
|
|
36493
36506
|
var url = "https://www.w3.org/ns/activitystreams#url";
|
|
36507
|
+
var subject = "https://www.w3.org/ns/activitystreams#subject";
|
|
36494
36508
|
var relationship = "https://www.w3.org/ns/activitystreams#relationship";
|
|
36495
36509
|
var describes = "https://www.w3.org/ns/activitystreams#describes";
|
|
36496
36510
|
var formerType = "https://www.w3.org/ns/activitystreams#formerType";
|
|
@@ -36588,20 +36602,26 @@ _:patch
|
|
|
36588
36602
|
bto,
|
|
36589
36603
|
cc,
|
|
36590
36604
|
context: context2,
|
|
36605
|
+
current,
|
|
36606
|
+
first,
|
|
36591
36607
|
generator,
|
|
36592
36608
|
icon,
|
|
36593
36609
|
image,
|
|
36594
36610
|
inReplyTo,
|
|
36595
36611
|
items,
|
|
36612
|
+
last,
|
|
36596
36613
|
location,
|
|
36614
|
+
next,
|
|
36597
36615
|
object,
|
|
36598
36616
|
oneOf,
|
|
36599
36617
|
anyOf,
|
|
36618
|
+
prev,
|
|
36600
36619
|
preview,
|
|
36601
36620
|
provider,
|
|
36602
36621
|
replies,
|
|
36603
36622
|
result,
|
|
36604
36623
|
audience,
|
|
36624
|
+
partOf,
|
|
36605
36625
|
tag,
|
|
36606
36626
|
tags,
|
|
36607
36627
|
target,
|
|
@@ -36609,6 +36629,7 @@ _:patch
|
|
|
36609
36629
|
instrument,
|
|
36610
36630
|
to,
|
|
36611
36631
|
url,
|
|
36632
|
+
subject,
|
|
36612
36633
|
relationship,
|
|
36613
36634
|
describes,
|
|
36614
36635
|
formerType,
|
|
@@ -36698,6 +36719,26 @@ _:patch
|
|
|
36698
36719
|
Video
|
|
36699
36720
|
});
|
|
36700
36721
|
|
|
36722
|
+
// ../node_modules/rdf-namespaces/dist/bookmark-7c2b6a42.js
|
|
36723
|
+
var hasTopic = "http://www.w3.org/2002/01/bookmark#hasTopic";
|
|
36724
|
+
var leadsTo = "http://www.w3.org/2002/01/bookmark#leadsTo";
|
|
36725
|
+
var Topic = "http://www.w3.org/2002/01/bookmark#Topic";
|
|
36726
|
+
var Shortcut = "http://www.w3.org/2002/01/bookmark#Shortcut";
|
|
36727
|
+
var bookmarks = "http://www.w3.org/2002/01/bookmark#bookmarks";
|
|
36728
|
+
var recalls = "http://www.w3.org/2002/01/bookmark#recalls";
|
|
36729
|
+
var subTopicOf = "http://www.w3.org/2002/01/bookmark#subTopicOf";
|
|
36730
|
+
var Bookmark = "http://www.w3.org/2002/01/bookmark#Bookmark";
|
|
36731
|
+
var bookmarkImport = /* @__PURE__ */ Object.freeze({
|
|
36732
|
+
hasTopic,
|
|
36733
|
+
leadsTo,
|
|
36734
|
+
Topic,
|
|
36735
|
+
Shortcut,
|
|
36736
|
+
bookmarks,
|
|
36737
|
+
recalls,
|
|
36738
|
+
subTopicOf,
|
|
36739
|
+
Bookmark
|
|
36740
|
+
});
|
|
36741
|
+
|
|
36701
36742
|
// ../node_modules/rdf-namespaces/dist/cal-a0992050.js
|
|
36702
36743
|
var Vevent = "http://www.w3.org/2002/12/cal/ical#Vevent";
|
|
36703
36744
|
var Vtodo = "http://www.w3.org/2002/12/cal/ical#Vtodo";
|
|
@@ -36897,7 +36938,7 @@ _:patch
|
|
|
36897
36938
|
var relation = "http://purl.org/dc/elements/1.1/relation";
|
|
36898
36939
|
var rights = "http://purl.org/dc/elements/1.1/rights";
|
|
36899
36940
|
var source = "http://purl.org/dc/elements/1.1/source";
|
|
36900
|
-
var
|
|
36941
|
+
var subject2 = "http://purl.org/dc/elements/1.1/subject";
|
|
36901
36942
|
var title = "http://purl.org/dc/elements/1.1/title";
|
|
36902
36943
|
var type = "http://purl.org/dc/elements/1.1/type";
|
|
36903
36944
|
var dcImport = /* @__PURE__ */ Object.freeze({
|
|
@@ -36913,12 +36954,13 @@ _:patch
|
|
|
36913
36954
|
relation,
|
|
36914
36955
|
rights,
|
|
36915
36956
|
source,
|
|
36916
|
-
subject,
|
|
36957
|
+
subject: subject2,
|
|
36917
36958
|
title,
|
|
36918
36959
|
type
|
|
36919
36960
|
});
|
|
36920
36961
|
|
|
36921
|
-
// ../node_modules/rdf-namespaces/dist/dct-
|
|
36962
|
+
// ../node_modules/rdf-namespaces/dist/dct-00f7660b.js
|
|
36963
|
+
var Agent = "http://purl.org/dc/terms/Agent";
|
|
36922
36964
|
var AgentClass = "http://purl.org/dc/terms/AgentClass";
|
|
36923
36965
|
var BibliographicResource = "http://purl.org/dc/terms/BibliographicResource";
|
|
36924
36966
|
var Box = "http://purl.org/dc/terms/Box";
|
|
@@ -36999,13 +37041,14 @@ _:patch
|
|
|
36999
37041
|
var rightsHolder = "http://purl.org/dc/terms/rightsHolder";
|
|
37000
37042
|
var source2 = "http://purl.org/dc/terms/source";
|
|
37001
37043
|
var spatial = "http://purl.org/dc/terms/spatial";
|
|
37002
|
-
var
|
|
37044
|
+
var subject3 = "http://purl.org/dc/terms/subject";
|
|
37003
37045
|
var tableOfContents = "http://purl.org/dc/terms/tableOfContents";
|
|
37004
37046
|
var temporal = "http://purl.org/dc/terms/temporal";
|
|
37005
37047
|
var title2 = "http://purl.org/dc/terms/title";
|
|
37006
37048
|
var type2 = "http://purl.org/dc/terms/type";
|
|
37007
37049
|
var valid = "http://purl.org/dc/terms/valid";
|
|
37008
37050
|
var dctImport = /* @__PURE__ */ Object.freeze({
|
|
37051
|
+
Agent,
|
|
37009
37052
|
AgentClass,
|
|
37010
37053
|
BibliographicResource,
|
|
37011
37054
|
Box,
|
|
@@ -37086,7 +37129,7 @@ _:patch
|
|
|
37086
37129
|
rightsHolder,
|
|
37087
37130
|
source: source2,
|
|
37088
37131
|
spatial,
|
|
37089
|
-
subject:
|
|
37132
|
+
subject: subject3,
|
|
37090
37133
|
tableOfContents,
|
|
37091
37134
|
temporal,
|
|
37092
37135
|
title: title2,
|
|
@@ -37094,7 +37137,7 @@ _:patch
|
|
|
37094
37137
|
valid
|
|
37095
37138
|
});
|
|
37096
37139
|
|
|
37097
|
-
// ../node_modules/rdf-namespaces/dist/fhir-
|
|
37140
|
+
// ../node_modules/rdf-namespaces/dist/fhir-09bb1d53.js
|
|
37098
37141
|
var constituent = "http://hl7.org/fhir/constituent";
|
|
37099
37142
|
var _careTeam = "http://hl7.org/fhir/_careTeam";
|
|
37100
37143
|
var ClinicalUseDefinitionWarningComponent = "http://hl7.org/fhir/ClinicalUseDefinitionWarningComponent";
|
|
@@ -37451,6 +37494,7 @@ _:patch
|
|
|
37451
37494
|
var financial = "http://hl7.org/fhir/financial";
|
|
37452
37495
|
var _bodysite = "http://hl7.org/fhir/_bodysite";
|
|
37453
37496
|
var sourceScope = "http://hl7.org/fhir/sourceScope";
|
|
37497
|
+
var modifierExtensionClass = "http://hl7.org/fhir/modifierExtensionClass";
|
|
37454
37498
|
var parameter = "http://hl7.org/fhir/parameter";
|
|
37455
37499
|
var lineItem = "http://hl7.org/fhir/lineItem";
|
|
37456
37500
|
var _businessArrangement = "http://hl7.org/fhir/_businessArrangement";
|
|
@@ -37494,6 +37538,7 @@ _:patch
|
|
|
37494
37538
|
var _productOrService = "http://hl7.org/fhir/_productOrService";
|
|
37495
37539
|
var reviewOutcome = "http://hl7.org/fhir/reviewOutcome";
|
|
37496
37540
|
var maxDispense = "http://hl7.org/fhir/maxDispense";
|
|
37541
|
+
var modifierExtensionProperty = "http://hl7.org/fhir/modifierExtensionProperty";
|
|
37497
37542
|
var filterDefinition = "http://hl7.org/fhir/filterDefinition";
|
|
37498
37543
|
var sourceAttachment = "http://hl7.org/fhir/sourceAttachment";
|
|
37499
37544
|
var provisionActor = "http://hl7.org/fhir/provisionActor";
|
|
@@ -37730,7 +37775,7 @@ _:patch
|
|
|
37730
37775
|
var _enteredDate = "http://hl7.org/fhir/_enteredDate";
|
|
37731
37776
|
var _legalStatusOfSupply = "http://hl7.org/fhir/_legalStatusOfSupply";
|
|
37732
37777
|
var valueAlternatives = "http://hl7.org/fhir/valueAlternatives";
|
|
37733
|
-
var
|
|
37778
|
+
var subject4 = "http://hl7.org/fhir/subject";
|
|
37734
37779
|
var _publicationDate = "http://hl7.org/fhir/_publicationDate";
|
|
37735
37780
|
var occurrenceChanged = "http://hl7.org/fhir/occurrenceChanged";
|
|
37736
37781
|
var _referralRequest = "http://hl7.org/fhir/_referralRequest";
|
|
@@ -39183,7 +39228,7 @@ _:patch
|
|
|
39183
39228
|
var reviewer = "http://hl7.org/fhir/reviewer";
|
|
39184
39229
|
var _usePeriod = "http://hl7.org/fhir/_usePeriod";
|
|
39185
39230
|
var BodyStructureIncludedStructureComponent = "http://hl7.org/fhir/BodyStructureIncludedStructureComponent";
|
|
39186
|
-
var
|
|
39231
|
+
var next2 = "http://hl7.org/fhir/next";
|
|
39187
39232
|
var _changeType = "http://hl7.org/fhir/_changeType";
|
|
39188
39233
|
var _ImmunizationEvaluation = "http://hl7.org/fhir/_ImmunizationEvaluation";
|
|
39189
39234
|
var requestingOrganization = "http://hl7.org/fhir/requestingOrganization";
|
|
@@ -39231,7 +39276,7 @@ _:patch
|
|
|
39231
39276
|
var _containedItemQuantity = "http://hl7.org/fhir/_containedItemQuantity";
|
|
39232
39277
|
var _daysSupply = "http://hl7.org/fhir/_daysSupply";
|
|
39233
39278
|
var reportingVendor = "http://hl7.org/fhir/reportingVendor";
|
|
39234
|
-
var
|
|
39279
|
+
var current2 = "http://hl7.org/fhir/current";
|
|
39235
39280
|
var uid4 = "http://hl7.org/fhir/uid";
|
|
39236
39281
|
var order = "http://hl7.org/fhir/order";
|
|
39237
39282
|
var priorPrescription = "http://hl7.org/fhir/priorPrescription";
|
|
@@ -40402,7 +40447,7 @@ _:patch
|
|
|
40402
40447
|
var indication = "http://hl7.org/fhir/indication";
|
|
40403
40448
|
var _AllergyIntolerance = "http://hl7.org/fhir/_AllergyIntolerance";
|
|
40404
40449
|
var _publishedIn = "http://hl7.org/fhir/_publishedIn";
|
|
40405
|
-
var
|
|
40450
|
+
var partOf2 = "http://hl7.org/fhir/partOf";
|
|
40406
40451
|
var _initialSelected = "http://hl7.org/fhir/_initialSelected";
|
|
40407
40452
|
var _key = "http://hl7.org/fhir/_key";
|
|
40408
40453
|
var backCurve = "http://hl7.org/fhir/backCurve";
|
|
@@ -41684,6 +41729,7 @@ _:patch
|
|
|
41684
41729
|
financial,
|
|
41685
41730
|
_bodysite,
|
|
41686
41731
|
sourceScope,
|
|
41732
|
+
modifierExtensionClass,
|
|
41687
41733
|
parameter,
|
|
41688
41734
|
lineItem,
|
|
41689
41735
|
_businessArrangement,
|
|
@@ -41727,6 +41773,7 @@ _:patch
|
|
|
41727
41773
|
_productOrService,
|
|
41728
41774
|
reviewOutcome,
|
|
41729
41775
|
maxDispense,
|
|
41776
|
+
modifierExtensionProperty,
|
|
41730
41777
|
filterDefinition,
|
|
41731
41778
|
sourceAttachment,
|
|
41732
41779
|
provisionActor,
|
|
@@ -41963,7 +42010,7 @@ _:patch
|
|
|
41963
42010
|
_enteredDate,
|
|
41964
42011
|
_legalStatusOfSupply,
|
|
41965
42012
|
valueAlternatives,
|
|
41966
|
-
subject:
|
|
42013
|
+
subject: subject4,
|
|
41967
42014
|
_publicationDate,
|
|
41968
42015
|
occurrenceChanged,
|
|
41969
42016
|
_referralRequest,
|
|
@@ -43416,7 +43463,7 @@ _:patch
|
|
|
43416
43463
|
reviewer,
|
|
43417
43464
|
_usePeriod,
|
|
43418
43465
|
BodyStructureIncludedStructureComponent,
|
|
43419
|
-
next,
|
|
43466
|
+
next: next2,
|
|
43420
43467
|
_changeType,
|
|
43421
43468
|
_ImmunizationEvaluation,
|
|
43422
43469
|
requestingOrganization,
|
|
@@ -43464,7 +43511,7 @@ _:patch
|
|
|
43464
43511
|
_containedItemQuantity,
|
|
43465
43512
|
_daysSupply,
|
|
43466
43513
|
reportingVendor,
|
|
43467
|
-
current,
|
|
43514
|
+
current: current2,
|
|
43468
43515
|
uid: uid4,
|
|
43469
43516
|
order,
|
|
43470
43517
|
priorPrescription,
|
|
@@ -44635,7 +44682,7 @@ _:patch
|
|
|
44635
44682
|
indication,
|
|
44636
44683
|
_AllergyIntolerance,
|
|
44637
44684
|
_publishedIn,
|
|
44638
|
-
partOf,
|
|
44685
|
+
partOf: partOf2,
|
|
44639
44686
|
_initialSelected,
|
|
44640
44687
|
_key,
|
|
44641
44688
|
backCurve,
|
|
@@ -45563,7 +45610,7 @@ _:patch
|
|
|
45563
45610
|
});
|
|
45564
45611
|
|
|
45565
45612
|
// ../node_modules/rdf-namespaces/dist/foaf-85ab4e00.js
|
|
45566
|
-
var
|
|
45613
|
+
var Agent2 = "http://xmlns.com/foaf/0.1/Agent";
|
|
45567
45614
|
var Document2 = "http://xmlns.com/foaf/0.1/Document";
|
|
45568
45615
|
var Group3 = "http://xmlns.com/foaf/0.1/Group";
|
|
45569
45616
|
var Image2 = "http://xmlns.com/foaf/0.1/Image";
|
|
@@ -45639,7 +45686,7 @@ _:patch
|
|
|
45639
45686
|
var workplaceHomepage = "http://xmlns.com/foaf/0.1/workplaceHomepage";
|
|
45640
45687
|
var yahooChatID = "http://xmlns.com/foaf/0.1/yahooChatID";
|
|
45641
45688
|
var foafImport = /* @__PURE__ */ Object.freeze({
|
|
45642
|
-
Agent,
|
|
45689
|
+
Agent: Agent2,
|
|
45643
45690
|
Document: Document2,
|
|
45644
45691
|
Group: Group3,
|
|
45645
45692
|
Image: Image2,
|
|
@@ -45762,15 +45809,15 @@ _:patch
|
|
|
45762
45809
|
var expects = "http://www.w3.org/ns/hydra/core#expects";
|
|
45763
45810
|
var expectsHeader = "http://www.w3.org/ns/hydra/core#expectsHeader";
|
|
45764
45811
|
var extension2 = "http://www.w3.org/ns/hydra/core#extension";
|
|
45765
|
-
var
|
|
45812
|
+
var first2 = "http://www.w3.org/ns/hydra/core#first";
|
|
45766
45813
|
var freetextQuery = "http://www.w3.org/ns/hydra/core#freetextQuery";
|
|
45767
45814
|
var headerName = "http://www.w3.org/ns/hydra/core#headerName";
|
|
45768
|
-
var
|
|
45815
|
+
var last2 = "http://www.w3.org/ns/hydra/core#last";
|
|
45769
45816
|
var limit2 = "http://www.w3.org/ns/hydra/core#limit";
|
|
45770
45817
|
var mapping2 = "http://www.w3.org/ns/hydra/core#mapping";
|
|
45771
45818
|
var member3 = "http://www.w3.org/ns/hydra/core#member";
|
|
45772
45819
|
var method4 = "http://www.w3.org/ns/hydra/core#method";
|
|
45773
|
-
var
|
|
45820
|
+
var next3 = "http://www.w3.org/ns/hydra/core#next";
|
|
45774
45821
|
var offset2 = "http://www.w3.org/ns/hydra/core#offset";
|
|
45775
45822
|
var operation2 = "http://www.w3.org/ns/hydra/core#operation";
|
|
45776
45823
|
var pageIndex = "http://www.w3.org/ns/hydra/core#pageIndex";
|
|
@@ -45824,15 +45871,15 @@ _:patch
|
|
|
45824
45871
|
expects,
|
|
45825
45872
|
expectsHeader,
|
|
45826
45873
|
extension: extension2,
|
|
45827
|
-
first,
|
|
45874
|
+
first: first2,
|
|
45828
45875
|
freetextQuery,
|
|
45829
45876
|
headerName,
|
|
45830
|
-
last,
|
|
45877
|
+
last: last2,
|
|
45831
45878
|
limit: limit2,
|
|
45832
45879
|
mapping: mapping2,
|
|
45833
45880
|
member: member3,
|
|
45834
45881
|
method: method4,
|
|
45835
|
-
next:
|
|
45882
|
+
next: next3,
|
|
45836
45883
|
offset: offset2,
|
|
45837
45884
|
operation: operation2,
|
|
45838
45885
|
pageIndex,
|
|
@@ -46036,7 +46083,7 @@ _:patch
|
|
|
46036
46083
|
videoCallPage
|
|
46037
46084
|
});
|
|
46038
46085
|
|
|
46039
|
-
// ../node_modules/rdf-namespaces/dist/owl-
|
|
46086
|
+
// ../node_modules/rdf-namespaces/dist/owl-cfadfdf5.js
|
|
46040
46087
|
var AllDifferent = "http://www.w3.org/2002/07/owl#AllDifferent";
|
|
46041
46088
|
var AllDisjointClasses = "http://www.w3.org/2002/07/owl#AllDisjointClasses";
|
|
46042
46089
|
var AllDisjointProperties = "http://www.w3.org/2002/07/owl#AllDisjointProperties";
|
|
@@ -46068,11 +46115,13 @@ _:patch
|
|
|
46068
46115
|
var annotatedSource = "http://www.w3.org/2002/07/owl#annotatedSource";
|
|
46069
46116
|
var annotatedTarget = "http://www.w3.org/2002/07/owl#annotatedTarget";
|
|
46070
46117
|
var assertionProperty = "http://www.w3.org/2002/07/owl#assertionProperty";
|
|
46118
|
+
var backwardCompatibleWith = "http://www.w3.org/2002/07/owl#backwardCompatibleWith";
|
|
46071
46119
|
var bottomDataProperty = "http://www.w3.org/2002/07/owl#bottomDataProperty";
|
|
46072
46120
|
var bottomObjectProperty = "http://www.w3.org/2002/07/owl#bottomObjectProperty";
|
|
46073
46121
|
var cardinality = "http://www.w3.org/2002/07/owl#cardinality";
|
|
46074
46122
|
var complementOf = "http://www.w3.org/2002/07/owl#complementOf";
|
|
46075
46123
|
var datatypeComplementOf = "http://www.w3.org/2002/07/owl#datatypeComplementOf";
|
|
46124
|
+
var deprecated = "http://www.w3.org/2002/07/owl#deprecated";
|
|
46076
46125
|
var differentFrom = "http://www.w3.org/2002/07/owl#differentFrom";
|
|
46077
46126
|
var disjointUnionOf = "http://www.w3.org/2002/07/owl#disjointUnionOf";
|
|
46078
46127
|
var disjointWith = "http://www.w3.org/2002/07/owl#disjointWith";
|
|
@@ -46082,6 +46131,7 @@ _:patch
|
|
|
46082
46131
|
var hasKey = "http://www.w3.org/2002/07/owl#hasKey";
|
|
46083
46132
|
var hasSelf = "http://www.w3.org/2002/07/owl#hasSelf";
|
|
46084
46133
|
var hasValue = "http://www.w3.org/2002/07/owl#hasValue";
|
|
46134
|
+
var incompatibleWith = "http://www.w3.org/2002/07/owl#incompatibleWith";
|
|
46085
46135
|
var intersectionOf = "http://www.w3.org/2002/07/owl#intersectionOf";
|
|
46086
46136
|
var inverseOf = "http://www.w3.org/2002/07/owl#inverseOf";
|
|
46087
46137
|
var maxCardinality = "http://www.w3.org/2002/07/owl#maxCardinality";
|
|
@@ -46095,6 +46145,7 @@ _:patch
|
|
|
46095
46145
|
var oneOf2 = "http://www.w3.org/2002/07/owl#oneOf";
|
|
46096
46146
|
var onProperties = "http://www.w3.org/2002/07/owl#onProperties";
|
|
46097
46147
|
var onProperty = "http://www.w3.org/2002/07/owl#onProperty";
|
|
46148
|
+
var priorVersion = "http://www.w3.org/2002/07/owl#priorVersion";
|
|
46098
46149
|
var propertyChainAxiom = "http://www.w3.org/2002/07/owl#propertyChainAxiom";
|
|
46099
46150
|
var propertyDisjointWith = "http://www.w3.org/2002/07/owl#propertyDisjointWith";
|
|
46100
46151
|
var qualifiedCardinality = "http://www.w3.org/2002/07/owl#qualifiedCardinality";
|
|
@@ -46106,6 +46157,7 @@ _:patch
|
|
|
46106
46157
|
var topDataProperty = "http://www.w3.org/2002/07/owl#topDataProperty";
|
|
46107
46158
|
var topObjectProperty = "http://www.w3.org/2002/07/owl#topObjectProperty";
|
|
46108
46159
|
var unionOf = "http://www.w3.org/2002/07/owl#unionOf";
|
|
46160
|
+
var versionInfo = "http://www.w3.org/2002/07/owl#versionInfo";
|
|
46109
46161
|
var withRestrictions = "http://www.w3.org/2002/07/owl#withRestrictions";
|
|
46110
46162
|
var owlImport = /* @__PURE__ */ Object.freeze({
|
|
46111
46163
|
AllDifferent,
|
|
@@ -46139,11 +46191,13 @@ _:patch
|
|
|
46139
46191
|
annotatedSource,
|
|
46140
46192
|
annotatedTarget,
|
|
46141
46193
|
assertionProperty,
|
|
46194
|
+
backwardCompatibleWith,
|
|
46142
46195
|
bottomDataProperty,
|
|
46143
46196
|
bottomObjectProperty,
|
|
46144
46197
|
cardinality,
|
|
46145
46198
|
complementOf,
|
|
46146
46199
|
datatypeComplementOf,
|
|
46200
|
+
deprecated,
|
|
46147
46201
|
differentFrom,
|
|
46148
46202
|
disjointUnionOf,
|
|
46149
46203
|
disjointWith,
|
|
@@ -46153,6 +46207,7 @@ _:patch
|
|
|
46153
46207
|
hasKey,
|
|
46154
46208
|
hasSelf,
|
|
46155
46209
|
hasValue,
|
|
46210
|
+
incompatibleWith,
|
|
46156
46211
|
intersectionOf,
|
|
46157
46212
|
inverseOf,
|
|
46158
46213
|
maxCardinality,
|
|
@@ -46166,6 +46221,7 @@ _:patch
|
|
|
46166
46221
|
oneOf: oneOf2,
|
|
46167
46222
|
onProperties,
|
|
46168
46223
|
onProperty,
|
|
46224
|
+
priorVersion,
|
|
46169
46225
|
propertyChainAxiom,
|
|
46170
46226
|
propertyDisjointWith,
|
|
46171
46227
|
qualifiedCardinality,
|
|
@@ -46177,6 +46233,7 @@ _:patch
|
|
|
46177
46233
|
topDataProperty,
|
|
46178
46234
|
topObjectProperty,
|
|
46179
46235
|
unionOf,
|
|
46236
|
+
versionInfo,
|
|
46180
46237
|
withRestrictions
|
|
46181
46238
|
});
|
|
46182
46239
|
|
|
@@ -46247,7 +46304,7 @@ _:patch
|
|
|
46247
46304
|
var type4 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type";
|
|
46248
46305
|
var Property2 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property";
|
|
46249
46306
|
var Statement2 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement";
|
|
46250
|
-
var
|
|
46307
|
+
var subject5 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject";
|
|
46251
46308
|
var predicate = "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate";
|
|
46252
46309
|
var object3 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#object";
|
|
46253
46310
|
var Bag = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag";
|
|
@@ -46255,7 +46312,7 @@ _:patch
|
|
|
46255
46312
|
var Alt = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt";
|
|
46256
46313
|
var value2 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#value";
|
|
46257
46314
|
var List3 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#List";
|
|
46258
|
-
var
|
|
46315
|
+
var first3 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#first";
|
|
46259
46316
|
var rest2 = "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest";
|
|
46260
46317
|
var XMLLiteral = "http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral";
|
|
46261
46318
|
var JSON__workaround = "http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON";
|
|
@@ -46269,7 +46326,7 @@ _:patch
|
|
|
46269
46326
|
type: type4,
|
|
46270
46327
|
Property: Property2,
|
|
46271
46328
|
Statement: Statement2,
|
|
46272
|
-
subject:
|
|
46329
|
+
subject: subject5,
|
|
46273
46330
|
predicate,
|
|
46274
46331
|
object: object3,
|
|
46275
46332
|
Bag,
|
|
@@ -46277,7 +46334,7 @@ _:patch
|
|
|
46277
46334
|
Alt,
|
|
46278
46335
|
value: value2,
|
|
46279
46336
|
List: List3,
|
|
46280
|
-
first:
|
|
46337
|
+
first: first3,
|
|
46281
46338
|
rest: rest2,
|
|
46282
46339
|
XMLLiteral,
|
|
46283
46340
|
JSON__workaround,
|
|
@@ -56366,7 +56423,7 @@ _:patch
|
|
|
56366
56423
|
var rule2 = "http://www.w3.org/ns/shacl#rule";
|
|
56367
56424
|
var condition2 = "http://www.w3.org/ns/shacl#condition";
|
|
56368
56425
|
var TripleRule = "http://www.w3.org/ns/shacl#TripleRule";
|
|
56369
|
-
var
|
|
56426
|
+
var subject6 = "http://www.w3.org/ns/shacl#subject";
|
|
56370
56427
|
var predicate2 = "http://www.w3.org/ns/shacl#predicate";
|
|
56371
56428
|
var object6 = "http://www.w3.org/ns/shacl#object";
|
|
56372
56429
|
var SPARQLRule = "http://www.w3.org/ns/shacl#SPARQLRule";
|
|
@@ -56508,7 +56565,7 @@ _:patch
|
|
|
56508
56565
|
rule: rule2,
|
|
56509
56566
|
condition: condition2,
|
|
56510
56567
|
TripleRule,
|
|
56511
|
-
subject:
|
|
56568
|
+
subject: subject6,
|
|
56512
56569
|
predicate: predicate2,
|
|
56513
56570
|
object: object6,
|
|
56514
56571
|
SPARQLRule,
|
|
@@ -56660,7 +56717,7 @@ _:patch
|
|
|
56660
56717
|
xsFacet
|
|
56661
56718
|
});
|
|
56662
56719
|
|
|
56663
|
-
// ../node_modules/rdf-namespaces/dist/sioc-
|
|
56720
|
+
// ../node_modules/rdf-namespaces/dist/sioc-0842c71e.js
|
|
56664
56721
|
var Community = "http://rdfs.org/sioc/ns#Community";
|
|
56665
56722
|
var Container3 = "http://rdfs.org/sioc/ns#Container";
|
|
56666
56723
|
var Forum = "http://rdfs.org/sioc/ns#Forum";
|
|
@@ -56683,6 +56740,7 @@ _:patch
|
|
|
56683
56740
|
var creator_of = "http://rdfs.org/sioc/ns#creator_of";
|
|
56684
56741
|
var delivered_at = "http://rdfs.org/sioc/ns#delivered_at";
|
|
56685
56742
|
var discussion_of = "http://rdfs.org/sioc/ns#discussion_of";
|
|
56743
|
+
var earlier_version = "http://rdfs.org/sioc/ns#earlier_version";
|
|
56686
56744
|
var email3 = "http://rdfs.org/sioc/ns#email";
|
|
56687
56745
|
var email_sha1 = "http://rdfs.org/sioc/ns#email_sha1";
|
|
56688
56746
|
var embeds_knowledge = "http://rdfs.org/sioc/ns#embeds_knowledge";
|
|
@@ -56712,6 +56770,7 @@ _:patch
|
|
|
56712
56770
|
var last_activity_date = "http://rdfs.org/sioc/ns#last_activity_date";
|
|
56713
56771
|
var last_item_date = "http://rdfs.org/sioc/ns#last_item_date";
|
|
56714
56772
|
var last_reply_date = "http://rdfs.org/sioc/ns#last_reply_date";
|
|
56773
|
+
var later_version = "http://rdfs.org/sioc/ns#later_version";
|
|
56715
56774
|
var latest_version = "http://rdfs.org/sioc/ns#latest_version";
|
|
56716
56775
|
var likes = "http://rdfs.org/sioc/ns#likes";
|
|
56717
56776
|
var link2 = "http://rdfs.org/sioc/ns#link";
|
|
@@ -56739,10 +56798,24 @@ _:patch
|
|
|
56739
56798
|
var respond_to = "http://rdfs.org/sioc/ns#respond_to";
|
|
56740
56799
|
var scope_of = "http://rdfs.org/sioc/ns#scope_of";
|
|
56741
56800
|
var shared_by = "http://rdfs.org/sioc/ns#shared_by";
|
|
56801
|
+
var sibling3 = "http://rdfs.org/sioc/ns#sibling";
|
|
56742
56802
|
var space_of = "http://rdfs.org/sioc/ns#space_of";
|
|
56743
56803
|
var subscriber_of = "http://rdfs.org/sioc/ns#subscriber_of";
|
|
56744
56804
|
var topic3 = "http://rdfs.org/sioc/ns#topic";
|
|
56745
56805
|
var usergroup_of = "http://rdfs.org/sioc/ns#usergroup_of";
|
|
56806
|
+
var title8 = "http://rdfs.org/sioc/ns#title";
|
|
56807
|
+
var content_encoded = "http://rdfs.org/sioc/ns#content_encoded";
|
|
56808
|
+
var created_at = "http://rdfs.org/sioc/ns#created_at";
|
|
56809
|
+
var description10 = "http://rdfs.org/sioc/ns#description";
|
|
56810
|
+
var first_name = "http://rdfs.org/sioc/ns#first_name";
|
|
56811
|
+
var group_of = "http://rdfs.org/sioc/ns#group_of";
|
|
56812
|
+
var has_group = "http://rdfs.org/sioc/ns#has_group";
|
|
56813
|
+
var has_part = "http://rdfs.org/sioc/ns#has_part";
|
|
56814
|
+
var last_name = "http://rdfs.org/sioc/ns#last_name";
|
|
56815
|
+
var modified_at = "http://rdfs.org/sioc/ns#modified_at";
|
|
56816
|
+
var part_of = "http://rdfs.org/sioc/ns#part_of";
|
|
56817
|
+
var reference2 = "http://rdfs.org/sioc/ns#reference";
|
|
56818
|
+
var subject7 = "http://rdfs.org/sioc/ns#subject";
|
|
56746
56819
|
var siocImport = /* @__PURE__ */ Object.freeze({
|
|
56747
56820
|
Community,
|
|
56748
56821
|
Container: Container3,
|
|
@@ -56766,6 +56839,7 @@ _:patch
|
|
|
56766
56839
|
creator_of,
|
|
56767
56840
|
delivered_at,
|
|
56768
56841
|
discussion_of,
|
|
56842
|
+
earlier_version,
|
|
56769
56843
|
email: email3,
|
|
56770
56844
|
email_sha1,
|
|
56771
56845
|
embeds_knowledge,
|
|
@@ -56795,6 +56869,7 @@ _:patch
|
|
|
56795
56869
|
last_activity_date,
|
|
56796
56870
|
last_item_date,
|
|
56797
56871
|
last_reply_date,
|
|
56872
|
+
later_version,
|
|
56798
56873
|
latest_version,
|
|
56799
56874
|
likes,
|
|
56800
56875
|
link: link2,
|
|
@@ -56822,13 +56897,27 @@ _:patch
|
|
|
56822
56897
|
respond_to,
|
|
56823
56898
|
scope_of,
|
|
56824
56899
|
shared_by,
|
|
56900
|
+
sibling: sibling3,
|
|
56825
56901
|
space_of,
|
|
56826
56902
|
subscriber_of,
|
|
56827
56903
|
topic: topic3,
|
|
56828
|
-
usergroup_of
|
|
56904
|
+
usergroup_of,
|
|
56905
|
+
title: title8,
|
|
56906
|
+
content_encoded,
|
|
56907
|
+
created_at,
|
|
56908
|
+
description: description10,
|
|
56909
|
+
first_name,
|
|
56910
|
+
group_of,
|
|
56911
|
+
has_group,
|
|
56912
|
+
has_part,
|
|
56913
|
+
last_name,
|
|
56914
|
+
modified_at,
|
|
56915
|
+
part_of,
|
|
56916
|
+
reference: reference2,
|
|
56917
|
+
subject: subject7
|
|
56829
56918
|
});
|
|
56830
56919
|
|
|
56831
|
-
// ../node_modules/rdf-namespaces/dist/skos-
|
|
56920
|
+
// ../node_modules/rdf-namespaces/dist/skos-2b5965bf.js
|
|
56832
56921
|
var Concept = "http://www.w3.org/2004/02/skos/core#Concept";
|
|
56833
56922
|
var ConceptScheme = "http://www.w3.org/2004/02/skos/core#ConceptScheme";
|
|
56834
56923
|
var Collection6 = "http://www.w3.org/2004/02/skos/core#Collection";
|
|
@@ -56836,7 +56925,17 @@ _:patch
|
|
|
56836
56925
|
var inScheme = "http://www.w3.org/2004/02/skos/core#inScheme";
|
|
56837
56926
|
var hasTopConcept = "http://www.w3.org/2004/02/skos/core#hasTopConcept";
|
|
56838
56927
|
var topConceptOf = "http://www.w3.org/2004/02/skos/core#topConceptOf";
|
|
56928
|
+
var prefLabel = "http://www.w3.org/2004/02/skos/core#prefLabel";
|
|
56929
|
+
var altLabel = "http://www.w3.org/2004/02/skos/core#altLabel";
|
|
56930
|
+
var hiddenLabel = "http://www.w3.org/2004/02/skos/core#hiddenLabel";
|
|
56839
56931
|
var notation = "http://www.w3.org/2004/02/skos/core#notation";
|
|
56932
|
+
var note3 = "http://www.w3.org/2004/02/skos/core#note";
|
|
56933
|
+
var changeNote = "http://www.w3.org/2004/02/skos/core#changeNote";
|
|
56934
|
+
var definition2 = "http://www.w3.org/2004/02/skos/core#definition";
|
|
56935
|
+
var editorialNote = "http://www.w3.org/2004/02/skos/core#editorialNote";
|
|
56936
|
+
var example2 = "http://www.w3.org/2004/02/skos/core#example";
|
|
56937
|
+
var historyNote = "http://www.w3.org/2004/02/skos/core#historyNote";
|
|
56938
|
+
var scopeNote = "http://www.w3.org/2004/02/skos/core#scopeNote";
|
|
56840
56939
|
var semanticRelation = "http://www.w3.org/2004/02/skos/core#semanticRelation";
|
|
56841
56940
|
var broader = "http://www.w3.org/2004/02/skos/core#broader";
|
|
56842
56941
|
var narrower = "http://www.w3.org/2004/02/skos/core#narrower";
|
|
@@ -56859,7 +56958,17 @@ _:patch
|
|
|
56859
56958
|
inScheme,
|
|
56860
56959
|
hasTopConcept,
|
|
56861
56960
|
topConceptOf,
|
|
56961
|
+
prefLabel,
|
|
56962
|
+
altLabel,
|
|
56963
|
+
hiddenLabel,
|
|
56862
56964
|
notation,
|
|
56965
|
+
note: note3,
|
|
56966
|
+
changeNote,
|
|
56967
|
+
definition: definition2,
|
|
56968
|
+
editorialNote,
|
|
56969
|
+
example: example2,
|
|
56970
|
+
historyNote,
|
|
56971
|
+
scopeNote,
|
|
56863
56972
|
semanticRelation,
|
|
56864
56973
|
broader,
|
|
56865
56974
|
narrower,
|
|
@@ -57057,7 +57166,7 @@ _:patch
|
|
|
57057
57166
|
// ../node_modules/rdf-namespaces/dist/vcard-16bbe2a9.js
|
|
57058
57167
|
var Acquaintance = "http://www.w3.org/2006/vcard/ns#Acquaintance";
|
|
57059
57168
|
var Address3 = "http://www.w3.org/2006/vcard/ns#Address";
|
|
57060
|
-
var
|
|
57169
|
+
var Agent3 = "http://www.w3.org/2006/vcard/ns#Agent";
|
|
57061
57170
|
var BBS = "http://www.w3.org/2006/vcard/ns#BBS";
|
|
57062
57171
|
var Car3 = "http://www.w3.org/2006/vcard/ns#Car";
|
|
57063
57172
|
var Cell = "http://www.w3.org/2006/vcard/ns#Cell";
|
|
@@ -57175,7 +57284,7 @@ _:patch
|
|
|
57175
57284
|
var mailer = "http://www.w3.org/2006/vcard/ns#mailer";
|
|
57176
57285
|
var n = "http://www.w3.org/2006/vcard/ns#n";
|
|
57177
57286
|
var nickname = "http://www.w3.org/2006/vcard/ns#nickname";
|
|
57178
|
-
var
|
|
57287
|
+
var note4 = "http://www.w3.org/2006/vcard/ns#note";
|
|
57179
57288
|
var org = "http://www.w3.org/2006/vcard/ns#org";
|
|
57180
57289
|
var photo4 = "http://www.w3.org/2006/vcard/ns#photo";
|
|
57181
57290
|
var prodid2 = "http://www.w3.org/2006/vcard/ns#prodid";
|
|
@@ -57184,14 +57293,14 @@ _:patch
|
|
|
57184
57293
|
var role2 = "http://www.w3.org/2006/vcard/ns#role";
|
|
57185
57294
|
var sound = "http://www.w3.org/2006/vcard/ns#sound";
|
|
57186
57295
|
var tel = "http://www.w3.org/2006/vcard/ns#tel";
|
|
57187
|
-
var
|
|
57296
|
+
var title9 = "http://www.w3.org/2006/vcard/ns#title";
|
|
57188
57297
|
var tz = "http://www.w3.org/2006/vcard/ns#tz";
|
|
57189
57298
|
var url6 = "http://www.w3.org/2006/vcard/ns#url";
|
|
57190
57299
|
var value6 = "http://www.w3.org/2006/vcard/ns#value";
|
|
57191
57300
|
var vcardImport = /* @__PURE__ */ Object.freeze({
|
|
57192
57301
|
Acquaintance,
|
|
57193
57302
|
Address: Address3,
|
|
57194
|
-
Agent:
|
|
57303
|
+
Agent: Agent3,
|
|
57195
57304
|
BBS,
|
|
57196
57305
|
Car: Car3,
|
|
57197
57306
|
Cell,
|
|
@@ -57309,7 +57418,7 @@ _:patch
|
|
|
57309
57418
|
mailer,
|
|
57310
57419
|
n,
|
|
57311
57420
|
nickname,
|
|
57312
|
-
note:
|
|
57421
|
+
note: note4,
|
|
57313
57422
|
org,
|
|
57314
57423
|
photo: photo4,
|
|
57315
57424
|
prodid: prodid2,
|
|
@@ -57318,7 +57427,7 @@ _:patch
|
|
|
57318
57427
|
role: role2,
|
|
57319
57428
|
sound,
|
|
57320
57429
|
tel,
|
|
57321
|
-
title:
|
|
57430
|
+
title: title9,
|
|
57322
57431
|
tz,
|
|
57323
57432
|
url: url6,
|
|
57324
57433
|
value: value6
|
|
@@ -57346,7 +57455,7 @@ _:patch
|
|
|
57346
57455
|
var dateDue = "http://www.w3.org/2005/01/wf/flow#dateDue";
|
|
57347
57456
|
var deliverable = "http://www.w3.org/2005/01/wf/flow#deliverable";
|
|
57348
57457
|
var dependent2 = "http://www.w3.org/2005/01/wf/flow#dependent";
|
|
57349
|
-
var
|
|
57458
|
+
var description11 = "http://www.w3.org/2005/01/wf/flow#description";
|
|
57350
57459
|
var final = "http://www.w3.org/2005/01/wf/flow#final";
|
|
57351
57460
|
var goalDescription = "http://www.w3.org/2005/01/wf/flow#goalDescription";
|
|
57352
57461
|
var initialState = "http://www.w3.org/2005/01/wf/flow#initialState";
|
|
@@ -57390,7 +57499,7 @@ _:patch
|
|
|
57390
57499
|
dateDue,
|
|
57391
57500
|
deliverable,
|
|
57392
57501
|
dependent: dependent2,
|
|
57393
|
-
description:
|
|
57502
|
+
description: description11,
|
|
57394
57503
|
final,
|
|
57395
57504
|
goalDescription,
|
|
57396
57505
|
initialState,
|
|
@@ -57516,6 +57625,7 @@ _:patch
|
|
|
57516
57625
|
var acl = aclImport;
|
|
57517
57626
|
var arg = argImport;
|
|
57518
57627
|
var as = asImport;
|
|
57628
|
+
var bookmark = bookmarkImport;
|
|
57519
57629
|
var cal = calImport;
|
|
57520
57630
|
var contact3 = contactImport;
|
|
57521
57631
|
var dc2 = dcImport;
|
|
@@ -57637,11 +57747,17 @@ _:patch
|
|
|
57637
57747
|
constructor({
|
|
57638
57748
|
session: session4 = {},
|
|
57639
57749
|
offlineCache = new NoOfflineCache(),
|
|
57640
|
-
onlineStatus = new AssumeAlwaysOnline()
|
|
57750
|
+
onlineStatus = new AssumeAlwaysOnline(),
|
|
57751
|
+
internalStore = void 0
|
|
57641
57752
|
} = {}) {
|
|
57642
57753
|
this.session = session4;
|
|
57643
57754
|
this.offlineCache = offlineCache;
|
|
57644
|
-
this.store = new Store(
|
|
57755
|
+
this.store = new Store(
|
|
57756
|
+
this.session,
|
|
57757
|
+
offlineCache,
|
|
57758
|
+
onlineStatus,
|
|
57759
|
+
internalStore
|
|
57760
|
+
);
|
|
57645
57761
|
this.searchGateway = new SearchGateway(this.store);
|
|
57646
57762
|
this.flagAuthorizationMetaDataOnSessionChange();
|
|
57647
57763
|
this.uriService = new UriService(this.store);
|
|
@@ -57657,7 +57773,7 @@ _:patch
|
|
|
57657
57773
|
flagAuthorizationMetaDataOnSessionChange() {
|
|
57658
57774
|
this.session.observeSession().pipe(
|
|
57659
57775
|
tap(() => {
|
|
57660
|
-
this.store.
|
|
57776
|
+
this.store.flagAuthorizationMetadata();
|
|
57661
57777
|
})
|
|
57662
57778
|
).subscribe();
|
|
57663
57779
|
}
|