solid-ui 2.6.1-59944fe → 2.6.1-8984b92

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.
@@ -1,4 +1,4 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_$rdf__ from "$rdf";
1
+ import * as __WEBPACK_EXTERNAL_MODULE_rdflib__ from "rdflib";
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
4
  /***/ 37:
@@ -2642,7 +2642,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
2642
2642
  exports.ns = void 0;
2643
2643
  // Namespaces we commonly use and have common prefixes for around Solid
2644
2644
  var solid_namespace_1 = __importDefault(__webpack_require__(5386)); // Delegate to this which takes RDFlib as param.
2645
- var $rdf = __importStar(__webpack_require__(4738));
2645
+ var $rdf = __importStar(__webpack_require__(4961));
2646
2646
  exports.ns = (0, solid_namespace_1.default)($rdf);
2647
2647
  //# sourceMappingURL=ns.js.map
2648
2648
 
@@ -2928,7 +2928,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
2928
2928
  };
2929
2929
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2930
2930
  exports.SolidAuthnLogic = void 0;
2931
- var rdflib_1 = __webpack_require__(4738);
2931
+ var rdflib_1 = __webpack_require__(4961);
2932
2932
  var authUtil_1 = __webpack_require__(9288);
2933
2933
  var debug = __importStar(__webpack_require__(8339));
2934
2934
  var solid_client_authn_browser_1 = __webpack_require__(2452);
@@ -3462,7 +3462,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
3462
3462
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3463
3463
  exports.ACL_LINK = void 0;
3464
3464
  exports.createAclLogic = createAclLogic;
3465
- var rdflib_1 = __webpack_require__(4738);
3465
+ var rdflib_1 = __webpack_require__(4961);
3466
3466
  var ns_1 = __webpack_require__(733);
3467
3467
  exports.ACL_LINK = (0, rdflib_1.sym)("http://www.iana.org/assignments/link-relations/acl");
3468
3468
  function createAclLogic(store) {
@@ -9611,13 +9611,6 @@ exports.saveSessionInfoToStorage = saveSessionInfoToStorage;
9611
9611
  //# sourceMappingURL=index.js.map
9612
9612
 
9613
9613
 
9614
- /***/ }),
9615
-
9616
- /***/ 4738:
9617
- /***/ ((module) => {
9618
-
9619
- module.exports = __WEBPACK_EXTERNAL_MODULE_$rdf__;
9620
-
9621
9614
  /***/ }),
9622
9615
 
9623
9616
  /***/ 4756:
@@ -9717,7 +9710,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
9717
9710
  };
9718
9711
  Object.defineProperty(exports, "__esModule", ({ value: true }));
9719
9712
  exports.createUtilityLogic = createUtilityLogic;
9720
- var rdflib_1 = __webpack_require__(4738);
9713
+ var rdflib_1 = __webpack_require__(4961);
9721
9714
  var CustomError_1 = __webpack_require__(1033);
9722
9715
  var debug = __importStar(__webpack_require__(8339));
9723
9716
  var utils_1 = __webpack_require__(9013);
@@ -9932,6 +9925,13 @@ function createUtilityLogic(store, aclLogic, containerLogic) {
9932
9925
 
9933
9926
  /***/ }),
9934
9927
 
9928
+ /***/ 4961:
9929
+ /***/ ((module) => {
9930
+
9931
+ module.exports = __WEBPACK_EXTERNAL_MODULE_rdflib__;
9932
+
9933
+ /***/ }),
9934
+
9935
9935
  /***/ 5130:
9936
9936
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9937
9937
 
@@ -10718,7 +10718,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
10718
10718
  };
10719
10719
  Object.defineProperty(exports, "__esModule", ({ value: true }));
10720
10720
  exports.createTypeIndexLogic = createTypeIndexLogic;
10721
- var rdflib_1 = __webpack_require__(4738);
10721
+ var rdflib_1 = __webpack_require__(4961);
10722
10722
  var debug = __importStar(__webpack_require__(8339));
10723
10723
  var ns_1 = __webpack_require__(733);
10724
10724
  var utils_1 = __webpack_require__(9013);
@@ -12627,7 +12627,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
12627
12627
  };
12628
12628
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12629
12629
  exports.createContainerLogic = createContainerLogic;
12630
- var rdflib_1 = __webpack_require__(4738);
12630
+ var rdflib_1 = __webpack_require__(4961);
12631
12631
  /**
12632
12632
  * Container-related class
12633
12633
  */
@@ -12732,7 +12732,7 @@ var __importStar = (this && this.__importStar) || (function () {
12732
12732
  })();
12733
12733
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12734
12734
  exports.createSolidLogic = createSolidLogic;
12735
- var rdf = __importStar(__webpack_require__(4738));
12735
+ var rdf = __importStar(__webpack_require__(4961));
12736
12736
  var aclLogic_1 = __webpack_require__(1888);
12737
12737
  var SolidAuthnLogic_1 = __webpack_require__(1085);
12738
12738
  var chatLogic_1 = __webpack_require__(9154);
@@ -13383,7 +13383,7 @@ exports.getArchiveUrl = getArchiveUrl;
13383
13383
  exports.differentOrigin = differentOrigin;
13384
13384
  exports.suggestPreferencesFile = suggestPreferencesFile;
13385
13385
  exports.determineChatContainer = determineChatContainer;
13386
- var rdflib_1 = __webpack_require__(4738);
13386
+ var rdflib_1 = __webpack_require__(4961);
13387
13387
  function newThing(doc) {
13388
13388
  return (0, rdflib_1.sym)(doc.uri + "#" + "id" + ("" + Date.now()));
13389
13389
  }
@@ -13547,7 +13547,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
13547
13547
  };
13548
13548
  Object.defineProperty(exports, "__esModule", ({ value: true }));
13549
13549
  exports.createChatLogic = createChatLogic;
13550
- var rdflib_1 = __webpack_require__(4738);
13550
+ var rdflib_1 = __webpack_require__(4961);
13551
13551
  var ns_1 = __webpack_require__(733);
13552
13552
  var utils_1 = __webpack_require__(9013);
13553
13553
  var CHAT_LOCATION_IN_CONTAINER = "index.ttl#this";
@@ -13812,7 +13812,7 @@ var __importStar = (this && this.__importStar) || (function () {
13812
13812
  Object.defineProperty(exports, "__esModule", ({ value: true }));
13813
13813
  exports.appContext = void 0;
13814
13814
  exports.offlineTestID = offlineTestID;
13815
- var rdflib_1 = __webpack_require__(4738);
13815
+ var rdflib_1 = __webpack_require__(4961);
13816
13816
  var debug = __importStar(__webpack_require__(8339));
13817
13817
  /**
13818
13818
  * find a user or app's context as set in window.SolidAppContext
@@ -14682,8 +14682,8 @@ __webpack_require__.d(tabs_namespaceObject, {
14682
14682
  var types_namespaceObject = {};
14683
14683
  __webpack_require__.r(types_namespaceObject);
14684
14684
 
14685
- // EXTERNAL MODULE: external "$rdf"
14686
- var external_$rdf_ = __webpack_require__(4738);
14685
+ // EXTERNAL MODULE: external "rdflib"
14686
+ var external_rdflib_ = __webpack_require__(4961);
14687
14687
  // EXTERNAL MODULE: ./node_modules/solid-namespace/index.js
14688
14688
  var solid_namespace = __webpack_require__(5386);
14689
14689
  var solid_namespace_default = /*#__PURE__*/__webpack_require__.n(solid_namespace);
@@ -14692,7 +14692,7 @@ var solid_namespace_default = /*#__PURE__*/__webpack_require__.n(solid_namespace
14692
14692
 
14693
14693
  // Delegate to this which takes RDFlib as param.
14694
14694
 
14695
- /* harmony default export */ const src_ns = (solid_namespace_default()(external_$rdf_));
14695
+ /* harmony default export */ const src_ns = (solid_namespace_default()(external_rdflib_));
14696
14696
  ;// ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
14697
14697
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
14698
14698
  try {
@@ -14928,7 +14928,7 @@ function setInternals(window, document) {
14928
14928
  var UI = {
14929
14929
  log: log_namespaceObject,
14930
14930
  ns: src_ns,
14931
- rdf: external_$rdf_
14931
+ rdf: external_rdflib_
14932
14932
  };
14933
14933
 
14934
14934
  // This ubiquitous function returns the best label for a thing
@@ -15044,16 +15044,16 @@ function adoptACLDefault(doc, aclDoc, defaultResource, defaultACLDoc) {
15044
15044
 
15045
15045
  var defaults = kb.each(undefined, ACL('default'), defaultResource, defaultACLDoc).concat(kb.each(undefined, ACL('defaultForNew'), defaultResource, defaultACLDoc));
15046
15046
  var proposed = defaults.reduce(function (accumulatedStatements, da) {
15047
- return accumulatedStatements.concat(kb.statementsMatching(da, src_ns.rdf('type'), ACL('Authorization'), defaultACLDoc)).concat(kb.statementsMatching(da, ACL('agent'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('agentClass'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('agentGroup'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('origin'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('originClass'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('mode'), undefined, defaultACLDoc)).concat((0,external_$rdf_.st)(da, ACL('accessTo'), doc, defaultACLDoc)).concat(isContainer ? (0,external_$rdf_.st)(da, ACL('default'), doc, defaultACLDoc) : []);
15047
+ return accumulatedStatements.concat(kb.statementsMatching(da, src_ns.rdf('type'), ACL('Authorization'), defaultACLDoc)).concat(kb.statementsMatching(da, ACL('agent'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('agentClass'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('agentGroup'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('origin'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('originClass'), undefined, defaultACLDoc)).concat(kb.statementsMatching(da, ACL('mode'), undefined, defaultACLDoc)).concat((0,external_rdflib_.st)(da, ACL('accessTo'), doc, defaultACLDoc)).concat(isContainer ? (0,external_rdflib_.st)(da, ACL('default'), doc, defaultACLDoc) : []);
15048
15048
  }, []);
15049
- var kb2 = (0,external_$rdf_.graph)(); // Potential - derived is kept apart
15049
+ var kb2 = (0,external_rdflib_.graph)(); // Potential - derived is kept apart
15050
15050
  proposed.forEach(function (st) {
15051
- return kb2.add(move(st.subject), move(st.predicate), move(st.object), (0,external_$rdf_.sym)(aclDoc.uri));
15051
+ return kb2.add(move(st.subject), move(st.predicate), move(st.object), (0,external_rdflib_.sym)(aclDoc.uri));
15052
15052
  });
15053
15053
  return kb2;
15054
15054
  function move(symbol) {
15055
15055
  var y = defaultACLDoc.uri.length; // The default ACL file
15056
- return (0,external_$rdf_.sym)(symbol.uri.slice(0, y) === defaultACLDoc.uri ? aclDoc.uri + symbol.uri.slice(y) : symbol.uri);
15056
+ return (0,external_rdflib_.sym)(symbol.uri.slice(0, y) === defaultACLDoc.uri ? aclDoc.uri + symbol.uri.slice(y) : symbol.uri);
15057
15057
  }
15058
15058
  }
15059
15059
 
@@ -15250,7 +15250,7 @@ function comboToString(byCombo) {
15250
15250
  var pairs = byCombo[combo];
15251
15251
  for (var i = 0; i < pairs.length; i++) {
15252
15252
  var pred = pairs[i][0];
15253
- var ag = (0,external_$rdf_.sym)(pairs[i][1]);
15253
+ var ag = (0,external_rdflib_.sym)(pairs[i][1]);
15254
15254
  str += pred === 'agent' ? '@' : '';
15255
15255
  str += ag.sameTerm(src_ns.foaf('Agent')) ? '*' : label_label(ag);
15256
15256
  if (i < pairs.length - 1) str += ',';
@@ -15264,9 +15264,9 @@ function comboToString(byCombo) {
15264
15264
  * Write ACL graph as Turtle
15265
15265
  */
15266
15266
  function makeACLString(x, ac, aclDoc) {
15267
- var kb2 = (0,external_$rdf_.graph)();
15267
+ var kb2 = (0,external_rdflib_.graph)();
15268
15268
  makeACLGraph(kb2, x, ac, aclDoc);
15269
- return (0,external_$rdf_.serialize)(aclDoc, kb2, aclDoc.uri, 'text/turtle') || '';
15269
+ return (0,external_rdflib_.serialize)(aclDoc, kb2, aclDoc.uri, 'text/turtle') || '';
15270
15270
  }
15271
15271
 
15272
15272
  /**
@@ -15282,7 +15282,7 @@ function putACLObject(kb, x, ac, aclDoc, callbackFunction) {
15282
15282
  */
15283
15283
  function putACLbyCombo(kb, x, byCombo, aclDoc, callbackFunction) {
15284
15284
  var _kb$updater;
15285
- var kb2 = (0,external_$rdf_.graph)();
15285
+ var kb2 = (0,external_rdflib_.graph)();
15286
15286
  makeACLGraphbyCombo(kb2, x, byCombo, aclDoc, true);
15287
15287
 
15288
15288
  // const str = makeACLString = function(x, ac, aclDoc)
@@ -15404,7 +15404,7 @@ function getACLorDefault(doc, callbackFunction) {
15404
15404
  return callbackFunction(false, true, 404, 'Found no ACL resource');
15405
15405
  }
15406
15406
  uri = uri.slice(0, right + 1);
15407
- var doc2 = (0,external_$rdf_.sym)(uri);
15407
+ var doc2 = (0,external_rdflib_.sym)(uri);
15408
15408
  getACL(doc2, function (ok, status, defaultACLDoc) {
15409
15409
  if (!ok) {
15410
15410
  return callbackFunction(false, true, status, "( No ACL pointer ".concat(uri, " ").concat(status, ")").concat(defaultACLDoc));
@@ -15490,7 +15490,7 @@ function _getProspectiveHolder() {
15490
15490
  while (1) switch (_context.prev = _context.next) {
15491
15491
  case 0:
15492
15492
  return _context.abrupt("return", new Promise(function (resolve, reject) {
15493
- return getACLorDefault((0,external_$rdf_.sym)(targetDirectory), function (ok, isDirectACL, targetDoc, targetACLDoc, defaultHolder) {
15493
+ return getACLorDefault((0,external_rdflib_.sym)(targetDirectory), function (ok, isDirectACL, targetDoc, targetACLDoc, defaultHolder) {
15494
15494
  if (ok) {
15495
15495
  return resolve(isDirectACL ? targetDoc : defaultHolder);
15496
15496
  }
@@ -16002,7 +16002,7 @@ var iconBase = __webpack_require__(3378);
16002
16002
  var utils_UI = {
16003
16003
  log: log_namespaceObject,
16004
16004
  ns: src_ns,
16005
- rdf: external_$rdf_
16005
+ rdf: external_rdflib_
16006
16006
  };
16007
16007
 
16008
16008
  var nextVariable = 0;
@@ -16962,7 +16962,7 @@ function setImage(element, thing) {
16962
16962
  var pref = k.split(':')[0];
16963
16963
  var id = k.split(':')[1];
16964
16964
  var theClass = src_ns[pref](id);
16965
- iconForClassMap[theClass.uri] = external_$rdf_.uri.join(iconForClass[k], buttons_iconBase);
16965
+ iconForClassMap[theClass.uri] = external_rdflib_.uri.join(iconForClass[k], buttons_iconBase);
16966
16966
  }
16967
16967
  var happy = trySetImage(element, thing, iconForClassMap);
16968
16968
  if (!happy && thing.uri) {
@@ -17364,7 +17364,7 @@ function attachmentList(dom, subject, div) {
17364
17364
  if (!kb.updater) {
17365
17365
  throw new Error('kb has no updater');
17366
17366
  }
17367
- kb.updater.update((0,external_$rdf_.st)(subject, predicate, target, doc), [], function (uri, ok, errorBody, _xhr) {
17367
+ kb.updater.update((0,external_rdflib_.st)(subject, predicate, target, doc), [], function (uri, ok, errorBody, _xhr) {
17368
17368
  if (ok) {
17369
17369
  refresh();
17370
17370
  } else {
@@ -17392,9 +17392,9 @@ function attachmentList(dom, subject, div) {
17392
17392
  function droppedURIHandler(uris) {
17393
17393
  var ins = [];
17394
17394
  uris.forEach(function (u) {
17395
- var target = (0,external_$rdf_.sym)(u); // Attachment needs text label to disinguish I think not icon.
17395
+ var target = (0,external_rdflib_.sym)(u); // Attachment needs text label to disinguish I think not icon.
17396
17396
  src_debug/* log */.Rm('Dropped on attachemnt ' + u); // icon was: iconBase + 'noun_25830.svg'
17397
- ins.push((0,external_$rdf_.st)(subject, predicate, target, doc));
17397
+ ins.push((0,external_rdflib_.st)(subject, predicate, target, doc));
17398
17398
  });
17399
17399
  if (!kb.updater) {
17400
17400
  throw new Error('kb has no updater');
@@ -17413,7 +17413,7 @@ function attachmentList(dom, subject, div) {
17413
17413
  (_options$uploadFolder2 = options.uploadFolder) === null || _options$uploadFolder2 === void 0 ? void 0 : _options$uploadFolder2.uri,
17414
17414
  // Pictures
17415
17415
  function (theFile, destURI) {
17416
- var ins = [(0,external_$rdf_.st)(subject, predicate, kb.sym(destURI), doc)];
17416
+ var ins = [(0,external_rdflib_.st)(subject, predicate, kb.sym(destURI), doc)];
17417
17417
  if (!kb.updater) {
17418
17418
  throw new Error('kb has no updater');
17419
17419
  }
@@ -17829,7 +17829,7 @@ function isImage(file, kind) {
17829
17829
  var typeURIs = lib/* store */.M_.findTypeURIs(file);
17830
17830
  // See https://github.com/linkeddata/rdflib.js/blob/d5000f/src/utils-js.js#L14
17831
17831
  // e.g.'http://www.w3.org/ns/iana/media-types/audio'
17832
- var prefix = external_$rdf_.Util.mediaTypeClass(what + '/*').uri.split('*')[0];
17832
+ var prefix = external_rdflib_.Util.mediaTypeClass(what + '/*').uri.split('*')[0];
17833
17833
  for (var t in typeURIs) {
17834
17834
  if (t.startsWith(prefix)) return true;
17835
17835
  }
@@ -18319,17 +18319,17 @@ function basicField(dom, container, already, subject, form, doc, callbackFunctio
18319
18319
  result = kb.sym(params.uriPrefix + field.value);
18320
18320
  } else {
18321
18321
  if (params.dt) {
18322
- result = new external_$rdf_.Literal(field.value.trim(), undefined, src_ns.xsd(params.dt));
18322
+ result = new external_rdflib_.Literal(field.value.trim(), undefined, src_ns.xsd(params.dt));
18323
18323
  } else {
18324
- result = new external_$rdf_.Literal(field.value);
18324
+ result = new external_rdflib_.Literal(field.value);
18325
18325
  }
18326
18326
  }
18327
18327
  var is = ds.map(function (statement) {
18328
- return (0,external_$rdf_.st)(statement.subject, statement.predicate, result, statement.why);
18328
+ return (0,external_rdflib_.st)(statement.subject, statement.predicate, result, statement.why);
18329
18329
  }); // can include >1 doc
18330
18330
  if (is.length === 0) {
18331
18331
  // or none
18332
- is = [(0,external_$rdf_.st)(subject, property, result, doc)];
18332
+ is = [(0,external_rdflib_.st)(subject, property, result, doc)];
18333
18333
  }
18334
18334
  function updateMany(ds, is, callback) {
18335
18335
  var docs = [];
@@ -18684,9 +18684,9 @@ function bindingToTerm(item) {
18684
18684
  return lib/* store */.M_.sym(item.value);
18685
18685
  } else if (typ === 'literal') {
18686
18686
  if (item['xml:lang']) {
18687
- return new external_$rdf_.Literal(item.value, item['xml:lang']);
18687
+ return new external_rdflib_.Literal(item.value, item['xml:lang']);
18688
18688
  } else {
18689
- return new external_$rdf_.Literal(item.value);
18689
+ return new external_rdflib_.Literal(item.value);
18690
18690
  }
18691
18691
  } else {
18692
18692
  throw new Error("bindingToTerm: Unexpected type \"".concat(item.type, "\" in sparql binding}"));
@@ -18716,7 +18716,7 @@ function loadFromBindings(kb, solidSubject, bindings, doc) {
18716
18716
  if (type === 'uri') {
18717
18717
  obj = kb.sym(value);
18718
18718
  } else if (type === 'literal') {
18719
- obj = new external_$rdf_.Literal(value, result.language, result.datatype);
18719
+ obj = new external_rdflib_.Literal(value, result.language, result.datatype);
18720
18720
  } else {
18721
18721
  throw new Error("loadFromBindings: unexpected type: ".concat(type));
18722
18722
  }
@@ -18734,8 +18734,8 @@ function loadFromBindings(kb, solidSubject, bindings, doc) {
18734
18734
  var match = regexp.exec(value);
18735
18735
  if (match) {
18736
18736
  var _float = src_ns.xsd('float');
18737
- var latitude = new external_$rdf_.Literal(match[1], null, _float);
18738
- var longitude = new external_$rdf_.Literal(match[2], null, _float);
18737
+ var latitude = new external_rdflib_.Literal(match[1], null, _float);
18738
+ var longitude = new external_rdflib_.Literal(match[2], null, _float);
18739
18739
  kb.add(solidSubject, src_ns.schema('longitude'), longitude, doc);
18740
18740
  kb.add(solidSubject, src_ns.schema('latitude'), latitude, doc);
18741
18741
  } else {
@@ -19031,7 +19031,7 @@ function _queryPublicDataConstruct() {
19031
19031
  }
19032
19032
  throw new Error('queryPublicDataConstruct: No text back from construct query:' + queryURI);
19033
19033
  case 3:
19034
- (0,external_$rdf_.parse)(text, lib/* store */.M_, pubicId.uri, 'text/turtle');
19034
+ (0,external_rdflib_.parse)(text, lib/* store */.M_, pubicId.uri, 'text/turtle');
19035
19035
  case 4:
19036
19036
  case "end":
19037
19037
  return _context4.stop();
@@ -19934,7 +19934,7 @@ function autocompleteField(dom, container, already, subject, form, doc, callback
19934
19934
  return _context.abrupt("return");
19935
19935
  case 2:
19936
19936
  deletables = oldValue ? kb.statementsMatching(subject, property, oldValue, doc).concat(kb.statementsMatching(oldValue, labelProperty, null, doc)) : []; // console.log('autocompleteField Deletables ' + deletables.map(st => st.toNT()))
19937
- insertables = [(0,external_$rdf_.st)(subject, property, result, doc), (0,external_$rdf_.st)(result, labelProperty, name, doc)]; // @@ track the language of the name too!
19937
+ insertables = [(0,external_rdflib_.st)(subject, property, result, doc), (0,external_rdflib_.st)(result, labelProperty, name, doc)]; // @@ track the language of the name too!
19938
19938
  // console.log(`AC form: ${deletables.length} to delete and ${insertables.length} to insert`)
19939
19939
  _context.prev = 3;
19940
19940
  _context.next = 4;
@@ -21010,7 +21010,7 @@ field[src_ns.ui('Options').uri] = function (dom, container, already, subject, fo
21010
21010
  var values;
21011
21011
  if (dependingOn.sameTerm(src_ns.rdf('type'))) {
21012
21012
  values = Object.keys(kb.findTypeURIs(subject)).map(function (uri) {
21013
- return external_$rdf_.sym(uri);
21013
+ return external_rdflib_.sym(uri);
21014
21014
  }); // Use RDF-S inference
21015
21015
  } else {
21016
21016
  values = kb.each(subject, dependingOn);
@@ -21107,7 +21107,7 @@ field[src_ns.ui('Multiple').uri] = function (dom, container, already, subject, f
21107
21107
  _context6.next = 7;
21108
21108
  break;
21109
21109
  case 2:
21110
- toBeInserted = reverse ? [external_$rdf_.st(object, property, subject, dataDoc)] : [external_$rdf_.st(subject, property, object, dataDoc)];
21110
+ toBeInserted = reverse ? [external_rdflib_.st(object, property, subject, dataDoc)] : [external_rdflib_.st(subject, property, object, dataDoc)];
21111
21111
  _context6.prev = 3;
21112
21112
  _context6.next = 4;
21113
21113
  return kb.updater.update([], toBeInserted);
@@ -21174,7 +21174,7 @@ field[src_ns.ui('Multiple').uri] = function (dom, container, already, subject, f
21174
21174
  case 5:
21175
21175
  // unordered
21176
21176
  if (kb.holds(subject, property, object, dataDoc)) {
21177
- del = [external_$rdf_.st(subject, property, object, dataDoc)];
21177
+ del = [external_rdflib_.st(subject, property, object, dataDoc)];
21178
21178
  kb.updater.update(del, [], function (uri, ok, message) {
21179
21179
  if (ok) {
21180
21180
  body.removeChild(subField);
@@ -21348,7 +21348,7 @@ field[src_ns.ui('Multiple').uri] = function (dom, container, already, subject, f
21348
21348
  var ui = src_ns.ui;
21349
21349
  if (container) container.appendChild(box);
21350
21350
  var orderedNode = kb.any(form, ui('ordered'));
21351
- var ordered = orderedNode ? external_$rdf_.Node.toJS(orderedNode) : false;
21351
+ var ordered = orderedNode ? external_rdflib_.Node.toJS(orderedNode) : false;
21352
21352
  var property = kb.any(form, ui('property'));
21353
21353
  var reverse = kb.anyJS(form, ui('reverse'), null, formDoc);
21354
21354
  if (!property) {
@@ -21412,7 +21412,7 @@ field[src_ns.ui('Multiple').uri] = function (dom, container, already, subject, f
21412
21412
  }
21413
21413
  function createListIfNecessary() {
21414
21414
  if (!list) {
21415
- list = new external_$rdf_.Collection();
21415
+ list = new external_rdflib_.Collection();
21416
21416
  if (reverse) {
21417
21417
  kb.add(list, property, subject, dataDoc);
21418
21418
  } else {
@@ -21587,8 +21587,8 @@ function booleanField(dom, container, already, subject, form, dataDoc, callbackF
21587
21587
  if (state === undefined) {
21588
21588
  state = false;
21589
21589
  } // @@ sure we want that -- or three-state?
21590
- var ins = external_$rdf_.st(subject, property, true, dataDoc);
21591
- var del = external_$rdf_.st(subject, property, false, dataDoc);
21590
+ var ins = external_rdflib_.st(subject, property, true, dataDoc);
21591
+ var del = external_rdflib_.st(subject, property, false, dataDoc);
21592
21592
  var box = buildCheckboxForm(dom, kb, lab, del, ins, form, dataDoc, tristate);
21593
21593
  if (container) container.appendChild(box);
21594
21594
  return box;
@@ -21752,10 +21752,10 @@ field[src_ns.ui('Choice').uri] = function (dom, container, already, subject, for
21752
21752
  if (stringValue.includes('Create new')) {
21753
21753
  var newObject = newThing(dataDoc);
21754
21754
  var is = [];
21755
- is.push(external_$rdf_.st(subject, property, kb.sym(newObject), dataDoc));
21756
- if (uiFrom) is.push(external_$rdf_.st(newObject, src_ns.rdf('type'), kb.sym(uiFrom), dataDoc));
21755
+ is.push(external_rdflib_.st(subject, property, kb.sym(newObject), dataDoc));
21756
+ if (uiFrom) is.push(external_rdflib_.st(newObject, src_ns.rdf('type'), kb.sym(uiFrom), dataDoc));
21757
21757
  if (subForm) {
21758
- addSubFormChoice(dom, rhs, {}, external_$rdf_.sym(newObject), subForm, dataDoc, function (ok, body) {
21758
+ addSubFormChoice(dom, rhs, {}, external_rdflib_.sym(newObject), subForm, dataDoc, function (ok, body) {
21759
21759
  if (ok) {
21760
21760
  kb.updater.update([], is, function (uri, success, errorBody) {
21761
21761
  if (!success) rhs.appendChild(errorMessageBlock(dom, 'Error updating select: ' + errorBody));
@@ -21985,10 +21985,10 @@ function promptForNew(dom, kb, subject, predicate, theClass, form, dataDoc, call
21985
21985
  if (!ok) return callbackFunction(ok, body);
21986
21986
  var insertMe = [];
21987
21987
  if (subject && !kb.holds(subject, predicate, object, dataDoc)) {
21988
- insertMe.push(external_$rdf_.st(subject, predicate, object, dataDoc));
21988
+ insertMe.push(external_rdflib_.st(subject, predicate, object, dataDoc));
21989
21989
  }
21990
21990
  if (subject && !kb.holds(object, src_ns.rdf('type'), theClass, dataDoc)) {
21991
- insertMe.push(external_$rdf_.st(object, src_ns.rdf('type'), theClass, dataDoc));
21991
+ insertMe.push(external_rdflib_.st(object, src_ns.rdf('type'), theClass, dataDoc));
21992
21992
  }
21993
21993
  if (insertMe.length) {
21994
21994
  kb.updater.update([], insertMe, linkDone);
@@ -22037,7 +22037,7 @@ function makeDescription(dom, kb, subject, predicate, dataDoc, callbackFunction)
22037
22037
  field.disabled = true;
22038
22038
  field.style.color = styleConstants.textInputColorPending;
22039
22039
  var ds = kb.statementsMatching(subject, predicate, null, dataDoc);
22040
- var is = external_$rdf_.st(subject, predicate, field.value, dataDoc);
22040
+ var is = external_rdflib_.st(subject, predicate, field.value, dataDoc);
22041
22041
  kb.updater.update(ds, is, function (uri, ok, body) {
22042
22042
  if (ok) {
22043
22043
  field.style.color = styleConstants.textInputColor;
@@ -22122,7 +22122,7 @@ function makeSelectForClassifierOptions(dom, kb, subject, predicate, possible, o
22122
22122
  var is = [];
22123
22123
  var removeValue = function removeValue(t) {
22124
22124
  if (kb.holds(subject, predicate, t, dataDoc)) {
22125
- ds.push(external_$rdf_.st(subject, predicate, t, dataDoc));
22125
+ ds.push(external_rdflib_.st(subject, predicate, t, dataDoc));
22126
22126
  }
22127
22127
  };
22128
22128
  var newObject;
@@ -22142,7 +22142,7 @@ function makeSelectForClassifierOptions(dom, kb, subject, predicate, possible, o
22142
22142
  } else {
22143
22143
  newObject = newThing(dataDoc);
22144
22144
  }
22145
- is.push(external_$rdf_.st(subject, predicate, newObject, dataDoc));
22145
+ is.push(external_rdflib_.st(subject, predicate, newObject, dataDoc));
22146
22146
  if (options.mintStatementsFun) {
22147
22147
  is = is.concat(options.mintStatementsFun(newObject));
22148
22148
  }
@@ -22150,7 +22150,7 @@ function makeSelectForClassifierOptions(dom, kb, subject, predicate, possible, o
22150
22150
  if (!opt.AJAR_uri) continue; // a prompt or mint
22151
22151
  if (opt.selected && !(opt.AJAR_uri in actual)) {
22152
22152
  // new class
22153
- is.push(external_$rdf_.st(subject, predicate, kb.sym(opt.AJAR_uri), dataDoc));
22153
+ is.push(external_rdflib_.st(subject, predicate, kb.sym(opt.AJAR_uri), dataDoc));
22154
22154
  }
22155
22155
  if (!opt.selected && opt.AJAR_uri in actual) {
22156
22156
  // old class
@@ -22292,7 +22292,7 @@ function makeSelectForOptions(dom, kb, subject, predicate, possible, options, da
22292
22292
  var is = [];
22293
22293
  var removeValue = function removeValue(t) {
22294
22294
  if (kb.holds(subject, predicate, t, dataDoc)) {
22295
- ds.push(external_$rdf_.st(subject, predicate, t, dataDoc));
22295
+ ds.push(external_rdflib_.st(subject, predicate, t, dataDoc));
22296
22296
  }
22297
22297
  };
22298
22298
  for (var _i3 = 0; _i3 < select.options.length; _i3++) {
@@ -22300,7 +22300,7 @@ function makeSelectForOptions(dom, kb, subject, predicate, possible, options, da
22300
22300
  if (!opt.AJAR_uri) continue; // a prompt or mint
22301
22301
  if (opt.selected && !(opt.AJAR_uri in actual)) {
22302
22302
  // new class
22303
- is.push(external_$rdf_.st(subject, predicate, kb.sym(opt.AJAR_uri), dataDoc));
22303
+ is.push(external_rdflib_.st(subject, predicate, kb.sym(opt.AJAR_uri), dataDoc));
22304
22304
  }
22305
22305
  if (!opt.selected && opt.AJAR_uri in actual) {
22306
22306
  // old class
@@ -22562,7 +22562,7 @@ export function fieldStore (subject, predicate, def) {
22562
22562
  */
22563
22563
  function newThing(doc) {
22564
22564
  var now = new Date();
22565
- return external_$rdf_.sym(doc.uri + '#' + 'id' + ('' + now.getTime()));
22565
+ return external_rdflib_.sym(doc.uri + '#' + 'id' + ('' + now.getTime()));
22566
22566
  }
22567
22567
 
22568
22568
  /** Make SELECT element to select options
@@ -22632,16 +22632,16 @@ function makeSelectForChoice(dom, container, kb, subject, predicate, inputPossib
22632
22632
  var is = [];
22633
22633
  var removeValue = function removeValue(t) {
22634
22634
  if (kb.holds(subject, predicate, t, dataDoc)) {
22635
- ds.push(external_$rdf_.st(subject, predicate, t, dataDoc));
22635
+ ds.push(external_rdflib_.st(subject, predicate, t, dataDoc));
22636
22636
  }
22637
22637
  };
22638
22638
  var addValue = function addValue(t) {
22639
22639
  if (!kb.holds(subject, predicate, t, dataDoc)) {
22640
- is.push(external_$rdf_.st(subject, predicate, t, dataDoc));
22640
+ is.push(external_rdflib_.st(subject, predicate, t, dataDoc));
22641
22641
  // console.log("----value added " + t)
22642
22642
  }
22643
22643
  if (uiFrom && !kb.holds(t, src_ns.rdf('type'), kb.sym(uiFrom), dataDoc)) {
22644
- is.push(external_$rdf_.st(t, src_ns.rdf('type'), kb.sym(uiFrom), dataDoc));
22644
+ is.push(external_rdflib_.st(t, src_ns.rdf('type'), kb.sym(uiFrom), dataDoc));
22645
22645
  // console.log("----added type to value " + uiFrom)
22646
22646
  }
22647
22647
  };
@@ -22653,7 +22653,7 @@ function makeSelectForChoice(dom, container, kb, subject, predicate, inputPossib
22653
22653
  try {
22654
22654
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
22655
22655
  var value = _step2.value;
22656
- if (!containsObject(value, selectedOptions)) removeValue(external_$rdf_.sym(value));
22656
+ if (!containsObject(value, selectedOptions)) removeValue(external_rdflib_.sym(value));
22657
22657
  }
22658
22658
  } catch (err) {
22659
22659
  _iterator2.e(err);
@@ -22665,7 +22665,7 @@ function makeSelectForChoice(dom, container, kb, subject, predicate, inputPossib
22665
22665
  try {
22666
22666
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
22667
22667
  var _value = _step3.value;
22668
- if (!(_value in existingValues)) addValue(external_$rdf_.sym(_value));
22668
+ if (!(_value in existingValues)) addValue(external_rdflib_.sym(_value));
22669
22669
  }
22670
22670
  } catch (err) {
22671
22671
  _iterator3.e(err);
@@ -22702,8 +22702,8 @@ function makeSelectForChoice(dom, container, kb, subject, predicate, inputPossib
22702
22702
  } else {
22703
22703
  newObject = newThing(dataDoc);
22704
22704
  }
22705
- is.push(external_$rdf_.st(subject, predicate, kb.sym(newObject), dataDoc));
22706
- if (uiFrom) is.push(external_$rdf_.st(newObject, src_ns.rdf('type'), kb.sym(uiFrom), dataDoc));
22705
+ is.push(external_rdflib_.st(subject, predicate, kb.sym(newObject), dataDoc));
22706
+ if (uiFrom) is.push(external_rdflib_.st(newObject, src_ns.rdf('type'), kb.sym(uiFrom), dataDoc));
22707
22707
 
22708
22708
  // not sure if this 'if' is used because I cannot find mintStatementsFun
22709
22709
  if (options.mintStatementsFun) {
@@ -22720,7 +22720,7 @@ function makeSelectForChoice(dom, container, kb, subject, predicate, inputPossib
22720
22720
  }
22721
22721
  info('selectForOptions: data doc = ' + dataDoc);
22722
22722
  if (select.currentURI && options.subForm && !options.multiSelect) {
22723
- addSubFormChoice(dom, container, {}, external_$rdf_.sym(select.currentURI), options.subForm, dataDoc, function (ok, body) {
22723
+ addSubFormChoice(dom, container, {}, external_rdflib_.sym(select.currentURI), options.subForm, dataDoc, function (ok, body) {
22724
22724
  if (ok) {
22725
22725
  kb.updater.update([], is, function (uri, success, errorBody) {
22726
22726
  if (!success) container.appendChild(errorMessageBlock(dom, 'Error updating select: ' + errorBody));
@@ -23148,7 +23148,7 @@ function _registrationControl() {
23148
23148
  registrationStatements = function _registrationStatemen(index) {
23149
23149
  var registrations = getRegistrations(instance, theClass);
23150
23150
  var reg = registrations.length ? registrations[0] : newThing(index);
23151
- return [(0,external_$rdf_.st)(reg, src_ns.solid('instance'), instance, index), (0,external_$rdf_.st)(reg, src_ns.solid('forClass'), theClass, index)];
23151
+ return [(0,external_rdflib_.st)(reg, src_ns.solid('instance'), instance, index), (0,external_rdflib_.st)(reg, src_ns.solid('forClass'), theClass, index)];
23152
23152
  };
23153
23153
  /// / body of registrationControl
23154
23154
  dom = context.dom;
@@ -23192,7 +23192,7 @@ function _registrationControl() {
23192
23192
  box.innerHTML = '<table><tbody></tbody></table>'; // tbody will be inserted anyway
23193
23193
  box.setAttribute('style', 'font-size: 120%; text-align: right; padding: 1em; border: solid gray 0.05em;');
23194
23194
  tbody = box.children[0].children[0];
23195
- form = new external_$rdf_.BlankNode(); // @@ say for now
23195
+ form = new external_rdflib_.BlankNode(); // @@ say for now
23196
23196
  _iterator = login_createForOfIteratorHelper(scopes);
23197
23197
  try {
23198
23198
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -23770,7 +23770,7 @@ function selectWorkspace(dom, appDetails, callbackWS) {
23770
23770
  case 1:
23771
23771
  newBase = _t3(_context3.sent);
23772
23772
  newWs = newThing(context.preferencesFile);
23773
- newData = [(0,external_$rdf_.st)(context.me, src_ns.space('workspace'), newWs, context.preferencesFile), (0,external_$rdf_.st)(newWs, src_ns.space('uriPrefix'), newBase, context.preferencesFile)];
23773
+ newData = [(0,external_rdflib_.st)(context.me, src_ns.space('workspace'), newWs, context.preferencesFile), (0,external_rdflib_.st)(newWs, src_ns.space('uriPrefix'), newBase, context.preferencesFile)];
23774
23774
  if (lib/* solidLogicSingleton */.hV.store.updater) {
23775
23775
  _context3.next = 2;
23776
23776
  break;
@@ -24700,7 +24700,7 @@ var AccessGroups = /*#__PURE__*/function () {
24700
24700
  key: "renderAgent",
24701
24701
  value: function renderAgent(groupAgentsTable, combo, pred, obj) {
24702
24702
  var _this4 = this;
24703
- var personRow = personTR(this.controller.dom, ACL(pred), (0,external_$rdf_.sym)(obj), this.controller.isEditable ? {
24703
+ var personRow = personTR(this.controller.dom, ACL(pred), (0,external_rdflib_.sym)(obj), this.controller.isEditable ? {
24704
24704
  deleteFunction: function deleteFunction() {
24705
24705
  return _this4.deleteAgent(combo, pred, obj).then(function () {
24706
24706
  return groupAgentsTable.removeChild(personRow);
@@ -24817,7 +24817,7 @@ var AccessGroups = /*#__PURE__*/function () {
24817
24817
  case 0:
24818
24818
  secondAttempt = _args4.length > 2 && _args4[2] !== undefined ? _args4[2] : false;
24819
24819
  agent = findAgent(uri, this.store); // eg 'agent', 'origin', agentClass'
24820
- thing = (0,external_$rdf_.sym)(uri);
24820
+ thing = (0,external_rdflib_.sym)(uri);
24821
24821
  if (!(!agent && !secondAttempt)) {
24822
24822
  _context4.next = 5;
24823
24823
  break;
@@ -24906,7 +24906,7 @@ function ktToList(k) {
24906
24906
  return list;
24907
24907
  }
24908
24908
  function findAgent(uri, kb) {
24909
- var obj = (0,external_$rdf_.sym)(uri);
24909
+ var obj = (0,external_rdflib_.sym)(uri);
24910
24910
  var types = kb.findTypeURIs(obj);
24911
24911
  for (var ty in types) {
24912
24912
  src_debug/* log */.Rm(' drop object type includes: ' + ty);
@@ -24925,7 +24925,7 @@ function findAgent(uri, kb) {
24925
24925
  src_debug/* log */.Rm('Assuming final slash on dragged origin URI was unintended!');
24926
24926
  return {
24927
24927
  pred: 'origin',
24928
- obj: (0,external_$rdf_.sym)(uri.slice(0, -1))
24928
+ obj: (0,external_rdflib_.sym)(uri.slice(0, -1))
24929
24929
  }; // Fix a URI where the drag and drop system has added a spurious slash
24930
24930
  }
24931
24931
  if (src_ns.vcard('WebID').uri in types) return {
@@ -24950,7 +24950,7 @@ function findAgent(uri, kb) {
24950
24950
  var pref = kb.any(obj, src_ns.foaf('preferredURI'));
24951
24951
  if (pref) return {
24952
24952
  pred: 'agent',
24953
- obj: (0,external_$rdf_.sym)(pref)
24953
+ obj: (0,external_rdflib_.sym)(pref)
24954
24954
  };
24955
24955
  return {
24956
24956
  pred: 'agent',
@@ -25310,7 +25310,7 @@ var AccessController = /*#__PURE__*/function () {
25310
25310
  value: function save() {
25311
25311
  var _this7 = this;
25312
25312
  // build graph
25313
- var newAClGraph = (0,external_$rdf_.graph)();
25313
+ var newAClGraph = (0,external_rdflib_.graph)();
25314
25314
  if (!this.isContainer) {
25315
25315
  makeACLGraphbyCombo(newAClGraph, this.targetDoc, this.mainCombo.byCombo, this.targetACLDoc, true);
25316
25316
  } else if (this.defaultsCombo && this.defaultsDiffer) {
@@ -25323,10 +25323,10 @@ var AccessController = /*#__PURE__*/function () {
25323
25323
  }
25324
25324
 
25325
25325
  // add authenticated fetcher
25326
- newAClGraph.fetcher = (0,external_$rdf_.fetcher)(newAClGraph, {
25326
+ newAClGraph.fetcher = (0,external_rdflib_.fetcher)(newAClGraph, {
25327
25327
  fetch: this.store.fetcher._fetch
25328
25328
  });
25329
- var updater = newAClGraph.updater || new external_$rdf_.UpdateManager(newAClGraph);
25329
+ var updater = newAClGraph.updater || new external_rdflib_.UpdateManager(newAClGraph);
25330
25330
 
25331
25331
  // save ACL resource
25332
25332
  return new Promise(function (resolve, reject) {
@@ -25910,7 +25910,7 @@ function matrixForQuery(dom, query, vx, vy, vvalue, options, whenDone) {
25910
25910
  });
25911
25911
  }
25912
25912
  for (var i = 0; i < columns.length; i++) {
25913
- setCell(tr.appendChild(dom.createElement('td')), external_$rdf_.fromNT(columns[i]), y1, null);
25913
+ setCell(tr.appendChild(dom.createElement('td')), external_rdflib_.fromNT(columns[i]), y1, null);
25914
25914
  }
25915
25915
  tr.dataValueNT = y;
25916
25916
  rows[y] = tr;
@@ -25950,7 +25950,7 @@ function matrixForQuery(dom, query, vx, vy, vvalue, options, whenDone) {
25950
25950
  if (row === matrix.firstChild) {
25951
25951
  td.textContent = label_label(x1);
25952
25952
  } else {
25953
- setCell(td, x1, external_$rdf_.fromNT(y), null);
25953
+ setCell(td, x1, external_rdflib_.fromNT(y), null);
25954
25954
  }
25955
25955
  if (col === columns.length - 1) {
25956
25956
  row.appendChild(td);
@@ -25993,8 +25993,8 @@ function matrixForQuery(dom, query, vx, vy, vvalue, options, whenDone) {
25993
25993
  for (var j = 1; j < row.children.length; j++) {
25994
25994
  cell = row.children[j];
25995
25995
  if (cell.old) {
25996
- var y = external_$rdf_.fromNT(row.dataValueNT);
25997
- var x = external_$rdf_.fromNT(columns[j - 1]);
25996
+ var y = external_rdflib_.fromNT(row.dataValueNT);
25997
+ var x = external_rdflib_.fromNT(columns[j - 1]);
25998
25998
  setCell(cell, x, y, null);
25999
25999
  } else {
26000
26000
  rowsUsed[row.dataValueNT] = true;
@@ -26383,16 +26383,16 @@ var PeoplePicker = /*#__PURE__*/function () {
26383
26383
  var _indexes = indexes(book),
26384
26384
  groupIndex = _indexes.groupIndex,
26385
26385
  groupContainer = _indexes.groupContainer;
26386
- var group = external_$rdf_.sym("".concat(groupContainer.uri).concat((0,src_v4/* default */.A)().slice(0, 8), ".ttl#this"));
26386
+ var group = external_rdflib_.sym("".concat(groupContainer.uri).concat((0,src_v4/* default */.A)().slice(0, 8), ".ttl#this"));
26387
26387
  var name = defaultNewGroupName || 'Untitled Group';
26388
26388
 
26389
26389
  // NOTE that order matters here. Unfortunately this type of update is
26390
26390
  // non-atomic in that solid requires us to send two PATCHes, either of which
26391
26391
  // might fail.
26392
26392
  var patchPromises = [group.doc(), groupIndex].map(function (doc) {
26393
- var typeStatement = external_$rdf_.st(group, src_ns.rdf('type'), src_ns.vcard('Group'), doc);
26394
- var nameStatement = external_$rdf_.st(group, src_ns.vcard('fn'), name, group.doc(), doc);
26395
- var includesGroupStatement = external_$rdf_.st(book, src_ns.vcard('includesGroup'), group, doc);
26393
+ var typeStatement = external_rdflib_.st(group, src_ns.rdf('type'), src_ns.vcard('Group'), doc);
26394
+ var nameStatement = external_rdflib_.st(group, src_ns.vcard('fn'), name, group.doc(), doc);
26395
+ var includesGroupStatement = external_rdflib_.st(book, src_ns.vcard('includesGroup'), group, doc);
26396
26396
  var toIns = doc.equals(groupIndex) ? [typeStatement, nameStatement, includesGroupStatement] : [typeStatement, nameStatement];
26397
26397
  return patch(doc.uri, {
26398
26398
  toIns: toIns
@@ -26576,7 +26576,7 @@ var GroupBuilder = /*#__PURE__*/function () {
26576
26576
  }
26577
26577
  // make sure it's a valid person, group, or entity (for now just handle
26578
26578
  // webId)
26579
- var webIdNode = external_$rdf_.namedNode(webId);
26579
+ var webIdNode = external_rdflib_.namedNode(webId);
26580
26580
  var rdfClass = peoplePicker_kb.any(webIdNode, src_ns.rdf('type'));
26581
26581
  if (!rdfClass || !rdfClass.equals(src_ns.foaf('Person'))) {
26582
26582
  return reject(new Error("Only people supported right now. (tried to add something of type ".concat(rdfClass.value, ")")));
@@ -26584,7 +26584,7 @@ var GroupBuilder = /*#__PURE__*/function () {
26584
26584
  return resolve(webIdNode);
26585
26585
  });
26586
26586
  }).then(function (webIdNode) {
26587
- var statement = external_$rdf_.st(_this6.group, src_ns.vcard('hasMember'), webIdNode);
26587
+ var statement = external_rdflib_.st(_this6.group, src_ns.vcard('hasMember'), webIdNode);
26588
26588
  if (peoplePicker_kb.holdsStatement(statement)) {
26589
26589
  return webIdNode;
26590
26590
  }
@@ -26603,7 +26603,7 @@ var GroupBuilder = /*#__PURE__*/function () {
26603
26603
  value: function handleRemove(webIdNode) {
26604
26604
  var _this7 = this;
26605
26605
  return function (_event) {
26606
- var statement = external_$rdf_.st(_this7.group, src_ns.vcard('hasMember'), webIdNode);
26606
+ var statement = external_rdflib_.st(_this7.group, src_ns.vcard('hasMember'), webIdNode);
26607
26607
  return patch(_this7.group.doc().uri, {
26608
26608
  toDel: [statement]
26609
26609
  }).then(function () {
@@ -26626,7 +26626,7 @@ var GroupBuilder = /*#__PURE__*/function () {
26626
26626
  groupIndex = _indexes3.groupIndex;
26627
26627
  var updatePromises = [this.group.doc(), groupIndex].map(function (namedGraph) {
26628
26628
  var oldNameStatements = peoplePicker_kb.match(_this8.group, src_ns.vcard('fn'), null, namedGraph);
26629
- var newNameStatement = external_$rdf_.st(_this8.group, src_ns.vcard('fn'), external_$rdf_.literal(name));
26629
+ var newNameStatement = external_rdflib_.st(_this8.group, src_ns.vcard('fn'), external_rdflib_.literal(name));
26630
26630
  return patch(namedGraph.value, {
26631
26631
  toDel: oldNameStatements,
26632
26632
  toIns: [newNameStatement]
@@ -26786,7 +26786,7 @@ console.log('widgets exported:', widgets)
26786
26786
  var messageArea_UI = {
26787
26787
  icons: iconBase/* icons */.Pt,
26788
26788
  ns: src_ns,
26789
- rdf: external_$rdf_,
26789
+ rdf: external_rdflib_,
26790
26790
  style: style,
26791
26791
  widgets: widgets_namespaceObject
26792
26792
  };
@@ -26794,8 +26794,8 @@ function messageArea(dom, kb, subject, messageStore, options) {
26794
26794
  kb = kb || lib/* solidLogicSingleton */.hV.store;
26795
26795
  messageStore = messageStore.doc(); // No hash
26796
26796
  var ns = messageArea_UI.ns;
26797
- var WF = external_$rdf_.Namespace('http://www.w3.org/2005/01/wf/flow#');
26798
- var DCT = external_$rdf_.Namespace('http://purl.org/dc/terms/');
26797
+ var WF = external_rdflib_.Namespace('http://www.w3.org/2005/01/wf/flow#');
26798
+ var DCT = external_rdflib_.Namespace('http://purl.org/dc/terms/');
26799
26799
  options = options || {};
26800
26800
  var newestFirst = !!options.newestFirst;
26801
26801
  var messageBodyStyle = 'white-space: pre-wrap; width: 90%; font-size:100%; border: 0.07em solid #eee; padding: .2em 0.5em; margin: 0.1em 1em 0.1em 1em;';
@@ -26857,14 +26857,14 @@ function messageArea(dom, kb, subject, messageStore, options) {
26857
26857
  var sts = [];
26858
26858
  var now = new Date();
26859
26859
  var timestamp = '' + now.getTime();
26860
- var dateStamp = external_$rdf_.term(now);
26860
+ var dateStamp = external_rdflib_.term(now);
26861
26861
  // http://www.w3schools.com/jsref/jsref_obj_date.asp
26862
26862
  var message = kb.sym(messageStore.uri + '#' + 'Msg' + timestamp);
26863
- sts.push(new external_$rdf_.Statement(subject, ns.wf('message'), message, messageStore));
26864
- sts.push(new external_$rdf_.Statement(message, ns.sioc('content'), kb.literal(field.value), messageStore));
26865
- sts.push(new external_$rdf_.Statement(message, DCT('created'), dateStamp, messageStore));
26863
+ sts.push(new external_rdflib_.Statement(subject, ns.wf('message'), message, messageStore));
26864
+ sts.push(new external_rdflib_.Statement(message, ns.sioc('content'), kb.literal(field.value), messageStore));
26865
+ sts.push(new external_rdflib_.Statement(message, DCT('created'), dateStamp, messageStore));
26866
26866
  if (me) {
26867
- sts.push(new external_$rdf_.Statement(message, ns.foaf('maker'), me, messageStore));
26867
+ sts.push(new external_rdflib_.Statement(message, ns.foaf('maker'), me, messageStore));
26868
26868
  }
26869
26869
  var sendComplete = function sendComplete(uri, success, body) {
26870
26870
  if (!success) {
@@ -27059,11 +27059,11 @@ function messageArea(dom, kb, subject, messageStore, options) {
27059
27059
  if (options.query) {
27060
27060
  query = options.query;
27061
27061
  } else {
27062
- query = new external_$rdf_.Query('Messages');
27062
+ query = new external_rdflib_.Query('Messages');
27063
27063
  var v = {}; // semicolon needed
27064
27064
  var vs = ['msg', 'date', 'creator', 'content'];
27065
27065
  vs.forEach(function (x) {
27066
- query.vars.push(v[x] = external_$rdf_.variable(x));
27066
+ query.vars.push(v[x] = external_rdflib_.variable(x));
27067
27067
  });
27068
27068
  query.pat.add(subject, WF('message'), v.msg);
27069
27069
  query.pat.add(v.msg, ns.dct('created'), v.date);
@@ -27348,8 +27348,8 @@ var DateFolder = /*#__PURE__*/function () {
27348
27348
  return _earliestSubfolder.apply(this, arguments);
27349
27349
  };
27350
27350
  // backwards -> last leafObject
27351
- folderStore = external_$rdf_.graph();
27352
- folderFetcher = new external_$rdf_.Fetcher(folderStore);
27351
+ folderStore = external_rdflib_.graph();
27352
+ folderFetcher = new external_rdflib_.Fetcher(folderStore);
27353
27353
  _context4.next = 1;
27354
27354
  return earliestSubfolder(this.root.dir());
27355
27355
  case 1:
@@ -27362,7 +27362,7 @@ var DateFolder = /*#__PURE__*/function () {
27362
27362
  return earliestSubfolder(month);
27363
27363
  case 3:
27364
27364
  d = _context4.sent;
27365
- leafDocument = external_$rdf_.sym(d.uri + 'chat.ttl');
27365
+ leafDocument = external_rdflib_.sym(d.uri + 'chat.ttl');
27366
27366
  _context4.next = 4;
27367
27367
  return folderFetcher.load(leafDocument);
27368
27368
  case 4:
@@ -31855,7 +31855,7 @@ function _getPrivateKey() {
31855
31855
  }
31856
31856
  // add = []
31857
31857
  privateKey = generatePrivateKey();
31858
- add = [external_$rdf_.st(webId, src_ns.solid('privateKey'), external_$rdf_.literal(privateKey), lib/* store */.M_.sym(privateKeyDoc))];
31858
+ add = [external_rdflib_.st(webId, src_ns.solid('privateKey'), external_rdflib_.literal(privateKey), lib/* store */.M_.sym(privateKeyDoc))];
31859
31859
  _context3.next = 6;
31860
31860
  return saveKey(privateKeyDoc, [], add, webId.uri);
31861
31861
  case 6:
@@ -31866,12 +31866,12 @@ function _getPrivateKey() {
31866
31866
  del = [];
31867
31867
  // delete invalid public key
31868
31868
  if (publicKey) {
31869
- del = [external_$rdf_.st(webId, src_ns.solid('publicKey'), external_$rdf_.lit(publicKey), lib/* store */.M_.sym(publicKeyDoc))];
31869
+ del = [external_rdflib_.st(webId, src_ns.solid('publicKey'), external_rdflib_.lit(publicKey), lib/* store */.M_.sym(publicKeyDoc))];
31870
31870
  src_debug/* log */.Rm('delete invalid publicKey ' + del);
31871
31871
  }
31872
31872
  // update new valid key
31873
31873
  newPublicKey = generatePublicKey(privateKey);
31874
- add = [external_$rdf_.st(webId, src_ns.solid('publicKey'), external_$rdf_.literal(newPublicKey), lib/* store */.M_.sym(publicKeyDoc))];
31874
+ add = [external_rdflib_.st(webId, src_ns.solid('publicKey'), external_rdflib_.literal(newPublicKey), lib/* store */.M_.sym(publicKeyDoc))];
31875
31875
  _context3.next = 7;
31876
31876
  return saveKey(publicKeyDoc, del, add);
31877
31877
  case 7:
@@ -32067,7 +32067,7 @@ var ChatChannel = /*#__PURE__*/function () {
32067
32067
  sts = [];
32068
32068
  now = new Date();
32069
32069
  timestamp = '' + now.getTime();
32070
- dateStamp = external_$rdf_.term(now);
32070
+ dateStamp = external_rdflib_.term(now);
32071
32071
  chatDocument = oldMsg ? oldMsg.doc() : this.dateFolder.leafDocumentFromDate(now);
32072
32072
  message = lib/* store */.M_.sym(chatDocument.uri + '#' + 'Msg' + timestamp); // const content = store.literal(text)
32073
32073
  me = lib/* authn */.jO.currentUser(); // If already logged on
@@ -32087,15 +32087,15 @@ var ChatChannel = /*#__PURE__*/function () {
32087
32087
  return mostRecentVersion(oldMsg);
32088
32088
  case 1:
32089
32089
  oldMsgMostRecentVersion = _context2.sent;
32090
- sts.push(external_$rdf_.st(oldMsgMostRecentVersion, src_ns.dct('isReplacedBy'), message, chatDocument));
32090
+ sts.push(external_rdflib_.st(oldMsgMostRecentVersion, src_ns.dct('isReplacedBy'), message, chatDocument));
32091
32091
  // if oldMsg has_reply => add has_reply to message
32092
32092
  oldMsgThread = lib/* store */.M_.any(oldMsgMostRecentVersion, src_ns.sioc('has_reply'));
32093
32093
  if (oldMsgThread) {
32094
- sts.push(external_$rdf_.st(message, src_ns.sioc('has_reply'), oldMsgThread, chatDocument));
32094
+ sts.push(external_rdflib_.st(message, src_ns.sioc('has_reply'), oldMsgThread, chatDocument));
32095
32095
  }
32096
32096
  if (deleteIt) {
32097
32097
  // we need to add a specific signature, else anyone can delete a msg ?
32098
- sts.push(external_$rdf_.st(message, src_ns.schema('dateDeleted'), dateStamp, chatDocument));
32098
+ sts.push(external_rdflib_.st(message, src_ns.schema('dateDeleted'), dateStamp, chatDocument));
32099
32099
  }
32100
32100
  _context2.next = 3;
32101
32101
  break;
@@ -32109,17 +32109,17 @@ var ChatChannel = /*#__PURE__*/function () {
32109
32109
  break;
32110
32110
  case 4:
32111
32111
  // link new message to channel
32112
- sts.push(external_$rdf_.st(this.channel, src_ns.wf('message'), message, chatDocument));
32112
+ sts.push(external_rdflib_.st(this.channel, src_ns.wf('message'), message, chatDocument));
32113
32113
  case 5:
32114
- sts.push(external_$rdf_.st(message, src_ns.sioc('content'), lib/* store */.M_.literal(text), chatDocument));
32114
+ sts.push(external_rdflib_.st(message, src_ns.sioc('content'), lib/* store */.M_.literal(text), chatDocument));
32115
32115
  msg.content = text;
32116
- sts.push(external_$rdf_.st(message, src_ns.dct('created'), dateStamp, chatDocument));
32116
+ sts.push(external_rdflib_.st(message, src_ns.dct('created'), dateStamp, chatDocument));
32117
32117
  msg.created = dateStamp.value;
32118
32118
  if (!me) {
32119
32119
  _context2.next = 7;
32120
32120
  break;
32121
32121
  }
32122
- sts.push(external_$rdf_.st(message, src_ns.foaf('maker'), me, chatDocument));
32122
+ sts.push(external_rdflib_.st(message, src_ns.foaf('maker'), me, chatDocument));
32123
32123
  msg.maker = me.uri;
32124
32124
  // privateKey the cached private key of me, cached in store
32125
32125
  _context2.next = 6;
@@ -32128,12 +32128,12 @@ var ChatChannel = /*#__PURE__*/function () {
32128
32128
  privateKey = _context2.sent;
32129
32129
  // me.uri)
32130
32130
  sig = signMsg(msg, privateKey);
32131
- sts.push(external_$rdf_.st(message, external_$rdf_.sym("".concat(SEC, "proofValue")), external_$rdf_.lit(sig), chatDocument));
32131
+ sts.push(external_rdflib_.st(message, external_rdflib_.sym("".concat(SEC, "proofValue")), external_rdflib_.lit(sig), chatDocument));
32132
32132
  case 7:
32133
32133
  if (thread) {
32134
- sts.push(external_$rdf_.st(thread, src_ns.sioc('has_member'), message, chatDocument));
32134
+ sts.push(external_rdflib_.st(thread, src_ns.sioc('has_member'), message, chatDocument));
32135
32135
  if (!thread.doc().sameTerm(message.doc())) {
32136
- sts.push(external_$rdf_.st(thread, src_ns.sioc('has_member'), message, thread.doc()));
32136
+ sts.push(external_rdflib_.st(thread, src_ns.sioc('has_member'), message, thread.doc()));
32137
32137
  }
32138
32138
  }
32139
32139
  _context2.prev = 8;
@@ -32205,8 +32205,8 @@ var ChatChannel = /*#__PURE__*/function () {
32205
32205
  }
32206
32206
  return _context4.abrupt("return", already[0]);
32207
32207
  case 1:
32208
- thread = external_$rdf_.sym(threadRoot.uri + '-thread');
32209
- insert = [external_$rdf_.st(thread, src_ns.rdf('type'), src_ns.sioc('Thread'), thread.doc()), external_$rdf_.st(threadRoot, src_ns.sioc('has_reply'), thread, thread.doc())];
32208
+ thread = external_rdflib_.sym(threadRoot.uri + '-thread');
32209
+ insert = [external_rdflib_.st(thread, src_ns.rdf('type'), src_ns.sioc('Thread'), thread.doc()), external_rdflib_.st(threadRoot, src_ns.sioc('has_reply'), thread, thread.doc())];
32210
32210
  _context4.next = 2;
32211
32211
  return lib/* store */.M_.updater.update([], insert);
32212
32212
  case 2:
@@ -32517,7 +32517,7 @@ function participationObject(subject, padDoc, me) {
32517
32517
  resolve(parps[0]); // returns the participation object
32518
32518
  } else {
32519
32519
  var _participation2 = newThing(padDoc);
32520
- var ins = [(0,external_$rdf_.st)(subject, src_ns.wf('participation'), _participation2, padDoc), (0,external_$rdf_.st)(_participation2, src_ns.wf('participant'), me, padDoc), (0,external_$rdf_.st)(_participation2, src_ns.cal('dtstart'), new Date(), padDoc), (0,external_$rdf_.st)(_participation2, src_ns.ui('backgroundColor'), lightColorHash(me), padDoc)];
32520
+ var ins = [(0,external_rdflib_.st)(subject, src_ns.wf('participation'), _participation2, padDoc), (0,external_rdflib_.st)(_participation2, src_ns.wf('participant'), me, padDoc), (0,external_rdflib_.st)(_participation2, src_ns.cal('dtstart'), new Date(), padDoc), (0,external_rdflib_.st)(_participation2, src_ns.ui('backgroundColor'), lightColorHash(me), padDoc)];
32521
32521
  participation_store.updater.update([], ins, function (uri, ok, errorMessage) {
32522
32522
  if (!ok) {
32523
32523
  reject(new Error('Error recording your participation: ' + errorMessage));
@@ -32556,7 +32556,7 @@ function recordParticipation(subject, padDoc, refreshable) {
32556
32556
  return null;
32557
32557
  }
32558
32558
  var participation = newThing(padDoc);
32559
- var ins = [(0,external_$rdf_.st)(subject, src_ns.wf('participation'), participation, padDoc), (0,external_$rdf_.st)(participation, src_ns.wf('participant'), me, padDoc), (0,external_$rdf_.st)(participation, src_ns.cal('dtstart'), new Date(), padDoc), (0,external_$rdf_.st)(participation, src_ns.ui('backgroundColor'), lightColorHash(me), padDoc)];
32559
+ var ins = [(0,external_rdflib_.st)(subject, src_ns.wf('participation'), participation, padDoc), (0,external_rdflib_.st)(participation, src_ns.wf('participant'), me, padDoc), (0,external_rdflib_.st)(participation, src_ns.cal('dtstart'), new Date(), padDoc), (0,external_rdflib_.st)(participation, src_ns.ui('backgroundColor'), lightColorHash(me), padDoc)];
32560
32560
  participation_store.updater.update([], ins, function (uri, ok, errorMessage) {
32561
32561
  if (!ok) {
32562
32562
  throw new Error('Error recording your participation: ' + errorMessage);
@@ -32615,7 +32615,7 @@ function pad_isNativeReflectConstruct() { try { var t = !Boolean.prototype.value
32615
32615
 
32616
32616
 
32617
32617
  var pad_store = lib/* solidLogicSingleton */.hV.store;
32618
- var PAD = (0,external_$rdf_.Namespace)('http://www.w3.org/ns/pim/pad#');
32618
+ var PAD = (0,external_rdflib_.Namespace)('http://www.w3.org/ns/pim/pad#');
32619
32619
  /**
32620
32620
  * @ignore
32621
32621
  */
@@ -32668,7 +32668,7 @@ function notepad(dom, padDoc, subject, me, options) {
32668
32668
  var kb = pad_store;
32669
32669
  if (me && !me.uri) throw new Error('UI.pad.notepad: Invalid userid');
32670
32670
  var updater = pad_store.updater;
32671
- var PAD = (0,external_$rdf_.Namespace)('http://www.w3.org/ns/pim/pad#');
32671
+ var PAD = (0,external_rdflib_.Namespace)('http://www.w3.org/ns/pim/pad#');
32672
32672
  table.setAttribute('style', style.notepadStyle);
32673
32673
  var upstreamStatus = null;
32674
32674
  var downstreamStatus = null;
@@ -32733,11 +32733,11 @@ function notepad(dom, padDoc, subject, me, options) {
32733
32733
  return;
32734
32734
  }
32735
32735
  var del = kb.statementsMatching(chunk, undefined, undefined, padDoc).concat(kb.statementsMatching(undefined, undefined, chunk, padDoc));
32736
- var ins = [(0,external_$rdf_.st)(prev, PAD('next'), next, padDoc)];
32736
+ var ins = [(0,external_rdflib_.st)(prev, PAD('next'), next, padDoc)];
32737
32737
 
32738
32738
  // @@ TODO what should we do if chunk is not a NamedNode should we
32739
32739
  // assume then it is a string?
32740
- if (chunk instanceof external_$rdf_.NamedNode) {
32740
+ if (chunk instanceof external_rdflib_.NamedNode) {
32741
32741
  var label = chunk.uri.slice(-4);
32742
32742
  (0,src_debug/* log */.Rm)('Deleting line ' + label);
32743
32743
  }
@@ -32785,7 +32785,7 @@ function notepad(dom, padDoc, subject, me, options) {
32785
32785
  var current = del.length ? Number(del[0].object.value) : 0;
32786
32786
  if (current + delta < -3) return; // limit negative indent
32787
32787
  var newIndent = current + delta;
32788
- var ins = (0,external_$rdf_.st)(chunk, PAD('indent'), newIndent, padDoc);
32788
+ var ins = (0,external_rdflib_.st)(chunk, PAD('indent'), newIndent, padDoc);
32789
32789
  if (!updater) {
32790
32790
  throw new Error('no updater');
32791
32791
  }
@@ -32890,10 +32890,10 @@ function notepad(dom, padDoc, subject, me, options) {
32890
32890
  var chunk = part.subject;
32891
32891
  setPartStyle(part, undefined, true);
32892
32892
  var old = kb.any(chunk, src_ns.sioc('content')).value;
32893
- var del = [(0,external_$rdf_.st)(chunk, src_ns.sioc('content'), old, padDoc)];
32893
+ var del = [(0,external_rdflib_.st)(chunk, src_ns.sioc('content'), old, padDoc)];
32894
32894
  var ins;
32895
32895
  if (part.value) {
32896
- ins = [(0,external_$rdf_.st)(chunk, src_ns.sioc('content'), part.value, padDoc)];
32896
+ ins = [(0,external_rdflib_.st)(chunk, src_ns.sioc('content'), part.value, padDoc)];
32897
32897
  }
32898
32898
  var newOne = part.value;
32899
32899
 
@@ -33045,11 +33045,11 @@ function notepad(dom, padDoc, subject, me, options) {
33045
33045
  }
33046
33046
  var chunk = newThing(padDoc);
33047
33047
  var label = chunk.uri.slice(-4);
33048
- var del = [(0,external_$rdf_.st)(prev, PAD('next'), next, padDoc)];
33049
- var ins = [(0,external_$rdf_.st)(prev, PAD('next'), chunk, padDoc), (0,external_$rdf_.st)(chunk, PAD('next'), next, padDoc), (0,external_$rdf_.st)(chunk, src_ns.dc('author'), me, padDoc), (0,external_$rdf_.st)(chunk, src_ns.sioc('content'), '', padDoc)];
33048
+ var del = [(0,external_rdflib_.st)(prev, PAD('next'), next, padDoc)];
33049
+ var ins = [(0,external_rdflib_.st)(prev, PAD('next'), chunk, padDoc), (0,external_rdflib_.st)(chunk, PAD('next'), next, padDoc), (0,external_rdflib_.st)(chunk, src_ns.dc('author'), me, padDoc), (0,external_rdflib_.st)(chunk, src_ns.sioc('content'), '', padDoc)];
33050
33050
  if (indent > 0) {
33051
33051
  // Do not inherit
33052
- ins.push((0,external_$rdf_.st)(chunk, PAD('indent'), indent, padDoc));
33052
+ ins.push((0,external_rdflib_.st)(chunk, PAD('indent'), indent, padDoc));
33053
33053
  }
33054
33054
  (0,src_debug/* log */.Rm)(' Fresh chunk ' + label + ' proposed');
33055
33055
  if (!updater) {
@@ -33254,7 +33254,7 @@ function notepad(dom, padDoc, subject, me, options) {
33254
33254
  } else {
33255
33255
  // Make new pad
33256
33256
  (0,src_debug/* log */.Rm)('No pad exists - making new one.');
33257
- var insertables = [(0,external_$rdf_.st)(subject, src_ns.rdf('type'), PAD('Notepad'), padDoc), (0,external_$rdf_.st)(subject, src_ns.dc('author'), me, padDoc), (0,external_$rdf_.st)(subject, src_ns.dc('created'), new Date(), padDoc), (0,external_$rdf_.st)(subject, PAD('next'), subject, padDoc)];
33257
+ var insertables = [(0,external_rdflib_.st)(subject, src_ns.rdf('type'), PAD('Notepad'), padDoc), (0,external_rdflib_.st)(subject, src_ns.dc('author'), me, padDoc), (0,external_rdflib_.st)(subject, src_ns.dc('created'), new Date(), padDoc), (0,external_rdflib_.st)(subject, PAD('next'), subject, padDoc)];
33258
33258
  if (!updater) {
33259
33259
  throw new Error('no updater');
33260
33260
  }
@@ -33370,7 +33370,7 @@ var bookmarks_UI = {
33370
33370
  ns: src_ns,
33371
33371
  media: media,
33372
33372
  pad: pad_namespaceObject,
33373
- rdf: external_$rdf_,
33373
+ rdf: external_rdflib_,
33374
33374
  style: style,
33375
33375
  utils: utils_namespaceObject,
33376
33376
  widgets: widgets_namespaceObject
@@ -33862,7 +33862,7 @@ function _messageToolbar() {
33862
33862
  case 2:
33863
33863
  // no action
33864
33864
  action = newThing(doc);
33865
- insertMe = [external_$rdf_.st(action, src_ns.schema('agent'), context.me, doc), external_$rdf_.st(action, src_ns.rdf('type'), actionClass, doc), external_$rdf_.st(action, src_ns.schema('target'), target, doc)];
33865
+ insertMe = [external_rdflib_.st(action, src_ns.schema('agent'), context.me, doc), external_rdflib_.st(action, src_ns.rdf('type'), actionClass, doc), external_rdflib_.st(action, src_ns.schema('target'), target, doc)];
33866
33866
  _context4.next = 3;
33867
33867
  return lib/* store */.M_.updater.update([], insertMe);
33868
33868
  case 3:
@@ -35237,7 +35237,7 @@ function _infiniteMessageArea() {
35237
35237
  case 1:
35238
35238
  // Adding a link in the document will ping listeners to add the new block too
35239
35239
  if (!lib/* store */.M_.holds(oldChatDocument, src_ns.rdfs('seeAlso'), newChatDocument, oldChatDocument)) {
35240
- sts = [external_$rdf_.st(oldChatDocument, src_ns.rdfs('seeAlso'), newChatDocument, oldChatDocument)];
35240
+ sts = [external_rdflib_.st(oldChatDocument, src_ns.rdfs('seeAlso'), newChatDocument, oldChatDocument)];
35241
35241
  try {
35242
35242
  lib/* store */.M_.updater.update([], sts);
35243
35243
  } catch (err) {
@@ -35897,8 +35897,8 @@ function recordSharedPreferences(subject, context) {
35897
35897
  src_debug/* log */.Rm(" Cant make shared preferences, may not change ".concat(subject.doc));
35898
35898
  resolve(context);
35899
35899
  }
35900
- var sp = external_$rdf_.sym(subject.doc().uri + '#SharedPreferences');
35901
- var ins = [external_$rdf_.st(subject, src_ns.ui('sharedPreferences'), sp, subject.doc())];
35900
+ var sp = external_rdflib_.sym(subject.doc().uri + '#SharedPreferences');
35901
+ var ins = [external_rdflib_.st(subject, src_ns.ui('sharedPreferences'), sp, subject.doc())];
35902
35902
  src_debug/* log */.Rm('Creating shared preferences ' + sp);
35903
35903
  preferences_kb.updater.update([], ins, function (uri, ok, errorMessage) {
35904
35904
  if (!ok) {
@@ -35944,10 +35944,10 @@ function recordPersonalDefaults(theClass, context) {
35944
35944
  } else {
35945
35945
  // no regs fo class
35946
35946
  reg = newThing(context.preferencesFile);
35947
- ins = [external_$rdf_.st(reg, src_ns.rdf('type'), src_ns.solid('TypeRegistration'), context.preferencesFile), external_$rdf_.st(reg, src_ns.solid('forClass'), theClass, context.preferencesFile)];
35947
+ ins = [external_rdflib_.st(reg, src_ns.rdf('type'), src_ns.solid('TypeRegistration'), context.preferencesFile), external_rdflib_.st(reg, src_ns.solid('forClass'), theClass, context.preferencesFile)];
35948
35948
  }
35949
35949
  prefs = newThing(context.preferencesFile);
35950
- ins.push(external_$rdf_.st(reg, src_ns.solid('personalDefaults'), prefs, context.preferencesFile));
35950
+ ins.push(external_rdflib_.st(reg, src_ns.solid('personalDefaults'), prefs, context.preferencesFile));
35951
35951
  preferences_kb.updater.update([], ins, function (uri, ok, errm) {
35952
35952
  if (!ok) {
35953
35953
  reject(new Error('Setting preferences for ' + theClass + ': ' + errm));
@@ -36290,7 +36290,7 @@ function renderTableViewPane(doc, options) {
36290
36290
  // object.
36291
36291
 
36292
36292
  function generateQuery(type) {
36293
- var query = new external_$rdf_.Query();
36293
+ var query = new external_rdflib_.Query();
36294
36294
  var rowVar = kb.variable(keyVariable.slice(1)); // don't pass '?'
36295
36295
 
36296
36296
  addSelectToQuery(query, type);
@@ -38149,7 +38149,7 @@ var emptyProfile = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"26\" hei
38149
38149
  */
38150
38150
  function getPod() {
38151
38151
  // @@ TODO: This is given that mashlib runs on NSS - might need to change when we want it to run on other Pod servers
38152
- return (0,external_$rdf_.sym)(document.location.origin).site();
38152
+ return (0,external_rdflib_.sym)(document.location.origin).site();
38153
38153
  }
38154
38154
  /**
38155
38155
  */
@@ -38179,7 +38179,7 @@ function _getPodOwner() {
38179
38179
  case 1:
38180
38180
  response = _context.sent;
38181
38181
  containerTurtle = response.responseText;
38182
- (0,external_$rdf_.parse)(containerTurtle, store, pod.uri, 'text/turtle');
38182
+ (0,external_rdflib_.parse)(containerTurtle, store, pod.uri, 'text/turtle');
38183
38183
  case 2:
38184
38184
  _context.next = 4;
38185
38185
  break;
@@ -38221,7 +38221,7 @@ function _getPodOwner() {
38221
38221
  // pod owner not declared in pod
38222
38222
  // @@ TODO: This is given the structure that NSS provides
38223
38223
  // This is a massive guess. For old pods which don't have owner link
38224
- guess = (0,external_$rdf_.sym)("".concat(pod.uri, "profile/card#me"));
38224
+ guess = (0,external_rdflib_.sym)("".concat(pod.uri, "profile/card#me"));
38225
38225
  _context.prev = 11;
38226
38226
  _context.next = 12;
38227
38227
  return store.fetcher.load(guess);
@@ -38845,7 +38845,7 @@ if (typeof window !== 'undefined') {
38845
38845
  authn: lib/* authn */.jO,
38846
38846
  store: lib/* store */.M_,
38847
38847
  ns: src_ns,
38848
- rdf: external_$rdf_,
38848
+ rdf: external_rdflib_,
38849
38849
  acl: acl,
38850
38850
  aclControl: aclControl,
38851
38851
  create: create,
@@ -38874,7 +38874,7 @@ if (typeof window !== 'undefined') {
38874
38874
 
38875
38875
  // this variables are directly used in the storybook
38876
38876
 
38877
- export { acl, aclControl, create, types_namespaceObject as createTypes, src_dom as dom, infiniteMessageArea, initFooter, initHeader, language_namespaceObject as language, log_namespaceObject as log, login_namespaceObject as login, matrix, media, messageArea, src_ns as ns, pad_namespaceObject as pad, participation_namespaceObject as participation, preferences_namespaceObject as preferences, external_$rdf_ as rdf, style, renderTableViewPane as table, tabs_namespaceObject as tabs, utils_namespaceObject as utils, widgets_namespaceObject as widgets };
38877
+ export { acl, aclControl, create, types_namespaceObject as createTypes, src_dom as dom, infiniteMessageArea, initFooter, initHeader, language_namespaceObject as language, log_namespaceObject as log, login_namespaceObject as login, matrix, media, messageArea, src_ns as ns, pad_namespaceObject as pad, participation_namespaceObject as participation, preferences_namespaceObject as preferences, external_rdflib_ as rdf, style, renderTableViewPane as table, tabs_namespaceObject as tabs, utils_namespaceObject as utils, widgets_namespaceObject as widgets };
38878
38878
  export const authn = lib/* authn */.jO;
38879
38879
  export const icons = iconBase/* icons */.Pt;
38880
38880
  export const store = lib/* store */.M_;