mashlib 1.7.18 → 1.7.20

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.
@@ -41,7 +41,7 @@ t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,p=
41
41
  * Copyright 2017 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
43
  */
44
- var r;n.r(t),n.d(t,"_$LH",(function(){return B})),n.d(t,"html",(function(){return k})),n.d(t,"noChange",(function(){return C})),n.d(t,"nothing",(function(){return _})),n.d(t,"render",(function(){return A})),n.d(t,"svg",(function(){return E}));const i=globalThis.trustedTypes,a=i?i.createPolicy("lit-html",{createHTML:e=>e}):void 0,o=`lit$${(Math.random()+"").slice(9)}$`,s="?"+o,u=`<${s}>`,l=document,c=(e="")=>l.createComment(e),d=e=>null===e||"object"!=typeof e&&"function"!=typeof e,p=Array.isArray,f=e=>{var t;return p(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},h=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,g=/>/g,v=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,y=/'/g,b=/"/g,w=/^(?:script|style|textarea)$/i,x=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),k=x(1),E=x(2),C=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),S=new WeakMap,A=(e,t,n)=>{var r,i;const a=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let o=a._$litPart$;if(void 0===o){const e=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;a._$litPart$=o=new F(t.insertBefore(c(),e),e,void 0,null!=n?n:{})}return o._$AI(e),o},T=l.createTreeWalker(l,129,null,!1),P=(e,t)=>{const n=e.length-1,r=[];let i,s=2===t?"<svg>":"",l=h;for(let t=0;t<n;t++){const n=e[t];let a,c,d=-1,p=0;for(;p<n.length&&(l.lastIndex=p,c=l.exec(n),null!==c);)p=l.lastIndex,l===h?"!--"===c[1]?l=m:void 0!==c[1]?l=g:void 0!==c[2]?(w.test(c[2])&&(i=RegExp("</"+c[2],"g")),l=v):void 0!==c[3]&&(l=v):l===v?">"===c[0]?(l=null!=i?i:h,d=-1):void 0===c[1]?d=-2:(d=l.lastIndex-c[2].length,a=c[1],l=void 0===c[3]?v:'"'===c[3]?b:y):l===b||l===y?l=v:l===m||l===g?l=h:(l=v,i=void 0);const f=l===v&&e[t+1].startsWith("/>")?" ":"";s+=l===h?n+u:d>=0?(r.push(a),n.slice(0,d)+"$lit$"+n.slice(d)+o+f):n+o+(-2===d?(r.push(void 0),t):f)}const c=s+(e[n]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(c):c,r]};class D{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let a=0,u=0;const l=e.length-1,d=this.parts,[p,f]=P(e,t);if(this.el=D.createElement(p,n),T.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=T.nextNode())&&d.length<l;){if(1===r.nodeType){if(r.hasAttributes()){const e=[];for(const t of r.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(o)){const n=f[u++];if(e.push(t),void 0!==n){const e=r.getAttribute(n.toLowerCase()+"$lit$").split(o),t=/([.?@])?(.*)/.exec(n);d.push({type:1,index:a,name:t[2],strings:e,ctor:"."===t[1]?R:"?"===t[1]?L:"@"===t[1]?M:N})}else d.push({type:6,index:a})}for(const t of e)r.removeAttribute(t)}if(w.test(r.tagName)){const e=r.textContent.split(o),t=e.length-1;if(t>0){r.textContent=i?i.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],c()),T.nextNode(),d.push({type:2,index:++a});r.append(e[t],c())}}}else if(8===r.nodeType)if(r.data===s)d.push({type:2,index:a});else{let e=-1;for(;-1!==(e=r.data.indexOf(o,e+1));)d.push({type:7,index:a}),e+=o.length-1}a++}}static createElement(e,t){const n=l.createElement("template");return n.innerHTML=e,n}}function O(e,t,n=e,r){var i,a,o,s;if(t===C)return t;let u=void 0!==r?null===(i=n._$Cl)||void 0===i?void 0:i[r]:n._$Cu;const l=d(t)?void 0:t._$litDirective$;return(null==u?void 0:u.constructor)!==l&&(null===(a=null==u?void 0:u._$AO)||void 0===a||a.call(u,!1),void 0===l?u=void 0:(u=new l(e),u._$AT(e,n,r)),void 0!==r?(null!==(o=(s=n)._$Cl)&&void 0!==o?o:s._$Cl=[])[r]=u:n._$Cu=u),void 0!==u&&(t=O(e,u._$AS(e,t.values),u,r)),t}class I{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:n},parts:r}=this._$AD,i=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:l).importNode(n,!0);T.currentNode=i;let a=T.nextNode(),o=0,s=0,u=r[0];for(;void 0!==u;){if(o===u.index){let t;2===u.type?t=new F(a,a.nextSibling,this,e):1===u.type?t=new u.ctor(a,u.name,u.strings,this,e):6===u.type&&(t=new U(a,this,e)),this.v.push(t),u=r[++s]}o!==(null==u?void 0:u.index)&&(a=T.nextNode(),o++)}return i}m(e){let t=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class F{constructor(e,t,n,r){var i;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cg=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=O(this,e,t),d(e)?e===_||null==e||""===e?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==C&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.S(e):f(e)?this.A(e):this.$(e)}M(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}S(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==_&&d(this._$AH)?this._$AA.nextSibling.data=e:this.S(l.createTextNode(e)),this._$AH=e}T(e){var t;const{values:n,_$litType$:r}=e,i="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=D.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===i)this._$AH.m(n);else{const e=new I(i,this),t=e.p(this.options);e.m(n),this.S(t),this._$AH=e}}_$AC(e){let t=S.get(e.strings);return void 0===t&&S.set(e.strings,t=new D(e)),t}A(e){p(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const i of e)r===t.length?t.push(n=new F(this.M(c()),this.M(c()),this,this.options)):n=t[r],n._$AI(i),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class N{constructor(e,t,n,r,i){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,r){const i=this.strings;let a=!1;if(void 0===i)e=O(this,e,t,0),a=!d(e)||e!==this._$AH&&e!==C,a&&(this._$AH=e);else{const r=e;let o,s;for(e=i[0],o=0;o<i.length-1;o++)s=O(this,r[n+o],t,o),s===C&&(s=this._$AH[o]),a||(a=!d(s)||s!==this._$AH[o]),s===_?e=_:e!==_&&(e+=(null!=s?s:"")+i[o+1]),this._$AH[o]=s}a&&!r&&this.k(e)}k(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class R extends N{constructor(){super(...arguments),this.type=3}k(e){this.element[this.name]=e===_?void 0:e}}const j=i?i.emptyScript:"";class L extends N{constructor(){super(...arguments),this.type=4}k(e){e&&e!==_?this.element.setAttribute(this.name,j):this.element.removeAttribute(this.name)}}class M extends N{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){var n;if((e=null!==(n=O(this,e,t,0))&&void 0!==n?n:_)===C)return;const r=this._$AH,i=e===_&&r!==_||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==_&&(r===_||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==n?n:this.element,e):this._$AH.handleEvent(e)}}class U{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){O(this,e)}}const B={P:"$lit$",V:o,L:s,I:1,N:P,R:I,D:f,j:O,H:F,O:N,F:L,B:M,W:R,Z:U},H=window.litHtmlPolyfillSupport;null==H||H(D,F),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.1.2")},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r=n(6),i=n.n(r),a=n(7),o=n.n(a),s=n(5),u=n.n(s),l=n(19),c=n.n(l),d=n(27),p=n.n(d),f=n(13),h=n.n(f),m=n(1),g=n.n(m),v=n(32),y=n(22),b=n(2),w=n(8);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h()(e);if(t){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var k=function(e){c()(n,e);var t=x(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i()(this,n),e=t.call(this,r),g()(u()(e),"termType",b.t),g()(u()(e),"base","varid:"),g()(u()(e),"classOrder",v.a.Variable),g()(u()(e),"isVar",1),g()(u()(e),"uri",void 0),e.base="varid:",e.uri=w.join(r,e.base),e}return o()(n,[{key:"equals",value:function(e){return!!e&&(this.termType===e.termType&&this.value===e.value)}},{key:"hashString",value:function(){return this.toString()}},{key:"substitute",value:function(e){var t;return null!=(t=e[this.toNT()])?t:this}},{key:"toString",value:function(){return n.toString(this)}}],[{key:"toString",value:function(e){return e.uri.slice(0,e.base.length)===e.base?"?".concat(e.uri.slice(e.base.length)):"?".concat(e.uri)}}]),n}(y.a)},function(e,t,n){"use strict";const r={};e.exports=r,r.isArray=Array.isArray,r.isBoolean=e=>"boolean"==typeof e||"[object Boolean]"===Object.prototype.toString.call(e),r.isDouble=e=>r.isNumber(e)&&(-1!==String(e).indexOf(".")||Math.abs(e)>=1e21),r.isEmptyObject=e=>r.isObject(e)&&0===Object.keys(e).length,r.isNumber=e=>"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e),r.isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),r.isObject=e=>"[object Object]"===Object.prototype.toString.call(e),r.isString=e=>"string"==typeof e||"[object String]"===Object.prototype.toString.call(e),r.isUndefined=e=>void 0===e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.style=void 0;var r={checkboxStyle:"colour: black; font-size: 100%; padding-left: 0.5 em; padding-right: 0.5 em;",checkboxInputStyle:"font-size: 150%; height: 1.2em; width: 1.2em; background-color: #eef; border-radius:0.2em; margin: 0.1em",fieldLabelStyle:"color: #3B5998; text-decoration: none;",formSelectSTyle:"background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.2em;",textInputStyle:"background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.2em;",textInputStyleUneditable:"background-color: white; padding: 0.5em; border: .05em solid white; border-radius:0.2em; font-size: 100%; margin:0.2em;",textInputSize:20,buttonStyle:"background-color: #fff; padding: 0.7em; border: .01em solid white; border-radius:0.2em; font-size: 100%; margin: 0.3em;",commentStyle:"padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;",iconStyle:"width: 3em; height: 3em; margin: 0.1em; border-radius: 1em;",smallButtonStyle:"margin: 0.2em; width: 1em; height:1em;",classIconStyle:"width: 3em; height: 3em; margin: 0.1em; border-radius: 0.2em; border: 0.1em solid green; padding: 0.2em; background-color: #efe;",confirmPopupStyle:"padding: 0.7em; border-radius: 0.2em; border: 0.1em solid orange; background-color: white; box-shadow: 0.5em 0.9em #888;",tabBorderRadius:"0.2em",messageBodyStyle:"white-space: pre-wrap; width: 99%; font-size:100%; border: 0.07em solid #eee; border-radius:0.2em; padding: .3em 0.5em; margin: 0.1em;",pendingeditModifier:"color: #bbb;",highlightColor:"#7C4DFF",personaBarStyle:"width: 100%; height: 4em; background-color: #eee; vertical-align: middle;",searchInputStyle:"border: 0.1em solid #444; border-radius: 0.2em; width: 100%; font-size: 100%; padding: 0.1em 0.6em; margin 0.2em;",autocompleteRowStyle:"border: 0.2em solid straw;",signInButtonStyle:"padding: 1em; border-radius:0.2em; font-size: 100%;",heading1Style:"font-size: 180%; font-weight: bold; color: #888888; padding: 0.5em; margin: 0.7em 0.0m;",heading2Style:"font-size: 130%; font-weight: bold; color: #888888; padding: 0.4em; margin: 0.7em 0.0em;",heading3Style:"font-size: 120%; font-weight: bold; color: #888888; padding: 0.3em; margin: 0.7em 0.0em;",heading4Style:"font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;",formBorderColor:"#888888",formHeadingColor:"#888888",formHeadingStyle:"font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;",formTextInput:"font-size: 100%; margin: 0.1em; padding: 0.1em;",formGroupStyle:["padding-left: 0em; border: 0.0em solid ".concat("#888888","; border-radius: 0.2em;"),"padding-left: 2em; border: 0.05em solid ".concat("#888888","; border-radius: 0.2em;"),"padding-left: 2em; border: 0.1em solid ".concat("#888888","; border-radius: 0.2em;"),"padding-left: 2em; border: 0.2em solid ".concat("#888888","; border-radius: 0.2em;")],formFieldLabelStyle:"'color: ".concat("#3B5998","; text-decoration: none;'"),formFieldNameBoxWidth:"8em",formFieldNameBoxStyle:"padding: 0.3em; vertical-align: middle; width:".concat("8em",";"),textInputBackgroundColor:"#eef",textInputBackgroundColorUneditable:"#fff",textInputColor:"#000",textInputColorPending:"#888",multilineTextInputStyle:"font-size:100%; white-space: pre-wrap; background-color: #eef; border: 0.07em solid gray; padding: 1em 0.5em; margin: 1em 1em;",renderAsDivStyle:"display: flex; align-items: center; justify-content: space-between; height: 2.5em; padding: 1em;",imageDivStyle:"width:2.5em; padding:0.5em; height: 2.5em;",linkDivStyle:"width:2em; padding:0.5em; height: 4em;"};t.style=r,r.setStyle=function(e,t){e.style=r[t]},e.exports=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return U}));var r=n(6),i=n.n(r),a=n(7),o=n.n(a),s=n(5),u=n.n(s),l=n(19),c=n.n(l),d=n(27),p=n.n(d),f=n(13),h=n.n(f),m=n(1),g=n.n(m),v=n(32),y=n(55),b=n(84),w=n(31),x=n(18),k=n(10),E=n(47),C=n(42),_=n(65),S=n(2),A=n(12),T=n(4),P=n(38),D=n(66),O=n(35);function I(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h()(e);if(t){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var R="http://www.w3.org/2002/07/owl#";function j(e,t,n,r){var i=e.any(t,n,void 0);return!!i&&(e.equate(i,r),!0)}function L(e,t,n,r){var i=e.any(void 0,n,r);return!!i&&(e.equate(i,t),!0)}function M(e,t,n,r,i){e.typeCallback&&e.typeCallback(e,r,i);var a=e.classActions[e.id(r)],o=!1;if(a)for(var s=0;s<a.length;s++)o=o||a[s](e,t,n,r,i);return o}var U=function(e){c()(n,e);var t=N(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i()(this,n),r=t.call(this,void 0,void 0,void 0,void 0,a),g()(u()(r),"updater",void 0),g()(u()(r),"namespaces",void 0),g()(u()(r),"classActions",void 0),g()(u()(r),"propertyActions",void 0),g()(u()(r),"redirections",void 0),g()(u()(r),"aliases",void 0),g()(u()(r),"HTTPRedirects",void 0),g()(u()(r),"subjectIndex",void 0),g()(u()(r),"predicateIndex",void 0),g()(u()(r),"objectIndex",void 0),g()(u()(r),"whyIndex",void 0),g()(u()(r),"index",void 0),g()(u()(r),"features",void 0),g()(u()(r),"_universalVariables",void 0),g()(u()(r),"_existentialVariables",void 0),g()(u()(r),"rdfArrayRemove",void 0),g()(u()(r),"dataCallbacks",void 0),r.propertyActions={},r.classActions={},r.redirections=[],r.aliases=[],r.HTTPRedirects=[],r.subjectIndex=[],r.predicateIndex=[],r.objectIndex=[],r.whyIndex=[],r.index=[r.subjectIndex,r.predicateIndex,r.objectIndex,r.whyIndex],r.namespaces={},r.features=e||[],r.rdfArrayRemove=a.rdfArrayRemove||x.RDFArrayRemove,a.dataCallback&&(r.dataCallbacks=[a.dataCallback]),r.initPropertyActions(r.features),r}return o()(n,[{key:"substitute",value:function(e){var t=this.statements.map((function(t){return t.substitute(e)})),r=new n;return r.add(t),r}},{key:"addDataCallback",value:function(e){this.dataCallbacks||(this.dataCallbacks=[]),this.dataCallbacks.push(e)}},{key:"applyPatch",value:function(e,t,n){var r,i=this,a=null;function o(o){if(e.delete){r=e.delete,a&&(r=r.substitute(a)),r=r.statements;var s=[],u=r.map((function(e){var n=i.statementsMatching(e.subject,e.predicate,e.object,t);return 0===n.length?(s.push(e),null):n[0]}));if(s.length)return n("Could not find to delete: "+s.join("\n or "));u.map((function(e){i.remove(e)}))}e.insert&&(r=e.insert,a&&(r=r.substitute(a)),(r=r.statements).map((function(e){e.graph=t,i.add(e.subject,e.predicate,e.object,e.graph)}))),o()}if(e.where){var s=new _.a("patch");s.pat=e.where,s.pat.statements.map((function(e){e.graph=Object(T.namedNode)(t.value)})),s.sync=!0;var u=[];i.query(s,(function(e){u.push(e)}),i.fetcher,(function(){return 0===u.length?n("No match found to be patched:"+e.where):u.length>1?n("Patch ambiguous. No patch done."):(a=u[0],void o(n))}))}else o(n)}},{key:"declareExistential",value:function(e){return this._existentialVariables||(this._existentialVariables=[]),this._existentialVariables.push(e),e}},{key:"initPropertyActions",value:function(e){this.propertyActions[this.rdfFactory.id(this.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"))]=[M],Object(w.a)(e,"sameAs")>=0&&(this.propertyActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(R,"sameAs")))]=[function(e,t,n,r,i){return e.equate(t,r),!0}]),Object(w.a)(e,"InverseFunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(R,"InverseFunctionalProperty")))]=[function(e,t,n,r,i){return e.newPropertyAction(t,L)}]),Object(w.a)(e,"FunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(R,"FunctionalProperty")))]=[function(e,t,n,r,i){return e.newPropertyAction(t,j)}])}},{key:"addStatement",value:function(e){return this.add(e.subject,e.predicate,e.object,e.graph),this.statements.length}},{key:"add",value:function(e,t,n,r){var i,a,o;if(1===arguments.length){if(e instanceof Array)for(i=0;i<e.length;i++)this.add(e[i]);else Object(k.g)(e)?this.add(e.subject,e.predicate,e.object,e.graph):Object(k.k)(e)&&this.add(e.statements);return this}r||(r=this.fetcher?this.fetcher.appNode:this.rdfFactory.defaultGraph()),"string"==typeof e&&(e=this.rdfFactory.namedNode(e)),t=E.a.fromValue(t);var s=E.a.fromValue(n);if(r=E.a.fromValue(r),!Object(k.l)(e))throw new Error("Subject is not a subject type");if(!Object(k.f)(t))throw new Error("Predicate ".concat(t," is not a predicate type"));if(!Object(k.i)(s))throw new Error("Object ".concat(s," is not an object type"));if(!Object(k.c)(r))throw new Error("Why is not a graph type");this.predicateCallback&&this.predicateCallback(this,t,r);var u=this.id(this.canon(t)),l=!1;if(a=this.propertyActions[u])for(i=0;i<a.length;i++)l=l||a[i](this,e,t,s,r);if(this.holds(e,t,s,r))return null;var c=[this.id(this.canon(e)),u,this.id(this.canon(s)),this.id(this.canon(r))];for(o=this.rdfFactory.quad(e,t,s,r),i=0;i<4;i++){var d=this.index[i],p=c[i];d[p]||(d[p]=[]),d[p].push(o)}if(this.statements.push(o),this.dataCallbacks){var f,h=I(this.dataCallbacks);try{for(h.s();!(f=h.n()).done;){var m=f.value;m(o)}}catch(e){h.e(e)}finally{h.f()}}return o}},{key:"canon",value:function(e){if(!e)return e;var t=this.redirections[this.id(e)];if(t)return t;switch(e.termType){case S.a:return new P.a(e.value);case S.b:return e;case S.c:return new D.a;case S.d:case S.e:return e;case S.h:return new O.a(e.value,e.language,e.datatype);case S.n:return new A.a(e.value);case S.t:return new C.a(e.value);default:throw new Error("Term Type not recognized for canonization: ".concat(e.termType))}}},{key:"check",value:function(){this.checkStatementList(this.statements);for(var e=0;e<4;e++){var t=this.index[e];for(var n in t)t.hasOwnProperty(n)&&this.checkStatementList(t[n],e)}}},{key:"checkStatementList",value:function(e,t){void 0===t&&(t=0);for(var n,r=" found in "+["subject","predicate","object","why"][t]+" index.",i=0;i<e.length;i++){for(var a=[(n=e[i]).subject,n.predicate,n.object,n.graph],o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].subject.equals(t.subject)&&e[n].predicate.equals(t.predicate)&&e[n].object.equals(t.object)&&e[n].why.equals(t.graph))return!0},s=0;s<4;s++){var u=this.canon(a[s]),l=this.id(u);this.index[s][l]&&o(this.index[s][l],n)}if(!o(this.statements,n))throw new Error("Statement list does not statement "+n+"@"+n.graph+r)}}},{key:"close",value:function(){return this}},{key:"compareTerms",value:function(e,t){return Object.prototype.hasOwnProperty.call(e,"compareTerm")?e.compareTerm(t):v.a[e.termType]<v.a[t.termType]?-1:v.a[e.termType]>v.a[t.termType]?1:e.value<t.value?-1:e.value>t.value?1:0}},{key:"copyTo",value:function(e,t,n){n||(n=[]);var r=this.statementsMatching(e);-1!==Object(w.a)(n,"two-direction")&&r.concat(this.statementsMatching(void 0,void 0,e));for(var i=0;i<r.length;i++){var a=r[i];switch(a.object.termType){case"NamedNode":this.add(t,a.predicate,a.object);break;case"Literal":case"BlankNode":case"Collection":this.add(t,a.predicate,a.object.copy(this))}-1!==Object(w.a)(n,"delete")&&this.remove(a)}}},{key:"equate",value:function(e,t){var n=this.canon(e),r=this.canon(t),i=this.compareTerms(n,r);return!i||(i<0?this.replaceWith(r,n):this.replaceWith(n,r))}},{key:"formula",value:function(e){return new n(e)}},{key:"length",get:function(){return this.statements.length}},{key:"match",value:function(e,t,n,r){return this.statementsMatching(E.a.fromValue(e),E.a.fromValue(t),E.a.fromValue(n),E.a.fromValue(r))}},{key:"mentionsURI",value:function(e){var t="<"+e+">";return!!this.subjectIndex[t]||!!this.objectIndex[t]||!!this.predicateIndex[t]}},{key:"newExistential",value:function(e){if(!e)return this.bnode();var t=this.sym(e);return this.declareExistential(t)}},{key:"newPropertyAction",value:function(e,t){var n=this.id(e);this.propertyActions[n]||(this.propertyActions[n]=[]),this.propertyActions[n].push(t);for(var r=this.statementsMatching(void 0,e,void 0),i=!1,a=0;a<r.length;a++)i=i||t(this,r[a].subject,e,r[a].object);return i}},{key:"newUniversal",value:function(e){var t=this.sym(e);return this._universalVariables||(this._universalVariables=[]),this._universalVariables.push(t),t}},{key:"variable",value:function(e){return new C.a(e)}},{key:"nextSymbol",value:function(e){for(var t=0;;t++){var n=e.value+"#n"+t;if(!this.mentionsURI(n))return this.sym(n)}}},{key:"query",value:function(e,t,n,r){return _.b.call(this,e,t,n,r)}},{key:"querySync",value:function(e){var t=[];var n=!1;if(e.sync=!0,_.b.call(this,e,(function(e){t.push(e)}),null,(function(){n=!0})),!n)throw new Error("Sync query should have called done function");return t}},{key:"remove",value:function(e){if(e instanceof Array){for(var t=0;t<e.length;t++)this.remove(e[t]);return this}if(Object(k.k)(e))return this.remove(e.statements);var n=this.statementsMatching(e.subject,e.predicate,e.object,e.graph);if(!n.length)throw new Error("Statement to be removed is not on store: "+e);return this.removeStatement(n[0]),this}},{key:"removeDocument",value:function(e){for(var t=this.statementsMatching(void 0,void 0,void 0,e).slice(),n=0;n<t.length;n++)this.removeStatement(t[n]);return this}},{key:"removeMany",value:function(e,t,n,r,i){for(var a=this.statementsMatching(e,t,n,r,!1),o=[],s=0;s<a.length;s++)o.push(a[s]);for(i&&(o=o.slice(0,i)),s=0;s<o.length;s++)this.remove(o[s])}},{key:"removeMatches",value:function(e,t,n,r){return this.removeStatements(this.statementsMatching(e,t,n,r)),this}},{key:"removeStatement",value:function(e){for(var t=[e.subject,e.predicate,e.object,e.graph],n=0;n<4;n++){var r=this.canon(t[n]),i=this.id(r);this.index[n][i]&&this.rdfArrayRemove(this.index[n][i],e)}return this.rdfArrayRemove(this.statements,e),this}},{key:"removeStatements",value:function(e){for(var t=0;t<e.length;t++)this.remove(e[t]);return this}},{key:"replaceWith",value:function(e,t){for(var n=this.id(e),r=this.id(t),i=function(e){var t=e[n];if(t){var i=e[r];e[r]=i?t.concat(i):t,delete e[n]}},a=0;a<4;a++)i(this.index[a]);if(this.redirections[n]=t,e.value){if(this.aliases[r]||(this.aliases[r]=[]),this.aliases[r].push(e),this.aliases[n])for(a=0;a<this.aliases[n].length;a++)this.redirections[this.id(this.aliases[n][a])]=t,this.aliases[r].push(this.aliases[n][a]);this.add(t,this.sym("http://www.w3.org/2007/ont/link#uri"),e),this.fetcher&&this.fetcher.nowKnownAs(e,t)}return i(this.classActions),i(this.propertyActions),!0}},{key:"allAliases",value:function(e){var t=this.aliases[this.id(this.canon(e))]||[];return t.push(this.canon(e)),t}},{key:"sameThings",value:function(e,t){if(e.equals(t))return!0;var n=this.canon(e);if(!n)return!1;var r=this.canon(t);return!!r&&n.value===r.value}},{key:"setPrefixForURI",value:function(e,t){"tab"===e&&this.namespaces.tab||"ns"!==e.slice(0,2)&&"default"!==e.slice(0,7)&&(this.namespaces[e]=t)}},{key:"statementsMatching",value:function(e,t,n,r,i){var a,o,s=[e,t,n,r],u=[],l=[],c=[],d=[];for(a=0;a<4;a++)u[a]=this.canon(E.a.fromValue(s[a])),u[a]?(d.push(a),l[a]=this.id(u[a])):c.push(a);if(0===d.length)return this.statements;if(1===d.length)return a=d[0],(o=this.index[a][l[a]])&&i&&o.length>1&&(o=o.slice(0,1)),o=o||[];var p,f,h=1e10;for(f=0;f<d.length;f++){if(a=d[f],!(o=this.index[a][l[a]]))return[];o.length<h&&(h=o.length,p=f)}for(var m=d[p],g=this.index[m][l[m]],v=d.slice(0,p).concat(d.slice(p+1)),y=[],b=["subject","predicate","object","why"],w=0;w<g.length;w++){var x=g[w];for(f=0;f<v.length;f++)if(a=v[f],!this.canon(x[b[a]]).equals(u[a])){x=null;break}if(null!=x&&(y.push(x),i))break}return y}},{key:"uris",value:function(e){var t=this.canon(e),n=this.aliases[this.id(t)];if(!t.value)return[];var r=[t.value];if(n)for(var i=0;i<n.length;i++)r.push(n[i].uri);return r}}],[{key:"defaultGraphURI",get:function(){return y.a}}]),n}(b.a);g()(U,"handleRDFType",void 0),U.handleRDFType=M},function(e,t,n){"use strict";function r(e){return"string"==typeof e?e:e.value}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(56),i=n(22),a=n(24),o=n(10);i.a.fromValue=r.b,t.a=i.a;var s={xsd:Object(a.a)("http://www.w3.org/2001/XMLSchema#")};i.a.toJS=function(e){return Object(o.b)(e)?e.elements.map(i.a.toJS):Object(o.d)(e)?e.datatype.equals(s.xsd("boolean"))?"1"===e.value||"true"===e.value:e.datatype.equals(s.xsd("dateTime"))||e.datatype.equals(s.xsd("date"))?new Date(e.value):e.datatype.equals(s.xsd("integer"))||e.datatype.equals(s.xsd("float"))||e.datatype.equals(s.xsd("decimal"))?Number(e.value):e.value:e}},function(e,t,n){"use strict";const r=n(52),i=n(43),a=n(102).IdentifierIssuer,o=n(50),s=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,u=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,l=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,c={accept:"application/ld+json, application/json"},d={};e.exports=d,d.IdentifierIssuer=a,d.clone=function(e){if(e&&"object"==typeof e){let t;if(i.isArray(e)){t=[];for(let n=0;n<e.length;++n)t[n]=d.clone(e[n])}else if(e instanceof Map){t=new Map;for(const[n,r]of e)t.set(n,d.clone(r))}else if(e instanceof Set){t=new Set;for(const n of e)t.add(d.clone(n))}else if(i.isObject(e)){t={};for(const n in e)t[n]=d.clone(e[n])}else t=e.toString();return t}return e},d.asArray=function(e){return Array.isArray(e)?e:[e]},d.buildHeaders=(e={})=>{if(Object.keys(e).some(e=>"accept"===e.toLowerCase()))throw new RangeError('Accept header may not be specified; only "'+c.accept+'" is supported.');return Object.assign({Accept:c.accept},e)},d.parseLinkHeader=e=>{const t={},n=e.match(s);for(let e=0;e<n.length;++e){let r=n[e].match(u);if(!r)continue;const i={target:r[1]},a=r[2];for(;r=l.exec(a);)i[r[1]]=void 0===r[2]?r[3]:r[2];const o=i.rel||"";Array.isArray(t[o])?t[o].push(i):t.hasOwnProperty(o)?t[o]=[t[o],i]:t[o]=i}return t},d.validateTypeValue=(e,t)=>{if(!(i.isString(e)||i.isArray(e)&&e.every(e=>i.isString(e)))){if(t&&i.isObject(e))switch(Object.keys(e).length){case 0:return;case 1:if("@default"in e&&d.asArray(e["@default"]).every(e=>i.isString(e)))return}throw new o('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:e})}},d.hasProperty=(e,t)=>{if(e.hasOwnProperty(t)){const n=e[t];return!i.isArray(n)||n.length>0}return!1},d.hasValue=(e,t,n)=>{if(d.hasProperty(e,t)){let a=e[t];const o=r.isList(a);if(i.isArray(a)||o){o&&(a=a["@list"]);for(let e=0;e<a.length;++e)if(d.compareValues(n,a[e]))return!0}else if(!i.isArray(n))return d.compareValues(n,a)}return!1},d.addValue=(e,t,n,r)=>{if("propertyIsArray"in(r=r||{})||(r.propertyIsArray=!1),"valueIsArray"in r||(r.valueIsArray=!1),"allowDuplicate"in r||(r.allowDuplicate=!0),"prependValue"in r||(r.prependValue=!1),r.valueIsArray)e[t]=n;else if(i.isArray(n)){0===n.length&&r.propertyIsArray&&!e.hasOwnProperty(t)&&(e[t]=[]),r.prependValue&&(n=n.concat(e[t]),e[t]=[]);for(let i=0;i<n.length;++i)d.addValue(e,t,n[i],r)}else if(e.hasOwnProperty(t)){const a=!r.allowDuplicate&&d.hasValue(e,t,n);i.isArray(e[t])||a&&!r.propertyIsArray||(e[t]=[e[t]]),a||(r.prependValue?e[t].unshift(n):e[t].push(n))}else e[t]=r.propertyIsArray?[n]:n},d.getValues=(e,t)=>[].concat(e[t]||[]),d.removeProperty=(e,t)=>{delete e[t]},d.removeValue=(e,t,n,r)=>{"propertyIsArray"in(r=r||{})||(r.propertyIsArray=!1);const i=d.getValues(e,t).filter(e=>!d.compareValues(e,n));0===i.length?d.removeProperty(e,t):1!==i.length||r.propertyIsArray?e[t]=i:e[t]=i[0]},d.relabelBlankNodes=(e,t)=>function e(t,n){if(i.isArray(n))for(let r=0;r<n.length;++r)n[r]=e(t,n[r]);else if(r.isList(n))n["@list"]=e(t,n["@list"]);else if(i.isObject(n)){r.isBlankNode(n)&&(n["@id"]=t.getId(n["@id"]));const i=Object.keys(n).sort();for(let r=0;r<i.length;++r){const a=i[r];"@id"!==a&&(n[a]=e(t,n[a]))}}return n}((t=t||{}).issuer||new a("_:b"),e),d.compareValues=(e,t)=>e===t||(!(!r.isValue(e)||!r.isValue(t)||e["@value"]!==t["@value"]||e["@type"]!==t["@type"]||e["@language"]!==t["@language"]||e["@index"]!==t["@index"])||!!(i.isObject(e)&&"@id"in e&&i.isObject(t)&&"@id"in t)&&e["@id"]===t["@id"]),d.compareShortestLeast=(e,t)=>e.length<t.length?-1:t.length<e.length?1:e===t?0:e<t?-1:1},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));
44
+ var r;n.r(t),n.d(t,"_$LH",(function(){return B})),n.d(t,"html",(function(){return k})),n.d(t,"noChange",(function(){return C})),n.d(t,"nothing",(function(){return _})),n.d(t,"render",(function(){return A})),n.d(t,"svg",(function(){return E}));const i=globalThis.trustedTypes,a=i?i.createPolicy("lit-html",{createHTML:e=>e}):void 0,o=`lit$${(Math.random()+"").slice(9)}$`,s="?"+o,u=`<${s}>`,l=document,c=(e="")=>l.createComment(e),d=e=>null===e||"object"!=typeof e&&"function"!=typeof e,p=Array.isArray,f=e=>{var t;return p(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},h=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,g=/>/g,v=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,y=/'/g,b=/"/g,w=/^(?:script|style|textarea|title)$/i,x=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),k=x(1),E=x(2),C=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),S=new WeakMap,A=(e,t,n)=>{var r,i;const a=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let o=a._$litPart$;if(void 0===o){const e=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;a._$litPart$=o=new F(t.insertBefore(c(),e),e,void 0,null!=n?n:{})}return o._$AI(e),o},T=l.createTreeWalker(l,129,null,!1),P=(e,t)=>{const n=e.length-1,r=[];let i,s=2===t?"<svg>":"",l=h;for(let t=0;t<n;t++){const n=e[t];let a,c,d=-1,p=0;for(;p<n.length&&(l.lastIndex=p,c=l.exec(n),null!==c);)p=l.lastIndex,l===h?"!--"===c[1]?l=m:void 0!==c[1]?l=g:void 0!==c[2]?(w.test(c[2])&&(i=RegExp("</"+c[2],"g")),l=v):void 0!==c[3]&&(l=v):l===v?">"===c[0]?(l=null!=i?i:h,d=-1):void 0===c[1]?d=-2:(d=l.lastIndex-c[2].length,a=c[1],l=void 0===c[3]?v:'"'===c[3]?b:y):l===b||l===y?l=v:l===m||l===g?l=h:(l=v,i=void 0);const f=l===v&&e[t+1].startsWith("/>")?" ":"";s+=l===h?n+u:d>=0?(r.push(a),n.slice(0,d)+"$lit$"+n.slice(d)+o+f):n+o+(-2===d?(r.push(void 0),t):f)}const c=s+(e[n]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(c):c,r]};class D{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let a=0,u=0;const l=e.length-1,d=this.parts,[p,f]=P(e,t);if(this.el=D.createElement(p,n),T.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=T.nextNode())&&d.length<l;){if(1===r.nodeType){if(r.hasAttributes()){const e=[];for(const t of r.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(o)){const n=f[u++];if(e.push(t),void 0!==n){const e=r.getAttribute(n.toLowerCase()+"$lit$").split(o),t=/([.?@])?(.*)/.exec(n);d.push({type:1,index:a,name:t[2],strings:e,ctor:"."===t[1]?R:"?"===t[1]?L:"@"===t[1]?M:N})}else d.push({type:6,index:a})}for(const t of e)r.removeAttribute(t)}if(w.test(r.tagName)){const e=r.textContent.split(o),t=e.length-1;if(t>0){r.textContent=i?i.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],c()),T.nextNode(),d.push({type:2,index:++a});r.append(e[t],c())}}}else if(8===r.nodeType)if(r.data===s)d.push({type:2,index:a});else{let e=-1;for(;-1!==(e=r.data.indexOf(o,e+1));)d.push({type:7,index:a}),e+=o.length-1}a++}}static createElement(e,t){const n=l.createElement("template");return n.innerHTML=e,n}}function O(e,t,n=e,r){var i,a,o,s;if(t===C)return t;let u=void 0!==r?null===(i=n._$Cl)||void 0===i?void 0:i[r]:n._$Cu;const l=d(t)?void 0:t._$litDirective$;return(null==u?void 0:u.constructor)!==l&&(null===(a=null==u?void 0:u._$AO)||void 0===a||a.call(u,!1),void 0===l?u=void 0:(u=new l(e),u._$AT(e,n,r)),void 0!==r?(null!==(o=(s=n)._$Cl)&&void 0!==o?o:s._$Cl=[])[r]=u:n._$Cu=u),void 0!==u&&(t=O(e,u._$AS(e,t.values),u,r)),t}class I{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:n},parts:r}=this._$AD,i=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:l).importNode(n,!0);T.currentNode=i;let a=T.nextNode(),o=0,s=0,u=r[0];for(;void 0!==u;){if(o===u.index){let t;2===u.type?t=new F(a,a.nextSibling,this,e):1===u.type?t=new u.ctor(a,u.name,u.strings,this,e):6===u.type&&(t=new U(a,this,e)),this.v.push(t),u=r[++s]}o!==(null==u?void 0:u.index)&&(a=T.nextNode(),o++)}return i}m(e){let t=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class F{constructor(e,t,n,r){var i;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cg=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=O(this,e,t),d(e)?e===_||null==e||""===e?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==C&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.S(e):f(e)?this.A(e):this.$(e)}M(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}S(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==_&&d(this._$AH)?this._$AA.nextSibling.data=e:this.S(l.createTextNode(e)),this._$AH=e}T(e){var t;const{values:n,_$litType$:r}=e,i="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=D.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===i)this._$AH.m(n);else{const e=new I(i,this),t=e.p(this.options);e.m(n),this.S(t),this._$AH=e}}_$AC(e){let t=S.get(e.strings);return void 0===t&&S.set(e.strings,t=new D(e)),t}A(e){p(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const i of e)r===t.length?t.push(n=new F(this.M(c()),this.M(c()),this,this.options)):n=t[r],n._$AI(i),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class N{constructor(e,t,n,r,i){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,r){const i=this.strings;let a=!1;if(void 0===i)e=O(this,e,t,0),a=!d(e)||e!==this._$AH&&e!==C,a&&(this._$AH=e);else{const r=e;let o,s;for(e=i[0],o=0;o<i.length-1;o++)s=O(this,r[n+o],t,o),s===C&&(s=this._$AH[o]),a||(a=!d(s)||s!==this._$AH[o]),s===_?e=_:e!==_&&(e+=(null!=s?s:"")+i[o+1]),this._$AH[o]=s}a&&!r&&this.k(e)}k(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class R extends N{constructor(){super(...arguments),this.type=3}k(e){this.element[this.name]=e===_?void 0:e}}const j=i?i.emptyScript:"";class L extends N{constructor(){super(...arguments),this.type=4}k(e){e&&e!==_?this.element.setAttribute(this.name,j):this.element.removeAttribute(this.name)}}class M extends N{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){var n;if((e=null!==(n=O(this,e,t,0))&&void 0!==n?n:_)===C)return;const r=this._$AH,i=e===_&&r!==_||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==_&&(r===_||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==n?n:this.element,e):this._$AH.handleEvent(e)}}class U{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){O(this,e)}}const B={P:"$lit$",V:o,L:s,I:1,N:P,R:I,D:f,j:O,H:F,O:N,F:L,B:M,W:R,Z:U},H=window.litHtmlPolyfillSupport;null==H||H(D,F),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.1.3")},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r=n(6),i=n.n(r),a=n(7),o=n.n(a),s=n(5),u=n.n(s),l=n(19),c=n.n(l),d=n(27),p=n.n(d),f=n(13),h=n.n(f),m=n(1),g=n.n(m),v=n(32),y=n(22),b=n(2),w=n(8);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h()(e);if(t){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var k=function(e){c()(n,e);var t=x(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i()(this,n),e=t.call(this,r),g()(u()(e),"termType",b.t),g()(u()(e),"base","varid:"),g()(u()(e),"classOrder",v.a.Variable),g()(u()(e),"isVar",1),g()(u()(e),"uri",void 0),e.base="varid:",e.uri=w.join(r,e.base),e}return o()(n,[{key:"equals",value:function(e){return!!e&&(this.termType===e.termType&&this.value===e.value)}},{key:"hashString",value:function(){return this.toString()}},{key:"substitute",value:function(e){var t;return null!=(t=e[this.toNT()])?t:this}},{key:"toString",value:function(){return n.toString(this)}}],[{key:"toString",value:function(e){return e.uri.slice(0,e.base.length)===e.base?"?".concat(e.uri.slice(e.base.length)):"?".concat(e.uri)}}]),n}(y.a)},function(e,t,n){"use strict";const r={};e.exports=r,r.isArray=Array.isArray,r.isBoolean=e=>"boolean"==typeof e||"[object Boolean]"===Object.prototype.toString.call(e),r.isDouble=e=>r.isNumber(e)&&(-1!==String(e).indexOf(".")||Math.abs(e)>=1e21),r.isEmptyObject=e=>r.isObject(e)&&0===Object.keys(e).length,r.isNumber=e=>"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e),r.isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),r.isObject=e=>"[object Object]"===Object.prototype.toString.call(e),r.isString=e=>"string"==typeof e||"[object String]"===Object.prototype.toString.call(e),r.isUndefined=e=>void 0===e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.style=void 0;var r={checkboxStyle:"colour: black; font-size: 100%; padding-left: 0.5 em; padding-right: 0.5 em;",checkboxInputStyle:"font-size: 150%; height: 1.2em; width: 1.2em; background-color: #eef; border-radius:0.2em; margin: 0.1em",fieldLabelStyle:"color: #3B5998; text-decoration: none;",formSelectSTyle:"background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.2em;",textInputStyle:"background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.2em;",textInputStyleUneditable:"background-color: white; padding: 0.5em; border: .05em solid white; border-radius:0.2em; font-size: 100%; margin:0.2em;",textInputSize:20,buttonStyle:"background-color: #fff; padding: 0.7em; border: .01em solid white; border-radius:0.2em; font-size: 100%; margin: 0.3em;",commentStyle:"padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;",iconStyle:"width: 3em; height: 3em; margin: 0.1em; border-radius: 1em;",smallButtonStyle:"margin: 0.2em; width: 1em; height:1em;",classIconStyle:"width: 3em; height: 3em; margin: 0.1em; border-radius: 0.2em; border: 0.1em solid green; padding: 0.2em; background-color: #efe;",confirmPopupStyle:"padding: 0.7em; border-radius: 0.2em; border: 0.1em solid orange; background-color: white; box-shadow: 0.5em 0.9em #888;",tabBorderRadius:"0.2em",messageBodyStyle:"white-space: pre-wrap; width: 99%; font-size:100%; border: 0.07em solid #eee; border-radius:0.2em; padding: .3em 0.5em; margin: 0.1em;",pendingeditModifier:"color: #bbb;",highlightColor:"#7C4DFF",personaBarStyle:"width: 100%; height: 4em; background-color: #eee; vertical-align: middle;",searchInputStyle:"border: 0.1em solid #444; border-radius: 0.2em; width: 100%; font-size: 100%; padding: 0.1em 0.6em; margin 0.2em;",autocompleteRowStyle:"border: 0.2em solid straw;",signInButtonStyle:"padding: 1em; border-radius:0.2em; font-size: 100%;",heading1Style:"font-size: 180%; font-weight: bold; color: #888888; padding: 0.5em; margin: 0.7em 0.0m;",heading2Style:"font-size: 130%; font-weight: bold; color: #888888; padding: 0.4em; margin: 0.7em 0.0em;",heading3Style:"font-size: 120%; font-weight: bold; color: #888888; padding: 0.3em; margin: 0.7em 0.0em;",heading4Style:"font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;",formBorderColor:"#888888",formHeadingColor:"#888888",formHeadingStyle:"font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;",formTextInput:"font-size: 100%; margin: 0.1em; padding: 0.1em;",formGroupStyle:["padding-left: 0em; border: 0.0em solid ".concat("#888888","; border-radius: 0.2em;"),"padding-left: 2em; border: 0.05em solid ".concat("#888888","; border-radius: 0.2em;"),"padding-left: 2em; border: 0.1em solid ".concat("#888888","; border-radius: 0.2em;"),"padding-left: 2em; border: 0.2em solid ".concat("#888888","; border-radius: 0.2em;")],formFieldLabelStyle:"'color: ".concat("#3B5998","; text-decoration: none;'"),formFieldNameBoxWidth:"8em",formFieldNameBoxStyle:"padding: 0.3em; vertical-align: middle; width:".concat("8em",";"),textInputBackgroundColor:"#eef",textInputBackgroundColorUneditable:"#fff",textInputColor:"#000",textInputColorPending:"#888",multilineTextInputStyle:"font-size:100%; white-space: pre-wrap; background-color: #eef; border: 0.07em solid gray; padding: 1em 0.5em; margin: 1em 1em;",renderAsDivStyle:"display: flex; align-items: center; justify-content: space-between; height: 2.5em; padding: 1em;",imageDivStyle:"width:2.5em; padding:0.5em; height: 2.5em;",linkDivStyle:"width:2em; padding:0.5em; height: 4em;"};t.style=r,r.setStyle=function(e,t){e.style=r[t]},e.exports=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return U}));var r=n(6),i=n.n(r),a=n(7),o=n.n(a),s=n(5),u=n.n(s),l=n(19),c=n.n(l),d=n(27),p=n.n(d),f=n(13),h=n.n(f),m=n(1),g=n.n(m),v=n(32),y=n(55),b=n(84),w=n(31),x=n(18),k=n(10),E=n(47),C=n(42),_=n(65),S=n(2),A=n(12),T=n(4),P=n(38),D=n(66),O=n(35);function I(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h()(e);if(t){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var R="http://www.w3.org/2002/07/owl#";function j(e,t,n,r){var i=e.any(t,n,void 0);return!!i&&(e.equate(i,r),!0)}function L(e,t,n,r){var i=e.any(void 0,n,r);return!!i&&(e.equate(i,t),!0)}function M(e,t,n,r,i){e.typeCallback&&e.typeCallback(e,r,i);var a=e.classActions[e.id(r)],o=!1;if(a)for(var s=0;s<a.length;s++)o=o||a[s](e,t,n,r,i);return o}var U=function(e){c()(n,e);var t=N(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i()(this,n),r=t.call(this,void 0,void 0,void 0,void 0,a),g()(u()(r),"updater",void 0),g()(u()(r),"namespaces",void 0),g()(u()(r),"classActions",void 0),g()(u()(r),"propertyActions",void 0),g()(u()(r),"redirections",void 0),g()(u()(r),"aliases",void 0),g()(u()(r),"HTTPRedirects",void 0),g()(u()(r),"subjectIndex",void 0),g()(u()(r),"predicateIndex",void 0),g()(u()(r),"objectIndex",void 0),g()(u()(r),"whyIndex",void 0),g()(u()(r),"index",void 0),g()(u()(r),"features",void 0),g()(u()(r),"_universalVariables",void 0),g()(u()(r),"_existentialVariables",void 0),g()(u()(r),"rdfArrayRemove",void 0),g()(u()(r),"dataCallbacks",void 0),r.propertyActions={},r.classActions={},r.redirections=[],r.aliases=[],r.HTTPRedirects=[],r.subjectIndex=[],r.predicateIndex=[],r.objectIndex=[],r.whyIndex=[],r.index=[r.subjectIndex,r.predicateIndex,r.objectIndex,r.whyIndex],r.namespaces={},r.features=e||[],r.rdfArrayRemove=a.rdfArrayRemove||x.RDFArrayRemove,a.dataCallback&&(r.dataCallbacks=[a.dataCallback]),r.initPropertyActions(r.features),r}return o()(n,[{key:"substitute",value:function(e){var t=this.statements.map((function(t){return t.substitute(e)})),r=new n;return r.add(t),r}},{key:"addDataCallback",value:function(e){this.dataCallbacks||(this.dataCallbacks=[]),this.dataCallbacks.push(e)}},{key:"applyPatch",value:function(e,t,n){var r,i=this,a=null;function o(o){if(e.delete){r=e.delete,a&&(r=r.substitute(a)),r=r.statements;var s=[],u=r.map((function(e){var n=i.statementsMatching(e.subject,e.predicate,e.object,t);return 0===n.length?(s.push(e),null):n[0]}));if(s.length)return n("Could not find to delete: "+s.join("\n or "));u.map((function(e){i.remove(e)}))}e.insert&&(r=e.insert,a&&(r=r.substitute(a)),(r=r.statements).map((function(e){e.graph=t,i.add(e.subject,e.predicate,e.object,e.graph)}))),o()}if(e.where){var s=new _.a("patch");s.pat=e.where,s.pat.statements.map((function(e){e.graph=Object(T.namedNode)(t.value)})),s.sync=!0;var u=[];i.query(s,(function(e){u.push(e)}),i.fetcher,(function(){return 0===u.length?n("No match found to be patched:"+e.where):u.length>1?n("Patch ambiguous. No patch done."):(a=u[0],void o(n))}))}else o(n)}},{key:"declareExistential",value:function(e){return this._existentialVariables||(this._existentialVariables=[]),this._existentialVariables.push(e),e}},{key:"initPropertyActions",value:function(e){this.propertyActions[this.rdfFactory.id(this.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"))]=[M],Object(w.a)(e,"sameAs")>=0&&(this.propertyActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(R,"sameAs")))]=[function(e,t,n,r,i){return e.equate(t,r),!0}]),Object(w.a)(e,"InverseFunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(R,"InverseFunctionalProperty")))]=[function(e,t,n,r,i){return e.newPropertyAction(t,L)}]),Object(w.a)(e,"FunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(R,"FunctionalProperty")))]=[function(e,t,n,r,i){return e.newPropertyAction(t,j)}])}},{key:"addStatement",value:function(e){return this.add(e.subject,e.predicate,e.object,e.graph),this.statements.length}},{key:"add",value:function(e,t,n,r){var i,a,o;if(1===arguments.length){if(e instanceof Array)for(i=0;i<e.length;i++)this.add(e[i]);else Object(k.g)(e)?this.add(e.subject,e.predicate,e.object,e.graph):Object(k.k)(e)&&this.add(e.statements);return this}r||(r=this.fetcher?this.fetcher.appNode:this.rdfFactory.defaultGraph()),"string"==typeof e&&(e=this.rdfFactory.namedNode(e)),t=E.a.fromValue(t);var s=E.a.fromValue(n);if(r=E.a.fromValue(r),!Object(k.l)(e))throw new Error("Subject is not a subject type");if(!Object(k.f)(t))throw new Error("Predicate ".concat(t," is not a predicate type"));if(!Object(k.i)(s))throw new Error("Object ".concat(s," is not an object type"));if(!Object(k.c)(r))throw new Error("Why is not a graph type");this.predicateCallback&&this.predicateCallback(this,t,r);var u=this.id(this.canon(t)),l=!1;if(a=this.propertyActions[u])for(i=0;i<a.length;i++)l=l||a[i](this,e,t,s,r);if(this.holds(e,t,s,r))return null;var c=[this.id(this.canon(e)),u,this.id(this.canon(s)),this.id(this.canon(r))];for(o=this.rdfFactory.quad(e,t,s,r),i=0;i<4;i++){var d=this.index[i],p=c[i];d[p]||(d[p]=[]),d[p].push(o)}if(this.statements.push(o),this.dataCallbacks){var f,h=I(this.dataCallbacks);try{for(h.s();!(f=h.n()).done;){var m=f.value;m(o)}}catch(e){h.e(e)}finally{h.f()}}return o}},{key:"canon",value:function(e){if(!e)return e;var t=this.redirections[this.id(e)];if(t)return t;switch(e.termType){case S.a:return new P.a(e.value);case S.b:return e;case S.c:return new D.a;case S.d:case S.e:return e;case S.h:return new O.a(e.value,e.language,e.datatype);case S.n:return new A.a(e.value);case S.t:return new C.a(e.value);default:throw new Error("Term Type not recognized for canonization: ".concat(e.termType))}}},{key:"check",value:function(){this.checkStatementList(this.statements);for(var e=0;e<4;e++){var t=this.index[e];for(var n in t)t.hasOwnProperty(n)&&this.checkStatementList(t[n],e)}}},{key:"checkStatementList",value:function(e,t){void 0===t&&(t=0);for(var n,r=" found in "+["subject","predicate","object","why"][t]+" index.",i=0;i<e.length;i++){for(var a=[(n=e[i]).subject,n.predicate,n.object,n.graph],o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].subject.equals(t.subject)&&e[n].predicate.equals(t.predicate)&&e[n].object.equals(t.object)&&e[n].why.equals(t.graph))return!0},s=0;s<4;s++){var u=this.canon(a[s]),l=this.id(u);this.index[s][l]&&o(this.index[s][l],n)}if(!o(this.statements,n))throw new Error("Statement list does not statement "+n+"@"+n.graph+r)}}},{key:"close",value:function(){return this}},{key:"compareTerms",value:function(e,t){return Object.prototype.hasOwnProperty.call(e,"compareTerm")?e.compareTerm(t):v.a[e.termType]<v.a[t.termType]?-1:v.a[e.termType]>v.a[t.termType]?1:e.value<t.value?-1:e.value>t.value?1:0}},{key:"copyTo",value:function(e,t,n){n||(n=[]);var r=this.statementsMatching(e);-1!==Object(w.a)(n,"two-direction")&&r.concat(this.statementsMatching(void 0,void 0,e));for(var i=0;i<r.length;i++){var a=r[i];switch(a.object.termType){case"NamedNode":this.add(t,a.predicate,a.object);break;case"Literal":case"BlankNode":case"Collection":this.add(t,a.predicate,a.object.copy(this))}-1!==Object(w.a)(n,"delete")&&this.remove(a)}}},{key:"equate",value:function(e,t){var n=this.canon(e),r=this.canon(t),i=this.compareTerms(n,r);return!i||(i<0?this.replaceWith(r,n):this.replaceWith(n,r))}},{key:"formula",value:function(e){return new n(e)}},{key:"length",get:function(){return this.statements.length}},{key:"match",value:function(e,t,n,r){return this.statementsMatching(E.a.fromValue(e),E.a.fromValue(t),E.a.fromValue(n),E.a.fromValue(r))}},{key:"mentionsURI",value:function(e){var t="<"+e+">";return!!this.subjectIndex[t]||!!this.objectIndex[t]||!!this.predicateIndex[t]}},{key:"newExistential",value:function(e){if(!e)return this.bnode();var t=this.sym(e);return this.declareExistential(t)}},{key:"newPropertyAction",value:function(e,t){var n=this.id(e);this.propertyActions[n]||(this.propertyActions[n]=[]),this.propertyActions[n].push(t);for(var r=this.statementsMatching(void 0,e,void 0),i=!1,a=0;a<r.length;a++)i=i||t(this,r[a].subject,e,r[a].object);return i}},{key:"newUniversal",value:function(e){var t=this.sym(e);return this._universalVariables||(this._universalVariables=[]),this._universalVariables.push(t),t}},{key:"variable",value:function(e){return new C.a(e)}},{key:"nextSymbol",value:function(e){for(var t=0;;t++){var n=e.value+"#n"+t;if(!this.mentionsURI(n))return this.sym(n)}}},{key:"query",value:function(e,t,n,r){return _.b.call(this,e,t,n,r)}},{key:"querySync",value:function(e){var t=[];var n=!1;if(e.sync=!0,_.b.call(this,e,(function(e){t.push(e)}),null,(function(){n=!0})),!n)throw new Error("Sync query should have called done function");return t}},{key:"remove",value:function(e){if(e instanceof Array){for(var t=0;t<e.length;t++)this.remove(e[t]);return this}if(Object(k.k)(e))return this.remove(e.statements);var n=this.statementsMatching(e.subject,e.predicate,e.object,e.graph);if(!n.length)throw new Error("Statement to be removed is not on store: "+e);return this.removeStatement(n[0]),this}},{key:"removeDocument",value:function(e){for(var t=this.statementsMatching(void 0,void 0,void 0,e).slice(),n=0;n<t.length;n++)this.removeStatement(t[n]);return this}},{key:"removeMany",value:function(e,t,n,r,i){for(var a=this.statementsMatching(e,t,n,r,!1),o=[],s=0;s<a.length;s++)o.push(a[s]);for(i&&(o=o.slice(0,i)),s=0;s<o.length;s++)this.remove(o[s])}},{key:"removeMatches",value:function(e,t,n,r){return this.removeStatements(this.statementsMatching(e,t,n,r)),this}},{key:"removeStatement",value:function(e){for(var t=[e.subject,e.predicate,e.object,e.graph],n=0;n<4;n++){var r=this.canon(t[n]),i=this.id(r);this.index[n][i]&&this.rdfArrayRemove(this.index[n][i],e)}return this.rdfArrayRemove(this.statements,e),this}},{key:"removeStatements",value:function(e){for(var t=0;t<e.length;t++)this.remove(e[t]);return this}},{key:"replaceWith",value:function(e,t){for(var n=this.id(e),r=this.id(t),i=function(e){var t=e[n];if(t){var i=e[r];e[r]=i?t.concat(i):t,delete e[n]}},a=0;a<4;a++)i(this.index[a]);if(this.redirections[n]=t,e.value){if(this.aliases[r]||(this.aliases[r]=[]),this.aliases[r].push(e),this.aliases[n])for(a=0;a<this.aliases[n].length;a++)this.redirections[this.id(this.aliases[n][a])]=t,this.aliases[r].push(this.aliases[n][a]);this.add(t,this.sym("http://www.w3.org/2007/ont/link#uri"),e),this.fetcher&&this.fetcher.nowKnownAs(e,t)}return i(this.classActions),i(this.propertyActions),!0}},{key:"allAliases",value:function(e){var t=this.aliases[this.id(this.canon(e))]||[];return t.push(this.canon(e)),t}},{key:"sameThings",value:function(e,t){if(e.equals(t))return!0;var n=this.canon(e);if(!n)return!1;var r=this.canon(t);return!!r&&n.value===r.value}},{key:"setPrefixForURI",value:function(e,t){"tab"===e&&this.namespaces.tab||"ns"!==e.slice(0,2)&&"default"!==e.slice(0,7)&&(this.namespaces[e]=t)}},{key:"statementsMatching",value:function(e,t,n,r,i){var a,o,s=[e,t,n,r],u=[],l=[],c=[],d=[];for(a=0;a<4;a++)u[a]=this.canon(E.a.fromValue(s[a])),u[a]?(d.push(a),l[a]=this.id(u[a])):c.push(a);if(0===d.length)return this.statements;if(1===d.length)return a=d[0],(o=this.index[a][l[a]])&&i&&o.length>1&&(o=o.slice(0,1)),o=o||[];var p,f,h=1e10;for(f=0;f<d.length;f++){if(a=d[f],!(o=this.index[a][l[a]]))return[];o.length<h&&(h=o.length,p=f)}for(var m=d[p],g=this.index[m][l[m]],v=d.slice(0,p).concat(d.slice(p+1)),y=[],b=["subject","predicate","object","why"],w=0;w<g.length;w++){var x=g[w];for(f=0;f<v.length;f++)if(a=v[f],!this.canon(x[b[a]]).equals(u[a])){x=null;break}if(null!=x&&(y.push(x),i))break}return y}},{key:"uris",value:function(e){var t=this.canon(e),n=this.aliases[this.id(t)];if(!t.value)return[];var r=[t.value];if(n)for(var i=0;i<n.length;i++)r.push(n[i].uri);return r}}],[{key:"defaultGraphURI",get:function(){return y.a}}]),n}(b.a);g()(U,"handleRDFType",void 0),U.handleRDFType=M},function(e,t,n){"use strict";function r(e){return"string"==typeof e?e:e.value}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(56),i=n(22),a=n(24),o=n(10);i.a.fromValue=r.b,t.a=i.a;var s={xsd:Object(a.a)("http://www.w3.org/2001/XMLSchema#")};i.a.toJS=function(e){return Object(o.b)(e)?e.elements.map(i.a.toJS):Object(o.d)(e)?e.datatype.equals(s.xsd("boolean"))?"1"===e.value||"true"===e.value:e.datatype.equals(s.xsd("dateTime"))||e.datatype.equals(s.xsd("date"))?new Date(e.value):e.datatype.equals(s.xsd("integer"))||e.datatype.equals(s.xsd("float"))||e.datatype.equals(s.xsd("decimal"))?Number(e.value):e.value:e}},function(e,t,n){"use strict";const r=n(52),i=n(43),a=n(102).IdentifierIssuer,o=n(50),s=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,u=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,l=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,c={accept:"application/ld+json, application/json"},d={};e.exports=d,d.IdentifierIssuer=a,d.clone=function(e){if(e&&"object"==typeof e){let t;if(i.isArray(e)){t=[];for(let n=0;n<e.length;++n)t[n]=d.clone(e[n])}else if(e instanceof Map){t=new Map;for(const[n,r]of e)t.set(n,d.clone(r))}else if(e instanceof Set){t=new Set;for(const n of e)t.add(d.clone(n))}else if(i.isObject(e)){t={};for(const n in e)t[n]=d.clone(e[n])}else t=e.toString();return t}return e},d.asArray=function(e){return Array.isArray(e)?e:[e]},d.buildHeaders=(e={})=>{if(Object.keys(e).some(e=>"accept"===e.toLowerCase()))throw new RangeError('Accept header may not be specified; only "'+c.accept+'" is supported.');return Object.assign({Accept:c.accept},e)},d.parseLinkHeader=e=>{const t={},n=e.match(s);for(let e=0;e<n.length;++e){let r=n[e].match(u);if(!r)continue;const i={target:r[1]},a=r[2];for(;r=l.exec(a);)i[r[1]]=void 0===r[2]?r[3]:r[2];const o=i.rel||"";Array.isArray(t[o])?t[o].push(i):t.hasOwnProperty(o)?t[o]=[t[o],i]:t[o]=i}return t},d.validateTypeValue=(e,t)=>{if(!(i.isString(e)||i.isArray(e)&&e.every(e=>i.isString(e)))){if(t&&i.isObject(e))switch(Object.keys(e).length){case 0:return;case 1:if("@default"in e&&d.asArray(e["@default"]).every(e=>i.isString(e)))return}throw new o('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:e})}},d.hasProperty=(e,t)=>{if(e.hasOwnProperty(t)){const n=e[t];return!i.isArray(n)||n.length>0}return!1},d.hasValue=(e,t,n)=>{if(d.hasProperty(e,t)){let a=e[t];const o=r.isList(a);if(i.isArray(a)||o){o&&(a=a["@list"]);for(let e=0;e<a.length;++e)if(d.compareValues(n,a[e]))return!0}else if(!i.isArray(n))return d.compareValues(n,a)}return!1},d.addValue=(e,t,n,r)=>{if("propertyIsArray"in(r=r||{})||(r.propertyIsArray=!1),"valueIsArray"in r||(r.valueIsArray=!1),"allowDuplicate"in r||(r.allowDuplicate=!0),"prependValue"in r||(r.prependValue=!1),r.valueIsArray)e[t]=n;else if(i.isArray(n)){0===n.length&&r.propertyIsArray&&!e.hasOwnProperty(t)&&(e[t]=[]),r.prependValue&&(n=n.concat(e[t]),e[t]=[]);for(let i=0;i<n.length;++i)d.addValue(e,t,n[i],r)}else if(e.hasOwnProperty(t)){const a=!r.allowDuplicate&&d.hasValue(e,t,n);i.isArray(e[t])||a&&!r.propertyIsArray||(e[t]=[e[t]]),a||(r.prependValue?e[t].unshift(n):e[t].push(n))}else e[t]=r.propertyIsArray?[n]:n},d.getValues=(e,t)=>[].concat(e[t]||[]),d.removeProperty=(e,t)=>{delete e[t]},d.removeValue=(e,t,n,r)=>{"propertyIsArray"in(r=r||{})||(r.propertyIsArray=!1);const i=d.getValues(e,t).filter(e=>!d.compareValues(e,n));0===i.length?d.removeProperty(e,t):1!==i.length||r.propertyIsArray?e[t]=i:e[t]=i[0]},d.relabelBlankNodes=(e,t)=>function e(t,n){if(i.isArray(n))for(let r=0;r<n.length;++r)n[r]=e(t,n[r]);else if(r.isList(n))n["@list"]=e(t,n["@list"]);else if(i.isObject(n)){r.isBlankNode(n)&&(n["@id"]=t.getId(n["@id"]));const i=Object.keys(n).sort();for(let r=0;r<i.length;++r){const a=i[r];"@id"!==a&&(n[a]=e(t,n[a]))}}return n}((t=t||{}).issuer||new a("_:b"),e),d.compareValues=(e,t)=>e===t||(!(!r.isValue(e)||!r.isValue(t)||e["@value"]!==t["@value"]||e["@type"]!==t["@type"]||e["@language"]!==t["@language"]||e["@index"]!==t["@index"])||!!(i.isObject(e)&&"@id"in e&&i.isObject(t)&&"@id"in t)&&e["@id"]===t["@id"]),d.compareShortestLeast=(e,t)=>e.length<t.length?-1:t.length<e.length?1:e===t?0:e<t?-1:1},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
@@ -103,7 +103,7 @@ object-assign
103
103
  (c) Sindre Sorhus
104
104
  @license MIT
105
105
  */var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=o(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))i.call(n,c)&&(u[c]=n[c]);if(r){s=r(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(u[s[d]]=n[s[d]])}}return u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPersonAttribution=t.isLinkAttribution=void 0,t.isLinkAttribution=function(e){return"LinkAttribution"===e.discriminator},t.isPersonAttribution=function(e){return"PersonAttribution"===e.discriminator}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.fetchAttribution=t.readAttribution=void 0;var a=n(0),o=n(4);function s(e,t){return e instanceof o.NamedNode?function(e){var t=a.ns.as("Person").uri,n=a.ns.foaf("Person").uri,r=a.ns.vcard("Individual").uri,i=a.ns.schema("Person").uri;return e[t]||e[n]||e[r]||e[i]}(t.findTypeURIs(e))?function(e,t){var n=e.anyValue(t,a.ns.as("name"))||e.anyValue(t,a.ns.foaf("name"))||e.anyValue(t,a.ns.vcard("fn"))||e.anyValue(t,a.ns.schema("name"))||"",r=function(e,t){var n=e.anyValue(t,a.ns.as("image"));if(n)return e.anyValue((0,o.sym)(n),a.ns.as("url"))||void 0;return e.anyValue(t,a.ns.foaf("img"))||e.anyValue(t,a.ns.vcard("hasPhoto"))||void 0}(e,t);return{discriminator:"PersonAttribution",webId:t.uri,name:n,imageSrc:r}}(t,e):{discriminator:"LinkAttribution",uri:e.uri}:{discriminator:"NoAttribution"}}t.readAttribution=function(e,t){return s(t.any(e,a.ns.as("attributedTo")),t)},t.fetchAttribution=function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return n=(0,o.sym)(e.uri),[4,t.fetcher.load(n)];case 1:return r.sent(),[2,s(n,t)]}}))}))}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var o=e.apply(t,n);function s(e){r(o,i,a,s,u,"next",e)}function u(e){r(o,i,a,s,u,"throw",e)}s(void 0)}))}}var a=n(0),o=a.ns,s=n(4),u=o.meeting("LongChat"),l=a.style.sidebarComponentStyle||" padding: 0.5em; width: 100%;",c=a.style.sidebarStyle||"overflow-x: auto; overflow-y: auto; border-radius: 1em; border: 0.1em solid white;";e.exports={CHAT_LOCATION_IN_CONTAINER:"index.ttl#this",icon:a.icons.iconBase+"noun_1689339.svg",name:"long chat",label:function(e,t){var n=t.session.store;return n.holds(e,o.rdf("type"),o.meeting("LongChat"))?"Chat channnel":n.any(e,o.sioc("content"))&&n.any(e,o.dct("created"))?"message":null},mintClass:u,mintNew:function(e,t){var n=e.session.store,r=n.updater;if(t.me&&!t.me.uri)throw new Error("chat mintNew: Invalid userid "+t.me);var i=t.newInstance=t.newInstance||n.sym(t.newBase+"index.ttl#this"),a=i.doc();return n.add(i,o.rdf("type"),o.meeting("LongChat"),a),n.add(i,o.dc("title"),"Chat channel",a),n.add(i,o.dc("created"),new Date,a),t.me&&n.add(i,o.dc("author"),t.me,a),new Promise((function(e,i){r.put(a,n.statementsMatching(void 0,void 0,void 0,a),"text/turtle",(function(n,r,a){r?e(t):i(new Error("FAILED to save new chat channel at: "+n+" : "+a))}))}))},render:function(e,t,n){var r=t.dom,d=t.session.store,p=d.sym("https://solid.github.io/solid-panes/longCharPane/preferencesForm.ttl#this"),f=p.doc();d.holds(void 0,void 0,void 0,f)||s.parse('\n @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n @prefix solid: <http://www.w3.org/ns/solid/terms#>.\n @prefix ui: <http://www.w3.org/ns/ui#>.\n @prefix : <#>.\n\n :this\n <http://purl.org/dc/elements/1.1/title> "Chat preferences" ;\n a ui:Form ;\n ui:parts ( :colorizeByAuthor :expandImagesInline :newestFirst :inlineImageHeightEms\n :shiftEnterSendsMessage :authorDateOnLeft :showDeletedMessages).\n\n :colorizeByAuthor a ui:TristateField; ui:property solid:colorizeByAuthor;\n ui:label "Color user input by user".\n\n :expandImagesInline a ui:TristateField; ui:property solid:expandImagesInline;\n ui:label "Expand image URLs inline".\n\n :newestFirst a ui:TristateField; ui:property solid:newestFirst;\n ui:label "Newest messages at the top".\n\n :inlineImageHeightEms a ui:IntegerField; ui:property solid:inlineImageHeightEms;\n ui:label "Inline image height (lines)".\n\n :shiftEnterSendsMessage a ui:TristateField; ui:property solid:shiftEnterSendsMessage;\n ui:label "Shift-Enter sends message".\n\n :authorDateOnLeft a ui:TristateField; ui:property solid:authorDateOnLeft;\n ui:label "Author & date of message on left".\n\n :showDeletedMessages a ui:TristateField; ui:property solid:showDeletedMessages;\n ui:label "Show placeholders for deleted messages".\n',d,f.uri,"text/turtle");var h=d.statementsMatching(null,o.ui.property,null,f).map((function(e){return e.object}));function m(e){return g.apply(this,arguments)}function g(){return(g=i(regeneratorRuntime.mark((function e(t){var n,r,i,o,s,c,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.dom,r=t.noun,(i=n.createElement("div")).appendChild(v(i)),i.style=l,i.style.minWidth="25em",i.style.maxHeight=T,o=i.appendChild(n.createElement("table")),s=o.appendChild(n.createElement("tr")),c=o.appendChild(n.createElement("tr")),!(f=a.authn.currentUser())){e.next=15;break}return e.next=13,a.authn.registrationControl({noun:r,me:f,statusArea:c,dom:n,div:s},_,u);case 13:console.log("Registration control finsished."),i.appendChild(a.preferences.renderPreferencesForm(_,u,p,{noun:r,me:f,statusArea:c,div:i,dom:n,kb:d}));case 15:return e.abrupt("return",i);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){var n=a.widgets.button(t.dom,a.icons.iconBase+"noun_1180156.svg","close",(function(){e.parentNode.removeChild(e)}));return n.style.float="right",n.style.margin="0.7em",delete n.style.backgroundColor,n}function y(){return(y=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(M){e.next=4;break}return e.next=3,m({dom:r,noun:"chat room"});case 3:M=e.sent;case 4:F.contains(M)?(M.parentNode.removeChild(M),M=null):F.appendChild(M);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e,n){var i=r.createElement("div"),o=a.authn.currentUser(),s={div:i,dom:r,noun:n,statusArea:i,me:o,refreshTarget:e},u=[t.session.paneRegistry.byName("chat")];return a.create.newThingUI(s,t,u),i}function w(e,t){return x.apply(this,arguments)}function x(){return(x=i(regeneratorRuntime.mark((function e(t,n){var i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.createElement("div"),o={dom:r,div:i,noun:n},e.next=4,a.authn.registrationList(o,{public:!0,private:!0,type:t});case 4:return i.appendChild(b(i,n)),e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var k,E=null;function C(){return(C=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E){e.next=10;break}return(E=r.createElement("div")).style=l,E.style.maxHeight=T,E.appendChild(v(E)),e.t0=E,e.next=8,w(o.meeting("LongChat"),"chat");case 8:e.t1=e.sent,e.t0.appendChild.call(e.t0,e.t1);case 10:O.contains(E)?E.parentNode.removeChild(E):O.appendChild(E);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var _=e,S=null;if(d.holds(e,o.rdf("type"),o.meeting("LongChat")))console.log("Chat channnel");else if(d.any(e,o.sioc("content"))&&d.any(e,o.dct("created"))&&(console.log("message"),S=e,!(_=d.any(null,o.wf("message"),S))))throw new Error("Message has no link to chatChannel");var A=r.createElement("div"),T="20cm",P=A.appendChild(r.createElement("table"));P.style.maxHeight='12"';var D=P.appendChild(r.createElement("tr")),O=D.appendChild(r.createElement("td")),I=D.appendChild(r.createElement("td")),F=D.appendChild(r.createElement("td")),N=P.appendChild(r.createElement("tr"));O.style=c,O.style.paddingRight="1em",F.style=c,F.style.paddingLeft="1em",N.appendChild(r.createElement("td"));var R=N.appendChild(r.createElement("td"));N.appendChild(r.createElement("td"));var j=a.widgets.button(r,a.icons.iconBase+"noun_339237.svg","participants ...");R.appendChild(j),j.addEventListener("click",(function(e){if(!k){(k=r.createElement("div")).style=l,k.style.maxHeight=T,k.appendChild(v(k));var t=a.authn.currentUser();t||alert("Should be logeed in for partipants panel"),a.pad.manageParticipation(r,k,_.doc(),_,t,{})}O.contains(k)?(k.parentNode.removeChild(k),k=null):O.appendChild(k)}));var L=a.widgets.button(r,a.icons.iconBase+"noun_1689339.svg","List of other chats ...");R.appendChild(L),L.addEventListener("click",(function(e){return C.apply(this,arguments)}));var M=null,U=a.widgets.button(r,a.icons.iconBase+"noun_344563.svg","Setting ...");R.appendChild(U),U.style.float="right",U.addEventListener("click",(function(e){return y.apply(this,arguments)})),A.setAttribute("class","chatPane");var B={infinite:!0},H={noun:"chat room",div:A,dom:r};function q(){return(q=i(regeneratorRuntime.mark((function e(){var t,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.preferences.getPreferencesForClass(_,u,h,H);case 3:t=e.sent,e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),a.widgets.complain(H,e.t0);case 9:for(i in t)B[i.split("#")[1]]=t[i];return S&&(B.selectedMessage=S),n.solo&&(B.solo=!0),e.next=14,a.infiniteMessageArea(r,d,_,B);case 14:(o=e.sent).style.resize="both",o.style.overflow="auto",o.style.maxHeight=T,I.appendChild(o);case 19:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}return H.me=a.authn.currentUser(),function(){return q.apply(this,arguments)}().then(console.log("async - chat pane built")),A}}},function(e,t){function n(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function s(e){n(o,i,a,s,u,"next",e)}function u(e){n(o,i,a,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var r=n(39),i=n(166),a=n.n(i);const{xsd:o}=r.a,s=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,u={"\\":"\\","'":"'",'"':'"',n:"\n",r:"\r",t:"\t",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},l=/[\x00-\x20<>\\"\{\}\|\^\`]/,c={_iri:!0,_unescapedIri:!0,_simpleQuotedString:!0,_langcode:!0,_blank:!0,_newline:!0,_comment:!0,_whitespace:!0,_endOfFile:!0},d=/$0^/;class p{constructor(e){if(this._iri=/^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/,this._unescapedIri=/^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/,this._simpleQuotedString=/^"([^"\\\r\n]*)"(?=[^"])/,this._simpleApostropheString=/^'([^'\\\r\n]*)'(?=[^'])/,this._langcode=/^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i,this._prefix=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/,this._prefixed=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<>]))/,this._variable=/^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<>])/,this._blank=/^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<>]))/,this._number=/^[\-+]?(?:(\d+\.\d*|\.?\d+)[eE][\-+]?|\d*(\.)?)\d+(?=\.?[,;:\s#()\[\]\{\}"'<>])/,this._boolean=/^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<>])/,this._keyword=/^@[a-z]+(?=[\s#<:])/i,this._sparqlKeyword=/^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i,this._shortPredicates=/^a(?=[\s#()\[\]\{\}"'<>])/,this._newline=/^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/,this._comment=/#([^\n\r]*)/,this._whitespace=/^[ \t]+/,this._endOfFile=/^(?:#[^\n\r]*)?$/,e=e||{},this._lineMode=!!e.lineMode){this._n3Mode=!1;for(const e in this)!(e in c)&&this[e]instanceof RegExp&&(this[e]=d)}else this._n3Mode=!1!==e.n3;this._comments=!!e.comments,this._literalClosingPos=0}_tokenizeToEnd(e,t){let n=this._input;const r=this._comments;for(;;){let a,s;for(;a=this._newline.exec(n);)r&&(s=this._comment.exec(a[0]))&&e(null,{line:this._line,type:"comment",value:s[1],prefix:""}),n=n.substr(a[0].length,n.length),this._line++;if(!a&&(a=this._whitespace.exec(n))&&(n=n.substr(a[0].length,n.length)),this._endOfFile.test(n))return t&&(r&&(s=this._comment.exec(n))&&e(null,{line:this._line,type:"comment",value:s[1],prefix:""}),e(n=null,{line:this._line,type:"eof",value:"",prefix:""})),this._input=n;const u=this._line,c=n[0];let d="",p="",f="",h=null,m=0,g=!1;switch(c){case"^":if(n.length<3)break;if("^"!==n[1]){this._n3Mode&&(m=1,d="^");break}if(this._previousMarker="^^",n=n.substr(2),"<"!==n[0]){g=!0;break}case"<":if(h=this._unescapedIri.exec(n))d="IRI",p=h[1];else if(h=this._iri.exec(n)){if(p=this._unescape(h[1]),null===p||l.test(p))return i(this);d="IRI"}else n.length>1&&"<"===n[1]?(d="<<",m=2):this._n3Mode&&n.length>1&&"="===n[1]&&(d="inverse",m=2,p=">");break;case">":n.length>1&&">"===n[1]&&(d=">>",m=2);break;case"_":((h=this._blank.exec(n))||t&&(h=this._blank.exec(n+" ")))&&(d="blank",f="_",p=h[1]);break;case'"':if(h=this._simpleQuotedString.exec(n))p=h[1];else if(({value:p,matchLength:m}=this._parseLiteral(n)),null===p)return i(this);null===h&&0===m||(d="literal",this._literalClosingPos=0);break;case"'":if(!this._lineMode){if(h=this._simpleApostropheString.exec(n))p=h[1];else if(({value:p,matchLength:m}=this._parseLiteral(n)),null===p)return i(this);null===h&&0===m||(d="literal",this._literalClosingPos=0)}break;case"?":this._n3Mode&&(h=this._variable.exec(n))&&(d="var",p=h[0]);break;case"@":"literal"===this._previousMarker&&(h=this._langcode.exec(n))?(d="langcode",p=h[1]):(h=this._keyword.exec(n))&&(d=h[0]);break;case".":if(1===n.length?t:n[1]<"0"||n[1]>"9"){d=".",m=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(h=this._number.exec(n)||t&&(h=this._number.exec(n+" ")))&&(d="literal",p=h[0],f="string"==typeof h[1]?o.double:"string"==typeof h[2]?o.decimal:o.integer);break;case"B":case"b":case"p":case"P":case"G":case"g":(h=this._sparqlKeyword.exec(n))?d=h[0].toUpperCase():g=!0;break;case"f":case"t":(h=this._boolean.exec(n))?(d="literal",p=h[0],f=o.boolean):g=!0;break;case"a":(h=this._shortPredicates.exec(n))?(d="abbreviation",p="a"):g=!0;break;case"=":this._n3Mode&&n.length>1&&(d="abbreviation",">"!==n[1]?(m=1,p="="):(m=2,p=">"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"{":case"}":this._lineMode||(m=1,d=c);break;default:g=!0}if(g&&("@prefix"!==this._previousMarker&&"PREFIX"!==this._previousMarker||!(h=this._prefix.exec(n))?((h=this._prefixed.exec(n))||t&&(h=this._prefixed.exec(n+" ")))&&(d="prefixed",f=h[1]||"",p=this._unescape(h[2])):(d="prefix",p=h[1]||"")),"^^"===this._previousMarker)switch(d){case"prefixed":d="type";break;case"IRI":d="typeIRI";break;default:d=""}if(!d)return t||!/^'''|^"""/.test(n)&&/\n|\r/.test(n)?i(this):this._input=n;const v={line:u,type:d,value:p,prefix:f};e(null,v),this.previousToken=v,this._previousMarker=d,n=n.substr(m||h[0].length,n.length)}function i(t){e(t._syntaxError(/^\S*/.exec(n)[0]))}}_unescape(e){let t=!1;const n=e.replace(s,(e,n,r,i)=>{if("string"==typeof n)return String.fromCharCode(Number.parseInt(n,16));if("string"==typeof r){let e=Number.parseInt(r,16);return e<=65535?String.fromCharCode(Number.parseInt(r,16)):String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e))}return i in u?u[i]:(t=!0,"")});return t?null:n}_parseLiteral(e){if(e.length>=3){const t=e.match(/^(?:"""|"|'''|'|)/)[0],n=t.length;let r=Math.max(this._literalClosingPos,n);for(;(r=e.indexOf(t,r))>0;){let t=0;for(;"\\"===e[r-t-1];)t++;if(t%2==0){const t=e.substring(n,r),i=t.split(/\r\n|\r|\n/).length-1,a=r+n;if(1===n&&0!==i||3===n&&this._lineMode)break;return this._line+=i,{value:this._unescape(t),matchLength:a}}r++}this._literalClosingPos=e.length-n+1}return{value:"",matchLength:0}}_syntaxError(e){this._input=null;const t=new Error(`Unexpected "${e}" on line ${this._line}.`);return t.context={token:void 0,line:this._line,previousToken:this.previousToken},t}_readStartingBom(e){return e.startsWith("\ufeff")?e.substr(1):e}tokenize(t,n){if(this._line=1,"string"==typeof t){if(this._input=this._readStartingBom(t),"function"!=typeof n){const e=[];let t;if(this._tokenizeToEnd((n,r)=>n?t=n:e.push(r),!0),t)throw t;return e}a()(()=>this._tokenizeToEnd(n,!0))}else this._pendingBuffer=null,"function"==typeof t.setEncoding&&t.setEncoding("utf8"),t.on("data",t=>{null!==this._input&&0!==t.length&&(this._pendingBuffer&&(t=e.concat([this._pendingBuffer,t]),this._pendingBuffer=null),128&t[t.length-1]?this._pendingBuffer=t:(void 0===this._input?this._input=this._readStartingBom("string"==typeof t?t:t.toString()):this._input+=t,this._tokenizeToEnd(n,!1)))}),t.on("end",()=>{"string"==typeof this._input&&this._tokenizeToEnd(n,!0)}),t.on("error",n)}}}).call(this,n(198).Buffer)},function(e,t,n){(function(t){/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
106
- let n;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:t):e=>(n||(n=Promise.resolve())).then(e).catch(e=>setTimeout(()=>{throw e},0))}).call(this,n(67))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};t.__esModule=!0,t.renderAutocompleteControl=void 0;var a=n(0),o=n(0),s=n(313),u=n(159),l=a.store,c=o.icons.iconBase+"noun_34653_green.svg",d=o.icons.iconBase+"noun_Search_875351.svg";t.renderAutocompleteControl=function(e,t,n,o){return r(this,void 0,void 0,(function(){function p(e,n){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){return n=e.uri,h(),[2,o(t,n)]}))}))}function f(n){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,a.widgets.askName(e,a.store,E,a.ns.vcard("url"),null,"Solid ID")];case 1:return(n=r.sent())?[2,o(t,n)]:[2]}}))}))}function h(){E.removeChild(k),k=null}function m(t){return r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return k?(E.removeChild(k),k=null,[3,3]):[3,1];case 1:return(k=e.createElement("div")).setAttribute("style","display: flex; flex-flow: wrap;"),n=(t=k).appendChild,[4,(0,s.renderAutoComplete)(e,x,p)];case 2:n.apply(t,[r.sent()]),k.appendChild(y),k.appendChild(b),E.appendChild(k),r.label=3;case 3:return[2]}}))}))}function g(e){return r(this,void 0,void 0,(function(){var n,r,a;return i(this,(function(i){switch(i.label){case 0:n=0,r=e,i.label=1;case 1:return n<r.length?(a=r[n],[4,o(t,a)]):[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))}var v,y,b,w,x,k,E,C;return i(this,(function(r){return v=n.queryParameters||u.wikidataParameters,y=a.widgets.continueButton(e),b=a.widgets.cancelButton(e,h),w=n.class,x={queryParams:v,class:w,acceptButton:y,cancelButton:b},k=null,(n=n||{}).editable=l.updater.editable(t.doc().uri,l),(E=e.createElement("div")).setAttribute("style","display: flex; flex-flow: wrap;"),n.editable&&(E.style.width="100%",C=E.appendChild(a.widgets.button(e,c,n.idNoun,f)),a.widgets.makeDropTarget(C,g,null),n.dbLookup&&E.appendChild(a.widgets.button(e,d,n.idNoun,m))),[2,E]}))}))}},function(e,t){e.exports='\n# This turtle file defined the forms usied in the contacts management\n#\n# Indivduals and orgs are in one file as they both\n# share some forms (address etc) and also interact (roles)\n\n# Now hand-edited, was originally made using form editor.\n# Forms documentaion: https://solid.github.io/solid-ui/Documentation/forms-intro.html\n\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix dct: <http://purl.org/dc/terms/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix prov: <http://www.w3.org/ns/prov#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix : <#>.\n\n# Ontology additions or interpretations needed for the form to work well\n\n# The ontology file doesn\'t make them disjoint. This makes the selector be a choice.\nvcard:TelephoneType owl:disjointUnionOf ( vcard:Cell vcard:Home vcard:Work) .\nvcard:Type owl:disjointUnionOf (vcard:Home vcard:Work) . # for email\n\n# Better field labels\nvcard:Cell ui:label "mobile"@en . # app will imake nitial caps if nec\nvcard:hasAddress ui:label "address"@en .\nvcard:bday ui:label "born"@en.\nvcard:hasEmail ui:label "email"@en .\nvcard:hasTelephone ui:label "phone"@en .\nvcard:note ui:label "notes"@en .\n\n\n\n# Ontology data to drive a top classifier\n\nfoaf:Agent owl:disjointUnionOf (\n vcard:Individual\n # @@ schema:robot @@ schem:SoftwareApplication, n0:Agent, n0:Person,\n prov:SoftwareAgent\n # vcard:Group a group of agents is not (currently) an agent itself.\n # You can\'t get a decision out of it so it can\'t own a bank account\n vcard:Organization\n).\n\n\n# Ontology data to drive the classifier\n\nsolid:InterestingOrganization owl:disjointUnionOf (\n# Airline - a Corpration\n# Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization\n# FundingScheme - eh?\n schema:GovernmentOrganization\n# LibrarySystem\n# LocalBusiness - Corporation\n schema:MedicalOrganization\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\n schema:MusicGroup # e.g. a band\n schema:Project # like Solid\n schema:SportsOrganization # a Team\n ) .\n\n#########################################################\n# The forms themselves\n\nfoaf:Agent ui:creationForm :AgentForm .\n\n:AgentForm a ui:Form; schema:name "Form for editing a agent" ;\n ui:parts ( :AgentClassifier :AgentOptions ) .\n\n :AgentClassifier a ui:Classifier; ui:label "What sort of agent?"@en;\n ui:category foaf:Agent .\n\n:AgentOptions a ui:Options; ui:dependingon rdf:type;\n ui:case [ ui:for vcard:Individual; ui:use :form1 ],\n [ ui:for vcard:Organization; ui:use :orgDetailsForm ],\n [ ui:for prov:SoftwareAgent; ui:use :robotDetailsForm ] .\n\n# Robots\n\n:robotDetailsForm a ui:Form; ui:parts ( ) . # @@@@\n\n# Individual-specific form\n\nvcard:Individual\n ui:creationForm :form1 .\n\n# The addressComment, etc., fields with a comment before each type of field\n# were originally partly because the labels on the fields were clumsy like "hasAddress".\n# This is fixed by adding the ui:label to the properties above, so let\'s try\n# removing the little micro-headings\n\n# For org:\n:orgDetailsForm a ui:Form ; dct:title "Contact details for an organozation";\n ui:parts (\n :OrgClassifier\n\n :fullNameField\n :addresses\n :eMails\n :telephones\n :noteField ) .\n# For individual:\n:form1\n dct:title "Contact Details for a person" ;\n a ui:Form ;\n ui:part\n :fullNameField, :roleField, :orgNameField,\n # :addressesComment,\n :addresses,\n # :emailComment,\n :eMails,\n# :telephoneComment,\n :telephones,\n# :noteComment,\n :noteField ;\n ui:parts (\n :fullNameField :roleField :orgNameField\n # :addressesComment\n :addresses\n # :emailComment\n :eMails\n # :telephoneComment\n :telephones :birthdayField\n # :noteComment\n :noteField ) .\n\n :fullNameField\n a ui:SingleLineTextField ;\n ui:label "Name";\n ui:maxLength "128" ;\n ui:property vcard:fn ;\n ui:size "40" .\n\n :roleField\n a ui:SingleLineTextField ;\n ui:suppressEmptyUneditable true;\n ui:maxLength "128" ;\n ui:property vcard:role ;\n ui:size "40" .\n\n :orgNameField\n a ui:SingleLineTextField ;\n ui:suppressEmptyUneditable true;\n ui:maxLength "128" ;\n ui:property vcard:organization-name ;\n ui:size "40" .\n\n\n:addressesComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n ui:contents "Address" .\n\n\n:addresses\n dct:title "Address details" ;\n a ui:Multiple ;\n ui:part :oneAddress ;\n ui:property vcard:hasAddress .\n\n:oneAddress\n a ui:Group ;\n ui:parts ( :id1409437207443 :id1409437292400 :id1409437421996 :id1409437467649 :id1409437569420 ). # :id1409437646712\n\n:id1409437207443\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:street-address ;\n ui:size "40" .\n\n:id1409437292400\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:locality ;\n ui:size "40" .\n\n:id1409437421996\n a ui:SingleLineTextField ;\n ui:maxLength "25" ;\n ui:property vcard:postal-code ;\n ui:size "25" .\n\n:id1409437467649\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:region ;\n ui:size "40" .\n\n:id1409437569420\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:country-name ;\n ui:size "40" .\n\n:id1409437646712\n a ui:Classifier ;\n ui:from rdf:Class ;\n ui:property rdf:type .\n\n\n##############################\n\n:emailComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n\n ui:contents "Email" .\n\n\n:eMails\n a ui:Multiple ;\n ui:part :oneEMail ;\n ui:property vcard:hasEmail .\n\n:oneEMail\n a ui:Group ; # hint: side by side is good\n ui:part :emailValue, :emailType ;\n ui:parts ( :emailType :emailValue ).\n\n:emailValue\n a ui:EmailField ; ui:label "email";\n ui:property vcard:value ;\n ui:size "50" .\n\n:emailType\n a ui:Classifier ;\n ui:canMintNew "0" ;\n ui:category vcard:Type ;\n ui:from vcard:Type ;\n ui:property rdf:type .\n\n\n##############################\n\n:telephoneComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n ui:contents "Phones" .\n\n\n:telephones\n a ui:Multiple ;\n ui:part :onetelephone ;\n ui:property vcard:hasTelephone .\n\n:onetelephone\n a ui:Group ;\n ui:part :telephoneValue, :telephoneType ;\n ui:parts ( :telephoneType :telephoneValue ).\n\n:telephoneValue\n a ui:PhoneField ;\n ui:property vcard:value ;\n ui:size "50" .\n\n:telephoneType\n a ui:Classifier ;\n ui:canMintNew "0" ;\n ui:category vcard:TelephoneType ;\n ui:from vcard:Type ;\n ui:property rdf:type .\n\n##############################\n\n:birthdayField\n a ui:DateField;\n ui:label "Born";\n ui:suppressEmptyUneditable true;\n ui:property vcard:bday .\n\n##############################\n\n:noteComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n ui:contents "General Notes" .\n\n:noteField\n a ui:MultiLineTextField ;\n ui:suppressEmptyUneditable true;\n\n ui:property vcard:note .\n\n\n############ organization forms\n\n:OrganinizatioCreationForm a ui:Form; schema:name "Form for editing contact details of an organization" ;\n ui:parts ( :OrgClassifier :homePageURIField ) .\n\n\n:OrgClassifier a ui:Classifier; ui:label "What sort of organization?"@en;\n ui:category solid:InterestingOrganization .\n\n\n:instituteNameField\n a ui:SingleLineTextField ;\n ui:label "Intitute Name";\n ui:maxLength "200" ;\n ui:property schema:name ;\n ui:size "80" .\n\n :homePageURIField a ui:NamedNodeURIField;\n ui:property schema:url . # @@ ??\n\n :initituteTypeField a ui:Classifier;\n ui:label "What sort of organization";\n ui:category solid:InterestingOrganization .\n'},function(e,t){e.exports='\n@prefix : <http://www.w3.org/2006/vcard/ns#> .\n@prefix owl: <http://www.w3.org/2002/07/owl#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix xml: <http://www.w3.org/XML/1998/namespace> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:Acquaintance a owl:Class ;\n rdfs:label "Acquaintance"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Agent a owl:Class ;\n rdfs:label "Agent"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:BBS a owl:Class ;\n rdfs:label "BBS"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Car a owl:Class ;\n rdfs:label "Car"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Cell a owl:Class ;\n rdfs:label "Cell"@en ;\n rdfs:comment "Also called mobile telephone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Child a owl:Class ;\n rdfs:label "Child"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Colleague a owl:Class ;\n rdfs:label "Colleague"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Contact a owl:Class ;\n rdfs:label "Contact"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Coresident a owl:Class ;\n rdfs:label "Coresident"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Coworker a owl:Class ;\n rdfs:label "Coworker"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Crush a owl:Class ;\n rdfs:label "Crush"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Date a owl:Class ;\n rdfs:label "Date"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Dom a owl:Class ;\n rdfs:label "Dom"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Emergency a owl:Class ;\n rdfs:label "Emergency"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Fax a owl:Class ;\n rdfs:label "Fax"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Female a owl:Class ;\n rdfs:label "Female"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Friend a owl:Class ;\n rdfs:label "Friend"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Home a owl:Class ;\n rdfs:label "Home"@en ;\n rdfs:comment "This implies that the property is related to an individual\'s personal life"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type .\n\n:ISDN a owl:Class ;\n rdfs:label "ISDN"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Internet a owl:Class ;\n rdfs:label "Internet"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Intl a owl:Class ;\n rdfs:label "Intl"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Kin a owl:Class ;\n rdfs:label "Kin"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Label a owl:Class ;\n rdfs:label "Label"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Male a owl:Class ;\n rdfs:label "Male"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Me a owl:Class ;\n rdfs:label "Me"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Met a owl:Class ;\n rdfs:label "Met"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Modem a owl:Class ;\n rdfs:label "Modem"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Msg a owl:Class ;\n rdfs:label "Msg"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Muse a owl:Class ;\n rdfs:label "Muse"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Neighbor a owl:Class ;\n rdfs:label "Neighbor"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:None a owl:Class ;\n rdfs:label "None"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Other a owl:Class ;\n rdfs:label "Other"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:PCS a owl:Class ;\n rdfs:label "PCS"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Pager a owl:Class ;\n rdfs:label "Pager"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Parcel a owl:Class ;\n rdfs:label "Parcel"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Parent a owl:Class ;\n rdfs:label "Parent"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Postal a owl:Class ;\n rdfs:label "Postal"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Pref a owl:Class ;\n rdfs:label "Pref"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Sibling a owl:Class ;\n rdfs:label "Sibling"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Spouse a owl:Class ;\n rdfs:label "Spouse"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Sweetheart a owl:Class ;\n rdfs:label "Sweetheart"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Tel a owl:Class ;\n rdfs:label "Tel"@en ;\n rdfs:comment "This class is deprecated. Use the hasTelephone object property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:Text a owl:Class ;\n rdfs:label "Text"@en ;\n rdfs:comment "Also called sms telephone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:TextPhone a owl:Class ;\n rdfs:label "Text phone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Unknown a owl:Class ;\n rdfs:label "Unknown"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Video a owl:Class ;\n rdfs:label "Video"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Voice a owl:Class ;\n rdfs:label "Voice"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Work a owl:Class ;\n rdfs:label "Work"@en ;\n rdfs:comment "This implies that the property is related to an individual\'s work place"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type .\n\n:X400 a owl:Class ;\n rdfs:label "X400"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:adr a owl:ObjectProperty ;\n rdfs:label "address"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasAddress .\n\n:agent a owl:ObjectProperty ;\n rdfs:label "agent"@en ;\n rdfs:comment "This object property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:anniversary a owl:DatatypeProperty ;\n rdfs:label "anniversary"@en ;\n rdfs:comment "The date of marriage, or equivalent, of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range [ a rdfs:Datatype ;\n owl:unionOf ( xsd:dateTime xsd:gYear ) ] .\n\n:bday a owl:DatatypeProperty ;\n rdfs:label "birth date"@en ;\n rdfs:comment "To specify the birth date of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range [ a rdfs:Datatype ;\n owl:unionOf ( xsd:dateTime xsd:dateTimeStamp xsd:gYear ) ] .\n\n:category a owl:DatatypeProperty ;\n rdfs:label "category"@en ;\n rdfs:comment "The category information about the object, also known as tags"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:class a owl:DatatypeProperty ;\n rdfs:label "class"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:email a owl:ObjectProperty ;\n rdfs:label "email"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasEmail .\n\n:extended-address a owl:DatatypeProperty ;\n rdfs:label "extended address"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:geo a owl:ObjectProperty ;\n rdfs:label "geo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasGeo .\n\n:hasAdditionalName a owl:ObjectProperty ;\n rdfs:label "has additional name"@en ;\n rdfs:comment "Used to support property parameters for the additional name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarBusy a owl:ObjectProperty ;\n rdfs:label "has calendar busy"@en ;\n rdfs:comment "To specify the busy time associated with the object. (Was called FBURL in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarLink a owl:ObjectProperty ;\n rdfs:label "has calendar link"@en ;\n rdfs:comment "To specify the calendar associated with the object. (Was called CALURI in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarRequest a owl:ObjectProperty ;\n rdfs:label "has calendar request"@en ;\n rdfs:comment "To specify the calendar user address to which a scheduling request be sent for the object. (Was called CALADRURI in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCategory a owl:ObjectProperty ;\n rdfs:label "has category"@en ;\n rdfs:comment "Used to support property parameters for the category data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCountryName a owl:ObjectProperty ;\n rdfs:label "has country name"@en ;\n rdfs:comment "Used to support property parameters for the country name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasFN a owl:ObjectProperty ;\n rdfs:label "has formatted name"@en ;\n rdfs:comment "Used to support property parameters for the formatted name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasFamilyName a owl:ObjectProperty ;\n rdfs:label "has family name"@en ;\n rdfs:comment "Used to support property parameters for the family name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasGender a owl:ObjectProperty ;\n rdfs:label "has gender"@en ;\n rdfs:comment "To specify the sex or gender identity of the object. URIs are recommended to enable interoperable sex and gender codes to be used."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasGivenName a owl:ObjectProperty ;\n rdfs:label "has given name"@en ;\n rdfs:comment "Used to support property parameters for the given name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasHonorificPrefix a owl:ObjectProperty ;\n rdfs:label "has honorific prefix"@en ;\n rdfs:comment "Used to support property parameters for the honorific prefix data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasHonorificSuffix a owl:ObjectProperty ;\n rdfs:label "has honorific suffix"@en ;\n rdfs:comment "Used to support property parameters for the honorific suffix data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasInstantMessage a owl:ObjectProperty ;\n rdfs:label "has messaging"@en ;\n rdfs:comment "To specify the instant messaging and presence protocol communications with the object. (Was called IMPP in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasLanguage a owl:ObjectProperty ;\n rdfs:label "has language"@en ;\n rdfs:comment "Used to support property parameters for the language data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasLocality a owl:ObjectProperty ;\n rdfs:label "has locality"@en ;\n rdfs:comment "Used to support property parameters for the locality data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasNickname a owl:ObjectProperty ;\n rdfs:label "has nickname"@en ;\n rdfs:comment "Used to support property parameters for the nickname data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:seeAlso :nickname .\n\n:hasNote a owl:ObjectProperty ;\n rdfs:label "has note"@en ;\n rdfs:comment "Used to support property parameters for the note data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasOrganizationName a owl:ObjectProperty ;\n rdfs:label "has organization name"@en ;\n rdfs:comment "Used to support property parameters for the organization name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasOrganizationUnit a owl:ObjectProperty ;\n rdfs:label "has organization unit name"@en ;\n rdfs:comment "Used to support property parameters for the organization unit name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasPostalCode a owl:ObjectProperty ;\n rdfs:label "has postal code"@en ;\n rdfs:comment "Used to support property parameters for the postal code data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRegion a owl:ObjectProperty ;\n rdfs:label "has region"@en ;\n rdfs:comment "Used to support property parameters for the region data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRelated a owl:ObjectProperty ;\n rdfs:label "has related"@en ;\n rdfs:comment "To specify a relationship between another entity and the entity represented by this object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRole a owl:ObjectProperty ;\n rdfs:label "has role"@en ;\n rdfs:comment "Used to support property parameters for the role data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasSource a owl:ObjectProperty ;\n rdfs:label "has source"@en ;\n rdfs:comment "To identify the source of directory information of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasStreetAddress a owl:ObjectProperty ;\n rdfs:label "has street address"@en ;\n rdfs:comment "Used to support property parameters for the street address data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasTitle a owl:ObjectProperty ;\n rdfs:label "has title"@en ;\n rdfs:comment "Used to support property parameters for the title data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasUID a owl:ObjectProperty ;\n rdfs:label "has uid"@en ;\n rdfs:comment "To specify a value that represents a globally unique identifier corresponding to the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasValue a owl:ObjectProperty ;\n rdfs:label "has value"@en ;\n rdfs:comment "Used to indicate the resource value of an object property that requires property parameters"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:label a owl:DatatypeProperty ;\n rdfs:label "label"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:language a owl:DatatypeProperty ;\n rdfs:label "language"@en ;\n rdfs:comment "To specify the language that may be used for contacting the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:latitude a owl:DatatypeProperty ;\n rdfs:label "latitude"@en ;\n rdfs:comment "This data property has been deprecated. See hasGeo"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:longitude a owl:DatatypeProperty ;\n rdfs:label "longitude"@en ;\n rdfs:comment "This data property has been deprecated. See hasGeo"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:mailer a owl:DatatypeProperty ;\n rdfs:label "mailer"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:note a owl:DatatypeProperty ;\n rdfs:label "note"@en ;\n rdfs:comment "A note associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:org a owl:ObjectProperty ;\n rdfs:label "organization"@en ;\n rdfs:comment "This object property has been mapped. Use the organization-name data property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :organization-name .\n\n:organization-unit a owl:DatatypeProperty ;\n rdfs:label "organizational unit name"@en ;\n rdfs:comment "To specify the organizational unit name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string ;\n rdfs:subPropertyOf :organization-name .\n\n:post-office-box a owl:DatatypeProperty ;\n rdfs:label "post office box"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:prodid a owl:DatatypeProperty ;\n rdfs:label "product id"@en ;\n rdfs:comment "To specify the identifier for the product that created the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:rev a owl:DatatypeProperty ;\n rdfs:label "revision"@en ;\n rdfs:comment "To specify revision information about the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:dateTime .\n\n:role a owl:DatatypeProperty ;\n rdfs:label "role"@en ;\n rdfs:comment "To specify the function or part played in a particular situation by the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:sort-string a owl:DatatypeProperty ;\n rdfs:label "sort as"@en ;\n rdfs:comment "To specify the string to be used for national-language-specific sorting. Used as a property parameter only."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:title a owl:DatatypeProperty ;\n rdfs:label "title"@en ;\n rdfs:comment "To specify the position or job of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:tz a owl:DatatypeProperty ;\n rdfs:label "time zone"@en ;\n rdfs:comment "To indicate time zone information that is specific to the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:value a owl:DatatypeProperty ;\n rdfs:label "value"@en ;\n rdfs:comment "Used to indicate the literal value of a data property that requires property parameters"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:Address a owl:Class ;\n rdfs:label "Address"@en ;\n rdfs:comment "To specify the components of the delivery address for the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Class ;\n owl:unionOf ( [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :country-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :country-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :locality ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :locality ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :postal-code ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :postal-code ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :region ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :region ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :street-address ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :street-address ] ) ] ) ] .\n\n:Email a owl:Class ;\n rdfs:label "Email"@en ;\n rdfs:comment "To specify the electronic mail address for communication with the object the vCard represents. Use the hasEmail object property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:Group a owl:Class ;\n rdfs:label "Group"@en ;\n rdfs:comment "Object representing a group of persons or entities. A group object will usually contain hasMember properties to specify the members of the group."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Individual,\n :Location,\n :Organization ;\n owl:equivalentClass [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :hasMember ;\n owl:someValuesFrom :Kind ] [ a owl:Restriction ;\n owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onClass :Kind ;\n owl:onProperty :hasMember ] ) ] .\n\n:Individual a owl:Class ;\n rdfs:label "Individual"@en ;\n rdfs:comment "An object representing a single person or entity"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Location,\n :Organization .\n\n:Name a owl:Class ;\n rdfs:label "Name"@en ;\n rdfs:comment "To specify the components of the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Class ;\n owl:unionOf ( [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :additional-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :additional-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :family-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :family-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :given-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :given-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :honorific-prefix ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :honorific-prefix ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :honorific-suffix ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :honorific-suffix ] ) ] ) ] .\n\n:VCard a owl:Class ;\n rdfs:label "VCard"@en ;\n rdfs:comment "The vCard class is equivalent to the new Kind class, which is the parent for the four explicit types of vCards (Individual, Organization, Location, Group)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass :Kind .\n\n:fn a owl:DatatypeProperty ;\n rdfs:label "formatted name"@en ;\n rdfs:comment "The formatted text corresponding to the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:hasAddress a owl:ObjectProperty ;\n rdfs:label "has address"@en ;\n rdfs:comment "To specify the components of the delivery address for the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Address .\n\n:hasEmail a owl:ObjectProperty ;\n rdfs:label "has email"@en ;\n rdfs:comment "To specify the electronic mail address for communication with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Email .\n\n:hasGeo a owl:ObjectProperty ;\n rdfs:label "has geo"@en ;\n rdfs:comment "To specify information related to the global positioning of the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasKey a owl:ObjectProperty ;\n rdfs:label "has key"@en ;\n rdfs:comment "To specify a public key or authentication certificate associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :key .\n\n:hasLogo a owl:ObjectProperty ;\n rdfs:label "has logo"@en ;\n rdfs:comment "To specify a graphic image of a logo associated with the object "@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :logo .\n\n:hasName a owl:ObjectProperty ;\n rdfs:label "has name"@en ;\n rdfs:comment "To specify the components of the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Name ;\n owl:equivalentProperty :n .\n\n:hasPhoto a owl:ObjectProperty ;\n rdfs:label "has photo"@en ;\n rdfs:comment "To specify an image or photograph information that annotates some aspect of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :photo .\n\n:hasSound a owl:ObjectProperty ;\n rdfs:label "has sound"@en ;\n rdfs:comment "To specify a digital sound content information that annotates some aspect of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :sound .\n\n:hasTelephone a owl:ObjectProperty ;\n rdfs:label "has telephone"@en ;\n rdfs:comment "To specify the telephone number for telephony communication with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :tel .\n\n:hasURL a owl:ObjectProperty ;\n rdfs:label "has url"@en ;\n rdfs:comment "To specify a uniform resource locator associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :url .\n\n:key a owl:ObjectProperty ;\n rdfs:label "key"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasKey .\n\n:logo a owl:ObjectProperty ;\n rdfs:label "logo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasLogo .\n\n:n a owl:ObjectProperty ;\n rdfs:label "name"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasName .\n\n:nickname a owl:DatatypeProperty ;\n rdfs:label "nickname"@en ;\n rdfs:comment "The nick name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:photo a owl:ObjectProperty ;\n rdfs:label "photo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasPhoto .\n\n:sound a owl:ObjectProperty ;\n rdfs:label "sound"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasSound .\n\n:tel a owl:ObjectProperty ;\n rdfs:label "telephone"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasTelephone .\n\n:url a owl:ObjectProperty ;\n rdfs:label "url"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasURL .\n\n:Location a owl:Class ;\n rdfs:label "Location"@en ;\n rdfs:comment "An object representing a named geographical place"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Organization .\n\n:additional-name a owl:DatatypeProperty ;\n rdfs:label "additional name"@en ;\n rdfs:comment "The additional name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:country-name a owl:DatatypeProperty ;\n rdfs:label "country name"@en ;\n rdfs:comment "The country name associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:family-name a owl:DatatypeProperty ;\n rdfs:label "family name"@en ;\n rdfs:comment "The family name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:given-name a owl:DatatypeProperty ;\n rdfs:label "given name"@en ;\n rdfs:comment "The given name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:hasMember a owl:ObjectProperty ;\n rdfs:label "has member"@en ;\n rdfs:comment "To include a member in the group this object represents. (This property can only be used by Group individuals)"@en ;\n rdfs:domain :Group ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Kind .\n\n:honorific-prefix a owl:DatatypeProperty ;\n rdfs:label "honorific prefix"@en ;\n rdfs:comment "The honorific prefix of the name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:honorific-suffix a owl:DatatypeProperty ;\n rdfs:label "honorific suffix"@en ;\n rdfs:comment "The honorific suffix of the name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:locality a owl:DatatypeProperty ;\n rdfs:label "locality"@en ;\n rdfs:comment "The locality (e.g. city or town) associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:organization-name a owl:DatatypeProperty ;\n rdfs:label "organization name"@en ;\n rdfs:comment "To specify the organizational name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:postal-code a owl:DatatypeProperty ;\n rdfs:label "postal code"@en ;\n rdfs:comment "The postal code associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:region a owl:DatatypeProperty ;\n rdfs:label "region"@en ;\n rdfs:comment "The region (e.g. state or province) associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:street-address a owl:DatatypeProperty ;\n rdfs:label "street address"@en ;\n rdfs:comment "The street address associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:Organization a owl:Class ;\n rdfs:label "Organization"@en ;\n rdfs:comment """An object representing an organization. An organization is a single entity, and might represent a business or government, a department or division within a business or government, a club, an association, or the like.\n"""@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind .\n\n:Gender a owl:Class ;\n rdfs:label "Gender"@en ;\n rdfs:comment "Used for gender codes. The URI of the gender code must be used as the value for Gender."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:Kind a owl:Class ;\n rdfs:label "Kind"@en ;\n rdfs:comment "The parent class for all objects"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Restriction ;\n owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onDataRange xsd:string ;\n owl:onProperty :fn ],\n :VCard .\n\n:Type a owl:Class ;\n rdfs:label "Type"@en ;\n rdfs:comment "Used for type codes. The URI of the type code must be used as the value for Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:TelephoneType a owl:Class ;\n rdfs:label "Phone"@en ;\n rdfs:comment "Used for telephone type codes. The URI of the telephone type code must be used as the value for the Telephone Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:RelatedType a owl:Class ;\n rdfs:label "Relation Type"@en ;\n rdfs:comment "Used for relation type codes. The URI of the relation type code must be used as the value for the Relation Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n<http://www.w3.org/2006/vcard/ns> a owl:Ontology ;\n rdfs:label "Ontology for vCard"@en ;\n rdfs:comment "Ontology for vCard based on RFC6350"@en ;\n owl:versionInfo "Final"@en .\n\n\n'},,function(e,t,n){e.exports=n(380)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={buildTime:"2022-01-29T08:00:13Z",commit:"ad1ef0272c97b0830f9cb8d74ab8d42af173bcc1",npmInfo:{"solid-panes":"3.5.15",npm:"6.14.13",ares:"1.17.1",brotli:"1.0.9",cldr:"39.0",icu:"69.1",llhttp:"2.1.3",modules:"83",napi:"8",nghttp2:"1.42.0",node:"14.17.3",openssl:"1.1.1k",tz:"2021a",unicode:"13.0",uv:"1.41.0",v8:"8.4.371.23-node.67",zlib:"1.2.11"}}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(88),i=n(132),a=n(176),o=n(177),s=i.DOMImplementation,u=r.NAMESPACE,l=o.ParseError,c=o.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new f,o=n.errorHandler,s=n.locator,l=n.xmlns||{},p=/\/x?html?$/.test(t),h=p?a.HTML_ENTITIES:a.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},i=e instanceof Function;function a(t){var a=e[t];!a&&i&&(a=2==e.length?function(n){e(t,n)}:e),r[t]=a&&function(e){a("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},a("warning"),a("error"),a("fatalError"),r}(o,i,s),r.domBuilder=n.domBuilder||i,p&&(l[""]=u.HTML),l.xml=l.xml||u.XML;var g=n.normalizeLineEndings||d;return e&&"string"==typeof e?r.parse(g(e),l,h):r.errorHandler.error("invalid doc source"),i.doc},f.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;v(this,a),this.currentElement=a,this.locator&&h(this.locator,a);for(var s=0;s<o;s++){e=r.getURI(s);var u=r.getValue(s),l=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&h(r.getLocator(s),l),l.value=l.nodeValue=u,a.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,n),v(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&h(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&h(this.locator,r),v(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&h(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new l(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){f.prototype[e]=function(){return null}})),t.__DOMHandler=f,t.normalizeLineEndings=d,t.DOMParser=p},function(e,t,n){var r=n(88).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},function(e,t,n){var r=n(88).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function l(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,n,i,a,o){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&o.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),r)}for(var u,l=++t,c=0;;){var d=e.charAt(l);switch(d){case"=":if(1===c)u=e.slice(t,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(o.warning('attribute value must after "="'),u=e.slice(t,l)),t=l+1,!((l=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");s(u,p=e.slice(t,l),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(u,p=e.slice(t,l),t),o.warning('attribute "'+u+'" missed start quot('+d+")!!"),t=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==c&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,l)).slice(-1)&&(n.closed=!0,p=p.slice(0,-1));case 2:2===c&&(p=u),4==c?(o.warning('attribute "'+p+'" missed quot(")!'),s(u,p,t)):(r.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),s(p,p,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":d=" ";default:if(d<=" ")switch(c){case 0:n.setTagName(e.slice(t,l)),c=6;break;case 1:u=e.slice(t,l),c=2;break;case 4:var p=e.slice(t,l);o.warning('attribute "'+p+'" missed quot(")!!'),s(u,p,t);case 5:c=6}else switch(c){case 2:n.tagName;r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=l,c=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function d(e,t,n){for(var i=e.tagName,a=null,o=e.length;o--;){var s=e[o],u=s.qName,l=s.value;if((f=u.indexOf(":"))>0)var c=s.prefix=u.slice(0,f),d=u.slice(f+1),p="xmlns"===c&&d;else d=u,c=null,p="xmlns"===u&&"";s.localName=d,!1!==p&&(null==a&&(a={},h(n,n={})),n[p]=a[p]=l,s.uri=r.XMLNS,t.startPrefixMapping(p,l))}for(o=e.length;o--;){(c=(s=e[o]).prefix)&&("xml"===c&&(s.uri=r.XML),"xmlns"!==c&&(s.uri=n[c||""]))}var f;(f=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,f),d=e.localName=i.slice(f+1)):(c=null,d=e.localName=i);var m=e.uri=n[c||""];if(t.startElement(m,d,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(m,d,i),a)for(c in a)t.endPrefixMapping(c)}function p(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("</"+n+">",t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function f(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function h(e,t){for(var n in e)t[n]=e[n]}function m(e,t,n,r){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,l=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],l=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var c=a[o-1];return n.startDTD(s,u,l),n.endDTD(),c.index+c[0].length}}return-1}function g(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),h(t,t={}),function(e,t,n,i,a){function o(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function u(t){if(t>C){var n=e.substring(C,t).replace(/&#?\w+;/g,o);x&&h(C),i.characters(n,0,t-C),C=t}}function h(t,n){for(;t>=b&&(n=w.exec(e));)y=n.index,b=y+n[0].length,x.lineNumber++;x.columnNumber=t-y+1}var y=0,b=0,w=/.*(?:\r\n?|\n)|.*$/g,x=i.locator,k=[{currentNSMap:t}],E={},C=0;for(;;){try{var _=e.indexOf("<",C);if(_<0){if(!e.substr(C).match(/^\s*$/)){var S=i.doc,A=S.createTextNode(e.substr(C));S.appendChild(A),i.currentElement=A}return}switch(_>C&&u(_),e.charAt(_+1)){case"/":var T=e.indexOf(">",_+3),P=e.substring(_+2,T).replace(/[ \t\n\r]+$/g,""),D=k.pop();T<0?(P=e.substring(_+2).replace(/[\s<].*/,""),a.error("end tag name: "+P+" is not complete:"+D.tagName),T=_+1+P.length):P.match(/\s</)&&(P=P.replace(/[\s<].*/,""),a.error("end tag name: "+P+" maybe not complete"),T=_+1+P.length);var O=D.localNSMap,I=D.tagName==P;if(I||D.tagName&&D.tagName.toLowerCase()==P.toLowerCase()){if(i.endElement(D.uri,D.localName,P),O)for(var F in O)i.endPrefixMapping(F);I||a.fatalError("end tag name: "+P+" is not match the current start tagName:"+D.tagName)}else k.push(D);T++;break;case"?":x&&h(_),T=g(e,_,i);break;case"!":x&&h(_),T=m(e,_,i,a);break;default:x&&h(_);var N=new v,R=k[k.length-1].currentNSMap,j=(T=c(e,_,N,R,o,a),N.length);if(!N.closed&&f(e,T,N.tagName,E)&&(N.closed=!0,n.nbsp||a.warning("unclosed xml attribute")),x&&j){for(var L=l(x,{}),M=0;M<j;M++){var U=N[M];h(U.offset),U.locator=l(x,{})}i.locator=L,d(N,i,R)&&k.push(N),i.locator=x}else d(N,i,R)&&k.push(N);r.isHTML(N.uri)&&!N.closed?T=p(e,T,N.tagName,o,i):T++}}catch(e){if(e instanceof s)throw e;a.error("element parse error: "+e),T=-1}T>C?C=T:u(Math.max(_,C)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(e){if(!o.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!o.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=u,t.ParseError=s},function(e,t,n){"use strict";const r=n(133),i=n(180),a=n(137),o=n(181);let s;try{s=n(182)}catch(e){}const u={};e.exports=u,u.NQuads=n(105),u.IdentifierIssuer=n(104),u._rdfCanonizeNative=function(e){return e&&(s=e),s},u.canonize=async function(e,t){if(Array.isArray(e)||(e=u.NQuads.legacyDatasetToQuads(e)),t.useNative){if(!s)throw new Error("rdf-canonize-native not available");return new Promise((n,r)=>s.canonize(e,t,(e,t)=>e?r(e):n(t)))}if("URDNA2015"===t.algorithm)return new r(t).main(e);if("URGNA2012"===t.algorithm)return new i(t).main(e);if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)},u._canonizeSync=function(e,t){if(Array.isArray(e)||(e=u.NQuads.legacyDatasetToQuads(e)),t.useNative){if(s)return s.canonizeSync(e,t);throw new Error("rdf-canonize-native not available")}if("URDNA2015"===t.algorithm)return new a(t).main(e);if("URGNA2012"===t.algorithm)return new o(t).main(e);if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(134),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(67))},function(e,t,n){"use strict";const r=n(133);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.hashAlgorithm="sha1"}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}async createHashToRelated(e,t){const n=new Map,r=this.blankNodeInfo.get(e).quads;let i=0;for(const a of r){let r,o;if("BlankNode"===a.subject.termType&&a.subject.value!==e)o=a.subject.value,r="p";else{if("BlankNode"!==a.object.termType||a.object.value===e)continue;o=a.object.value,r="r"}++i%100==0&&await this._yield();const s=await this.hashRelatedBlankNode(o,a,t,r),u=n.get(s);u?u.push(o):n.set(s,[o])}return n}}},function(e,t,n){"use strict";const r=n(137);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.hashAlgorithm="sha1"}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}createHashToRelated(e,t){const n=new Map,r=this.blankNodeInfo.get(e).quads;for(const i of r){let r,a;if("BlankNode"===i.subject.termType&&i.subject.value!==e)a=i.subject.value,r="p";else{if("BlankNode"!==i.object.termType||i.object.value===e)continue;a=i.object.value,r="r"}const o=this.hashRelatedBlankNode(a,i,t,r),s=n.get(o);s?s.push(a):n.set(o,[a])}return n}}},function(e,t){},function(e,t,n){"use strict";const r=n(184),i={};e.exports=i,i.setupDocumentLoaders=function(e){"undefined"!=typeof XMLHttpRequest&&(e.documentLoaders.xhr=r,e.useDocumentLoader("xhr"))},i.setupGlobals=function(e){void 0===globalThis.JsonLdProcessor&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:e.JsonLdProcessor})}},function(e,t,n){"use strict";const{parseLinkHeader:r,buildHeaders:i}=n(48),{LINK_HEADER_CONTEXT:a}=n(106),o=n(50),s=n(138),{prependBase:u}=n(58),l=/(^|(\r\n))link:/i;e.exports=({secure:e,headers:t={},xhr:n}={headers:{}})=>{t=i(t);return(new s).wrapLoader((async function i(s){if(0!==s.indexOf("http:")&&0!==s.indexOf("https:"))throw new o('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:s});if(e&&0!==s.indexOf("https"))throw new o('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:s});let c;try{c=await function(e,t,n){const r=new(e=e||XMLHttpRequest);return new Promise((e,i)=>{r.onload=()=>e(r),r.onerror=e=>i(e),r.open("GET",t,!0);for(const e in n)r.setRequestHeader(e,n[e]);r.send()})}(n,s,t)}catch(e){throw new o("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:s,cause:e})}if(c.status>=400)throw new o("URL could not be dereferenced: "+c.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:s,httpStatusCode:c.status});let d={contextUrl:null,documentUrl:s,document:c.response},p=null;const f=c.getResponseHeader("Content-Type");let h;l.test(c.getAllResponseHeaders())&&(h=c.getResponseHeader("Link"));if(h&&"application/ld+json"!==f){const e=r(h),t=e[a];if(Array.isArray(t))throw new o("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:s});t&&(d.contextUrl=t.target),p=e.alternate,p&&"application/ld+json"==p.type&&!(f||"").match(/^application\/(\w*\+)?json$/)&&(d=await i(u(s,p.target)))}return d}))}},function(e,t,n){"use strict";const{isArray:r,isObject:i,isString:a}=n(43),{asArray:o}=n(48),{prependBase:s}=n(58),u=n(50),l=n(186);function c(e){throw new u("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:e})}e.exports=class{constructor({sharedCache:e}){this.perOpCache=new Map,this.sharedCache=e}async resolve({activeCtx:e,context:t,documentLoader:n,base:s,cycles:u=new Set}){t&&i(t)&&t["@context"]&&(t=t["@context"]),t=o(t);const d=[];for(const o of t){if(a(o)){let t=this._get(o);t||(t=await this._resolveRemoteContext({activeCtx:e,url:o,documentLoader:n,base:s,cycles:u})),r(t)?d.push(...t):d.push(t);continue}if(null===o){d.push(new l({document:null}));continue}i(o)||c(t);const p=JSON.stringify(o);let f=this._get(p);f||(f=new l({document:o}),this._cacheResolvedContext({key:p,resolved:f,tag:"static"})),d.push(f)}return d}_get(e){let t=this.perOpCache.get(e);if(!t){const n=this.sharedCache.get(e);n&&(t=n.get("static"),t&&this.perOpCache.set(e,t))}return t}_cacheResolvedContext({key:e,resolved:t,tag:n}){if(this.perOpCache.set(e,t),void 0!==n){let r=this.sharedCache.get(e);r||(r=new Map,this.sharedCache.set(e,r)),r.set(n,t)}return t}async _resolveRemoteContext({activeCtx:e,url:t,documentLoader:n,base:o,cycles:u}){t=s(o,t);const{context:l,remoteDoc:c}=await this._fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:u});(function e({context:t,base:n}){if(!t)return;const o=t["@context"];if(a(o))return void(t["@context"]=s(n,o));if(r(o)){for(let t=0;t<o.length;++t){const r=o[t];a(r)?o[t]=s(n,r):i(r)&&e({context:{"@context":r},base:n})}return}if(!i(o))return;for(const t in o)e({context:o[t],base:n})})({context:l,base:o=c.documentUrl||t});const d=await this.resolve({activeCtx:e,context:l,documentLoader:n,base:o,cycles:u});return this._cacheResolvedContext({key:t,resolved:d,tag:c.tag}),d}async _fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:o}){if(o.size>10)throw new u("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"loading remote context failed":"context overflow",max:10});if(o.has(t))throw new u("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"recursive context inclusion":"context overflow",url:t});let s,l;o.add(t);try{l=await n(t),s=l.document||null,a(s)&&(s=JSON.parse(s))}catch(e){throw new u("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:t,cause:e})}if(!i(s))throw new u("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:t});return s="@context"in s?{"@context":s["@context"]}:{"@context":{}},l.contextUrl&&(r(s["@context"])||(s["@context"]=[s["@context"]]),s["@context"].push(l.contextUrl)),{context:s,remoteDoc:l}}}},function(e,t,n){"use strict";const r=n(139);e.exports=class{constructor({document:e}){this.document=e,this.cache=new r({max:10})}getProcessed(e){return this.cache.get(e)}setProcessed(e,t){this.cache.set(e,t)}}},function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}function i(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function a(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,a=this.head;null!==a&&i<e;i++)a=a.next;for(;null!==a&&i<t;i++,a=a.next)n.push(a.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,a=this.tail;null!==a&&i>t;i--)a=a.prev;for(;null!==a&&i>e;i--,a=a.prev)n.push(a.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,a=this.head;null!==a&&r<e;r++)a=a.next;var o=[];for(r=0;a&&r<t;r++)o.push(a.value),a=this.removeNode(a);null===a&&(a=this.tail),a!==this.head&&a!==this.tail&&(a=a.prev);for(r=0;r<n.length;r++)a=i(this,a,n[r]);return o},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(188)(r)}catch(e){}},function(e,t,n){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},function(e,t,n){"use strict";e.exports=n(102).NQuads},function(e,t,n){"use strict";const r=n(50),{isArray:i,isObject:a,isEmptyObject:o,isString:s,isUndefined:u}=n(43),{isList:l,isValue:c,isGraph:d,isSubject:p}=n(52),{expandIri:f,getContextValue:h,isKeyword:m,process:g,processingMode:v}=n(68),{isAbsolute:y}=n(58),{addValue:b,asArray:w,getValues:x,validateTypeValue:k}=n(48),E={};e.exports=E;const C=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/;function _({activeCtx:e,activeProperty:t,value:n,options:r}){if(null==n)return null;const i=f(e,t,{vocab:!0},r);if("@id"===i)return f(e,n,{base:!0},r);if("@type"===i)return f(e,n,{vocab:!0,base:!0},r);const a=h(e,t,"@type");if(("@id"===a||"@graph"===i)&&s(n))return{"@id":f(e,n,{base:!0},r)};if("@vocab"===a&&s(n))return{"@id":f(e,n,{vocab:!0,base:!0},r)};if(m(i))return n;const o={};if(a&&!["@id","@vocab","@none"].includes(a))o["@type"]=a;else if(s(n)){const n=h(e,t,"@language");null!==n&&(o["@language"]=n);const r=h(e,t,"@direction");null!==r&&(o["@direction"]=r)}return["boolean","number","string"].includes(typeof n)||(n=n.toString()),o["@value"]=n,o}function S(e,t,n,a){const o=[],u=Object.keys(t).sort();for(const l of u){const u=f(e,l,{vocab:!0},a);let c=t[l];i(c)||(c=[c]);for(const e of c){if(null===e)continue;if(!s(e))throw new r("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:t});const i={"@value":e};"@none"!==u&&(i["@language"]=l.toLowerCase()),n&&(i["@direction"]=n),o.push(i)}}return o}async function A({activeCtx:e,options:t,activeProperty:n,value:a,expansionMap:o,asGraph:s,indexKey:l,propertyIndex:p}){const m=[],v=Object.keys(a).sort(),y="@type"===l;for(let w of v){if(y){const n=h(e,w,"@context");u(n)||(e=await g({activeCtx:e,localCtx:n,propagate:!1,options:t}))}let v,x=a[w];i(x)||(x=[x]),x=await E.expand({activeCtx:e,activeProperty:n,element:x,options:t,insideList:!1,insideIndex:!0,expansionMap:o}),v=p?"@none"===w?"@none":_({activeCtx:e,activeProperty:l,value:w,options:t}):f(e,w,{vocab:!0},t),"@id"===l?w=f(e,w,{base:!0},t):y&&(w=v);for(let e of x){if(s&&!d(e)&&(e={"@graph":[e]}),"@type"===l)"@none"===v||(e["@type"]?e["@type"]=[w].concat(e["@type"]):e["@type"]=[w]);else{if(c(e)&&!["@language","@type","@index"].includes(l))throw new r(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${l}".`,"jsonld.SyntaxError",{code:"invalid value object",value:e});p?"@none"!==v&&b(e,p,v,{propertyIsArray:!0,prependValue:!0}):"@none"===v||l in e||(e[l]=w)}m.push(e)}}return m}E.expand=async({activeCtx:e,activeProperty:t=null,element:n,options:d={},insideList:T=!1,insideIndex:P=!1,typeScopedContext:D=null,expansionMap:O=(()=>{})})=>{if(null==n)return null;if("@default"===t&&(d=Object.assign({},d,{isFrame:!1})),!i(n)&&!a(n)){if(!T&&(null===t||"@graph"===f(e,t,{vocab:!0},d))){const r=await O({unmappedValue:n,activeCtx:e,activeProperty:t,options:d,insideList:T});return void 0===r?null:r}return _({activeCtx:e,activeProperty:t,value:n,options:d})}if(i(n)){let r=[];const a=h(e,t,"@container")||[];T=T||a.includes("@list");for(let a=0;a<n.length;++a){let o=await E.expand({activeCtx:e,activeProperty:t,element:n[a],options:d,expansionMap:O,insideIndex:P,typeScopedContext:D});T&&i(o)&&(o={"@list":o}),null===o&&(o=await O({unmappedValue:n[a],activeCtx:e,activeProperty:t,parent:n,index:a,options:d,expandedParent:r,insideList:T}),void 0===o)||(i(o)?r=r.concat(o):r.push(o))}return r}const I=f(e,t,{vocab:!0},d),F=h(e,t,"@context");D=D||(e.previousContext?e:null);let N=Object.keys(n).sort(),R=!P;if(R&&D&&N.length<=2&&!N.includes("@context"))for(const t of N){const n=f(D,t,{vocab:!0},d);if("@value"===n){R=!1,e=D;break}if("@id"===n&&1===N.length){R=!1;break}}R&&(e=e.revertToPreviousContext()),u(F)||(e=await g({activeCtx:e,localCtx:F,propagate:!0,overrideProtected:!0,options:d})),"@context"in n&&(e=await g({activeCtx:e,localCtx:n["@context"],options:d})),D=e;let j=null;for(const t of N){if("@type"===f(e,t,{vocab:!0},d)){j=j||t;const r=n[t],i=Array.isArray(r)?r.length>1?r.slice().sort():r:[r];for(const t of i){const n=h(D,t,"@context");u(n)||(e=await g({activeCtx:e,localCtx:n,options:d,propagate:!1}))}}}let L={};await async function e({activeCtx:t,activeProperty:n,expandedActiveProperty:d,element:x,expandedParent:_,options:T={},insideList:P,typeKey:D,typeScopedContext:O,expansionMap:I}){const F=Object.keys(x).sort(),N=[];let R;const j=x[D]&&"@json"===f(t,i(x[D])?x[D][0]:x[D],{vocab:!0},T);for(const e of F){let D,F=x[e];if("@context"===e)continue;let L=f(t,e,{vocab:!0},T);if((null===L||!y(L)&&!m(L))&&(L=I({unmappedProperty:e,activeCtx:t,activeProperty:n,parent:x,options:T,insideList:P,value:F,expandedParent:_}),void 0===L))continue;if(m(L)){if("@reverse"===d)throw new r("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:F});if(L in _&&"@included"!==L&&"@type"!==L)throw new r("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:L})}if("@id"===L){if(!s(F)){if(!T.isFrame)throw new r('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:F});if(a(F)){if(!o(F))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:F})}else{if(!i(F))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:F});if(!F.every(e=>s(e)))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:F})}}b(_,"@id",w(F).map(e=>s(e)?f(t,e,{base:!0},T):e),{propertyIsArray:T.isFrame});continue}if("@type"===L){a(F)&&(F=Object.fromEntries(Object.entries(F).map(([e,t])=>[f(O,e,{vocab:!0}),w(t).map(e=>f(O,e,{base:!0,vocab:!0}))]))),k(F,T.isFrame),b(_,"@type",w(F).map(e=>s(e)?f(O,e,{base:!0,vocab:!0},T):e),{propertyIsArray:T.isFrame});continue}if("@included"===L&&v(t,1.1)){const e=w(await E.expand({activeCtx:t,activeProperty:n,element:F,options:T,expansionMap:I}));if(!e.every(e=>p(e)))throw new r("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:F});b(_,"@included",e,{propertyIsArray:!0});continue}if("@graph"===L&&!a(F)&&!i(F))throw new r('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:F});if("@value"===L){R=F,j&&v(t,1.1)?_["@value"]=F:b(_,"@value",F,{propertyIsArray:T.isFrame});continue}if("@language"===L){if(null===F)continue;if(!s(F)&&!T.isFrame)throw new r('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:F});F=w(F).map(e=>s(e)?e.toLowerCase():e);for(const e of F)s(e)&&!e.match(C)&&console.warn("@language must be valid BCP47: "+e);b(_,"@language",F,{propertyIsArray:T.isFrame});continue}if("@direction"===L){if(!s(F)&&!T.isFrame)throw new r('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:F});F=w(F);for(const e of F)if(s(e)&&"ltr"!==e&&"rtl"!==e)throw new r('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:F});b(_,"@direction",F,{propertyIsArray:T.isFrame});continue}if("@index"===L){if(!s(F))throw new r('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:F});b(_,"@index",F);continue}if("@reverse"===L){if(!a(F))throw new r('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:F});if(D=await E.expand({activeCtx:t,activeProperty:"@reverse",element:F,options:T,expansionMap:I}),"@reverse"in D)for(const e in D["@reverse"])b(_,e,D["@reverse"][e],{propertyIsArray:!0});let e=_["@reverse"]||null;for(const t in D){if("@reverse"===t)continue;null===e&&(e=_["@reverse"]={}),b(e,t,[],{propertyIsArray:!0});const n=D[t];for(let i=0;i<n.length;++i){const a=n[i];if(c(a)||l(a))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:D});b(e,t,a,{propertyIsArray:!0})}}continue}if("@nest"===L){N.push(e);continue}let M=t;const U=h(t,e,"@context");u(U)||(M=await g({activeCtx:t,localCtx:U,propagate:!0,overrideProtected:!0,options:T}));const B=h(M,e,"@container")||[];if(B.includes("@language")&&a(F)){const t=h(M,e,"@direction");D=S(M,F,t,T)}else if(B.includes("@index")&&a(F)){const n=B.includes("@graph"),r=h(M,e,"@index")||"@index",i="@index"!==r&&f(t,r,{vocab:!0},T);D=await A({activeCtx:M,options:T,activeProperty:e,value:F,expansionMap:I,asGraph:n,indexKey:r,propertyIndex:i})}else if(B.includes("@id")&&a(F)){const t=B.includes("@graph");D=await A({activeCtx:M,options:T,activeProperty:e,value:F,expansionMap:I,asGraph:t,indexKey:"@id"})}else if(B.includes("@type")&&a(F))D=await A({activeCtx:M.revertToPreviousContext(),options:T,activeProperty:e,value:F,expansionMap:I,asGraph:!1,indexKey:"@type"});else{const r="@list"===L;if(r||"@set"===L){let e=n;r&&"@graph"===d&&(e=null),D=await E.expand({activeCtx:M,activeProperty:e,element:F,options:T,insideList:r,expansionMap:I})}else D="@json"===h(t,e,"@type")?{"@type":"@json","@value":F}:await E.expand({activeCtx:M,activeProperty:e,element:F,options:T,insideList:!1,expansionMap:I})}if(null!==D||"@value"===L||(D=I({unmappedValue:F,expandedProperty:L,activeCtx:M,activeProperty:n,parent:x,options:T,insideList:P,key:e,expandedParent:_}),void 0!==D))if("@list"!==L&&!l(D)&&B.includes("@list")&&(D={"@list":w(D)}),B.includes("@graph")&&!B.some(e=>"@id"===e||"@index"===e)&&(D=w(D).map(e=>({"@graph":w(e)}))),M.mappings.has(e)&&M.mappings.get(e).reverse){const e=_["@reverse"]=_["@reverse"]||{};D=w(D);for(let t=0;t<D.length;++t){const n=D[t];if(c(n)||l(n))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:D});b(e,L,n,{propertyIsArray:!0})}}else b(_,L,D,{propertyIsArray:!0})}if("@value"in _)if("@json"===_["@type"]&&v(t,1.1));else if((a(R)||i(R))&&!T.isFrame)throw new r('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:R});for(const o of N){const s=i(x[o])?x[o]:[x[o]];for(const i of s){if(!a(i)||Object.keys(i).some(e=>"@value"===f(t,e,{vocab:!0},T)))throw new r("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:i});await e({activeCtx:t,activeProperty:n,expandedActiveProperty:d,element:i,expandedParent:_,options:T,insideList:P,typeScopedContext:O,typeKey:D,expansionMap:I})}}}({activeCtx:e,activeProperty:t,expandedActiveProperty:I,element:n,expandedParent:L,options:d,insideList:T,typeKey:j,typeScopedContext:D,expansionMap:O}),N=Object.keys(L);let M=N.length;if("@value"in L){if("@type"in L&&("@language"in L||"@direction"in L))throw new r('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:L});let i=M-1;if("@type"in L&&(i-=1),"@index"in L&&(i-=1),"@language"in L&&(i-=1),"@direction"in L&&(i-=1),0!==i)throw new r('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:L});const a=null===L["@value"]?[]:w(L["@value"]),u=x(L,"@type");if(v(e,1.1)&&u.includes("@json")&&1===u.length);else if(0===a.length){const r=await O({unmappedValue:L,activeCtx:e,activeProperty:t,element:n,options:d,insideList:T});L=void 0!==r?r:null}else{if(!a.every(e=>s(e)||o(e))&&"@language"in L)throw new r("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:L});if(!u.every(e=>y(e)&&!(s(e)&&0===e.indexOf("_:"))||o(e)))throw new r('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:L})}}else if("@type"in L&&!i(L["@type"]))L["@type"]=[L["@type"]];else if("@set"in L||"@list"in L){if(M>1&&(2!==M||!("@index"in L)))throw new r('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:L});"@set"in L&&(L=L["@set"],N=Object.keys(L),M=N.length)}else if(1===M&&"@language"in L){const r=await O(L,{unmappedValue:L,activeCtx:e,activeProperty:t,element:n,options:d,insideList:T});L=void 0!==r?r:null}if(a(L)&&!d.keepFreeFloatingNodes&&!T&&(null===t||"@graph"===I)&&(0===M||"@value"in L||"@list"in L||1===M&&"@id"in L)){const r=await O({unmappedValue:L,activeCtx:e,activeProperty:t,element:n,options:d,insideList:T});L=void 0!==r?r:null}return L}},function(e,t,n){"use strict";const{isSubjectReference:r}=n(52),{createMergedNodeMap:i}=n(89),a={};e.exports=a,a.flatten=e=>{const t=i(e),n=[],a=Object.keys(t).sort();for(let e=0;e<a.length;++e){const i=t[a[e]];r(i)||n.push(i)}return n}},function(e,t,n){"use strict";const r=n(50),i=n(52),a=n(43),o=n(48),{RDF_LIST:s,RDF_FIRST:u,RDF_REST:l,RDF_NIL:c,RDF_TYPE:d,RDF_JSON_LITERAL:p,XSD_BOOLEAN:f,XSD_DOUBLE:h,XSD_INTEGER:m,XSD_STRING:g}=n(106),v=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,y={};function b(e,t,n){if(e.termType.endsWith("Node"))return{"@id":e.value};const i={"@value":e.value};if(e.language)i["@language"]=e.language;else{let o=e.datatype.value;if(o||(o=g),o===p){o="@json";try{i["@value"]=JSON.parse(i["@value"])}catch(e){throw new r("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:i["@value"],cause:e})}}if(t){if(o===f)"true"===i["@value"]?i["@value"]=!0:"false"===i["@value"]&&(i["@value"]=!1);else if(a.isNumeric(i["@value"]))if(o===m){const e=parseInt(i["@value"],10);e.toFixed(0)===i["@value"]&&(i["@value"]=e)}else o===h&&(i["@value"]=parseFloat(i["@value"]));[f,m,h,g].includes(o)||(i["@type"]=o)}else if("i18n-datatype"===n&&o.startsWith("https://www.w3.org/ns/i18n#")){const[,e,t]=o.split(/[#_]/);e.length>0&&(i["@language"]=e,e.match(v)||console.warn("@language must be valid BCP47: "+e)),i["@direction"]=t}else o!==g&&(i["@type"]=o)}return i}e.exports=y,y.fromRDF=async(e,{useRdfType:t=!1,useNativeTypes:n=!1,rdfDirection:r=null})=>{const p={},f={"@default":p},h={};for(const i of e){const e="DefaultGraph"===i.graph.termType?"@default":i.graph.value;e in f||(f[e]={}),"@default"===e||e in p||(p[e]={"@id":e});const a=f[e],s=i.subject.value,u=i.predicate.value,l=i.object;s in a||(a[s]={"@id":s});const m=a[s],g=l.termType.endsWith("Node");if(g&&!(l.value in a)&&(a[l.value]={"@id":l.value}),u===d&&!t&&g){o.addValue(m,"@type",l.value,{propertyIsArray:!0});continue}const v=b(l,n,r);if(o.addValue(m,u,v,{propertyIsArray:!0}),g)if(l.value===c){const e=a[l.value];"usages"in e||(e.usages=[]),e.usages.push({node:m,property:u,value:v})}else l.value in h?h[l.value]=!1:h[l.value]={node:m,property:u,value:v}}for(const e in f){const t=f[e];if(!(c in t))continue;const n=t[c];if(n.usages){for(let e of n.usages){let n=e.node,r=e.property,o=e.value;const c=[],d=[];let p=Object.keys(n).length;for(;r===l&&a.isObject(h[n["@id"]])&&a.isArray(n[u])&&1===n[u].length&&a.isArray(n[l])&&1===n[l].length&&(3===p||4===p&&a.isArray(n["@type"])&&1===n["@type"].length&&n["@type"][0]===s)&&(c.push(n[u][0]),d.push(n["@id"]),e=h[n["@id"]],n=e.node,r=e.property,o=e.value,p=Object.keys(n).length,i.isBlankNode(n)););delete o["@id"],o["@list"]=c.reverse();for(const e of d)delete t[e]}delete n.usages}}const m=[],g=Object.keys(p).sort();for(const e of g){const t=p[e];if(e in f){const n=t["@graph"]=[],r=f[e],a=Object.keys(r).sort();for(const e of a){const t=r[e];i.isSubjectReference(t)||n.push(t)}}i.isSubjectReference(t)||m.push(t)}return m}},function(e,t,n){"use strict";const{createNodeMap:r}=n(89),{isKeyword:i}=n(68),a=n(52),o=n(194),s=n(43),u=n(48),{RDF_FIRST:l,RDF_REST:c,RDF_NIL:d,RDF_TYPE:p,RDF_JSON_LITERAL:f,RDF_LANGSTRING:h,XSD_BOOLEAN:m,XSD_DOUBLE:g,XSD_INTEGER:v,XSD_STRING:y}=n(106),{isAbsolute:b}=n(58),w={};function x(e,t,n,r,a){const o=Object.keys(t).sort();for(const s of o){const o=t[s],u=Object.keys(o).sort();for(let t of u){const u=o[t];if("@type"===t)t=p;else if(i(t))continue;for(const i of u){const o={termType:s.startsWith("_:")?"BlankNode":"NamedNode",value:s};if(!b(s))continue;const u={termType:t.startsWith("_:")?"BlankNode":"NamedNode",value:t};if(!b(t))continue;if("BlankNode"===u.termType&&!a.produceGeneralizedRdf)continue;const l=k(i,r,e,n,a.rdfDirection);l&&e.push({subject:o,predicate:u,object:l,graph:n})}}}}function k(e,t,n,r,i){const u={};if(a.isValue(e)){u.termType="Literal",u.value=void 0,u.datatype={termType:"NamedNode"};let t=e["@value"];const n=e["@type"]||null;if("@json"===n)u.value=o(t),u.datatype.value=f;else if(s.isBoolean(t))u.value=t.toString(),u.datatype.value=n||m;else if(s.isDouble(t)||n===g)s.isDouble(t)||(t=parseFloat(t)),u.value=t.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),u.datatype.value=n||g;else if(s.isNumber(t))u.value=t.toFixed(0),u.datatype.value=n||v;else if("i18n-datatype"===i&&"@direction"in e){const n="https://www.w3.org/ns/i18n#"+(e["@language"]||"")+"_"+e["@direction"];u.datatype.value=n,u.value=t}else"@language"in e?(u.value=t,u.datatype.value=n||h,u.language=e["@language"]):(u.value=t,u.datatype.value=n||y)}else if(a.isList(e)){const a=function(e,t,n,r,i){const a={termType:"NamedNode",value:l},o={termType:"NamedNode",value:c},s={termType:"NamedNode",value:d},u=e.pop(),p=u?{termType:"BlankNode",value:t.getId()}:s;let f=p;for(const s of e){const e=k(s,t,n,r,i),u={termType:"BlankNode",value:t.getId()};n.push({subject:f,predicate:a,object:e,graph:r}),n.push({subject:f,predicate:o,object:u,graph:r}),f=u}if(u){const e=k(u,t,n,r,i);n.push({subject:f,predicate:a,object:e,graph:r}),n.push({subject:f,predicate:o,object:s,graph:r})}return p}(e["@list"],t,n,r,i);u.termType=a.termType,u.value=a.value}else{const t=s.isObject(e)?e["@id"]:e;u.termType=t.startsWith("_:")?"BlankNode":"NamedNode",u.value=t}return"NamedNode"!==u.termType||b(u.value)?u:null}e.exports=w,w.toRDF=(e,t)=>{const n=new u.IdentifierIssuer("_:b"),i={"@default":{}};r(e,i,"@default",n);const a=[],o=Object.keys(i).sort();for(const e of o){let r;if("@default"===e)r={termType:"DefaultGraph",value:""};else{if(!b(e))continue;r=e.startsWith("_:")?{termType:"BlankNode"}:{termType:"NamedNode"},r.value=e}x(a,i[e],r,n,t)}return a}},function(e,t,n){"use strict";e.exports=function e(t){return null===t||"object"!=typeof t||null!=t.toJSON?JSON.stringify(t):Array.isArray(t)?"["+t.reduce((t,n,r)=>t+(0===r?"":",")+e(void 0===n||"symbol"==typeof n?null:n),"")+"]":"{"+Object.keys(t).sort().reduce((n,r,i)=>{if(void 0===t[r]||"symbol"==typeof t[r])return n;return n+(0===n.length?"":",")+e(r)+":"+e(t[r])},"")+"}"}},function(e,t,n){"use strict";const{isKeyword:r}=n(68),i=n(52),a=n(43),o=n(48),s=n(58),u=n(50),{createNodeMap:l,mergeNodeMapGraphs:c}=n(89),d={};function p(e){const t={};for(const n in e)void 0!==e[n]&&(t["@"+n]=[e[n]]);return[t]}function f(e,t,n){for(let r=n.length-1;r>=0;--r){const i=n[r];if(i.graph===t&&i.subject["@id"]===e["@id"])return!0}return!1}function h(e,t,n){const r="@"+n;let i=r in e?e[r][0]:t[n];if("embed"===n)if(!0===i)i="@once";else if(!1===i)i="@never";else if("@always"!==i&&"@never"!==i&&"@link"!==i&&"@first"!==i&&"@last"!==i&&"@once"!==i)throw new u("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:e});return i}function m(e){if(!a.isArray(e)||1!==e.length||!a.isObject(e[0]))throw new u("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:e});if("@id"in e[0])for(const t of o.asArray(e[0]["@id"]))if(!a.isObject(t)&&!s.isAbsolute(t)||a.isString(t)&&0===t.indexOf("_:"))throw new u("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e});if("@type"in e[0])for(const t of o.asArray(e[0]["@type"]))if(!a.isObject(t)&&!s.isAbsolute(t)||a.isString(t)&&0===t.indexOf("_:"))throw new u("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e})}function g(e,t,n,s){let u=!0,l=!1;for(const c in n){let d=!1;const p=o.getValues(t,c),f=0===o.getValues(n,c).length;if("@id"===c){if(a.isEmptyObject(n["@id"][0]||{})?d=!0:n["@id"].length>=0&&(d=n["@id"].includes(p[0])),!s.requireAll)return d}else if("@type"===c){if(u=!1,f){if(p.length>0)return!1;d=!0}else if(1===n["@type"].length&&a.isEmptyObject(n["@type"][0]))d=p.length>0;else for(const e of n["@type"])d=!(!a.isObject(e)||!("@default"in e))||(d||p.some(t=>t===e));if(!s.requireAll)return d}else{if(r(c))continue;{const t=o.getValues(n,c)[0];let r=!1;if(t&&(m([t]),r="@default"in t),u=!1,0===p.length&&r)continue;if(p.length>0&&f)return!1;if(void 0===t){if(p.length>0)return!1;d=!0}else if(i.isList(t)){const n=t["@list"][0];if(i.isList(p[0])){const t=p[0]["@list"];i.isValue(n)?d=t.some(e=>w(n,e)):(i.isSubject(n)||i.isSubjectReference(n))&&(d=t.some(t=>b(e,n,t,s)))}}else d=i.isValue(t)?p.some(e=>w(t,e)):i.isSubjectReference(t)?p.some(n=>b(e,t,n,s)):!!a.isObject(t)&&p.length>0}}if(!d&&s.requireAll)return!1;l=l||d}return u||l}function v(e,t){const n=e.uniqueEmbeds[e.graph],r=n[t],i=r.parent,s=r.property,u={"@id":t};if(a.isArray(i)){for(let e=0;e<i.length;++e)if(o.compareValues(i[e],u)){i[e]=u;break}}else{const e=a.isArray(i[s]);o.removeValue(i,s,u,{propertyIsArray:e}),o.addValue(i,s,u,{propertyIsArray:e})}const l=e=>{const t=Object.keys(n);for(const r of t)r in n&&a.isObject(n[r].parent)&&n[r].parent["@id"]===e&&(delete n[r],l(r))};l(t)}
106
+ let n;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:t):e=>(n||(n=Promise.resolve())).then(e).catch(e=>setTimeout(()=>{throw e},0))}).call(this,n(67))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};t.__esModule=!0,t.renderAutocompleteControl=void 0;var a=n(0),o=n(0),s=n(313),u=n(159),l=a.store,c=o.icons.iconBase+"noun_34653_green.svg",d=o.icons.iconBase+"noun_Search_875351.svg";t.renderAutocompleteControl=function(e,t,n,o){return r(this,void 0,void 0,(function(){function p(e,n){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){return n=e.uri,h(),[2,o(t,n)]}))}))}function f(n){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,a.widgets.askName(e,a.store,E,a.ns.vcard("url"),null,"Solid ID")];case 1:return(n=r.sent())?[2,o(t,n)]:[2]}}))}))}function h(){E.removeChild(k),k=null}function m(t){return r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return k?(E.removeChild(k),k=null,[3,3]):[3,1];case 1:return(k=e.createElement("div")).setAttribute("style","display: flex; flex-flow: wrap;"),n=(t=k).appendChild,[4,(0,s.renderAutoComplete)(e,x,p)];case 2:n.apply(t,[r.sent()]),k.appendChild(y),k.appendChild(b),E.appendChild(k),r.label=3;case 3:return[2]}}))}))}function g(e){return r(this,void 0,void 0,(function(){var n,r,a;return i(this,(function(i){switch(i.label){case 0:n=0,r=e,i.label=1;case 1:return n<r.length?(a=r[n],[4,o(t,a)]):[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))}var v,y,b,w,x,k,E,C;return i(this,(function(r){return v=n.queryParameters||u.wikidataParameters,y=a.widgets.continueButton(e),b=a.widgets.cancelButton(e,h),w=n.class,x={queryParams:v,class:w,acceptButton:y,cancelButton:b},k=null,(n=n||{}).editable=l.updater.editable(t.doc().uri,l),(E=e.createElement("div")).setAttribute("style","display: flex; flex-flow: wrap;"),n.editable&&(E.style.width="100%",C=E.appendChild(a.widgets.button(e,c,n.idNoun,f)),a.widgets.makeDropTarget(C,g,null),n.dbLookup&&E.appendChild(a.widgets.button(e,d,n.idNoun,m))),[2,E]}))}))}},function(e,t){e.exports='\n# This turtle file defined the forms usied in the contacts management\n#\n# Indivduals and orgs are in one file as they both\n# share some forms (address etc) and also interact (roles)\n\n# Now hand-edited, was originally made using form editor.\n# Forms documentaion: https://solid.github.io/solid-ui/Documentation/forms-intro.html\n\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix dct: <http://purl.org/dc/terms/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix prov: <http://www.w3.org/ns/prov#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix : <#>.\n\n# Ontology additions or interpretations needed for the form to work well\n\n# The ontology file doesn\'t make them disjoint. This makes the selector be a choice.\nvcard:TelephoneType owl:disjointUnionOf ( vcard:Cell vcard:Home vcard:Work) .\nvcard:Type owl:disjointUnionOf (vcard:Home vcard:Work) . # for email\n\n# Better field labels\nvcard:Cell ui:label "mobile"@en . # app will imake nitial caps if nec\nvcard:hasAddress ui:label "address"@en .\nvcard:bday ui:label "born"@en.\nvcard:hasEmail ui:label "email"@en .\nvcard:hasTelephone ui:label "phone"@en .\nvcard:note ui:label "notes"@en .\n\n\n\n# Ontology data to drive a top classifier\n\nfoaf:Agent owl:disjointUnionOf (\n vcard:Individual\n # @@ schema:robot @@ schem:SoftwareApplication, n0:Agent, n0:Person,\n prov:SoftwareAgent\n # vcard:Group a group of agents is not (currently) an agent itself.\n # You can\'t get a decision out of it so it can\'t own a bank account\n vcard:Organization\n).\n\n\n# Ontology data to drive the classifier\n\nsolid:InterestingOrganization owl:disjointUnionOf (\n# Airline - a Corpration\n# Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization\n# FundingScheme - eh?\n schema:GovernmentOrganization\n# LibrarySystem\n# LocalBusiness - Corporation\n schema:MedicalOrganization\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\n schema:MusicGroup # e.g. a band\n schema:Project # like Solid\n schema:SportsOrganization # a Team\n ) .\n\n#########################################################\n# The forms themselves\n\nfoaf:Agent ui:creationForm :AgentForm .\n\n:AgentForm a ui:Form; schema:name "Form for editing a agent" ;\n ui:parts ( :AgentClassifier :AgentOptions ) .\n\n :AgentClassifier a ui:Classifier; ui:label "What sort of agent?"@en;\n ui:category foaf:Agent .\n\n:AgentOptions a ui:Options; ui:dependingon rdf:type;\n ui:case [ ui:for vcard:Individual; ui:use :form1 ],\n [ ui:for vcard:Organization; ui:use :orgDetailsForm ],\n [ ui:for prov:SoftwareAgent; ui:use :robotDetailsForm ] .\n\n# Robots\n\n:robotDetailsForm a ui:Form; ui:parts ( ) . # @@@@\n\n# Individual-specific form\n\nvcard:Individual\n ui:creationForm :form1 .\n\n# The addressComment, etc., fields with a comment before each type of field\n# were originally partly because the labels on the fields were clumsy like "hasAddress".\n# This is fixed by adding the ui:label to the properties above, so let\'s try\n# removing the little micro-headings\n\n# For org:\n:orgDetailsForm a ui:Form ; dct:title "Contact details for an organozation";\n ui:parts (\n :OrgClassifier\n\n :fullNameField\n :addresses\n :eMails\n :telephones\n :noteField ) .\n# For individual:\n:form1\n dct:title "Contact Details for a person" ;\n a ui:Form ;\n ui:part\n :fullNameField, :roleField, :orgNameField,\n # :addressesComment,\n :addresses,\n # :emailComment,\n :eMails,\n# :telephoneComment,\n :telephones,\n# :noteComment,\n :noteField ;\n ui:parts (\n :fullNameField :roleField :orgNameField\n # :addressesComment\n :addresses\n # :emailComment\n :eMails\n # :telephoneComment\n :telephones :birthdayField\n # :noteComment\n :noteField ) .\n\n :fullNameField\n a ui:SingleLineTextField ;\n ui:label "Name";\n ui:maxLength "128" ;\n ui:property vcard:fn ;\n ui:size "40" .\n\n :roleField\n a ui:SingleLineTextField ;\n ui:suppressEmptyUneditable true;\n ui:maxLength "128" ;\n ui:property vcard:role ;\n ui:size "40" .\n\n :orgNameField\n a ui:SingleLineTextField ;\n ui:suppressEmptyUneditable true;\n ui:maxLength "128" ;\n ui:property vcard:organization-name ;\n ui:size "40" .\n\n\n:addressesComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n ui:contents "Address" .\n\n\n:addresses\n dct:title "Address details" ;\n a ui:Multiple ;\n ui:part :oneAddress ;\n ui:property vcard:hasAddress .\n\n:oneAddress\n a ui:Group ;\n ui:parts ( :id1409437207443 :id1409437292400 :id1409437421996 :id1409437467649 :id1409437569420 ). # :id1409437646712\n\n:id1409437207443\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:street-address ;\n ui:size "40" .\n\n:id1409437292400\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:locality ;\n ui:size "40" .\n\n:id1409437421996\n a ui:SingleLineTextField ;\n ui:maxLength "25" ;\n ui:property vcard:postal-code ;\n ui:size "25" .\n\n:id1409437467649\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:region ;\n ui:size "40" .\n\n:id1409437569420\n a ui:SingleLineTextField ;\n ui:maxLength "128" ;\n ui:property vcard:country-name ;\n ui:size "40" .\n\n:id1409437646712\n a ui:Classifier ;\n ui:from rdf:Class ;\n ui:property rdf:type .\n\n\n##############################\n\n:emailComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n\n ui:contents "Email" .\n\n\n:eMails\n a ui:Multiple ;\n ui:part :oneEMail ;\n ui:property vcard:hasEmail .\n\n:oneEMail\n a ui:Group ; # hint: side by side is good\n ui:part :emailValue, :emailType ;\n ui:parts ( :emailType :emailValue ).\n\n:emailValue\n a ui:EmailField ; ui:label "email";\n ui:property vcard:value ;\n ui:size "50" .\n\n:emailType\n a ui:Classifier ;\n ui:canMintNew "0" ;\n ui:category vcard:Type ;\n ui:from vcard:Type ;\n ui:property rdf:type .\n\n\n##############################\n\n:telephoneComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n ui:contents "Phones" .\n\n\n:telephones\n a ui:Multiple ;\n ui:part :onetelephone ;\n ui:property vcard:hasTelephone .\n\n:onetelephone\n a ui:Group ;\n ui:part :telephoneValue, :telephoneType ;\n ui:parts ( :telephoneType :telephoneValue ).\n\n:telephoneValue\n a ui:PhoneField ;\n ui:property vcard:value ;\n ui:size "50" .\n\n:telephoneType\n a ui:Classifier ;\n ui:canMintNew "0" ;\n ui:category vcard:TelephoneType ;\n ui:from vcard:Type ;\n ui:property rdf:type .\n\n##############################\n\n:birthdayField\n a ui:DateField;\n ui:label "Born";\n ui:suppressEmptyUneditable true;\n ui:property vcard:bday .\n\n##############################\n\n:noteComment\n a ui:Comment ;\n ui:suppressIfUneditable true;\n ui:contents "General Notes" .\n\n:noteField\n a ui:MultiLineTextField ;\n ui:suppressEmptyUneditable true;\n\n ui:property vcard:note .\n\n\n############ organization forms\n\n:OrganinizatioCreationForm a ui:Form; schema:name "Form for editing contact details of an organization" ;\n ui:parts ( :OrgClassifier :homePageURIField ) .\n\n\n:OrgClassifier a ui:Classifier; ui:label "What sort of organization?"@en;\n ui:category solid:InterestingOrganization .\n\n\n:instituteNameField\n a ui:SingleLineTextField ;\n ui:label "Intitute Name";\n ui:maxLength "200" ;\n ui:property schema:name ;\n ui:size "80" .\n\n :homePageURIField a ui:NamedNodeURIField;\n ui:property schema:url . # @@ ??\n\n :initituteTypeField a ui:Classifier;\n ui:label "What sort of organization";\n ui:category solid:InterestingOrganization .\n'},function(e,t){e.exports='\n@prefix : <http://www.w3.org/2006/vcard/ns#> .\n@prefix owl: <http://www.w3.org/2002/07/owl#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix xml: <http://www.w3.org/XML/1998/namespace> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:Acquaintance a owl:Class ;\n rdfs:label "Acquaintance"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Agent a owl:Class ;\n rdfs:label "Agent"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:BBS a owl:Class ;\n rdfs:label "BBS"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Car a owl:Class ;\n rdfs:label "Car"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Cell a owl:Class ;\n rdfs:label "Cell"@en ;\n rdfs:comment "Also called mobile telephone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Child a owl:Class ;\n rdfs:label "Child"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Colleague a owl:Class ;\n rdfs:label "Colleague"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Contact a owl:Class ;\n rdfs:label "Contact"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Coresident a owl:Class ;\n rdfs:label "Coresident"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Coworker a owl:Class ;\n rdfs:label "Coworker"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Crush a owl:Class ;\n rdfs:label "Crush"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Date a owl:Class ;\n rdfs:label "Date"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Dom a owl:Class ;\n rdfs:label "Dom"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Emergency a owl:Class ;\n rdfs:label "Emergency"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Fax a owl:Class ;\n rdfs:label "Fax"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Female a owl:Class ;\n rdfs:label "Female"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Friend a owl:Class ;\n rdfs:label "Friend"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Home a owl:Class ;\n rdfs:label "Home"@en ;\n rdfs:comment "This implies that the property is related to an individual\'s personal life"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type .\n\n:ISDN a owl:Class ;\n rdfs:label "ISDN"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Internet a owl:Class ;\n rdfs:label "Internet"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Intl a owl:Class ;\n rdfs:label "Intl"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Kin a owl:Class ;\n rdfs:label "Kin"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Label a owl:Class ;\n rdfs:label "Label"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Male a owl:Class ;\n rdfs:label "Male"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Me a owl:Class ;\n rdfs:label "Me"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Met a owl:Class ;\n rdfs:label "Met"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Modem a owl:Class ;\n rdfs:label "Modem"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Msg a owl:Class ;\n rdfs:label "Msg"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Muse a owl:Class ;\n rdfs:label "Muse"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Neighbor a owl:Class ;\n rdfs:label "Neighbor"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:None a owl:Class ;\n rdfs:label "None"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Other a owl:Class ;\n rdfs:label "Other"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:PCS a owl:Class ;\n rdfs:label "PCS"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType ;\n owl:deprecated true .\n\n:Pager a owl:Class ;\n rdfs:label "Pager"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Parcel a owl:Class ;\n rdfs:label "Parcel"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Parent a owl:Class ;\n rdfs:label "Parent"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Postal a owl:Class ;\n rdfs:label "Postal"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Pref a owl:Class ;\n rdfs:label "Pref"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:Sibling a owl:Class ;\n rdfs:label "Sibling"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Spouse a owl:Class ;\n rdfs:label "Spouse"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Sweetheart a owl:Class ;\n rdfs:label "Sweetheart"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :RelatedType .\n\n:Tel a owl:Class ;\n rdfs:label "Tel"@en ;\n rdfs:comment "This class is deprecated. Use the hasTelephone object property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:Text a owl:Class ;\n rdfs:label "Text"@en ;\n rdfs:comment "Also called sms telephone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:TextPhone a owl:Class ;\n rdfs:label "Text phone"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Unknown a owl:Class ;\n rdfs:label "Unknown"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Gender .\n\n:Video a owl:Class ;\n rdfs:label "Video"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Voice a owl:Class ;\n rdfs:label "Voice"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :TelephoneType .\n\n:Work a owl:Class ;\n rdfs:label "Work"@en ;\n rdfs:comment "This implies that the property is related to an individual\'s work place"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type .\n\n:X400 a owl:Class ;\n rdfs:label "X400"@en ;\n rdfs:comment "This class is deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Type ;\n owl:deprecated true .\n\n:adr a owl:ObjectProperty ;\n rdfs:label "address"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasAddress .\n\n:agent a owl:ObjectProperty ;\n rdfs:label "agent"@en ;\n rdfs:comment "This object property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:anniversary a owl:DatatypeProperty ;\n rdfs:label "anniversary"@en ;\n rdfs:comment "The date of marriage, or equivalent, of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range [ a rdfs:Datatype ;\n owl:unionOf ( xsd:dateTime xsd:gYear ) ] .\n\n:bday a owl:DatatypeProperty ;\n rdfs:label "birth date"@en ;\n rdfs:comment "To specify the birth date of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range [ a rdfs:Datatype ;\n owl:unionOf ( xsd:dateTime xsd:dateTimeStamp xsd:gYear ) ] .\n\n:category a owl:DatatypeProperty ;\n rdfs:label "category"@en ;\n rdfs:comment "The category information about the object, also known as tags"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:class a owl:DatatypeProperty ;\n rdfs:label "class"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:email a owl:ObjectProperty ;\n rdfs:label "email"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasEmail .\n\n:extended-address a owl:DatatypeProperty ;\n rdfs:label "extended address"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:geo a owl:ObjectProperty ;\n rdfs:label "geo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasGeo .\n\n:hasAdditionalName a owl:ObjectProperty ;\n rdfs:label "has additional name"@en ;\n rdfs:comment "Used to support property parameters for the additional name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarBusy a owl:ObjectProperty ;\n rdfs:label "has calendar busy"@en ;\n rdfs:comment "To specify the busy time associated with the object. (Was called FBURL in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarLink a owl:ObjectProperty ;\n rdfs:label "has calendar link"@en ;\n rdfs:comment "To specify the calendar associated with the object. (Was called CALURI in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCalendarRequest a owl:ObjectProperty ;\n rdfs:label "has calendar request"@en ;\n rdfs:comment "To specify the calendar user address to which a scheduling request be sent for the object. (Was called CALADRURI in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCategory a owl:ObjectProperty ;\n rdfs:label "has category"@en ;\n rdfs:comment "Used to support property parameters for the category data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasCountryName a owl:ObjectProperty ;\n rdfs:label "has country name"@en ;\n rdfs:comment "Used to support property parameters for the country name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasFN a owl:ObjectProperty ;\n rdfs:label "has formatted name"@en ;\n rdfs:comment "Used to support property parameters for the formatted name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasFamilyName a owl:ObjectProperty ;\n rdfs:label "has family name"@en ;\n rdfs:comment "Used to support property parameters for the family name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasGender a owl:ObjectProperty ;\n rdfs:label "has gender"@en ;\n rdfs:comment "To specify the sex or gender identity of the object. URIs are recommended to enable interoperable sex and gender codes to be used."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasGivenName a owl:ObjectProperty ;\n rdfs:label "has given name"@en ;\n rdfs:comment "Used to support property parameters for the given name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasHonorificPrefix a owl:ObjectProperty ;\n rdfs:label "has honorific prefix"@en ;\n rdfs:comment "Used to support property parameters for the honorific prefix data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasHonorificSuffix a owl:ObjectProperty ;\n rdfs:label "has honorific suffix"@en ;\n rdfs:comment "Used to support property parameters for the honorific suffix data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasInstantMessage a owl:ObjectProperty ;\n rdfs:label "has messaging"@en ;\n rdfs:comment "To specify the instant messaging and presence protocol communications with the object. (Was called IMPP in RFC6350)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasLanguage a owl:ObjectProperty ;\n rdfs:label "has language"@en ;\n rdfs:comment "Used to support property parameters for the language data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasLocality a owl:ObjectProperty ;\n rdfs:label "has locality"@en ;\n rdfs:comment "Used to support property parameters for the locality data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasNickname a owl:ObjectProperty ;\n rdfs:label "has nickname"@en ;\n rdfs:comment "Used to support property parameters for the nickname data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:seeAlso :nickname .\n\n:hasNote a owl:ObjectProperty ;\n rdfs:label "has note"@en ;\n rdfs:comment "Used to support property parameters for the note data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasOrganizationName a owl:ObjectProperty ;\n rdfs:label "has organization name"@en ;\n rdfs:comment "Used to support property parameters for the organization name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasOrganizationUnit a owl:ObjectProperty ;\n rdfs:label "has organization unit name"@en ;\n rdfs:comment "Used to support property parameters for the organization unit name data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasPostalCode a owl:ObjectProperty ;\n rdfs:label "has postal code"@en ;\n rdfs:comment "Used to support property parameters for the postal code data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRegion a owl:ObjectProperty ;\n rdfs:label "has region"@en ;\n rdfs:comment "Used to support property parameters for the region data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRelated a owl:ObjectProperty ;\n rdfs:label "has related"@en ;\n rdfs:comment "To specify a relationship between another entity and the entity represented by this object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasRole a owl:ObjectProperty ;\n rdfs:label "has role"@en ;\n rdfs:comment "Used to support property parameters for the role data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasSource a owl:ObjectProperty ;\n rdfs:label "has source"@en ;\n rdfs:comment "To identify the source of directory information of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasStreetAddress a owl:ObjectProperty ;\n rdfs:label "has street address"@en ;\n rdfs:comment "Used to support property parameters for the street address data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasTitle a owl:ObjectProperty ;\n rdfs:label "has title"@en ;\n rdfs:comment "Used to support property parameters for the title data property"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasUID a owl:ObjectProperty ;\n rdfs:label "has uid"@en ;\n rdfs:comment "To specify a value that represents a globally unique identifier corresponding to the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasValue a owl:ObjectProperty ;\n rdfs:label "has value"@en ;\n rdfs:comment "Used to indicate the resource value of an object property that requires property parameters"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:label a owl:DatatypeProperty ;\n rdfs:label "label"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:language a owl:DatatypeProperty ;\n rdfs:label "language"@en ;\n rdfs:comment "To specify the language that may be used for contacting the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:latitude a owl:DatatypeProperty ;\n rdfs:label "latitude"@en ;\n rdfs:comment "This data property has been deprecated. See hasGeo"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:longitude a owl:DatatypeProperty ;\n rdfs:label "longitude"@en ;\n rdfs:comment "This data property has been deprecated. See hasGeo"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:mailer a owl:DatatypeProperty ;\n rdfs:label "mailer"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:note a owl:DatatypeProperty ;\n rdfs:label "note"@en ;\n rdfs:comment "A note associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:org a owl:ObjectProperty ;\n rdfs:label "organization"@en ;\n rdfs:comment "This object property has been mapped. Use the organization-name data property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :organization-name .\n\n:organization-unit a owl:DatatypeProperty ;\n rdfs:label "organizational unit name"@en ;\n rdfs:comment "To specify the organizational unit name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string ;\n rdfs:subPropertyOf :organization-name .\n\n:post-office-box a owl:DatatypeProperty ;\n rdfs:label "post office box"@en ;\n rdfs:comment "This data property has been deprecated"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:prodid a owl:DatatypeProperty ;\n rdfs:label "product id"@en ;\n rdfs:comment "To specify the identifier for the product that created the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:rev a owl:DatatypeProperty ;\n rdfs:label "revision"@en ;\n rdfs:comment "To specify revision information about the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:dateTime .\n\n:role a owl:DatatypeProperty ;\n rdfs:label "role"@en ;\n rdfs:comment "To specify the function or part played in a particular situation by the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:sort-string a owl:DatatypeProperty ;\n rdfs:label "sort as"@en ;\n rdfs:comment "To specify the string to be used for national-language-specific sorting. Used as a property parameter only."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:title a owl:DatatypeProperty ;\n rdfs:label "title"@en ;\n rdfs:comment "To specify the position or job of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:tz a owl:DatatypeProperty ;\n rdfs:label "time zone"@en ;\n rdfs:comment "To indicate time zone information that is specific to the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:value a owl:DatatypeProperty ;\n rdfs:label "value"@en ;\n rdfs:comment "Used to indicate the literal value of a data property that requires property parameters"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:Address a owl:Class ;\n rdfs:label "Address"@en ;\n rdfs:comment "To specify the components of the delivery address for the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Class ;\n owl:unionOf ( [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :country-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :country-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :locality ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :locality ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :postal-code ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :postal-code ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :region ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :region ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :street-address ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :street-address ] ) ] ) ] .\n\n:Email a owl:Class ;\n rdfs:label "Email"@en ;\n rdfs:comment "To specify the electronic mail address for communication with the object the vCard represents. Use the hasEmail object property."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:deprecated true .\n\n:Group a owl:Class ;\n rdfs:label "Group"@en ;\n rdfs:comment "Object representing a group of persons or entities. A group object will usually contain hasMember properties to specify the members of the group."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Individual,\n :Location,\n :Organization ;\n owl:equivalentClass [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :hasMember ;\n owl:someValuesFrom :Kind ] [ a owl:Restriction ;\n owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onClass :Kind ;\n owl:onProperty :hasMember ] ) ] .\n\n:Individual a owl:Class ;\n rdfs:label "Individual"@en ;\n rdfs:comment "An object representing a single person or entity"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Location,\n :Organization .\n\n:Name a owl:Class ;\n rdfs:label "Name"@en ;\n rdfs:comment "To specify the components of the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Class ;\n owl:unionOf ( [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :additional-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :additional-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :family-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :family-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :given-name ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:maxCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onProperty :given-name ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :honorific-prefix ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :honorific-prefix ] ) ] [ a owl:Class ;\n owl:intersectionOf ( [ a owl:Restriction ;\n owl:onProperty :honorific-suffix ;\n owl:someValuesFrom xsd:string ] [ a owl:Restriction ;\n owl:minCardinality "0"^^xsd:nonNegativeInteger ;\n owl:onProperty :honorific-suffix ] ) ] ) ] .\n\n:VCard a owl:Class ;\n rdfs:label "VCard"@en ;\n rdfs:comment "The vCard class is equivalent to the new Kind class, which is the parent for the four explicit types of vCards (Individual, Organization, Location, Group)"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass :Kind .\n\n:fn a owl:DatatypeProperty ;\n rdfs:label "formatted name"@en ;\n rdfs:comment "The formatted text corresponding to the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:hasAddress a owl:ObjectProperty ;\n rdfs:label "has address"@en ;\n rdfs:comment "To specify the components of the delivery address for the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Address .\n\n:hasEmail a owl:ObjectProperty ;\n rdfs:label "has email"@en ;\n rdfs:comment "To specify the electronic mail address for communication with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Email .\n\n:hasGeo a owl:ObjectProperty ;\n rdfs:label "has geo"@en ;\n rdfs:comment "To specify information related to the global positioning of the object. May also be used as a property parameter."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:hasKey a owl:ObjectProperty ;\n rdfs:label "has key"@en ;\n rdfs:comment "To specify a public key or authentication certificate associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :key .\n\n:hasLogo a owl:ObjectProperty ;\n rdfs:label "has logo"@en ;\n rdfs:comment "To specify a graphic image of a logo associated with the object "@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :logo .\n\n:hasName a owl:ObjectProperty ;\n rdfs:label "has name"@en ;\n rdfs:comment "To specify the components of the name of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Name ;\n owl:equivalentProperty :n .\n\n:hasPhoto a owl:ObjectProperty ;\n rdfs:label "has photo"@en ;\n rdfs:comment "To specify an image or photograph information that annotates some aspect of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :photo .\n\n:hasSound a owl:ObjectProperty ;\n rdfs:label "has sound"@en ;\n rdfs:comment "To specify a digital sound content information that annotates some aspect of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :sound .\n\n:hasTelephone a owl:ObjectProperty ;\n rdfs:label "has telephone"@en ;\n rdfs:comment "To specify the telephone number for telephony communication with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :tel .\n\n:hasURL a owl:ObjectProperty ;\n rdfs:label "has url"@en ;\n rdfs:comment "To specify a uniform resource locator associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :url .\n\n:key a owl:ObjectProperty ;\n rdfs:label "key"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasKey .\n\n:logo a owl:ObjectProperty ;\n rdfs:label "logo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasLogo .\n\n:n a owl:ObjectProperty ;\n rdfs:label "name"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasName .\n\n:nickname a owl:DatatypeProperty ;\n rdfs:label "nickname"@en ;\n rdfs:comment "The nick name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:photo a owl:ObjectProperty ;\n rdfs:label "photo"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasPhoto .\n\n:sound a owl:ObjectProperty ;\n rdfs:label "sound"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasSound .\n\n:tel a owl:ObjectProperty ;\n rdfs:label "telephone"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasTelephone .\n\n:url a owl:ObjectProperty ;\n rdfs:label "url"@en ;\n rdfs:comment "This object property has been mapped"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentProperty :hasURL .\n\n:Location a owl:Class ;\n rdfs:label "Location"@en ;\n rdfs:comment "An object representing a named geographical place"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind ;\n owl:disjointWith :Organization .\n\n:additional-name a owl:DatatypeProperty ;\n rdfs:label "additional name"@en ;\n rdfs:comment "The additional name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:country-name a owl:DatatypeProperty ;\n rdfs:label "country name"@en ;\n rdfs:comment "The country name associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:family-name a owl:DatatypeProperty ;\n rdfs:label "family name"@en ;\n rdfs:comment "The family name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:given-name a owl:DatatypeProperty ;\n rdfs:label "given name"@en ;\n rdfs:comment "The given name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:hasMember a owl:ObjectProperty ;\n rdfs:label "has member"@en ;\n rdfs:comment "To include a member in the group this object represents. (This property can only be used by Group individuals)"@en ;\n rdfs:domain :Group ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range :Kind .\n\n:honorific-prefix a owl:DatatypeProperty ;\n rdfs:label "honorific prefix"@en ;\n rdfs:comment "The honorific prefix of the name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:honorific-suffix a owl:DatatypeProperty ;\n rdfs:label "honorific suffix"@en ;\n rdfs:comment "The honorific suffix of the name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:locality a owl:DatatypeProperty ;\n rdfs:label "locality"@en ;\n rdfs:comment "The locality (e.g. city or town) associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:organization-name a owl:DatatypeProperty ;\n rdfs:label "organization name"@en ;\n rdfs:comment "To specify the organizational name associated with the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:postal-code a owl:DatatypeProperty ;\n rdfs:label "postal code"@en ;\n rdfs:comment "The postal code associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:region a owl:DatatypeProperty ;\n rdfs:label "region"@en ;\n rdfs:comment "The region (e.g. state or province) associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:street-address a owl:DatatypeProperty ;\n rdfs:label "street address"@en ;\n rdfs:comment "The street address associated with the address of the object"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:range xsd:string .\n\n:Organization a owl:Class ;\n rdfs:label "Organization"@en ;\n rdfs:comment """An object representing an organization. An organization is a single entity, and might represent a business or government, a department or division within a business or government, a club, an association, or the like.\n"""@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n rdfs:subClassOf :Kind .\n\n:Gender a owl:Class ;\n rdfs:label "Gender"@en ;\n rdfs:comment "Used for gender codes. The URI of the gender code must be used as the value for Gender."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:Kind a owl:Class ;\n rdfs:label "Kind"@en ;\n rdfs:comment "The parent class for all objects"@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> ;\n owl:equivalentClass [ a owl:Restriction ;\n owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;\n owl:onDataRange xsd:string ;\n owl:onProperty :fn ],\n :VCard .\n\n:Type a owl:Class ;\n rdfs:label "Type"@en ;\n rdfs:comment "Used for type codes. The URI of the type code must be used as the value for Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:TelephoneType a owl:Class ;\n rdfs:label "Phone"@en ;\n rdfs:comment "Used for telephone type codes. The URI of the telephone type code must be used as the value for the Telephone Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n:RelatedType a owl:Class ;\n rdfs:label "Relation Type"@en ;\n rdfs:comment "Used for relation type codes. The URI of the relation type code must be used as the value for the Relation Type."@en ;\n rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns> .\n\n<http://www.w3.org/2006/vcard/ns> a owl:Ontology ;\n rdfs:label "Ontology for vCard"@en ;\n rdfs:comment "Ontology for vCard based on RFC6350"@en ;\n owl:versionInfo "Final"@en .\n\n\n'},,function(e,t,n){e.exports=n(380)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={buildTime:"2022-02-09T21:57:45Z",commit:"4a26c02f8dd05c09ac1514e14ddcb6755a0a28cc",npmInfo:{"solid-panes":"3.5.18",npm:"6.14.13",ares:"1.17.1",brotli:"1.0.9",cldr:"39.0",icu:"69.1",llhttp:"2.1.3",modules:"83",napi:"8",nghttp2:"1.42.0",node:"14.17.3",openssl:"1.1.1k",tz:"2021a",unicode:"13.0",uv:"1.41.0",v8:"8.4.371.23-node.67",zlib:"1.2.11"}}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(88),i=n(132),a=n(176),o=n(177),s=i.DOMImplementation,u=r.NAMESPACE,l=o.ParseError,c=o.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new f,o=n.errorHandler,s=n.locator,l=n.xmlns||{},p=/\/x?html?$/.test(t),h=p?a.HTML_ENTITIES:a.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},i=e instanceof Function;function a(t){var a=e[t];!a&&i&&(a=2==e.length?function(n){e(t,n)}:e),r[t]=a&&function(e){a("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},a("warning"),a("error"),a("fatalError"),r}(o,i,s),r.domBuilder=n.domBuilder||i,p&&(l[""]=u.HTML),l.xml=l.xml||u.XML;var g=n.normalizeLineEndings||d;return e&&"string"==typeof e?r.parse(g(e),l,h):r.errorHandler.error("invalid doc source"),i.doc},f.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;v(this,a),this.currentElement=a,this.locator&&h(this.locator,a);for(var s=0;s<o;s++){e=r.getURI(s);var u=r.getValue(s),l=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&h(r.getLocator(s),l),l.value=l.nodeValue=u,a.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,n),v(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&h(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&h(this.locator,r),v(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&h(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new l(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){f.prototype[e]=function(){return null}})),t.__DOMHandler=f,t.normalizeLineEndings=d,t.DOMParser=p},function(e,t,n){var r=n(88).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},function(e,t,n){var r=n(88).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function l(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,n,i,a,o){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&o.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),r)}for(var u,l=++t,c=0;;){var d=e.charAt(l);switch(d){case"=":if(1===c)u=e.slice(t,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(o.warning('attribute value must after "="'),u=e.slice(t,l)),t=l+1,!((l=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");s(u,p=e.slice(t,l),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(u,p=e.slice(t,l),t),o.warning('attribute "'+u+'" missed start quot('+d+")!!"),t=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==c&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,l)).slice(-1)&&(n.closed=!0,p=p.slice(0,-1));case 2:2===c&&(p=u),4==c?(o.warning('attribute "'+p+'" missed quot(")!'),s(u,p,t)):(r.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),s(p,p,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":d=" ";default:if(d<=" ")switch(c){case 0:n.setTagName(e.slice(t,l)),c=6;break;case 1:u=e.slice(t,l),c=2;break;case 4:var p=e.slice(t,l);o.warning('attribute "'+p+'" missed quot(")!!'),s(u,p,t);case 5:c=6}else switch(c){case 2:n.tagName;r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=l,c=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function d(e,t,n){for(var i=e.tagName,a=null,o=e.length;o--;){var s=e[o],u=s.qName,l=s.value;if((f=u.indexOf(":"))>0)var c=s.prefix=u.slice(0,f),d=u.slice(f+1),p="xmlns"===c&&d;else d=u,c=null,p="xmlns"===u&&"";s.localName=d,!1!==p&&(null==a&&(a={},h(n,n={})),n[p]=a[p]=l,s.uri=r.XMLNS,t.startPrefixMapping(p,l))}for(o=e.length;o--;){(c=(s=e[o]).prefix)&&("xml"===c&&(s.uri=r.XML),"xmlns"!==c&&(s.uri=n[c||""]))}var f;(f=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,f),d=e.localName=i.slice(f+1)):(c=null,d=e.localName=i);var m=e.uri=n[c||""];if(t.startElement(m,d,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(m,d,i),a)for(c in a)t.endPrefixMapping(c)}function p(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("</"+n+">",t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function f(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function h(e,t){for(var n in e)t[n]=e[n]}function m(e,t,n,r){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,l=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],l=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var c=a[o-1];return n.startDTD(s,u,l),n.endDTD(),c.index+c[0].length}}return-1}function g(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),h(t,t={}),function(e,t,n,i,a){function o(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function u(t){if(t>C){var n=e.substring(C,t).replace(/&#?\w+;/g,o);x&&h(C),i.characters(n,0,t-C),C=t}}function h(t,n){for(;t>=b&&(n=w.exec(e));)y=n.index,b=y+n[0].length,x.lineNumber++;x.columnNumber=t-y+1}var y=0,b=0,w=/.*(?:\r\n?|\n)|.*$/g,x=i.locator,k=[{currentNSMap:t}],E={},C=0;for(;;){try{var _=e.indexOf("<",C);if(_<0){if(!e.substr(C).match(/^\s*$/)){var S=i.doc,A=S.createTextNode(e.substr(C));S.appendChild(A),i.currentElement=A}return}switch(_>C&&u(_),e.charAt(_+1)){case"/":var T=e.indexOf(">",_+3),P=e.substring(_+2,T).replace(/[ \t\n\r]+$/g,""),D=k.pop();T<0?(P=e.substring(_+2).replace(/[\s<].*/,""),a.error("end tag name: "+P+" is not complete:"+D.tagName),T=_+1+P.length):P.match(/\s</)&&(P=P.replace(/[\s<].*/,""),a.error("end tag name: "+P+" maybe not complete"),T=_+1+P.length);var O=D.localNSMap,I=D.tagName==P;if(I||D.tagName&&D.tagName.toLowerCase()==P.toLowerCase()){if(i.endElement(D.uri,D.localName,P),O)for(var F in O)i.endPrefixMapping(F);I||a.fatalError("end tag name: "+P+" is not match the current start tagName:"+D.tagName)}else k.push(D);T++;break;case"?":x&&h(_),T=g(e,_,i);break;case"!":x&&h(_),T=m(e,_,i,a);break;default:x&&h(_);var N=new v,R=k[k.length-1].currentNSMap,j=(T=c(e,_,N,R,o,a),N.length);if(!N.closed&&f(e,T,N.tagName,E)&&(N.closed=!0,n.nbsp||a.warning("unclosed xml attribute")),x&&j){for(var L=l(x,{}),M=0;M<j;M++){var U=N[M];h(U.offset),U.locator=l(x,{})}i.locator=L,d(N,i,R)&&k.push(N),i.locator=x}else d(N,i,R)&&k.push(N);r.isHTML(N.uri)&&!N.closed?T=p(e,T,N.tagName,o,i):T++}}catch(e){if(e instanceof s)throw e;a.error("element parse error: "+e),T=-1}T>C?C=T:u(Math.max(_,C)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(e){if(!o.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!o.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=u,t.ParseError=s},function(e,t,n){"use strict";const r=n(133),i=n(180),a=n(137),o=n(181);let s;try{s=n(182)}catch(e){}const u={};e.exports=u,u.NQuads=n(105),u.IdentifierIssuer=n(104),u._rdfCanonizeNative=function(e){return e&&(s=e),s},u.canonize=async function(e,t){if(Array.isArray(e)||(e=u.NQuads.legacyDatasetToQuads(e)),t.useNative){if(!s)throw new Error("rdf-canonize-native not available");return new Promise((n,r)=>s.canonize(e,t,(e,t)=>e?r(e):n(t)))}if("URDNA2015"===t.algorithm)return new r(t).main(e);if("URGNA2012"===t.algorithm)return new i(t).main(e);if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)},u._canonizeSync=function(e,t){if(Array.isArray(e)||(e=u.NQuads.legacyDatasetToQuads(e)),t.useNative){if(s)return s.canonizeSync(e,t);throw new Error("rdf-canonize-native not available")}if("URDNA2015"===t.algorithm)return new a(t).main(e);if("URGNA2012"===t.algorithm)return new o(t).main(e);if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(134),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(67))},function(e,t,n){"use strict";const r=n(133);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.hashAlgorithm="sha1"}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}async createHashToRelated(e,t){const n=new Map,r=this.blankNodeInfo.get(e).quads;let i=0;for(const a of r){let r,o;if("BlankNode"===a.subject.termType&&a.subject.value!==e)o=a.subject.value,r="p";else{if("BlankNode"!==a.object.termType||a.object.value===e)continue;o=a.object.value,r="r"}++i%100==0&&await this._yield();const s=await this.hashRelatedBlankNode(o,a,t,r),u=n.get(s);u?u.push(o):n.set(s,[o])}return n}}},function(e,t,n){"use strict";const r=n(137);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.hashAlgorithm="sha1"}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}createHashToRelated(e,t){const n=new Map,r=this.blankNodeInfo.get(e).quads;for(const i of r){let r,a;if("BlankNode"===i.subject.termType&&i.subject.value!==e)a=i.subject.value,r="p";else{if("BlankNode"!==i.object.termType||i.object.value===e)continue;a=i.object.value,r="r"}const o=this.hashRelatedBlankNode(a,i,t,r),s=n.get(o);s?s.push(a):n.set(o,[a])}return n}}},function(e,t){},function(e,t,n){"use strict";const r=n(184),i={};e.exports=i,i.setupDocumentLoaders=function(e){"undefined"!=typeof XMLHttpRequest&&(e.documentLoaders.xhr=r,e.useDocumentLoader("xhr"))},i.setupGlobals=function(e){void 0===globalThis.JsonLdProcessor&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:e.JsonLdProcessor})}},function(e,t,n){"use strict";const{parseLinkHeader:r,buildHeaders:i}=n(48),{LINK_HEADER_CONTEXT:a}=n(106),o=n(50),s=n(138),{prependBase:u}=n(58),l=/(^|(\r\n))link:/i;e.exports=({secure:e,headers:t={},xhr:n}={headers:{}})=>{t=i(t);return(new s).wrapLoader((async function i(s){if(0!==s.indexOf("http:")&&0!==s.indexOf("https:"))throw new o('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:s});if(e&&0!==s.indexOf("https"))throw new o('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:s});let c;try{c=await function(e,t,n){const r=new(e=e||XMLHttpRequest);return new Promise((e,i)=>{r.onload=()=>e(r),r.onerror=e=>i(e),r.open("GET",t,!0);for(const e in n)r.setRequestHeader(e,n[e]);r.send()})}(n,s,t)}catch(e){throw new o("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:s,cause:e})}if(c.status>=400)throw new o("URL could not be dereferenced: "+c.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:s,httpStatusCode:c.status});let d={contextUrl:null,documentUrl:s,document:c.response},p=null;const f=c.getResponseHeader("Content-Type");let h;l.test(c.getAllResponseHeaders())&&(h=c.getResponseHeader("Link"));if(h&&"application/ld+json"!==f){const e=r(h),t=e[a];if(Array.isArray(t))throw new o("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:s});t&&(d.contextUrl=t.target),p=e.alternate,p&&"application/ld+json"==p.type&&!(f||"").match(/^application\/(\w*\+)?json$/)&&(d=await i(u(s,p.target)))}return d}))}},function(e,t,n){"use strict";const{isArray:r,isObject:i,isString:a}=n(43),{asArray:o}=n(48),{prependBase:s}=n(58),u=n(50),l=n(186);function c(e){throw new u("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:e})}e.exports=class{constructor({sharedCache:e}){this.perOpCache=new Map,this.sharedCache=e}async resolve({activeCtx:e,context:t,documentLoader:n,base:s,cycles:u=new Set}){t&&i(t)&&t["@context"]&&(t=t["@context"]),t=o(t);const d=[];for(const o of t){if(a(o)){let t=this._get(o);t||(t=await this._resolveRemoteContext({activeCtx:e,url:o,documentLoader:n,base:s,cycles:u})),r(t)?d.push(...t):d.push(t);continue}if(null===o){d.push(new l({document:null}));continue}i(o)||c(t);const p=JSON.stringify(o);let f=this._get(p);f||(f=new l({document:o}),this._cacheResolvedContext({key:p,resolved:f,tag:"static"})),d.push(f)}return d}_get(e){let t=this.perOpCache.get(e);if(!t){const n=this.sharedCache.get(e);n&&(t=n.get("static"),t&&this.perOpCache.set(e,t))}return t}_cacheResolvedContext({key:e,resolved:t,tag:n}){if(this.perOpCache.set(e,t),void 0!==n){let r=this.sharedCache.get(e);r||(r=new Map,this.sharedCache.set(e,r)),r.set(n,t)}return t}async _resolveRemoteContext({activeCtx:e,url:t,documentLoader:n,base:o,cycles:u}){t=s(o,t);const{context:l,remoteDoc:c}=await this._fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:u});(function e({context:t,base:n}){if(!t)return;const o=t["@context"];if(a(o))return void(t["@context"]=s(n,o));if(r(o)){for(let t=0;t<o.length;++t){const r=o[t];a(r)?o[t]=s(n,r):i(r)&&e({context:{"@context":r},base:n})}return}if(!i(o))return;for(const t in o)e({context:o[t],base:n})})({context:l,base:o=c.documentUrl||t});const d=await this.resolve({activeCtx:e,context:l,documentLoader:n,base:o,cycles:u});return this._cacheResolvedContext({key:t,resolved:d,tag:c.tag}),d}async _fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:o}){if(o.size>10)throw new u("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"loading remote context failed":"context overflow",max:10});if(o.has(t))throw new u("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"recursive context inclusion":"context overflow",url:t});let s,l;o.add(t);try{l=await n(t),s=l.document||null,a(s)&&(s=JSON.parse(s))}catch(e){throw new u("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:t,cause:e})}if(!i(s))throw new u("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:t});return s="@context"in s?{"@context":s["@context"]}:{"@context":{}},l.contextUrl&&(r(s["@context"])||(s["@context"]=[s["@context"]]),s["@context"].push(l.contextUrl)),{context:s,remoteDoc:l}}}},function(e,t,n){"use strict";const r=n(139);e.exports=class{constructor({document:e}){this.document=e,this.cache=new r({max:10})}getProcessed(e){return this.cache.get(e)}setProcessed(e,t){this.cache.set(e,t)}}},function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}function i(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function a(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,a=this.head;null!==a&&i<e;i++)a=a.next;for(;null!==a&&i<t;i++,a=a.next)n.push(a.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,a=this.tail;null!==a&&i>t;i--)a=a.prev;for(;null!==a&&i>e;i--,a=a.prev)n.push(a.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,a=this.head;null!==a&&r<e;r++)a=a.next;var o=[];for(r=0;a&&r<t;r++)o.push(a.value),a=this.removeNode(a);null===a&&(a=this.tail),a!==this.head&&a!==this.tail&&(a=a.prev);for(r=0;r<n.length;r++)a=i(this,a,n[r]);return o},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(188)(r)}catch(e){}},function(e,t,n){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},function(e,t,n){"use strict";e.exports=n(102).NQuads},function(e,t,n){"use strict";const r=n(50),{isArray:i,isObject:a,isEmptyObject:o,isString:s,isUndefined:u}=n(43),{isList:l,isValue:c,isGraph:d,isSubject:p}=n(52),{expandIri:f,getContextValue:h,isKeyword:m,process:g,processingMode:v}=n(68),{isAbsolute:y}=n(58),{addValue:b,asArray:w,getValues:x,validateTypeValue:k}=n(48),E={};e.exports=E;const C=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/;function _({activeCtx:e,activeProperty:t,value:n,options:r}){if(null==n)return null;const i=f(e,t,{vocab:!0},r);if("@id"===i)return f(e,n,{base:!0},r);if("@type"===i)return f(e,n,{vocab:!0,base:!0},r);const a=h(e,t,"@type");if(("@id"===a||"@graph"===i)&&s(n))return{"@id":f(e,n,{base:!0},r)};if("@vocab"===a&&s(n))return{"@id":f(e,n,{vocab:!0,base:!0},r)};if(m(i))return n;const o={};if(a&&!["@id","@vocab","@none"].includes(a))o["@type"]=a;else if(s(n)){const n=h(e,t,"@language");null!==n&&(o["@language"]=n);const r=h(e,t,"@direction");null!==r&&(o["@direction"]=r)}return["boolean","number","string"].includes(typeof n)||(n=n.toString()),o["@value"]=n,o}function S(e,t,n,a){const o=[],u=Object.keys(t).sort();for(const l of u){const u=f(e,l,{vocab:!0},a);let c=t[l];i(c)||(c=[c]);for(const e of c){if(null===e)continue;if(!s(e))throw new r("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:t});const i={"@value":e};"@none"!==u&&(i["@language"]=l.toLowerCase()),n&&(i["@direction"]=n),o.push(i)}}return o}async function A({activeCtx:e,options:t,activeProperty:n,value:a,expansionMap:o,asGraph:s,indexKey:l,propertyIndex:p}){const m=[],v=Object.keys(a).sort(),y="@type"===l;for(let w of v){if(y){const n=h(e,w,"@context");u(n)||(e=await g({activeCtx:e,localCtx:n,propagate:!1,options:t}))}let v,x=a[w];i(x)||(x=[x]),x=await E.expand({activeCtx:e,activeProperty:n,element:x,options:t,insideList:!1,insideIndex:!0,expansionMap:o}),v=p?"@none"===w?"@none":_({activeCtx:e,activeProperty:l,value:w,options:t}):f(e,w,{vocab:!0},t),"@id"===l?w=f(e,w,{base:!0},t):y&&(w=v);for(let e of x){if(s&&!d(e)&&(e={"@graph":[e]}),"@type"===l)"@none"===v||(e["@type"]?e["@type"]=[w].concat(e["@type"]):e["@type"]=[w]);else{if(c(e)&&!["@language","@type","@index"].includes(l))throw new r(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${l}".`,"jsonld.SyntaxError",{code:"invalid value object",value:e});p?"@none"!==v&&b(e,p,v,{propertyIsArray:!0,prependValue:!0}):"@none"===v||l in e||(e[l]=w)}m.push(e)}}return m}E.expand=async({activeCtx:e,activeProperty:t=null,element:n,options:d={},insideList:T=!1,insideIndex:P=!1,typeScopedContext:D=null,expansionMap:O=(()=>{})})=>{if(null==n)return null;if("@default"===t&&(d=Object.assign({},d,{isFrame:!1})),!i(n)&&!a(n)){if(!T&&(null===t||"@graph"===f(e,t,{vocab:!0},d))){const r=await O({unmappedValue:n,activeCtx:e,activeProperty:t,options:d,insideList:T});return void 0===r?null:r}return _({activeCtx:e,activeProperty:t,value:n,options:d})}if(i(n)){let r=[];const a=h(e,t,"@container")||[];T=T||a.includes("@list");for(let a=0;a<n.length;++a){let o=await E.expand({activeCtx:e,activeProperty:t,element:n[a],options:d,expansionMap:O,insideIndex:P,typeScopedContext:D});T&&i(o)&&(o={"@list":o}),null===o&&(o=await O({unmappedValue:n[a],activeCtx:e,activeProperty:t,parent:n,index:a,options:d,expandedParent:r,insideList:T}),void 0===o)||(i(o)?r=r.concat(o):r.push(o))}return r}const I=f(e,t,{vocab:!0},d),F=h(e,t,"@context");D=D||(e.previousContext?e:null);let N=Object.keys(n).sort(),R=!P;if(R&&D&&N.length<=2&&!N.includes("@context"))for(const t of N){const n=f(D,t,{vocab:!0},d);if("@value"===n){R=!1,e=D;break}if("@id"===n&&1===N.length){R=!1;break}}R&&(e=e.revertToPreviousContext()),u(F)||(e=await g({activeCtx:e,localCtx:F,propagate:!0,overrideProtected:!0,options:d})),"@context"in n&&(e=await g({activeCtx:e,localCtx:n["@context"],options:d})),D=e;let j=null;for(const t of N){if("@type"===f(e,t,{vocab:!0},d)){j=j||t;const r=n[t],i=Array.isArray(r)?r.length>1?r.slice().sort():r:[r];for(const t of i){const n=h(D,t,"@context");u(n)||(e=await g({activeCtx:e,localCtx:n,options:d,propagate:!1}))}}}let L={};await async function e({activeCtx:t,activeProperty:n,expandedActiveProperty:d,element:x,expandedParent:_,options:T={},insideList:P,typeKey:D,typeScopedContext:O,expansionMap:I}){const F=Object.keys(x).sort(),N=[];let R;const j=x[D]&&"@json"===f(t,i(x[D])?x[D][0]:x[D],{vocab:!0},T);for(const e of F){let D,F=x[e];if("@context"===e)continue;let L=f(t,e,{vocab:!0},T);if((null===L||!y(L)&&!m(L))&&(L=I({unmappedProperty:e,activeCtx:t,activeProperty:n,parent:x,options:T,insideList:P,value:F,expandedParent:_}),void 0===L))continue;if(m(L)){if("@reverse"===d)throw new r("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:F});if(L in _&&"@included"!==L&&"@type"!==L)throw new r("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:L})}if("@id"===L){if(!s(F)){if(!T.isFrame)throw new r('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:F});if(a(F)){if(!o(F))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:F})}else{if(!i(F))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:F});if(!F.every(e=>s(e)))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:F})}}b(_,"@id",w(F).map(e=>s(e)?f(t,e,{base:!0},T):e),{propertyIsArray:T.isFrame});continue}if("@type"===L){a(F)&&(F=Object.fromEntries(Object.entries(F).map(([e,t])=>[f(O,e,{vocab:!0}),w(t).map(e=>f(O,e,{base:!0,vocab:!0}))]))),k(F,T.isFrame),b(_,"@type",w(F).map(e=>s(e)?f(O,e,{base:!0,vocab:!0},T):e),{propertyIsArray:T.isFrame});continue}if("@included"===L&&v(t,1.1)){const e=w(await E.expand({activeCtx:t,activeProperty:n,element:F,options:T,expansionMap:I}));if(!e.every(e=>p(e)))throw new r("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:F});b(_,"@included",e,{propertyIsArray:!0});continue}if("@graph"===L&&!a(F)&&!i(F))throw new r('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:F});if("@value"===L){R=F,j&&v(t,1.1)?_["@value"]=F:b(_,"@value",F,{propertyIsArray:T.isFrame});continue}if("@language"===L){if(null===F)continue;if(!s(F)&&!T.isFrame)throw new r('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:F});F=w(F).map(e=>s(e)?e.toLowerCase():e);for(const e of F)s(e)&&!e.match(C)&&console.warn("@language must be valid BCP47: "+e);b(_,"@language",F,{propertyIsArray:T.isFrame});continue}if("@direction"===L){if(!s(F)&&!T.isFrame)throw new r('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:F});F=w(F);for(const e of F)if(s(e)&&"ltr"!==e&&"rtl"!==e)throw new r('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:F});b(_,"@direction",F,{propertyIsArray:T.isFrame});continue}if("@index"===L){if(!s(F))throw new r('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:F});b(_,"@index",F);continue}if("@reverse"===L){if(!a(F))throw new r('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:F});if(D=await E.expand({activeCtx:t,activeProperty:"@reverse",element:F,options:T,expansionMap:I}),"@reverse"in D)for(const e in D["@reverse"])b(_,e,D["@reverse"][e],{propertyIsArray:!0});let e=_["@reverse"]||null;for(const t in D){if("@reverse"===t)continue;null===e&&(e=_["@reverse"]={}),b(e,t,[],{propertyIsArray:!0});const n=D[t];for(let i=0;i<n.length;++i){const a=n[i];if(c(a)||l(a))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:D});b(e,t,a,{propertyIsArray:!0})}}continue}if("@nest"===L){N.push(e);continue}let M=t;const U=h(t,e,"@context");u(U)||(M=await g({activeCtx:t,localCtx:U,propagate:!0,overrideProtected:!0,options:T}));const B=h(M,e,"@container")||[];if(B.includes("@language")&&a(F)){const t=h(M,e,"@direction");D=S(M,F,t,T)}else if(B.includes("@index")&&a(F)){const n=B.includes("@graph"),r=h(M,e,"@index")||"@index",i="@index"!==r&&f(t,r,{vocab:!0},T);D=await A({activeCtx:M,options:T,activeProperty:e,value:F,expansionMap:I,asGraph:n,indexKey:r,propertyIndex:i})}else if(B.includes("@id")&&a(F)){const t=B.includes("@graph");D=await A({activeCtx:M,options:T,activeProperty:e,value:F,expansionMap:I,asGraph:t,indexKey:"@id"})}else if(B.includes("@type")&&a(F))D=await A({activeCtx:M.revertToPreviousContext(),options:T,activeProperty:e,value:F,expansionMap:I,asGraph:!1,indexKey:"@type"});else{const r="@list"===L;if(r||"@set"===L){let e=n;r&&"@graph"===d&&(e=null),D=await E.expand({activeCtx:M,activeProperty:e,element:F,options:T,insideList:r,expansionMap:I})}else D="@json"===h(t,e,"@type")?{"@type":"@json","@value":F}:await E.expand({activeCtx:M,activeProperty:e,element:F,options:T,insideList:!1,expansionMap:I})}if(null!==D||"@value"===L||(D=I({unmappedValue:F,expandedProperty:L,activeCtx:M,activeProperty:n,parent:x,options:T,insideList:P,key:e,expandedParent:_}),void 0!==D))if("@list"!==L&&!l(D)&&B.includes("@list")&&(D={"@list":w(D)}),B.includes("@graph")&&!B.some(e=>"@id"===e||"@index"===e)&&(D=w(D).map(e=>({"@graph":w(e)}))),M.mappings.has(e)&&M.mappings.get(e).reverse){const e=_["@reverse"]=_["@reverse"]||{};D=w(D);for(let t=0;t<D.length;++t){const n=D[t];if(c(n)||l(n))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:D});b(e,L,n,{propertyIsArray:!0})}}else b(_,L,D,{propertyIsArray:!0})}if("@value"in _)if("@json"===_["@type"]&&v(t,1.1));else if((a(R)||i(R))&&!T.isFrame)throw new r('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:R});for(const o of N){const s=i(x[o])?x[o]:[x[o]];for(const i of s){if(!a(i)||Object.keys(i).some(e=>"@value"===f(t,e,{vocab:!0},T)))throw new r("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:i});await e({activeCtx:t,activeProperty:n,expandedActiveProperty:d,element:i,expandedParent:_,options:T,insideList:P,typeScopedContext:O,typeKey:D,expansionMap:I})}}}({activeCtx:e,activeProperty:t,expandedActiveProperty:I,element:n,expandedParent:L,options:d,insideList:T,typeKey:j,typeScopedContext:D,expansionMap:O}),N=Object.keys(L);let M=N.length;if("@value"in L){if("@type"in L&&("@language"in L||"@direction"in L))throw new r('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:L});let i=M-1;if("@type"in L&&(i-=1),"@index"in L&&(i-=1),"@language"in L&&(i-=1),"@direction"in L&&(i-=1),0!==i)throw new r('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:L});const a=null===L["@value"]?[]:w(L["@value"]),u=x(L,"@type");if(v(e,1.1)&&u.includes("@json")&&1===u.length);else if(0===a.length){const r=await O({unmappedValue:L,activeCtx:e,activeProperty:t,element:n,options:d,insideList:T});L=void 0!==r?r:null}else{if(!a.every(e=>s(e)||o(e))&&"@language"in L)throw new r("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:L});if(!u.every(e=>y(e)&&!(s(e)&&0===e.indexOf("_:"))||o(e)))throw new r('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:L})}}else if("@type"in L&&!i(L["@type"]))L["@type"]=[L["@type"]];else if("@set"in L||"@list"in L){if(M>1&&(2!==M||!("@index"in L)))throw new r('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:L});"@set"in L&&(L=L["@set"],N=Object.keys(L),M=N.length)}else if(1===M&&"@language"in L){const r=await O(L,{unmappedValue:L,activeCtx:e,activeProperty:t,element:n,options:d,insideList:T});L=void 0!==r?r:null}if(a(L)&&!d.keepFreeFloatingNodes&&!T&&(null===t||"@graph"===I)&&(0===M||"@value"in L||"@list"in L||1===M&&"@id"in L)){const r=await O({unmappedValue:L,activeCtx:e,activeProperty:t,element:n,options:d,insideList:T});L=void 0!==r?r:null}return L}},function(e,t,n){"use strict";const{isSubjectReference:r}=n(52),{createMergedNodeMap:i}=n(89),a={};e.exports=a,a.flatten=e=>{const t=i(e),n=[],a=Object.keys(t).sort();for(let e=0;e<a.length;++e){const i=t[a[e]];r(i)||n.push(i)}return n}},function(e,t,n){"use strict";const r=n(50),i=n(52),a=n(43),o=n(48),{RDF_LIST:s,RDF_FIRST:u,RDF_REST:l,RDF_NIL:c,RDF_TYPE:d,RDF_JSON_LITERAL:p,XSD_BOOLEAN:f,XSD_DOUBLE:h,XSD_INTEGER:m,XSD_STRING:g}=n(106),v=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,y={};function b(e,t,n){if(e.termType.endsWith("Node"))return{"@id":e.value};const i={"@value":e.value};if(e.language)i["@language"]=e.language;else{let o=e.datatype.value;if(o||(o=g),o===p){o="@json";try{i["@value"]=JSON.parse(i["@value"])}catch(e){throw new r("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:i["@value"],cause:e})}}if(t){if(o===f)"true"===i["@value"]?i["@value"]=!0:"false"===i["@value"]&&(i["@value"]=!1);else if(a.isNumeric(i["@value"]))if(o===m){const e=parseInt(i["@value"],10);e.toFixed(0)===i["@value"]&&(i["@value"]=e)}else o===h&&(i["@value"]=parseFloat(i["@value"]));[f,m,h,g].includes(o)||(i["@type"]=o)}else if("i18n-datatype"===n&&o.startsWith("https://www.w3.org/ns/i18n#")){const[,e,t]=o.split(/[#_]/);e.length>0&&(i["@language"]=e,e.match(v)||console.warn("@language must be valid BCP47: "+e)),i["@direction"]=t}else o!==g&&(i["@type"]=o)}return i}e.exports=y,y.fromRDF=async(e,{useRdfType:t=!1,useNativeTypes:n=!1,rdfDirection:r=null})=>{const p={},f={"@default":p},h={};for(const i of e){const e="DefaultGraph"===i.graph.termType?"@default":i.graph.value;e in f||(f[e]={}),"@default"===e||e in p||(p[e]={"@id":e});const a=f[e],s=i.subject.value,u=i.predicate.value,l=i.object;s in a||(a[s]={"@id":s});const m=a[s],g=l.termType.endsWith("Node");if(g&&!(l.value in a)&&(a[l.value]={"@id":l.value}),u===d&&!t&&g){o.addValue(m,"@type",l.value,{propertyIsArray:!0});continue}const v=b(l,n,r);if(o.addValue(m,u,v,{propertyIsArray:!0}),g)if(l.value===c){const e=a[l.value];"usages"in e||(e.usages=[]),e.usages.push({node:m,property:u,value:v})}else l.value in h?h[l.value]=!1:h[l.value]={node:m,property:u,value:v}}for(const e in f){const t=f[e];if(!(c in t))continue;const n=t[c];if(n.usages){for(let e of n.usages){let n=e.node,r=e.property,o=e.value;const c=[],d=[];let p=Object.keys(n).length;for(;r===l&&a.isObject(h[n["@id"]])&&a.isArray(n[u])&&1===n[u].length&&a.isArray(n[l])&&1===n[l].length&&(3===p||4===p&&a.isArray(n["@type"])&&1===n["@type"].length&&n["@type"][0]===s)&&(c.push(n[u][0]),d.push(n["@id"]),e=h[n["@id"]],n=e.node,r=e.property,o=e.value,p=Object.keys(n).length,i.isBlankNode(n)););delete o["@id"],o["@list"]=c.reverse();for(const e of d)delete t[e]}delete n.usages}}const m=[],g=Object.keys(p).sort();for(const e of g){const t=p[e];if(e in f){const n=t["@graph"]=[],r=f[e],a=Object.keys(r).sort();for(const e of a){const t=r[e];i.isSubjectReference(t)||n.push(t)}}i.isSubjectReference(t)||m.push(t)}return m}},function(e,t,n){"use strict";const{createNodeMap:r}=n(89),{isKeyword:i}=n(68),a=n(52),o=n(194),s=n(43),u=n(48),{RDF_FIRST:l,RDF_REST:c,RDF_NIL:d,RDF_TYPE:p,RDF_JSON_LITERAL:f,RDF_LANGSTRING:h,XSD_BOOLEAN:m,XSD_DOUBLE:g,XSD_INTEGER:v,XSD_STRING:y}=n(106),{isAbsolute:b}=n(58),w={};function x(e,t,n,r,a){const o=Object.keys(t).sort();for(const s of o){const o=t[s],u=Object.keys(o).sort();for(let t of u){const u=o[t];if("@type"===t)t=p;else if(i(t))continue;for(const i of u){const o={termType:s.startsWith("_:")?"BlankNode":"NamedNode",value:s};if(!b(s))continue;const u={termType:t.startsWith("_:")?"BlankNode":"NamedNode",value:t};if(!b(t))continue;if("BlankNode"===u.termType&&!a.produceGeneralizedRdf)continue;const l=k(i,r,e,n,a.rdfDirection);l&&e.push({subject:o,predicate:u,object:l,graph:n})}}}}function k(e,t,n,r,i){const u={};if(a.isValue(e)){u.termType="Literal",u.value=void 0,u.datatype={termType:"NamedNode"};let t=e["@value"];const n=e["@type"]||null;if("@json"===n)u.value=o(t),u.datatype.value=f;else if(s.isBoolean(t))u.value=t.toString(),u.datatype.value=n||m;else if(s.isDouble(t)||n===g)s.isDouble(t)||(t=parseFloat(t)),u.value=t.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),u.datatype.value=n||g;else if(s.isNumber(t))u.value=t.toFixed(0),u.datatype.value=n||v;else if("i18n-datatype"===i&&"@direction"in e){const n="https://www.w3.org/ns/i18n#"+(e["@language"]||"")+"_"+e["@direction"];u.datatype.value=n,u.value=t}else"@language"in e?(u.value=t,u.datatype.value=n||h,u.language=e["@language"]):(u.value=t,u.datatype.value=n||y)}else if(a.isList(e)){const a=function(e,t,n,r,i){const a={termType:"NamedNode",value:l},o={termType:"NamedNode",value:c},s={termType:"NamedNode",value:d},u=e.pop(),p=u?{termType:"BlankNode",value:t.getId()}:s;let f=p;for(const s of e){const e=k(s,t,n,r,i),u={termType:"BlankNode",value:t.getId()};n.push({subject:f,predicate:a,object:e,graph:r}),n.push({subject:f,predicate:o,object:u,graph:r}),f=u}if(u){const e=k(u,t,n,r,i);n.push({subject:f,predicate:a,object:e,graph:r}),n.push({subject:f,predicate:o,object:s,graph:r})}return p}(e["@list"],t,n,r,i);u.termType=a.termType,u.value=a.value}else{const t=s.isObject(e)?e["@id"]:e;u.termType=t.startsWith("_:")?"BlankNode":"NamedNode",u.value=t}return"NamedNode"!==u.termType||b(u.value)?u:null}e.exports=w,w.toRDF=(e,t)=>{const n=new u.IdentifierIssuer("_:b"),i={"@default":{}};r(e,i,"@default",n);const a=[],o=Object.keys(i).sort();for(const e of o){let r;if("@default"===e)r={termType:"DefaultGraph",value:""};else{if(!b(e))continue;r=e.startsWith("_:")?{termType:"BlankNode"}:{termType:"NamedNode"},r.value=e}x(a,i[e],r,n,t)}return a}},function(e,t,n){"use strict";e.exports=function e(t){return null===t||"object"!=typeof t||null!=t.toJSON?JSON.stringify(t):Array.isArray(t)?"["+t.reduce((t,n,r)=>t+(0===r?"":",")+e(void 0===n||"symbol"==typeof n?null:n),"")+"]":"{"+Object.keys(t).sort().reduce((n,r,i)=>{if(void 0===t[r]||"symbol"==typeof t[r])return n;return n+(0===n.length?"":",")+e(r)+":"+e(t[r])},"")+"}"}},function(e,t,n){"use strict";const{isKeyword:r}=n(68),i=n(52),a=n(43),o=n(48),s=n(58),u=n(50),{createNodeMap:l,mergeNodeMapGraphs:c}=n(89),d={};function p(e){const t={};for(const n in e)void 0!==e[n]&&(t["@"+n]=[e[n]]);return[t]}function f(e,t,n){for(let r=n.length-1;r>=0;--r){const i=n[r];if(i.graph===t&&i.subject["@id"]===e["@id"])return!0}return!1}function h(e,t,n){const r="@"+n;let i=r in e?e[r][0]:t[n];if("embed"===n)if(!0===i)i="@once";else if(!1===i)i="@never";else if("@always"!==i&&"@never"!==i&&"@link"!==i&&"@first"!==i&&"@last"!==i&&"@once"!==i)throw new u("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:e});return i}function m(e){if(!a.isArray(e)||1!==e.length||!a.isObject(e[0]))throw new u("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:e});if("@id"in e[0])for(const t of o.asArray(e[0]["@id"]))if(!a.isObject(t)&&!s.isAbsolute(t)||a.isString(t)&&0===t.indexOf("_:"))throw new u("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e});if("@type"in e[0])for(const t of o.asArray(e[0]["@type"]))if(!a.isObject(t)&&!s.isAbsolute(t)||a.isString(t)&&0===t.indexOf("_:"))throw new u("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e})}function g(e,t,n,s){let u=!0,l=!1;for(const c in n){let d=!1;const p=o.getValues(t,c),f=0===o.getValues(n,c).length;if("@id"===c){if(a.isEmptyObject(n["@id"][0]||{})?d=!0:n["@id"].length>=0&&(d=n["@id"].includes(p[0])),!s.requireAll)return d}else if("@type"===c){if(u=!1,f){if(p.length>0)return!1;d=!0}else if(1===n["@type"].length&&a.isEmptyObject(n["@type"][0]))d=p.length>0;else for(const e of n["@type"])d=!(!a.isObject(e)||!("@default"in e))||(d||p.some(t=>t===e));if(!s.requireAll)return d}else{if(r(c))continue;{const t=o.getValues(n,c)[0];let r=!1;if(t&&(m([t]),r="@default"in t),u=!1,0===p.length&&r)continue;if(p.length>0&&f)return!1;if(void 0===t){if(p.length>0)return!1;d=!0}else if(i.isList(t)){const n=t["@list"][0];if(i.isList(p[0])){const t=p[0]["@list"];i.isValue(n)?d=t.some(e=>w(n,e)):(i.isSubject(n)||i.isSubjectReference(n))&&(d=t.some(t=>b(e,n,t,s)))}}else d=i.isValue(t)?p.some(e=>w(t,e)):i.isSubjectReference(t)?p.some(n=>b(e,t,n,s)):!!a.isObject(t)&&p.length>0}}if(!d&&s.requireAll)return!1;l=l||d}return u||l}function v(e,t){const n=e.uniqueEmbeds[e.graph],r=n[t],i=r.parent,s=r.property,u={"@id":t};if(a.isArray(i)){for(let e=0;e<i.length;++e)if(o.compareValues(i[e],u)){i[e]=u;break}}else{const e=a.isArray(i[s]);o.removeValue(i,s,u,{propertyIsArray:e}),o.addValue(i,s,u,{propertyIsArray:e})}const l=e=>{const t=Object.keys(n);for(const r of t)r in n&&a.isObject(n[r].parent)&&n[r].parent["@id"]===e&&(delete n[r],l(r))};l(t)}
107
107
  /**
108
108
  * Removes the @preserve keywords from expanded result of framing.
109
109
  *
@@ -137,7 +137,7 @@ t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,p=
137
137
  * Copyright(c) 2014 Jonathan Ong
138
138
  * MIT Licensed
139
139
  */
140
- e.exports=n(251)},function(e){e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,a=arguments.length-1;a>=-1&&!i;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return(i?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"))||"."},t.normalize=function(e){var a=t.isAbsolute(e),o="/"===i(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!a).join("/"))||a||(e="."),e&&o&&(e+="/"),(a?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u<o;u++)if(i[u]!==a[u]){s=u;break}var l=[];for(u=s;u<i.length;u++)l.push("..");return(l=l.concat(a.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,a=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===r&&(i=!1,r=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(103))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapDivInATR=t.createImageDiv=t.addClickListenerToElement=void 0;var r=n(44);t.wrapDivInATR=function(e,t,n){var r=e.createElement("tr");return r.appendChild(e.createElement("td")).appendChild(t),r.subject=n,r};t.addClickListenerToElement=function(e,t){e.addEventListener("click",t)};t.createImageDiv=function(e,t,n){var i=t.appendChild(e.createElement("div"));i.setAttribute("style",r.imageDivStyle),i.appendChild(n),n.setAttribute("draggable","false")}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.appendForm=D,t.buildCheckboxForm=U,t.editFormButton=function(e,t,n,r,i){var a=e.createElement("button");return a.setAttribute("type","button"),a.innerHTML="Edit "+x.label(y.ui("Form")),a.addEventListener("click",(function(o){D(e,t,{},n,y.ui("FormForm"),r,i).setAttribute("style",y.ui("FormForm").sameTerm(n)?"background-color: #fee;":"background-color: #ffffe7;"),a.parentNode.removeChild(a)}),!0),a},Object.defineProperty(t,"field",{enumerable:!0,get:function(){return l.field}}),t.fieldLabel=B,Object.defineProperty(t,"fieldParams",{enumerable:!0,get:function(){return u.fieldParams}}),t.fieldStore=H,t.findClosest=O,t.formsFor=function(e){var t=w.store;v.debug("formsFor: subject="+e);var n,r=t.findTypeURIs(e);for(n in r)v.debug(" type: "+n);var i=t.bottomTypeURIs(r),a=[];for(var o in i)v.debug("candidatesFor: trying bottom type ="+o),a=(a=a.concat(O(t,o,y.ui("creationForm")))).concat(O(t,o,y.ui("annotationForm")));return a},t.makeDescription=R,t.makeSelectForCategory=L,t.makeSelectForNestedCategory=M,t.makeSelectForOptions=j,t.newButton=function(e,t,n,r,i,a,o,s){var u=e.createElement("button");return u.setAttribute("type","button"),u.innerHTML="New "+x.label(i),u.addEventListener("click",(function(l){u.parentNode.appendChild(N(e,t,n,r,i,a,o,s))}),!1),u},t.newThing=q,t.promptForNew=N,t.propertiesForClass=function(e,t){var n=e.each(void 0,y.rdf("range"),t);[y.rdfs("comment"),y.dc("title"),y.foaf("name"),y.foaf("homepage")].forEach((function(e){n.push(e)}));var r=e.each(void 0,y.rdf("type"),t);r.length>60&&(r=r.slice(0,60));for(var i={},a=0;a<(r.length>60?60:r.length);a++)e.statementsMatching(r[a],void 0,void 0).forEach((function(e){i[e.predicate.uri]=!0}));n.forEach((function(e){i[e.uri]=!0}));var o=[];for(var s in i)o.push(e.sym(s));return o},t.sortByLabel=F,t.sortBySequence=I;var a=r(n(25)),o=r(n(26)),s=C(n(113)),u=n(115),l=n(116),c=n(256),d=C(n(20)),p=n(73),f=n(257),h=n(258),m=C(n(44)),g=n(34),v=C(n(59)),y=C(n(16)),b=C(n(4)),w=n(17),x=C(n(29)),k=C(n(30));function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function _(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var A=w.store;function T(e,t,n,r,i,a,o){for(var s=a.children,u=0;u<o.length;u++){var c=o[u];if((0,l.mostSpecificClassURI)(c)===y.ui("Options").uri){var p=(0,l.fieldFunction)(e,c)(e,null,t,n,c,r,i);d.log("Refreshing Options field by replacing it."),a.insertBefore(p,s[u]),a.removeChild(s[u+1])}}}function P(e,t,n,r,i,a,o,s){var u=y.ui,l=w.store,c=l.any(i,u("property"));if(!c){var d=(0,p.errorMessageBlock)(e,"No property to boolean field: "+i);return t&&t.appendChild(d),d}var f=l.any(i,u("label"));f||(f=x.label(c,!0)),a=H(r,c,a);var h=l.any(r,c);void 0===h&&(h=!1);var m=b.st(r,c,!0,a),g=U(e,l,f,b.st(r,c,!1,a),m,i,a,s);return t&&t.appendChild(g),g}function D(e,t,n,r,i,a,o){return(0,l.fieldFunction)(e,i)(e,t,n,r,i,a,o)}function O(e,t,n){for(var r=[e.sym(t)];r.length>0;){var i=r.shift(),a=e.each(i,n);if(v.debug("Lists for "+i+", "+n+": "+a.length),0!==a.length)return a;for(var o=e.each(i,y.rdfs("subClassOf")),s=0;s<o.length;s++)r.push(o[s]),v.debug("findClosest: add super: "+o[s])}return[]}function I(e){var t=e.map((function(e){return[A.any(e,y.ui("sequence"))||9999,e]}));return t.sort((function(e,t){return e[0]-t[0]})),t.map((function(e){return e[1]}))}function F(e){var t=e.map((function(e){return[x.label(e).toLowerCase(),e]}));return t.sort(),t.map((function(e){return e[1]}))}function N(e,t,n,r,i,a,o,u){var c=e.createElement("form");if(!a){var d=O(t,i.uri,y.ui("creationForm"));if(0===d.length){c.appendChild(e.createElement("p")).textContent="I am sorry, you need to provide information about a "+x.label(i)+" but I don't know enough information about those to ask you.";var p=c.appendChild(e.createElement("button"));return p.setAttribute("type","button"),p.setAttribute("style","float: right;"),p.innerHTML="Goto "+x.label(i),p.addEventListener("click",(function(t){e.outlineManager.GotoSubject(i,!0,void 0,!0,void 0)}),!1),c}v.debug("lists[0] is "+d[0]),a=d[0]}v.debug("form is "+a),c.setAttribute("style","border: 0.05em solid ".concat(m.formBorderColor,"; color: ").concat(m.formBorderColor)),c.innerHTML="<h3>New "+x.label(i)+"</h3>";var f=(0,l.fieldFunction)(e,a),h=q(o),g=!1;function w(e,t,n){return u(t,n)}v.info("paneUtils Object is "+h);var k=f(e,c,{},h,a,o,(function(a,l){if(!a)return u(a,l);var d=[];n&&!t.holds(n,r,h,o)&&d.push(b.st(n,r,h,o)),n&&!t.holds(h,y.rdf("type"),i,o)&&d.push(b.st(h,y.rdf("type"),i,o)),d.length?t.updater.update([],d,w):u(!0,l),g||(g=c.appendChild(s.linkButton(e,h)))}));return s.removeButton(e,k).setAttribute("style","float: right;"),c.AJAR_subject=h,c}function R(e,t,n,r,i,a){var o,s=e.createElement("div"),u=t.anyJS(n,r,null,i)||"",l=e.createElement("textarea");function c(u){o.disabled=!0,o.setAttribute("style","visibility: hidden; float: right;"),l.disabled=!0,l.style.color=m.textInputColorPending;var c=t.statementsMatching(n,r,null,i),d=b.st(n,r,l.value,i);t.updater.update(c,d,(function(t,n,r){n?(l.style.color=m.textInputColor,l.disabled=!1):s.appendChild((0,p.errorMessageBlock)(e,"Error (while saving change to "+i.uri+"): "+r)),a&&a(n,r)}))}return s.appendChild(l),l.rows=u?u.split("\n").length+2:2,l.cols=80,l.setAttribute("style",m.multilineTextInputStyle),null!==u?l.value=u:l.select(),s.refresh=function(){var e=t.any(n,r,null,i);e&&e.value!==l.value&&(l.value=e.value)},t.updater.editable(i.uri)?((o=k.continueButton(e,c)).disabled=!0,o.style.visibility="hidden",o.style.float="right",s.appendChild(o),l.addEventListener("keyup",(function(e){l.style.color="green",o&&(o.disabled=!1,o.style.visibility="")}),!0),l.addEventListener("change",c,!0)):(l.disabled=!0,l.style.backgroundColor=m.textInputBackgroundColorUneditable),s}function j(e,t,n,r,i,a,o,s){v.debug("Select list length now "+i.length);for(var u,c=0,f={},h=t.updater.editable(o.uri),g=0;g<i.length;g++){var w=i[g];w.uri||d.warn("makeSelectForOptions: option does not have an uri: ".concat(w,", with predicate: ").concat(r)),w.uri&&!(w.uri in f)&&(f[w.uri]=!0,c++)}if(0===c&&!a.mint)return(0,p.errorMessageBlock)(e,"Can't do selector with no options, subject= "+n+" property = "+r+".");v.debug("makeSelectForOptions: dataDoc="+o);var k=function(){return u={},r.sameTerm(y.rdf("type"))?u=t.findTypeURIs(n):t.each(n,r,null,o).forEach((function(e){u[e.uri]=!0})),u};u=k();var E=e.createElement("select");for(var C in E.setAttribute("style",m.formSelectSTyle),a.multiple&&E.setAttribute("multiple","true"),E.currentURI=null,E.refresh=function(){u=k();for(var e=0;e<E.children.length;e++){var t=E.children[e];t.AJAR_uri&&(t.selected=t.AJAR_uri in u)}E.disabled=!1},f){var _=t.sym(C),S=e.createElement("option");a.disambiguate?S.appendChild(e.createTextNode(x.labelWithOntology(_,!0))):S.appendChild(e.createTextNode(x.label(_,!0)));var A=t.any(_,t.sym("http://www.w3.org/ns/ui#backgroundColor"));A&&S.setAttribute("style","background-color: "+A.value+"; "),S.AJAR_uri=C,C in u&&(S.setAttribute("selected","true"),E.currentURI=C),E.appendChild(S)}if(h&&a.mint){var T=e.createElement("option");T.appendChild(e.createTextNode(a.mint)),T.AJAR_mint=!0,E.insertBefore(T,E.firstChild)}if(null==E.currentURI&&!a.multiple){var P=e.createElement("option");P.appendChild(e.createTextNode(a.nullLabel)),E.insertBefore(P,E.firstChild),P.selected=!0}return h&&E.addEventListener("change",(function(i){E.disabled=!0;for(var c,d=[],f=[],h=function(e){t.holds(n,r,e,o)&&d.push(b.st(n,r,e,o))},m=0;m<E.options.length;m++){var g=E.options[m];if(g.selected&&g.AJAR_mint){if(a.mintClass){var y=N(e,t,n,r,a.mintClass,null,o,(function(e,t){e||s(e,t,{change:"new"})}));E.parentNode.appendChild(y),c=y.AJAR_subject}else c=q(o);f.push(b.st(n,r,c,o)),a.mintStatementsFun&&(f=f.concat(a.mintStatementsFun(c)))}g.AJAR_uri&&(g.selected&&!(g.AJAR_uri in u)&&f.push(b.st(n,r,t.sym(g.AJAR_uri),o)),!g.selected&&g.AJAR_uri in u&&h(t.sym(g.AJAR_uri)),g.selected&&(E.currentURI=g.AJAR_uri))}for(var w=E.subSelect;w&&w.currentURI;)h(t.sym(w.currentURI)),w=w.subSelect;for(w=E.superSelect;w&&w.currentURI;)h(t.sym(w.currentURI)),w=w.superSelect;function x(e,t){s(e,{widget:"select",event:"new"})}v.info("selectForOptions: data doc = "+o),t.updater.update(d,f,(function(t,n,r){if(u=k(),!n)return E.parentNode.appendChild((0,p.errorMessageBlock)(e,"Error updating data in select: "+r));E.disabled=!1,c&&(0,l.fieldFunction)(e,a.subForm)(e,E.parentNode,{},c,a.subForm,o,x),s&&s(n,{widget:"select",event:"change"})}))}),!1),E}function L(e,t,n,r,i,a){var o,s=t.any(r,y.owl("disjointUnionOf")),u=!1;return s?o=s.elements:(o=t.each(void 0,y.rdfs("subClassOf"),r),u=!0),v.debug("Select list length "+o.length),0===o.length?(0,p.errorMessageBlock)(e,"Can't do "+(u?"multiple ":"")+"selector with no subclasses of category: "+r):1===o.length?(0,p.errorMessageBlock)(e,"Can't do "+(u?"multiple ":"")+"selector with only 1 subclass of category: "+r+":"+o[1]):j(e,t,n,y.rdf("type"),o,{multiple:u,nullPrompt:"--classify--"},i,a)}function M(e,t,n,r,i,a){function o(){u&&(s.removeChild(u),u=null),l.currentURI&&t.any(t.sym(l.currentURI),y.owl("disjointUnionOf"))&&(u=M(e,t,n,t.sym(l.currentURI),i,a),l.subSelect=u.firstChild,l.subSelect.superSelect=l,s.appendChild(u))}var s=e.createElement("span"),u=null;var l=L(e,t,n,r,i,(function(e,t){e&&o(),a(e,t)}));return s.appendChild(l),o(),s}function U(e,t,n,r,i,a,o,s){var u=e.createElement("div"),l=(0,f.renderNameValuePair)(e,t,u,a),c=t.updater.editable(o.uri),h=e.createElement("button"),g=h;function v(e){if(!e)return[];if(e.object)return e.why||(e.why=o),[e];if(e instanceof Array)return e;throw new Error("buildCheckboxForm: bad param "+e)}function b(e){return 0===e.filter((function(e){return!t.holds(e.subject,e.predicate,e.object,e.why)})).length}if(h.style=m.checkboxInputStyle,l.appendChild(h),i=v(i),r=v(r),function(){var n=b(i),o=n;if(r.length){var l=b(r);if(n&&l)return u.appendChild(k.errorMessageBlock(e,"Inconsistent data in dataDoc!\n"+i+" and\n"+r)),u;if(!n&&!l){n=null;var c=t.any(a,y.ui("default"));o=c?"1"===c.value:!!s&&null}}h.state=n,h.textContent={true:"✓",false:s?"✕":" ",null:"-"}[o]}(),!c)return u;return h.addEventListener("click",(function(n){g.style.color="#bbb";var a=!0===h.state?i:!1===h.state?r:[];h.newState=null===h.state||!0!==h.state&&(!s||null);var o=!0===h.newState?i:!1===h.newState?r:[];d.log(" Deleting ".concat(a)),d.log(" Inserting ".concat(o)),t.updater.update(a,o,(function(n,r,i){if(r)g.style.color="#000",h.state=h.newState,h.textContent={true:"✓",false:"✕",null:"-"}[h.state];else{if(a.why)t.holds(a.subject,a.predicate,a.object,a.why)&&d.log(" @@@@@ weird if 409 - does hold statement");g.style.color="#000",g.style.backgroundColor="#fee",u.appendChild((0,p.errorMessageBlock)(e,"Checkbox: Error updating dataDoc from ".concat(h.state," to ").concat(h.newState,":\n\n").concat(i)))}}))}),!1),u}function B(e,t,n){var r=A.any(n,y.ui("label"));if(r||(r=x.label(t,!0)),void 0===t)return e.createTextNode("@@Internal error: undefined property");var i=e.createElement("a");return t.uri&&i.setAttribute("href",t.uri),i.setAttribute("style",m.fieldLabelStyle),i.textContent=r,i}function H(e,t,n){var r=A.statementsMatching(e,t);return 0===r.length?n:r.length>0&&r[0].why.uri&&A.updater.editable(r[0].why.uri)?A.sym(r[0].why.uri):n}function q(e){var t=new Date;return b.sym(e.uri+"#id"+t.getTime())}l.field[y.ui("AutocompleteField").uri]=h.autocompleteField,l.field[y.ui("Form").uri]=l.field[y.ui("Group").uri]=function(e,t,n,r,i,a,o){var s=e.createElement("div"),u=y.ui;t&&t.appendChild(s);var c=r.toNT()+"|"+i.toNT();if(n[c]){s.appendChild(e.createTextNode("Group: see above "+c));var d=[b.st(r,y.owl("sameAs"),r)];return e.outlineManager.appendPropertyTRs(s,d),s}var f={};for(var h in n)f[h]=1;f[c]=1;var g=i.doc?i.doc():null,v=A.any(i,u("weight"),null,g),w=v?Number(v.value):1;if(w>3||w<0)return s.appendChild((0,p.errorMessageBlock)(e,"Form Group weight ".concat(w," should be 0-3")));s.setAttribute("style",m.formGroupStyle[w]),s.style.display="flex",s.style.flexDirection="column",s.class="form-weight-"+w;var x,k=A.any(i,u("parts"),null,g);if(k?x=k.elements:(k=A.each(i,u("part"),null,g),x=I(k)),!k)return s.appendChild((0,p.errorMessageBlock)(e,"No parts to form! "));for(var E=0;E<x.length;E++){var C=x[E],_=(0,l.fieldFunction)(e,C);s.appendChild(_(e,null,f,r,C,a,(function(t,i){t&&i&&i.widget&&"select"===i.widget&&T(e,n,r,a,o,s,x),o(t,{widget:"group",change:i})})))}return s},l.field[y.ui("Options").uri]=function(e,t,n,r,i,a,o){var s=w.store,u=e.createElement("div"),l=i.doc?i.doc():null,c=y.ui;t&&t.appendChild(u);var d=s.any(i,c("dependingOn"));d||(d=y.rdf("type"));var f,h=s.each(i,c("case"),null,l);if(h||u.appendChild((0,p.errorMessageBlock)(e,"No cases to Options form. ")),0===(f=d.sameTerm(y.rdf("type"))?Object.keys(s.findTypeURIs(r)).map((function(e){return b.sym(e)})):s.each(r,d)).length)u.appendChild((0,p.errorMessageBlock)(e,"Can't select subform as no value of: "+d));else for(var m=0;m<h.length;m++){for(var g=h[m],v=s.each(g,c("for"),null,l),x=!1,k=0;k<v.length;k++){var E,C=_(f);try{for(C.s();!(E=C.n()).done;){var S=E.value,A=v[k];(S.sameTerm(v)||S.termType===A.termType&&S.value===A.value)&&(x=!0)}}catch(e){C.e(e)}finally{C.f()}}if(x){var T=s.the(g,c("use"));if(!T)return u.appendChild((0,p.errorMessageBlock)(e,'No "use" part for case in form '+i)),u;D(e,u,n,r,T,a,o);break}}return u},l.field[y.ui("Multiple").uri]=function(e,t,n,r,i,u,c){function f(e){return e.map((function(e){return e.toString().slice(-7)})).join(", ")}function h(){return m.apply(this,arguments)}function m(){return(m=(0,o.default)(a.default.mark((function t(){var n,i,o;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=q(u),!D){t.next=8;break}return B(),R.elements.push(n),t.next=6,H();case 6:t.next=20;break;case 8:return i=I?[b.st(n,O,r,u)]:[b.st(r,O,n,u)],t.prev=9,t.next=12,C.updater.update([],i);case 12:t.next=19;break;case 14:t.prev=14,t.t0=t.catch(9),o="Error adding to unordered multiple: "+t.t0,S.appendChild((0,p.errorMessageBlock)(e,o)),d.error(o);case 19:W();case 20:case"end":return t.stop()}}),t,null,[[9,14]])})))).apply(this,arguments)}function k(t){function i(){return(i=(0,o.default)(a.default.mark((function n(){var i,o;return a.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!D){n.next=14;break}d.log("pre delete: "+f(R.elements)),i=0;case 3:if(!(i<R.elements.length)){n.next=12;break}if(!R.elements[i].sameTerm(t)){n.next=9;break}return R.elements.splice(i,1),n.next=8,H();case 8:return n.abrupt("return");case 9:i++,n.next=3;break;case 12:n.next=15;break;case 14:C.holds(r,O,t,u)&&(o=[b.st(r,O,t,u)],C.updater.update(o,[],(function(t,n,r){n?L.removeChild(y):L.appendChild((0,p.errorMessageBlock)(e,"Multiple: delete failed: "+r))})));case 15:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function h(e,t){return m.apply(this,arguments)}function m(){return(m=(0,o.default)(a.default.mark((function e(n,r){var i;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.log("pre move: "+f(R.elements)),i=0;case 2:if(!(i<R.elements.length)){e.next=8;break}if(!R.elements[i].sameTerm(t)){e.next=5;break}return e.abrupt("break",8);case 5:i++,e.next=2;break;case 8:if(i===R.elements.length&&alert("list move: not found element for "+t),!r){e.next=16;break}if(0!==i){e.next=13;break}return alert("@@ boop - already at top -temp message"),e.abrupt("return");case 13:R.elements.splice(i-1,2,R.elements[i],R.elements[i-1]),e.next=20;break;case 16:if(i!==R.elements.length-1){e.next=19;break}return alert("@@ boop - already at bottom -temp message"),e.abrupt("return");case 19:R.elements.splice(i,2,R.elements[i+1],R.elements[i]);case 20:return e.next=22,H();case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}v.debug("Multiple: render object: "+t);var y=(0,l.fieldFunction)(e,N)(e,null,n,t,N,u,(function(e,n){d.log("Item done callback for item ".concat(t.uri.slice(-7))),e||d.error(" Item done callback: Error: "+n),c(e,n)}));if(y.subject=t,C.updater.editable(u.uri)&&(s.deleteButtonWithCheck(e,y,x.label(O),(function(){return i.apply(this,arguments)})),D)){var w=e.createElement("div");w.style.display="grid",w.style.gridTemplateColumns="auto 3em",w.style.gridTemplateRows="50% 50%";var k=s.button(e,g.icons.iconBase+"noun_1369237.svg","Move Up",function(){var e=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",h(t,!0));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),E=s.button(e,g.icons.iconBase+"noun_1369241.svg","Move Down",function(){var e=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",h(t,!1));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),_=e.createElement("div");return _.appendChild(y),w.appendChild(_),w.appendChild(k),w.appendChild(E),k.style.gridColumn=2,E.style.gridColumn=2,k.style.gridRow=1,E.style.padding="0em",k.style.padding="0em",E.style.gridRow=2,_.style.gridColumn=1,_.style.gridRowStart="span 2",w}return y}var E=g.icons.iconBase+"noun_19460_green.svg",C=w.store,_=i.doc?i.doc():null,S=e.createElement("div"),A=S,T=y.ui;t&&t.appendChild(S);var P=C.any(i,T("ordered")),D=!!P&&b.Node.toJS(P),O=C.any(i,T("property")),I=C.anyJS(i,T("reverse"),null,_);if(!O)return S.appendChild((0,p.errorMessageBlock)(e,"No property to multiple: "+i)),A;var F=C.any(i,T("min"));F=F?0+F.value:0;var N=C.any(i,T("part"));if(!N)return S.appendChild((0,p.errorMessageBlock)(e,"No part to multiple: "+i)),A;var R,j,L=S.appendChild(e.createElement("div"));if(L.style.display="flex",L.style.flexDirection="column",j=I?C.any(null,O,r,u):C.any(r,O,null,u),D?(R=I?C.any(null,O,r,u):C.any(r,O,null,u),j=R?R.elements:[]):(j=I?C.each(null,O,r,u):C.each(r,O,null,u),R=null),C.updater.editable(u.uri)){var M=S.appendChild(e.createElement("div"));M.style.padding="0.5em";var U=M.appendChild(e.createElement("img"));U.setAttribute("src",E),U.setAttribute("style","margin: 0.2em; width: 1.5em; height:1.5em"),U.title="Click to add one or more "+x.predicateLabel(O,I),M.appendChild(e.createElement("span")).textContent=(0===j.length?"Add one or more ":"Add more ")+x.predicateLabel(O,I),M.addEventListener("click",function(){var e=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),!0)}function B(){R||(R=new b.Collection,I?C.add(R,O,r,u):C.add(r,O,R,u))}function H(){return z.apply(this,arguments)}function z(){return(z=(0,o.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return d.log("save list: "+f(R.elements)),B(),t.prev=2,t.next=5,C.fetcher.putBack(u);case 5:t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(2),S.appendChild((0,p.errorMessageBlock)(e,"Error trying to put back a list: "+t.t0)),t.abrupt("return");case 11:W();case 12:case"end":return t.stop()}}),t,null,[[2,7]])})))).apply(this,arguments)}function W(){var e;if(D){var t=I?C.the(null,O,r,u):C.the(r,O,null,u);e=t?t.elements:[]}else(e=I?C.each(null,O,r,u):C.each(r,O,null,u)).sort();x.syncTableToArrayReOrdered(L,e,k)}function V(){return(V=(0,o.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((t=F-j.length)>0)){e.next=12;break}n=0;case 3:if(!(n<t)){e.next=10;break}return d.log("Adding extra: min "+F),e.next=7,h();case 7:n++,e.next=3;break;case 10:return e.next=12,H();case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return L.refresh=W,W(),function(){return V.apply(this,arguments)}().then((function(){d.log(" Multiple render: async stuff ok")}),(function(e){d.error(" Multiple render: async stuff fails. #### ",e)})),A},l.field[y.ui("PhoneField").uri]=f.basicField,l.field[y.ui("EmailField").uri]=f.basicField,l.field[y.ui("ColorField").uri]=f.basicField,l.field[y.ui("DateField").uri]=f.basicField,l.field[y.ui("DateTimeField").uri]=f.basicField,l.field[y.ui("TimeField").uri]=f.basicField,l.field[y.ui("NumericField").uri]=f.basicField,l.field[y.ui("IntegerField").uri]=f.basicField,l.field[y.ui("DecimalField").uri]=f.basicField,l.field[y.ui("FloatField").uri]=f.basicField,l.field[y.ui("TextField").uri]=f.basicField,l.field[y.ui("SingleLineTextField").uri]=f.basicField,l.field[y.ui("NamedNodeURIField").uri]=f.basicField,l.field[y.ui("MultiLineTextField").uri]=function(e,t,n,r,i,a,o){var s=y.ui,u=w.store,l=i.doc?i.doc():null,c=u.any(i,s("property"));if(!c)return(0,p.errorMessageBlock)(e,"No property to text field: "+i);var d=e.createElement("div");d.style.display="flex",d.style.flexDirection="row";var f=d.appendChild(e.createElement("div"));f.style.width=m.formFieldNameBoxWidth;var h=d.appendChild(e.createElement("div"));f.appendChild(B(e,c,i)),a=H(r,c,a);var g=u.anyJS(r,c,null,a)||"",v=u.updater.editable(a.uri),b=i&&u.anyJS(i,y.ui("suppressEmptyUneditable"),null,l);!v&&b&&""===g&&(d.style.display="none");var x=R(e,u,r,c,a,o);return h.appendChild(x),t&&t.appendChild(d),d},l.field[y.ui("BooleanField").uri]=function(e,t,n,r,i,a,o){return P(e,t,0,r,i,a,0,!1)},l.field[y.ui("TristateField").uri]=function(e,t,n,r,i,a,o){return P(e,t,0,r,i,a,0,!0)},l.field[y.ui("Classifier").uri]=function(e,t,n,r,i,a,o){var s=w.store,u=y.ui,l=s.any(i,u("category"));if(!l)return(0,p.errorMessageBlock)(e,"No category for classifier: "+i);v.debug("Classifier: dataDoc="+a);var c=M(e,s,r,l,a,(function(e,t){return o(e,t)}));return t&&t.appendChild(c),c},l.field[y.ui("Choice").uri]=function(e,t,n,r,i,a,o){var u,c=y.ui,d=w.store,f=i.doc?i.doc():null,h=e.createElement("div");t&&t.appendChild(h);var m=e.createElement("div");h.appendChild(m);var g=e.createElement("div");h.appendChild(g);var v=d.any(i,c("property"));if(!v)return h.appendChild((0,p.errorMessageBlock)(e,"No property for Choice: "+i));m.appendChild(B(e,v,i));var b=d.any(i,c("from"));if(!b)return(0,p.errorMessageBlock)(e,"No 'from' for Choice: "+i);var k,E=d.any(i,c("use")),C=d.anyJS(i,c("follow"),null,f),_=[],S={form:i,multiple:!1,nullLabel:"--"+x.label(v)+"-?",disambiguate:!1};for(var A in _=d.each(void 0,y.rdf("type"),b,f),d.findMembersNT(b))_.push(d.fromNT(A));if(b.sameTerm(y.rdfs("Class")))for(u in s.allClassURIs())_.push(d.sym(u));else if(b.sameTerm(y.rdf("Property"))){for(u in(k=s.propertyTriage(d)).op)_.push(d.fromNT(u));for(u in k.dp)_.push(d.fromNT(u));S.disambiguate=!0}else if(b.sameTerm(y.owl("ObjectProperty"))){for(u in(k=s.propertyTriage(d)).op)_.push(d.fromNT(u));S.disambiguate=!0}else if(b.sameTerm(y.owl("DatatypeProperty"))){for(u in(k=s.propertyTriage(d)).dp)_.push(d.fromNT(u));S.disambiguate=!0}var T=d.any(r,v);var P=F(_);d.any(i,c("canMintNew"))&&(S.mint="* New *",S.subForm=E);var D=j(e,d,r,v,P,S,a,o);return g.appendChild(D),T&&E&&(T=d.any(r,v),(0,l.fieldFunction)(e,E)(e,g,n,T,E,C?T.doc():a,o)),h},l.field[y.ui("Comment").uri]=l.field[y.ui("Heading").uri]=function(e,t,n,r,i,a,o){var s=y.ui,d=w.store,p=d.any(i,s("contents"));p||(p="Error: No contents in comment field.");var f=i.doc?i.doc():null,h=(0,l.mostSpecificClassURI)(i),m=u.fieldParams[h]||{},g=e.createElement("div");t&&t.appendChild(g);var v=g.appendChild(e.createElement(m.element));v.textContent=p,(0,c.setFieldStyle)(v,i);var b=d.anyJS(i,y.ui("suppressIfUneditable"),null,f),x=d.updater.editable(a.uri);return b&&!x&&(g.style.display="none"),g}},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.setFieldStyle=function(e,t){var n=(0,s.mostSpecificClassURI)(t),r=o.fieldParams[n]||{},u=a.kb.any(t,i.ui("style"));if(!u)return void(r.style&&e.setAttribute("style",r.style));if("Literal"===u.termType)u&&e.setAttribute("style",u.value);else{a.kb.statementsMatching(u,null,null,t.doc()).forEach((function(t){if(t.predicate.uri&&t.predicate.uri.startsWith("https://www.w3.org/ns/css#")){var n=t.predicate.uri.slice("https://www.w3.org/ns/css#".length);try{e.style[n]=t.object.value}catch(r){console.warn("setFieldStyle: Error setting element style ".concat(n,' to "').concat(t.object.value,'"')),console.warn('setFieldStyle: ... Element tagName was "'.concat(e.tagName||"???",'"'))}}}))}};var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(16)),a=n(17),o=n(115),s=n(116);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.basicField=function(e,t,n,r,a,u,p){var m=f,v=a.doc?a.doc():null,y=e.createElement("div"),b=m.any(a,o.ui("property"));t&&t.appendChild(y);if(!b)return y.appendChild((0,l.errorMessageBlock)(e,"Error: No property given for text field: "+a));var w=h(e,m,y,a),x=m.anyJS(a,o.ui("suppressEmptyUneditable"),null,v),k=(0,c.mostSpecificClassURI)(a),E=d.fieldParams[k];void 0===E&&(E={style:""});var C=E.style||"",_=s.textInputStyle+C,S=e.createElement("input");S.style=_,w.appendChild(S),S.setAttribute("type",E.type?E.type:"text");var A=m.anyJS(a,o.ui("size"))||s.textInputSize||20;S.setAttribute("size",A);var T=m.any(a,o.ui("maxLength"));S.setAttribute("maxLength",T?""+T:"4096"),u=u||g(r,b,u);var P=m.any(r,b,void 0,u);P||(P=m.any(a,o.ui("default")));P&&P.value&&E.uriPrefix?S.value=decodeURIComponent(P.value.replace(E.uriPrefix,"")).replace(/ /g,""):P&&(S.value=P.value||P.value||"");if(S.setAttribute("style",_),!m.updater)throw new Error("kb has no updater");if(!m.updater.editable(u.uri))return S.readOnly=!0,S.style=s.textInputStyleUneditable+C,x&&""===S.value&&(y.style.display="none"),y;return S.addEventListener("keyup",(function(e){E.pattern&&S.setAttribute("style",_+(S.value.match(E.pattern)?"color: green;":"color: red;"))}),!0),S.addEventListener("change",(function(t){if(!E.pattern||S.value.match(E.pattern)){S.disabled=!0,S.setAttribute("style",_+"color: gray;");var n,a=m.statementsMatching(r,b);E.namedNode?n=m.sym(S.value):E.uriPrefix?(n=encodeURIComponent(S.value.replace(/ /g,"")),n=m.sym(E.uriPrefix+S.value)):n=E.dt?new i.Literal(S.value.trim(),void 0,o.xsd(E.dt)):new i.Literal(S.value);var s=a.map((function(e){return(0,i.st)(e.subject,e.predicate,n,e.why)}));0===s.length&&(s=[(0,i.st)(r,b,n,u)]),function e(t,n,r){var i=[];if(n.forEach((function(e){i.includes(e.why.uri)||i.push(e.why.uri)})),t.forEach((function(e){i.includes(e.why.uri)||i.push(e.why.uri)})),0===i.length)throw new Error("updateMany has no docs to patch");if(!m.updater)throw new Error("kb has no updater");if(1===i.length)return m.updater.update(t,n,r);var a=i.pop(),o=n.filter((function(e){return e.why.uri===a})),s=n.filter((function(e){return e.why.uri!==a})),u=t.filter((function(e){return e.why.uri===a})),l=t.filter((function(e){return e.why.uri!==a}));m.updater.update(u,o,(function(t,n,i){n?e(l,s,r):r(t,n,i)}))}(a,s,(function(t,n,r){n?(S.disabled=!1,S.setAttribute("style",_)):y.appendChild((0,l.errorMessageBlock)(e,r)),p(n,r)}))}}),!0),y},t.fieldLabel=m,t.fieldStore=g,t.renderNameValuePair=h;var i=n(4),a=n(17),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(16)),s=n(44),u=n(29),l=n(73),c=n(116),d=n(115);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var f=a.solidLogicSingleton.store;function h(e,t,n,r){var i=t.any(r,o.ui("property"));n.style.display="flex",n.style.flexDirection="row";var a=n.appendChild(e.createElement("div"));a.style.width=s.formFieldNameBoxWidth;var u=n.appendChild(e.createElement("div"));return a.setAttribute("class","formFieldName"),a.setAttribute("style",s.formFieldNameBoxStyle),u.setAttribute("class","formFieldValue"),i?a.appendChild(m(e,i,r)):(u.appendChild((0,l.errorMessageBlock)(e,"No property given for form field: "+r)),a.appendChild(e.createTextNode("???"))),u}function m(e,t,n){var r=f.any(n,o.ui("label"));if(r||(r=(0,u.label)(t,!0)),void 0===t)return e.createTextNode("@@Internal error: undefined property");var i=e.createElement("a");return t.uri&&i.setAttribute("href",t.uri),i.setAttribute("style","color: #3B5998; text-decoration: none;"),i.textContent=r,i}function g(e,t,n){var r=f.statementsMatching(e,t);if(0===r.length)return n;if(!f.updater)throw new Error("Store has no updater");return r.length>0&&r[0].why.value&&f.updater.editable(r[0].why.value,f)?f.sym(r[0].why.value):n}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteField=function(e,t,n,r,i,f,h){var m;function g(){return(g=(0,o.default)(a.default.mark((function t(n,i){var o,s,u,c,d;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i){t.next=2;break}throw new Error("autocompleteField: No name set.");case 2:if(!(o=y.the(r,E,null,f))){t.next=7;break}if(s=y.any(o,C,null,f),!(o.equals(n)&&s&&s.sameTerm(i))){t.next=7;break}return t.abrupt("return");case 7:return u=o?y.statementsMatching(r,E,o,f).concat(y.statementsMatching(o,C,null,f)):[],c=[(0,p.st)(r,E,n,f),(0,p.st)(n,C,i,f)],t.prev=9,t.next=12,null===(d=y.updater)||void 0===d?void 0:d.updateMany(u,c);case 12:t.next=19;break;case 14:return t.prev=14,t.t0=t.catch(9),h(!1,t.t0),w.appendChild(l.errorMessageBlock(e,"Autocomplete form data update error:"+t.t0,null,t.t0)),t.abrupt("return");case 19:h(!0,"");case 20:case"end":return t.stop()}}),t,null,[[9,14]])})))).apply(this,arguments)}function v(){return(v=(0,o.default)(a.default.mark((function t(n,i){var o,s,u,c,d;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=y.the(r,E,null,f)){t.next=5;break}return h(!1,"NO data to elete"),w.appendChild(l.errorMessageBlock(e,"Autocomplete delete: no old data!")),t.abrupt("return");case 5:return s=y.statementsMatching(r,E,o,f).concat(y.statementsMatching(o,C,null,f)),u=[],t.prev=7,t.next=10,null===(c=y.updater)||void 0===c?void 0:c.updateMany(s,u);case 10:t.next=18;break;case 12:return t.prev=12,t.t0=t.catch(7),d=new Error("Autocomplete form data delete error:"+t.t0),h(!1,t.t0),w.appendChild(l.errorMessageBlock(e,d,null,t.t0)),t.abrupt("return");case 18:h(!0,"");case 19:case"end":return t.stop()}}),t,null,[[7,12]])})))).apply(this,arguments)}if("NamedNode"!==r.termType)throw new Error("Sorry this field only works on NamedNode subjects (for editable)");var y=u.store,b=i.doc?i.doc():null,w=e.createElement("div");t&&t.appendChild(w);var x=e.createElement("div");x.setAttribute("class","formFieldName"),x.setAttribute("style",c.formFieldNameBoxStyle),w.appendChild(x);var k=e.createElement("div");k.setAttribute("class","formFieldValue"),w.appendChild(k);var E=y.any(i,s.ui("property"));if(!E)return w.appendChild(l.errorMessageBlock(e,"Error: No property given for autocomplete field: "+i));var C=y.any(i,s.ui("labelProperty"))||s.schema("name"),_=y.any(i,s.ui("dataSource"));if(!_)return w.appendChild(l.errorMessageBlock(e,"Error: No data source given for autocomplete field: "+i));var S={label:y.anyJS(_,s.schema("name"),null,_.doc()),logo:y.any(_,s.schema("logo"),null,_.doc())},A=y.any(i,s.ui("targetClass"),null,i.doc())||y.any(_,s.ui("targetClass"),null,_.doc());A&&(S.targetClass=A);S.objectURIBase=y.any(_,s.ui("objectURIBase"),null,_.doc())||void 0;var T=y.anyJS(_,s.ui("endpoint"),null,_.doc());if(T){if(S.endpoint=T,S.searchByNameQuery=y.anyJS(_,s.ui("searchByNameQuery"),null,_.doc()),!S.searchByNameQuery)return w.appendChild(l.errorMessageBlock(e,"Error: No searchByNameQuery given for endpoint data Source: "+i));S.insitituteDetailsQuery=y.anyJS(_,s.ui("insitituteDetailsQuery"),null,_.doc())}else{var P=y.anyJS(_,s.ui("searchByNameURI"));if(!P)return w.appendChild(l.errorMessageBlock(e,"Error: No searchByNameURI OR sparql endpoint given for dataSource: "+_));S.searchByNameURI=P}var D=y.anyJS(i,s.ui("suppressEmptyUneditable"),null,b),O=null===(m=y.updater)||void 0===m?void 0:m.editable(f.uri),I={permanent:!0,targetClass:S.targetClass,queryParams:S};I.size=y.anyJS(i,s.ui("size"),null,b)||void 0;var F=y.any(r,E,void 0,f);if(F)I.currentObject=F,I.currentName=y.any(I.currentObject,C,null,f);else if(F=y.any(i,s.ui("default")))I.currentObject=F,I.currentName=y.any(I.currentObject,C,null,f);else if(D&&!O)return w.style.display="none",w;x.appendChild(l.fieldLabel(e,E,i));var N={editable:O,dbLookup:!0};return(0,d.renderAutocompleteControl)(e,r,N,I,(function(e,t){return g.apply(this,arguments)}),(function(e,t){return v.apply(this,arguments)})).then((function(e){k.appendChild(e)}),(function(t){k.appendChild(l.errorMessageBlock(e,"Error rendering autocomplete ".concat(i,": ").concat(t),"#fee",t))})),w};var a=r(n(25)),o=r(n(26)),s=h(n(16)),u=n(17),l=h(n(30)),c=h(n(44)),d=n(151),p=n(4);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}},function(e,t,n){"use strict";var r=n(14);Object.defineProperty(t,"__esModule",{value:!0}),t.Signup=a;var i=r(n(260));function a(e){this.config=e||i.default}a.prototype.listen=function(){return new Promise((function(e,t){var n=window.addEventListener?"addEventListener":"attachEvent";(0,window[n])("attachEvent"===n?"onmessage":"message",(function(n){var r=n.data;if("User:"===r.slice(0,5)){var i=r.slice(5,r.length);return i&&i.length>0&&"http"===i.slice(0,4)?e(i):t(i)}}),!0)}))},a.prototype.signup=function(e){e=e||this.config.signupEndpoint;var t=this.config.signupWindowWidth,n=this.config.signupWindowHeight,r=window.screen.width/2-(t/2+10),i=window.screen.height/2-(n/2+50),a=e+"?origin="+encodeURIComponent(window.location.origin),o="resizable,scrollbars,status,width="+t+",height="+n+",left="+r+",top="+i;window.open(a,"Solid signup",o);var s=this;return new Promise((function(e){s.listen().then((function(t){return e(t)}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={authEndpoint:"",fallbackAuthEndpoint:"https://databox.me/",signupEndpoint:"https://solidproject.org/use-solid/",signupWindowHeight:600,signupWindowWidth:1024,key:"",cert:""}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.AddAgentButtons=void 0;var a=r(n(25)),o=r(n(26)),s=r(n(53)),u=r(n(54)),l=r(n(60)),c=n(34),d=v(n(30)),p=v(n(16)),f=n(74),h=v(n(29)),m=v(n(20));function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var y=function(){function e(t){(0,s.default)(this,e),this.groupList=t,(0,l.default)(this,"rootElement",void 0),(0,l.default)(this,"barElement",void 0),(0,l.default)(this,"isExpanded",!1),this.rootElement=t.controller.dom.createElement("div"),this.barElement=t.controller.dom.createElement("div")}var t,n,r,i,g,v;return(0,u.default)(e,[{key:"render",value:function(){return this.rootElement.innerHTML="",this.rootElement.appendChild(this.renderAddButton()),this.rootElement.appendChild(this.barElement),this.rootElement}},{key:"renderAddButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,"".concat(c.icons.iconBase,"noun_34653_green.svg"),"Add ...",(function(){e.toggleBar(),e.renderBar()}))}},{key:"renderBar",value:function(){this.barElement.innerHTML="",this.isExpanded&&(this.barElement.appendChild(this.renderPersonButton()),this.barElement.appendChild(this.renderGroupButton()),this.barElement.appendChild(this.renderPublicButton()),this.barElement.appendChild(this.renderAuthenticatedAgentButton()),this.barElement.appendChild(this.renderBotButton()),this.barElement.appendChild(this.renderAppsButton()))}},{key:"renderSimplifiedBar",value:function(e){var t=this;Array.from(this.barElement.children).filter((function(t){return t!==e})).forEach((function(e){return t.barElement.removeChild(e)}))}},{key:"renderPersonButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+d.iconForClass["vcard:Individual"],"Add Person",(function(t){e.renderSimplifiedBar(t.target),e.renderNameForm(p.vcard("Individual"),"person").then((function(t){return e.addPerson(t)})).then((function(){return e.renderCleanup()})).catch((function(t){return e.groupList.controller.renderStatus(t)}))}))}},{key:"renderGroupButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+d.iconForClass["vcard:Group"],"Add Group",(function(t){e.renderSimplifiedBar(t.target),e.renderNameForm(p.vcard("Group"),"group").then((function(t){return e.addGroup(t)})).then((function(){return e.renderCleanup()})).catch((function(t){return e.groupList.controller.renderStatus(t)}))}))}},{key:"renderNameForm",value:function(e,t){return d.askName(this.groupList.controller.dom,this.groupList.store,this.barElement,p.vcard("URI"),e,t)}},{key:"renderPublicButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+d.iconForClass["foaf:Agent"],"Add Everyone",(function(){return e.addAgent(p.foaf("Agent").uri).then((function(){return e.groupList.controller.renderTemporaryStatus("Adding the general public to those who can read. Drag the globe to a different level to give them more access.")})).then((function(){return e.renderCleanup()}))}))}},{key:"renderAuthenticatedAgentButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,"".concat(c.icons.iconBase,"noun_99101.svg"),"Anyone logged In",(function(){return e.addAgent(p.acl("AuthenticatedAgent").uri).then((function(){return e.groupList.controller.renderTemporaryStatus("Adding anyone logged in to those who can read. Drag the ID icon to a different level to give them more access.")})).then((function(){return e.renderCleanup()}))}))}},{key:"renderBotButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+"noun_Robot_849764.svg","A Software Agent (bot)",(function(t){e.renderSimplifiedBar(t.target),e.renderNameForm(p.schema("Application"),"bot").then((function(t){return e.addBot(t)})).then((function(){return e.renderCleanup()}))}))}},{key:"renderAppsButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,"".concat(c.icons.iconBase,"noun_15177.svg"),"A Web App (origin)",(function(t){e.renderSimplifiedBar(t.target);var n={div:e.barElement,dom:e.groupList.controller.dom},r=e.renderAppsTable(n).catch((function(t){return e.groupList.controller.renderStatus(t)}));e.renderAppsView();var i=e.renderNameForm(p.schema("WebApplication"),"webapp domain").then((function(t){return e.getOriginFromName(t)}));Promise.race([r,i]).then((function(t){t&&e.groupList.addNewURI(t)})).then((function(){return e.renderCleanup()}))}))}},{key:"renderAppsView",value:function(){var e=this,t=this.groupList.controller.context.session.paneRegistry.byName("trustedApplications");if(t){var n=t.render(null,this.groupList.controller.context);n.classList.add(this.groupList.controller.classes.trustedAppController);var r=d.cancelButton(this.groupList.controller.dom,(function(){return e.renderCleanup()}));r.classList.add(this.groupList.controller.classes.trustedAppCancelButton),n.insertBefore(r,n.firstChild),this.barElement.appendChild(n)}}},{key:"renderAppsTable",value:(v=(0,o.default)(a.default.mark((function e(t){var n,r,i=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.logInLoadProfile)(t);case 2:return n=this.groupList.store.each(t.me,p.acl("trustedApp")),r=n.flatMap((function(e){return i.groupList.store.each(e,p.acl("origin"))})),this.barElement.appendChild(this.groupList.controller.dom.createElement("p")).textContent="You have ".concat(r.length," selected web apps."),e.abrupt("return",new Promise((function(e,t){var r=i.barElement.appendChild(i.groupList.controller.dom.createElement("table"));r.classList.add(i.groupList.controller.classes.trustedAppAddApplicationsTable),n.forEach((function(n){var a=i.groupList.store.any(n,p.acl("origin"));a||t(new Error("Unable to pick app: ".concat(n.value)));var o=d.personTR(i.groupList.controller.dom,p.acl("origin"),a,{}),s=i.groupList.controller.dom.createElement("table"),u=s.appendChild(i.groupList.controller.dom.createElement("tr"));u.appendChild(i.groupList.controller.dom.createElement("td")).appendChild(o),u.appendChild(i.groupList.controller.dom.createElement("td")).textContent="Give access to ".concat(i.groupList.controller.noun," ").concat(h.label(i.groupList.controller.subject),"?"),u.appendChild(i.groupList.controller.dom.createElement("td")).appendChild(d.continueButton(i.groupList.controller.dom,(function(){return e(a.value)}))),r.appendChild(s)}))})));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"renderCleanup",value:function(){this.renderBar(),this.groupList.render()}},{key:"addPerson",value:(g=(0,o.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",this.toggleBar());case 2:if(n=/^https?:/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a http URI")));case 5:return m.log("Adding to ACL person: ".concat(t)),e.next=8,this.groupList.addNewURI(t);case 8:this.toggleBar();case 9:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"addGroup",value:(i=(0,o.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",this.toggleBar());case 2:if(n=/^https?:/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a http URI")));case 5:return m.log("Adding to ACL group: "+t),e.next=8,this.groupList.addNewURI(t);case 8:this.toggleBar();case 9:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"addAgent",value:(r=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.groupList.addNewURI(t);case 2:this.toggleBar();case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"addBot",value:(n=(0,o.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",this.toggleBar());case 2:if(n=/^https?:/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a http URI")));case 5:return m.log("Adding to ACL bot: "+t),e.next=8,this.groupList.addNewURI(t);case 8:this.toggleBar();case 9:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"getOriginFromName",value:(t=(0,o.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:if(n=/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a domain name")));case 5:return r="https://"+t,m.log("Adding to ACL origin: "+r),this.toggleBar(),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"toggleBar",value:function(){this.isExpanded=!this.isExpanded}}]),e}();t.AddAgentButtons=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styles=void 0;t.styles={aclControlBoxContainer:{margin:"1em"},aclControlBoxHeader:{fontSize:"120%",margin:"0 0 1rem"},aclControlBoxStatus:{display:"none",margin:"1rem 0"},aclControlBoxStatusRevealed:{display:"block"},aclGroupContent:{maxWidth:650},accessGroupList:{display:"grid",gridTemplateColumns:"1fr",margin:"1em",width:"100%"},accessGroupListItem:{display:"grid",gridTemplateColumns:"100px auto 30%"},defaultsController:{display:"flex"},defaultsControllerNotice:{color:"#888",flexGrow:1,fontSize:"80%"},bigButton:{backgroundColor:"white",border:"0.1em solid #888",borderRadius:"0.3em",maxWidth:"50%",paddingBottom:"1em",paddingTop:"1em"},group:{color:"#888"},"group-1":{color:"green"},"group-2":{color:"#cc0"},"group-3":{color:"orange"},"group-5":{color:"red"},"group-9":{color:"blue"},"group-13":{color:"purple"},trustedAppAddApplicationsTable:{backgroundColor:"#eee"},trustedAppCancelButton:{float:"right"},trustedAppControllerI:{borderColor:"orange",borderRadius:"1em",borderWidth:"0.1em"},temporaryStatusInit:{background:"green"},temporaryStatusEnd:{background:"transparent",transition:"background 5s linear"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var r={newThingUI:n(264).newThingUI};t.create=r},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.newThingUI=function(e,t,n){var r=e.dom,u=e.div;if(e.me&&!e.me.uri)throw new Error("newThingUI: Invalid userid: "+e.me);var d="padding: 0.7em; width: 2em; height: 2em;",p=u.appendChild(r.createElement("img")),h=!1;p.setAttribute("src",a.icons.iconBase+"noun_34653_green.svg"),p.setAttribute("style",d),p.setAttribute("title","Add another tool");var m=function(e){var t=u.appendChild(r.createElement("pre"));t.setAttribute("style","background-color: pink"),t.appendChild(r.createTextNode(e))};function g(e){for(var t=0;t<y.length;t++){var n=d+e;y[t].disabled&&(n+="opacity: 0.3;"),y[t].setAttribute("style",n)}}function v(e){h=!h,p.setAttribute("style",d+(h?"background-color: yellow;":"")),g(h?"":"display: none;")}p.addEventListener("click",v);var y=[],b=Object.values(n).filter((function(e){return e.mintNew})),w=b.reduce((function(e,t){return t.mintClass&&(e[t.mintClass.uri]=(e[t.mintClass.uri]||0)+1),e}),{});b.forEach((function(n){var a=e.div.appendChild(r.createElement("img"));a.setAttribute("src",n.icon);var u=n.mintClass?w[n.mintClass.uri]>1?"".concat(o.label(n.mintClass)," (using ").concat(n.name," pane)"):o.label(n.mintClass):n.name+" @@";a.setAttribute("title","Make new "+u),a.setAttribute("style",d+"display: none;"),y.push(a),a.disabled||a.addEventListener("click",(function(p){var h;!function(e){g("display: none;"),e.setAttribute("style",d+"background-color: yellow;")}(a),h={event:p,folder:e.folder||null,iconEle:a,pane:n,noun:u,noIndexHTML:!0,div:e.div,me:e.me,dom:e.dom,refreshTarget:e.refreshTarget},new Promise((function(n,a){var u;function d(n,o){(0,c.logInLoadProfile)(e).then((function(e){var s=Object.assign({newBase:o,folder:h.folder||void 0,workspace:n},h);for(var u in h)s[u]=h[u];i.log("newThingUI: Minting new ".concat(s.pane.name," at ").concat(s.newBase)),h.pane.mintNew(t,s).then((function(e){if(!e||!e.newInstance)throw new Error("Cannot mint new - missing newInstance");if(e.folder){var t=e.newInstance.uri.slice(e.folder.uri.length).includes("/");i.log(" new thing is packge? "+t),t?f.add(e.folder,l.ldp("contains"),f.sym(e.newBase),e.folder.doc()):f.add(e.folder,l.ldp("contains"),e.newInstance,e.folder.doc()),e.refreshTarget&&e.refreshTarget.refresh&&e.refreshTarget.refresh()}else{var n=h.div.appendChild(r.createElement("p"));n.setAttribute("style","font-size: 120%;"),n.innerHTML="Your <a target='_blank' href='"+e.newInstance.uri+"'><b>new "+h.noun+"</b></a> is ready to be set up. <br/><br/><a target='_blank' href='"+e.newInstance.uri+"'>Go to your new "+h.noun+".</a>"}v()})).catch((function(e){m(e),a(e)}))}),(function(e){m("Error logging on: "+e)}))}var p=h.pane;h.noun=p.mintClass?o.label(p.mintClass):p.name,h.appPathSegment=h.noun.slice(0,1).toUpperCase()+h.noun.slice(1),h.folder?s.askName(r,f,h.div,l.foaf("name"),null,h.noun).then((function(e){if(e){var t=h.folder.uri;t.endsWith("/")||(t+="/"),d(null,t=t+encodeURIComponent(e)+"/")}else v()})):(u=(0,c.selectWorkspace)(r,{noun:h.noun,appPathSegment:h.appPathSegment},d),h.div.appendChild(u))}))}))}))};var i=p(n(20)),a=n(34),o=p(n(29)),s=p(n(30)),u=n(17),l=p(n(16)),c=n(74);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var f=u.solidLogicSingleton.store},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matrix=void 0;var r={matrixForQuery:n(266).matrixForQuery};t.matrix=r},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.matrixForQuery=function(e,t,n,r,o,s,l){var c=e.createElement("table"),d=e.createElement("tr");d.appendChild(e.createElement("td")).setAttribute("class","MatrixCorner"),c.appendChild(d),c.lastHeader=d;var p=[],f=[],h=function(e,t,n,r){for(;e.firstChild;)e.removeChild(e.firstChild);e.setAttribute("style",""),e.style.textAlign="center",s.cellFunction?s.cellFunction(e,t,n,r):(e.textContent=i.label(r),e.setAttribute("style","padding: 0.3em")),delete e.old},m=function(t){var n=t.toNT();if(f[n])return f[n];var r=e.createElement("tr"),o=r.appendChild(e.createElement("td"));o.setAttribute("style","padding: 0.3em;"),o.textContent=i.label(t),"NamedNode"===t.termType&&u.fetcher.nowOrWhenFetched(t.uri.split("#")[0],void 0,(function(e,n,r){e&&(o.textContent=i.label(t))}));for(var l=0;l<p.length;l++)h(r.appendChild(e.createElement("td")),a.fromNT(p[l]),t,null);r.dataValueNT=n,f[n]=r;for(var d=c.lastHeader.nextSibling;d;d=d.nextSibling)if(n>d.dataValueNT&&s&&s.yDecreasing||n<d.dataValueNT&&(!s||!s.yDecreasing))return c.insertBefore(r,d);return c.appendChild(r)},g=function(t){for(var n=t.toNT(),r=null,o=0;o<p.length;o++){if(p[o]===n)return o;if(n>p[o]&&s.xDecreasing||n<p[o]&&!s.xDecreasing){p=p.slice(0,o).concat([n]).concat(p.slice(o)),r=o;break}}null===r&&(r=p.length,p.push(n));for(var u=c.firstChild;u;u=u.nextSibling){var l=u.dataValueNT,d=e.createElement("td");if(d.style.textAlign="center",u===c.firstChild?d.textContent=i.label(t):h(d,t,a.fromNT(l),null),r===p.length-1)u.appendChild(d);else{for(var f=u.firstChild,m=0;m<r+1;m++)f=f.nextSibling;u.insertBefore(d,f)}}return r},v=function(){var e,t,n=[],r=[];if(s.set_y)for(var i=0;i<s.set_y.length;i++)r[s.set_y[i]]=!0;if(s.set_x)for(var o=0;o<s.set_x.length;o++)n[g(s.set_x[o])+1]=!0;for(var u=1;u<c.children.length;u++){e=c.children[u];for(var l=1;l<e.children.length;l++)if((t=e.children[l]).old){var d=a.fromNT(e.dataValueNT),m=a.fromNT(p[l-1]);h(t,m,d,null)}else r[e.dataValueNT]=!0,n[l]=!0}for(var v=0;v<c.children.length;v++)if(e=c.children[v],v>0&&!r[e.dataValueNT])delete f[e.dataValueNT],c.removeChild(e);else for(var y=e.children.length-1;y>0;y--){var b=e.children[y];n[y]||e.removeChild(b)}for(var w=[],x=0;x<p.length;x++)n[x+1]&&w.push(p[x]);p=w};c.refresh=function(){!function(){for(var e=1;e<c.children.length;e++)for(var t=c.children[e],n=1;n<t.children.length;n++)t.children[n].old=!0}(),u.query(t,y,void 0,v)};var y=function(e){var t=e[n.toString()],i=e[r.toString()],a=e[o.toString()],s=m(i),u=g(t),l=s.children[u+1];h(l,t,i,a)};if(s.set_y)for(var b=0;b<s.set_y.length;b++)m(s.set_y[b]);if(s.set_x)for(var w=0;w<s.set_x.length;w++)g(s.set_x[w]);return u.query(t,y,void 0,l),c};var i=s(n(29)),a=s(n(4));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}var u=n(17).solidLogicSingleton.store},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.cameraButton=function(e,t,n,r){var i,s=e.createElement("div"),u=l.button(e,p,"Take picture");function c(e){return d.apply(this,arguments)}function d(){return(d=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s.removeChild(i),s.appendChild(u),r(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return s.appendChild(u),u.addEventListener("click",(function(r){s.removeChild(u),i=m(e,t,n,c),s.appendChild(i)})),s},t.cameraCaptureControl=m;var a=r(n(25)),o=r(n(26)),s=d(n(20)),u=n(34),l=d(n(30));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var p=u.icons.iconBase+"noun_Camera_1618446_000000.svg",f=u.icons.iconBase+"noun_479395.svg",h="border-radius: 0.5em; margin: 0.8em; width: ".concat("640","; height:").concat("480",";");function m(e,t,n,r){var i,a,o,c,d=e.createElement("div"),p=d.appendChild(e.createElement("table")),m=p.appendChild(e.createElement("tr")).appendChild(e.createElement("td"));m.setAttribute("colspan","4");var g=p.appendChild(e.createElement("tr"));g.appendChild(e.createElement("td")).appendChild(l.cancelButton(e)).addEventListener("click",(function(e){k(),r(null)}));var v=g.appendChild(e.createElement("td")).appendChild(l.button(e,f,"Retake"));v.addEventListener("click",(function(e){m.removeChild(c),w()})),v.style.visibility="collapse";var y=g.appendChild(e.createElement("td")).appendChild(l.button(e,u.icons.iconBase+"noun_10636.svg","Snap"));y.addEventListener("click",(function(){(c=e.createElement("canvas")).setAttribute("width","640"),c.setAttribute("height","480"),c.setAttribute("style",h),m.appendChild(c),c.getContext("2d").drawImage(o,0,0,c.width,c.height),o.parentNode.removeChild(o),c.toBlob((function(e){var t="got blob type ".concat(e.type," size ").concat(e.size);s.log(t),i=n(),a=e,b.style.visibility="visible",v.style.visibility="visible",y.style.visibility="collapse"}),"image/png")})),y.style.visibility="collapse";var b=g.appendChild(e.createElement("td")).appendChild(l.continueButton(e));function w(){if((o=m.appendChild(e.createElement("video"))).setAttribute("controls","1"),o.setAttribute("autoplay","1"),o.setAttribute("style",h),!navigator.mediaDevices)throw new Error("navigator.mediaDevices not available");navigator.mediaDevices.getUserMedia(x).then((function(e){o.srcObject=e,y.style.visibility="visible",b.style.visibility="collapse",v.style.visibility="collapse"}))}b.addEventListener("click",(function(e){!function(e,n){var i=e.type;s.log("Putting "+e.size+" bytes of "+i+" to "+n),t.fetcher.webOperation("PUT",n.uri,{data:e,contentType:i}).then((function(e){s.log("ok saved "+n),k(),r(n)}),(function(e){k(),alert(e)}))}(a,i)})),b.style.visibility="collapse";var x={video:!0};function k(){o&&o.srcObject&&o.srcObject.getVideoTracks().forEach((function(e){return e.stop()}))}return w(),d}},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.messageArea=function(e,t,n,r,i){t=t||h.store,r=r.doc();var a,o,s=h.ns,l=u.Namespace("http://www.w3.org/2005/01/wf/flow#"),d=u.Namespace("http://purl.org/dc/terms/"),p=!!(i=i||{}).newestFirst,f="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;",m=e.createElement("div"),g=h.store.updater,v=function(t,n){var r=e.createElement("a");return n&&n.uri&&(r.setAttribute("href",n.uri),r.addEventListener("click",h.widgets.openHrefInOutlineMode,!0),r.setAttribute("style","color: #3B5998; text-decoration: none; ")),r.textContent=t,r},y=function(t,n){var r=e.createElement("pre");return r.setAttribute("style",n||"color: grey"),m.appendChild(r),r.appendChild(e.createTextNode(t)),r},b={log:function(e){y(e,"color: #111;")},warn:function(e){y(e,"color: #880;")},error:function(e){y(e,"color: #800;")}};function w(e){var t=h.store.any(e,h.ns.foaf("nick"));return t?""+t.value:""+c.label(e)}function x(t,n,r,i){var a=t.appendChild(v(w(n),n));n.uri&&h.store.fetcher.nowOrWhenFetched(n.doc(),void 0,(function(e,t){a.textContent=w(n)})),t.appendChild(e.createElement("br")),t.appendChild(v(r,i))}function k(e,n){var r,i,a={};for(r=n.firstChild;r;r=r.nextSibling)r.AJAR_subject&&(a[r.AJAR_subject.uri]=!0);var o=t.each(e,s.wf("message")),u={};for(o.forEach((function(e){u[e.uri]=!0,a[e.uri]||E(e)})),r=n.firstChild;r;)i=r.nextSibling,r.AJAR_subject&&!u[r.AJAR_subject.uri]&&n.removeChild(r),r=i}var E=function(e){var n={"?msg":e,"?creator":t.any(e,s.foaf("maker")),"?date":t.any(e,d("created")),"?content":t.any(e,s.sioc("content"))};C(n,!0)},C=function(r,i){var o=r["?creator"],s=r["?msg"],u=r["?date"],l=r["?content"],c=u.value,d=e.createElement("tr");d.AJAR_date=c,d.AJAR_subject=s;for(var m=!1,v=a.firstChild;v;v=v.nextSibling)if(c>v.AJAR_date&&p||c<v.AJAR_date&&!p){a.insertBefore(d,v),m=!0;break}m||a.appendChild(d);var y=e.createElement("td");d.appendChild(y),x(y,o,h.widgets.shortDate(c),s);var w=e.createElement("td");d.appendChild(w);var E=e.createElement("p");E.setAttribute("style",f+(i?"background-color: #e8ffe8;":"background-color: #white;")),w.appendChild(E),E.textContent=l.value;var C=e.createElement("td");d.appendChild(C);var _=e.createElement("button");C.appendChild(_),_.textContent="-",d.setAttribute("class","hoverControl"),_.setAttribute("class","hoverControlHide"),_.setAttribute("style","color: red;"),_.addEventListener("click",(function(r){C.removeChild(_);var i=e.createElement("button");i.textContent="cancel",C.appendChild(i).addEventListener("click",(function(e){C.removeChild(o),C.removeChild(i),C.appendChild(_)}),!1);var o=e.createElement("button");o.textContent="Delete message",C.appendChild(o).addEventListener("click",(function(e){C.removeChild(o),C.removeChild(i),function(e){var r=t.statementsMatching(e).concat(t.statementsMatching(void 0,void 0,e));g.update(r,[],(function(e,t,r){t?k(n,a):b.error("Cant delete messages:"+r)}))}(s)}),!1)}),!1)};(a=e.createElement("table")).fresh=!1,m.appendChild(a),a.setAttribute("style","width: 100%;");var _,S=function(){var i=e.createElement("tr"),a=e.createElement("td"),l=e.createElement("td"),c=e.createElement("td");i.appendChild(a),i.appendChild(l),i.appendChild(c),i.AJAR_date="9999-01-01T00:00:00Z";var p,m,v=function(){p.setAttribute("class","pendingedit"),p.disabled=!0;var a=[],l=new Date,c=""+l.getTime(),f=u.term(l),m=t.sym(r.uri+"#Msg"+c);a.push(new u.Statement(n,s.wf("message"),m,r)),a.push(new u.Statement(m,s.sioc("content"),t.literal(p.value),r)),a.push(new u.Statement(m,d("created"),f,r)),o&&a.push(new u.Statement(m,s.foaf("maker"),o,r));g.update([],a,(function(n,r,a){if(r){var s={"?msg":m,"?content":t.literal(p.value),"?date":f,"?creator":o};C(s,!1),p.value="",p.setAttribute("class",""),p.disabled=!1}else i.appendChild(h.widgets.errorMessageBlock(e,"Error writing message: "+a))}))};i.appendChild(e.createElement("br"));var y={div:l,dom:e};return h.authn.logIn(y).then((function(t){o=t.me,x(a,o,"",null),p=e.createElement("textarea"),l.innerHTML="",l.appendChild(p),p.rows=3,p.setAttribute("style",f+"background-color: #eef;"),p.addEventListener("keyup",(function(e){13===e.keyCode&&(e.altKey||v())}),!1),c.innerHTML="",(m=h.widgets.button(e,h.icons.iconBase+"noun_383448.svg","Send")).setAttribute("style",h.style.buttonStyle+"float: right;"),m.addEventListener("click",v,!1),c.appendChild(m)})),i}();p?a.insertBefore(S,a.firstChild):a.appendChild(S);if(i.query)_=i.query;else{_=new u.Query("Messages");var A={};["msg","date","creator","content"].forEach((function(e){_.vars.push(A[e]=u.variable(e))})),_.pat.add(n,l("message"),A.msg),_.pat.add(A.msg,s.dct("created"),A.date),_.pat.add(A.msg,s.foaf("maker"),A.creator),_.pat.add(A.msg,s.sioc("content"),A.content)}return t.query(_,C,void 0,(function(){a.fresh=!0})),m.refresh=function(){k(n,a)},m};var i=n(61),a=n(34),o=n(17),s=f(n(16)),u=f(n(4)),l=f(n(44)),c=f(n(29)),d=f(n(30));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var h={authn:i.authn,icons:a.icons,ns:s,rdf:u,store:o.store,style:l,widgets:d}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.DateFolder=void 0;var a=r(n(25)),o=r(n(26)),s=r(n(53)),u=r(n(54)),l=h(n(20)),c=n(17),d=h(n(16)),p=h(n(4));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var m=function(){function e(t,n,r){(0,s.default)(this,e),this.root=t,this.rootFolder=t.dir(),this.leafFileName=n||"index.ttl",this.membershipProperty=r||d.wf("leafObject")}var t,n;return(0,u.default)(e,[{key:"leafDocumentFromDate",value:function(e){var t=e.toISOString().split("T")[0].replace(/-/g,"/");return t=this.root.dir().uri+t+"/"+this.leafFileName,c.store.sym(t)}},{key:"dateFromLeafDocument",value:function(e){var t=this.rootFolder.uri.length,n=e.uri.slice(t,t+10).replace(/\//g,"-"),r=new Date(n);return l.log("Date for "+e+":"+r.toISOString()),r}},{key:"loadPrevious",value:(n=(0,o.default)(a.default.mark((function e(t,n){var r,i,s,u,l,p;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=function(){return(s=(0,o.default)(a.default.mark((function e(t,s){var u,l,p,f,h,m,g,v,y,b;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=function(){return(f=(0,o.default)(a.default.mark((function e(t){var i,o;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=t.filter(l)).sort(),n||t.reverse(),3===s){e.next=5;break}return e.abrupt("return",t.pop());case 5:if(!t.length){e.next=14;break}return i=t.pop(),o=c.store.sym(i.uri+r.leafFileName),e.next=10,c.store.fetcher.load(o);case 10:if(!(c.store.statementsMatching(null,d.dct("created"),null,o).length>0)){e.next=12;break}return e.abrupt("return",i);case 12:e.next=5;break;case 14:return e.abrupt("return",null);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)},p=function(e){return f.apply(this,arguments)},l=function(e){var t=e.uri.slice(0,-1).split("/").slice(-1)[0];return!!"0123456789".includes(t[0])},u=function(e){return!(n?e.uri>=t.uri:e.uri<=t.uri)},h=t.dir(),e.next=7,c.store.fetcher.load(h);case 7:return m=(m=c.store.each(h,d.ldp("contains"))).filter(u),e.next=11,p(m);case 11:if(!(g=e.sent)){e.next=14;break}return e.abrupt("return",g);case 14:if(0!==s){e.next=16;break}return e.abrupt("return",null);case 16:return e.next=18,i(h,s-1);case 18:if(v=e.sent){e.next=21;break}return e.abrupt("return",null);case 21:return e.next=23,c.store.fetcher.load(v);case 23:return y=c.store.each(v,d.ldp("contains")),e.next=26,p(y);case 26:return b=e.sent,e.abrupt("return",b);case 28:case"end":return e.stop()}}),e)})))).apply(this,arguments)},i=function(e,t){return s.apply(this,arguments)},r=this,u=this.leafDocumentFromDate(t).dir(),e.next=6,i(u,3);case 6:if(!(l=e.sent)){e.next=10;break}return p=c.store.sym(l.uri+this.leafFileName),e.abrupt("return",this.dateFromLeafDocument(p));case 10:return e.abrupt("return",null);case 11:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"firstLeaf",value:(t=(0,o.default)(a.default.mark((function e(t){var n,r,i,s,u,c,f,h,m,g,v;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=function(){return(s=(0,o.default)(a.default.mark((function e(i){var o,s;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(e){var t=e.uri.slice(0,-1).split("/").slice(-1)[0];return!!"0123456789".includes(t[0])},l.log(" parent "+i),delete r.requested[i.uri],e.next=5,r.load(i,{force:!0});case 5:if(0!==(s=(s=n.each(i,d.ldp("contains"))).filter(o)).length){e.next=9;break}throw new Error(" @@@ No children to parent2 "+i);case 9:return s.sort(),t&&s.reverse(),e.abrupt("return",s[0]);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)},i=function(e){return s.apply(this,arguments)},n=p.graph(),r=new p.Fetcher(n),e.next=6,i(this.root.dir());case 6:return u=e.sent,e.next=9,i(u);case 9:return c=e.sent,e.next=12,i(c);case 12:return f=e.sent,h=p.sym(f.uri+"chat.ttl"),e.next=16,r.load(h);case 16:if(0!==(m=n.each(this.root,this.membershipProperty,null,h)).length){e.next=21;break}throw g=" INCONSISTENCY -- no chat leafObject in file "+h,l.trace(g),new Error(g);case 21:return(v=m.map((function(e){return[n.any(e,d.dct("created")),e]}))).sort(),t&&v.reverse(),l.log((t?"Latest":"Earliest")+" leafObject is "+v[0][1]),e.abrupt("return",v[0][1]);case 26:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),e}();t.DateFolder=m},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.messageToolbar=function(e,t,n,r){function i(){return(i=(0,o.default)(a.default.mark((function i(){var o,s;return a.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(o=d.store.any(e,p.foaf("maker")),C){i.next=5;break}alert("You can't delete the message, you are not logged in."),i.next=22;break;case 5:if(!C.sameTerm(o)){i.next=21;break}return i.prev=6,i.next=9,r.deleteMessage(e);case 9:i.next=18;break;case 11:i.prev=11,i.t0=i.catch(6),s="Error deleting messaage "+i.t0,u.warn(s),alert(s),(n.statusArea||t.parentNode).appendChild(m.errorMessageBlock(x,s));case 18:t.parentNode.removeChild(t),i.next=22;break;case 21:alert("You can't delete the message, you are not logged in as the author, "+o);case 22:w();case 23:case"end":return i.stop()}}),i,null,[[6,11]])})))).apply(this,arguments)}function s(){return(s=(0,o.default)(a.default.mark((function t(i){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:C.value===d.store.any(e,p.foaf("maker")).value&&(w(),(0,y.switchToEditor)(i,e,r,n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var b=x.createElement("div");if((0,v.mostRecentVersion)(e).value===p.schema("dateDeleted").value)return b;function w(){b.parentElement.parentElement.removeChild(b.parentElement)}function k(e){return E.apply(this,arguments)}function E(){return(E=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.store.updater.update(d.store.connectedStatements(t),[]);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var C=l.authn.currentUser();C&&d.store.holds(e,p.foaf("maker"),C)&&(b.appendChild(m.deleteButtonWithCheck(x,b,"message",(function(){return i.apply(this,arguments)}))),b.appendChild(m.button(x,c.icons.iconBase+"noun_253504.svg","edit",(function(){return function(e){return s.apply(this,arguments)}(t)}))));function _(e,n,r,i,s,u){function l(){g.style.backgroundColor=c?"yellow":"white"}var c,g=m.button(x,r,h.label(i),function(){var r=(0,o.default)(a.default.mark((function r(o){var h,g,y,b;return a.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!c){r.next=7;break}return r.next=3,k(c);case 3:c=null,l(),r.next=25;break;case 7:return c=m.newThing(s),h=[f.st(c,p.schema("agent"),e.me,s),f.st(c,p.rdf("type"),i,s),f.st(c,p.schema("target"),n,s)],r.next=11,d.store.updater.update([],h);case 11:if(l(),!u){r.next=25;break}g=!1,y=0;case 15:if(!(y<u.length)){r.next=24;break}if(!(b=v(u[y]))){r.next=21;break}return r.next=20,k(b);case 20:g=!0;case 21:y++,r.next=15;break;case 24:g&&m.refreshTree(t);case 25:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}());function v(t){var r=d.store.each(null,p.schema("agent"),e.me,s).filter((function(e){return d.store.holds(e,p.rdf("type"),t,s)})).filter((function(e){return d.store.holds(e,p.schema("target"),n,s)}));return r.length?r[0]:null}function y(){c=v(i),l()}return g.refresh=y,y(),g}if((0,g.renderBookmarksButton)(n).then((function(e){e&&b.appendChild(e)})),(C=l.authn.currentUser())&&(0,v.mostRecentVersion)(e).value!==p.schema("dateDeleted").value){var S={me:C,dom:x,div:b};b.appendChild(_(S,e,c.icons.iconBase+"noun_1384132.svg",p.schema("AgreeAction"),e.doc(),[p.schema("DisagreeAction")])),b.appendChild(_(S,e,c.icons.iconBase+"noun_1384135.svg",p.schema("DisagreeAction"),e.doc(),[p.schema("AgreeAction")]))}var A=b.appendChild(m.cancelButton(x));return A.style.float="right",A.firstChild.style.opacity="0.3",A.addEventListener("click",w),b},t.sentimentStrip=function(e,t){var n=(0,v.mostRecentVersion)(e),r=(d.store.holds(n,p.schema("dateDeleted").value,null,n.doc())?d.store.each(null,p.schema("target"),e,t):[]).map((function(e){return d.store.any(e,p.rdf("type"),null,t)}));r.sort();var i=r.map((function(e){return k[e]||""}));return x.createTextNode(i.join(" "))},t.sentimentStripLinked=function(e,t){var n=x.createElement("span");function r(){n.innerHTML="";var r=((0,v.mostRecentVersion)(e).uri!==p.schema("dateDeleted").uri?d.store.each(null,p.schema("target"),e,t):[]).map((function(e){return[d.store.any(e,p.rdf("type"),null,t),d.store.any(e,p.schema("agent"),null,t)]}));r.sort(),r.forEach((function(e){var t,r=(0,s.default)(e,2),i=r[0],a=r[1];a?(t=x.createElement("a")).setAttribute("href",a.uri):t=x.createTextNode(""),t.textContent=k[i]||"*",n.appendChild(t)}))}return r(),n.refresh=r,n};var a=r(n(25)),o=r(n(26)),s=r(n(111)),u=w(n(20)),l=n(61),c=n(34),d=n(17),p=w(n(16)),f=w(n(4)),h=w(n(29)),m=w(n(30)),g=n(156),v=n(119),y=n(155);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var x=window.document,k={};k[p.schema("AgreeAction")]="👍",k[p.schema("DisagreeAction")]="👎",k[p.schema("EndorseAction")]="⭐️",k[p.schema("LikeAction")]="❤️"},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(121),i=n(273);function a(t,n,o){return i()?(e.exports=a=Reflect.construct,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.get=function(e){return h[e]},t.getPreferencesForClass=function(e,t,n,r){return new Promise((function(i,a){m(e,r).then((function(r){var o=r.sharedPreferences;if(r.me)u.participationObject(e,e.doc(),r.me).then((function(e){g(t,r).then((function(t){var r=[],a=t.personalDefaults;n.forEach((function(t){var n=f.any(e,t)||f.any(o,t)||f.any(a,t);n&&(r[t.uri]=v(n))})),i(r)}),a)}),a);else{var s=[];n.forEach((function(e){var t=f.any(o,e);t&&(s[e.uri]=v(t))})),i(s)}}))}))},t.recordPersonalDefaults=g,t.recordSharedPreferences=m,t.renderPreferencesForm=function(e,t,n,r){var i=r.dom.createElement("div");return u.participationObject(e,e.doc(),r.me).then((function(a){var o=r.dom;function s(e){i.appendChild(o.createElement("h5")).textContent=e}s("My view of this "+r.noun),c.appendForm(o,i,{},a,n,e.doc(),(function(e,t){e||c.complain(r,t)})),s("Everyone's view of this "+r.noun),m(e,r).then((function(r){var a=r.sharedPreferences;c.appendForm(o,i,{},a,n,e.doc(),(function(e,t){e||c.complain(r,t)})),s("My default view of any "+r.noun),g(t,r).then((function(e){c.appendForm(o,i,{},e.personalDefaults,n,e.preferencesFile,(function(t,n){t||c.complain(e,n)}))}),(function(e){c.complain(r,e)}))}))}),(function(e){i.appendChild(c.errorMessageBlock(r.dom,e))})),i},t.set=function(e,t){if("string"!=typeof t)throw i.log("Non-string value of preference "+e+": "+t),new Error("Non-string value of preference "+e+": "+t);this.value[e]=t},t.value=void 0;var i=p(n(20)),a=n(61),o=n(17),s=p(n(16)),u=p(n(124)),l=p(n(4)),c=p(n(30));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var f=o.store,h=[];function m(e,t){return new Promise((function(n,r){var a=f.any(e,s.ui("sharedPreferences"));if(a)t.sharedPreferences=a,n(t);else{var o=l.sym(e.doc().uri+"#SharedPreferences"),u=[l.st(e,s.ui("sharedPreferences"),o,e.doc())];i.log("Creating shared preferences "+o),f.updater.update([],u,(function(e,i,a){i?(t.sharedPreferences=o,n(t)):r(new Error("Error creating shared prefs: "+a))}))}}))}function g(e,t){return new Promise((function(n,r){a.authn.logInLoadPreferences(t).then((function(t){if(t.preferencesFile){var a,o,u=f.each(null,s.solid("forClass"),e,t.preferencesFile),d=[];if(u.length){if(u.forEach((function(e){a=a||f.any(e,s.solid("personalDefaults"))})),a)return t.personalDefaults=a,void n(t);a=c.newThing(t.preferencesFile),o=u[0]}else o=c.newThing(t.preferencesFile),d=[l.st(o,s.rdf("type"),s.solid("TypeRegistration"),t.preferencesFile),l.st(o,s.solid("forClass"),e,t.preferencesFile)];a=c.newThing(t.preferencesFile),d.push(l.st(o,s.solid("personalDefaults"),a,t.preferencesFile)),f.updater.update([],d,(function(i,o,s){o?(t.personalDefaults=a,n(t)):r(new Error("Setting preferences for "+e+": "+s))}))}else i.log("Not doing private class preferences as no access to preferences file. "+t.preferencesFileError)}),(function(e){r(e)}))}))}function v(e){return e.datatype?e.datatype.equals(s.xsd("boolean"))?"1"===e.value:e.datatype.equals(s.xsd("dateTime"))||e.datatype.equals(s.xsd("date"))?new Date(e.value):e.datatype.equals(s.xsd("integer"))||e.datatype.equals(s.xsd("float"))||e.datatype.equals(s.xsd("decimal"))?Number(e.value):e.value:e}t.value=h},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.renderTableViewPane=function(e,t){var n,r,a,o,s=t.sourceDocument,u=t.tableClass,d=t.query,p=h.ns,f=h.store,m={},g={"http://www.w3.org/2002/07/owl#sameAs":!0,"http://www.w3.org/1999/02/22-rdf-syntax-ns#type":!0},v={"http://www.w3.org/2001/XMLSchema#decimal":!0,"http://www.w3.org/2001/XMLSchema#float":!0,"http://www.w3.org/2001/XMLSchema#double":!0,"http://www.w3.org/2001/XMLSchema#integer":!0,"http://www.w3.org/2001/XMLSchema#nonNegativeInteger":!0,"http://www.w3.org/2001/XMLSchema#positiveInteger":!0,"http://www.w3.org/2001/XMLSchema#nonPositiveInteger":!0,"http://www.w3.org/2001/XMLSchema#negativeInteger":!0,"http://www.w3.org/2001/XMLSchema#long":!0,"http://www.w3.org/2001/XMLSchema#int":!0,"http://www.w3.org/2001/XMLSchema#short":!0,"http://www.w3.org/2001/XMLSchema#byte":!0,"http://www.w3.org/2001/XMLSchema#unsignedLong":!0,"http://www.w3.org/2001/XMLSchema#unsignedInt":!0,"http://www.w3.org/2001/XMLSchema#unsignedShort":!0,"http://www.w3.org/2001/XMLSchema#unsignedByte":!0},y={"http://www.w3.org/2001/XMLSchema#dateTime":!0,"http://www.w3.org/2001/XMLSchema#date":!0},b={"http://xmlns.com/foaf/0.1/Image":!0,"http://purl.org/dc/terms/Image":!0},w=t.keyVariable||"?_row",x=0,k=null,E=e.createElement("div");E.className="tableViewPane",E.appendChild(function(){var t=e.createElement("table");t.setAttribute("class","toolbar");var n=e.createElement("tr");return a=e.createElement("td"),n.appendChild(a),o=e.createElement("td"),n.appendChild(o),t.appendChild(n),t}());var C,_=e.createElement("div");if(E.appendChild(_),E.refresh=function(){X(C.query,C.logicalRows,C.columns,C)},d)C=ee(d),_.appendChild(C);else{var S=function(){var e,t,n=function(){for(var e={},t=f.statementsMatching(void 0,h.ns.rdf("type"),u,s),n={},r=0;r<t.length;++r){var i=t[r].object;if("NamedNode"===i.termType){var a=R(e,i);i.uri in n||(n[i.uri]=[]),n[i.uri].push(t[r].subject),a.addUse()}}return[n,e]}();for(var r in e=n[0],t=n[1],e){var i=e[r];L(t[r],i)}return[new D(null),I(t)]}();n=S[0],r=S[1],u||a.appendChild(function(t,n){var r=e.createElement("div");r.appendChild(e.createTextNode("Select type: "));var i=e.createElement("select");for(var a in i.appendChild(F("All types","null")),n)i.appendChild(F(n[a].getLabel(),a));return i.addEventListener("click",(function(){var e;e="null"===i.value?t:n[i.value],T(e)}),!1),r.appendChild(i),r}(n,r)),T(function(e){var t,n=-1,r=null;for(t in e){var i=e[t];i.useCount>n&&(r=i,n=i.useCount)}return r}(r)||n)}return E;function A(e){var t=new l.Query,n=f.variable(w.slice(1));return function(e,t){for(var n=t.getColumns(),r=0;r<n.length;++r){var i=f.variable("_col"+r);e.vars.push(i),n[r].setVariable(i)}}(t,e),function(e,t,n){var r=n.type;r||(r=f.variable("_any")),e.pat.add(t,h.ns.rdf("type"),r)}(t,n,e),function(e,t,n){for(var r=n.getColumns(),i=0;i<r.length;++i){var a=r[i],o=f.formula();o.add(t,a.predicate,a.getVariable()),e.pat.optional.push(o)}}(t,n,e),t}function T(t){P(o),o.appendChild(function(t){var n=e.createElement("div"),r=t.getUnusedColumns();if(r.sort((function(e,t){var n=e.sortKey(),r=t.sortKey();return(n>r)-(n<r)})),r.length>0){n.appendChild(e.createTextNode("Add column: "));var i=e.createElement("select");i.appendChild(F("","-1"));for(var a=0;a<r.length;++a){var o=r[a];i.appendChild(F(o.getLabel(),""+a))}n.appendChild(i),i.addEventListener("click",(function(){var e=Number(i.value);e>=0&&(t.addColumn(r[e]),T(t))}),!1)}return n}(t)),function(e,t){k&&(k.running=!1);var n=ee(e,t);P(_),_.appendChild(n),k=e}(A(t),t)}function P(e){for(;e.childNodes.length>0;)e.removeChild(e.childNodes[0])}function D(e){this.type=e,this.columns=null,this.allColumns=[],this.useCount=0,this.getAllColumns=function(){return this.allColumns},this.getColumns=function(){if(!this.columns){var e=this.getAllColumns();this.columns=e.slice(0,7)}return this.columns},this.getUnusedColumns=function(){for(var e=this.getAllColumns(),t=this.getColumns(),n=[],r=0;r<e.length;++r)-1===t.indexOf(e[r])&&n.push(e[r]);return n},this.addColumn=function(e){this.columns.push(e)},this.removeColumn=function(e){this.columns=this.columns.filter((function(t){return t!==e}))},this.getLabel=function(){return c.label(this.type)},this.addUse=function(){this.useCount+=1}}function O(){this.useCount=0,this.checkedAnyValues=!1,this.possiblyLiteral=!0,this.possiblyNumber=!0,this.constraints=[],this.checkValue=function(e){var t=e.termType;if(this.possiblyLiteral&&"Literal"!==t&&"NamedNode"!==t)this.possiblyNumber=!1,this.possiblyLiteral=!1;else if(this.possiblyNumber){if("Literal"!==t)this.possiblyNumber=!1;else e.value.match(/^-?\d+(\.\d*)?$/)||(this.possiblyNumber=!1)}this.checkedAnyValues=!0},this.getVariable=function(){return this.variable},this.setVariable=function(e){this.variable=e},this.getKey=function(){return this.variable.toString()},this.addUse=function(){this.useCount+=1},this.getHints=function(){return t&&t.hints&&this.variable&&t.hints[this.variable.toNT()]?t.hints[this.variable.toNT()]:{}},this.getLabel=function(){return this.getHints().label?this.getHints().label:this.predicate?this.predicate.sameTerm(p.rdf("type"))&&this.superClass?c.label(this.superClass,!0):c.label(this.predicate):this.variable?this.variable.toString():"unlabeled column?"},this.setPredicate=function(e,t,n){t?(this.inverse=e,this.constraints=this.constraints.concat(f.each(e,h.ns.rdfs("domain"))),e.sameTerm(p.rdfs("subClassOf"))&&"NamedNode"===n.termType&&(this.superClass=n,this.alternatives=f.each(void 0,p.rdfs("subClassOf"),n))):(this.predicate=e,this.constraints=this.constraints.concat(f.each(e,h.ns.rdfs("range"))))},this.getConstraints=function(){return this.constraints},this.filterFunction=function(){return!0},this.sortKey=function(){return this.getLabel().toLowerCase()},this.isImageColumn=function(){for(var e=0;e<this.constraints.length;e++)if(this.constraints[e].uri in b)return!0;return!1}}function I(e,t){var n=[];for(var r in e){var i=e[r];t&&!t(r,i)||n.push(i)}return n}function F(t,n){var r=e.createElement("option");return r.setAttribute("value",n),r.appendChild(e.createTextNode(t)),r}function N(e,t){var n;return t.uri in e?n=e[t.uri]:((n=new O).setPredicate(t),e[t.uri]=n),n}function R(e,t){var n;return t.uri in e?n=e[t.uri]:(n=new D(t),e[t.uri]=n),n}function j(e,t){for(var n=f.statementsMatching(e,void 0,void 0,s),r={},i=0;i<n.length;++i){var a=n[i].predicate;if(!(a.uri in g)){var o=N(t,a);o.checkValue(n[i].object),r[a.uri]=o}}return r}function L(e,t){for(var n={},r=0;r<t.length;++r){var i=j(t[r],n);for(var a in i){i[a].addUse()}}var o=I(n);!function(e){e.sort((function(e,t){return(e.useCount<t.useCount)-(e.useCount>t.useCount)}))}(o),e.allColumns=o}function M(t,n){var r=e.createElement("a");return r.appendChild(e.createTextNode("[x]")),r.addEventListener("click",(function(){t.removeColumn(n),T(t)}),!1),r}function U(e,t){for(var n=!0,r=0;r<t.length;++r){var i=t[r],a=i.getKey(),o=null;if(a in e.values&&(o=e.values[a][0]),!i.filterFunction(o)){n=!1;break}}var s=e._htmlRow;s.style.display=n?"":"none"}function B(e,t){for(var n=0;n<e.length;++n){U(e[n],t)}}function H(e,t,n){function r(e){return e?"Literal"===e.termType?e.value.toLowerCase():"NamedNode"===e.termType?c.label(e).toLowerCase():e.value.toLowerCase():""}!function(e,t,n,r){var i=t.getKey();if(e.sort((function(e,t){var a=null,o=null;i in e.values&&(a=e.values[i][0]),i in t.values&&(o=t.values[i][0]);var s=n(a,o);return r?-s:s})),e.length){for(var a=e[0]._htmlRow.parentNode,o=0;o<e.length;++o)a.removeChild(e[o]._htmlRow);for(var s=0;s<e.length;++s)a.appendChild(e[s]._htmlRow)}}(e,t,(function(e,t){var n=r(e),i=r(t);return n<i?-1:n>i?1:0}),n)}function q(t,n,r){var i=e.createElement("div"),a=e.createElement("input");a.setAttribute("type","text"),a.style.width="70%",i.appendChild(a);var o=e.createElement("span");o.appendChild(e.createTextNode("▼")),o.addEventListener("click",(function(){H(t,r,!1)}),!1),i.appendChild(o);var s=e.createElement("span");s.appendChild(e.createTextNode("▲")),s.addEventListener("click",(function(){H(t,r,!0)}),!1),i.appendChild(s);var u=null;return r.filterFunction=function(e){return!u||!!e&&("Literal"===e.termType?e.value:"NamedNode"===e.termType?c.label(e):"").toLowerCase().indexOf(u)>=0},a.addEventListener("keyup",(function(){u=""!==a.value?a.value.toLowerCase():null,B(t,n)}),!1),i}function z(t,n,r,i){for(var a=e.createElement("div"),o=e.createElement("select"),s={},u=0;u<i.length;++u){var l=i[u];s[l.uri]=!0}var d=$(r).initialSelection;d&&(s=d),o.setAttribute("multiple","true");for(var p=0;p<i.length;++p){var f=i[p],h=F(c.label(f),p);s[f.uri]&&(h.selected=!0),o.appendChild(h)}return a.appendChild(o),r.filterFunction=function(e){return!s||e&&s[e.uri]},o.addEventListener("click",(function(){s={};for(var e=o.options,r=0;r<e.length;r++){var a=e[r],u=Number(a.value);e[r].selected&&(s[i[u].uri]=!0)}B(t,n)}),!0),a}function W(t,n,r){var i=e.createElement("div"),a=e.createElement("input");a.setAttribute("type","text"),a.style.width="40px",i.appendChild(a);var o=e.createElement("input");o.setAttribute("type","text"),o.style.width="40px",i.appendChild(o);var s=null,u=null;function l(){s=""===a.value?null:Number(a.value),u=""===o.value?null:Number(o.value),B(t,n)}return r.filterFunction=function(e){return e&&(e=Number(e)),!(s&&(!e||e<s))&&!(u&&(!e||e>u))},a.addEventListener("keyup",l,!1),o.addEventListener("keyup",l,!1),i}function V(e,t,n){if(n.superClass&&n.alternatives.length>0)return z(e,t,n,n.alternatives);for(var r,i=n.getConstraints(),a=0;a<i.length;a++){if(r=i[a],n.checkedAnyValues&&n.possiblyNumber||r.uri in v)return W(e,t,n);if("http://www.w3.org/2000/01/rdf-schema#Literal"===r.uri)return q(e,t,n);var o=f.each(r,h.ns.owl("oneOf"));if(o.length>0)return z(e,t,n,o.elements)}return function(e,t,n){return n.checkedAnyValues&&n.possiblyNumber?W(e,t,n):n.possiblyLiteral?q(e,t,n):null}(e,t,n)}function K(t,n,r){r=r||{};var a=e.createElement("a"),o=r.linkFunction;return a.setAttribute("href",t),a.appendChild(e.createTextNode(n)),o?a.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var t=c.getTarget(e).getAttribute("href");t||i.log("No href found \n"),o(t)}),!0):a.addEventListener("click",h.widgets.openHrefInOutlineMode,!0),a}function $(e){return t&&t.hints&&e.variable&&t.hints[e.variable.toNT()]?t.hints[e.variable.toNT()]:{}}function G(t,n){var r=$(n),i=r.cellFormat;if(!i){if("Literal"===t.termType){if(t.datatype){if(y[t.datatype.uri])return e.createTextNode(h.widgets.shortDate(t.value));if(v[t.datatype.uri]){var a=e.createElement("span");return a.textContent=t.value,a.setAttribute("style","text-align: right"),a}}return e.createTextNode(t.value)}if("NamedNode"===t.termType&&n.isImageColumn())return function(t){var n=e.createElement("img");return n.setAttribute("src",t.uri),n.style.height="40px",n}(t);if("NamedNode"===t.termType||"BlankNode"===t.termType)return function(e,t){var n=!1;return e.uri&&(n=e.uri.match(/^mailto:(.*)/)),K(e.uri,n?n[1]:c.label(e),t)}(t,r);if("Collection"===t.termType){var o=e.createElement("span");return o.appendChild(e.createTextNode("[")),t.elements.forEach((function(t){o.appendChild(G(t,n)),o.appendChild(e.createTextNode(", "))})),o.removeChild(o.lastChild),o.appendChild(e.createTextNode("]")),o}return e.createTextNode("unknown termtype '"+t.termType+"'!")}switch(i){case"shortDate":return e.createTextNode(h.widgets.shortDate(t.value))}}function J(e,t){var n,r=null;if("Literal"===e.termType)r="value";else{if("NamedNode"!==e.termType)return t.indexOf(e)>=0;r="uri"}for(n=0;n<t.length;++n)if(t[n].termType===e.termType&&t[n][r]===e[r])return!0;return!1}function Q(t,n,r){var i,a=!1;for(i in r){var o=r[i];i in t.values||(t.values[i]=[]),J(o,t.values[i])||(t.values[i].push(o),a=!0)}a&&(P(t._htmlRow),function(t,n,r,i){var a=e.createElement("td");n._subject&&"uri"in n._subject&&a.appendChild(K(n._subject.uri,"→")),t.appendChild(a);for(var o=0;o<r.length;++o){var s=r[o],u=e.createElement("td"),l=void 0,c=s.getKey();if(c in n.values){var d=n.values[c],p=!1;n.originalValues&&n.originalValues[c]&&d.length!==n.originalValues[c].length&&(p=!0);for(var f=0;f<d.length;++f){var h=d[f];n.originalValues&&n.originalValues[c]&&n.originalValues[c].length>f&&(l=n.originalValues[c][f],h.toString()!==l.toString()&&(p=!0)),u.appendChild(G(h,s)),f!==d.length-1&&u.appendChild(e.createTextNode(",\n")),p&&(u.style.background="#efe")}}t.appendChild(u)}n._htmlRow=t}(t._htmlRow,t,n)),U(t,n)}function Y(e){if("uri"in e)return e.uri;if("_subject_id"in e)return e._subject_id;var t=""+x;return e._subject_id=t,++x,t}function X(n,r,a,o){n.running=!0;var s=Date.now(),u=e.createElement("tr");o.appendChild(u),u.textContent="Loading ...";for(var l=0;l<r.length;l++)r[l].original=!0,r[l].originalValues||(r[l].originalValues=r[l].values),r[l].values={};f.query(n,(function(t){if(n.running){u.textContent+=".";var i,s=null,l=null;if(w in t&&(i=Y(l=t[w]))in m&&(s=m[i]),!s){var c=e.createElement("tr");o.appendChild(c),s={_htmlRow:c,_subject:l,values:{}},r.push(s),l&&(m[i]=s)}delete s.original,Q(s,a,t)}}),void 0,(function(){u&&u.parentNode&&u.parentNode.removeChild&&(u.parentNode.removeChild(u),u=null);var e=Date.now()-s;i.log("Query done: "+r.length+" rows, "+e+"ms");for(var n=r.length-1;n>=0;n--)if(r[n].original){i.log(" deleting row "+r[n]._subject);var o=r[n]._htmlRow;o.parentNode.removeChild(o),delete m[Y(r[n]._subject)],r.splice(n,1)}if(t.sortBy){var l=function(e,t){for(var n in e){var r=e[n];if(r.variable.toNT()===t)return r}throw new Error("getColumnForVariable: no column for variable ".concat(t))}(a,t.sortBy);H(r,l,t.sortReverse)}t.onDone&&t.onDone(E)}))}function Z(e){for(var t=[],n={},r=0;r<e.vars.length;++r){var i=new O,a=e.vars[r];h.log.debug("column "+r+" : "+a),i.setVariable(a),n[a]=i,t.push(i)}return function e(t,n){h.log.debug(">> processing formula");for(var r=0;r<n.statements.length;++r){var i=n.statements[r];if("NamedNode"===i.predicate.termType&&"Variable"===i.object.termType){var a=i.object.toString();if(a in t)t[a].setPredicate(i.predicate,!1,i.subject)}if("NamedNode"===i.predicate.termType&&"Variable"===i.subject.termType){var o=i.subject.toString();if(o in t)t[o].setPredicate(i.predicate,!0,i.object)}}for(var s=0;s<n.optional.length;++s)h.log.debug("recurse to optional subformula "+s),e(t,n.optional[s]);h.log.debug("<< finished processing formula")}(n,e.pat),t}function ee(t,n){var r;r=d?Z(t):n.getColumns();var i=[],a=e.createElement("table");return a.appendChild(function(t,n){var r=e.createElement("tr"),i=e.createElement("th");r.appendChild(i);for(var a=0;a<t.length;++a){var o=e.createElement("th"),s=t[a];o.appendChild(e.createTextNode(s.getLabel())),n&&o.appendChild(M(n,s)),r.appendChild(o)}return r}(r,n)),a.appendChild(function(t,n){var r=e.createElement("tr");r.className="selectors",r.appendChild(e.createElement("td"));for(var i=0;i<n.length;++i){var a=e.createElement("td"),o=V(t,n,n[i]);o&&a.appendChild(o),r.appendChild(a)}return r}(i,r)),a.logicalRows=i,a.columns=r,a.query=t,X(t,i,r,a),a}};var i=f(n(20)),a=n(34),o=n(17),s=f(n(59)),u=f(n(16)),l=f(n(4)),c=f(n(29)),d=f(n(30));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var h={icons:a.icons,log:s,ns:u,store:o.store,utils:c,widgets:d}},function(e,t,n){"use strict";var r=n(14);Object.defineProperty(t,"__esModule",{value:!0}),t.TabWidgetElement=void 0,t.tabWidget=function(e){var t=e.subject,n=e.dom||document,r=parseInt(e.orientation||"0"),a=e.backgroundColor||"#ddddcc",o=2&r,s=1&r,u=e.onClose,l=function(e){return function(e){for(var t=0,n=0;n<3;n++)t+=parseInt(e.slice(2*n+1,2*n+3),16);return t>384}(e)?[y(e,"#ffffff",.3),"#000000"]:[y(e,"#000000",.3),"#ffffff"]}(a),c=(0,i.default)(l,2),d=c[0],p=c[1],g="flex: 2; width: auto; height: 100%; border: 0.1em; border-style: solid; border-color: ".concat(d,"; padding: 1em;"),v=n.createElement("div");v.setAttribute("style","display: flex; height: 100%; width: 100%; flex-direction: "+(s?"row":"column")+(o?"-reverse;":";"));var b=v.appendChild(n.createElement("nav"));b.setAttribute("style","margin: 0;");var w=v.appendChild(n.createElement("main"));w.setAttribute("style","margin: 0; width:100%; height: 100%;");var x=b.appendChild(n.createElement("ul"));x.setAttribute("style","\n list-style-type: none;\n display: flex;\n height: 100%;\n width: 100%;\n margin: 0;\n padding: 0;\n flex-direction: ".concat(s?"column":"row","\n "));var k=w;v.tabContainer=x,v.bodyContainer=k;var E=["0.2em","0.2em","0","0"],C=E.concat(E).slice(r,r+4),_="border-radius: ".concat(C.join(" "),";"),S=["0.3em","0.3em","0","0.3em"],A=S.concat(S).slice(r,r+4),T="margin: ".concat(A.join(" "),";"),P="padding: ".concat(A.join(" "),";"),D=_+"padding: 0.7em; max-width: 20em; color: ".concat(p,";"),O="".concat(D+T,"opacity: 50%; background-color: ").concat(a,";"),I="".concat(D+T,"background-color: ").concat(d,";");if(v.refresh=N,N(),!e.startEmpty&&x.children.length&&e.selectedTab){(Array.from(x.children).map((function(e){return e.firstChild})).find((function(t){return t.dataset.name===e.selectedTab}))||x.children[0].firstChild).click()}else e.startEmpty||x.children[0].firstChild.click();return v;function F(t){var r=n.createElement("li");r.subject=t;var i=r.appendChild(n.createElement("div"));return i.setAttribute("style",O),i.addEventListener("click",(function(a){if(a.metaKey||(function(){for(var e=0;e<x.children.length;e++){var t=x.children[e];t.classList.contains("unstyled")||t.children[0]&&t.children[0].setAttribute("style",O)}}(),function(){for(var e=0;e<k.children.length;e++)k.children[e].setAttribute("style","height: 100%; width: 100%;display: none;")}()),i.setAttribute("style",I),r.bodyTR){r.bodyTR.setAttribute("style","height: 100%; width: 100%;");var o=function(e){var t,r=null===(t=e.bodyTR)||void 0===t?void 0:t.children[0];if(r)return r;var i=e.bodyTR.appendChild(n.createElement("main"));return i.setAttribute("style",g),i}(r);e.renderTabSettings&&a.altKey&&r.subject&&!0!==o.asSettings?(o.innerHTML="loading settings ..."+t,e.renderTabSettings(o,r.subject),o.asSettings=!0):e.renderMain&&r.subject&&!1!==o.asSettings&&(o.innerHTML="loading item ..."+t,e.renderMain(o,r.subject),o.asSettings=!1)}})),e.renderTab?e.renderTab(i,t):i.textContent=(0,h.label)(t),r}function N(){var r,i,a,o,s,l=e.items?e.items:!1!==e.ordered?m.store.the(t,e.predicate).elements:m.store.each(t,e.predicate),c=!1;for(o=0;o<x.children.length;o++)if(r=x.children[o],o>=l.length||r.subject&&!r.subject.sameTerm(l[o])){c=!0;break}if(c||l.length!==x.children.length){for(s=x.children.length-1;s>=0&&(r=x.children[s],a=s-x.children.length+l.length,!r.subject||r.subject.sameTerm(l[a]));s--);for(var d=l.slice(o,s-x.children.length+l.length+1);s>=o;)x.removeChild(x.children[o]),k.removeChild(k.children[o]),s-=1;for(i=0;i<d.length;i++){var p=F(d[i]),h=n.createElement("div");p.bodyTR=h,o===x.children.length?(x.appendChild(p),k.appendChild(h)):(x.insertBefore(p,x.children[o+i]),k.insertBefore(h,k.children[o+i]))}u&&function(e){if(e.dataset.onCloseSet){var t=e.querySelector(".unstyled");e.removeChild(t)}var r=n.createElement("li");r.classList.add("unstyled");var i=(0,f.cancelButton)(n,u);i.setAttribute("style",i.getAttribute("style")+P),r.appendChild(i),e.appendChild(r),e.dataset.onCloseSet="true"}(x)}}};var i=r(n(111)),a=r(n(54)),o=r(n(53)),s=r(n(92)),u=r(n(120)),l=r(n(122)),c=r(n(93)),d=r(n(123)),p=r(n(60)),f=n(30),h=n(29),m=n(17);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}HTMLElement;var v=function(e){(0,u.default)(n,e);var t=g(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,p.default)((0,s.default)(e),"bodyContainer",void 0),(0,p.default)((0,s.default)(e),"refresh",void 0),(0,p.default)((0,s.default)(e),"tabContainer",void 0),e}return(0,a.default)(n)}((0,d.default)(HTMLElement));t.TabWidgetElement=v;HTMLElement;function y(e,t,n){for(var r,i,a="#",o="0123456789abcdef",s=0;s<3;s++){r=parseInt(e.slice(2*s+1,2*s+3),16),i=parseInt(t.slice(2*s+1,2*s+3),16);var u=parseInt((""+(r*(1-n)+i*n)).split(".")[0]),l=parseInt((""+u/16).split(".")[0]),c=parseInt((""+u%16).split(".")[0]);a+=o[l]+o[c]}return a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={buildTime:"2022-01-28T22:55:43Z",commit:"9d83fb1702a1835b5d82fb97bc51b3cb98285373",npmInfo:{"solid-ui":"2.4.16",npm:"6.14.15",ares:"1.18.1",brotli:"1.0.9",cldr:"39.0",icu:"69.1",llhttp:"2.1.4",modules:"83",napi:"8",nghttp2:"1.42.0",node:"14.18.3",openssl:"1.1.1l",tz:"2021a",unicode:"13.0",uv:"1.42.0",v8:"8.4.371.23-node.85",zlib:"1.2.11"}}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.createBanner=g,t.createHelpMenu=y,t.createLoginSignUpButtons=b,t.createUserMenu=k,t.createUserMenuButton=w,t.createUserMenuItem=C,t.createUserMenuLink=x,t.getProfileImg=_,t.initHeader=function(e,t,n){return h.apply(this,arguments)},t.rebuildHeader=m;var a=r(n(25)),o=r(n(26)),s=n(34),u=n(74),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(30)),c=n(279),d=n(157);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var f=s.icons.iconBase+"noun_help.svg";function h(){return(h=(0,o.default)(a.default.mark((function e(t,n,r){var i,o;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=document.getElementById("PageHeader")){e.next=3;break}return e.abrupt("return");case 3:o=(0,d.getPod)(),m(i,t,o,n,r)(),u.authSession.onLogout(m(i,t,o,n,r)),u.authSession.onLogin(m(i,t,o,n,r));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e,t,n,r,i){return(0,o.default)(a.default.mark((function o(){var s;return a.default.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=(0,u.currentUser)(),e.innerHTML="",a.t0=e,a.next=5,g(t,n,s,r,i);case 5:a.t1=a.sent,a.t0.appendChild.call(a.t0,a.t1);case 7:case"end":return a.stop()}}),o)})))}function g(e,t,n,r,i){return v.apply(this,arguments)}function v(){return(v=(0,o.default)(a.default.mark((function e(t,n,r,i,o){var s,u,l,c,p,f;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((s=document.createElement("a")).href=n.uri,(0,d.addStyleClassToElement)(s,["header-banner__link"]),u=document.createElement("img"),o&&(u.src=o.logo?o.logo:"https://solidproject.org/assets/img/solid-emblem.svg"),(0,d.addStyleClassToElement)(u,["header-banner__icon"]),s.appendChild(u),!r){e.next=13;break}return e.next=10,k(t,r,i);case 10:e.t0=e.sent,e.next=14;break;case 13:e.t0=b();case 14:return l=e.t0,c=document.createElement("div"),(0,d.addStyleClassToElement)(c,["header-banner"]),c.appendChild(s),p=document.createElement("div"),(0,d.addStyleClassToElement)(p,["header-banner__right-menu"]),p.appendChild(l),o&&o.helpMenuList&&(f=y(o,o.helpMenuList),p.appendChild(f)),c.appendChild(p),e.abrupt("return",c);case 24:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e,t){if(t){var n=document.createElement("ul");(0,d.addStyleClassToElement)(n,["header-user-menu__list"]),t.forEach((function(e){"url"===(e.url?"url":"onclick")?n.appendChild(C(x(e.label,e.url,e.target))):n.appendChild(C(w(e.label,e.onclick)))}));var r=document.createElement("nav");(0,d.addStyleClassToElement)(r,["header-user-menu__navigation-menu"]),r.setAttribute("aria-hidden","true"),r.appendChild(n);var i=document.createElement("div");(0,d.addStyleClassToElement)(i,["header-banner__user-menu"]),(0,d.addStyleClassToElement)(i,["header-user-menu"]),i.appendChild(r);var a=document.createElement("button");(0,d.addStyleClassToElement)(a,["header-user-menu__trigger"]),a.type="button";var o=document.createElement("img");o.src=e&&e.helpIcon?e.helpIcon:s.icons.iconBase+f,(0,d.addStyleClassToElement)(o,["header-banner__help-icon"]),i.appendChild(a),a.appendChild(o);var u=(0,d.throttle)((function(e){return S(e,a,r)}),50);a.addEventListener("click",u);var l=setTimeout((function(){return null}),0);return i.addEventListener("mouseover",(function(e){clearTimeout(l),u(e)})),i.addEventListener("mouseout",(function(e){l=setTimeout((function(){return u(e)}),200)})),i}}function b(){var e=document.createElement("div");return(0,d.addStyleClassToElement)(e,["header-banner__login"]),e.appendChild((0,u.loginStatusBox)(document,null,{})),e}function w(e,t){var n=document.createElement("button");return(0,d.addStyleClassToElement)(n,["header-user-menu__button"]),n.addEventListener("click",t),n.innerText=e,n}function x(e,t,n){var r=document.createElement("a");return(0,d.addStyleClassToElement)(r,["header-user-menu__link"]),r.href=t,r.innerText=e,n&&(r.target=n),r}function k(e,t,n){return E.apply(this,arguments)}function E(){return(E=(0,o.default)(a.default.mark((function e(t,n,r){var i,o,s,u,l,c,p,f;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i=t.fetcher)){e.next=4;break}return e.next=4,i.load(n);case 4:return o=document.createElement("ul"),(0,d.addStyleClassToElement)(o,["header-user-menu__list"]),r&&r.forEach((function(e){"url"===(e.url?"url":"onclick")?o.appendChild(C(x(e.label,e.url,e.target))):o.appendChild(C(w(e.label,e.onclick)))})),s=document.createElement("nav"),(0,d.addStyleClassToElement)(s,["header-user-menu__navigation-menu"]),s.setAttribute("aria-hidden","true"),s.appendChild(o),u=document.createElement("button"),(0,d.addStyleClassToElement)(u,["header-user-menu__trigger"]),u.type="button","string"==typeof(l=_(t,n))?u.innerHTML=l:u.appendChild(l),c=document.createElement("div"),(0,d.addStyleClassToElement)(c,["header-banner__user-menu"]),(0,d.addStyleClassToElement)(c,["header-user-menu"]),c.appendChild(u),c.appendChild(s),p=(0,d.throttle)((function(e){return S(e,u,s)}),50),u.addEventListener("click",p),f=setTimeout((function(){return null}),0),c.addEventListener("mouseover",(function(e){clearTimeout(f),p(e)})),c.addEventListener("mouseout",(function(e){f=setTimeout((function(){return p(e)}),200)})),e.abrupt("return",c);case 27:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e){var t=document.createElement("li");return(0,d.addStyleClassToElement)(t,["header-user-menu__list-item"]),t.appendChild(e),t}function _(e,t){var n=null;try{if(!(n=l.findImage(t)))return c.emptyProfile}catch(e){return c.emptyProfile}var r=document.createElement("div");return(0,d.addStyleClassToElement)(r,["header-user-menu__photo"]),r.style.backgroundImage="url(".concat(n,")"),r}function S(e,t,n){var r="true"===t.getAttribute("aria-expanded"),i="mouseover"===e.type,a="mouseout"===e.type;r&&i||!r&&a||(t.setAttribute("aria-expanded",(!r).toString()),n.setAttribute("aria-hidden",r.toString()))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyProfile=void 0;t.emptyProfile='\n<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M13 25C19.6274 25 25 19.6274 25 13C25 6.37258 19.6274 1 13 1C6.37258 1 1 6.37258 1 13C1 19.6274 6.37258 25 13 25Z" fill="#D8D8D8" stroke="#8B8B8B"/>\n <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="26" height="26">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M13 25C19.6274 25 25 19.6274 25 13C25 6.37258 19.6274 1 13 1C6.37258 1 1 6.37258 1 13C1 19.6274 6.37258 25 13 25Z" fill="white" stroke="white"/>\n </mask>\n <g mask="url(#mask0)">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M17.0468 10.4586C17.0468 14.4979 15.4281 16.9214 12.9999 16.9214C10.5718 16.9214 8.95298 14.4979 8.95298 10.4586C8.95298 6.41931 12.9999 6.41931 12.9999 6.41931C12.9999 6.41931 17.0468 6.41931 17.0468 10.4586ZM4.09668 23.3842C6.52483 17.7293 12.9999 17.7293 12.9999 17.7293C12.9999 17.7293 19.475 17.7293 21.9031 23.3842C21.9031 23.3842 17.8481 25 12.9999 25C8.15169 25 4.09668 23.3842 4.09668 23.3842Z" fill="#8B8B8B"/>\n </g>\n</svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleMap=void 0;t.styleMap={"header-user-menu":{},"header-user-menu__link":{background:"none",border:"0",color:"black",cursor:"pointer",display:"block",fontFamily:"Arial",fontSize:"1em",textAlign:"left",padding:"1em",width:"100%","&:focus, &:hover":{backgroundColor:"linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)"},a:{textDecoration:"none"}},"header-user-menu__trigger":{background:"none",border:"0",cursor:"pointer",width:"60px",height:"60px",img:{borderRadius:"50%",height:"56px",width:"56px"}},"header-user-menu__button":{background:"none",border:"0",color:"black",cursor:"pointer",display:"block",fontFamily:"Arial",fontSize:"1em",textAlign:"left",padding:"1em",width:"100%","&:focus, &:hover":{backgroundColor:"linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)"}},"header-user-menu__list":{listStyle:"none",margin:"0",padding:"0"},"header-user-menu__navigation-menu":{background:"white",border:"solid 1px #000000",borderRight:"0",position:"absolute",right:"0",top:"60px",width:"200px","z-index":"1","&[aria-hidden = true]":{display:"none"}},"header-user-menu__list-item":{borderBottom:"solid 1px #000000","&:last-child":{border:"0"}},"header-user-menu__photo":{borderRadius:"50%",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:"50px",width:"50px"},"header-banner":{boxShadow:"0px 1px 4px #000000",display:"flex",justifyContent:"space-between",padding:"0 1.5em",marginBottom:"4px"},"header-banner__link":{display:"block"},"header-banner__right-menu":{display:"flex"},"header-banner__login":{marginLeft:"auto",input:{margin:"0.75em 0 0.75em 0.5em !important",padding:"0.5em !important"}},"header-banner__user-menu":{borderLeft:"solid 1px #000000",marginLeft:"auto"},"header-banner__help-menu":{borderLeft:"solid 1px #000000",marginLeft:"auto"},"header-banner__icon":{backgroundSize:"65px 60px",height:"60px !important",width:"65px !important"},"header-banner__help-icon":{width:"28px !important"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleMap=void 0;t.styleMap={footer:{borderTop:"solid 1px $divider-color",fontSize:"0.9em",padding:"0.5em 1.5em"}}},function(e,t,n){"use strict";var r=n(14);Object.defineProperty(t,"__esModule",{value:!0}),t.createControllerInfoBlock=c,t.initFooter=function(e,t){return u.apply(this,arguments)},t.rebuildFooter=l;var i=r(n(25)),a=r(n(26)),o=n(74),s=n(157);function u(){return(u=(0,a.default)(i.default.mark((function e(t,n){var r,a,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=document.getElementById("PageFooter")){e.next=3;break}return e.abrupt("return");case 3:return a=(0,s.getPod)(),e.next=6,(0,s.getPodOwner)(a,t);case 6:u=e.sent,l(r,t,a,u,n)(),o.authSession.onLogin(l(r,t,a,u,n)),o.authSession.onLogout(l(r,t,a,u,n));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e,t,n,r,s){return(0,a.default)(i.default.mark((function a(){var u;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return u=(0,o.currentUser)(),e.innerHTML="",i.t0=e,i.next=5,c(t,u,n,r,s);case 5:i.t1=i.sent,i.t0.appendChild.call(i.t0,i.t1);case 7:case"end":return i.stop()}}),a)})))}function c(e,t,n,r,i){var a=document.createElement("div");if(!n||!r||t&&t.equals(r))return a;(0,s.addStyleClassToElement)(a,["footer-pod-info","footer"],"footer");var o=document.createElement("span");o.innerText="You're visiting ";var u=document.createElement("a");u.href=n.uri,u.innerText="the Pod";var l=document.createElement("span");l.innerText=" controlled by ";var c=document.createElement("a");c.href=r.uri,c.innerText=(0,s.getName)(e,r);var d=document.createElement("span");d.innerText=". For more info, check out ";var p=document.createElement("a");p.href=i&&i.solidProjectUrl?i.solidProjectUrl:"https://solidproject.org",p.innerText=i&&i.solidProjectName?i.solidProjectName:"solidproject.org";var f=document.createElement("span");return f.innerText=".",a.appendChild(o),a.appendChild(u),a.appendChild(l),a.appendChild(c),a.appendChild(d),a.appendChild(p),a.appendChild(f),a}},function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){var n=t.dom;this.document=t.dom,this.outlineIcons=u.default,this.labeller=this.labeller||{},this.labeller.LanguagePreference="";var r=this,p=this,f=[];this.selection=f,this.ancestor=i.utils.ancestor,this.sparql=i.rdf.UpdateManager,this.kb=i.store;var h=i.store,g=i.store.fetcher;n.outline=this,this.qs=new c.default.QuerySource,this.UserInput=new l.default(this),this.clipboardAddress="tabulator:clipboard",this.UserInput.clipboardInit(this.clipboardAddress);var v=this.outlineElement;function b(){return w.apply(this,arguments)}function w(){return(w=y(regeneratorRuntime.mark((function e(){var t,r,o,s,u,l,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=function(e,t){var r=a.byName(t.paneName);e.innerHTML="";var o=e.appendChild(n.createElement("table")),s=i.authn.currentUser();p.GotoSubject(t.subject||s,!0,r,!1,void 0,o)},u=function(e,t){e.dataset.globalPaneName=t.tabName||t.paneName,e.textContent=t.label},t=c.length>0&&void 0!==c[0]?c[0]:{},console.log("globalAppTabs @@"),r=n.createElement("div"),o=i.authn.currentUser()){e.next=9;break}throw alert("Must be logged in for this"),new Error("Not logged in");case 9:return e.next=11,x();case 11:return s=e.sent,r.appendChild(i.tabs.tabWidget({dom:n,subject:o,items:s,renderMain:l,renderTab:u,ordered:!0,orientation:0,backgroundColor:"#eeeeee",selectedTab:t.selectedTab,onClose:t.onClose})),e.abrupt("return",r);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(){return k.apply(this,arguments)}function k(){return(k=y(regeneratorRuntime.mark((function e(){var t,r,a,o,s,u,l,c,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p=function(){return(p=y(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.authn.findAppInstances({me:t,div:r,dom:n},ee.vcard("AddressBook"));case 3:return a=e.sent,e.abrupt("return",(a.instances||[]).map((function(e,t){return{paneName:"contact",tabName:"contact-".concat(t),label:"Contacts",subject:e,icon:i.icons.iconBase+"noun_15695.svg"}})));case 7:e.prev=7,e.t0=e.catch(0),console.error("oops in globalAppTabs AddressBook");case 10:return e.abrupt("return",[]);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)},d=function(){return p.apply(this,arguments)},c=function(){return(c=y(regeneratorRuntime.mark((function e(){var n,r,a,o,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(){return(o=y(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=new URL(t),s.some((function(e){return e.uri.includes(r.origin)}))){e.next=10;break}if(e.t0="/"===r.pathname,e.t0){e.next=7;break}return e.next=6,n(h.sym("".concat(r.origin,"/").concat(r.pathname.split("/")[1],"/")));case 6:e.t0=!e.sent;case 7:if(!e.t0){e.next=10;break}return e.next=10,n(h.sym("".concat(r.origin,"/")));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)},a=function(e){return o.apply(this,arguments)},r=function(){return(r=y(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(t);case 2:if(!h.holds(t,ee.rdf("type"),ee.space("Storage"),t.doc())){e.next=5;break}return s.push(t),e.abrupt("return",!0);case 5:return e.abrupt("return",!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)},n=function(e){return r.apply(this,arguments)},e.prev=4,e.next=7,h.fetcher.load(t.doc());case 7:e.next=13;break;case 9:return e.prev=9,e.t0=e.catch(4),console.error("Unable to load profile",e.t0),e.abrupt("return",[]);case 13:return s=h.each(t,ee.space("storage"),null,t.doc()),e.prev=14,u=new URL(window.location.href).searchParams.get("uri"),l=u||window.location.href,e.next=19,a(l.substring(0,l.lastIndexOf("/")+1));case 19:e.next=24;break;case 21:e.prev=21,e.t1=e.catch(14),console.error("cannot load container",e.t1);case 24:if(s.length){e.next=26;break}return e.abrupt("return",[]);case 26:return e.abrupt("return",s.map((function(e,n){function r(e){return e.uri.split("//")[1].slice(0,-1)}var a=r(t).startsWith(r(e))?"Your storage":r(e);return{paneName:"folder",tabName:"folder-".concat(n),label:a,subject:e,icon:i.icons.iconBase+"noun_Cabinet_251723.svg"}})));case 27:case"end":return e.stop()}}),e,null,[[4,9],[14,21]])})))).apply(this,arguments)},l=function(){return c.apply(this,arguments)},t=i.authn.currentUser()){e.next=7;break}return e.abrupt("return",[]);case 7:return r=n.createElement("div"),e.next=10,Promise.all([d(),l()]);case 10:return a=e.sent,o=m(a,2),s=o[0],u=o[1],e.abrupt("return",[{paneName:"home",label:"Your stuff",icon:i.icons.iconBase+"noun_547570.svg"},{paneName:"basicPreferences",label:"Preferences",icon:i.icons.iconBase+"noun_Sliders_341315_00000.svg"},{paneName:"editProfile",label:"Edit your profile",icon:i.icons.iconBase+"noun_492246.svg"}].concat(s).concat(u));case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(){return(E=y(regeneratorRuntime.mark((function e(){var t,n,r,a,o,s,u,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=function(){n.style.display="none",r.style.display="inherit"},t=l.length>0&&void 0!==l[0]?l[0]:{},n=C(),r=_(),!(n.childNodes.length>0&&t.pane)){e.next=12;break}if(r.style.display="none",n.style.display="inherit",!(a=n.querySelector('[data-global-pane-name="'.concat(t.pane,'"]')))){e.next=11;break}return a.click(),e.abrupt("return");case 11:console.warn("Did not find the referred tab in global dashboard, will open first one");case 12:return e.next=14,b({selectedTab:t.pane,onClose:u});case 14:o=e.sent,i.authn.authSession.onLogout(u),r.style.display="none",n.appendChild(o),(s=n.querySelector('[data-global-pane-name="'.concat(t.pane,'"]')))&&s.click();case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(){return S("GlobalDashboard")}function _(){return S("outline")}function S(e){return document.getElementById(e)||((t=document.createElement("div")).id=e,(document.querySelector('[role="main"]')||document.body).appendChild(t));var t}function A(e){return T.apply(this,arguments)}function T(){return(T=y(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(h.any(t,ee.ldp("contains"),void 0,t.doc())){e.next=6;break}return e.next=3,h.fetcher.webOperation("GET",t.uri,h.fetcher.initFetchOptions(t.uri,{headers:{accept:"text/turtle"}}));case 3:n=e.sent,r=n.responseText,o.parse(r,h,t.uri,"text/turtle");case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e,t){return D.apply(this,arguments)}function D(){return(D=y(regeneratorRuntime.mark((function e(t,n){var r,a,o,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.uri.endsWith("/")){e.next=3;break}return e.next=3,A(t);case 3:if(r=n.session.paneRegistry,0!==(a=r.list.filter((function(e){return e.label(t,n)&&!e.global}))).length){e.next=7;break}return e.abrupt("return",[r.byName("internal")]);case 7:return e.next=9,i.authn.filterAvailablePanes(a);case 9:if(0!==(o=e.sent).length){e.next=12;break}return e.abrupt("return",[a[0]]);case 12:return s=r.list.indexOf(a[0]),u=r.list.indexOf(o[0]),e.abrupt("return",s<u?[a[0]].concat(o):o);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e,t){return e.find((function(e){return e.shouldGetFocus&&e.shouldGetFocus(t)}))||e[0]}function I(){return(I=y(regeneratorRuntime.mark((function e(r,a,o){var s,u,l,c,d,p,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=function(){return(u=y(regeneratorRuntime.mark((function e(o){var s,u,c,d,p,f,h=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=h.length>1&&void 0!==h[1]?h[1]:{},u="width: 24px; border-radius: 0.5em; border-top: solid #222 1px; border-left: solid #222 0.1em; border-bottom: solid #eee 0.1em; border-right: solid #eee 0.1em; margin-left: 1em; padding: 3px; background-color: #ffd;",c="width: 24px; border-radius: 0.5em; margin-left: 1em; padding: 3px",(d=o.appendChild(n.createElement("nav"))).style="display:flex; justify-content: flex-start; align-items: center;",!s.hideList){e.next=9;break}e.t0=[],e.next=12;break;case 9:return e.next=11,P(r,t);case 11:e.t0=e.sent;case 12:return p=e.t0,l.firstPane=a||O(p,r),f=p.indexOf(l.firstPane),1!==p.length&&p.forEach((function(e,a){var p=e.label(r,t),h=i.utils.AJARImage(e.icon,p,p,n);h.style=e===l.firstPane?u:c;!function(e,a){e.addEventListener("click",(function(l){var d;for(d=o;d.parentNode&&"TABLE"!==d.nodeName;d=d.parentNode);if("TABLE"!==d.nodeName)throw new Error("outline: internal error.");var p=function(e){for(var t=d.firstChild;t;t=t.nextSibling)void 0!==t.pane&&(e&&t.pane!==e||(t.paneButton&&(t.paneButton.setAttribute("class","paneHidden"),t.paneButton.style=c),F(t),t.pane.requireQueryButton&&d.parentNode.className&&1===f&&n.getElementById("queryButton")&&n.getElementById("queryButton").setAttribute("style","display:none;")))};"paneHidden"===e.getAttribute("class")?(l.shiftKey||p(),function(a){var o;if(i.log.info("outline: Rendering pane (2): "+a.name),i.no_catch_pane_errors)o=a.render(r,t,s);else try{o=a.render(r,t,s)}catch(e){(o=n.createElement("div")).setAttribute("class","exceptionPane");var u=n.createElement("pre");o.appendChild(u),u.appendChild(n.createTextNode(i.utils.stackString(e)))}a.requireQueryButton&&n.getElementById("queryButton")&&n.getElementById("queryButton").removeAttribute("style");var l=d.firstChild.nextSibling,c=n.createElement("tr");c.appendChild(n.createElement("td")).appendChild(o),l?d.insertBefore(c,l):d.appendChild(c),c.pane=a,c.paneButton=e}(a),e.setAttribute("class","paneShown"),e.style=u):(p(a),e.setAttribute("class","paneHidden"),e.style=c);for(var f=0,h=d.firstChild;h;h=h.nextSibling)h.pane&&h.pane.requireQueryButton&&f++}),!1)}(h,e),h.setAttribute("class",a!==f?"paneHidden":"paneShown"),a===f&&(l.paneButton=h),d.appendChild(h)})),e.abrupt("return",d);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)},s=function(e){return u.apply(this,arguments)},l=n.createElement("tr"),o.hover&&l.setAttribute("class","hoverControl"),(c=l.appendChild(n.createElement("td"))).setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;display:flex; justify-content: space-between; flex-direction: row;"),c.setAttribute("notSelectable","true"),c.setAttribute("about",r.toNT()),c.setAttribute("colspan","2"),(d=c.appendChild(n.createElement("div"))).style="display:flex; justify-content: flex-start; align-items: center; flex-wrap: wrap;",p=!!a,o.solo||p||(d.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-collapse.png","collapse",void 0,n)).addEventListener("click",W),(f=d.appendChild(n.createElement("h1"))).appendChild(n.createTextNode(i.utils.label(r))),f.style="font-size: 150%; margin: 0 0.6em 0 0; padding: 0.1em 0.4em;",i.widgets.makeDraggable(f,r)),e.t0=d,e.next=16,s(c,{hideList:p});case 16:return e.t1=e.sent,e.t0.appendChild.call(e.t0,e.t1),l.firstChild.tabulatorSelect=function(){H(this,!0)},l.firstChild.tabulatorDeselect=function(){H(this,!1)},e.abrupt("return",l);case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){var t=e.parentNode,r=t.parentNode,i=n.createElement("table");i.setAttribute("style","width: 100%;"),r.replaceChild(i,t),t.removeChild(e),r.replaceChild(t,i)}this.init=function(){_().outline=this},this.appendAccessIcons=function(e,t,n){if("NamedNode"===n.termType){var r=e.uris(n);r.sort();for(var i=null,a=0;a<r.length;a++)r[a]!==i&&(i=r[a],p.appendAccessIcon(t,i))}},this.appendAccessIcon=function(e,t){if(!t)return"";var a=i.rdf.uri.docpart(t);if("http:"!==a.slice(0,5))return"";var o,s,l,c=g.getState(a);switch(c){case"unrequested":o=u.default.src.icon_unrequested,s="fetch",l=$;break;case"requested":o=u.default.src.icon_requested,s="fetching",l=V;break;case"fetched":o=u.default.src.icon_fetched,l=K,s="loaded";break;case"failed":o=u.default.src.icon_failed,s="failed",l=V;break;case"unpermitted":o=u.default.src.icon_failed,l=V,s="no perm";break;case"unfetchable":o=u.default.src.icon_failed,l=V,s="cannot fetch";break;default:i.log.error("?? state = "+c)}var d=i.utils.AJARImage(o,s,u.default.tooltips[o].replace(/[Tt]his resource/,a),n);return d.setAttribute("uri",t),d.addEventListener("click",l),function(e,t){i.log.debug("Button callbacks for "+t+" added");var n=function(n){return function(i){return i.indexOf("#")>=0&&console.log("@@ makeIconCallback: Not expecting # in URI whose state changed: "+i),!!e&&(!!r.ancestor(e,"DIV")&&(i===t&&(e.src=n,e.title=u.default.tooltips[n]),!0))}};g.addCallback("request",n(u.default.src.icon_requested)),g.addCallback("done",n(u.default.src.icon_fetched)),g.addCallback("fail",n(u.default.src.icon_failed))}(d,a),e.appendChild(d),d},this.outlineObjectTD=function(e,t,r,a){var o=n.createElement("td");o.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),o.setAttribute("notSelectable","false");var s,l,c,d,p="obj";if(a&&a.why&&i.licenceOptions&&i.licenceOptions.checkLicence()&&(p+=" licOkay"),("NamedNode"===e.termType||"BlankNode"===e.termType||"Literal"===e.termType&&e.value.slice&&("ftp://"===e.value.slice(0,6)||"https://"===e.value.slice(0,8)||"http://"===e.value.slice(0,7)))&&(o.setAttribute("about",e.toNT()),o.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-expand-trans.png","expand",void 0,n)).addEventListener("click",z)),o.setAttribute("class",p),h.whether(e,i.ns.rdf("type"),i.ns.link("Request"))&&(o.className="undetermined"),t||(t=ne),o.appendChild(t(e)),r&&(s=o,l=e,c=r,(d=i.utils.AJARImage(u.default.src.icon_remove_node,"remove",void 0,n)).addEventListener("click",G),d.node=c,d.setAttribute("about",l.toNT()),d.style.marginLeft="5px",d.style.marginRight="10px",s.appendChild(d)),o.tabulatorSelect=function(){H(this,!0)},o.tabulatorDeselect=function(){H(this,!1)},a){var f=new i.rdf.IndexedFormula;f.statements.push(a);var m=h.each(f,h.sym("http://dig.csail.mit.edu/TAMI/2007/amord/tms#justification"));if(m.length){var g=n.createElement("span");m.length>1&&(g.innerHTML=" &times; "+m.length),g.setAttribute("class","inquiry"),g.insertBefore(i.utils.AJARImage(u.default.src.icon_display_reasons,"explain",void 0,n),g.firstChild),o.appendChild(g)}}return o.addEventListener("click",J),o},this.outlinePredicateTD=function(e,t,r,a){var o,s=n.createElement("TD");switch(s.setAttribute("about",e.toNT()),s.setAttribute("class",a?"pred internal":"pred"),e.termType){case"BlankNode":s.className="undetermined";break;case"NamedNode":o=i.utils.predicateLabelForXML(e,r);break;case"Collection":o=i.utils.predicateLabelForXML(e.elements[0],r)}o=o.slice(0,1).toUpperCase()+o.slice(1);var l=n.createElement("TD");for(var c in l.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),l.setAttribute("notSelectable","true"),l.appendChild(n.createTextNode(o)),s.appendChild(l),l.style.width="100%",s.appendChild(j.construct(n)),u.default.termWidgets){if(!t||!t.AJAR_statement)break;u.default.termWidgets[c].filter&&u.default.termWidgets[c].filter(t.AJAR_statement,"pred",r)&&j.addIcon(s,u.default.termWidgets[c])}return s.tabulatorSelect=function(){H(this,!0)},s.tabulatorDeselect=function(){H(this,!1)},s.addEventListener("click",J),s},this.getDashboard=b,this.getDashboardItems=x,this.showDashboard=function(){return E.apply(this,arguments)};var N=this.propertyTable=function(e,r,a,o){return i.log.debug("Property table for: "+e),e=h.canon(e),r?(i.log.info("Re-expand: "+r),r):((r=n.createElement("table")).setAttribute("style","width: 100%;"),function(e,t,n){return I.apply(this,arguments)}(e,a,o).then((function(a){if(r.appendChild(a),a.firstPane){var s;try{i.log.info("outline: Rendering pane (1): "+a.firstPane.name),s=a.firstPane.render(e,t,o)}catch(e){(s=n.createElement("div")).setAttribute("class","exceptionPane");var u=n.createElement("pre");s.appendChild(u),u.appendChild(n.createTextNode(i.utils.stackString(e)))}var l=n.createElement("tr");l.appendChild(n.createElement("td")).appendChild(s),a.firstPane.requireQueryButton&&n.getElementById("queryButton")&&n.getElementById("queryButton").removeAttribute("style"),r.appendChild(l),l.pane=a.firstPane,l.paneButton=a.paneButton}})),r)};function R(e,t,n){var r=e.createElement("TR");r.AJAR_statement=t,r.AJAR_inverse=n,r.setAttribute("predTR","true");var i=p.outlinePredicateTD(t.predicate,r,n);return r.appendChild(i),r}this.propertyTR=R,this.appendPropertyTRs=function(e,t,a,o){if(i.log.debug("Property list length = "+t.length),0===t.length)return"";var s,u,l;a?(s=function(e){return e.subject},t=t.sort(i.utils.RDFComparePredicateSubject)):(s=function(e){return e.object},t=t.sort(i.utils.RDFComparePredicateObject));var c=t.length,d=function(){var d=t[u];if(o&&!o(d.predicate,a))return"continue";var f=R(n,d,a);e.appendChild(f);var m=f.firstChild,g=te.defaults[d.predicate.uri],v=0,y=0,b=0;for(l=0;l+u<c&&t[u+l].predicate.sameTerm(d.predicate);l++)l>0&&s(t[u+l]).sameTerm(s(t[u+l-1]))&&v++,s(t[u+l]).lang&&r.labeller.LanguagePreference&&(y+=1,s(t[u+l]).lang.indexOf(r.labeller.LanguagePreference)>=0&&b++);if(b>0&&y===v+1){for(var w=u;w<=u+v;w++)if(r.labeller.LanguagePreference&&s(t[w]).lang.indexOf(r.labeller.LanguagePreference)>=0){f.appendChild(p.outlineObjectTD(s(t[w]),g,void 0,d));break}return u+=v,"continue"}f.appendChild(p.outlineObjectTD(s(d),g,void 0,d)),f.showNobj=function(r){var o=l-v,c=2*r<o?r:o,f=[];if(1!==o){var y;m.setAttribute("rowspan",c===o?o:r+1),c<o&&1===c&&m.setAttribute("rowspan",2);var b=0;for(y=1;y<l;y++)if(h.canon(s(t[u+y])).sameTerm(h.canon(s(t[u+y-1]))))i.log.info("there are duplicates here: %s",t[u+y-1]);else{b++,d=t[u+y],g=te.defaults[d.predicate.uri];var w=n.createElement("tr");w.style.colspan="1",w.appendChild(p.outlineObjectTD(s(t[u+y]),g,void 0,d)),w.AJAR_statement=d,w.AJAR_inverse=a,e.appendChild(w),b>=c&&(w.style.display="none",f.push(w))}c===o&&m.setAttribute("rowspan",b+1)}if(c<o){var x=n.createElement("tr"),k=x.appendChild(n.createElement("td"));if(k.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),k.setAttribute("notSelectable","false"),o>r){var E=n.createElement("a");k.appendChild(E);var C=function(e,t,r,a){return function(t){E.innerHTML="","none"===t?(E.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-more-trans.png","more","See all",n)),E.appendChild(n.createTextNode(o-a+" more...")),e.setAttribute("rowspan",a+1)):(E.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-shrink.png","(less)",void 0,n)),e.setAttribute("rowspan",o+1));for(var r=0;r<f.length;r++)f[r].style.display=t}}(m,0,0,r),_="none",S=function(e){return C(_),_="none"===_?"":"none",e&&e.stopPropagation(),!1};S(),E.addEventListener("click",S,!1)}e.appendChild(x)}},f.showAllobj=function(){f.showNobj(l-v)},f.showNobj(10),u+=l-1};for(u=0;u<c;u++)d()};var j={};function L(e){var t=e.getAttribute("class");return!!(t&&t.indexOf("selected")>=0)}function M(e){var t=p.targetOf(e).parentNode;j.replaceIcon(t.parentNode,u.default.termWidgets.optOn,u.default.termWidgets.optOff,U),t.parentNode.parentNode.removeAttribute("optional")}function U(e){var t=p.targetOf(e).parentNode;j.replaceIcon(t.parentNode,u.default.termWidgets.optOff,u.default.termWidgets.optOn,M),t.parentNode.parentNode.setAttribute("optional","true")}function B(e,t){for(var n=u.default.termWidgets.optOn,r=u.default.termWidgets.optOff,i=e;i.parentNode;i=i.parentNode)for(;;){if(i.getAttribute("predTR")){var a=i.getAttribute("parentOfSelected");0===(a=a?parseInt(a):0)&&t>0&&j.addIcon(i.childNodes[0],i.getAttribute("optional")?n:r,i.getAttribute("optional")?M:U),a+=t,i.setAttribute("parentOfSelected",a),0===a&&(i.removeAttribute("parentOfSelected"),j.removeIcon(i.childNodes[0],i.getAttribute("optional")?n:r));break}if(!i.previousSibling||"TR"!==i.previousSibling.nodeName)break;i=i.previousSibling}}function H(e,t){if("TD"!==e.nodeName)throw i.log.debug("down"+e.nodeName),new Error("Expected TD in setSelected: "+e.nodeName+" : "+e.textContent);i.log.debug("pass");var n=e.getAttribute("class");if(n||(n=""),t){((n+=" selected").indexOf("pred")>=0||n.indexOf("obj")>=0)&&B(e,1),f.push(e);var r=i.utils.getTerm(e);p.showURI(r);var a=e.AJAR_statement;if(void 0===a&&(a=e.parentNode.AJAR_statement),a){var o=a.why,s=i.store.updater.editable(o.uri,h);s&&n.indexOf("pred")>=0&&j.addIcon(e,u.default.termWidgets.addTri)}}else i.log.debug("cla=$"+n+"$"),"selected"===n&&(n=""),((n=n.replace(" selected","")).indexOf("pred")>=0||n.indexOf("obj")>=0)&&B(e,-1),n.indexOf("pred")>=0&&j.removeIcon(e,u.default.termWidgets.addTri),f=f.filter((function(t){return t===e})),i.log.info("Deselecting "+e.textContent);"undefined"!=typeof sourceWidget&&p.showSource(),e.setAttribute("class",n)}function q(){for(var e=f.length-1;e>=0;e--)H(f[e],!1);f=[]}function z(e){var t=p.targetOf(e),n=t.parentNode,r=i.utils.getAbout(h,t);e.altKey&&a.byName("internal");e.shiftKey?Z(n,r):e.altKey?Y(n,r,{pane:a.byName("internal"),immediate:!0}):Y(n,r)}function W(e){var t=p.targetOf(e),n=i.utils.getAbout(h,t);e.altKey&&a.byName("internal");X(t.parentNode.parentNode,n)}function V(e){var t=p.targetOf(e).getAttribute("uri");e.altKey?g.fetch(i.rdf.uri.docpart(t),{force:!0}):g.refresh(h.sym(i.rdf.uri.docpart(t)))}function K(e){var t=p.targetOf(e).getAttribute("uri");e.altKey?g.fetch(i.rdf.uri.docpart(t),{force:!0}):g.refresh(h.sym(i.rdf.uri.docpart(t)))}function $(e){var t=p.targetOf(e).getAttribute("uri");g.fetch(i.rdf.uri.docpart(t))}function G(e){var t=p.targetOf(e),n=t.node;n.childNodes.length>1&&(n=t.parentNode),F(n)}function J(e){if(p.UserInput._tabulatorMode)return p.UserInput.Click(e);var t,n=p.targetOf(e);for(t=i.utils.ancestor(n,"TD");t&&"false"!==t.getAttribute("notSelectable");t=i.utils.ancestor(t.parentNode,"TD"));if(t){var r=L(t);if(i.log.debug("Was node selected before: "+r),e.altKey)H(t,!L(t));else if(e.shiftKey)H(t,!0);else{if(q(),p.UserInput.clearInputAndSave(e),H(t,!0),2===e.detail)return void e.stopPropagation();var a=t.parentNode.AJAR_statement;if(!a)return;var o=a.why,s=i.store.updater.editable(o.uri,h);r&&s&&p.UserInput.Click(e,f[0])}i.log.debug("Was node selected after: "+L(t)+", count="+f.length),e.stopPropagation()}}function Q(e){n.title=i.utils.label(e),n.location.href.startsWith(e.site().uri)}function Y(e,t,r){var a=(r=r||{}).pane,u=!!r.already,l=r.immediate;i.log.info("@outlineExpand, dom is now "+n.location),g.removeCallback("done","expand"),g.removeCallback("fail","expand");var c=h.canon(t);function d(){if(c=h.canon(c),!e||!e.parentNode||!e.parentNode.parentNode)return!1;var t;if(i.log.info("@@ REPAINTING "),u){for(i.log.info(" ... p is "+e),t=e.firstChild;t.nextSibling&&(i.log.info(" ... checking node "+t),"table"!==t.nodeName);t=t.nextSibling);t=N(c,t,a,r)}else t=N(c,void 0,a,r);u=!0,i.utils.ancestor(e,"TABLE")&&"white"===i.utils.ancestor(e,"TABLE").style.backgroundColor?t.style.backgroundColor="#eee":t.style.backgroundColor="white";try{s.default.util.Event.off&&s.default.util.Event.off(e,"mousedown","dragMouseDown")}catch(e){console.log("YAHOO "+e)}i.utils.emptyNode(e).appendChild(t),p.focusTd=e,i.log.debug("expand: Node for "+c+" expanded");for(var n=h.each(c,i.ns.rdfs("seeAlso")),o=0;o<n.length;o++)25===o&&i.log.warn("expand: Warning: many ("+n.length+") seeAlso links for "+c),g.lookUpThing(n[o],c)}function f(e){if(arguments[3])return!0;var t=h.canon(c);i.log.info("@@ expand: relevant subject="+t+", uri="+e+", already="+u);var n=h.sym(i.rdf.uri.docpart(e));if(e.indexOf("#")>=0)throw new Error("Internal error: hash in "+e);var r=function(){if(!t.uri)return!0;var r=h.uris(t);if(!r)return!1;for(var a=0;a<r.length;a++)for(var o=i.rdf.uri.docpart(r[a]);o;o=h.HTTPRedirects[o])if(e===o)return!0;return!!h.anyStatementMatching(t,void 0,void 0,n)};return!r()||(i.log.success("@@ expand OK: relevant subject="+t+", uri="+e+", source="+u),d(),!1)}r.solo&&Q(c),i.log.debug("outlineExpand: dereferencing "+c);var m=n.createElement("span");e.appendChild(m),g.addCallback("done",f),g.addCallback("fail",f);var y=[];if(c.uri&&"rdf"===c.uri.split(":")[0])d();else{for(var b=0;b<y.length;b++){if(void 0===y[b](c))return d(),i.log.debug("outline 1815"),void((void 0)[1]&&v.removeChild(v.lastChild))}!c.uri||l||i.widgets.isAudio(c)||i.widgets.isVideo(c)||h.holds(c,i.ns.rdf("type"),o.Util.mediaTypeClass("application/pdf"))?d():g.nowOrWhenFetched(c.doc(),void 0,(function(t,i){if(t)g.lookUpThing(c),d(),r.solo&&Q(c);else{var a=n.createElement("pre");a.textContent=i,a.setAttribute("style","background-color: #fee;"),a.textContent="Outline.expand: Unable to fetch "+c.doc()+": "+i,e.appendChild(a)}}))}}function X(e,t){var n,r,a,o,s=i.utils.ancestor(e,"TR");for((s=i.utils.ancestor(s.parentNode,"TR"))&&(n=s.AJAR_statement),r=e.parentNode;"TD"!==r.tagName;r=r.parentNode)if(void 0===r)return void alert("Not enclosed in TD!");i.log.debug("Collapsing subject "+t),n&&(i.log.debug("looking up pred "+n.predicate.uri+"in defaults"),a=te.defaults[n.predicate.uri]),i.log.debug("view= "+a),"outline"===r.parentNode.parentNode.id&&(o=r.parentNode),p.replaceTD(p.outlineObjectTD(t,a,o,n),r)}function Z(e,t){for(var n=null,r=e.parentNode;r;r=r.parentNode)i.log.debug("level "+r.tagName),"TD"===r.tagName&&(n=r);i.utils.emptyNode(n).appendChild(N(t)),Q(t),n.setAttribute("about",t.toNT())}e.termWidget=j,j.construct=function(e){var t=(e=e||document).createElement("TD");return t.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),t.setAttribute("class","iconTD"),t.setAttribute("notSelectable","true"),t.style.width="0px",t},j.addIcon=function(e,t,r){var a=e.childNodes[1];if(a){var o=a.style.width,s=i.utils.AJARImage(t.src,t.alt,t.tooltip,n);o=parseInt(o),o+=t.width,a.style.width=o+"px",a.appendChild(s),r&&s.addEventListener("click",r)}},j.removeIcon=function(e,t){var r,a=e.childNodes[1];if(a){var o=a.style.width;o=parseInt(o),o-=t.width,a.style.width=o+"px";for(var s=0;s<a.childNodes.length;s++){var u=a.childNodes[s],l=u.src;try{r=n.location.href.split("?")[0]}catch(e){console.log(e),r=""}l===i.rdf.uri.join(t.src,r)&&a.removeChild(u)}}},j.replaceIcon=function(e,t,n,r){j.removeIcon(e,t),j.addIcon(e,n,r)},new function(){this.pat=h.formula(),this.vars=[]},this.statusBarClick=function(e){var t=i.utils.getTarget(e);t.label&&(window.content.location=t.label)},this.showURI=function(e){e&&n.getElementById("UserURI")&&(n.getElementById("UserURI").value="NamedNode"===e.termType?e.uri:"")},this.showSource=function(){if("undefined"!=typeof sourceWidget){for(var e in sourceWidget.sources)sourceWidget.sources[e].setAttribute("class","");for(var t=0;t<f.length;t++)if(f[t].parentNode){var n=f[t].parentNode.AJAR_statement;if(n){var r=n.why;r&&r.uri&&sourceWidget.highlight(r,!0)}}else console.log("showSource: EH? no parentNode? "+f[t]+"\n")}},this.getSelection=function(){return f},this.targetOf=function(e){var t;if(e||(e=window.event),e.target)t=e.target;else{if(!e.srcElement)return i.log.error("can't get target for event "+e),!1;t=e.srcElement}return 3===t.nodeType&&(t=t.parentNode),t},this.walk=function(e,t){var r,a=t||f[0];switch(e){case"down":try{r=a.parentNode.nextSibling.lastChild}catch(e){return void this.walk("up")}q(),H(r,!0);break;case"up":try{r=a.parentNode.previousSibling.lastChild}catch(e){return}q(),H(r,!0);break;case"right":if(q(),a.nextSibling||"strong"===a.lastChild.tagName)H(a.nextSibling,!0);else H(n.evaluate("table/div/tr/td[2]",a,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,!0);break;case"left":if(q(),a.previousSibling&&"undetermined"===a.previousSibling.className)return H(a.previousSibling,!0),!0;H(i.utils.ancestor(a.parentNode,"TD"),!0);break;case"moveTo":q(),H(t,!0)}"down"!==e&&"up"!==e||r.tabulatorSelect||this.walk(e)},this.OutlinerKeypressPanel=function(e){function t(e){e&&n.getElementById("UserURI")&&(n.getElementById("UserURI").value="NamedNode"===e.termType?e.uri:"")}function o(e){return arguments[3]||(d("right",l),t(i.utils.getAbout(h,f[0]))),!0}var s,u;if(i.log.info("Key "+e.keyCode+" pressed"),"TEXTAREA"!==i.utils.getTarget(e).tagName&&"UserURI"!==i.utils.getTarget(e).id&&!(f.length>1))if(0!==f.length){var l=f[0];switch(g.removeCallback("done","setSelectedAfterward"),g.removeCallback("fail","setSelectedAfterward"),e.keyCode){case 13:if("HTML"===i.utils.getTarget(e).tagName){var c=i.utils.getAbout(h,l);s=l.parentNode.AJAR_statement.why,u=i.store.updater.editable(s.uri,h),c?r.GotoSubject(c,!0):u&&p.UserInput.Enter(l)}else this.UserInput.Keypress(e),this.walk("down"),e.stopPropagation();return;case 38:this.walk("up"),e.stopPropagation(),e.preventDefault();break;case 40:this.walk("down"),e.stopPropagation(),e.preventDefault()}if("INPUT"!==i.utils.getTarget(e).tagName){var d;switch(e.keyCode){case 46:case 8:s=l.parentNode.AJAR_statement.why,(u=i.store.updater.editable(s.uri,h))&&(e.preventDefault(),this.UserInput.Delete(l));break;case 37:if(this.walk("left"))return;var m=i.utils.ancestor(l.parentNode,"TD");X(l,i.utils.getAbout(h,m));break;case 39:var v=i.utils.getAbout(h,l);if(v){if(d=this.walk,l.nextSibling)return void this.walk("right");"TABLE"!==l.firstChild.tagName&&(g.addCallback("done",o),g.addCallback("fail",o),Y(l,v,{pane:a.byName("defaultPane")})),o()}break;case 38:case 40:break;default:switch(e.charCode){case 99:if(e.ctrlKey){p.UserInput.copyToClipboard(p.clipboardAddress,l);break}break;case 118:case 112:if(e.ctrlKey){p.UserInput.pasteFromClipboard(p.clipboardAddress,l);break}break;default:i.utils.getTarget(e).tagName}}if(t(i.utils.getAbout(h,f[0])),f[0]){var y=i.utils.findPos(f[0])[1];y+f[0].clientHeight>window.scrollY+window.innerHeight&&i.utils.getEyeFocus(f[0],!0,!0,window),y<window.scrollY+54&&i.utils.getEyeFocus(f[0],!0,void 0,window)}}}else 13!==e.keyCode&&38!==e.keyCode&&40!==e.keyCode&&37!==e.keyCode&&39!==e.keyCode||(this.walk("right",p.focusTd),t(i.utils.getAbout(h,f[0])))},this.OutlinerMouseclickPanel=function(e){switch(p.UserInput._tabulatorMode){case 0:!function(e){i.log.info("@TabulatorMousedown, dom.location is now "+n.location);var t=p.targetOf(e);if(t){var r=t.tagName;"INPUT"!==r&&"TEXTAREA"!==r&&(p.UserInput.clearMenu(),p.UserInput.lastModified&&p.UserInput.lastModified.parentNode.nextSibling&&p.UserInput.backOut(),(!t.src||t.src.slice(t.src.indexOf("/icons/")+1)!==u.default.src.icon_show_choices&&t.src.slice(t.src.indexOf("/icons/")+1)!==u.default.src.icon_add_triple)&&p.UserInput.clearInputAndSave(e),t.src&&t.src.slice(t.src.indexOf("/icons/")+1)===u.default.src.icon_show_choices||p.UserInput.clearMenu(),e&&e.stopPropagation())}}(e);break;case 1:p.UserInput.Click(e)}},this.replaceTD=function(e,t){var n;L(t)&&(n=!0);for(var r=f.length-1;r>-1;r--)for(var i=f[r];i.parentNode;i=i.parentNode)i===t&&H(f[r],!1);t.parentNode.replaceChild(e,t),n&&H(e,!0)},r.outlineRefocus=Z,this.GotoFormURI_enterKey=function(e){13===e.keyCode&&r.GotoFormURI(e)},this.GotoFormURI=function(e){!function(e){var t=h.sym(e);this.GotoSubject(t,!0)}(n.getElementById("UserURI").value)},this.GotoURIinit=function(e){var t=h.sym(e);this.GotoSubject(t)},this.GotoSubject=function(e,t,r,a,o,s){s=s||n.getElementById("outline"),a&&(i.utils.emptyNode(s),s.style.width="100%");var u=function(){var t=n.createElement("TR");t.style.verticalAlign="top",s.appendChild(t);var r=p.outlineObjectTD(e,void 0,t);return t.appendChild(r),r}();if(a&&Q(e),t){Y(u,e,{pane:r,solo:a});var l=u.parentNode;i.utils.getEyeFocus(l,!1,void 0,window)}if(a&&n&&n.defaultView&&n.defaultView.history&&document.location.href!==e.uri){var c=r?{paneName:r.name}:{};try{n.defaultView.history.pushState(c,e.uri,e.uri)}catch(e){console.log(e)}}return e};var ee=i.ns,te=(0,d.default)(n);function ne(e){var r;if("Literal"===e.termType){(r=n.createElement("span")).textContent=e.value;var o="";if(e.datatype&&e.datatype.uri){var s=i.ns.xsd("").uri;e.datatype.uri.slice(0,s.length)===s&&(o={integer:"text-align: right;",decimal:"text-align: '.';",double:"text-align: '.';"}[e.datatype.uri.slice(s.length)])}r.setAttribute("style",o||"white-space: pre-wrap;")}else if("NamedNode"===e.termType||"BlankNode"===e.termType)if((r=n.createElement("span")).setAttribute("about",e.toNT()),p.appendAccessIcons(h,r,e),"NamedNode"===e.termType)if("tel:"===e.uri.slice(0,4)){var l=e.uri.slice(4),c=n.createElement("a");r.appendChild(n.createTextNode(l)),c.setAttribute("href",e.uri),c.appendChild(i.utils.AJARImage(u.default.src.icon_telephone,"phone","phone "+l,n)),r.appendChild(c),c.firstChild.setAttribute("class","phoneIcon")}else{r.appendChild(n.createTextNode(i.utils.label(e)));var d=i.widgets.linkIcon(n,e);r.appendChild(d),i.widgets.makeDraggable(r,e)}else r.appendChild(n.createTextNode(i.utils.label(e)));else if("Collection"===e.termType){(r=n.createElement("table")).setAttribute("style","width: 100%;"),r.setAttribute("about",e.toNT());for(var f=0;f<e.elements.length;f++){var m=e.elements[f],g=r.appendChild(n.createElement("tr")),v=g.appendChild(n.createElement("td"));v.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),v.setAttribute("notSelectable","false"),v.setAttribute("about",e.toNT()),v.innerHTML=f+1+")",g.appendChild(p.outlineObjectTD(m))}}else"Graph"===e.termType?(r=a.byName("dataContentPane").statementsAsTables(e.statements,t)).setAttribute("class","nestedFormula"):(i.log.error("Object "+e+" has unknown term type: "+e.termType),r=n.createTextNode("[unknownTermType:"+e.termType+"]"));return i.log.debug("contents: "+r.innerHTML),r}return this.createTabURI=function(){n.getElementById("UserURI").value=n.URL+"?uri="+n.getElementById("UserURI").value},this.UserInput.setSelected=H,this.UserInput.deselectAll=q,this.UserInput.views=te,this.outlineExpand=Y,this};var i=h(n(0)),a=h(n(125)),o=h(n(4)),s=p(n(284)),u=p(n(285)),l=p(n(286)),c=p(n(287)),d=p(n(288));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){v(a,r,i,o,s,"next",e)}function s(e){v(a,r,i,o,s,"throw",e)}o(void 0)}))}}}).call(this,n(67))},function(e,t,n){"use strict";var r,i=n(0),a=n(4),o=e.exports={};o.util={},o.util.Event=(r=[],{on:function(e,t,n,i,a){var o=function(e){return n.call(i,e,i)};e.addEventListener(t,o,!1);var s=[e,t,a,o];r.push(s)},off:function(e,t,n){var i=this._getCacheIndex(e,t,n);if(-1===i)return!1;var a=r[i];return e.removeEventListener(t,a[this.WFN],!1),delete r[i][this.WFN],delete r[i][this.FN],r.splice(i,1),!0},EL:0,TYPE:1,FNID:2,WFN:3,_getCacheIndex:function(e,t,n){for(var i=0,a=r.length;i<a;++i){var o=r[i];if(o&&o[this.FNID]===n&&o[this.EL]===e&&o[this.TYPE]===t)return i}return-1}}),o.util.DDExternalProxy=function(e){this.initTarget(e)},o.util.DDExternalProxy.prototype={initTarget:function(e){this.DDM=o.util.DDM,this.el=e},b4StartDrag:function(e,t){s.onDragStart(e,t,this.el)},b4Drag:function(e){},handleMouseDown:function(e,t){(e.which||e.button)>1||this.DDM.handleMouseDown(e,this)}},o.util.DDM={handleMouseDown:function(e,t){this.dragCurrent=t;var n=t.el;this.startX=e.pageX,this.startY=e.pageY,this.deltaX=this.startX-n.offsetLeft,this.deltaY=this.startY-n.offsetTop,this.dragThreshMet=!1},handleMouseMove:function(e){if(!this.dragCurrent)return!0;if(o.util.Event.isIE&&!e.button)return o.log("button failure","info","DragDropMgr"),this.stopEvent(e),this.handleMouseUp(e);if(!this.dragThreshMet){var t=Math.abs(this.startX-e.pageX),n=Math.abs(this.startY-e.pageY);(t>this.clickPixelThresh||n>this.clickPixelThresh)&&this.startDrag(this.startX,this.startY)}return this.dragThreshMet,e.preventDefault(),!0},handleMouseUp:function(e){this.dragCurrent&&(o.util.Event.off(this.dragCurrent.el,"mousemove","dragMouseMove"),o.util.Event.off(this.dragCurrent.el,"mouseup","dragMouseUp"),o.util.Event.off(this.dragCurrent.el,"mouseup","dragMouseUp"),this.dragThreshMet&&(s.onDropInside(e.target),this.dragThreshMet=!1),this.dragCurrent=null)},startDrag:function(e,t){this.dragCurrent&&this.dragCurrent.b4StartDrag(e,t),this.dragThreshMet=!0},clickPixelThresh:3};var s={onDrop:function(e,t,n){var r=i.utils.ancestor(i.utils.ancestor(e.originalTarget,"TABLE").parentNode,"TABLE").outline.selection,o=t.flavour.contentType,s=transferUtils.retrieveURLFromData(t.data,o);if(s){if("application/x-moz-file"===o&&0===t.data.fileSize){var u=a.sym("chrome://tabulator/content/internalKnowledge.n3#defaultNew");i.store.copyTo(u,a.sym(s))}var l=r[0];i.utils.ancestor(i.utils.ancestor(l,"TABLE").parentNode,"TABLE").outline.UserInput.insertTermTo(l,a.sym(s))}},onDragEnter:function(e,t){var n;try{n=i.utils.ancestor(i.utils.ancestor(e.originalTarget,"TABLE").parentNode,"TABLE").outline.selection}catch(e){return}for(var r=e.originalTarget;r;r=r.parentNode)if(r.tabulatorSelect){if(n[0]){try{n[0].tabulatorDeselect()}catch(e){throw new Error(n[0]+" causes "+e)}o.util.Event.off(r,"mouseup","dragMouseUp")}r.tabulatorSelect();break}},onDragExit:function(e,t){},onDropInside:function(e){e.ownerDocument.getElementById("outline").outline.UserInput.insertTermTo(e,i.utils.getAbout(i.store,this.dragTarget))},onDragStart:function(e,t,n){this.dragTarget=n;var r=Components.interfaces.nsIDragService,a={action:r.DRAGDROP_ACTION_COPY+r.DRAGDROP_ACTION_MOVE+r.DRAGDROP_ACTION_LINK},o=n.ownerDocument.getBoxObjectFor(n),s=Components.classes["@mozilla.org/gfx/region;1"].createInstance(Components.interfaces.nsIScriptableRegion);s.init(),s.unionRect(o.screenX,o.screenY,o.width,o.height);var u={data:null},l=i.Util.getTerm(n);switch(l.termType){case"NamedNode":u.data=this.URItoTransferDataSet(l.uri);break;case"BlankNode":u.data=this.URItoTransferDataSet(l.toNT());break;case"Literal":u.data=this.URItoTransferDataSet(l.value)}u=u.data;var c=Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray),d=nsTransferable.set(u.dataList[0]);c.AppendElement(d.QueryInterface(Components.interfaces.nsISupports)),this.mDragService.invokeDragSession(n,c,s,a.action)},getSupportedFlavours:function(){var e=new FlavourSet;return e.appendFlavour("text/x-moz-url"),e.appendFlavour("text/unicode"),e.appendFlavour("application/x-moz-file","nsIFile"),e},URItoTransferDataSet:function(e){var t=new TransferDataSet,n=new TransferData;return n.addDataForFlavour("text/x-moz-url",e),n.addDataForFlavour("text/unicode",e),t.push(n),t},_mDS:null,get_mDragService:function(){if(!this._mDS){var e=Components.interfaces.nsIDragService;this._mDS=Components.classes["@mozilla.org/widget/dragservice;1"].getService(e)}return this._mDS},DDM:o.util.DDM}},function(e,t,n){"use strict";var r=e.exports={},i=n(0);r.src=[],r.tooltips=[],r.src.icon_expand=i.icons.originalIconBase+"tbl-expand-trans.png",r.src.icon_more=i.icons.originalIconBase+"tbl-more-trans.png",r.src.icon_collapse=i.icons.originalIconBase+"tbl-collapse.png",r.src.icon_internals=i.icons.originalIconBase+"tango/22-emblem-system.png",r.src.icon_instances=i.icons.originalIconBase+"tango/22-folder-open.png",r.src.icon_foaf=i.icons.originalIconBase+"foaf/foafTiny.gif",r.src.icon_social=i.icons.originalIconBase+"social/social.gif",r.src.icon_mb=i.icons.originalIconBase+"microblog/microblog.png",r.src.icon_shrink=i.icons.originalIconBase+"tbl-shrink.png",r.src.icon_rows=i.icons.originalIconBase+"tbl-rows.png",r.src.icon_unrequested=i.icons.originalIconBase+"16dot-blue.gif",r.src.icon_fetched=i.icons.originalIconBase+"16dot-green.gif",r.src.icon_failed=i.icons.originalIconBase+"16dot-red.gif",r.src.icon_requested=i.icons.originalIconBase+"16dot-yellow.gif",r.src.icon_CVPane=i.icons.originalIconBase+"CV.png",r.src.icon_defaultPane=i.icons.originalIconBase+"about.png",r.src.icon_visit=i.icons.originalIconBase+"tango/22-text-x-generic.png",r.src.icon_dataContents=i.icons.originalIconBase+"rdf_flyer.24.gif",r.src.icon_n3Pane=i.icons.originalIconBase+"w3c/n3_smaller.png",r.src.icon_RDFXMLPane=i.icons.originalIconBase+"22-text-xml4.png",r.src.icon_imageContents=i.icons.originalIconBase+"tango/22-image-x-generic.png",r.src.icon_airPane=i.icons.originalIconBase+"1pt5a.gif",r.src.icon_LawPane=i.icons.originalIconBase+"law.jpg",r.src.icon_pushbackPane=i.icons.originalIconBase+"pb-logo.png",r.src.icon_photoPane=i.icons.originalIconBase+"photo_small.png",r.src.icon_tagPane=i.icons.originalIconBase+"tag_small.png",r.src.icon_TinyTag=i.icons.originalIconBase+"tag_tiny.png",r.src.icon_photoBegin=i.icons.originalIconBase+"photo_begin.png",r.src.icon_photoNext=i.icons.originalIconBase+"photo_next.png",r.src.icon_photoBack=i.icons.originalIconBase+"photo_back.png",r.src.icon_photoEnd=i.icons.originalIconBase+"photo_end.png",r.src.icon_photoImportPane=i.icons.originalIconBase+"flickr_small.png",r.src.icon_retract=i.icons.originalIconBase+"retract.gif",r.src.icon_refresh=i.icons.originalIconBase+"refresh.gif",r.src.icon_optoff=i.icons.originalIconBase+"optional_off.PNG",r.src.icon_opton=i.icons.originalIconBase+"optional_on.PNG",r.src.icon_map=i.icons.originalIconBase+"compassrose.png",r.src.icon_retracted=r.src.icon_unrequested,r.src.icon_retracted=r.src.icon_unrequested,r.src.icon_time=i.icons.originalIconBase+"icons/Wclocksmall.png",r.src.icon_telephone=i.icons.originalIconBase+"silk/telephone.png",r.src.icon_time=i.icons.originalIconBase+"Wclocksmall.png",r.src.icon_remove_node=i.icons.originalIconBase+"tbl-x-small.png",r.src.icon_add_triple=i.icons.originalIconBase+"tango/22-list-add.png",r.src.icon_add_new_triple=i.icons.originalIconBase+"tango/22-list-add-new.png",r.src.icon_show_choices=i.icons.originalIconBase+"userinput_show_choices_temp.png",r.src.icon_display_reasons=i.icons.originalIconBase+"tango/22-help-browser.png",r.tooltips[r.src.icon_display_reasons]="Display explanations",r.tooltips[r.src.icon_add_triple]="Add more",r.tooltips[r.src.icon_add_new_triple]="Add one",r.tooltips[r.src.icon_remove_node]="Remove",r.tooltips[r.src.icon_expand]="View details.",r.tooltips[r.src.icon_collapse]="Hide details.",r.tooltips[r.src.icon_shrink]="Shrink list.",r.tooltips[r.src.icon_internals]="Under the hood",r.tooltips[r.src.icon_instances]="List",r.tooltips[r.src.icon_foaf]="Friends",r.tooltips[r.src.icon_rows]="Make a table of data like this",r.tooltips[r.src.icon_unrequested]="Fetch this.",r.tooltips[r.src.icon_fetched]="Fetched successfully.",r.tooltips[r.src.icon_failed]="Failed to load. Click to retry.",r.tooltips[r.src.icon_requested]="This is being fetched. Please wait...",r.tooltips[r.src.icon_visit]="View document",r.tooltips[r.src.icon_retract]="Remove this source and all its data from tabulator.",r.tooltips[r.src.icon_refresh]="Refresh this source and reload its triples.",r.OutlinerIcon=function(e,t,n,r,i){return this.src=e,this.alt=n,this.width=t,this.tooltip=r,this.filter=i,this},r.termWidgets={},r.termWidgets.optOn=new r.OutlinerIcon(r.src.icon_opton,20,"opt on","Make this branch of your query mandatory."),r.termWidgets.optOff=new r.OutlinerIcon(r.src.icon_optoff,20,"opt off","Make this branch of your query optional."),r.termWidgets.addTri=new r.OutlinerIcon(r.src.icon_add_triple,18,"add tri","Add one")},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,a,o=n(0),s=o.rdf,u=n(125);e.exports=function e(t){var n=o.store,l=t.document;this.menuId="predicateMenu1";var c=function(e){console.log(e+"\n")},d=o.ns.rdf,p=o.rdf.Namespace("http://purl.org/ontology/bibo/"),f=o.rdf.Namespace("http://purl.org/dc/elements/1.1/"),h=!1;return i||((i=new o.rdf.Formula).superFormula=n),a||(a=new o.rdf.IndexedFormula),a.name="TempFormula",o.store.updater||(o.store.updater=new o.rdf.UpdateManager(n)),{sparqler:o.store.updater,lastModified:null,lastModifiedStat:null,statIsInverse:!1,addNewPredicateObject:function(e){if("bottom-border-active"===o.utils.getTarget(e).className){var r=t.UserInput,i=o.utils.getTarget(e),a=l.createElement("tr");o.utils.ancestor(i,"DIV").insertBefore(a,o.utils.ancestor(i,"TR"));var s=l.createElement("tr"),u=r.generateRequest("(TBD)",s,!0);a.appendChild(s.firstChild);var c=r.generateRequest("(Enter text or drag an object onto this field)",s,!1);if(a.appendChild(s.firstChild),o.utils.ancestor(i,"TR").previousSibling&&o.utils.ancestor(i,"TR").previousSibling.AJAR_statement){var d=o.utils.ancestor(i,"TR").previousSibling.AJAR_statement;r.formUndetStat(a,d.subject,u,c,d.why,!1)}else{var p=o.utils.getAbout(n,o.utils.ancestor(i.parentNode.parentNode,"TD")),f=n.sym(o.rdf.Util.uri.docpart(p.uri));r.formUndetStat(a,p,u,c,f,!1)}t.walk("moveTo",a.firstChild),o.log.info("addNewPredicateObject: selection = "+t.getSelection().map((function(e){return e.textContent})).join(", ")),this.startFillInText(t.getSelection()[0])}},addNewObject:function(e){var n=o.utils.getTarget(e).parentNode.parentNode,r=n.parentNode.AJAR_inverse;this.lastModifiedStat=n.parentNode.AJAR_statement;var i=this.appendToPredicate(n),a=this.generateRequest(" (Error) ",i,!1),s=i.previousSibling.AJAR_statement;r?this.formUndetStat(i,a,s.predicate,s.object,s.why,!0):this.formUndetStat(i,s.subject,s.predicate,a,s.why,!1),t.walk("moveTo",i.lastChild),this.startFillInText(i.lastChild)},Delete:function(e){this.deleteTriple(e,!1)},Enter:function(e){this.literalModification(e)},Click:function(e){var t=o.utils.getTarget(e);"Literal"===o.utils.getTerm(t).termType&&(this.literalModification(t),e.preventDefault(),e.stopPropagation())},pasteFromClipboard:function(e,n){function r(e){var n=t.clipboard[e].shift();if(null!==n){switch(e){case"predicates":case"objects":for(var r=t.clipboard.all,i=0;;i++)if(n.sameTerm(r[i])){r.splice(i,1);break}break;case"all":throw new Error("hostorical code not understood - what is theCollection?")}return n}o.log.warn("no more element in clipboard!")}var i;switch(n.className){case"undetermined selected":if(!(i=n.nextSibling?r("predicates"):r("objects")))return;break;case"pred selected":if(!(i=r("objects")))return;break;case"selected":var a=r("all");if(!a)return;return i=a[0],void this.insertTermTo(n,i,a[1])}this.insertTermTo(n,i)},startFillInText:function(e){switch(this.whatSortOfEditCell(e)){case"DatatypeProperty-like":o.utils.emptyNode(e),this.lastModified=this.createInputBoxIn(e," (Please Input) "),this.lastModified.isNew=!1,this.lastModified.select();break;case"predicate":this.performAutoCompleteEdit(e,"PredicateAutoComplete");break;case"ObjectProperty-like":case"no-idea":this.performAutoCompleteEdit(e,"GeneralAutoComplete")}},literalModification:function(e){if(o.log.debug("entering literal Modification with "+e+e.textContent),-1!==e.className.indexOf(" pendingedit"))return o.log.warn("The node you attempted to edit has a request still pending.\nPlease wait for the request to finish (the text will turn black)\nbefore editing this node again."),!0;var t=e;if(this.getStatementAbout(t)){var r,i,a;try{r=o.utils.getTerm(t),i=o.utils.ancestor(t,"TR")}catch(r){o.log.warn("userinput.js: "+r+o.utils.getAbout(n,e)),o.log.error(t+" getStatement Error:"+r)}try{a=i.lastChild}catch(e){o.log.error(e+"@"+t)}if("Literal"===r.termType){if(a.removeChild(a.firstChild),r.value.match("\n")){var s=l.createElement("textarea");s.appendChild(l.createTextNode(r.value)),s.setAttribute("rows",(r.value.match(/\n/g).length+1).toString()),s.setAttribute("cols","100"),s.setAttribute("class","textinput"),a.appendChild(s),this.lastModified=s}else this.lastModified=this.createInputBoxIn(a,r.value);this.lastModified.isNew=!1,this.lastModified.select()}return!0}},performAutoCompleteEdit:function(e,t){o.utils.emptyNode(e),c("perform AutoCompleteEdit. THIS IS="+this),this.lastModified=this.createInputBoxIn(e,""),this.lastModified.select(),this.lastModified.addEventListener("keypress",this.getAutoCompleteHandler(t),!1),this.getAutoCompleteHandler(t)(1)},backOut:function(){this.deleteTriple(this.lastModified.parentNode,!0),this.lastModified=null},clearMenu:function(){var e=l.getElementById(this.menuID);e&&e.parentNode.removeChild(e)},clearInputAndSave:function(e){var r;if(this.lastModified){if(!this.lastModified.isNew)try{r=this.getStatementAbout(this.lastModified).object}catch(e){return}var i,a,l,c,p=this.lastModifiedStat;if(this.lastModified.value!==this.lastModified.defaultValue){var f;if(""===this.lastModified.value)return this.lastModified.value=this.lastModified.defaultValue,void this.clearInputAndSave();if(this.lastModified.isNew){p=new o.rdf.Statement(p.subject,p.predicate,n.literal(this.lastModified.value),p.why),i=this.views.defaults[p.predicate.uri],f=o.utils.ancestor(this.lastModified,"TR");try{o.store.updater.update([],[p],(function(e,n,r){n||(o.log.error("Error occurs while inserting "+p+"\n\n"+r+"\n"),t.UserInput.deleteTriple(f.lastChild,!0))}))}catch(e){return void o.log.error("Error inserting fact "+p+":\n\t"+e+"\n")}p=n.add(p.subject,p.predicate,n.literal(this.lastModified.value),p.why)}else{if(this.statIsInverse)return o.log.error("Invalid Input: a literal can't be a subject in RDF/XML"),void this.backOut();var h,m,g;switch(r.termType){case"Literal":var v=this.lastModified.value;f=o.utils.ancestor(this.lastModified,"TR");var y=this.lastModified.defaultValue;m=s.st(p.subject,p.predicate,n.literal(this.lastModified.value),p.why);try{o.store.updater.update([p],[m],(function(e,t,n){t?r.value=v:(o.log.warn("Error occurs while editing "+p+"\n\n"+n),f.lastChild.textContent=y),f.lastChild.className=f.lastChild.className.replace(/ pendingedit/g,"")}))}catch(e){return void o.log.warn("Error occurs while editing "+p+":\n\t"+e)}break;case"BlankNode":var b=n.literal(this.lastModified.value,"");if("Collection"!==p.predicate.termType)return void this.fillInRequest("object",this.lastModified.parentNode,n.literal(this.lastModified.value));var w=p.predicate.elements[0];if(n.any(void 0,w,b)){if(!e){var x=this.lastModified.parentNode;(e={}).pageX=o.utils.findPos(x)[0],e.pageY=o.utils.findPos(x)[1]+x.clientHeight}this.showMenu(e,"DidYouMeanDialog",void 0,{dialogTerm:n.any(void 0,w,b),bnodeTerm:p.subject})}else{h=o.utils.ancestor(o.utils.ancestor(this.lastModified,"TR").parentNode,"TR").AJAR_statement,m=s.st(p.subject,w,b,p.why);var k=n.the(p.subject,d("type"));g=n.anyStatementMatching(p.subject,d("type"),k,p.why),f=o.utils.ancestor(o.utils.ancestor(this.lastModified,"TR"),"TD").parentNode;try{o.store.updater.update([],[h,m,g],(function(e,n,r){n||(console.log("Error occurs while editing "+h+"\n\n"+r),t.UserInput.deleteTriple(f.lastChild,!0))}))}catch(e){return void console.log("Error occurs while editing "+h+":\n\t"+e)}n.remove(p),n.add(p.subject,w,b,p.why)}var E=o.utils.ancestor(this.lastModified.parentNode.parentNode,"TD"),C=u.byName("default");t.outlineExpand(E,p.subject,{pane:C,already:!0}),t.walk("right",t.focusTd)}}}else{if(this.lastModified.isNew)return a=o.utils.ancestor(this.lastModified,"TR"),l=this.generateRequest("(To be determined. Re-type of drag an object onto this field)"),c=a.previousSibling.AJAR_statement,this.formUndetStat(a,c.subject,c.predicate,l,c.why,!1),void(this.lastModified=null);if("Collection"===p.predicate.termType){n.removeMany(p.subject);var _=o.utils.ancestor(o.utils.ancestor(this.lastModified,"TR").parentNode,"TR");return c=_.AJAR_statement,l=this.generateRequest("(To be determined. Re-type of drag an object onto this field)"),this.formUndetStat(_,c.subject,c.predicate,l,c.why,!1),t.replaceTD(t.outlineObjectTD(l,i),_.lastChild),void(this.lastModified=null)}if(this.statIsInverse){if("BlankNode"===p.subject.termType)return void this.backOut()}else if("BlankNode"===p.object.termType)return void this.backOut()}a=o.utils.ancestor(this.lastModified,"TR"),this.statIsInverse?t.replaceTD(t.outlineObjectTD(p.subject,i),a.lastChild):t.replaceTD(t.outlineObjectTD(n.literal(this.lastModified.value),i),a.lastChild),this.lastModified.value!==this.lastModified.defaultValue&&(a.lastChild.className+=" pendingedit"),this.lastModified=null}},deleteTriple:function(e,r){if(o.log.debug("deleteTriple entered"),!r&&-1!==e.className.indexOf(" pendingedit"))return console.log("The node you attempted to edit has a request still pending.\nPlease wait for the request to finish (the text will turn black)\nbefore editing this node again."),void t.walk("up");var i,a=this.getStatementAbout(e);if(!(r||n.whether(a.object,d("type"),o.ns.link("Request"))||n.whether(a.predicate,d("type"),o.ns.link("Request"))||n.whether(a.subject,d("type"),o.ns.link("Request")))){o.log.debug("about to send SPARQLUpdate");try{o.store.updater.update([a],[],(function(t,n,r){n?s():(console.log("Error occurs while deleting "+a+"\n\n"+r),e.className=e.className.replace(/ pendingedit/g,""))})),e.className+=" pendingedit"}catch(e){return o.log.error(e),void o.log.warn("Error deleting statement "+a+":\n\t"+e)}o.log.debug("SPARQLUpdate sent")}function s(){var e,t;for(e=i;1===e.childNodes.length;e=e.previousSibling);if(e===i){var n=e.nextSibling;n.nextSibling&&1===n.childNodes.length&&((t=e.firstChild).setAttribute("rowspan",parseInt(t.getAttribute("rowspan"))-1),n.insertBefore(e.firstChild,n.firstChild)),i.parentNode.removeChild(i)}else(t=e.firstChild).setAttribute("rowspan",parseInt(t.getAttribute("rowspan"))-1),i.parentNode.removeChild(i)}o.log.debug("about to remove "+a),o.log.debug("removed"),t.walk("up"),i=e.parentNode,r&&s()},clipboardInit:function(){t.clipboard={},t.clipboard.objects=[],t.clipboard.predicates=[],t.clipboard.all=[]},copyToClipboard:function(e,n){var r=o.utils.getTerm(n);switch(n.className){case"selected":case"obj selected":t.clipboard.objects.unshift(r);break;case"pred selected":case"pred internal selected":t.clipboard.predicates.unshift(r)}t.clipboard.all.unshift(r)},insertTermTo:function(e,r,a){var s,u;switch(e.className){case"undetermined selected":s=this.views.defaults[e.parentNode.AJAR_statement.predicate.uri],this.fillInRequest(e.nextSibling?"predicate":"object",e,r);break;case"pred selected":var c=this.appendToPredicate(e);u=e.parentNode.AJAR_statement,s=this.views.defaults[u.predicate.uri],c.appendChild(t.outlineObjectTD(r,s));var d=e.parentNode.AJAR_inverse;d?c.AJAR_statemnet=n.add(r,u.predicate,u.object,u.why):c.AJAR_statement=n.add(u.subject,u.predicate,r,u.why);try{o.store.updater.update([],[c.AJAR_statement],(function(e,t,n){t||o.log.error("userinput.js (pred selected): Fail trying to insert statement "+c.AJAR_statement+": "+n)}))}catch(e){return void o.log.error("Exception trying to insert statement "+c.AJAR_statement+": "+o.utils.stackString(e))}c.AJAR_inverse=d,i.statements.push(c.AJAR_statement);break;case"selected":var p=o.utils.ancestor(e,"TABLE").lastChild,f=p.insertBefore(l.createElement("tr"),p.lastChild);if(u=f.previousSibling.AJAR_statement,void 0===a&&(a=!0),a)this.formUndetStat(f,u.subject,this.generateRequest("(TBD)",f,!0),r,u.why,!1),f.appendChild(t.outlineObjectTD(r)),t.walk("moveTo",f.firstChild),this.startFillInText(f.firstChild);else{var h=this.generateRequest("(To be determined. Re-type of drag an object onto this field)",f);this.formUndetStat(f,u.subject,r,h,u.why,!1),f.insertBefore(t.outlinePredicateTD(r,f,!1,!1),f.firstChild),t.walk("moveTo",f.lastChild),this.startFillInText(f.lastChild)}}},Refill:function(e,t){o.log.info("Refill"+t.textContent);var r,i=t.nextSibling;if(i){var a,u,l;if("undetermined"===t.nextSibling.className){a=o.utils.getAbout(n,o.utils.ancestor(t,"TABLE").parentNode),u=n.any(a,d("type"));(l=[])[0]="SELECT ?pred WHERE{\n?pred "+d("type")+d("Property")+".\n?pred "+o.ns.rdfs("domain")+u+".}",l[1]="SELECT ?pred ?class\nWHERE{\n?pred "+d("type")+d("Property")+".\n"+u+o.ns.rdfs("subClassOf")+" ?class.\n?pred "+o.ns.rdfs("domain")+" ?class.\n}",l[2]="SELECT ?pred WHERE{\n"+a+d("type")+n.variable("subjectClass")+".\n"+n.variable("pred")+o.ns.rdfs("domain")+n.variable("subjectClass")+".\n}",r=l.map(s.SPARQLToQuery)}else{a=o.utils.getAbout(n,o.utils.ancestor(t,"TABLE").parentNode),u=n.any(a,d("type"));var c=t.parentNode.AJAR_statement.object;l="SELECT ?pred WHERE{"+a+d("type")+"?subjectClass.\n"+c+d("type")+"?objectClass.\n?pred "+o.ns.rdfs("domain")+"?subjectClass.\n?pred "+o.ns.rdfs("range")+"?objectClass.\n}",r=s.SPARQLToQuery(l)}this.showMenu(e,"GeneralPredicateChoice",r,{isPredicate:i,selectedTd:t})}else{var p=t.parentNode.AJAR_statement.predicate;if((n.whether(p,d("type"),o.ns.owl("DatatypeProperty"))||"Collection"===p.termType||n.whether(p,o.ns.rdfs("range"),o.ns.rdfs("Literal")))&&(t.className="",o.utils.emptyNode(t),this.lastModified=this.createInputBoxIn(t," (Please Input) "),this.lastModified.isNew=!1,this.lastModified.select()),t.parentNode.AJAR_statement.predicate.sameTerm(d("type"))){var f="SELECT ?class WHERE{?class "+d("type")+o.ns.rdfs("Class")+".}",h=s.SPARQLToQuery(f);this.showMenu(e,"TypeChoice",h,{isPredicate:i,selectedTd:t})}}},getAutoCompleteHandler:function(e){var i;return c("\n\n***** In getAutoCompleteHandler ****** mode = "+e),"PredicateAutoComplete"===e?e="predicate":"JournalTAC"!==e&&(e="all"),i="JournalTAC"===e?l.getElementById("inpid_journal_title"):this.lastModified||t.getSelection()[0].firstChild,c("InputBox="+i),c("InputBox.value="+i.value),function(a){c("ENTER EVENT="+a),c("1. outside (if eneterEvent)");var s={},u=i.parentNode;e||(e=u.nextSibling?"predicate":"all"),s.pageX=o.utils.findPos(u)[0],s.pageY=o.utils.findPos(u)[1]+u.clientHeight,c("epX="+s.pageX+", epY="+s.pageY+", mode="+e);var d=l.getElementById(t.UserInput.menuID);function p(e){e&&(d.lastHighlight&&(d.lastHighlight.className=""),d.lastHighlight=e,d.lastHighlight.className="activeItem",t.showURI(o.utils.getAbout(n,d.lastHighlight)))}if(a){c("2. in (if enterEvent). with type = "+r(a));var f=i.value;if("object"===r(a))switch(c("3. in typeof enterEvent is object, will switch to keys, arrows, etc. keycode = "+a.keyCode),a.stopPropagation(),d&&!d.lastHighlight&&p(d.firstChild.firstChild),a.keyCode){case 13:case 9:if(c("handler: Enter or Tab"),!d)return void t.UserInput.clearInputAndSave();if(!d.lastHighlight)return"JournalTAC"===e?(t.UserInput.clearMenu(),c("no lastH"),"no lastH"):void 0;if("INPUT"===d.lastHighlight.tagName)switch(d.lastHighlight.value){case"New...":c("subcase New"),t.UserInput.createNew();break;case"GiveURI":c("subcase GiveURI"),t.UserInput.inputURI()}else{if("JournalTAC"===e){if(c("movedArrow? "+h),h&&d.lastHighlight){var m=d.lastHighlight.firstChild.firstChild.innerHTML,g=d.lastHighlight.firstChild.nextSibling.innerHTML;return["gotdptitle",m,g=g.slice(4,-4)]}return"asGivenTxt"}var v=o.utils.getAbout(n,d.lastHighlight),y="predicate"===e?"predicate":"object";t.UserInput.clearMenu(),t.UserInput.fillInRequest(y,i.parentNode,v)}return void c("outside");case 38:return c("handler: Arrow UP"),h=!0,""!==f||"TR"!==d.lastHighlight.tagName||d.lastHighlight.previousSibling?p(d.lastHighlight.previousSibling):p(d.firstChild.firstChild),"I'm a little Arrow Up";case 40:return c("handler: Arrow Down"),h=!0,"INPUT"===d.lastHighlight.tagName?p(d.childNodes[1].firstChild):p(d.lastHighlight.nextSibling),"I'm a little Down Arrow";case 37:case 39:return c("handler: Arrow left, right"),void("INPUT"===d.lastHighlight.tagName&&(37===a.keyCode?p(d.lastHighlight.previousSibling):p(d.lastHighlight.nextSibling)));case 8:c("handler: Backspace"),f=f.slice(0,-1);break;case 27:return c("handler: Esc"),d?void t.UserInput.clearMenu():void t.UserInput.backOut();default:c("handler: Default"),h=!1,c("oldtext="+f),f+=String.fromCharCode(a.charCode),c("charcodent="+a.charCode),c("strcharcod="+String.fromCharCode(a.charCode)),console.log("DEFAULT txtstr="+f+"\n")}return"all"===e?(c("generalAC after switch, newText="+f+"mode is all"),t.UserInput.clearMenu(),t.UserInput.showMenu(s,"GeneralAutoComplete",void 0,{inputText:f,selectedTd:u}),0===f.length&&t.UserInput.WildCardButtons()):"predicate"===e?(c("predicateAC after switch, newText="+f+"mode is predicate"),t.UserInput.clearMenu(),t.UserInput.showMenu(s,"PredicateAutoComplete",void 0,{inputText:f,isPredicate:!0,selectedTd:u})):"JournalTAC"===e&&(c("JouralTAC after switch, newText="+f),t.UserInput.clearMenu(),t.UserInput.showMenu(s,"JournalTitleAutoComplete",void 0,{inputText:f},"orderisuseless")),(d=l.getElementById(t.UserInput.menuID))?(c("at end of handler\n^^^^^^^^^^^^^^^^^\n\n"),p(d.firstChild.firstChild),t.showURI(o.utils.getAbout(n,d.lastHighlight)),"nothing to return"):void c("No menu element. Do not show menu.")}}},WildCardButtons:function(){var e=l.getElementById(t.UserInput.menuID),n=e.insertBefore(l.createElement("div"),e.firstChild),r=n.appendChild(l.createElement("input")),i=n.appendChild(l.createElement("input"));r.type="button",r.value="New...",i.type="button",i.value="Know its URI",n.addEventListener("mouseover",(function(e){var n=l.getElementById(t.UserInput.menuID);n.lastHighlight&&(n.lastHighlight.className=""),n.lastHighlight=o.utils.ancestor(o.utils.getTarget(e),"INPUT"),n.lastHighlight&&(n.lastHighlight.className="activeItem")}),!1),r.addEventListener("click",this.createNew,!1),i.addEventListener("click",this.inputURI,!1)},Keypress:function(e){if(13===e.keyCode)if("TEXTAREA"!==t.targetOf(e).tagName)this.clearInputAndSave();else{var n=parseInt(this.lastModified.getAttribute("rows"));this.lastModified.setAttribute("rows",(n+1).toString()),e.stopPropagation()}},Mousedown:function(t){c("MOUSING DOWN"),window.addEventListener("keypress",(function(t){!t.ctrlKey||115!==t.charCode&&113!==t.charCode||e.switchMode()}),!1),window.addEventListener("mousedown",e.Mousedown,!1),document.getElementById("outline").oncontextmenu=function(){return!1},2===t.button&&(e.switchMode(),t&&(t.preventDefault(),t.stopPropagation()))},Mouseover:function(e){if(this.className="bottom-border-active",1===this._tabulatorMode)switch(o.utils.getTarget(e).tagName){case"TD":var t=o.utils.getTarget(e);"pred"===t.className&&(t.style.cursor="copy");break;case"DIV":var n=o.utils.getTarget(e);"bottom-border"===o.utils.getTarget(e).className&&(n.style.borderColor="rgb(100%,65%,0%)",n.style.cursor="copy")}},Mouseout:function(e){if(this.className="bottom-border",1===this._tabulatorMode){var t=o.utils.getTarget(e);"bottom-border"===o.utils.getTarget(e).className&&(t.style.borderColor="transparent",t.style.cursor="auto")}},whatSortOfEditCell:function(e){if(e.nextSibling)return"predicate";var t=this.getStatementAbout(e).predicate;return n.whether(t,o.ns.rdf("type"),o.ns.owl("DatatypeProperty"))||n.whether(t,o.ns.rdfs("range"),o.ns.rdfs("Literal"))||"Collection"===t.termType?"DatatypeProperty-like":n.whether(t,d("type"),o.ns.owl("ObjectProperty"))?"ObjectProperty-like":"no-idea"},getStatementAbout:function(e){var t,n=o.utils.ancestor(e,"TR");if(!n)throw new Error("No ancestor TR for the TD we clicked on:"+e);try{t=n.AJAR_statement}catch(t){throw new Error("No AJAR_statement!"+e+e.textContent+" has ancestor "+n)}return this.lastModifiedStat=n.AJAR_statement,this.statIsInverse=n.AJAR_inverse,t},createInputBoxIn:function(e,n){o.log.info("myDocument in createInputBoxIn is now "+l.location),o.log.info("outline.document is now "+t.document.location);var r=l.createElement("input");return r.setAttribute("value",n),r.setAttribute("class","textinput"),"undetermined selected"!==e.className&&(r.setAttribute("size","100"),r.addEventListener("keypress",(function(e){38!==e.keyCode&&40!==e.keyCode||(t.OutlinerKeypressPanel(e),t.UserInput.clearInputAndSave())}),!1)),e.appendChild(r),r},createNew:function(e){t.UserInput.clearMenu();var r=t.getSelection()[0],i=r.parentNode.AJAR_statement.why,a=n.nextSymbol(i);t.UserInput.fillInRequest("object",r,a),t.outlineExpand(t.getSelection()[0],a)},inputURI:function(e){var r=t.UserInput;r.clearMenu();var i=t.getSelection()[0];o.utils.emptyNode(i);r.lastModified=r.createInputBoxIn(i," (Type a URI) "),r.lastModified.select(),r.lastModified.addEventListener("keypress",(function(e){switch(e.stopPropagation(),e.keyCode){case 13:case 9:if(" (Type a URI) "!==this.value){var t=this.value;r.fillInRequest("object",i,n.sym(t))}}}),!1)},appendToPredicate:function(e){var t,n=!1;try{for(t=e.parentNode.nextSibling;1===t.childNodes.length&&t.AJAR_statement;t=t.nextSibling);}catch(e){n=!0}var r=l.createElement("tr");if(r.style.colspan="1",r.style.display="block",r.style.display="",e.hasAttribute("rowspan")&&e.setAttribute("rowspan",parseInt(e.getAttribute("rowspan"))+1),e.hasAttribute("rowspan")||e.setAttribute("rowspan","2"),n){var i=e.parentNode.parentNode;"defaultPane"===i.className?i.insertBefore(r,i.lastChild):i.appendChild(r)}else t.parentNode.insertBefore(r,t);return r},bnode2symbol:function(e,t){n.copyTo(e,t,["two-direction","delete"])},generateRequest:function(e,n,r,i){var s;i||(s=n||o.utils.ancestor(this.lastModified,"TR"),o.utils.emptyNode(s));var u,l=a,c=l.bnode();(l.add(c,o.ns.rdf("type"),o.ns.link("Request")),e.length,l.add(c,o.ns.link("message"),l.literal(e)),l.add(c,o.ns.link("to"),l.literal("The User")),l.add(c,o.ns.link("from"),l.literal("The User")),i)||((u=r?s.appendChild(t.outlinePredicateTD(c,s,!1,!1)):s.appendChild(t.outlineObjectTD(c))).className="undetermined",u.textContent=e);return c},showMenu:function(e,r,i,a,s){o.log.info("myDocument is now "+l.location),o.log.info("outline.doucment is now "+t.document.location);var u=this,h=l.createElement("div");if(c("\n**** In showMenu, menuType = "+r+"\n"),a)for(var m in a)console.log("\t extra "+m+": "+a[m]+"\n");console.log("CREATED MENU\n"),h.id=this.menuID,h.className="outlineMenu",h.style.top=e.pageY+"px",h.style.left=e.pageX+"px";if("JournalTitleAutoComplete"===r){var g=function(e){for(var t=0,n=0,r=0,i=0,a=0,o=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)a=e.offsetLeft,o=e.offsetTop,a!==r&&(t+=e.offsetLeft-e.scrollLeft),o!==i&&(n+=e.offsetTop-e.scrollTop),r=a,i=o,e=e.parentNode;return{top:n+54,left:t-38}}(l.getElementById("inpid_journal_title"));g.left-=l.getElementById("inpid_journal_title").scrollTop,h.style.top=g.top+"px",h.style.left=g.left+"px"}console.log("menu at top="+h.style.top+" left="+h.style.left+"\n"),l.body.appendChild(h);var v,y=h.appendChild(l.createElement("table"));switch(h.lastHighlight=null,y.addEventListener("mouseover",(function(e){h.lastHighlight&&(h.lastHighlight.className=""),h.lastHighlight=o.utils.ancestor(o.utils.getTarget(e),"TR"),h.lastHighlight&&(h.lastHighlight.className="activeItem")}),!1),r){case"DidYouMeanDialog":v=function(e){c("DID YOU MEAN SELECT ITEM!!!!!");var r=o.utils.ancestor(o.utils.getTarget(e),"TR");2===r.childNodes.length&&r.nextSibling?(n.add(E,void 0,void 0),t.UserInput.clearMenu()):2===r.childNodes.length&&t.UserInput.clearMenu()};break;case"LimitedPredicateChoice":var b=a.clickedTd;v=function(e){c("LIMITED P SELECT ITEM!!!!");for(var r=o.utils.getAbout(n,o.utils.getTarget(e)),i=b.parentNode.AJAR_statement.predicate.elements,a=0;a<i.length;a++)i[a].sameTerm(r)&&i.unshift(i.splice(a,1)[0]);t.UserInput.clearMenu();var s=b.parentNode,l=t.outlinePredicateTD(s.AJAR_statement.predicate,s);s.insertBefore(l,b),s.removeChild(b),u.lastModified.select()};break;case"PredicateAutoComplete":case"GeneralAutoComplete":case"GeneralPredicateChoice":case"JournalTitleAutoComplete":case"TypeChoice":var w=a.isPredicate,x=a.selectedTd;v=function(e){c("WOOHOO");var r=o.utils.getAbout(n,o.utils.getTarget(e));c("GENERAL SELECT ITEM!!!!!!="+r),c("target="+o.utils.getTarget(e)),w?(c("1"),t.UserInput.fillInRequest("predicate",x,r)&&(c("2"),t.UserInput.clearMenu())):(c("3"),t.UserInput.fillInRequest("object",x,r)&&(c("4"),t.UserInput.clearMenu()))};break;default:throw new Error("userinput: unexpected mode")}y.addEventListener("click",v,!1);var k,E,C,_={};function S(e){y.firstChild&&"no-suggest"===y.firstChild.className&&y.removeChild(y.firstChild);var t=o.utils.predicateLabelForXML(e,!1);if(e.uri){var n="??";for(var r in _)if(o.log.debug(_[r]),o.rdf.Util.string_startswith(e.uri,_[r])){n=r;break}var i=y.appendChild(l.createElement("tr"));i.setAttribute("about",e),i.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode(t)),i.appendChild(l.createElement("td")).appendChild(l.createTextNode(n.toUpperCase()))}}function A(e){return function(t){S(t[e.vars[0]])}}switch(n.each(void 0,o.ns.rdf("type"),o.ns.owl("Ontology")).forEach((function(e){var t=o.utils.label(e);if(t){var n=t.value.match(/\((.+?)\)/);n?_[n[1]]=e.uri:_[t.value]=e.uri}})),r){case"DidYouMeanDialog":var T=a.dialogTerm;E=a.bnodeTerm,h.style.width="auto";var P=y.appendChild(l.createElement("tr")).appendChild(l.createElement("th"));P.appendChild(l.createTextNode("Did you mean..."));var D,O=n.statementsMatching(T);for(D=0;D<O.length&&!n.whether(O[D].predicate,d("type"),o.ns.owl("InverseFunctionalProperty"));D++);var I=O[D].predicate,F=n.any(T,O[D].predicate),N=o.utils.label(T)+" who has "+o.utils.label(I)+" "+F+"?",R=y.appendChild(l.createElement("tr")).appendChild(l.createElement("th"));R.appendChild(l.createTextNode(N)),P.setAttribute("colspan","2"),R.setAttribute("colspan","2");var j=y.appendChild(l.createElement("tr"));j.appendChild(l.createElement("th")).appendChild(l.createTextNode("Yes")),j.appendChild(l.createElement("td")).appendChild(l.createTextNode("BOOLEAN"));var L=y.appendChild(l.createElement("tr"));L.appendChild(l.createElement("th")).appendChild(l.createTextNode("No")),L.appendChild(l.createElement("td")).appendChild(l.createTextNode("BOOLEAN"));break;case"PredicateAutoComplete":k=a.inputText;for(var M=t.labeller.searchAdv(k,void 0,"predicate"),U=[],B=0;B<M.length;B++){var H={vars:[]};H.vars.push("Kenny");var q={};q.Kenny=n.fromNT(M[B].NT);try{A(H)(q)}catch(e){throw new Error("I'll deal with bnodes later...[Kenny]"+e)}}var z=U[0];if(0===z.length)return console.log("cm length 0\n"),void this.clearMenu();for(var W=0;W<z.length&&W<10;W++)S(z[W][1]);break;case"GeneralAutoComplete":k=a.inputText;try{U=t.labeller.search(k)}catch(e){console.log("GeneralAutoComplete: debug me "+a.selectedTd.textContent+"\n"+e+"\n")}z=U[0];var V=U[1];if(0===z.length)return console.log("cm length 0\n"),void this.clearMenu();for(var K=0;K<z.length&&K<10;K++){var $=z[K][1].toNT();(C=y.appendChild(l.createElement("tr"))).setAttribute("about",$),C.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode(z[K][0]));var G=V[K],J=G?o.utils.label(G):"";C.appendChild(l.createElement("td")).appendChild(l.createTextNode(J))}break;case"JournalTitleAutoComplete":k=a.inputText,console.log("testing searching text= "+k+" =====\n"),console.log("\n===start JournalTitleAutoComplete\n");for(var Q=n.each(void 0,d("type"),p("Journal")),Y=[],X=0;X<Q.length;X++){var Z=Q[X],ee=n.each(Z,f("title"),void 0),te=ee+"",ne=k.toLowerCase();if(-1!==te.toLowerCase().search(ne)){c("FOUND A Journal Title Match!!!!!!"),Y.push(ee);var re=y.appendChild(l.createElement("tr"));re.setAttribute("about","journalTitle"),re.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode(ee)),re.appendChild(l.createElement("td")).appendChild(l.createTextNode(Z))}}console.log("matched: "+Y+"\n"),console.log("\\\\done showMenu's JTAutocomplete\n");break;case"LimitedPredicateChoice":var ie=o.utils.getAbout(n,a.clickedTd);ie.termType="Collection";for(var ae=n.each(ie,o.ns.link("element")),oe=0;oe<ae.length;oe++)S(ae[oe]);break;default:(C=y.appendChild(l.createElement("tr"))).className="no-suggest",C.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode("No suggested choices. Try to type instead.")),C.appendChild(l.createElement("td")).appendChild(l.createTextNode("OK")),C.addEventListener("click",(function(e){u.clearMenu(),e.stopPropagation()}),"false");var se=function(){};switch(i.constructor.name){case"Array":for(var ue=0;ue<i.length;ue++)n.query(i[ue],A(i[ue]),se);break;case"undefined":throw new Error("addPredicateChoice: query is not defined");default:n.query(i,A(i),se)}}},fillInRequest:function(e,r,s){var u,l,c=r.parentNode;u=c.AJAR_statement,l=c.AJAR_inverse;var d,p="object"===e?u.object:u.predicate,f=!1;if(n.any(p,o.ns.link("onfillin")),"predicate"===e){var h=t.outlinePredicateTD(s,c,!1,!1);if("undetermined"!==r.nextSibling.className){var m=new o.rdf.Statement(u.subject,s,u.object,u.why);try{o.store.updater.update([],[m],(function(e,t,r){t?(d=n.anyStatementMatching(u.subject,s,u.object,u.why),c.AJAR_statement=d,h.className=h.className.replace(/ pendingedit/g,"")):o.log.warn("Failure occurs (#2) while inserting "+c.AJAR_statement+"\n\n"+r)}))}catch(e){return o.log.error(e),void o.log.warn("Error when insert (#2) of statement "+m+":\n\t"+e)}h.className+=" pendingedit",this.lastModified=null}else this.formUndetStat(c,u.subject,s,u.object,u.why,!1),t.walk("right"),f=!0;t.replaceTD(h,r),a.remove(u)}else if("object"===e){var g=t.outlineObjectTD(s);if(t.replaceTD(g,r),r.previousSibling&&"undetermined"===r.previousSibling.className)t.walk("left"),f=!0;else{var v;v=l?new o.rdf.Statement(s,u.predicate,u.object,u.why):new o.rdf.Statement(u.subject,u.predicate,s,u.why);try{o.store.updater.update([],[v],(function(e,t,r){var i;o.log.info("@@ usinput.js (object) callback ok="+t+" for statement:"+v+"\n "),t?(g.className=g.className.replace(/ pendingedit/g,""),(i=l?n.statementsMatching(s,u.predicate,u.object,u.why):n.statementsMatching(u.subject,u.predicate,s,u.why)).length||o.log.error("userinput.js 1711: Can't find statememt!"),c.AJAR_statement=i[0]):o.log.warn("userinput.js (object): Fail trying to insert statement "+v)}))}catch(e){return o.log.error("userinput.js (object): exception trying to insert statement "+v+": "+o.utils.stackString(e)),void o.log.warn("Error trying to insert statement "+v+":\n"+e)}this.lastModified=null,g.className+=" pendingedit"}a.remove(u)}if(i.statements.push(d),!f)return!0;this.startFillInText(t.getSelection()[0])},formUndetStat:function(e,t,n,r,i,o){return e.AJAR_inverse=o,e.AJAR_statement=a.add(t,n,r,i),e.AJAR_statement}}}},function(e,t,n){"use strict";var r=n(0);e.exports={makeQueryRow:o,QuerySource:function(){this.queries=[],this.listeners=[],this.addQuery=function(e){var t;for(null!==e.name&&""!==e.name||(e.name="Query #"+(this.queries.length+1)),e.id=this.queries.length,this.queries.push(e),t=0;t<this.listeners.length;t++)null!==this.listeners[t]&&this.listeners[t].addQuery(e)},this.removeQuery=function(e){var t;for(t=0;t<this.listeners.length;t++)null!==this.listeners[t]&&this.listeners[t].removeQuery(e);null!==this.queries[e.id]&&delete this.queries[e.id]},this.addListener=function(e){var t;for(this.listeners.push(e),t=0;t<this.queries.length;t++)null!==this.queries[t]&&e.addQuery(this.queries[t])},this.removeListener=function(e){var t;for(t=0;t<this.queries.length;t++)null!==this.queries[t]&&e.removeQuery(this.queries[t]);for(t=0;t<this.listeners.length;t++)this.listeners[t]===e&&delete this.listeners[t]}},viewAndSaveQuery:function(e,t){var n=e.qs;r.log.info("outline.doucment is now "+e.document.location);for(var i=function(e,t){var n,i,a,s,u=new r.rdf.Query,l=e.length;for(n=0;n<l;n++)i=e[n],s=i.parentNode,a=s.AJAR_statement,r.log.debug("Statement "+a),i.getAttribute("class").indexOf("pred")>=0&&(r.log.info(" We have a predicate"),o(u,s)),i.getAttribute("class").indexOf("obj")>=0&&(r.log.info(" We have an object"),o(u,s,!0));return t.addQuery(u),function e(t){for(var n,r,i=t.statements.length,a=0;a<i;a++)n=t.statements[a],void 0!==(r=n.tr)&&(r.AJAR_pattern=null,r.AJAR_variable=null);for(var o in t.optional)e(t.optional[o])}(u.pat),u}(t,n),a=0;a<n.listeners.length;a++)n.listeners[a].getActiveView().view.drawQuery(i),n.listeners[a].updateQueryControls(n.listeners[a].getActiveView())}};var i=[];function a(e){for(var t=e;;){if(t.getAttribute("predTR"))return t;if(!t.previousSibling||"TR"!==t.previousSibling.nodeName)return console.log("Could not find predParent"),e;t=t.previousSibling}}function o(e,t,n){var s,u,l,c=r.store,d=t.AJAR_inverse;var p=null;for(u=t.parentNode;u;u=u.parentNode)if(void 0!==u.AJAR_statement){u.setAttribute("bla",u.AJAR_statement),u.AJAR_variable||o(e,u),s=u.AJAR_variable;var f=a(u);f.getAttribute("optionalSubqueriesIndex")&&(p=f.getAttribute("optionalSubqueriesIndex"),l=i[p]);break}l||(l=e.pat);var h=a(t),m=h.getAttribute("optional");if(m||(p?h.setAttribute("optionalSubqueriesIndex",p):h.removeAttribute("optionalSubqueriesIndex")),m){var g=c.formula();i.push(g),h.setAttribute("optionalSubqueriesIndex",i.length-1),l.optional.push(g),l=g}var v=t.AJAR_statement,y=t.AJAR_inverse?v.subject:v.object,b=!0;y.isBlank&&n&&window.alert("You cannot constrain a query with a blank node. No constraint will be added."),s||(b=!1,s=d?v.object:v.subject);var w=t.AJAR_variable?t.AJAR_variable:c.variable(r.utils.newVariableName());e.vars.push(w),w.label=b?s.label:r.utils.label(s),w.label+=" "+r.utils.predicateLabelForXML(v.predicate,d);var x,k,E=(x=w,k=s,d?new r.rdf.Statement(x,v.predicate,k):new r.rdf.Statement(k,v.predicate,x));return w.label=w.label.slice(0,1).toUpperCase()+w.label.slice(1),n&&(l.constraints[w]=new function(e){return this.describe=function(t){return t+" = "+e.toNT()},this.test=function(t){return e.sameTerm(t)},this}(y)),r.log.info("Pattern: "+E),E.tr=t,t.AJAR_pattern=E,t.AJAR_variable=w,r.log.debug("Query pattern: "+E),l.statements.push(E),w}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=o(n(289)),a=o(n(290));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r){e.properties[t]||(e.properties[t]=[]),e.properties[t].push(n),r&&(e.defaults[t]=n)}t.default=function(e){var t={properties:[],defaults:[],classes:[]},n=(0,i.default)(e),o=(0,a.default)(e);return s(t,r.ns.foaf("depiction").uri,n,!0),s(t,r.ns.foaf("img").uri,n,!0),s(t,r.ns.foaf("thumbnail").uri,n,!0),s(t,r.ns.foaf("logo").uri,n,!0),s(t,r.ns.schema("image").uri,n,!0),s(t,r.ns.foaf("mbox").uri,o,!0),t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}i.default=e,n&&n.set(e,i);return i}(n(0));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}t.default=function(e){return function(t){var n=i.utils.AJARImage(t.uri,i.utils.label(t),i.utils.label(t),e);return n.setAttribute("class","outlineImage"),n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return function(t){var n=e.createElement("a"),r="NamedNode"===t.termType?t.uri:t.value,i=r.indexOf("mailto:");return r=i>=0?r.slice(i+7):r,n.setAttribute("href","mailto:"+r),n.appendChild(e.createTextNode(r)),n}}},function(e,t,n){"use strict";e.exports=function(e){e(n(292)),e(n(303)),e(n(305)),e(n(308)),e(n(310)),e(n(377)),e(n(375)),e(n(315)),e(n(335)),e(n(336)),e(n(337));var t=n(338);t.longChatPane?(e(t.longChatPane),e(t.shortChatPane)):e(t),e(n(341)),e(n(343)),e(n(344)),e(n(346)),e(n(347)),e(n(348)),e(n(349)),e(n(350)),e(n(351)),e(n(353)),e(n(354)),e(n(355)),e(n(357)),e(n(358)),e(n(360)),e(n(361)),e(n(362)),e(n(363)),e(n(364)),e(n(365)),e(n(366)),e(n(367)),e(n(368)),e(n(369)),e(n(370))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(40),o=n(293),s=n(0);var u={global:!1,icon:s.icons.iconBase+"noun_15059.svg",name:"profile",label:function(e,t){var n=t.session.store.findTypeURIs(e);return n[s.ns.vcard("Individual").uri]||n[s.ns.foaf("Person").uri]||n[s.ns.schema("Person").uri]?"Profile":null},render:function(e,t){var n=t.dom.createElement("div");return function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return(n=e.each(t,s.ns.rdfs("seeAlso"),null,t.doc())).length>0?[4,e.fetcher.load(n)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))}(t.session.store,e).then((function(){return(0,a.render)((0,o.ProfileView)(e,t),n)})),n}};t.default=u},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ProfileView=void 0;var a,o=n(40),s=n(80),u=n(81),l=n(294),c=n(295),d=n(296),p=n(298),f=n(299),h=n(300),m=n(301);t.ProfileView=function(e,t){var n=(0,d.presentProfile)(e,t.session.store),g=(0,p.presentCV)(e,t.session.store),v={grid:(0,s.styleMap)(i(i(i({},(0,u.responsiveGrid)()),(0,u.paddingSmall)()),{background:"radial-gradient(circle, ".concat(n.backgroundColor," 80%, ").concat(n.highlightColor," 100%)")})),card:(0,s.styleMap)((0,u.card)()),chat:(0,s.styleMap)(i(i({},(0,u.card)()),(0,u.padding)()))};return(0,o.html)(a||(a=r(['\n <div style="','">\n <div>\n <div data-testid="profile-card" style="','">\n ',"\n ",'\n </div>\n </div>\n <div data-testid="friend-list" style="','">\n ','\n </div>\n <div data-testid="curriculum-vitae" style="','">\n ','\n </div>\n <div style="','">',"</div>\n\n </div>\n "],['\n <div style="','">\n <div>\n <div data-testid="profile-card" style="','">\n ',"\n ",'\n </div>\n </div>\n <div data-testid="friend-list" style="','">\n ','\n </div>\n <div data-testid="curriculum-vitae" style="','">\n ','\n </div>\n <div style="','">',"</div>\n\n </div>\n "])),v.grid,v.card,(0,f.ProfileCard)(n),(0,m.addMeToYourFriendsDiv)(e,t),v.card,(0,c.FriendList)(e,t),v.card,(0,h.CVCard)(n,g),v.chat,(0,l.ChatWithMe)(e,t))}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},o=this&&this.__await||function(e){return this instanceof o?(this.v=e,this):new o(e)},s=this&&this.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=i[e](t)).value instanceof o?Promise.resolve(n.value.v).then(l,c):d(a[0][2],n)}catch(e){d(a[0][3],e)}var n}function l(e){u("next",e)}function c(e){u("throw",e)}function d(e,t){e(t),a.shift(),a.length&&u(a[0][0],a[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatWithMe=void 0;var u,l=n(40),c=n(0),d=n(379),p=n(158);t.ChatWithMe=function(e,t){var n=t.session.logic,f=t.session.paneRegistry.byName("long chat");return(0,l.html)(u||(u=r([" "," "],[" "," "])),(0,d.asyncReplace)(function(){return s(this,arguments,(function(){var r,s,u,l=this;return a(this,(function(d){switch(d.label){case 0:r=t.dom.createElement("div"),d.label=1;case 1:return d.trys.push([1,5,,6]),[4,o(p.loadingMessage)];case 2:return[4,d.sent()];case 3:return d.sent(),[4,o(n.chat.getChat(e,!1))];case 4:return s=d.sent(),[3,6];case 5:return d.sent(),s=!1,[3,6];case 6:return s?(r.appendChild(f.render(s,t,{})),[4,o(r)]):[3,9];case 7:return[4,d.sent()];case 8:return d.sent(),[3,12];case 9:return u=c.widgets.button(t.dom,void 0,p.chatWithMeButtonText,(function(){return i(l,void 0,void 0,(function(){var i,o;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,n.chat.getChat(e)];case 1:return i=a.sent(),r.innerHTML="",r.appendChild(f.render(i,t,{})),[3,3];case 2:return o=a.sent(),r.appendChild(c.widgets.errorMessageBlock(t.dom,o.message)),[3,3];case 3:return[2]}}))}))}),{needsBorder:!0}),r.appendChild(u),[4,o(r)];case 10:return[4,d.sent()];case 11:d.sent(),d.label=12;case 12:return[2]}}))}))}()))}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0}),t.FriendList=void 0;var i=n(0),a=n(40),o=n(80),s=n(81),u={root:(0,o.styleMap)((0,s.padding)()),heading:(0,o.styleMap)((0,s.headingLight)())};t.FriendList=function(e,t){return(0,a.html)(l||(l=r(["\n <div style=",">\n <h3 style=",">Friends</h3>\n ","\n </div>\n"],["\n <div style=",">\n <h3 style=",">Friends</h3>\n ","\n </div>\n"])),u.root,u.heading,d(e,t))};var l,c,d=function(e,t){var n=t.dom,r=n.createElement("div");return i.widgets.attachmentList(n,e,r,{doc:e.doc(),modify:!1,predicate:i.ns.foaf("knows"),noun:"friend"}),""===r.textContent?p(n,"You have no friends in your list yet"):r},p=function(e,t){return(0,a.html)(c||(c=r(['\n <div id="no-friends" style=',">","</div>\n"],['\n <div id="no-friends" style=',">","</div>\n"])),u.root,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presentProfile=t.pronounsAsText=void 0;var r=n(0),i=n(113),a=n(297);function o(e){var t=r.store.anyJS(e,r.ns.solid("preferredSubjectPronoun"))||"";if(t){var n=r.store.anyJS(e,r.ns.solid("preferredObjectPronoun"));if(n){t+="/"+n;var i=r.store.anyJS(e,r.ns.solid("preferredRelativePronoun"));i&&(t+="/"+i)}t=" ("+t+") "}return t||""}t.pronounsAsText=o;function s(e,t){return e&&t?"".concat(t,", ").concat(e):e||t||null}function u(e,t){return e&&t?"".concat(e," at ").concat(t):t||e||null}function l(e,t){return e&&(0,a.validateHTMLColorHex)(e)?e:t}t.presentProfile=function(e,t){var n=r.utils.label(e),a=(0,i.findImage)(e),c=t.anyValue(e,r.ns.vcard("role")),d=t.anyValue(e,r.ns.vcard("organization-name")),p=t.any(e,r.ns.vcard("hasAddress")),f=null!=p?t.anyValue(p,r.ns.vcard("country-name")):null,h=null!=p?t.anyValue(p,r.ns.vcard("locality")):null,m=function(e,t){var n=t.anyValue(e,r.ns.solid("profileBackgroundColor"),null,e.doc()),i=t.anyValue(e,r.ns.solid("profileHighlightColor"),null,e.doc());return{backgroundColor:l(n,"#eee"),highlightColor:l(i,"#090")}}(e,t),g=m.backgroundColor,v=m.highlightColor,y=o(e);return{name:n,imageSrc:a,introduction:u(c,d),location:s(f,h),backgroundColor:g,pronouns:y,highlightColor:v}}},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"validateHTMLColorName",(function(){return o})),n.d(t,"validateHTMLColorSpecialName",(function(){return s})),n.d(t,"validateHTMLColorHex",(function(){return u})),n.d(t,"validateHTMLColorRgb",(function(){return l})),n.d(t,"validateHTMLColorHsl",(function(){return p})),n.d(t,"validateHTMLColorHwb",(function(){return f})),n.d(t,"validateHTMLColorLab",(function(){return h})),n.d(t,"validateHTMLColor",(function(){return m}));const r=e=>e&&"string"==typeof e,i=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenrod","DarkGray","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","Goldenrod","Gray","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenrodYellow","LightGray","LightGreen","LightPink","LightSalmon","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquamarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenrod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],a=["currentColor","inherit","transparent"],o=e=>{let t=!1;return r(e)&&i.map(n=>(e.toLowerCase()===n.toLowerCase()&&(t=!0),null)),t},s=e=>{let t=!1;return r(e)&&a.map(n=>(e.toLowerCase()===n.toLowerCase()&&(t=!0),null)),t},u=e=>{if(r(e)){const t=/^#([\da-f]{3}){1,2}$|^#([\da-f]{4}){1,2}$/i;return e&&t.test(e)}},l=e=>{if(r(e)){const t=/(rgb)a?\((\s*\d+%?\s*?,?\s*){2}(\s*\d+%?\s*?,?\s*\)?)(\s*,?\s*\/?\s*(0?\.?\d+%?\s*)?|1|0)?\)$/i;return e&&t.test(e)}},c="(([0-9]|[1-9][0-9]|100)%)",d=`\\s*?\\)?)(\\s*?(\\/?)\\s+(((${c}))|(0?(\\.\\d+)?)|1))?\\s*?\\)$`,p=e=>{if(r(e)){const t=new RegExp(`(hsl)a?\\((\\s*?((-?([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9]|360)(deg)?)|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-9][0-9]|400)gra)|((([0-5])?\\.\\d+|6\\.([0-9]|1[0-9]|2[0-8])|[0-6])rad)|((0?(\\.\\d+)?|1)turn))((\\s*,\\s*)|(\\s+)))(\\s*?(0|${c})((\\s*,\\s*)|(\\s+)))(\\s*?(0|${c})\\s*?\\)?)(\\s*?(\\/?|,?)\\s*?(((${c}))|(0?(\\.\\d+)?)|1))?\\)$`);return e&&t.test(e)}},f=e=>{if(r(e)){const t=new RegExp(`(hwb\\(\\s*?(-?([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9]|360)(deg)?)\\s+)((0|${c})\\s+)((0|${c})${d}`);return e&&t.test(e)}},h=e=>{if(r(e)){const t="(-?(([0-9]|[1-9][0-9]|1[0-5][0-9])(\\.\\d+)??|160))",n=new RegExp(`(lab\\(\\s*?((\\d*(\\.\\d+)?)%)\\s+${t}\\s+${t}${d}`);return e&&n.test(e)}},m=e=>!!(e&&u(e)||l(e)||p(e)||f(e)||h(e));t.default=e=>!!(e&&u(e)||o(e)||s(e)||l(e)||p(e)||f(e)||h(e))}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presentCV=t.datesAsText=t.languageAsText=t.skillAsText=t.typesOfRole=void 0;var r=n(4),i=n(0),a=(0,r.Namespace)("http://www.w3.org/ns/org#");function o(e,t){if("Literal"===t.termType)return t.value;var n=e.anyJS(t,i.ns.solid("publicId"));if(n){var r=e.anyJS(n,i.ns.schema("name"));if(r)return r}var a=e.anyJS(t,i.ns.vcard("role"));return a||"¿¿¿ skill ???"}function s(e,t){if("Literal"===t.termType)return t.value;var n=e.anyJS(t,i.ns.solid("publicId"));return n?i.utils.label(n,!0):"_"}function u(e,t){return e?"("+e.value.slice(0,4)+"-"+(t?t.value.slice(0,4):"")+")":""}t.typesOfRole=["PastRole","CurrentRole","FutureRole"],t.skillAsText=o,t.languageAsText=s,t.datesAsText=u,t.presentCV=function(e,n){for(var r=function(e,n){for(var r={PastRole:[],CurrentRole:[],FutureRole:[]},o=0,s=e.each(null,a("member"),n,null);o<s.length;o++){var l=s[o],c=void 0,d=void 0,p=void 0,f=void 0,h=void 0,m=e.any(l,i.ns.schema("startDate")),g=e.any(l,i.ns.schema("endDate")),v=u(m,g),y=e.any(l,a("organization"));y&&(d=e.anyJS(y,i.ns.schema("name")),c=e.any(y,i.ns.schema("uri")),h=e.any(y,i.ns.solid("publicId"))),h&&(p=e.anyJS(h,i.ns.schema("name")));var b=p||d,w=e.any(l,a("role"));w&&(f=e.anyJS(w,i.ns.schema("name")));for(var x=e.anyJS(l,i.ns.vcard("role")),k={startDate:m,endDate:g,orgName:b,roleText:x&&f?f+" - "+x:x||f,dates:v,orgHomePage:c},E=0,C=t.typesOfRole;E<C.length;E++){var _=C[E];e.holds(l,i.ns.rdf("type"),i.ns.solid(_))&&r[_].push(k)}}return r}(n,e),l=0,c=t.typesOfRole;l<c.length;l++){r[c[l]].sort((function(e,t){return e.endDate&&t.endDate?e.endDate>t.endDate?-1:1:e.startDate>t.startDate?-1:1}))}var d=n.each(e,i.ns.schema("skills")).map((function(e){return o(n,e)})),p=n.anyJS(e,i.ns.schema("knowsLanguage")),f=[];return p&&(f=p.map((function(e){return s(n,e)}))),{rolesByType:r,skills:d,languages:f}}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ProfileCard=void 0;var a=n(40),o=n(80),s=n(81),u={image:(0,o.styleMap)((0,s.fullWidth)()),intro:(0,o.styleMap)(i(i({},(0,s.textGray)()),(0,s.textCenter)())),info:(0,o.styleMap)((0,s.padding)())};t.ProfileCard=function(e){var t=e.name,n=e.imageSrc,c=e.introduction,d=e.location,h=e.pronouns,m=e.highlightColor,g=(0,o.styleMap)(i(i({},(0,s.heading)()),{"text-decoration":"underline","text-decoration-color":m}));return(0,a.html)(l||(l=r(["\n ","\n <div style=",">\n <h3 style=",">","</h3>\n <div style=",">\n "," "," ","\n </div>\n </div>\n "],["\n ","\n <div style=",">\n <h3 style=",">","</h3>\n <div style=",">\n "," "," ","\n </div>\n </div>\n "])),f(n,t),u.info,g,t,u.intro,p(c),p(d,"🌐"),p(h))};var l,c,d,p=function(e,t){return void 0===t&&(t=a.nothing),e?(0,a.html)(c||(c=r(["<p>"," ","</p>"],["<p>"," ","</p>"])),t,e):a.nothing},f=function(e,t){return e?(0,a.html)(d||(d=r(["<img style="," src="," alt="," />"],["<img style="," src="," alt="," />"])),u.image,e,t):a.nothing}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CVCard=void 0;var a,o,s,u,l,c,d,p,f,h,m,g,v,y=n(40),b=n(81),w=n(80),x={image:(0,w.styleMap)((0,b.fullWidth)()),intro:(0,w.styleMap)(i(i({},(0,b.textGray)()),(0,b.textCenter)())),card:(0,w.styleMap)({}),info:(0,w.styleMap)(i(i({},(0,b.paddingSmall)()),(0,b.textLeft)()))};function k(e){return(0,y.html)(l||(l=r(["","\n "," "],["","\n "," "])),(t=e[0])?(0,y.html)(o||(o=r(['<div style="margin-top: 0.3em; margin-bottom: 0.3em;">\n <b>',"</b>\n <span>","</span>\n <span>","</span>\n </div> "],['<div style="margin-top: 0.3em; margin-bottom: 0.3em;">\n <b>',"</b>\n <span>","</span>\n <span>","</span>\n </div> "])),t.orgName,t.roleText,t.dates):(0,y.html)(s||(s=r([""],[""]))),e.length>1?k(e.slice(1)):(0,y.html)(u||(u=r([""],[""]))));var t}t.CVCard=function(e,t){var n=t.rolesByType,o=t.skills,s=t.languages,u=(0,w.styleMap)(i(i({},(0,b.heading)()),{color:e.highlightColor}));return(0,y.html)(a||(a=r(["\n <div style=",">\n <h3 style=",">Bio</h3>\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <div style=",">","</div>\n <div style=",">","</div>\n </div>\n "],["\n <div style=",">\n <h3 style=",">Bio</h3>\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <div style=",">","</div>\n <div style=",">","</div>\n </div>\n "])),x.info,u,x.info,k(n.CurrentRole),x.info,k(n.PastRole),x.info,k(n.FutureRole),x.info,function e(t){return(0,y.html)(f||(f=r(["","\n "," "],["","\n "," "])),(n=t[0],n?(0,y.html)(c||(c=r(['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "],['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "])),n):(0,y.html)(d||(d=r([""],[""])))),t.length>1?e(t.slice(1)):(0,y.html)(p||(p=r([""],[""]))));var n}(o),x.info,function e(t){return(0,y.html)(v||(v=r(["","\n "," "],["","\n "," "])),(n=t[0],n?(0,y.html)(h||(h=r(['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "],['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "])),n):(0,y.html)(m||(m=r([""],[""])))),t.length>1?e(t.slice(1)):(0,y.html)(g||(g=r([""],[""]))));var n}(s))}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.checkIfFriendExists=t.checkIfAnyUserLoggedIn=t.saveNewFriend=t.createAddMeToYourFriendsButton=t.addMeToYourFriendsDiv=void 0;var s=n(40),u=n(80),l=n(0),c=n(302),d=n(81),p=n(158),f=document.createElement("div"),h={button:(0,u.styleMap)(i(i({},(0,d.textCenter)()),(0,d.padding)()))};t.addMeToYourFriendsDiv=function(e,t){f=t.dom.createElement("div");var n=g(e,t);return f.appendChild(n),(0,s.html)(m||(m=r([' <div style="','">',"</div> "],[' <div style="','">',"</div> "])),h.button,f)};var m,g=function(e,t){var n=l.widgets.button(t.dom,void 0,p.logInAddMeToYourFriendsButtonText,(function(n){n.preventDefault(),v(e,t).then((function(){(0,c.clearPreviousMessage)(f),(0,c.mention)(f,p.friendWasAddedSuccesMessage),r()})).catch((function(e){(0,c.clearPreviousMessage)(f),(0,c.complain)(f,t,e)}))}),{needsBorder:!0});function r(){var r=l.authn.currentUser(),i=t.session.store;y(r)?b(i,r,e).then((function(e){e?(n.innerHTML=p.friendExistsAlreadyButtonText.toUpperCase(),n.setAttribute("class","textButton-0-1-3")):(n.innerHTML=p.addMeToYourFriendsButtonText.toUpperCase(),n.setAttribute("class","textButton-0-1-2"))})):(n.innerHTML=p.logInAddMeToYourFriendsButtonText.toUpperCase(),n.setAttribute("class","textButton-0-1-3"))}return n.refresh=r(),n};function v(e,t){return a(this,void 0,void 0,(function(){var n,r,i,a,s,u;return o(this,(function(o){switch(o.label){case 0:return n=l.authn.currentUser(),r=t.session.store,y(n)?[4,b(r,n,e)]:[3,9];case 1:return o.sent()?[3,7]:[4,r.fetcher.load(n)];case 2:o.sent(),i=r.updater,a=[l.rdf.st(n,l.ns.foaf("knows"),e,n.doc())],o.label=3;case 3:return o.trys.push([3,5,,6]),[4,i.update([],a)];case 4:return o.sent(),[3,6];case 5:throw s=o.sent(),(u=s).toString().includes("Unauthenticated")&&(u=p.userNotLoggedInErrorMessage),new Error(u);case 6:return[3,8];case 7:throw new Error(p.friendExistsMessage);case 8:return[3,10];case 9:throw new Error(p.userNotLoggedInErrorMessage);case 10:return[2]}}))}))}function y(e){return!!e}function b(e,t,n){return a(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return[4,e.fetcher.load(t)];case 1:return r.sent(),0===e.whether(t,l.ns.foaf("knows"),n,t.doc())?[2,!1]:[2,!0]}}))}))}t.createAddMeToYourFriendsButton=g,t.saveNewFriend=v,t.checkIfAnyUserLoggedIn=y,t.checkIfFriendExists=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearPreviousMessage=t.mention=t.complain=void 0;var r=n(0);t.complain=function(e,t,n){e.appendChild(r.widgets.errorMessageBlock(t.dom,n))},t.mention=function(e,t){var n=document.createElement("div");n.setAttribute("style","margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; background-color: #efe; color:black;"),n.innerHTML=t,e.appendChild(n)},t.clearPreviousMessage=function(e){for(;e.childNodes.length>1;)e.removeChild(e.lastChild)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=n(4),a=n(304),o=r.style.highlightColor||"#7C4DFF",s={global:!0,icon:r.icons.iconBase+"noun_492246.svg",name:"editProfile",label:function(){return null},render:function(e,t){var n=t.dom,s=t.session.store;function u(e,t){e||c.appendChild(r.widgets.errorMessageBlock(n,t,"#fee"))}var l,c=n.createElement("div");c.setAttribute("style","border: 0.3em solid ".concat(o,"; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;"));var d=c.appendChild(n.createElement("table")),p=d.appendChild(n.createElement("tr")),f=d.appendChild(n.createElement("tr")).appendChild(n.createElement("div"));function h(e){var t=p.appendChild(n.createElement("p"));return t.setAttribute("style","padding: 1em;"),t.textContent=e,t}function m(e){var t=p.appendChild(n.createElement("h3"));return t.setAttribute("style","color:"+o+";"),t.textContent=e,t}f.setAttribute("style","padding: 0.7em;");var g={dom:n,div:p,statusArea:f,me:null};return r.authn.logInLoadProfile(g).then((function(e){var o=e.me;m("Edit your public profile");var c=o.doc();if(!s.updater)throw new Error("Store has no updater");if(s.any(o,r.ns.solid("editableProfile")))l=s.any(o,r.ns.solid("editableProfile"));else{if(!s.updater.editable(c.uri,s))return void f.appendChild(r.widgets.errorMessageBlock(n,"⚠️ Your profile ".concat(c," is not editable, so we cannot do much here."),"straw"));l=c}h("Everything you put here will be public.\n There will be other places to record private things."),m("Your contact information"),p.appendChild((0,a.paneDiv)(t,o,"contact")),m("People you know who have WebIDs"),h("This is your public social network.\n Only put people here to whom you are happy to be publicly connected.\n (You can always keep private track of friends and family in your contacts.)"),l&&h("Drag people onto the target below to add people."),r.widgets.attachmentList(n,o,p,{doc:c,modify:!!l,predicate:r.ns.foaf("knows"),noun:"friend"}),function(e,t){var a=(0,i.sym)("https://solid.github.io/solid-panes/dashboard/profileStyle.ttl#this"),o=a.doc();s.holds(void 0,void 0,void 0,o)||(0,i.parse)('# 20210404a\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n\n@prefix org: <http://www.w3.org/ns/org#>.\n@prefix esco: <http://data.europa.eu/esco/model#>.\n@prefix wd: <http://www.wikidata.org/entity/>.\n@prefix wdt: <http://www.wikidata.org/prop/direct/>.\n\n@prefix : <#>.\n\n:this\n <http://purl.org/dc/elements/1.1/title> "Profile form" ;\n a ui:Form ;\n # ui:part :backgroundColor, :highlightColor;\n ui:parts (\n :styleGroup\n :nicknameField\n :pronounsForm\n :LanguagesPrompt :LanguagesForm\n :CVGroup\n :SkillsPrompt :SkillsForm\n ).\n\n:styleGroup a ui:Group; ui:weight 0; ui:parts ( :styleHeading :backgroundColor :highlightColor ).\n :styleHeading a ui:Heading; ui:contents "The style of your public profile.".\n :backgroundColor a ui:ColorField; ui:property solid:profileBackgroundColor;\n ui:label "Background color"; ui:default "#ffffff".\n :highlightColor a ui:ColorField; ui:property solid:profileHighlightColor;\n ui:label "Highlight color"; ui:default "#000000".\n\n# Nickname\n\n:nicknameField a ui:SingleLineTextField; ui:size 12; ui:property foaf:nick;\n ui:label "Short name for chats, etc."@en, "nom court"@fr.\n\n # Pronouns\n\n :pronounsForm a ui:Group; ui:weight 0; ui:parts ( :pronounsPrompt :subjectPronounForm :objectPronounForm :relativePronounForm) .\n\n :pronounsPrompt a ui:Comment; ui:contents "What are your pronouns?" .\n\n :subjectPronounForm a ui:SingleLineTextField; ui:property solid:preferredSubjectPronoun;\n ui:size 10; ui:label "he/she/they..." .\n :objectPronounForm a ui:SingleLineTextField; ui:property solid:preferredObjectPronoun;\n ui:size 10; ui:label "him/her/them..." .\n :relativePronounForm a ui:SingleLineTextField; ui:property solid:preferredRelativePronoun;\n ui:size 10; ui:label "his/hers/theirs..." .\n\n # Curriculum Vitae: membership of organizations\n\n :CVHeading a ui:Heading; ui:contents "Public Curriculum Vitae".\n :CVPrompt a ui:Comment; ui:contents "What organizations have you been involved with?" .\n\n :CVGroup a ui:Group; ui:weight 1; ui:parts ( :CVHeading :CVPrompt :involvementWithOrganizationsForm ).\n\n\n solid:Role a rdfs:Class; owl:oneOf ( solid:CurrentRole solid:FormerRole solid:FutureRole ). # Future Role too?\n\n org:member owl:inverse [ ui:label "involvement with company, org etc" ]. # timelimited involvement\n\n :involvementWithOrganizationsForm a ui:Multiple;\n ui:label "Involvement with Organization";\n ui:property org:member; ui:reverse true; # link back from role to member\n ui:ordered false; # Allow user to order CV secions rather than force date order? No.\n ui:part :RoleMembershipForm.\n\n# This is a big important form for one of a series of roles in the list.\n\n :RoleMembershipForm a ui:Group; ui:weight 3; ui:parts ( :MembershipFormHeading :roleNameField\n :escoOccupationField :orgField :RoleClassifier :RoleDatesForm :RoleDescriptionForm).\n\n :MembershipFormHeading a ui:Heading; ui:contents "Details of this role"@en, "Détailes de ce rôle"@fr .\n\n :orgField a ui:Choice; ui:label "Organization"@en, "Organization"@fr;\n ui:canMintNew true; ui:use :OrganizationCreationForm ;\n ui:property org:organization;\n ui:from vcard:Organization .\n :roleNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 60 .\n\n :escoOccupationField a ui:AutocompleteField;\n ui:label "occupation"; ui:size 60;\n ui:property org:role;\n ui:dataSource :ESCO_Occupation_DataSource;\n ui:targetClass schema:Occupation .\n\n :ESCO_Occupation_DataSource a ui:DataSource;\n schema:name "ESCO";\n ui:targetClass schema:Occupation ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI "https://ec.europa.eu/esco/api/search?language=$(language)&type=occupation&text=$(name)".\n\n :instituteIdentityField a ui:AutocompleteField; ui:label "in wikidata";\n ui:size 60;\n ui:property solid:publicId; ui:dataSource :WikidataOnOrganizations.\n\n :WikidataOnOrganizations a ui:DataSource ;\n schema:name "Wikidata";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:targetClass <http://www.wikidata.org/entity/Q43229>; # Use if nothing else\n ui:searchByNameQuery """SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, "$(name)", "i")\n } LIMIT $(limit) """ .\n\n :WikidataOnOrganizations ui:classMap\n [ ui:internalClass schema:Corporation; ui:externalClass <http://www.wikidata.org/entity/Q6881511>], #Enterprise is for-profit\n [ ui:internalClass schema:EducationalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q178706>], #insitution\n [ ui:internalClass schema:ResearchOrganization; ui:externalClass <http://www.wikidata.org/entity/Q31855>], # reearch insitutie\n [ ui:internalClass schema:GovernmentOrganization; ui:externalClass <http://www.wikidata.org/entity/Q327333>], #government agency\n [ ui:internalClass schema:MedicalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4287745>],\n [ ui:internalClass schema:MusicGroup; ui:externalClass <http://www.wikidata.org/entity/Q32178211>], #music organization\n [ ui:internalClass schema:NGO; ui:externalClass <http://www.wikidata.org/entity/Q163740>], #nonprofit organization @@\n [ ui:internalClass schema:Occupation; ui:externalClass <http://www.wikidata.org/entity/Q28640>], # superclass: Profession\n [ ui:internalClass schema:Organization; ui:externalClass <http://www.wikidata.org/entity/Q43229>], # Superclass; Organization\n [ ui:internalClass schema:Project; ui:externalClass <http://www.wikidata.org/entity/Q170584>],\n [ ui:internalClass schema:SportsOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4438121>] .\n\n\n# eposodes in one\'s career - Roles\n\nsolid:Role owl:disjointUnionOf ( solid:PastRole solid:CurrentRole solid:FutureRole ) .\nsolid:PastRole a rdfs:Class; rdfs:label "former role"@en, "ancien rôle"@fr, "vergangene Rolle"@de, "rol anterior"@es .\nsolid:CurrentRole a rdfs:Class; rdfs:label "current role"@en, "rôle actuel"@fr, "momentane Rolle"@de , "rol actual"@es .\nsolid:FutureRole a rdfs:Class; rdfs:label "future role"@en, "rôle à venir"@fr, "zukünftige Rolle"@de, "rol futuro"@es .\n\n:RoleDatesGroup a ui:Group; ui:weight 0; ui:parts ( :RoleClassifier :RoleDatesForm ) .\n :RoleClassifier a ui:Classifier; ui:label "What sort of role?"@en;\n ui:category solid:Role .\n\n :RoleDatesForm a ui:Options; ui:dependingOn rdf:type; ui:case\n [ ui:for solid:PastRole; ui:use :TwoDateForm ],\n [ ui:for solid:CurrentRole; ui:use :StartDateForm ],\n [ ui:for solid:FutureRole; ui:use :StartDateForm ].\n\n :StartDateForm a ui:DateField; ui:label "start"@en,"début"@fr;\n ui:property schema:startDate .\n :TwoDateForm a ui:Group; ui:weight 0; ui:parts ( :StartDateForm :EndDateForm ) .\n :EndDateForm a ui:DateField; ui:label "end"@en,"fin"@fr;\n ui:property schema:endDate .\n\n:RoleDescriptionForm a ui:MultiLineTextField; ui:property schema:description;\n ui:label "Describe your role" .\n\n# Organizations\n\n vcard:Organization ui:creationForm :OrganizationCreationForm .\n\n# Ontology data to drive the classifier\n\nsolid:InterestingOrganization owl:disjointUnionOf (\n# Airline - a Corporation\n# Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization # Proposed. https://github.com/schemaorg/schemaorg/issues/2877\n# FundingScheme - eh?\n schema:GovernmentOrganization\n# LibrarySystem\n# LocalBusiness - Corporation\n# MedicalOrganization - a Corporation or a NGO\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\nschema:PerformingGroup # a band\nschema:Project # like Solid\nschema:SportsOrganization # a Team\nsolid:OtherOrganization\n ) .\n\n# This until the schema.org ontology adopts it\nschema:ResearchOrganization a rdfs:Class; rdfs:label "Research Organization"@en, "Organization de Recherche"@fr ,\n "organización de investigación"@es, "منظمة البحث"@ar, "अनुसंधान संगठन"@hi, "Forschungsorganisation"@de, "shirika la utafiti"@sw .\n\n :OrganizationCreationForm a ui:Form; schema:name "Form for editing an organization using public data" ;\n ui:parts ( :OrgClassifier :OrgSwitch :OrganizationNameField :homePageURIField ) .\n\n\n :OrgClassifier a ui:Classifier; ui:label "What sort of organization?"@en;\n ui:category solid:InterestingOrganization .\n\n :OrganizationNameField\n a ui:SingleLineTextField ;\n ui:label "Organization Name";\n ui:maxLength "200" ;\n ui:property schema:name ;\n ui:size 80 .\n\n :homePageURIField a ui:NamedNodeURIField; ui:size 80;\n ui:label "Home page URI"@en;\n ui:property schema:uri . # @@ ??\n\n :initituteTypeField a ui:Classifier;\n ui:label "What sort of organization";\n ui:category solid:InterestingOrganization .\n\n# Depending on the type of org, chose a different form\n\n :OrgSwitch a ui:Options; ui:dependingOn rdf:type;\n ui:case\n [ ui:for schema:Corporation; ui:use :CorporationForm ],\n [ ui:for schema:GovernmentOrganization; ui:use :GovernmentOrganizationForm ],\n [ ui:for schema:PerformingGroup; ui:use :PerformingGroupForm ],\n [ ui:for schema:Project; ui:use :ProjectForm ],\n [ ui:for schema:NGO; ui:use :NGOForm ],\n [ ui:for schema:EducationalOrganization; ui:use :EducationalOrganizationForm ],\n [ ui:for schema:ResearchOrganization; ui:use :ResearchOrganizationForm ],\n [ ui:for :SportsOrganization; ui:use :SportsOrganizationForm ],\n [ ui:for solid:OtherOrganization; ui:use :OtherOrganizationForm ].\n\n\n :CorporationForm a ui:Group; ui:weight 0; ui:parts ( :CorporationPrompt :CorporationAutocomplete ) .\n\n :CorporationPrompt a ui:Comment; ui:contents "Which corporation?".\n\n :CorporationAutocomplete a ui:AutocompleteField;\n a ui:AutocompleteField; ui:label "Corporation in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q6881511>; # Enterprise\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :WikidataInstancesByName a ui:DataSource ;\n schema:name "Wikidata instances by name";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:searchByNameQuery """SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, "$(name)", "i")\n } LIMIT $(limit) """ ;\n\n # Note this form of the query is very experimental\n ui:searchByName [ ui:construct { ?subject schema:name ?name } ;\n ui:where { ?klass wdt:P279 ?targetClass .\n ?subject wdt:P31 ?klass; rdfs:label ?name .\n };\n ].\n\n :GovernmentOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :GovernmentOrganizationPrompt :GovernmentOrganizationAutocomplete ) .\n\n :GovernmentOrganizationPrompt a ui:Comment; ui:contents "Which GovernmentOrganization?".\n\n :GovernmentOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "GovernmentOrganization in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q327333>; # GovernmentOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :EducationalOrganizationForm a ui:Group; ui:weight 1; ui:parts ( :EducationalOrganizationPrompt :EducationalOrganizationAutocomplete ) .\n\n :EducationalOrganizationPrompt a ui:Comment; ui:contents "Which Educational Organization?".\n\n :EducationalOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Educational Organization in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q2385804>; # EducationalOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ResearchOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :ResearchOrganizationPrompt :ResearchOrganizationAutocomplete ) .\n\n :ResearchOrganizationPrompt a ui:Comment; ui:contents "Which Research Organization?".\n\n :ResearchOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Research Insitute in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q31855>; # research institute\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :NGOForm a ui:Group; ui:weight 0; ui:parts ( :NGOPrompt :NGOAutocomplete ) .\n\n :NGOPrompt a ui:Comment; ui:contents "Which NGO?".\n\n :NGOAutocomplete\n a ui:AutocompleteField; ui:label "NGO in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q163740>; # Non-profit org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :PerformingGroupForm a ui:Group; ui:weight 0; ui:parts ( :PerformingGroupPrompt :PerformingGroupAutocomplete ) .\n\n :PerformingGroupPrompt a ui:Comment; ui:contents "Which PerformingGroup?".\n\n :PerformingGroupAutocomplete\n a ui:AutocompleteField; ui:label "PerformingGroup in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q32178211>; # Music Org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ProjectForm a ui:Group; ui:weight 0; ui:parts ( :ProjectPrompt :ProjectAutocomplete ) . # :ProjectAutocomplete - no: supress, as not in WD\n\n :ProjectPrompt a ui:Comment; ui:contents "Which Project?".\n\n :ProjectAutocomplete\n a ui:AutocompleteField; ui:label "Project in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q170584>; # Project\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :SportsOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :SportsOrganizationPrompt :SportsOrganizationAutocomplete ) .\n\n :SportsOrganizationPrompt a ui:Comment; ui:contents "Which Sports Organization?".\n\n :SportsOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "SportsOrganization in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q4438121>; # SportsOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :OtherOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :OrganizationNameField :homePageURIField ) .\n\n #################### Skills\n\n :SkillsPrompt a ui:Comment; ui:contents "Skills?" .\n\n :SkillsForm a ui:Multiple;\n ui:label "Skills";\n ui:property schema:skills;\n ui:ordered false; # Allow reader to order skills\n ui:part :SkillForm.\n\n :SkillForm a ui:Group; ui:weight 1; ui:parts ( :escoSkillField ).\n\n # :skillNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 30 .\n\n :escoSkillField a ui:AutocompleteField;\n ui:label "skill"; ui:size 30;\n ui:property solid:publicId;\n ui:dataSource :ESCO_Skill_DataSource;\n ui:targetClass schema:Skill .\n\n :ESCO_Skill_DataSource a ui:DataSource;\n schema:name "ESCO Skill";\n ui:targetClass esco:Skill ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI "https://ec.europa.eu/esco/api/search?language=$(language)&limit=$(limit)&type=skill&text=$(name)".\n\n# Language\n\n:LanguagesPrompt a ui:Comment; ui:contents "Languages?" .\n\n:LanguagesForm a ui:Multiple;\n ui:label "Languages";\n ui:property schema:knowsLanguage; # @@@\n ui:ordered true; # Allow user to order languages most important first.\n ui:part :LanguageForm.\n\n:LanguageForm a ui:Group; ui:weight 1; ui:parts ( :WikidataLanguageField ).\n\n :WikidataLanguageField a ui:AutocompleteField;\n ui:label "Language"; ui:size 30;\n ui:property solid:publicId; # @@\n ui:dataSource :WikidataLanguageDataSource;\n ui:targetClass schema:Language .\n\n :WikidataLanguageDataSource\n schema:name "Wikidata languages";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:objectURIBase <https://www.w3.org/ns/iana/language-code/>;\n # Add this to any literal string returned as ?subject\n\n ui:searchByNameQuery """SELECT ?item ?subject ?name\nWHERE\n{ ?item wdt:P305 ?subject .\n OPTIONAL {?item rdfs:label ?name}\n OPTIONAL {?item wdt:P1705 ?name}\n FILTER regex(?name, "$(name)", "i")\n FILTER regex(?subject, "^..$", "i")\n}""" .\n # Note we restrict code to two-letter codes with the second regex, so as to limit the deluge of languages\n # Hope there are not any important ones which have three-letter codes.\n # Omitted: SERVICE wikibase:label { bd:serviceParam wikibase:language "$(languages)". }\n\n\n# ENDS\n',s,o.uri,"text/turtle",(function(){return null})),r.widgets.appendForm(n,e,{},t,a,l,u)}(p,o),m("Thank you for filling your profile.")})).catch((function(e){f.appendChild(r.widgets.errorMessageBlock(n,e,"#fee"))})),c}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paneDiv=function(e,t,n){var r=e.session.paneRegistry.byName(n);if(!r){var i=e.dom.createElement("div");return i.innerText="Unable to load view: ".concat(n),i}var a=r.render(t,e);return a.setAttribute("style","border: 0.3em solid #444; border-radius: 0.5em"),a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=n(306);function a(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}function s(){return(s=o(regeneratorRuntime.mark((function e(t,n,a){var o,s,u,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.authn.logInLoadProfile({dom:t,div:n,statusArea:a,me:null});case 2:if(o=e.sent,s=o.me,u=s.doc(),r.store.updater){e.next=7;break}throw new Error("Store has no updater");case 7:if(l=r.store.updater.editable(u.uri,r.store),n.appendChild((0,i.createText)("h3","Manage your trusted applications")),l){e.next=12;break}return n.appendChild(r.widgets.errorMessageBlock(t,"Your profile ".concat(s.doc().uri," is not editable, so we cannot do much here."))),e.abrupt("return");case 12:n.appendChild((0,i.createText)("p","Here you can manage the applications you trust.")),c=(0,i.createApplicationTable)(s),n.appendChild(c),n.appendChild((0,i.createText)("h4","Notes")),n.appendChild((0,i.createContainer)("ol",[n.appendChild((0,i.createText)("li","Trusted applications will get access to all resources that you have access to.")),n.appendChild((0,i.createText)("li","You can limit which modes they have by default.")),n.appendChild((0,i.createText)("li","They will not gain more access than you have."))])),n.appendChild((0,i.createText)("p","Application URLs must be valid URL. Examples are http://localhost:3000, https://trusted.app, and https://sub.trusted.app."));case 18:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var u={global:!0,icon:"".concat(r.icons.iconBase,"noun_15177.svg"),name:"trustedApplications",label:function(){return null},render:function(e,t){var n=t.dom,i=n.createElement("div");i.classList.add("trusted-applications-pane"),i.setAttribute("style","border: 0.3em solid #418d99; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;");var a=i.appendChild(n.createElement("table")),o=a.appendChild(n.createElement("tr")),u=a.appendChild(n.createElement("tr")).appendChild(n.createElement("div"));return u.setAttribute("style","padding: 0.7em;"),function(e,t,n){return s.apply(this,arguments)}(n,o,u).catch((function(e){return u.appendChild(r.widgets.errorMessageBlock(n,e))})),i}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApplicationTable=function e(t){var n=c("table",{class:"results"}),r=d("tr",[p("th","Application URL"),p("th","Access modes"),p("th","Actions")]);return n.appendChild(r),i.store.each(t,i.ns.acl("trustedApp"),void 0,void 0).flatMap((function(e){return i.store.each(e,i.ns.acl("origin"),void 0,void 0).map((function(t){return{appModes:i.store.each(e,i.ns.acl("mode"),void 0,void 0),origin:t}}))})).sort((function(e,t){return e.origin.value<t.origin.value?-1:1})).forEach((function(e){var r=e.appModes,i=e.origin;return n.appendChild(l(t,i,r,a))})),n.appendChild(l(t,null,[i.ns.acl("Read")],a)),n;function a(){n.parentElement.replaceChild(e(t),n)}},t.createContainer=d,t.createText=p;var r=n(4),i=n(0),a=n(307);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n,o){var s={origin:t,appModes:n,formElements:{modes:[],origin:void 0}};return d("tr",[d("td",[d("form",[c("input",{class:"textinput",placeholder:"Write new URL here",value:t?t.value:""},{},(function(e){s.formElements.origin=e}))],{},{submit:u})]),d("td",[d("form",f(s),{},{submit:u})]),d("td",[d("form",t?[p("button","Update",{class:"controlButton",style:"background: LightGreen;"}),p("button","Delete",{class:"controlButton",style:"background: LightCoral;"},{click:function(t){var n;t.preventDefault();try{n=(0,r.sym)(s.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to remove trust from")}var o=(0,a.getStatementsToDelete)(n,e,i.store,i.ns);if(!i.store.updater)throw new Error("Store has no updater");i.store.updater.update(o,[],l)}})]:[p("button","Add",{class:"controlButton",style:"background: LightGreen;"})],{},{submit:u})])]);function u(t){var n;t.preventDefault();try{n=(0,r.sym)(s.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to trust")}var o=s.formElements.modes.filter((function(e){return e.checked})).map((function(e){return e.value})),u=(0,a.getStatementsToDelete)(s.origin||n,e,i.store,i.ns),c=(0,a.getStatementsToAdd)(n,(0,a.generateRandomString)(),o,e,i.ns);if(!i.store.updater)throw new Error("Store has no updater");i.store.updater.update(u,c,l)}function l(e,t,n){if(t)return o();console.error(e,n)}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=document.createElement(e);return r&&r(i),Object.keys(t).forEach((function(e){i.setAttribute(e,t[e])})),Object.keys(n).forEach((function(e){i.addEventListener(e,n[e])})),i}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=c(e,n,r,i);return t.forEach((function(e){return a.appendChild(e)})),a}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=c(e,n,r,i);return a.textContent=t,a}function f(e){var t=e.appModes,n=e.formElements;return["Read","Write","Append","Control"].map((function(e){return d("label",[c("input",s(s({type:"checkbox"},t.some((function(t){return t.value===i.ns.acl(e).value}))?{checked:""}:{}),{},{value:i.ns.acl(e).uri}),{},(function(e){return n.modes.push(e)})),p("span",e)])}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateRandomString=function(){return Math.random().toString(36).substr(2,5)},t.getStatementsToAdd=function(e,t,n,a,o){var s=new r.BlankNode("bn_".concat(t));return[(0,r.st)(a,o.acl("trustedApp"),s,a.doc()),(0,r.st)(s,o.acl("origin"),e,a.doc())].concat((u=n.map((function(e){return(0,r.sym)(e)})).map((function(e){return(0,r.st)(s,o.acl("mode"),e,a.doc())})),function(e){if(Array.isArray(e))return i(e)}(u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var u},t.getStatementsToDelete=function(e,t,n,r){return n.statementsMatching(null,r.acl("origin"),e).reduce((function(e,i){return e.concat(n.statementsMatching(t,r.acl("trustedApp"),i.subject)).concat(n.statementsMatching(i.subject))}),[])};var r=n(4);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.dashboardPane=void 0;var r=n(0),i=n(309),a={icon:r.icons.iconBase+"noun_547570.svg",name:"dashboard",label:function(e){return console.log(),e.uri===e.site().uri?"Dashboard":null},render:function(e,t){console.log("Dashboard Pane Render");var n=t.dom.createElement("div"),a=function(){n.innerHTML="",function(e,t,n,a){var o=new URL(window.location.href).searchParams.get("uri");if(t&&(o||t.site().uri===a.site().uri))return function(e,t){t.getOutliner(t.dom).getDashboard().then((function(t){return e.appendChild(t)}))}(e,n);(function(e,t){var n=document.createElement("div");e.appendChild(n);var a=n.attachShadow({mode:"open"}),o=document.createElement("link");o.rel="stylesheet",o.href="/common/css/bootstrap.min.css",a.appendChild(o),(0,i.generateHomepage)(t,r.store,r.store.fetcher).then((function(e){return a.appendChild(e)}))})(e,a)}(n,r.authn.currentUser()||null,t,e)};return r.authn.authSession.onLogin((function(){a()})),r.authn.authSession.onSessionRestore((function(){a()})),a(),n}};t.dashboardPane=a;var o=a;t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateHomepage=function(e,t,n){return s.apply(this,arguments)};var r=n(4),i=n(0);function a(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}function s(){return(s=o(regeneratorRuntime.mark((function e(t,n,r){var i,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(t,r);case 2:return i=e.sent,a=p(n,i),(o=document.createElement("div")).classList.add("container"),o.appendChild(l(i.uri,a)),o.appendChild(u(a)),e.abrupt("return",o);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(e){var t=document.createElement("section"),n=document.createElement("h2");n.innerText="Data",t.appendChild(n);var r=document.createElement("div");r.classList.add("list-group"),t.appendChild(r);var i=document.createElement("a");return i.classList.add("list-group-item"),i.href=window.document.location.href+"public/",i.innerText="View ".concat(e,"'s files"),r.appendChild(i),t}function l(e,t){var n=document.createElement("a");n.href=e,n.innerText=t;var r=document.createElement("span");r.innerText="'s Pod";var i=document.createElement("h1");return i.appendChild(n),i.appendChild(r),i}function c(e,t){return d.apply(this,arguments)}function d(){return(d=o(regeneratorRuntime.mark((function e(t,n){var i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.site().uri,a=(0,r.sym)("".concat(i,"profile/card#me")),e.next=4,n.load(a);case 4:return e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,t){return e.anyValue(t,i.ns.vcard("fn"),null,t.doc())||e.anyValue(t,i.ns.foaf("name"),null,t.doc())||new URL(t.uri).host.split(".")[0]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.basicPreferencesPane=void 0;var r=n(0),i=n(4);function a(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}var s={icon:r.icons.iconBase+"noun_Sliders_341315_000000.svg",name:"basicPreferences",label:function(e){return null},render:function(e,t){var n=t.dom,a=t.session.store;function s(e,t){e||u.appendChild(r.widgets.errorMessageBlock(n,t,"#fee"))}var u=n.createElement("div"),c=function(e,t){var n=h(e,t,"User types");n.appendChild(t.createElement("p")).innerText="Here you can self-assign user types to help the data browser know which views you would like to access.";var r=n.appendChild(t.createElement("a"));return r.href="https://github.com/solid/userguide/#role",r.innerText="Read more",n.appendChild(t.createElement("div"))}(u,n);function d(e,t){e=e.doc(),a.holds(void 0,void 0,void 0,e)||(0,i.parse)(t,a,e.uri,"text/turtle",null)}var p=a.sym("urn:uuid:93774ba1-d3b6-41f2-85b6-4ae27ffd2597#this");function f(){return(f=o(regeneratorRuntime.mark((function e(){var i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.authn.logInLoadPreferences({dom:n,div:u});case 2:if((i=e.sent).preferencesFile){e.next=6;break}return console.log("Not doing private class preferences as no access to preferences file. "+i.preferencesFileError),e.abrupt("return");case 6:r.widgets.appendForm(n,c,{},i.me,p,i.preferencesFile,s).style.borderStyle="none",(o=t.session.paneRegistry.byName("trustedApplications"))&&u.appendChild(o.render(null,t)),l(u,a,i.me,n);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return d(p,'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix : <#>.\n\n:this <http://purl.org/dc/elements/1.1/title> "Basic preferences" ;\n a ui:Form ;\n ui:part :categorizeUser, :privateComment, :personalInformationHeading;\n ui:parts ( :personalInformationHeading :privateComment :categorizeUser ).\n\n:personalInformationHeading a ui:Heading;\n ui:contents "Personal information".\n\n:privateComment a ui:Comment;\n ui:contents "This information is private.".\n\n:categorizeUser a ui:Classifier;\n ui:label "Level of user"; ui:property rdf:type ; ui:category solid:User.\n'),d(a.sym("urn:uuid:93774ba1-d3b6-41f2-85b6-4ae27ffd2597-ONT"),'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix schema: <http:/schema.org/>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix : <#>.\n\nsolid:User a rdfs:Class;\n rdfs:label "user"@en, "utilisateur"@fr;\n rdfs:comment """Any person who might use a Solid-based system""";\n rdfs:subClassOf foaf:Person, schema:Person, vcard:Individual.\n\n# Since these options are opt-in, it is a bit strange to have new users opt in\n# That they are new users - also we do not use this class for anything specific\n# yet\n# solid:NewUser a rdfs:Class;\n# rdfs:label "new user"@en;\n# rdfs:comment """A person who might use a Solid-based system who has a low\n# level of familiarity with technical details.""";\n# rdfs:subClassOf solid:User.\n\nsolid:PowerUser a rdfs:Class;\n rdfs:label "power user"@en;\n rdfs:comment """A person who might use a Solid-based system\n who is prepared to be given a more complex interface in order\n to be provided with more pwerful features.""";\n rdfs:subClassOf solid:User.\n\n solid:Developer a rdfs:Class;\n rdfs:label "Developer";\n rdfs:comment """Any person who might use a Solid-based system,\n who has software development skills.""";\n rdfs:subClassOf solid:User.\n'),function(){f.apply(this,arguments)}(),u}};t.basicPreferencesPane=s;var u=s;function l(e,t,n,i){var a=h(e,i,"Delete account"),s=t.each(n,r.ns.space("storage"),null,n.doc()).map((function(e){return e.value})),u=a.appendChild(i.createElement("ul"));s.forEach(function(){var e=o(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(t,i);case 2:(n=e.sent)&&u.appendChild(i.createElement("li")).appendChild(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}function c(e,t){return d.apply(this,arguments)}function d(){return(d=o(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=n.createElement("a")).textContent="Delete your account at ".concat(t),e.next=4,p(t);case 4:if("string"==typeof(i=e.sent)){e.next=7;break}return e.abrupt("return",null);case 7:return r.href=i,e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=o(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new URL(t),(r=new URL(t)).pathname=n.pathname="/account/delete",i=r.hostname.split("."),r.hostname=i.slice(1).join("."),e.next=7,fetch(r.href,{method:"HEAD"});case 7:if(!e.sent.ok){e.next=10;break}return e.abrupt("return",r.href);case 10:return e.next=12,fetch(n.href,{method:"HEAD"});case 12:if(!e.sent.ok){e.next=15;break}return e.abrupt("return",n.href);case 15:return e.abrupt("return",null);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e,t,n){var r=e.appendChild(t.createElement("div"));return r.style.border="0.3em solid #418d99",r.style.borderRadius="0.5em",r.style.padding="0.7em",r.style.marginTop="0.7em",r.appendChild(t.createElement("h3")).innerText=n,r}t.default=u},function(e,t){e.exports='\n# Issue tracking - Workflow application definition ontology\n#\n# Finite state automaton ontology\n#\n# See requirements for tracking tools http://www.w3.org/2005/01/06-tool-req.html\n#\n@keywords a, is, of.\n\n@prefix : <http://www.w3.org/2005/01/wf/flow#>.\n@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.\n\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix s: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n\n@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#> .\n@prefix log: <http://www.w3.org/2000/10/swap/log#> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .\n@prefix doap: <http://usefulinc.com/ns/doap#>.\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix dct: <http://purl.org/dc/terms/>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n\n<> dc:title "Issue Tracking Ontology";\n\n dct:creator <http://www.w3.org/People/Berners-Lee/card#i>;\n\n s:comment """This ontology defines a very general class (Task)\n which can used for any kind of bug tracking, issue tracking,\n to-do-list management, action items, goal dependency, and so on.\n It captures the state of a task as a subclass, so that\n subsumption can be used.\n It captures a discussion thread about a task.\n It captures subtasks structure if necessary.\n A "Tracker" defines actual set of states, categories, etc.,\n which a task can be in. The data about the tracker\n guides the software managing the task.\n\n There is some workflow modeling finite state machine\n terms which are optional for more complex definition\n of the transitions allowed.\n """.\n\nTask a s:Class;\n s:label "task"@en; owl:disjointUnionOf (Open Closed);\n s:comment """Something to be done in a wide sense,\n an agenda item at a meeting is one example, but any\n issue, task, action item, goal, product, deliverable, milestone, can such a thing.\n The requirement for this framework was that it would allow\n one to customize ontologies for things such as agenda items,\n action items, working group issues with a spec, w3c Last Call issues,\n software bugs and administrative requests.\n In π-calculus, a process.\n Make your type of issue a subclass of Task.\n """.\n\nOpen a s:Class; s:subClassOf Task;\n s:label "open"@en, "ouvert"@fr;\n ui:backgroundColor "#d6f5d6"; # green like github for some reason\n s:comment """A task which needs attention. The very crude states of Open and Closed all\n interoperability between different systems if the states for a given\n application are made subclasses of either Open or Closed. This allows\n tasks from different systems to be mixed and treated together with\n limited but valuable functionality.\n """.\n\nClosed a s:Class; s:subClassOf Task;\n s:label "closed"@en, "fermé"@fr;\n ui:backgroundColor "#f5d6d6"; # pink\n s:comment """A task which does not need attention. It may be closed because\n has been abandoned or completed, for example.\n """.\n\n\n ActionItem a s:Class;\n s:subClassOf Task;\n s:label "action item"@en; owl:disjointUnionOf (Open Closed);\n s:comment """An obligation taken on by a person, typically at a meeting.\n """.\n\n\ndescription a rdf:Property;\n s:label "description";\n s:comment """The description, definition,\n or abstract. Information explaining what this is.\n Not arbitrary comment about anything, only about the subject.\n (Use this property for anything. There is no domain restriction.).""".\n\ndependent a rdf:Property;\n s:label "how"; owl:inverseOf [ s:label "why"];\n s:domain Task; s:range Task;\n s:comment """Another task upon which this depends, in the sense that\n this task cannot be completed without that task being done.\n You can\'t use this for dependencies on anything other than other tasks.\n (Note the US spelling of the URI. In the UK, a dependant is a something\n which is dependent on somehing else.)""".\n\nassignee a rdf:Property;\n s:label "assigned to"; owl:inverseOf [s:label "assignment"];\n# s:domain Task;\n s:range foaf:Agent;\n s:comment """The person or group to whom this has been assigned.""".\n\n# use dct:modified\n#modified a rdf:Property;\n# s:label "last changed".\n\nmodifiedBy a rdf:Property;\n s:range foaf:Agent;\n s:label "changed by".\n\n# use dct:created instead\n#created a rdf:Property;\n# s:range xsd:dateTime;\n#\n# Use foaf:maker instead\n#creator a rdf:Property;\n# s:range foaf:Agent;\n# s:label "changed by".\n\nsubscriber a rdf:Property;\n s:label "subscriber";\n s:range foaf:Agent.\n\n\n################## Products\n#\n#\n# History: The Tracker system included a cocept of a product,\n# such that an action could be associated with *either* an issue *or* a product.\n# Noah Mendelsohn for the TAG needed to be able make\n# and to give products: Goals, scuuess criteria,\n# deliverables with dates, schedules, TAG members assigned, related issues.\n#\n\n\nProduct a s:Class; s:subClassOf Task;\n s:label "product";\n s:comment """A product is a task which monitors something\n which must be produced.""".\n\ndeliverable a rdf:Property; s:subPropertyOf dependent;\n s:range Product;\n s:label "deliverable"@en;\n s:comment """Something which must be delivered to accomplish this""".\n\ngoalDescription a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:string;\n s:label "goals";\n s:comment """A textual description of the goals of this product, etc.""".\n\nsuccessCriteria a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:string;\n s:label "success criteria";\n s:comment """A textual description of the successs critera.\n How when we know this is done?""".\n\ndateDue a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:date;\n s:label "due"@en;\n s:comment """The date this task is due.\n """.\n\n################## Attachments\n\nattachment a rdf:Property;\n s:label "attachment";\n s:comment """Something related is attached for information.""".\n\nscreenShot a rdf:Property; s:subPropertyOf attachment;\n s:label "screen shot"@en;\n s:comment """An image taken by capturing the state of a\n computer screen, for example to demonstrate a problem""".\n\ntestData a rdf:Property; s:subPropertyOf attachment;\n s:label "test data"@en;\n s:comment """A file which can be used as inpiut to a test\n or to demonstrate a problem. """.\n\n\nterminalOutput a rdf:Property; s:subPropertyOf attachment;\n s:label "terminal output"@en;\n s:comment """A file showing user interaction from a\n text terminal or console etc. """.\n\n\nmessage a rdf:Property; s:subPropertyOf attachment;\n s:label "message"@en;\n s:comment """A message about this. Attached for information.""".\n\n\nMessage a s:Class; s:label "message"@en.\nrecipent a rdf:Property; s:label "to"; s:domain Message; s:range foaf:Agent.\nsender a rdf:Property; s:label "from"; s:domain Message; s:range foaf:Agent.\n\n############################# A Tracker connects and manages issues\n\ntracker a rdf:Property;\n s:label "tracker";\n owl:inverseOf [ s:label "issue"];\n s:domain Task;\n s:range Tracker.\n\nTracker a s:Class;\n s:label "tracker";\n s:comment """A set of issues and\n the constraints on how they evolve.\n To use this ontology, craete a new tracker.\n Copy an existing one or make up your own.""".\n\nissueClass a rdf:Property;\n s:label "all issues must be in";\n s:domain Tracker;\n s:range s:Class, State;\n s:comment """The class of issues which are allowed in this tracker.\n This is essemtial to the operation of the tracker,\n as it defines which states an issue can be in.\n (The issueClass must be a disjointUnionOf the state classes)""".\n\nissueCategory a rdf:Property;\n s:label "issue category";\n s:domain Tracker;\n s:range s:Class;\n s:comment """Issues may be categorized according to the\n subclasses of this class""".\n\nstateStore a rdf:Property;\n s:label "state store";\n s:domain Tracker;\n s:range doc:Document;\n s:comment """A read-write document.\n The state of the issues is modified here.\n When you set up a trcaker, thgis must be set to point\n to a writeble data resource on the web.""".\n\ntransactionStore\n a rdf:Property;\n s:label "transaction store";\n s:domain Tracker;\n s:range doc:Document;\n s:comment """An appendable document. Transactions and messsages\n can be written into here""".\n\nasigneeClass\n a rdf:Property;\n s:label "assignees must be";\n s:domain Tracker;\n s:range s:Class; # Subclass of foaf:Agent\n s:comment """When an issue is assigned, the assignee must be from this class""".\n\ninitialState\n a rdf:Property;\n s:label "initial state"@en;\n s:label "état initial"@fr;\n s:domain Tracker;\n s:range State;\n s:comment """The initial state for a new issue""".\n\n# Use this to link a project to a tracker\ndoap:bug-database owl:inverseOf [ s:label "project"@en ].\n\n\n\n\n############################################################\n#\n# Finite state machines\n#\nChange a s:Class;\n s:label "change";\n s:comment """The universal class of things which\nchange the state of a task.\nIncluded now: Creation, Transition. (Maybe in the future\nmore π-calculus constructions such as splitting & merging tasks,\nand import/export of obligations to a foreign opaque system.)\n""".\n\nTransition a s:Class; s:subClassOf Change;\n s:label "transition";\n s:comment """A transition is a change of state of\na task. Typical properties include date and/or source\n(a document causing the transition), and a final state.""".\n\nCreation a s:Class; s:subClassOf Change;\n s:label "creation";\n s:comment """A creation is a change from existence\nto non-existence\na task. Typical properties include date and/or source\n(a document causing the transition), and a final state.""".\n\n\ndate s:range DateTime.\n\nfinal a rdf:Property;\n s:label "to";\n s:domain Transition;\n s:range State.\n\ntask a rdf:Property;\n s:range Task;\n s:label "task".\n\nrequires a rdf:Property;\n s:label "requires";\n s:domain Transition;\n s:range rdf:List; # Of properties for validation\n s:comment """To be a valid transition,\n a necessary (but not necessarily sufficuent) condition\n is that there be recorded these properties for the record""".\n\naffects a rdf:Property;\n s:label "affects";\n s:domain doc:Work;\n s:range Task.\n\n\n# { ?x a Transition; task ?t; source ?doc } => { ?doc affects ?t }.\n\n\ncreates a rdf:Property;\n s:label "creates";\n s:domain doc:Work;\n s:range Task.\n\n\nallowedTransitions a rdf:Property;\n s:domain State;\n s:range rdf:List; # @@@ of Action\n s:label "allowed transitions";\n s:comment """The state machine is defined\n by these lists of transition allowed for each issue.\n (An interesting option in the Web is to make an allowed transition\n to a state in soemone else\'s ontology, which in turn allows\n transitions into many ontologies. So a finite state maxchine\n may become very large. In practice this means that a task handed\n off to another organization may be processed on all kinds of ways.)""".\n\n# { ?x a TerminalState} => { ?x allowedTransitions () }.\n\nfinal a rdf:Property;\n s:label "to";\n s:range State.\n\nissue a rdf:Property;\n s:label "issue";\n s:comment\n """A transition changes the state of the given issue.""".\n\nsource a rdf:Property;\n s:label "source";\n s:comment """The source of a transition is\n the document by which it happened""";\n s:range doc:Work.\nTerminalState a s:Class;\n s:subClassOf State;\n s:label "terminal state";\n s:comment """A state from which there are no transitions.""".\n\nNonTerminalState a s:Class;\n s:label "non-terminal state";\n owl:disjointWith TerminalState;\n s:comment """A state from which there are transitions.""".\n\n######################################################\n\n#ends\n'},function(e,t){e.exports='\n# Ontology for user interface hints and forms\n#\n# See also related: the Fresnel language\n#\n@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#>.\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix r: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix s: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix tt: <http://dig.csail.mit.edu/2010/issues/track#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix : <http://www.w3.org/ns/ui#>.\n@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n\n@keywords is, of, a.\n\n<> dc:title "An ontology for User Interface description, Hints and Forms.";\n dc:description """The User Interface ontology allows the definition\n of forms for processing RDF model data, and include a bootstrap form for\n editing forms. It allows user interface hints such as background colors,\n can be associated with objects and classes.\n """;\n dc:created 2010-08-07;\n dc:license <https://creativecommons.org/publicdomain/zero/1.0/>;\n dc:modified """$Date: 2020/03/22 16:53:21 $""";\n dc:author <https://www.w3.org/People/Berners-Lee/card#i>.\n\nstyle a r:Property, owl:DatatypeProperty;\n s:label "style";\n prompt "CSS style";\n s:comment """Must be a valid CSS style string such as one could put in\n an HTML style attribute. Depending on the user interface system, this can\n by given to individuals, classes or properties. It is up to a user interface\n which wants to draw on them to pick how it uses styles from which parts\n of the data it has. For example, the style of a class may be picked\n to distinguish information about things in that class.""".\n\nbackgroundColor a r:Property, owl:DatatypeProperty;\n s:label "background color"@en;\n s:range ui:Color;\n s:comment """Must be a valid CSS color string such as one could put in\n an HTML style attribute. This should be in the #xxxxxx form,\n (with 6 digits of hex) so that it\n can work with Graphviz.""".\n\nbackgroundImage a r:Property, owl:DatatypeProperty;\n s:label "background image"@en;\n s:comment """URI or base64 representation of an image""".\n\ncolor a r:Property, owl:DatatypeProperty;\n s:label "color"@en;\n s:range ui:Color;\n s:comment """Must be a valid CSS color string such as one could put in\n an HTML style attribute. This should be in the #xxxxxx form,\n (with 6 digits of hex) so that it\n can work with Graphviz.""".\n\n\n\nsortPriority a r:Property, owl:DatatypeProperty;\n s:label "sort priority";\n s:range xsd:integer;\n s:comment """When individuals or classes must be sorted, then\n if they are given different values of sortPriority a user agent can\n use this as a hint to how to present information.""".\n\nsortBy a r:Property;\n s:label "sort by";\n s:domain s:Class;\n s:range r:Property;\n s:comment """A property which typically is used to sort\n members of a given class.""".\n\nseqeunce a r:Property;\n s:label "sequence number";\n s:range xsd:integer;\n s:comment """The sequence in which this item is arranged with repect to other parts.""".\n\ninitialProperties a r:Property;\n s:label "initial properties";\n s:domain s:Class;\n s:range r:List; # List of r:Property\n s:comment """A really simple way of enabling user interfaces to\n create new information about a class of things is to make a define of properties\n to be specified when a information about a new item\n ("New item" here means an item which the system\n does not have prvious information about yet,\n not an items which has just been created,\n like new friend as opposed to new baby)""";\n prompt "Properties to be specified for new ones".\n\ntableProperties a r:Property;\n s:domain s:Class;\n s:label "table properties";\n s:range r:List; # List of r:Property\n s:comment """This is a crude way of specifying a table-based\n view for objects of this class.""";\n prompt "Properties to be given in a default table view".\n\nprompt a r:Property;\n s:label "user prompt";\n s:comment """A string for the UI to use if the user needs a longer\n prompts than just a field name, the rdfs:label. """;\n ui:prompt "A longer prompt for a user inputting this property".\n\n\n# A Taxonomy of Field types\n\nui:Form owl:disjointUnionOf ( ui:ValueField ui:Group ui:Choice ui:Classifier ui:Options ui:Multiple ui:Heading ui:Comment);\n s:comment """A form can be any type of single field, or typically a Group of several fields,\n including interspersed headings and comments. """.\nui:Single owl:disjointUnionOf ( ui:ValueField ui:Group ui:Choice ui:Classifier ui:Options ui:Heading ui:Comment).\nui:ValueField owl:disjointUnionOf ( ui:TextField ui:NumericField ui:ColorField ui:DateField ui:DateTimeField ui:PhoneField ui:EmailField).\nui:NumericField owl:disjointUnionOf (ui:BooleanField ui:TriStateField ui:IntegerField ui:DecimalField ui:FloatField).\n# ui:Multiple owl:disjointUnionOf ( ui:ZeroOrMore ui:OneOrMore ).\nui:TextField owl:disjointUnionOf (ui:SingleLineTextField ui:MultiLineTextField).\n\nui:Form a s:Class; is s:subClassOf of ui:ValueField, ui:Group, ui:Choice, ui:Heading, ui:Comment, ui:Classifier, ui:Options, ui:Multiple.\nui:Single a s:Class; is s:subClassOf of ui:ValueField, ui:Group, ui:Choice, ui:Heading, ui:Comment, ui:Classifier, ui:Options.\nui:ValueField a s:Class; is s:subClassOf of ui:TextField, ui:NumericField, ui:ColorField, ui:DateField, ui:DateTimeField, ui:PhoneField, ui:EmailField.\nui:NumericField a s:Class; is s:subClassOf of ui:BooleanField, ui:TriStateField, ui:IntegerField, ui:DecimalField, ui:FloatField.\nui:TextField a s:Class; is s:subClassOf of ui:SingleLineTextField, ui:MultiLineTextField.\n\nui:Classifier a s:Class; s:label "classifier";\n s:comment """A classifier allows the user to select the type of an object.\n The possible types must be subclasses of some overall class, the "category".\n (Ideally, the superclass is also set up as the disjoint union of the subclasses,\n if they are disjoint.)\n\n The form normally stores the resulting classes using an rdf:type triple,\n but a different predicate can be used if required, so the classifier field\n needs is \'property\' defined too.\n\n If the subclass selected itself is has subclasses defined, the user can\n recursively select from them in turn, as many levels as needed.""".\n\nui:property a r:Property; s:domain ui:Form; s:range r:Property;\n s:label "property to be stored"@en;\n s:comment """Many fields prompt for information about a given property of the subject.\n When field is filled in, this gives which property is written into the data.""".\n\nui:category a r:Property; s:domain ui:Classifier; s:range s:Class;\n s:label "overall superclass"@en;\n s:comment """The superclass subclasses of which will be selected.""".\n\nui:dependingOn a r:Property; s:domain ui:Options; s:range r:Property;\n s:label "depending on"@en;\n s:comment """Many fields prompt for information about a given property of the subject""".\n\nui:for a r:Property; s:label "for"@en; s:comment "The value for which this case is selected.".\nui:use a r:Property; s:range ui:Form.\n\nui:part a r:Property; s:label "part"@en ; s:domain ui:Form; s:range ui:Form. # Used for Multiple field - the subform for each item\nui:parts a r:Property; s:label "parts"@en ; s:domain ui:Form; s:range r:Collection. # (of Forms) The ordered set of fields in a group\nui:ordered e r:Property; s:label "ordered"; s:range xsd:Boolean . # Could be useful for all kinds of things in future so not restricted to Multiple\n\nui:from a r:Property; s:domain ui:Choice; s:range r:Class;\n s:label "from"; ui:prompt "from what class".\n\nui:size a r:Property; s:domain ui:ValueField; s:range xsd:integer;\n s:label "size of field";\n ui:prompt "size of field in characters".\n\nui:maxLength a r:Property; s:domain ui:TextField; s:range xsd:integer;\n s:label "max length of value".\n\nui:minValue a r:Property; s:domain ui:ValueField; s:label "min". # @@ range?\nui:maxValue a r:Property; s:domain ui:ValueField; s:label "max".\n\n ui:creationForm a r:Property; s:domain s:Class; s:range ui:Form;\n s:label "creation form";\n s:comment """A form which may be used to collect information about a\n hitherto locally undocumented instance instance of this class.""".\n\n ui:annotationForm a r:Property; s:domain s:Class; s:range ui:Form;\n s:label "annotation form";\n s:comment """A form which may be used to add more infromation to an\ninstance of this class which we know something about. Anything from\nadding just add one more fact, to adding a whole lot of information about a specific\nfacet of the thing.\n""".\n\n\n#############################################\n#\n# Form for editing Forms\n#\n\nFormForm a ui:Form;\n dc:title "Form for editing Forms";\n is ui:creationForm of Form;\n a ui:Group; ui:parts (FF1 FF2 FF3 FieldList) .\n\n FF1 ui:sequence 1; a ui:Heading; ui:contents "Edit Form"@en .\n FF2 ui:sequence 2; a ui:SingleLineTextField; ui:property dc:title; ui:size 60 .\n FF3 ui:sequence 3; a ui:Comment; ui:contents\n """To add a field to the form, press the plus at the bottom,\n and then select what sort of field you want."""@en; ui:style "background-color: #ffe;" .\n\n FieldList ui:sequence 10; a ui:Multiple; ui:ordered true; ui:property ui:parts; ui:part FieldForm .\n\nFieldForm a ui:Group;\n dc:title "Form for selecting a type of field";\n ui:parts (\n\n [ ui:sequence 1; a ui:Classifier; ui:property r:type; ui:category ui:Form]\n\n [ a ui:Options; ui:sequence 2; ui:dependingOn r:type;\n\n ui:case [ ui:for ui:TextField; ui:use [a ui:Group; ui:parts (\n [ a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty] # @@@ Needs inference on current web\n [ a ui:IntegerField; ui:property ui:size; ui:label "field size"; ui:min 1; ui:max 4096]\n [ a ui:IntegerField; ui:property ui:maxLength; ui:label "Max. length of string"; ui:min 1]\n )]];\n\n ui:case [ ui:for ui:IntegerField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:IntegerField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:IntegerField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:DecimalField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DecimalField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:DecimalField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:FloatField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:FloatField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:FloatField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:ColorField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty] )\n ]];\n\n ui:case [ ui:for ui:DateField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DateField; ui:property ui:min; ui:label "min"]\n [ ui:sequence 3; a ui:DateField; ui:property ui:max ; ui:label "max"]\n ) ]];\n\n ui:case [ ui:for ui:DateTimeField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DateTimeField; ui:property ui:min; ui:label "min"]\n [ ui:sequence 3; a ui:DateTimeField; ui:property ui:max ; ui:label "max"]\n ) ]];\n\n ui:case [ ui:for ui:EmailField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:ObjectProperty]\n ) ]];\n\n ui:case [ ui:for ui:PhoneField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:ObjectProperty]\n )]];\n\n ui:case [ ui:for ui:Group; ui:use FieldList];\n\n ui:case [ ui:for ui:Options; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:dependingOn; ui:label "depending on"; ui:from r:Property; ui:default r:type]\n [ ui:sequence 2; a ui:Multiple; ui:property ui:case; ui:part CaseForm]\n ) ]];\n\n ui:case [ ui:for ui:Choice; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property";\n ui:canMintNew true; ui:from owl:ObjectProperty]\n [ ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:from; ui:label "destination class";\n ui:from s:Class; ui:canMintNew true; ]\n [ ui:sequence 3; a ui:BooleanField; ui:property ui:canMintNew; # No class form yet\n ui:label "user can add new"]\n [ ui:sequence 4; a ui:Choice; ui:canMintNew true; ui:property ui:use; ui:label "Nested Form (if any)";\n ui:from ui:Form; ui:optional true; ui:use FormForm] # @@ optional\n\n ) ]];\n\n ui:case [ ui:for ui:Classifier; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 2; a ui:Comment; ui:contents """A classifier allows the user to which classes the item belongs to, given a common superclass of the allowed classes. Give the superclass here:""" ]\n\n [ ui:sequence 4; a ui:Choice; ui:canMintNew true; ui:property ui:category; ui:label "superclass"; ui:from s:Class]\n\n [ ui:sequence 6; a ui:Comment; ui:contents """(When the choice is made normally the item is given a rdf:type. Set this to rdf:type unless you want the form to set a different property.)""" ]\n\n [ ui:sequence 8; a ui:Choice; ui:canMintNew true; ui:property ui:property;\n ui:label "property"; ui:from owl:ObjectProperty; ui:default r:type] # @@ restriction\n\n ) ]];\n\n ui:case [ ui:for ui:Multiple; ui:use [a ui:Group; ui:parts (\n [ui:sequence 0; a ui:BooleanField; ui:property ui:ordered; ui:label "ordered"] # If this an ordered array or an unordered set?\n [ui:sequence 0; a ui:IntegerField; ui:property ui:min; ui:label "minimum number"] # If this an ordered array or an unordered set?\n [ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from r:Property]\n [ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:part; ui:from ui:Form; ui:use FieldForm] # Form for details of the field part of the multiple\n ) ]];\n\n ui:case [ ui:for ui:Heading; ui:use [a ui:SingleLineTextField; ui:property ui:contents]];\n\n ui:case [ ui:for ui:Comment; ui:use [a ui:MultiLineTextField; ui:property ui:contents]]\n ]).\n\n\nCaseForm a ui:Group;\n dc:title "Form for a conditional case in a form";\n ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:for; ui:label "when it is"; ui:canMintNew true; ui:from s:Class]\n [ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:use; ui:from ui:Form; ui:canMintNew true; ui:use FieldForm] ). # Form for details of the field part of the multiple\n\n# ENDS\n'},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};t.__esModule=!0,t.renderAutoComplete=void 0;var a=n(0),o=n(159),s=a.store;t.renderAutoComplete=function(e,t,n){return r(this,void 0,void 0,(function(){function u(e,t){console.log("Auto complete: finish! "+e),n(e,t)}function l(e,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){return t.acceptButton?(t.acceptButton.disabled=!1,A.value=n,k=n,E=e,console.log("Auto complete: name: "+n),console.log("Auto complete: waiting for accept "+e),[2]):(u(e,n),[2])}))}))}function c(e){return r(this,void 0,void 0,(function(){return i(this,(function(e){return A.value===k?u(E,k):t.acceptButton.disabled=!0,[2]}))}))}function d(e,t){for(var n=e.split(" "),r=0;r<n.length;r++){var i=n[r];if(t.toLowerCase().indexOf(i)<0)return!1}return!0}function p(){for(;C.children.length>1;)C.removeChild(C.lastChild)}function f(e){return r(this,void 0,void 0,(function(){return i(this,(function(e){return g&&clearTimeout(g),setTimeout(h,300),[2]}))}))}function h(){return r(this,void 0,void 0,(function(){var n,u,c,f,h,g,x=this;return i(this,(function(k){switch(k.label){case 0:return v?(console.log('Ignoring "'.concat(A.value,'" because of lock ')),[2]):(v=!0,[4,(0,o.getPreferredLanguages)()]);case 1:return n=k.sent(),(u=A.value.trim().toLowerCase()).length<4?(p(),!1,w=20,[3,7]):[3,2];case 2:if(y&&b&&u.startsWith(b))return function(e){for(var t=0,n=null,r="",i=C.children.length-1;i>0;i--){var a=C.children[i];d(e,a.textContent)?(t+=1,n=a.getAttribute("subject"),r=a.textContent,a.style.display="",a.style.color="blue"):a.style.display="none"}1==t&&(console.log(' auto complete elimination: "'.concat(e,'" -> "').concat(r,'"')),l(s.sym(n),r))}(u),v=!1,[2];k.label=3;case 3:return k.trys.push([3,5,,6]),[4,(0,o.queryPublicDataByName)(u,m,t.queryParams)];case 4:return c=k.sent(),[3,6];case 5:return f=k.sent(),E="Error querying db of organizations: "+f,_=C.appendChild(e.createElement("tr")),console.log(E),_.appendChild(a.widgets.errorMessageBlock(e,E,"pink")),a.style.setStyle(_,"autocompleteRowStyle"),_.style.padding="1em",v=!1,[2];case 6:!0,h=c.length<o.AUTOCOMPLETE_LIMIT,b=h?u:null,p(),g=(0,o.filterByLanguage)(c,n),h&&g.length<=40&&(w=g.length),y=h&&g.length<=w,console.log(' Filter:"'.concat(u,'" bindings: ').concat(c.length,", slimmed to ").concat(g.length,"; rows: ").concat(w,", Enough? ").concat(h,", All displayed? ").concat(y)),g.slice(0,w).forEach((function(t){var n=C.appendChild(e.createElement("tr"));a.style.setStyle(n,"autocompleteRowStyle");var o=t.subject.value,u=t.name.value;n.setAttribute("style","padding: 0.3em;"),n.setAttribute("subject",o),n.style.color=y?"#080":"#000",n.textContent=u,n.addEventListener("click",(function(e){return r(x,void 0,void 0,(function(){return i(this,(function(e){return console.log(" click row textContent: "+n.textContent),console.log(" click name: "+u),l(s.sym(o),u),[2]}))}))}))})),k.label=7;case 7:return v=!1,[2]}var E,_}))}))}var m,g,v,y,b,w,x,k,E,C,_,S,A,T;return i(this,(function(n){return t.queryParams,m=t.class,t.acceptButton&&t.acceptButton.addEventListener("click",c,!1),t.cancelButton,!1,g=null,v=!1,y=!1,b=null,w=20,x=e.createElement("div"),k=null,E=null,(C=x.appendChild(e.createElement("table"))).setAttribute("style","max-width: 30em; margin: 0.5em;"),_=C.appendChild(e.createElement("tr")),a.style.setStyle(_,"autocompleteRowStyle"),S=_.appendChild(e.createElement("td")),(A=S.appendChild(e.createElement("input"))).setAttribute("type","text"),T=a.style.searchInputStyle||"border: 0.1em solid #444; border-radius: 0.5em; width: 100%; font-size: 100%; padding: 0.1em 0.6em",A.setAttribute("style",T),A.addEventListener("keyup",(function(e){13===e.keyCode&&c()}),!1),A.addEventListener("input",f),[2,x]}))}))}},function(e,t){e.exports='\nprefix vcard: <http://www.w3.org/2006/vcard/ns#>\nCONSTRUCT\n{ wd:Q49108 vcard:fn ?itemLabel.\nwd:Q49108 rdf:type ?klass. ?klass rdfs:label ?klassLabel; rdfs:comment ?klassDescription .\nwd:Q49108 schema:logo ?logo;\n schema:image ?image;\n schema:logo ?sealImage;\n schema:subOrganization ?subsidiary .\n ?subsidiary rdfs:label ?subsidiaryLabel .\n ?supersidiary schema:subOrganization wd:Q49108 .\n ?supersidiary rdfs:label ?supersidiaryLabel .\n wd:Q49108 schema:location ?location .\n ?location schema:elevation ?elevation .\n ?location wdt:P131 ?region . ?region rdfs:label ?regionLabel .\n ?location wdt:P625 ?coordinates .\n ?location schema:country ?country . ?country rdfs:label ?countryLabel .\n}\nWHERE\n{ optional {wd:Q49108 rdfs:label ?itemLabel} .\n optional {wd:Q49108 wdt:P154 ?logo .}\n optional {wd:Q49108 wdt:P31 ?klass .}\n optional {wd:Q49108 wdt:P158 ?sealImage .}\n optional {wd:Q49108 wdt:P18 ?image .}\n\n optional { wd:Q49108 wdt:P355 ?subsidiary . }\n optional { ?supersidiary wdt:P355 wd:Q49108. }\n\n optional { wd:Q49108 wdt:P276 ?location .\n\n optional { ?location schema:eleveation ?elevation }\n optional { ?location wdt:P131 ?region }\n optional { ?location wdt:P625 ?coordinates }\n optional { ?location wdt:P17 ?country }\n }\n SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en,de,it". }\n}\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),i=n(0),a=n(317),o=n(322),s={global:!1,icon:i.icons.iconBase+"noun_15695.svg",name:"activitystreams",label:function(e,t){return t.session.store.findTypeURIs(e)[i.ns.as("Note").uri]?"Note":null},render:function(e,t){return(0,a.createElement)(r.createElement(o.Pane,{subject:e,context:t}))}};t.default=s},function(e,t,n){"use strict";
140
+ e.exports=n(251)},function(e){e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,a=arguments.length-1;a>=-1&&!i;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return(i?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"))||"."},t.normalize=function(e){var a=t.isAbsolute(e),o="/"===i(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!a).join("/"))||a||(e="."),e&&o&&(e+="/"),(a?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u<o;u++)if(i[u]!==a[u]){s=u;break}var l=[];for(u=s;u<i.length;u++)l.push("..");return(l=l.concat(a.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,a=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===r&&(i=!1,r=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(103))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapDivInATR=t.createImageDiv=t.addClickListenerToElement=void 0;var r=n(44);t.wrapDivInATR=function(e,t,n){var r=e.createElement("tr");return r.appendChild(e.createElement("td")).appendChild(t),r.subject=n,r};t.addClickListenerToElement=function(e,t){e.addEventListener("click",t)};t.createImageDiv=function(e,t,n){var i=t.appendChild(e.createElement("div"));i.setAttribute("style",r.imageDivStyle),i.appendChild(n),n.setAttribute("draggable","false")}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.appendForm=D,t.buildCheckboxForm=U,t.editFormButton=function(e,t,n,r,i){var a=e.createElement("button");return a.setAttribute("type","button"),a.innerHTML="Edit "+x.label(y.ui("Form")),a.addEventListener("click",(function(o){D(e,t,{},n,y.ui("FormForm"),r,i).setAttribute("style",y.ui("FormForm").sameTerm(n)?"background-color: #fee;":"background-color: #ffffe7;"),a.parentNode.removeChild(a)}),!0),a},Object.defineProperty(t,"field",{enumerable:!0,get:function(){return l.field}}),t.fieldLabel=B,Object.defineProperty(t,"fieldParams",{enumerable:!0,get:function(){return u.fieldParams}}),t.fieldStore=H,t.findClosest=O,t.formsFor=function(e){var t=w.store;v.debug("formsFor: subject="+e);var n,r=t.findTypeURIs(e);for(n in r)v.debug(" type: "+n);var i=t.bottomTypeURIs(r),a=[];for(var o in i)v.debug("candidatesFor: trying bottom type ="+o),a=(a=a.concat(O(t,o,y.ui("creationForm")))).concat(O(t,o,y.ui("annotationForm")));return a},t.makeDescription=R,t.makeSelectForCategory=L,t.makeSelectForNestedCategory=M,t.makeSelectForOptions=j,t.newButton=function(e,t,n,r,i,a,o,s){var u=e.createElement("button");return u.setAttribute("type","button"),u.innerHTML="New "+x.label(i),u.addEventListener("click",(function(l){u.parentNode.appendChild(N(e,t,n,r,i,a,o,s))}),!1),u},t.newThing=q,t.promptForNew=N,t.propertiesForClass=function(e,t){var n=e.each(void 0,y.rdf("range"),t);[y.rdfs("comment"),y.dc("title"),y.foaf("name"),y.foaf("homepage")].forEach((function(e){n.push(e)}));var r=e.each(void 0,y.rdf("type"),t);r.length>60&&(r=r.slice(0,60));for(var i={},a=0;a<(r.length>60?60:r.length);a++)e.statementsMatching(r[a],void 0,void 0).forEach((function(e){i[e.predicate.uri]=!0}));n.forEach((function(e){i[e.uri]=!0}));var o=[];for(var s in i)o.push(e.sym(s));return o},t.sortByLabel=F,t.sortBySequence=I;var a=r(n(25)),o=r(n(26)),s=C(n(113)),u=n(115),l=n(116),c=n(256),d=C(n(20)),p=n(73),f=n(257),h=n(258),m=C(n(44)),g=n(34),v=C(n(59)),y=C(n(16)),b=C(n(4)),w=n(17),x=C(n(29)),k=C(n(30));function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function _(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var A=w.store;function T(e,t,n,r,i,a,o){for(var s=a.children,u=0;u<o.length;u++){var c=o[u];if((0,l.mostSpecificClassURI)(c)===y.ui("Options").uri){var p=(0,l.fieldFunction)(e,c)(e,null,t,n,c,r,i);d.log("Refreshing Options field by replacing it."),a.insertBefore(p,s[u]),a.removeChild(s[u+1])}}}function P(e,t,n,r,i,a,o,s){var u=y.ui,l=w.store,c=l.any(i,u("property"));if(!c){var d=(0,p.errorMessageBlock)(e,"No property to boolean field: "+i);return t&&t.appendChild(d),d}var f=l.any(i,u("label"));f||(f=x.label(c,!0)),a=H(r,c,a);var h=l.any(r,c);void 0===h&&(h=!1);var m=b.st(r,c,!0,a),g=U(e,l,f,b.st(r,c,!1,a),m,i,a,s);return t&&t.appendChild(g),g}function D(e,t,n,r,i,a,o){return(0,l.fieldFunction)(e,i)(e,t,n,r,i,a,o)}function O(e,t,n){for(var r=[e.sym(t)];r.length>0;){var i=r.shift(),a=e.each(i,n);if(v.debug("Lists for "+i+", "+n+": "+a.length),0!==a.length)return a;for(var o=e.each(i,y.rdfs("subClassOf")),s=0;s<o.length;s++)r.push(o[s]),v.debug("findClosest: add super: "+o[s])}return[]}function I(e){var t=e.map((function(e){return[A.any(e,y.ui("sequence"))||9999,e]}));return t.sort((function(e,t){return e[0]-t[0]})),t.map((function(e){return e[1]}))}function F(e){var t=e.map((function(e){return[x.label(e).toLowerCase(),e]}));return t.sort(),t.map((function(e){return e[1]}))}function N(e,t,n,r,i,a,o,u){var c=e.createElement("form");if(!a){var d=O(t,i.uri,y.ui("creationForm"));if(0===d.length){c.appendChild(e.createElement("p")).textContent="I am sorry, you need to provide information about a "+x.label(i)+" but I don't know enough information about those to ask you.";var p=c.appendChild(e.createElement("button"));return p.setAttribute("type","button"),p.setAttribute("style","float: right;"),p.innerHTML="Goto "+x.label(i),p.addEventListener("click",(function(t){e.outlineManager.GotoSubject(i,!0,void 0,!0,void 0)}),!1),c}v.debug("lists[0] is "+d[0]),a=d[0]}v.debug("form is "+a),c.setAttribute("style","border: 0.05em solid ".concat(m.formBorderColor,"; color: ").concat(m.formBorderColor)),c.innerHTML="<h3>New "+x.label(i)+"</h3>";var f=(0,l.fieldFunction)(e,a),h=q(o),g=!1;function w(e,t,n){return u(t,n)}v.info("paneUtils Object is "+h);var k=f(e,c,{},h,a,o,(function(a,l){if(!a)return u(a,l);var d=[];n&&!t.holds(n,r,h,o)&&d.push(b.st(n,r,h,o)),n&&!t.holds(h,y.rdf("type"),i,o)&&d.push(b.st(h,y.rdf("type"),i,o)),d.length?t.updater.update([],d,w):u(!0,l),g||(g=c.appendChild(s.linkButton(e,h)))}));return s.removeButton(e,k).setAttribute("style","float: right;"),c.AJAR_subject=h,c}function R(e,t,n,r,i,a){var o,s=e.createElement("div"),u=t.anyJS(n,r,null,i)||"",l=e.createElement("textarea");function c(u){o.disabled=!0,o.setAttribute("style","visibility: hidden; float: right;"),l.disabled=!0,l.style.color=m.textInputColorPending;var c=t.statementsMatching(n,r,null,i),d=b.st(n,r,l.value,i);t.updater.update(c,d,(function(t,n,r){n?(l.style.color=m.textInputColor,l.disabled=!1):s.appendChild((0,p.errorMessageBlock)(e,"Error (while saving change to "+i.uri+"): "+r)),a&&a(n,r)}))}return s.appendChild(l),l.rows=u?u.split("\n").length+2:2,l.cols=80,l.setAttribute("style",m.multilineTextInputStyle),null!==u?l.value=u:l.select(),s.refresh=function(){var e=t.any(n,r,null,i);e&&e.value!==l.value&&(l.value=e.value)},t.updater.editable(i.uri)?((o=k.continueButton(e,c)).disabled=!0,o.style.visibility="hidden",o.style.float="right",s.appendChild(o),l.addEventListener("keyup",(function(e){l.style.color="green",o&&(o.disabled=!1,o.style.visibility="")}),!0),l.addEventListener("change",c,!0)):(l.disabled=!0,l.style.backgroundColor=m.textInputBackgroundColorUneditable),s}function j(e,t,n,r,i,a,o,s){v.debug("Select list length now "+i.length);for(var u,c=0,f={},h=t.updater.editable(o.uri),g=0;g<i.length;g++){var w=i[g];w.uri||d.warn("makeSelectForOptions: option does not have an uri: ".concat(w,", with predicate: ").concat(r)),w.uri&&!(w.uri in f)&&(f[w.uri]=!0,c++)}if(0===c&&!a.mint)return(0,p.errorMessageBlock)(e,"Can't do selector with no options, subject= "+n+" property = "+r+".");v.debug("makeSelectForOptions: dataDoc="+o);var k=function(){return u={},r.sameTerm(y.rdf("type"))?u=t.findTypeURIs(n):t.each(n,r,null,o).forEach((function(e){u[e.uri]=!0})),u};u=k();var E=e.createElement("select");for(var C in E.setAttribute("style",m.formSelectSTyle),a.multiple&&E.setAttribute("multiple","true"),E.currentURI=null,E.refresh=function(){u=k();for(var e=0;e<E.children.length;e++){var t=E.children[e];t.AJAR_uri&&(t.selected=t.AJAR_uri in u)}E.disabled=!1},f){var _=t.sym(C),S=e.createElement("option");a.disambiguate?S.appendChild(e.createTextNode(x.labelWithOntology(_,!0))):S.appendChild(e.createTextNode(x.label(_,!0)));var A=t.any(_,t.sym("http://www.w3.org/ns/ui#backgroundColor"));A&&S.setAttribute("style","background-color: "+A.value+"; "),S.AJAR_uri=C,C in u&&(S.setAttribute("selected","true"),E.currentURI=C),E.appendChild(S)}if(h&&a.mint){var T=e.createElement("option");T.appendChild(e.createTextNode(a.mint)),T.AJAR_mint=!0,E.insertBefore(T,E.firstChild)}if(null==E.currentURI&&!a.multiple){var P=e.createElement("option");P.appendChild(e.createTextNode(a.nullLabel)),E.insertBefore(P,E.firstChild),P.selected=!0}return h&&E.addEventListener("change",(function(i){E.disabled=!0;for(var c,d=[],f=[],h=function(e){t.holds(n,r,e,o)&&d.push(b.st(n,r,e,o))},m=0;m<E.options.length;m++){var g=E.options[m];if(g.selected&&g.AJAR_mint){if(a.mintClass){var y=N(e,t,n,r,a.mintClass,null,o,(function(e,t){e||s(e,t,{change:"new"})}));E.parentNode.appendChild(y),c=y.AJAR_subject}else c=q(o);f.push(b.st(n,r,c,o)),a.mintStatementsFun&&(f=f.concat(a.mintStatementsFun(c)))}g.AJAR_uri&&(g.selected&&!(g.AJAR_uri in u)&&f.push(b.st(n,r,t.sym(g.AJAR_uri),o)),!g.selected&&g.AJAR_uri in u&&h(t.sym(g.AJAR_uri)),g.selected&&(E.currentURI=g.AJAR_uri))}for(var w=E.subSelect;w&&w.currentURI;)h(t.sym(w.currentURI)),w=w.subSelect;for(w=E.superSelect;w&&w.currentURI;)h(t.sym(w.currentURI)),w=w.superSelect;function x(e,t){s(e,{widget:"select",event:"new"})}v.info("selectForOptions: data doc = "+o),t.updater.update(d,f,(function(t,n,r){if(u=k(),!n)return E.parentNode.appendChild((0,p.errorMessageBlock)(e,"Error updating data in select: "+r));E.disabled=!1,c&&(0,l.fieldFunction)(e,a.subForm)(e,E.parentNode,{},c,a.subForm,o,x),s&&s(n,{widget:"select",event:"change"})}))}),!1),E}function L(e,t,n,r,i,a){var o,s=t.any(r,y.owl("disjointUnionOf")),u=!1;return s?o=s.elements:(o=t.each(void 0,y.rdfs("subClassOf"),r),u=!0),v.debug("Select list length "+o.length),0===o.length?(0,p.errorMessageBlock)(e,"Can't do "+(u?"multiple ":"")+"selector with no subclasses of category: "+r):1===o.length?(0,p.errorMessageBlock)(e,"Can't do "+(u?"multiple ":"")+"selector with only 1 subclass of category: "+r+":"+o[1]):j(e,t,n,y.rdf("type"),o,{multiple:u,nullPrompt:"--classify--"},i,a)}function M(e,t,n,r,i,a){function o(){u&&(s.removeChild(u),u=null),l.currentURI&&t.any(t.sym(l.currentURI),y.owl("disjointUnionOf"))&&(u=M(e,t,n,t.sym(l.currentURI),i,a),l.subSelect=u.firstChild,l.subSelect.superSelect=l,s.appendChild(u))}var s=e.createElement("span"),u=null;var l=L(e,t,n,r,i,(function(e,t){e&&o(),a(e,t)}));return s.appendChild(l),o(),s}function U(e,t,n,r,i,a,o,s){var u=e.createElement("div"),l=(0,f.renderNameValuePair)(e,t,u,a),c=t.updater.editable(o.uri),h=e.createElement("button"),g=h;function v(e){if(!e)return[];if(e.object)return e.why||(e.why=o),[e];if(e instanceof Array)return e;throw new Error("buildCheckboxForm: bad param "+e)}function b(e){return 0===e.filter((function(e){return!t.holds(e.subject,e.predicate,e.object,e.why)})).length}if(h.style=m.checkboxInputStyle,l.appendChild(h),i=v(i),r=v(r),function(){var n=b(i),o=n;if(r.length){var l=b(r);if(n&&l)return u.appendChild(k.errorMessageBlock(e,"Inconsistent data in dataDoc!\n"+i+" and\n"+r)),u;if(!n&&!l){n=null;var c=t.any(a,y.ui("default"));o=c?"1"===c.value:!!s&&null}}h.state=n,h.textContent={true:"✓",false:s?"✕":" ",null:"-"}[o]}(),!c)return u;return h.addEventListener("click",(function(n){g.style.color="#bbb";var a=!0===h.state?i:!1===h.state?r:[];h.newState=null===h.state||!0!==h.state&&(!s||null);var o=!0===h.newState?i:!1===h.newState?r:[];d.log(" Deleting ".concat(a)),d.log(" Inserting ".concat(o)),t.updater.update(a,o,(function(n,r,i){if(r)g.style.color="#000",h.state=h.newState,h.textContent={true:"✓",false:"✕",null:"-"}[h.state];else{if(a.why)t.holds(a.subject,a.predicate,a.object,a.why)&&d.log(" @@@@@ weird if 409 - does hold statement");g.style.color="#000",g.style.backgroundColor="#fee",u.appendChild((0,p.errorMessageBlock)(e,"Checkbox: Error updating dataDoc from ".concat(h.state," to ").concat(h.newState,":\n\n").concat(i)))}}))}),!1),u}function B(e,t,n){var r=A.any(n,y.ui("label"));if(r||(r=x.label(t,!0)),void 0===t)return e.createTextNode("@@Internal error: undefined property");var i=e.createElement("a");return t.uri&&i.setAttribute("href",t.uri),i.setAttribute("style",m.fieldLabelStyle),i.textContent=r,i}function H(e,t,n){var r=A.statementsMatching(e,t);return 0===r.length?n:r.length>0&&r[0].why.uri&&A.updater.editable(r[0].why.uri)?A.sym(r[0].why.uri):n}function q(e){var t=new Date;return b.sym(e.uri+"#id"+t.getTime())}l.field[y.ui("AutocompleteField").uri]=h.autocompleteField,l.field[y.ui("Form").uri]=l.field[y.ui("Group").uri]=function(e,t,n,r,i,a,o){var s=e.createElement("div"),u=y.ui;t&&t.appendChild(s);var c=r.toNT()+"|"+i.toNT();if(n[c]){s.appendChild(e.createTextNode("Group: see above "+c));var d=[b.st(r,y.owl("sameAs"),r)];return e.outlineManager.appendPropertyTRs(s,d),s}var f={};for(var h in n)f[h]=1;f[c]=1;var g=i.doc?i.doc():null,v=A.any(i,u("weight"),null,g),w=v?Number(v.value):1;if(w>3||w<0)return s.appendChild((0,p.errorMessageBlock)(e,"Form Group weight ".concat(w," should be 0-3")));s.setAttribute("style",m.formGroupStyle[w]),s.style.display="flex",s.style.flexDirection="column",s.class="form-weight-"+w;var x,k=A.any(i,u("parts"),null,g);if(k?x=k.elements:(k=A.each(i,u("part"),null,g),x=I(k)),!k)return s.appendChild((0,p.errorMessageBlock)(e,"No parts to form! "));for(var E=0;E<x.length;E++){var C=x[E],_=(0,l.fieldFunction)(e,C);s.appendChild(_(e,null,f,r,C,a,(function(t,i){t&&i&&i.widget&&"select"===i.widget&&T(e,n,r,a,o,s,x),o(t,{widget:"group",change:i})})))}return s},l.field[y.ui("Options").uri]=function(e,t,n,r,i,a,o){var s=w.store,u=e.createElement("div"),l=i.doc?i.doc():null,c=y.ui;t&&t.appendChild(u);var d=s.any(i,c("dependingOn"));d||(d=y.rdf("type"));var f,h=s.each(i,c("case"),null,l);if(h||u.appendChild((0,p.errorMessageBlock)(e,"No cases to Options form. ")),0===(f=d.sameTerm(y.rdf("type"))?Object.keys(s.findTypeURIs(r)).map((function(e){return b.sym(e)})):s.each(r,d)).length)u.appendChild((0,p.errorMessageBlock)(e,"Can't select subform as no value of: "+d));else for(var m=0;m<h.length;m++){for(var g=h[m],v=s.each(g,c("for"),null,l),x=!1,k=0;k<v.length;k++){var E,C=_(f);try{for(C.s();!(E=C.n()).done;){var S=E.value,A=v[k];(S.sameTerm(v)||S.termType===A.termType&&S.value===A.value)&&(x=!0)}}catch(e){C.e(e)}finally{C.f()}}if(x){var T=s.the(g,c("use"));if(!T)return u.appendChild((0,p.errorMessageBlock)(e,'No "use" part for case in form '+i)),u;D(e,u,n,r,T,a,o);break}}return u},l.field[y.ui("Multiple").uri]=function(e,t,n,r,i,u,c){function f(e){return e.map((function(e){return e.toString().slice(-7)})).join(", ")}function h(){return m.apply(this,arguments)}function m(){return(m=(0,o.default)(a.default.mark((function t(){var n,i,o;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=q(u),!D){t.next=8;break}return B(),R.elements.push(n),t.next=6,H();case 6:t.next=20;break;case 8:return i=I?[b.st(n,O,r,u)]:[b.st(r,O,n,u)],t.prev=9,t.next=12,C.updater.update([],i);case 12:t.next=19;break;case 14:t.prev=14,t.t0=t.catch(9),o="Error adding to unordered multiple: "+t.t0,S.appendChild((0,p.errorMessageBlock)(e,o)),d.error(o);case 19:W();case 20:case"end":return t.stop()}}),t,null,[[9,14]])})))).apply(this,arguments)}function k(t){function i(){return(i=(0,o.default)(a.default.mark((function n(){var i,o;return a.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!D){n.next=14;break}d.log("pre delete: "+f(R.elements)),i=0;case 3:if(!(i<R.elements.length)){n.next=12;break}if(!R.elements[i].sameTerm(t)){n.next=9;break}return R.elements.splice(i,1),n.next=8,H();case 8:return n.abrupt("return");case 9:i++,n.next=3;break;case 12:n.next=15;break;case 14:C.holds(r,O,t,u)&&(o=[b.st(r,O,t,u)],C.updater.update(o,[],(function(t,n,r){n?L.removeChild(y):L.appendChild((0,p.errorMessageBlock)(e,"Multiple: delete failed: "+r))})));case 15:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function h(e,t){return m.apply(this,arguments)}function m(){return(m=(0,o.default)(a.default.mark((function e(n,r){var i;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.log("pre move: "+f(R.elements)),i=0;case 2:if(!(i<R.elements.length)){e.next=8;break}if(!R.elements[i].sameTerm(t)){e.next=5;break}return e.abrupt("break",8);case 5:i++,e.next=2;break;case 8:if(i===R.elements.length&&alert("list move: not found element for "+t),!r){e.next=16;break}if(0!==i){e.next=13;break}return alert("@@ boop - already at top -temp message"),e.abrupt("return");case 13:R.elements.splice(i-1,2,R.elements[i],R.elements[i-1]),e.next=20;break;case 16:if(i!==R.elements.length-1){e.next=19;break}return alert("@@ boop - already at bottom -temp message"),e.abrupt("return");case 19:R.elements.splice(i,2,R.elements[i+1],R.elements[i]);case 20:return e.next=22,H();case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}v.debug("Multiple: render object: "+t);var y=(0,l.fieldFunction)(e,N)(e,null,n,t,N,u,(function(e,n){d.log("Item done callback for item ".concat(t.uri.slice(-7))),e||d.error(" Item done callback: Error: "+n),c(e,n)}));if(y.subject=t,C.updater.editable(u.uri)&&(s.deleteButtonWithCheck(e,y,x.label(O),(function(){return i.apply(this,arguments)})),D)){var w=e.createElement("div");w.style.display="grid",w.style.gridTemplateColumns="auto 3em",w.style.gridTemplateRows="50% 50%";var k=s.button(e,g.icons.iconBase+"noun_1369237.svg","Move Up",function(){var e=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",h(t,!0));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),E=s.button(e,g.icons.iconBase+"noun_1369241.svg","Move Down",function(){var e=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",h(t,!1));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),_=e.createElement("div");return _.appendChild(y),w.appendChild(_),w.appendChild(k),w.appendChild(E),k.style.gridColumn=2,E.style.gridColumn=2,k.style.gridRow=1,E.style.padding="0em",k.style.padding="0em",E.style.gridRow=2,_.style.gridColumn=1,_.style.gridRowStart="span 2",w}return y}var E=g.icons.iconBase+"noun_19460_green.svg",C=w.store,_=i.doc?i.doc():null,S=e.createElement("div"),A=S,T=y.ui;t&&t.appendChild(S);var P=C.any(i,T("ordered")),D=!!P&&b.Node.toJS(P),O=C.any(i,T("property")),I=C.anyJS(i,T("reverse"),null,_);if(!O)return S.appendChild((0,p.errorMessageBlock)(e,"No property to multiple: "+i)),A;var F=C.any(i,T("min"));F=F?0+F.value:0;var N=C.any(i,T("part"));if(!N)return S.appendChild((0,p.errorMessageBlock)(e,"No part to multiple: "+i)),A;var R,j,L=S.appendChild(e.createElement("div"));if(L.style.display="flex",L.style.flexDirection="column",j=I?C.any(null,O,r,u):C.any(r,O,null,u),D?(R=I?C.any(null,O,r,u):C.any(r,O,null,u),j=R?R.elements:[]):(j=I?C.each(null,O,r,u):C.each(r,O,null,u),R=null),C.updater.editable(u.uri)){var M=S.appendChild(e.createElement("div"));M.style.padding="0.5em";var U=M.appendChild(e.createElement("img"));U.setAttribute("src",E),U.setAttribute("style","margin: 0.2em; width: 1.5em; height:1.5em"),U.title="Click to add one or more "+x.predicateLabel(O,I),M.appendChild(e.createElement("span")).textContent=(0===j.length?"Add one or more ":"Add more ")+x.predicateLabel(O,I),M.addEventListener("click",function(){var e=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),!0)}function B(){R||(R=new b.Collection,I?C.add(R,O,r,u):C.add(r,O,R,u))}function H(){return z.apply(this,arguments)}function z(){return(z=(0,o.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return d.log("save list: "+f(R.elements)),B(),t.prev=2,t.next=5,C.fetcher.putBack(u);case 5:t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(2),S.appendChild((0,p.errorMessageBlock)(e,"Error trying to put back a list: "+t.t0)),t.abrupt("return");case 11:W();case 12:case"end":return t.stop()}}),t,null,[[2,7]])})))).apply(this,arguments)}function W(){var e;if(D){var t=I?C.the(null,O,r,u):C.the(r,O,null,u);e=t?t.elements:[]}else(e=I?C.each(null,O,r,u):C.each(r,O,null,u)).sort();x.syncTableToArrayReOrdered(L,e,k)}function V(){return(V=(0,o.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((t=F-j.length)>0)){e.next=12;break}n=0;case 3:if(!(n<t)){e.next=10;break}return d.log("Adding extra: min "+F),e.next=7,h();case 7:n++,e.next=3;break;case 10:return e.next=12,H();case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return L.refresh=W,W(),function(){return V.apply(this,arguments)}().then((function(){d.log(" Multiple render: async stuff ok")}),(function(e){d.error(" Multiple render: async stuff fails. #### ",e)})),A},l.field[y.ui("PhoneField").uri]=f.basicField,l.field[y.ui("EmailField").uri]=f.basicField,l.field[y.ui("ColorField").uri]=f.basicField,l.field[y.ui("DateField").uri]=f.basicField,l.field[y.ui("DateTimeField").uri]=f.basicField,l.field[y.ui("TimeField").uri]=f.basicField,l.field[y.ui("NumericField").uri]=f.basicField,l.field[y.ui("IntegerField").uri]=f.basicField,l.field[y.ui("DecimalField").uri]=f.basicField,l.field[y.ui("FloatField").uri]=f.basicField,l.field[y.ui("TextField").uri]=f.basicField,l.field[y.ui("SingleLineTextField").uri]=f.basicField,l.field[y.ui("NamedNodeURIField").uri]=f.basicField,l.field[y.ui("MultiLineTextField").uri]=function(e,t,n,r,i,a,o){var s=y.ui,u=w.store,l=i.doc?i.doc():null,c=u.any(i,s("property"));if(!c)return(0,p.errorMessageBlock)(e,"No property to text field: "+i);var d=e.createElement("div");d.style.display="flex",d.style.flexDirection="row";var f=d.appendChild(e.createElement("div"));f.style.width=m.formFieldNameBoxWidth;var h=d.appendChild(e.createElement("div"));f.appendChild(B(e,c,i)),a=H(r,c,a);var g=u.anyJS(r,c,null,a)||"",v=u.updater.editable(a.uri),b=i&&u.anyJS(i,y.ui("suppressEmptyUneditable"),null,l);!v&&b&&""===g&&(d.style.display="none");var x=R(e,u,r,c,a,o);return h.appendChild(x),t&&t.appendChild(d),d},l.field[y.ui("BooleanField").uri]=function(e,t,n,r,i,a,o){return P(e,t,0,r,i,a,0,!1)},l.field[y.ui("TristateField").uri]=function(e,t,n,r,i,a,o){return P(e,t,0,r,i,a,0,!0)},l.field[y.ui("Classifier").uri]=function(e,t,n,r,i,a,o){var s=w.store,u=y.ui,l=s.any(i,u("category"));if(!l)return(0,p.errorMessageBlock)(e,"No category for classifier: "+i);v.debug("Classifier: dataDoc="+a);var c=M(e,s,r,l,a,(function(e,t){return o(e,t)}));return t&&t.appendChild(c),c},l.field[y.ui("Choice").uri]=function(e,t,n,r,i,a,o){var u,c=y.ui,d=w.store,f=i.doc?i.doc():null,h=e.createElement("div");t&&t.appendChild(h);var m=e.createElement("div");h.appendChild(m);var g=e.createElement("div");h.appendChild(g);var v=d.any(i,c("property"));if(!v)return h.appendChild((0,p.errorMessageBlock)(e,"No property for Choice: "+i));m.appendChild(B(e,v,i));var b=d.any(i,c("from"));if(!b)return(0,p.errorMessageBlock)(e,"No 'from' for Choice: "+i);var k,E=d.any(i,c("use")),C=d.anyJS(i,c("follow"),null,f),_=[],S={form:i,multiple:!1,nullLabel:"--"+x.label(v)+"-?",disambiguate:!1};for(var A in _=d.each(void 0,y.rdf("type"),b,f),d.findMembersNT(b))_.push(d.fromNT(A));if(b.sameTerm(y.rdfs("Class")))for(u in s.allClassURIs())_.push(d.sym(u));else if(b.sameTerm(y.rdf("Property"))){for(u in(k=s.propertyTriage(d)).op)_.push(d.fromNT(u));for(u in k.dp)_.push(d.fromNT(u));S.disambiguate=!0}else if(b.sameTerm(y.owl("ObjectProperty"))){for(u in(k=s.propertyTriage(d)).op)_.push(d.fromNT(u));S.disambiguate=!0}else if(b.sameTerm(y.owl("DatatypeProperty"))){for(u in(k=s.propertyTriage(d)).dp)_.push(d.fromNT(u));S.disambiguate=!0}var T=d.any(r,v);var P=F(_);d.any(i,c("canMintNew"))&&(S.mint="* New *",S.subForm=E);var D=j(e,d,r,v,P,S,a,o);return g.appendChild(D),T&&E&&(T=d.any(r,v),(0,l.fieldFunction)(e,E)(e,g,n,T,E,C?T.doc():a,o)),h},l.field[y.ui("Comment").uri]=l.field[y.ui("Heading").uri]=function(e,t,n,r,i,a,o){var s=y.ui,d=w.store,p=d.any(i,s("contents"));p||(p="Error: No contents in comment field.");var f=i.doc?i.doc():null,h=(0,l.mostSpecificClassURI)(i),m=u.fieldParams[h]||{},g=e.createElement("div");t&&t.appendChild(g);var v=g.appendChild(e.createElement(m.element));v.textContent=p,(0,c.setFieldStyle)(v,i);var b=d.anyJS(i,y.ui("suppressIfUneditable"),null,f),x=d.updater.editable(a.uri);return b&&!x&&(g.style.display="none"),g}},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.setFieldStyle=function(e,t){var n=(0,s.mostSpecificClassURI)(t),r=o.fieldParams[n]||{},u=a.kb.any(t,i.ui("style"));if(!u)return void(r.style&&e.setAttribute("style",r.style));if("Literal"===u.termType)u&&e.setAttribute("style",u.value);else{a.kb.statementsMatching(u,null,null,t.doc()).forEach((function(t){if(t.predicate.uri&&t.predicate.uri.startsWith("https://www.w3.org/ns/css#")){var n=t.predicate.uri.slice("https://www.w3.org/ns/css#".length);try{e.style[n]=t.object.value}catch(r){console.warn("setFieldStyle: Error setting element style ".concat(n,' to "').concat(t.object.value,'"')),console.warn('setFieldStyle: ... Element tagName was "'.concat(e.tagName||"???",'"'))}}}))}};var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(16)),a=n(17),o=n(115),s=n(116);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.basicField=function(e,t,n,r,a,u,p){var m=f,v=a.doc?a.doc():null,y=e.createElement("div"),b=m.any(a,o.ui("property"));t&&t.appendChild(y);if(!b)return y.appendChild((0,l.errorMessageBlock)(e,"Error: No property given for text field: "+a));var w=h(e,m,y,a),x=m.anyJS(a,o.ui("suppressEmptyUneditable"),null,v),k=(0,c.mostSpecificClassURI)(a),E=d.fieldParams[k];void 0===E&&(E={style:""});var C=E.style||"",_=s.textInputStyle+C,S=e.createElement("input");S.style=_,w.appendChild(S),S.setAttribute("type",E.type?E.type:"text");var A=m.anyJS(a,o.ui("size"))||s.textInputSize||20;S.setAttribute("size",A);var T=m.any(a,o.ui("maxLength"));S.setAttribute("maxLength",T?""+T:"4096"),u=u||g(r,b,u);var P=m.any(r,b,void 0,u);P||(P=m.any(a,o.ui("default")));P&&P.value&&E.uriPrefix?S.value=decodeURIComponent(P.value.replace(E.uriPrefix,"")).replace(/ /g,""):P&&(S.value=P.value||P.value||"");if(S.setAttribute("style",_),!m.updater)throw new Error("kb has no updater");if(!m.updater.editable(u.uri))return S.readOnly=!0,S.style=s.textInputStyleUneditable+C,x&&""===S.value&&(y.style.display="none"),y;return S.addEventListener("keyup",(function(e){E.pattern&&S.setAttribute("style",_+(S.value.match(E.pattern)?"color: green;":"color: red;"))}),!0),S.addEventListener("change",(function(t){if(!E.pattern||S.value.match(E.pattern)){S.disabled=!0,S.setAttribute("style",_+"color: gray;");var n,a=m.statementsMatching(r,b);E.namedNode?n=m.sym(S.value):E.uriPrefix?(n=encodeURIComponent(S.value.replace(/ /g,"")),n=m.sym(E.uriPrefix+S.value)):n=E.dt?new i.Literal(S.value.trim(),void 0,o.xsd(E.dt)):new i.Literal(S.value);var s=a.map((function(e){return(0,i.st)(e.subject,e.predicate,n,e.why)}));0===s.length&&(s=[(0,i.st)(r,b,n,u)]),function e(t,n,r){var i=[];if(n.forEach((function(e){i.includes(e.why.uri)||i.push(e.why.uri)})),t.forEach((function(e){i.includes(e.why.uri)||i.push(e.why.uri)})),0===i.length)throw new Error("updateMany has no docs to patch");if(!m.updater)throw new Error("kb has no updater");if(1===i.length)return m.updater.update(t,n,r);var a=i.pop(),o=n.filter((function(e){return e.why.uri===a})),s=n.filter((function(e){return e.why.uri!==a})),u=t.filter((function(e){return e.why.uri===a})),l=t.filter((function(e){return e.why.uri!==a}));m.updater.update(u,o,(function(t,n,i){n?e(l,s,r):r(t,n,i)}))}(a,s,(function(t,n,r){n?(S.disabled=!1,S.setAttribute("style",_)):y.appendChild((0,l.errorMessageBlock)(e,r)),p(n,r)}))}}),!0),y},t.fieldLabel=m,t.fieldStore=g,t.renderNameValuePair=h;var i=n(4),a=n(17),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(16)),s=n(44),u=n(29),l=n(73),c=n(116),d=n(115);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var f=a.solidLogicSingleton.store;function h(e,t,n,r){var i=t.any(r,o.ui("property"));n.style.display="flex",n.style.flexDirection="row";var a=n.appendChild(e.createElement("div"));a.style.width=s.formFieldNameBoxWidth;var u=n.appendChild(e.createElement("div"));return a.setAttribute("class","formFieldName"),a.setAttribute("style",s.formFieldNameBoxStyle),u.setAttribute("class","formFieldValue"),i?a.appendChild(m(e,i,r)):(u.appendChild((0,l.errorMessageBlock)(e,"No property given for form field: "+r)),a.appendChild(e.createTextNode("???"))),u}function m(e,t,n){var r=f.any(n,o.ui("label"));if(r||(r=(0,u.label)(t,!0)),void 0===t)return e.createTextNode("@@Internal error: undefined property");var i=e.createElement("a");return t.uri&&i.setAttribute("href",t.uri),i.setAttribute("style","color: #3B5998; text-decoration: none;"),i.textContent=r,i}function g(e,t,n){var r=f.statementsMatching(e,t);if(0===r.length)return n;if(!f.updater)throw new Error("Store has no updater");return r.length>0&&r[0].why.value&&f.updater.editable(r[0].why.value,f)?f.sym(r[0].why.value):n}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteField=function(e,t,n,r,i,f,h){var m;function g(){return(g=(0,o.default)(a.default.mark((function t(n,i){var o,s,u,c,d;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i){t.next=2;break}throw new Error("autocompleteField: No name set.");case 2:if(!(o=y.the(r,E,null,f))){t.next=7;break}if(s=y.any(o,C,null,f),!(o.equals(n)&&s&&s.sameTerm(i))){t.next=7;break}return t.abrupt("return");case 7:return u=o?y.statementsMatching(r,E,o,f).concat(y.statementsMatching(o,C,null,f)):[],c=[(0,p.st)(r,E,n,f),(0,p.st)(n,C,i,f)],t.prev=9,t.next=12,null===(d=y.updater)||void 0===d?void 0:d.updateMany(u,c);case 12:t.next=19;break;case 14:return t.prev=14,t.t0=t.catch(9),h(!1,t.t0),w.appendChild(l.errorMessageBlock(e,"Autocomplete form data update error:"+t.t0,null,t.t0)),t.abrupt("return");case 19:h(!0,"");case 20:case"end":return t.stop()}}),t,null,[[9,14]])})))).apply(this,arguments)}function v(){return(v=(0,o.default)(a.default.mark((function t(n,i){var o,s,u,c,d;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=y.the(r,E,null,f)){t.next=5;break}return h(!1,"NO data to elete"),w.appendChild(l.errorMessageBlock(e,"Autocomplete delete: no old data!")),t.abrupt("return");case 5:return s=y.statementsMatching(r,E,o,f).concat(y.statementsMatching(o,C,null,f)),u=[],t.prev=7,t.next=10,null===(c=y.updater)||void 0===c?void 0:c.updateMany(s,u);case 10:t.next=18;break;case 12:return t.prev=12,t.t0=t.catch(7),d=new Error("Autocomplete form data delete error:"+t.t0),h(!1,t.t0),w.appendChild(l.errorMessageBlock(e,d,null,t.t0)),t.abrupt("return");case 18:h(!0,"");case 19:case"end":return t.stop()}}),t,null,[[7,12]])})))).apply(this,arguments)}if("NamedNode"!==r.termType)throw new Error("Sorry this field only works on NamedNode subjects (for editable)");var y=u.store,b=i.doc?i.doc():null,w=e.createElement("div");t&&t.appendChild(w);var x=e.createElement("div");x.setAttribute("class","formFieldName"),x.setAttribute("style",c.formFieldNameBoxStyle),w.appendChild(x);var k=e.createElement("div");k.setAttribute("class","formFieldValue"),w.appendChild(k);var E=y.any(i,s.ui("property"));if(!E)return w.appendChild(l.errorMessageBlock(e,"Error: No property given for autocomplete field: "+i));var C=y.any(i,s.ui("labelProperty"))||s.schema("name"),_=y.any(i,s.ui("dataSource"));if(!_)return w.appendChild(l.errorMessageBlock(e,"Error: No data source given for autocomplete field: "+i));var S={label:y.anyJS(_,s.schema("name"),null,_.doc()),logo:y.any(_,s.schema("logo"),null,_.doc())},A=y.any(i,s.ui("targetClass"),null,i.doc())||y.any(_,s.ui("targetClass"),null,_.doc());A&&(S.targetClass=A);S.objectURIBase=y.any(_,s.ui("objectURIBase"),null,_.doc())||void 0;var T=y.anyJS(_,s.ui("endpoint"),null,_.doc());if(T){if(S.endpoint=T,S.searchByNameQuery=y.anyJS(_,s.ui("searchByNameQuery"),null,_.doc()),!S.searchByNameQuery)return w.appendChild(l.errorMessageBlock(e,"Error: No searchByNameQuery given for endpoint data Source: "+i));S.insitituteDetailsQuery=y.anyJS(_,s.ui("insitituteDetailsQuery"),null,_.doc())}else{var P=y.anyJS(_,s.ui("searchByNameURI"));if(!P)return w.appendChild(l.errorMessageBlock(e,"Error: No searchByNameURI OR sparql endpoint given for dataSource: "+_));S.searchByNameURI=P}var D=y.anyJS(i,s.ui("suppressEmptyUneditable"),null,b),O=null===(m=y.updater)||void 0===m?void 0:m.editable(f.uri),I={permanent:!0,targetClass:S.targetClass,queryParams:S};I.size=y.anyJS(i,s.ui("size"),null,b)||void 0;var F=y.any(r,E,void 0,f);if(F)I.currentObject=F,I.currentName=y.any(I.currentObject,C,null,f);else if(F=y.any(i,s.ui("default")))I.currentObject=F,I.currentName=y.any(I.currentObject,C,null,f);else if(D&&!O)return w.style.display="none",w;x.appendChild(l.fieldLabel(e,E,i));var N={editable:O,dbLookup:!0};return(0,d.renderAutocompleteControl)(e,r,N,I,(function(e,t){return g.apply(this,arguments)}),(function(e,t){return v.apply(this,arguments)})).then((function(e){k.appendChild(e)}),(function(t){k.appendChild(l.errorMessageBlock(e,"Error rendering autocomplete ".concat(i,": ").concat(t),"#fee",t))})),w};var a=r(n(25)),o=r(n(26)),s=h(n(16)),u=n(17),l=h(n(30)),c=h(n(44)),d=n(151),p=n(4);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}},function(e,t,n){"use strict";var r=n(14);Object.defineProperty(t,"__esModule",{value:!0}),t.Signup=a;var i=r(n(260));function a(e){this.config=e||i.default}a.prototype.listen=function(){return new Promise((function(e,t){var n=window.addEventListener?"addEventListener":"attachEvent";(0,window[n])("attachEvent"===n?"onmessage":"message",(function(n){var r=n.data;if("User:"===r.slice(0,5)){var i=r.slice(5,r.length);return i&&i.length>0&&"http"===i.slice(0,4)?e(i):t(i)}}),!0)}))},a.prototype.signup=function(e){e=e||this.config.signupEndpoint;var t=this.config.signupWindowWidth,n=this.config.signupWindowHeight,r=window.screen.width/2-(t/2+10),i=window.screen.height/2-(n/2+50),a=e+"?origin="+encodeURIComponent(window.location.origin),o="resizable,scrollbars,status,width="+t+",height="+n+",left="+r+",top="+i;window.open(a,"Solid signup",o);var s=this;return new Promise((function(e){s.listen().then((function(t){return e(t)}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={authEndpoint:"",fallbackAuthEndpoint:"https://databox.me/",signupEndpoint:"https://solidproject.org/use-solid/",signupWindowHeight:600,signupWindowWidth:1024,key:"",cert:""}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.AddAgentButtons=void 0;var a=r(n(25)),o=r(n(26)),s=r(n(53)),u=r(n(54)),l=r(n(60)),c=n(34),d=v(n(30)),p=v(n(16)),f=n(74),h=v(n(29)),m=v(n(20));function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var y=function(){function e(t){(0,s.default)(this,e),this.groupList=t,(0,l.default)(this,"rootElement",void 0),(0,l.default)(this,"barElement",void 0),(0,l.default)(this,"isExpanded",!1),this.rootElement=t.controller.dom.createElement("div"),this.barElement=t.controller.dom.createElement("div")}var t,n,r,i,g,v;return(0,u.default)(e,[{key:"render",value:function(){return this.rootElement.innerHTML="",this.rootElement.appendChild(this.renderAddButton()),this.rootElement.appendChild(this.barElement),this.rootElement}},{key:"renderAddButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,"".concat(c.icons.iconBase,"noun_34653_green.svg"),"Add ...",(function(){e.toggleBar(),e.renderBar()}))}},{key:"renderBar",value:function(){this.barElement.innerHTML="",this.isExpanded&&(this.barElement.appendChild(this.renderPersonButton()),this.barElement.appendChild(this.renderGroupButton()),this.barElement.appendChild(this.renderPublicButton()),this.barElement.appendChild(this.renderAuthenticatedAgentButton()),this.barElement.appendChild(this.renderBotButton()),this.barElement.appendChild(this.renderAppsButton()))}},{key:"renderSimplifiedBar",value:function(e){var t=this;Array.from(this.barElement.children).filter((function(t){return t!==e})).forEach((function(e){return t.barElement.removeChild(e)}))}},{key:"renderPersonButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+d.iconForClass["vcard:Individual"],"Add Person",(function(t){e.renderSimplifiedBar(t.target),e.renderNameForm(p.vcard("Individual"),"person").then((function(t){return e.addPerson(t)})).then((function(){return e.renderCleanup()})).catch((function(t){return e.groupList.controller.renderStatus(t)}))}))}},{key:"renderGroupButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+d.iconForClass["vcard:Group"],"Add Group",(function(t){e.renderSimplifiedBar(t.target),e.renderNameForm(p.vcard("Group"),"group").then((function(t){return e.addGroup(t)})).then((function(){return e.renderCleanup()})).catch((function(t){return e.groupList.controller.renderStatus(t)}))}))}},{key:"renderNameForm",value:function(e,t){return d.askName(this.groupList.controller.dom,this.groupList.store,this.barElement,p.vcard("URI"),e,t)}},{key:"renderPublicButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+d.iconForClass["foaf:Agent"],"Add Everyone",(function(){return e.addAgent(p.foaf("Agent").uri).then((function(){return e.groupList.controller.renderTemporaryStatus("Adding the general public to those who can read. Drag the globe to a different level to give them more access.")})).then((function(){return e.renderCleanup()}))}))}},{key:"renderAuthenticatedAgentButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,"".concat(c.icons.iconBase,"noun_99101.svg"),"Anyone logged In",(function(){return e.addAgent(p.acl("AuthenticatedAgent").uri).then((function(){return e.groupList.controller.renderTemporaryStatus("Adding anyone logged in to those who can read. Drag the ID icon to a different level to give them more access.")})).then((function(){return e.renderCleanup()}))}))}},{key:"renderBotButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,c.icons.iconBase+"noun_Robot_849764.svg","A Software Agent (bot)",(function(t){e.renderSimplifiedBar(t.target),e.renderNameForm(p.schema("Application"),"bot").then((function(t){return e.addBot(t)})).then((function(){return e.renderCleanup()}))}))}},{key:"renderAppsButton",value:function(){var e=this;return d.button(this.groupList.controller.dom,"".concat(c.icons.iconBase,"noun_15177.svg"),"A Web App (origin)",(function(t){e.renderSimplifiedBar(t.target);var n={div:e.barElement,dom:e.groupList.controller.dom},r=e.renderAppsTable(n).catch((function(t){return e.groupList.controller.renderStatus(t)}));e.renderAppsView();var i=e.renderNameForm(p.schema("WebApplication"),"webapp domain").then((function(t){return e.getOriginFromName(t)}));Promise.race([r,i]).then((function(t){t&&e.groupList.addNewURI(t)})).then((function(){return e.renderCleanup()}))}))}},{key:"renderAppsView",value:function(){var e=this,t=this.groupList.controller.context.session.paneRegistry.byName("trustedApplications");if(t){var n=t.render(null,this.groupList.controller.context);n.classList.add(this.groupList.controller.classes.trustedAppController);var r=d.cancelButton(this.groupList.controller.dom,(function(){return e.renderCleanup()}));r.classList.add(this.groupList.controller.classes.trustedAppCancelButton),n.insertBefore(r,n.firstChild),this.barElement.appendChild(n)}}},{key:"renderAppsTable",value:(v=(0,o.default)(a.default.mark((function e(t){var n,r,i=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.logInLoadProfile)(t);case 2:return n=this.groupList.store.each(t.me,p.acl("trustedApp")),r=n.flatMap((function(e){return i.groupList.store.each(e,p.acl("origin"))})),this.barElement.appendChild(this.groupList.controller.dom.createElement("p")).textContent="You have ".concat(r.length," selected web apps."),e.abrupt("return",new Promise((function(e,t){var r=i.barElement.appendChild(i.groupList.controller.dom.createElement("table"));r.classList.add(i.groupList.controller.classes.trustedAppAddApplicationsTable),n.forEach((function(n){var a=i.groupList.store.any(n,p.acl("origin"));a||t(new Error("Unable to pick app: ".concat(n.value)));var o=d.personTR(i.groupList.controller.dom,p.acl("origin"),a,{}),s=i.groupList.controller.dom.createElement("table"),u=s.appendChild(i.groupList.controller.dom.createElement("tr"));u.appendChild(i.groupList.controller.dom.createElement("td")).appendChild(o),u.appendChild(i.groupList.controller.dom.createElement("td")).textContent="Give access to ".concat(i.groupList.controller.noun," ").concat(h.label(i.groupList.controller.subject),"?"),u.appendChild(i.groupList.controller.dom.createElement("td")).appendChild(d.continueButton(i.groupList.controller.dom,(function(){return e(a.value)}))),r.appendChild(s)}))})));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"renderCleanup",value:function(){this.renderBar(),this.groupList.render()}},{key:"addPerson",value:(g=(0,o.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",this.toggleBar());case 2:if(n=/^https?:/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a http URI")));case 5:return m.log("Adding to ACL person: ".concat(t)),e.next=8,this.groupList.addNewURI(t);case 8:this.toggleBar();case 9:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"addGroup",value:(i=(0,o.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",this.toggleBar());case 2:if(n=/^https?:/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a http URI")));case 5:return m.log("Adding to ACL group: "+t),e.next=8,this.groupList.addNewURI(t);case 8:this.toggleBar();case 9:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"addAgent",value:(r=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.groupList.addNewURI(t);case 2:this.toggleBar();case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"addBot",value:(n=(0,o.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",this.toggleBar());case 2:if(n=/^https?:/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a http URI")));case 5:return m.log("Adding to ACL bot: "+t),e.next=8,this.groupList.addNewURI(t);case 8:this.toggleBar();case 9:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"getOriginFromName",value:(t=(0,o.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:if(n=/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i,t.match(n)){e.next=5;break}return e.abrupt("return",Promise.reject(new Error("Not a domain name")));case 5:return r="https://"+t,m.log("Adding to ACL origin: "+r),this.toggleBar(),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"toggleBar",value:function(){this.isExpanded=!this.isExpanded}}]),e}();t.AddAgentButtons=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styles=void 0;t.styles={aclControlBoxContainer:{margin:"1em"},aclControlBoxHeader:{fontSize:"120%",margin:"0 0 1rem"},aclControlBoxStatus:{display:"none",margin:"1rem 0"},aclControlBoxStatusRevealed:{display:"block"},aclGroupContent:{maxWidth:650},accessGroupList:{display:"grid",gridTemplateColumns:"1fr",margin:"1em",width:"100%"},accessGroupListItem:{display:"grid",gridTemplateColumns:"100px auto 30%"},defaultsController:{display:"flex"},defaultsControllerNotice:{color:"#888",flexGrow:1,fontSize:"80%"},bigButton:{backgroundColor:"white",border:"0.1em solid #888",borderRadius:"0.3em",maxWidth:"50%",paddingBottom:"1em",paddingTop:"1em"},group:{color:"#888"},"group-1":{color:"green"},"group-2":{color:"#cc0"},"group-3":{color:"orange"},"group-5":{color:"red"},"group-9":{color:"blue"},"group-13":{color:"purple"},trustedAppAddApplicationsTable:{backgroundColor:"#eee"},trustedAppCancelButton:{float:"right"},trustedAppControllerI:{borderColor:"orange",borderRadius:"1em",borderWidth:"0.1em"},temporaryStatusInit:{background:"green"},temporaryStatusEnd:{background:"transparent",transition:"background 5s linear"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var r={newThingUI:n(264).newThingUI};t.create=r},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.newThingUI=function(e,t,n){var r=e.dom,u=e.div;if(e.me&&!e.me.uri)throw new Error("newThingUI: Invalid userid: "+e.me);var d="padding: 0.7em; width: 2em; height: 2em;",p=u.appendChild(r.createElement("img")),h=!1;p.setAttribute("src",a.icons.iconBase+"noun_34653_green.svg"),p.setAttribute("style",d),p.setAttribute("title","Add another tool");var m=function(e){var t=u.appendChild(r.createElement("pre"));t.setAttribute("style","background-color: pink"),t.appendChild(r.createTextNode(e))};function g(e){for(var t=0;t<y.length;t++){var n=d+e;y[t].disabled&&(n+="opacity: 0.3;"),y[t].setAttribute("style",n)}}function v(e){h=!h,p.setAttribute("style",d+(h?"background-color: yellow;":"")),g(h?"":"display: none;")}p.addEventListener("click",v);var y=[],b=Object.values(n).filter((function(e){return e.mintNew})),w=b.reduce((function(e,t){return t.mintClass&&(e[t.mintClass.uri]=(e[t.mintClass.uri]||0)+1),e}),{});b.forEach((function(n){var a=e.div.appendChild(r.createElement("img"));a.setAttribute("src",n.icon);var u=n.mintClass?w[n.mintClass.uri]>1?"".concat(o.label(n.mintClass)," (using ").concat(n.name," pane)"):o.label(n.mintClass):n.name+" @@";a.setAttribute("title","Make new "+u),a.setAttribute("style",d+"display: none;"),y.push(a),a.disabled||a.addEventListener("click",(function(p){var h;!function(e){g("display: none;"),e.setAttribute("style",d+"background-color: yellow;")}(a),h={event:p,folder:e.folder||null,iconEle:a,pane:n,noun:u,noIndexHTML:!0,div:e.div,me:e.me,dom:e.dom,refreshTarget:e.refreshTarget},new Promise((function(n,a){var u;function d(n,o){(0,c.logInLoadProfile)(e).then((function(e){var s=Object.assign({newBase:o,folder:h.folder||void 0,workspace:n},h);for(var u in h)s[u]=h[u];i.log("newThingUI: Minting new ".concat(s.pane.name," at ").concat(s.newBase)),h.pane.mintNew(t,s).then((function(e){if(!e||!e.newInstance)throw new Error("Cannot mint new - missing newInstance");if(e.folder){var t=e.newInstance.uri.slice(e.folder.uri.length).includes("/");i.log(" new thing is packge? "+t),t?f.add(e.folder,l.ldp("contains"),f.sym(e.newBase),e.folder.doc()):f.add(e.folder,l.ldp("contains"),e.newInstance,e.folder.doc()),e.refreshTarget&&e.refreshTarget.refresh&&e.refreshTarget.refresh()}else{var n=h.div.appendChild(r.createElement("p"));n.setAttribute("style","font-size: 120%;"),n.innerHTML="Your <a target='_blank' href='"+e.newInstance.uri+"'><b>new "+h.noun+"</b></a> is ready to be set up. <br/><br/><a target='_blank' href='"+e.newInstance.uri+"'>Go to your new "+h.noun+".</a>"}v()})).catch((function(e){m(e),a(e)}))}),(function(e){m("Error logging on: "+e)}))}var p=h.pane;h.noun=p.mintClass?o.label(p.mintClass):p.name,h.appPathSegment=h.noun.slice(0,1).toUpperCase()+h.noun.slice(1),h.folder?s.askName(r,f,h.div,l.foaf("name"),null,h.noun).then((function(e){if(e){var t=h.folder.uri;t.endsWith("/")||(t+="/"),d(null,t=t+encodeURIComponent(e)+"/")}else v()})):(u=(0,c.selectWorkspace)(r,{noun:h.noun,appPathSegment:h.appPathSegment},d),h.div.appendChild(u))}))}))}))};var i=p(n(20)),a=n(34),o=p(n(29)),s=p(n(30)),u=n(17),l=p(n(16)),c=n(74);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var f=u.solidLogicSingleton.store},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matrix=void 0;var r={matrixForQuery:n(266).matrixForQuery};t.matrix=r},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.matrixForQuery=function(e,t,n,r,o,s,l){var c=e.createElement("table"),d=e.createElement("tr");d.appendChild(e.createElement("td")).setAttribute("class","MatrixCorner"),c.appendChild(d),c.lastHeader=d;var p=[],f=[],h=function(e,t,n,r){for(;e.firstChild;)e.removeChild(e.firstChild);e.setAttribute("style",""),e.style.textAlign="center",s.cellFunction?s.cellFunction(e,t,n,r):(e.textContent=i.label(r),e.setAttribute("style","padding: 0.3em")),delete e.old},m=function(t){var n=t.toNT();if(f[n])return f[n];var r=e.createElement("tr"),o=r.appendChild(e.createElement("td"));o.setAttribute("style","padding: 0.3em;"),o.textContent=i.label(t),"NamedNode"===t.termType&&u.fetcher.nowOrWhenFetched(t.uri.split("#")[0],void 0,(function(e,n,r){e&&(o.textContent=i.label(t))}));for(var l=0;l<p.length;l++)h(r.appendChild(e.createElement("td")),a.fromNT(p[l]),t,null);r.dataValueNT=n,f[n]=r;for(var d=c.lastHeader.nextSibling;d;d=d.nextSibling)if(n>d.dataValueNT&&s&&s.yDecreasing||n<d.dataValueNT&&(!s||!s.yDecreasing))return c.insertBefore(r,d);return c.appendChild(r)},g=function(t){for(var n=t.toNT(),r=null,o=0;o<p.length;o++){if(p[o]===n)return o;if(n>p[o]&&s.xDecreasing||n<p[o]&&!s.xDecreasing){p=p.slice(0,o).concat([n]).concat(p.slice(o)),r=o;break}}null===r&&(r=p.length,p.push(n));for(var u=c.firstChild;u;u=u.nextSibling){var l=u.dataValueNT,d=e.createElement("td");if(d.style.textAlign="center",u===c.firstChild?d.textContent=i.label(t):h(d,t,a.fromNT(l),null),r===p.length-1)u.appendChild(d);else{for(var f=u.firstChild,m=0;m<r+1;m++)f=f.nextSibling;u.insertBefore(d,f)}}return r},v=function(){var e,t,n=[],r=[];if(s.set_y)for(var i=0;i<s.set_y.length;i++)r[s.set_y[i]]=!0;if(s.set_x)for(var o=0;o<s.set_x.length;o++)n[g(s.set_x[o])+1]=!0;for(var u=1;u<c.children.length;u++){e=c.children[u];for(var l=1;l<e.children.length;l++)if((t=e.children[l]).old){var d=a.fromNT(e.dataValueNT),m=a.fromNT(p[l-1]);h(t,m,d,null)}else r[e.dataValueNT]=!0,n[l]=!0}for(var v=0;v<c.children.length;v++)if(e=c.children[v],v>0&&!r[e.dataValueNT])delete f[e.dataValueNT],c.removeChild(e);else for(var y=e.children.length-1;y>0;y--){var b=e.children[y];n[y]||e.removeChild(b)}for(var w=[],x=0;x<p.length;x++)n[x+1]&&w.push(p[x]);p=w};c.refresh=function(){!function(){for(var e=1;e<c.children.length;e++)for(var t=c.children[e],n=1;n<t.children.length;n++)t.children[n].old=!0}(),u.query(t,y,void 0,v)};var y=function(e){var t=e[n.toString()],i=e[r.toString()],a=e[o.toString()],s=m(i),u=g(t),l=s.children[u+1];h(l,t,i,a)};if(s.set_y)for(var b=0;b<s.set_y.length;b++)m(s.set_y[b]);if(s.set_x)for(var w=0;w<s.set_x.length;w++)g(s.set_x[w]);return u.query(t,y,void 0,l),c};var i=s(n(29)),a=s(n(4));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}var u=n(17).solidLogicSingleton.store},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.cameraButton=function(e,t,n,r){var i,s=e.createElement("div"),u=l.button(e,p,"Take picture");function c(e){return d.apply(this,arguments)}function d(){return(d=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s.removeChild(i),s.appendChild(u),r(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return s.appendChild(u),u.addEventListener("click",(function(r){s.removeChild(u),i=m(e,t,n,c),s.appendChild(i)})),s},t.cameraCaptureControl=m;var a=r(n(25)),o=r(n(26)),s=d(n(20)),u=n(34),l=d(n(30));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var p=u.icons.iconBase+"noun_Camera_1618446_000000.svg",f=u.icons.iconBase+"noun_479395.svg",h="border-radius: 0.5em; margin: 0.8em; width: ".concat("640","; height:").concat("480",";");function m(e,t,n,r){var i,a,o,c,d=e.createElement("div"),p=d.appendChild(e.createElement("table")),m=p.appendChild(e.createElement("tr")).appendChild(e.createElement("td"));m.setAttribute("colspan","4");var g=p.appendChild(e.createElement("tr"));g.appendChild(e.createElement("td")).appendChild(l.cancelButton(e)).addEventListener("click",(function(e){k(),r(null)}));var v=g.appendChild(e.createElement("td")).appendChild(l.button(e,f,"Retake"));v.addEventListener("click",(function(e){m.removeChild(c),w()})),v.style.visibility="collapse";var y=g.appendChild(e.createElement("td")).appendChild(l.button(e,u.icons.iconBase+"noun_10636.svg","Snap"));y.addEventListener("click",(function(){(c=e.createElement("canvas")).setAttribute("width","640"),c.setAttribute("height","480"),c.setAttribute("style",h),m.appendChild(c),c.getContext("2d").drawImage(o,0,0,c.width,c.height),o.parentNode.removeChild(o),c.toBlob((function(e){var t="got blob type ".concat(e.type," size ").concat(e.size);s.log(t),i=n(),a=e,b.style.visibility="visible",v.style.visibility="visible",y.style.visibility="collapse"}),"image/png")})),y.style.visibility="collapse";var b=g.appendChild(e.createElement("td")).appendChild(l.continueButton(e));function w(){if((o=m.appendChild(e.createElement("video"))).setAttribute("controls","1"),o.setAttribute("autoplay","1"),o.setAttribute("style",h),!navigator.mediaDevices)throw new Error("navigator.mediaDevices not available");navigator.mediaDevices.getUserMedia(x).then((function(e){o.srcObject=e,y.style.visibility="visible",b.style.visibility="collapse",v.style.visibility="collapse"}))}b.addEventListener("click",(function(e){!function(e,n){var i=e.type;s.log("Putting "+e.size+" bytes of "+i+" to "+n),t.fetcher.webOperation("PUT",n.uri,{data:e,contentType:i}).then((function(e){s.log("ok saved "+n),k(),r(n)}),(function(e){k(),alert(e)}))}(a,i)})),b.style.visibility="collapse";var x={video:!0};function k(){o&&o.srcObject&&o.srcObject.getVideoTracks().forEach((function(e){return e.stop()}))}return w(),d}},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.messageArea=function(e,t,n,r,i){t=t||h.store,r=r.doc();var a,o,s=h.ns,l=u.Namespace("http://www.w3.org/2005/01/wf/flow#"),d=u.Namespace("http://purl.org/dc/terms/"),p=!!(i=i||{}).newestFirst,f="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;",m=e.createElement("div"),g=h.store.updater,v=function(t,n){var r=e.createElement("a");return n&&n.uri&&(r.setAttribute("href",n.uri),r.addEventListener("click",h.widgets.openHrefInOutlineMode,!0),r.setAttribute("style","color: #3B5998; text-decoration: none; ")),r.textContent=t,r},y=function(t,n){var r=e.createElement("pre");return r.setAttribute("style",n||"color: grey"),m.appendChild(r),r.appendChild(e.createTextNode(t)),r},b={log:function(e){y(e,"color: #111;")},warn:function(e){y(e,"color: #880;")},error:function(e){y(e,"color: #800;")}};function w(e){var t=h.store.any(e,h.ns.foaf("nick"));return t?""+t.value:""+c.label(e)}function x(t,n,r,i){var a=t.appendChild(v(w(n),n));n.uri&&h.store.fetcher.nowOrWhenFetched(n.doc(),void 0,(function(e,t){a.textContent=w(n)})),t.appendChild(e.createElement("br")),t.appendChild(v(r,i))}function k(e,n){var r,i,a={};for(r=n.firstChild;r;r=r.nextSibling)r.AJAR_subject&&(a[r.AJAR_subject.uri]=!0);var o=t.each(e,s.wf("message")),u={};for(o.forEach((function(e){u[e.uri]=!0,a[e.uri]||E(e)})),r=n.firstChild;r;)i=r.nextSibling,r.AJAR_subject&&!u[r.AJAR_subject.uri]&&n.removeChild(r),r=i}var E=function(e){var n={"?msg":e,"?creator":t.any(e,s.foaf("maker")),"?date":t.any(e,d("created")),"?content":t.any(e,s.sioc("content"))};C(n,!0)},C=function(r,i){var o=r["?creator"],s=r["?msg"],u=r["?date"],l=r["?content"],c=u.value,d=e.createElement("tr");d.AJAR_date=c,d.AJAR_subject=s;for(var m=!1,v=a.firstChild;v;v=v.nextSibling)if(c>v.AJAR_date&&p||c<v.AJAR_date&&!p){a.insertBefore(d,v),m=!0;break}m||a.appendChild(d);var y=e.createElement("td");d.appendChild(y),x(y,o,h.widgets.shortDate(c),s);var w=e.createElement("td");d.appendChild(w);var E=e.createElement("p");E.setAttribute("style",f+(i?"background-color: #e8ffe8;":"background-color: #white;")),w.appendChild(E),E.textContent=l.value;var C=e.createElement("td");d.appendChild(C);var _=e.createElement("button");C.appendChild(_),_.textContent="-",d.setAttribute("class","hoverControl"),_.setAttribute("class","hoverControlHide"),_.setAttribute("style","color: red;"),_.addEventListener("click",(function(r){C.removeChild(_);var i=e.createElement("button");i.textContent="cancel",C.appendChild(i).addEventListener("click",(function(e){C.removeChild(o),C.removeChild(i),C.appendChild(_)}),!1);var o=e.createElement("button");o.textContent="Delete message",C.appendChild(o).addEventListener("click",(function(e){C.removeChild(o),C.removeChild(i),function(e){var r=t.statementsMatching(e).concat(t.statementsMatching(void 0,void 0,e));g.update(r,[],(function(e,t,r){t?k(n,a):b.error("Cant delete messages:"+r)}))}(s)}),!1)}),!1)};(a=e.createElement("table")).fresh=!1,m.appendChild(a),a.setAttribute("style","width: 100%;");var _,S=function(){var i=e.createElement("tr"),a=e.createElement("td"),l=e.createElement("td"),c=e.createElement("td");i.appendChild(a),i.appendChild(l),i.appendChild(c),i.AJAR_date="9999-01-01T00:00:00Z";var p,m,v=function(){p.setAttribute("class","pendingedit"),p.disabled=!0;var a=[],l=new Date,c=""+l.getTime(),f=u.term(l),m=t.sym(r.uri+"#Msg"+c);a.push(new u.Statement(n,s.wf("message"),m,r)),a.push(new u.Statement(m,s.sioc("content"),t.literal(p.value),r)),a.push(new u.Statement(m,d("created"),f,r)),o&&a.push(new u.Statement(m,s.foaf("maker"),o,r));g.update([],a,(function(n,r,a){if(r){var s={"?msg":m,"?content":t.literal(p.value),"?date":f,"?creator":o};C(s,!1),p.value="",p.setAttribute("class",""),p.disabled=!1}else i.appendChild(h.widgets.errorMessageBlock(e,"Error writing message: "+a))}))};i.appendChild(e.createElement("br"));var y={div:l,dom:e};return h.authn.logIn(y).then((function(t){o=t.me,x(a,o,"",null),p=e.createElement("textarea"),l.innerHTML="",l.appendChild(p),p.rows=3,p.setAttribute("style",f+"background-color: #eef;"),p.addEventListener("keyup",(function(e){13===e.keyCode&&(e.altKey||v())}),!1),c.innerHTML="",(m=h.widgets.button(e,h.icons.iconBase+"noun_383448.svg","Send")).setAttribute("style",h.style.buttonStyle+"float: right;"),m.addEventListener("click",v,!1),c.appendChild(m)})),i}();p?a.insertBefore(S,a.firstChild):a.appendChild(S);if(i.query)_=i.query;else{_=new u.Query("Messages");var A={};["msg","date","creator","content"].forEach((function(e){_.vars.push(A[e]=u.variable(e))})),_.pat.add(n,l("message"),A.msg),_.pat.add(A.msg,s.dct("created"),A.date),_.pat.add(A.msg,s.foaf("maker"),A.creator),_.pat.add(A.msg,s.sioc("content"),A.content)}return t.query(_,C,void 0,(function(){a.fresh=!0})),m.refresh=function(){k(n,a)},m};var i=n(61),a=n(34),o=n(17),s=f(n(16)),u=f(n(4)),l=f(n(44)),c=f(n(29)),d=f(n(30));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var h={authn:i.authn,icons:a.icons,ns:s,rdf:u,store:o.store,style:l,widgets:d}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.DateFolder=void 0;var a=r(n(25)),o=r(n(26)),s=r(n(53)),u=r(n(54)),l=h(n(20)),c=n(17),d=h(n(16)),p=h(n(4));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var m=function(){function e(t,n,r){(0,s.default)(this,e),this.root=t,this.rootFolder=t.dir(),this.leafFileName=n||"index.ttl",this.membershipProperty=r||d.wf("leafObject")}var t,n;return(0,u.default)(e,[{key:"leafDocumentFromDate",value:function(e){var t=e.toISOString().split("T")[0].replace(/-/g,"/");return t=this.root.dir().uri+t+"/"+this.leafFileName,c.store.sym(t)}},{key:"dateFromLeafDocument",value:function(e){var t=this.rootFolder.uri.length,n=e.uri.slice(t,t+10).replace(/\//g,"-"),r=new Date(n);return l.log("Date for "+e+":"+r.toISOString()),r}},{key:"loadPrevious",value:(n=(0,o.default)(a.default.mark((function e(t,n){var r,i,s,u,l,p;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=function(){return(s=(0,o.default)(a.default.mark((function e(t,s){var u,l,p,f,h,m,g,v,y,b;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=function(){return(f=(0,o.default)(a.default.mark((function e(t){var i,o;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=t.filter(l)).sort(),n||t.reverse(),3===s){e.next=5;break}return e.abrupt("return",t.pop());case 5:if(!t.length){e.next=14;break}return i=t.pop(),o=c.store.sym(i.uri+r.leafFileName),e.next=10,c.store.fetcher.load(o);case 10:if(!(c.store.statementsMatching(null,d.dct("created"),null,o).length>0)){e.next=12;break}return e.abrupt("return",i);case 12:e.next=5;break;case 14:return e.abrupt("return",null);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)},p=function(e){return f.apply(this,arguments)},l=function(e){var t=e.uri.slice(0,-1).split("/").slice(-1)[0];return!!"0123456789".includes(t[0])},u=function(e){return!(n?e.uri>=t.uri:e.uri<=t.uri)},h=t.dir(),e.next=7,c.store.fetcher.load(h);case 7:return m=(m=c.store.each(h,d.ldp("contains"))).filter(u),e.next=11,p(m);case 11:if(!(g=e.sent)){e.next=14;break}return e.abrupt("return",g);case 14:if(0!==s){e.next=16;break}return e.abrupt("return",null);case 16:return e.next=18,i(h,s-1);case 18:if(v=e.sent){e.next=21;break}return e.abrupt("return",null);case 21:return e.next=23,c.store.fetcher.load(v);case 23:return y=c.store.each(v,d.ldp("contains")),e.next=26,p(y);case 26:return b=e.sent,e.abrupt("return",b);case 28:case"end":return e.stop()}}),e)})))).apply(this,arguments)},i=function(e,t){return s.apply(this,arguments)},r=this,u=this.leafDocumentFromDate(t).dir(),e.next=6,i(u,3);case 6:if(!(l=e.sent)){e.next=10;break}return p=c.store.sym(l.uri+this.leafFileName),e.abrupt("return",this.dateFromLeafDocument(p));case 10:return e.abrupt("return",null);case 11:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"firstLeaf",value:(t=(0,o.default)(a.default.mark((function e(t){var n,r,i,s,u,c,f,h,m,g,v;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=function(){return(s=(0,o.default)(a.default.mark((function e(i){var o,s;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(e){var t=e.uri.slice(0,-1).split("/").slice(-1)[0];return!!"0123456789".includes(t[0])},l.log(" parent "+i),delete r.requested[i.uri],e.next=5,r.load(i,{force:!0});case 5:if(0!==(s=(s=n.each(i,d.ldp("contains"))).filter(o)).length){e.next=9;break}throw new Error(" @@@ No children to parent2 "+i);case 9:return s.sort(),t&&s.reverse(),e.abrupt("return",s[0]);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)},i=function(e){return s.apply(this,arguments)},n=p.graph(),r=new p.Fetcher(n),e.next=6,i(this.root.dir());case 6:return u=e.sent,e.next=9,i(u);case 9:return c=e.sent,e.next=12,i(c);case 12:return f=e.sent,h=p.sym(f.uri+"chat.ttl"),e.next=16,r.load(h);case 16:if(0!==(m=n.each(this.root,this.membershipProperty,null,h)).length){e.next=21;break}throw g=" INCONSISTENCY -- no chat leafObject in file "+h,l.trace(g),new Error(g);case 21:return(v=m.map((function(e){return[n.any(e,d.dct("created")),e]}))).sort(),t&&v.reverse(),l.log((t?"Latest":"Earliest")+" leafObject is "+v[0][1]),e.abrupt("return",v[0][1]);case 26:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),e}();t.DateFolder=m},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.messageToolbar=function(e,t,n,r){function i(){return(i=(0,o.default)(a.default.mark((function i(){var o,s;return a.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(o=d.store.any(e,p.foaf("maker")),C){i.next=5;break}alert("You can't delete the message, you are not logged in."),i.next=22;break;case 5:if(!C.sameTerm(o)){i.next=21;break}return i.prev=6,i.next=9,r.deleteMessage(e);case 9:i.next=18;break;case 11:i.prev=11,i.t0=i.catch(6),s="Error deleting messaage "+i.t0,u.warn(s),alert(s),(n.statusArea||t.parentNode).appendChild(m.errorMessageBlock(x,s));case 18:t.parentNode.removeChild(t),i.next=22;break;case 21:alert("You can't delete the message, you are not logged in as the author, "+o);case 22:w();case 23:case"end":return i.stop()}}),i,null,[[6,11]])})))).apply(this,arguments)}function s(){return(s=(0,o.default)(a.default.mark((function t(i){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:C.value===d.store.any(e,p.foaf("maker")).value&&(w(),(0,y.switchToEditor)(i,e,r,n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var b=x.createElement("div");if((0,v.mostRecentVersion)(e).value===p.schema("dateDeleted").value)return b;function w(){b.parentElement.parentElement.removeChild(b.parentElement)}function k(e){return E.apply(this,arguments)}function E(){return(E=(0,o.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.store.updater.update(d.store.connectedStatements(t),[]);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var C=l.authn.currentUser();C&&d.store.holds(e,p.foaf("maker"),C)&&(b.appendChild(m.deleteButtonWithCheck(x,b,"message",(function(){return i.apply(this,arguments)}))),b.appendChild(m.button(x,c.icons.iconBase+"noun_253504.svg","edit",(function(){return function(e){return s.apply(this,arguments)}(t)}))));function _(e,n,r,i,s,u){function l(){g.style.backgroundColor=c?"yellow":"white"}var c,g=m.button(x,r,h.label(i),function(){var r=(0,o.default)(a.default.mark((function r(o){var h,g,y,b;return a.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!c){r.next=7;break}return r.next=3,k(c);case 3:c=null,l(),r.next=25;break;case 7:return c=m.newThing(s),h=[f.st(c,p.schema("agent"),e.me,s),f.st(c,p.rdf("type"),i,s),f.st(c,p.schema("target"),n,s)],r.next=11,d.store.updater.update([],h);case 11:if(l(),!u){r.next=25;break}g=!1,y=0;case 15:if(!(y<u.length)){r.next=24;break}if(!(b=v(u[y]))){r.next=21;break}return r.next=20,k(b);case 20:g=!0;case 21:y++,r.next=15;break;case 24:g&&m.refreshTree(t);case 25:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}());function v(t){var r=d.store.each(null,p.schema("agent"),e.me,s).filter((function(e){return d.store.holds(e,p.rdf("type"),t,s)})).filter((function(e){return d.store.holds(e,p.schema("target"),n,s)}));return r.length?r[0]:null}function y(){c=v(i),l()}return g.refresh=y,y(),g}if((0,g.renderBookmarksButton)(n).then((function(e){e&&b.appendChild(e)})),(C=l.authn.currentUser())&&(0,v.mostRecentVersion)(e).value!==p.schema("dateDeleted").value){var S={me:C,dom:x,div:b};b.appendChild(_(S,e,c.icons.iconBase+"noun_1384132.svg",p.schema("AgreeAction"),e.doc(),[p.schema("DisagreeAction")])),b.appendChild(_(S,e,c.icons.iconBase+"noun_1384135.svg",p.schema("DisagreeAction"),e.doc(),[p.schema("AgreeAction")]))}var A=b.appendChild(m.cancelButton(x));return A.style.float="right",A.firstChild.style.opacity="0.3",A.addEventListener("click",w),b},t.sentimentStrip=function(e,t){var n=(0,v.mostRecentVersion)(e),r=(d.store.holds(n,p.schema("dateDeleted").value,null,n.doc())?d.store.each(null,p.schema("target"),e,t):[]).map((function(e){return d.store.any(e,p.rdf("type"),null,t)}));r.sort();var i=r.map((function(e){return k[e]||""}));return x.createTextNode(i.join(" "))},t.sentimentStripLinked=function(e,t){var n=x.createElement("span");function r(){n.innerHTML="";var r=((0,v.mostRecentVersion)(e).uri!==p.schema("dateDeleted").uri?d.store.each(null,p.schema("target"),e,t):[]).map((function(e){return[d.store.any(e,p.rdf("type"),null,t),d.store.any(e,p.schema("agent"),null,t)]}));r.sort(),r.forEach((function(e){var t,r=(0,s.default)(e,2),i=r[0],a=r[1];a?(t=x.createElement("a")).setAttribute("href",a.uri):t=x.createTextNode(""),t.textContent=k[i]||"*",n.appendChild(t)}))}return r(),n.refresh=r,n};var a=r(n(25)),o=r(n(26)),s=r(n(111)),u=w(n(20)),l=n(61),c=n(34),d=n(17),p=w(n(16)),f=w(n(4)),h=w(n(29)),m=w(n(30)),g=n(156),v=n(119),y=n(155);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var x=window.document,k={};k[p.schema("AgreeAction")]="👍",k[p.schema("DisagreeAction")]="👎",k[p.schema("EndorseAction")]="⭐️",k[p.schema("LikeAction")]="❤️"},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(121),i=n(273);function a(t,n,o){return i()?(e.exports=a=Reflect.construct,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.get=function(e){return h[e]},t.getPreferencesForClass=function(e,t,n,r){return new Promise((function(i,a){m(e,r).then((function(r){var o=r.sharedPreferences;if(r.me)u.participationObject(e,e.doc(),r.me).then((function(e){g(t,r).then((function(t){var r=[],a=t.personalDefaults;n.forEach((function(t){var n=f.any(e,t)||f.any(o,t)||f.any(a,t);n&&(r[t.uri]=v(n))})),i(r)}),a)}),a);else{var s=[];n.forEach((function(e){var t=f.any(o,e);t&&(s[e.uri]=v(t))})),i(s)}}))}))},t.recordPersonalDefaults=g,t.recordSharedPreferences=m,t.renderPreferencesForm=function(e,t,n,r){var i=r.dom.createElement("div");return u.participationObject(e,e.doc(),r.me).then((function(a){var o=r.dom;function s(e){i.appendChild(o.createElement("h5")).textContent=e}s("My view of this "+r.noun),c.appendForm(o,i,{},a,n,e.doc(),(function(e,t){e||c.complain(r,t)})),s("Everyone's view of this "+r.noun),m(e,r).then((function(r){var a=r.sharedPreferences;c.appendForm(o,i,{},a,n,e.doc(),(function(e,t){e||c.complain(r,t)})),s("My default view of any "+r.noun),g(t,r).then((function(e){c.appendForm(o,i,{},e.personalDefaults,n,e.preferencesFile,(function(t,n){t||c.complain(e,n)}))}),(function(e){c.complain(r,e)}))}))}),(function(e){i.appendChild(c.errorMessageBlock(r.dom,e))})),i},t.set=function(e,t){if("string"!=typeof t)throw i.log("Non-string value of preference "+e+": "+t),new Error("Non-string value of preference "+e+": "+t);this.value[e]=t},t.value=void 0;var i=p(n(20)),a=n(61),o=n(17),s=p(n(16)),u=p(n(124)),l=p(n(4)),c=p(n(30));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var f=o.store,h=[];function m(e,t){return new Promise((function(n,r){var a=f.any(e,s.ui("sharedPreferences"));if(a)t.sharedPreferences=a,n(t);else{var o=l.sym(e.doc().uri+"#SharedPreferences"),u=[l.st(e,s.ui("sharedPreferences"),o,e.doc())];i.log("Creating shared preferences "+o),f.updater.update([],u,(function(e,i,a){i?(t.sharedPreferences=o,n(t)):r(new Error("Error creating shared prefs: "+a))}))}}))}function g(e,t){return new Promise((function(n,r){a.authn.logInLoadPreferences(t).then((function(t){if(t.preferencesFile){var a,o,u=f.each(null,s.solid("forClass"),e,t.preferencesFile),d=[];if(u.length){if(u.forEach((function(e){a=a||f.any(e,s.solid("personalDefaults"))})),a)return t.personalDefaults=a,void n(t);a=c.newThing(t.preferencesFile),o=u[0]}else o=c.newThing(t.preferencesFile),d=[l.st(o,s.rdf("type"),s.solid("TypeRegistration"),t.preferencesFile),l.st(o,s.solid("forClass"),e,t.preferencesFile)];a=c.newThing(t.preferencesFile),d.push(l.st(o,s.solid("personalDefaults"),a,t.preferencesFile)),f.updater.update([],d,(function(i,o,s){o?(t.personalDefaults=a,n(t)):r(new Error("Setting preferences for "+e+": "+s))}))}else i.log("Not doing private class preferences as no access to preferences file. "+t.preferencesFileError)}),(function(e){r(e)}))}))}function v(e){return e.datatype?e.datatype.equals(s.xsd("boolean"))?"1"===e.value:e.datatype.equals(s.xsd("dateTime"))||e.datatype.equals(s.xsd("date"))?new Date(e.value):e.datatype.equals(s.xsd("integer"))||e.datatype.equals(s.xsd("float"))||e.datatype.equals(s.xsd("decimal"))?Number(e.value):e.value:e}t.value=h},function(e,t,n){"use strict";var r=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.renderTableViewPane=function(e,t){var n,r,a,o,s=t.sourceDocument,u=t.tableClass,d=t.query,p=h.ns,f=h.store,m={},g={"http://www.w3.org/2002/07/owl#sameAs":!0,"http://www.w3.org/1999/02/22-rdf-syntax-ns#type":!0},v={"http://www.w3.org/2001/XMLSchema#decimal":!0,"http://www.w3.org/2001/XMLSchema#float":!0,"http://www.w3.org/2001/XMLSchema#double":!0,"http://www.w3.org/2001/XMLSchema#integer":!0,"http://www.w3.org/2001/XMLSchema#nonNegativeInteger":!0,"http://www.w3.org/2001/XMLSchema#positiveInteger":!0,"http://www.w3.org/2001/XMLSchema#nonPositiveInteger":!0,"http://www.w3.org/2001/XMLSchema#negativeInteger":!0,"http://www.w3.org/2001/XMLSchema#long":!0,"http://www.w3.org/2001/XMLSchema#int":!0,"http://www.w3.org/2001/XMLSchema#short":!0,"http://www.w3.org/2001/XMLSchema#byte":!0,"http://www.w3.org/2001/XMLSchema#unsignedLong":!0,"http://www.w3.org/2001/XMLSchema#unsignedInt":!0,"http://www.w3.org/2001/XMLSchema#unsignedShort":!0,"http://www.w3.org/2001/XMLSchema#unsignedByte":!0},y={"http://www.w3.org/2001/XMLSchema#dateTime":!0,"http://www.w3.org/2001/XMLSchema#date":!0},b={"http://xmlns.com/foaf/0.1/Image":!0,"http://purl.org/dc/terms/Image":!0},w=t.keyVariable||"?_row",x=0,k=null,E=e.createElement("div");E.className="tableViewPane",E.appendChild(function(){var t=e.createElement("table");t.setAttribute("class","toolbar");var n=e.createElement("tr");return a=e.createElement("td"),n.appendChild(a),o=e.createElement("td"),n.appendChild(o),t.appendChild(n),t}());var C,_=e.createElement("div");if(E.appendChild(_),E.refresh=function(){X(C.query,C.logicalRows,C.columns,C)},d)C=ee(d),_.appendChild(C);else{var S=function(){var e,t,n=function(){for(var e={},t=f.statementsMatching(void 0,h.ns.rdf("type"),u,s),n={},r=0;r<t.length;++r){var i=t[r].object;if("NamedNode"===i.termType){var a=R(e,i);i.uri in n||(n[i.uri]=[]),n[i.uri].push(t[r].subject),a.addUse()}}return[n,e]}();for(var r in e=n[0],t=n[1],e){var i=e[r];L(t[r],i)}return[new D(null),I(t)]}();n=S[0],r=S[1],u||a.appendChild(function(t,n){var r=e.createElement("div");r.appendChild(e.createTextNode("Select type: "));var i=e.createElement("select");for(var a in i.appendChild(F("All types","null")),n)i.appendChild(F(n[a].getLabel(),a));return i.addEventListener("click",(function(){var e;e="null"===i.value?t:n[i.value],T(e)}),!1),r.appendChild(i),r}(n,r)),T(function(e){var t,n=-1,r=null;for(t in e){var i=e[t];i.useCount>n&&(r=i,n=i.useCount)}return r}(r)||n)}return E;function A(e){var t=new l.Query,n=f.variable(w.slice(1));return function(e,t){for(var n=t.getColumns(),r=0;r<n.length;++r){var i=f.variable("_col"+r);e.vars.push(i),n[r].setVariable(i)}}(t,e),function(e,t,n){var r=n.type;r||(r=f.variable("_any")),e.pat.add(t,h.ns.rdf("type"),r)}(t,n,e),function(e,t,n){for(var r=n.getColumns(),i=0;i<r.length;++i){var a=r[i],o=f.formula();o.add(t,a.predicate,a.getVariable()),e.pat.optional.push(o)}}(t,n,e),t}function T(t){P(o),o.appendChild(function(t){var n=e.createElement("div"),r=t.getUnusedColumns();if(r.sort((function(e,t){var n=e.sortKey(),r=t.sortKey();return(n>r)-(n<r)})),r.length>0){n.appendChild(e.createTextNode("Add column: "));var i=e.createElement("select");i.appendChild(F("","-1"));for(var a=0;a<r.length;++a){var o=r[a];i.appendChild(F(o.getLabel(),""+a))}n.appendChild(i),i.addEventListener("click",(function(){var e=Number(i.value);e>=0&&(t.addColumn(r[e]),T(t))}),!1)}return n}(t)),function(e,t){k&&(k.running=!1);var n=ee(e,t);P(_),_.appendChild(n),k=e}(A(t),t)}function P(e){for(;e.childNodes.length>0;)e.removeChild(e.childNodes[0])}function D(e){this.type=e,this.columns=null,this.allColumns=[],this.useCount=0,this.getAllColumns=function(){return this.allColumns},this.getColumns=function(){if(!this.columns){var e=this.getAllColumns();this.columns=e.slice(0,7)}return this.columns},this.getUnusedColumns=function(){for(var e=this.getAllColumns(),t=this.getColumns(),n=[],r=0;r<e.length;++r)-1===t.indexOf(e[r])&&n.push(e[r]);return n},this.addColumn=function(e){this.columns.push(e)},this.removeColumn=function(e){this.columns=this.columns.filter((function(t){return t!==e}))},this.getLabel=function(){return c.label(this.type)},this.addUse=function(){this.useCount+=1}}function O(){this.useCount=0,this.checkedAnyValues=!1,this.possiblyLiteral=!0,this.possiblyNumber=!0,this.constraints=[],this.checkValue=function(e){var t=e.termType;if(this.possiblyLiteral&&"Literal"!==t&&"NamedNode"!==t)this.possiblyNumber=!1,this.possiblyLiteral=!1;else if(this.possiblyNumber){if("Literal"!==t)this.possiblyNumber=!1;else e.value.match(/^-?\d+(\.\d*)?$/)||(this.possiblyNumber=!1)}this.checkedAnyValues=!0},this.getVariable=function(){return this.variable},this.setVariable=function(e){this.variable=e},this.getKey=function(){return this.variable.toString()},this.addUse=function(){this.useCount+=1},this.getHints=function(){return t&&t.hints&&this.variable&&t.hints[this.variable.toNT()]?t.hints[this.variable.toNT()]:{}},this.getLabel=function(){return this.getHints().label?this.getHints().label:this.predicate?this.predicate.sameTerm(p.rdf("type"))&&this.superClass?c.label(this.superClass,!0):c.label(this.predicate):this.variable?this.variable.toString():"unlabeled column?"},this.setPredicate=function(e,t,n){t?(this.inverse=e,this.constraints=this.constraints.concat(f.each(e,h.ns.rdfs("domain"))),e.sameTerm(p.rdfs("subClassOf"))&&"NamedNode"===n.termType&&(this.superClass=n,this.alternatives=f.each(void 0,p.rdfs("subClassOf"),n))):(this.predicate=e,this.constraints=this.constraints.concat(f.each(e,h.ns.rdfs("range"))))},this.getConstraints=function(){return this.constraints},this.filterFunction=function(){return!0},this.sortKey=function(){return this.getLabel().toLowerCase()},this.isImageColumn=function(){for(var e=0;e<this.constraints.length;e++)if(this.constraints[e].uri in b)return!0;return!1}}function I(e,t){var n=[];for(var r in e){var i=e[r];t&&!t(r,i)||n.push(i)}return n}function F(t,n){var r=e.createElement("option");return r.setAttribute("value",n),r.appendChild(e.createTextNode(t)),r}function N(e,t){var n;return t.uri in e?n=e[t.uri]:((n=new O).setPredicate(t),e[t.uri]=n),n}function R(e,t){var n;return t.uri in e?n=e[t.uri]:(n=new D(t),e[t.uri]=n),n}function j(e,t){for(var n=f.statementsMatching(e,void 0,void 0,s),r={},i=0;i<n.length;++i){var a=n[i].predicate;if(!(a.uri in g)){var o=N(t,a);o.checkValue(n[i].object),r[a.uri]=o}}return r}function L(e,t){for(var n={},r=0;r<t.length;++r){var i=j(t[r],n);for(var a in i){i[a].addUse()}}var o=I(n);!function(e){e.sort((function(e,t){return(e.useCount<t.useCount)-(e.useCount>t.useCount)}))}(o),e.allColumns=o}function M(t,n){var r=e.createElement("a");return r.appendChild(e.createTextNode("[x]")),r.addEventListener("click",(function(){t.removeColumn(n),T(t)}),!1),r}function U(e,t){for(var n=!0,r=0;r<t.length;++r){var i=t[r],a=i.getKey(),o=null;if(a in e.values&&(o=e.values[a][0]),!i.filterFunction(o)){n=!1;break}}var s=e._htmlRow;s.style.display=n?"":"none"}function B(e,t){for(var n=0;n<e.length;++n){U(e[n],t)}}function H(e,t,n){function r(e){return e?"Literal"===e.termType?e.value.toLowerCase():"NamedNode"===e.termType?c.label(e).toLowerCase():e.value.toLowerCase():""}!function(e,t,n,r){var i=t.getKey();if(e.sort((function(e,t){var a=null,o=null;i in e.values&&(a=e.values[i][0]),i in t.values&&(o=t.values[i][0]);var s=n(a,o);return r?-s:s})),e.length){for(var a=e[0]._htmlRow.parentNode,o=0;o<e.length;++o)a.removeChild(e[o]._htmlRow);for(var s=0;s<e.length;++s)a.appendChild(e[s]._htmlRow)}}(e,t,(function(e,t){var n=r(e),i=r(t);return n<i?-1:n>i?1:0}),n)}function q(t,n,r){var i=e.createElement("div"),a=e.createElement("input");a.setAttribute("type","text"),a.style.width="70%",i.appendChild(a);var o=e.createElement("span");o.appendChild(e.createTextNode("▼")),o.addEventListener("click",(function(){H(t,r,!1)}),!1),i.appendChild(o);var s=e.createElement("span");s.appendChild(e.createTextNode("▲")),s.addEventListener("click",(function(){H(t,r,!0)}),!1),i.appendChild(s);var u=null;return r.filterFunction=function(e){return!u||!!e&&("Literal"===e.termType?e.value:"NamedNode"===e.termType?c.label(e):"").toLowerCase().indexOf(u)>=0},a.addEventListener("keyup",(function(){u=""!==a.value?a.value.toLowerCase():null,B(t,n)}),!1),i}function z(t,n,r,i){for(var a=e.createElement("div"),o=e.createElement("select"),s={},u=0;u<i.length;++u){var l=i[u];s[l.uri]=!0}var d=$(r).initialSelection;d&&(s=d),o.setAttribute("multiple","true");for(var p=0;p<i.length;++p){var f=i[p],h=F(c.label(f),p);s[f.uri]&&(h.selected=!0),o.appendChild(h)}return a.appendChild(o),r.filterFunction=function(e){return!s||e&&s[e.uri]},o.addEventListener("click",(function(){s={};for(var e=o.options,r=0;r<e.length;r++){var a=e[r],u=Number(a.value);e[r].selected&&(s[i[u].uri]=!0)}B(t,n)}),!0),a}function W(t,n,r){var i=e.createElement("div"),a=e.createElement("input");a.setAttribute("type","text"),a.style.width="40px",i.appendChild(a);var o=e.createElement("input");o.setAttribute("type","text"),o.style.width="40px",i.appendChild(o);var s=null,u=null;function l(){s=""===a.value?null:Number(a.value),u=""===o.value?null:Number(o.value),B(t,n)}return r.filterFunction=function(e){return e&&(e=Number(e)),!(s&&(!e||e<s))&&!(u&&(!e||e>u))},a.addEventListener("keyup",l,!1),o.addEventListener("keyup",l,!1),i}function V(e,t,n){if(n.superClass&&n.alternatives.length>0)return z(e,t,n,n.alternatives);for(var r,i=n.getConstraints(),a=0;a<i.length;a++){if(r=i[a],n.checkedAnyValues&&n.possiblyNumber||r.uri in v)return W(e,t,n);if("http://www.w3.org/2000/01/rdf-schema#Literal"===r.uri)return q(e,t,n);var o=f.each(r,h.ns.owl("oneOf"));if(o.length>0)return z(e,t,n,o.elements)}return function(e,t,n){return n.checkedAnyValues&&n.possiblyNumber?W(e,t,n):n.possiblyLiteral?q(e,t,n):null}(e,t,n)}function K(t,n,r){r=r||{};var a=e.createElement("a"),o=r.linkFunction;return a.setAttribute("href",t),a.appendChild(e.createTextNode(n)),o?a.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var t=c.getTarget(e).getAttribute("href");t||i.log("No href found \n"),o(t)}),!0):a.addEventListener("click",h.widgets.openHrefInOutlineMode,!0),a}function $(e){return t&&t.hints&&e.variable&&t.hints[e.variable.toNT()]?t.hints[e.variable.toNT()]:{}}function G(t,n){var r=$(n),i=r.cellFormat;if(!i){if("Literal"===t.termType){if(t.datatype){if(y[t.datatype.uri])return e.createTextNode(h.widgets.shortDate(t.value));if(v[t.datatype.uri]){var a=e.createElement("span");return a.textContent=t.value,a.setAttribute("style","text-align: right"),a}}return e.createTextNode(t.value)}if("NamedNode"===t.termType&&n.isImageColumn())return function(t){var n=e.createElement("img");return n.setAttribute("src",t.uri),n.style.height="40px",n}(t);if("NamedNode"===t.termType||"BlankNode"===t.termType)return function(e,t){var n=!1;return e.uri&&(n=e.uri.match(/^mailto:(.*)/)),K(e.uri,n?n[1]:c.label(e),t)}(t,r);if("Collection"===t.termType){var o=e.createElement("span");return o.appendChild(e.createTextNode("[")),t.elements.forEach((function(t){o.appendChild(G(t,n)),o.appendChild(e.createTextNode(", "))})),o.removeChild(o.lastChild),o.appendChild(e.createTextNode("]")),o}return e.createTextNode("unknown termtype '"+t.termType+"'!")}switch(i){case"shortDate":return e.createTextNode(h.widgets.shortDate(t.value))}}function J(e,t){var n,r=null;if("Literal"===e.termType)r="value";else{if("NamedNode"!==e.termType)return t.indexOf(e)>=0;r="uri"}for(n=0;n<t.length;++n)if(t[n].termType===e.termType&&t[n][r]===e[r])return!0;return!1}function Q(t,n,r){var i,a=!1;for(i in r){var o=r[i];i in t.values||(t.values[i]=[]),J(o,t.values[i])||(t.values[i].push(o),a=!0)}a&&(P(t._htmlRow),function(t,n,r,i){var a=e.createElement("td");n._subject&&"uri"in n._subject&&a.appendChild(K(n._subject.uri,"→")),t.appendChild(a);for(var o=0;o<r.length;++o){var s=r[o],u=e.createElement("td"),l=void 0,c=s.getKey();if(c in n.values){var d=n.values[c],p=!1;n.originalValues&&n.originalValues[c]&&d.length!==n.originalValues[c].length&&(p=!0);for(var f=0;f<d.length;++f){var h=d[f];n.originalValues&&n.originalValues[c]&&n.originalValues[c].length>f&&(l=n.originalValues[c][f],h.toString()!==l.toString()&&(p=!0)),u.appendChild(G(h,s)),f!==d.length-1&&u.appendChild(e.createTextNode(",\n")),p&&(u.style.background="#efe")}}t.appendChild(u)}n._htmlRow=t}(t._htmlRow,t,n)),U(t,n)}function Y(e){if("uri"in e)return e.uri;if("_subject_id"in e)return e._subject_id;var t=""+x;return e._subject_id=t,++x,t}function X(n,r,a,o){n.running=!0;var s=Date.now(),u=e.createElement("tr");o.appendChild(u),u.textContent="Loading ...";for(var l=0;l<r.length;l++)r[l].original=!0,r[l].originalValues||(r[l].originalValues=r[l].values),r[l].values={};f.query(n,(function(t){if(n.running){u.textContent+=".";var i,s=null,l=null;if(w in t&&(i=Y(l=t[w]))in m&&(s=m[i]),!s){var c=e.createElement("tr");o.appendChild(c),s={_htmlRow:c,_subject:l,values:{}},r.push(s),l&&(m[i]=s)}delete s.original,Q(s,a,t)}}),void 0,(function(){u&&u.parentNode&&u.parentNode.removeChild&&(u.parentNode.removeChild(u),u=null);var e=Date.now()-s;i.log("Query done: "+r.length+" rows, "+e+"ms");for(var n=r.length-1;n>=0;n--)if(r[n].original){i.log(" deleting row "+r[n]._subject);var o=r[n]._htmlRow;o.parentNode.removeChild(o),delete m[Y(r[n]._subject)],r.splice(n,1)}if(t.sortBy){var l=function(e,t){for(var n in e){var r=e[n];if(r.variable.toNT()===t)return r}throw new Error("getColumnForVariable: no column for variable ".concat(t))}(a,t.sortBy);H(r,l,t.sortReverse)}t.onDone&&t.onDone(E)}))}function Z(e){for(var t=[],n={},r=0;r<e.vars.length;++r){var i=new O,a=e.vars[r];h.log.debug("column "+r+" : "+a),i.setVariable(a),n[a]=i,t.push(i)}return function e(t,n){h.log.debug(">> processing formula");for(var r=0;r<n.statements.length;++r){var i=n.statements[r];if("NamedNode"===i.predicate.termType&&"Variable"===i.object.termType){var a=i.object.toString();if(a in t)t[a].setPredicate(i.predicate,!1,i.subject)}if("NamedNode"===i.predicate.termType&&"Variable"===i.subject.termType){var o=i.subject.toString();if(o in t)t[o].setPredicate(i.predicate,!0,i.object)}}for(var s=0;s<n.optional.length;++s)h.log.debug("recurse to optional subformula "+s),e(t,n.optional[s]);h.log.debug("<< finished processing formula")}(n,e.pat),t}function ee(t,n){var r;r=d?Z(t):n.getColumns();var i=[],a=e.createElement("table");return a.appendChild(function(t,n){var r=e.createElement("tr"),i=e.createElement("th");r.appendChild(i);for(var a=0;a<t.length;++a){var o=e.createElement("th"),s=t[a];o.appendChild(e.createTextNode(s.getLabel())),n&&o.appendChild(M(n,s)),r.appendChild(o)}return r}(r,n)),a.appendChild(function(t,n){var r=e.createElement("tr");r.className="selectors",r.appendChild(e.createElement("td"));for(var i=0;i<n.length;++i){var a=e.createElement("td"),o=V(t,n,n[i]);o&&a.appendChild(o),r.appendChild(a)}return r}(i,r)),a.logicalRows=i,a.columns=r,a.query=t,X(t,i,r,a),a}};var i=f(n(20)),a=n(34),o=n(17),s=f(n(59)),u=f(n(16)),l=f(n(4)),c=f(n(29)),d=f(n(30));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var h={icons:a.icons,log:s,ns:u,store:o.store,utils:c,widgets:d}},function(e,t,n){"use strict";var r=n(14);Object.defineProperty(t,"__esModule",{value:!0}),t.TabWidgetElement=void 0,t.tabWidget=function(e){var t=e.subject,n=e.dom||document,r=parseInt(e.orientation||"0"),a=e.backgroundColor||"#ddddcc",o=2&r,s=1&r,u=e.onClose,l=function(e){return function(e){for(var t=0,n=0;n<3;n++)t+=parseInt(e.slice(2*n+1,2*n+3),16);return t>384}(e)?[y(e,"#ffffff",.3),"#000000"]:[y(e,"#000000",.3),"#ffffff"]}(a),c=(0,i.default)(l,2),d=c[0],p=c[1],g="flex: 2; width: auto; height: 100%; border: 0.1em; border-style: solid; border-color: ".concat(d,"; padding: 1em;"),v=n.createElement("div");v.setAttribute("style","display: flex; height: 100%; width: 100%; flex-direction: "+(s?"row":"column")+(o?"-reverse;":";"));var b=v.appendChild(n.createElement("nav"));b.setAttribute("style","margin: 0;");var w=v.appendChild(n.createElement("main"));w.setAttribute("style","margin: 0; width:100%; height: 100%;");var x=b.appendChild(n.createElement("ul"));x.setAttribute("style","\n list-style-type: none;\n display: flex;\n height: 100%;\n width: 100%;\n margin: 0;\n padding: 0;\n flex-direction: ".concat(s?"column":"row","\n "));var k=w;v.tabContainer=x,v.bodyContainer=k;var E=["0.2em","0.2em","0","0"],C=E.concat(E).slice(r,r+4),_="border-radius: ".concat(C.join(" "),";"),S=["0.3em","0.3em","0","0.3em"],A=S.concat(S).slice(r,r+4),T="margin: ".concat(A.join(" "),";"),P="padding: ".concat(A.join(" "),";"),D=_+"padding: 0.7em; max-width: 20em; color: ".concat(p,";"),O="".concat(D+T,"opacity: 50%; background-color: ").concat(a,";"),I="".concat(D+T,"background-color: ").concat(d,";");if(v.refresh=N,N(),!e.startEmpty&&x.children.length&&e.selectedTab){(Array.from(x.children).map((function(e){return e.firstChild})).find((function(t){return t.dataset.name===e.selectedTab}))||x.children[0].firstChild).click()}else e.startEmpty||x.children[0].firstChild.click();return v;function F(t){var r=n.createElement("li");r.subject=t;var i=r.appendChild(n.createElement("div"));return i.setAttribute("style",O),i.addEventListener("click",(function(a){if(a.metaKey||(function(){for(var e=0;e<x.children.length;e++){var t=x.children[e];t.classList.contains("unstyled")||t.children[0]&&t.children[0].setAttribute("style",O)}}(),function(){for(var e=0;e<k.children.length;e++)k.children[e].setAttribute("style","height: 100%; width: 100%;display: none;")}()),i.setAttribute("style",I),r.bodyTR){r.bodyTR.setAttribute("style","height: 100%; width: 100%;");var o=function(e){var t,r=null===(t=e.bodyTR)||void 0===t?void 0:t.children[0];if(r)return r;var i=e.bodyTR.appendChild(n.createElement("main"));return i.setAttribute("style",g),i}(r);e.renderTabSettings&&a.altKey&&r.subject&&!0!==o.asSettings?(o.innerHTML="loading settings ..."+t,e.renderTabSettings(o,r.subject),o.asSettings=!0):e.renderMain&&r.subject&&!1!==o.asSettings&&(o.innerHTML="loading item ..."+t,e.renderMain(o,r.subject),o.asSettings=!1)}})),e.renderTab?e.renderTab(i,t):i.textContent=(0,h.label)(t),r}function N(){var r,i,a,o,s,l=e.items?e.items:!1!==e.ordered?m.store.the(t,e.predicate).elements:m.store.each(t,e.predicate),c=!1;for(o=0;o<x.children.length;o++)if(r=x.children[o],o>=l.length||r.subject&&!r.subject.sameTerm(l[o])){c=!0;break}if(c||l.length!==x.children.length){for(s=x.children.length-1;s>=0&&(r=x.children[s],a=s-x.children.length+l.length,!r.subject||r.subject.sameTerm(l[a]));s--);for(var d=l.slice(o,s-x.children.length+l.length+1);s>=o;)x.removeChild(x.children[o]),k.removeChild(k.children[o]),s-=1;for(i=0;i<d.length;i++){var p=F(d[i]),h=n.createElement("div");p.bodyTR=h,o===x.children.length?(x.appendChild(p),k.appendChild(h)):(x.insertBefore(p,x.children[o+i]),k.insertBefore(h,k.children[o+i]))}u&&function(e){if(e.dataset.onCloseSet){var t=e.querySelector(".unstyled");e.removeChild(t)}var r=n.createElement("li");r.classList.add("unstyled");var i=(0,f.cancelButton)(n,u);i.setAttribute("style",i.getAttribute("style")+P),r.appendChild(i),e.appendChild(r),e.dataset.onCloseSet="true"}(x)}}};var i=r(n(111)),a=r(n(54)),o=r(n(53)),s=r(n(92)),u=r(n(120)),l=r(n(122)),c=r(n(93)),d=r(n(123)),p=r(n(60)),f=n(30),h=n(29),m=n(17);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}HTMLElement;var v=function(e){(0,u.default)(n,e);var t=g(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,p.default)((0,s.default)(e),"bodyContainer",void 0),(0,p.default)((0,s.default)(e),"refresh",void 0),(0,p.default)((0,s.default)(e),"tabContainer",void 0),e}return(0,a.default)(n)}((0,d.default)(HTMLElement));t.TabWidgetElement=v;HTMLElement;function y(e,t,n){for(var r,i,a="#",o="0123456789abcdef",s=0;s<3;s++){r=parseInt(e.slice(2*s+1,2*s+3),16),i=parseInt(t.slice(2*s+1,2*s+3),16);var u=parseInt((""+(r*(1-n)+i*n)).split(".")[0]),l=parseInt((""+u/16).split(".")[0]),c=parseInt((""+u%16).split(".")[0]);a+=o[l]+o[c]}return a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={buildTime:"2022-01-28T22:55:43Z",commit:"9d83fb1702a1835b5d82fb97bc51b3cb98285373",npmInfo:{"solid-ui":"2.4.16",npm:"6.14.15",ares:"1.18.1",brotli:"1.0.9",cldr:"39.0",icu:"69.1",llhttp:"2.1.4",modules:"83",napi:"8",nghttp2:"1.42.0",node:"14.18.3",openssl:"1.1.1l",tz:"2021a",unicode:"13.0",uv:"1.42.0",v8:"8.4.371.23-node.85",zlib:"1.2.11"}}},function(e,t,n){"use strict";var r=n(14),i=n(9);Object.defineProperty(t,"__esModule",{value:!0}),t.createBanner=g,t.createHelpMenu=y,t.createLoginSignUpButtons=b,t.createUserMenu=k,t.createUserMenuButton=w,t.createUserMenuItem=C,t.createUserMenuLink=x,t.getProfileImg=_,t.initHeader=function(e,t,n){return h.apply(this,arguments)},t.rebuildHeader=m;var a=r(n(25)),o=r(n(26)),s=n(34),u=n(74),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(30)),c=n(279),d=n(157);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var f=s.icons.iconBase+"noun_help.svg";function h(){return(h=(0,o.default)(a.default.mark((function e(t,n,r){var i,o;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=document.getElementById("PageHeader")){e.next=3;break}return e.abrupt("return");case 3:o=(0,d.getPod)(),m(i,t,o,n,r)(),u.authSession.onLogout(m(i,t,o,n,r)),u.authSession.onLogin(m(i,t,o,n,r));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e,t,n,r,i){return(0,o.default)(a.default.mark((function o(){var s;return a.default.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=(0,u.currentUser)(),e.innerHTML="",a.t0=e,a.next=5,g(t,n,s,r,i);case 5:a.t1=a.sent,a.t0.appendChild.call(a.t0,a.t1);case 7:case"end":return a.stop()}}),o)})))}function g(e,t,n,r,i){return v.apply(this,arguments)}function v(){return(v=(0,o.default)(a.default.mark((function e(t,n,r,i,o){var s,u,l,c,p,f;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((s=document.createElement("a")).href=n.uri,(0,d.addStyleClassToElement)(s,["header-banner__link"]),u=document.createElement("img"),o&&(u.src=o.logo?o.logo:"https://solidproject.org/assets/img/solid-emblem.svg"),(0,d.addStyleClassToElement)(u,["header-banner__icon"]),s.appendChild(u),!r){e.next=13;break}return e.next=10,k(t,r,i);case 10:e.t0=e.sent,e.next=14;break;case 13:e.t0=b();case 14:return l=e.t0,c=document.createElement("div"),(0,d.addStyleClassToElement)(c,["header-banner"]),c.appendChild(s),p=document.createElement("div"),(0,d.addStyleClassToElement)(p,["header-banner__right-menu"]),p.appendChild(l),o&&o.helpMenuList&&(f=y(o,o.helpMenuList),p.appendChild(f)),c.appendChild(p),e.abrupt("return",c);case 24:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e,t){if(t){var n=document.createElement("ul");(0,d.addStyleClassToElement)(n,["header-user-menu__list"]),t.forEach((function(e){"url"===(e.url?"url":"onclick")?n.appendChild(C(x(e.label,e.url,e.target))):n.appendChild(C(w(e.label,e.onclick)))}));var r=document.createElement("nav");(0,d.addStyleClassToElement)(r,["header-user-menu__navigation-menu"]),r.setAttribute("aria-hidden","true"),r.appendChild(n);var i=document.createElement("div");(0,d.addStyleClassToElement)(i,["header-banner__user-menu"]),(0,d.addStyleClassToElement)(i,["header-user-menu"]),i.appendChild(r);var a=document.createElement("button");(0,d.addStyleClassToElement)(a,["header-user-menu__trigger"]),a.type="button";var o=document.createElement("img");o.src=e&&e.helpIcon?e.helpIcon:s.icons.iconBase+f,(0,d.addStyleClassToElement)(o,["header-banner__help-icon"]),i.appendChild(a),a.appendChild(o);var u=(0,d.throttle)((function(e){return S(e,a,r)}),50);a.addEventListener("click",u);var l=setTimeout((function(){return null}),0);return i.addEventListener("mouseover",(function(e){clearTimeout(l),u(e)})),i.addEventListener("mouseout",(function(e){l=setTimeout((function(){return u(e)}),200)})),i}}function b(){var e=document.createElement("div");return(0,d.addStyleClassToElement)(e,["header-banner__login"]),e.appendChild((0,u.loginStatusBox)(document,null,{})),e}function w(e,t){var n=document.createElement("button");return(0,d.addStyleClassToElement)(n,["header-user-menu__button"]),n.addEventListener("click",t),n.innerText=e,n}function x(e,t,n){var r=document.createElement("a");return(0,d.addStyleClassToElement)(r,["header-user-menu__link"]),r.href=t,r.innerText=e,n&&(r.target=n),r}function k(e,t,n){return E.apply(this,arguments)}function E(){return(E=(0,o.default)(a.default.mark((function e(t,n,r){var i,o,s,u,l,c,p,f;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i=t.fetcher)){e.next=4;break}return e.next=4,i.load(n);case 4:return o=document.createElement("ul"),(0,d.addStyleClassToElement)(o,["header-user-menu__list"]),r&&r.forEach((function(e){"url"===(e.url?"url":"onclick")?o.appendChild(C(x(e.label,e.url,e.target))):o.appendChild(C(w(e.label,e.onclick)))})),s=document.createElement("nav"),(0,d.addStyleClassToElement)(s,["header-user-menu__navigation-menu"]),s.setAttribute("aria-hidden","true"),s.appendChild(o),u=document.createElement("button"),(0,d.addStyleClassToElement)(u,["header-user-menu__trigger"]),u.type="button","string"==typeof(l=_(t,n))?u.innerHTML=l:u.appendChild(l),c=document.createElement("div"),(0,d.addStyleClassToElement)(c,["header-banner__user-menu"]),(0,d.addStyleClassToElement)(c,["header-user-menu"]),c.appendChild(u),c.appendChild(s),p=(0,d.throttle)((function(e){return S(e,u,s)}),50),u.addEventListener("click",p),f=setTimeout((function(){return null}),0),c.addEventListener("mouseover",(function(e){clearTimeout(f),p(e)})),c.addEventListener("mouseout",(function(e){f=setTimeout((function(){return p(e)}),200)})),e.abrupt("return",c);case 27:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e){var t=document.createElement("li");return(0,d.addStyleClassToElement)(t,["header-user-menu__list-item"]),t.appendChild(e),t}function _(e,t){var n=null;try{if(!(n=l.findImage(t)))return c.emptyProfile}catch(e){return c.emptyProfile}var r=document.createElement("div");return(0,d.addStyleClassToElement)(r,["header-user-menu__photo"]),r.style.backgroundImage="url(".concat(n,")"),r}function S(e,t,n){var r="true"===t.getAttribute("aria-expanded"),i="mouseover"===e.type,a="mouseout"===e.type;r&&i||!r&&a||(t.setAttribute("aria-expanded",(!r).toString()),n.setAttribute("aria-hidden",r.toString()))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyProfile=void 0;t.emptyProfile='\n<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M13 25C19.6274 25 25 19.6274 25 13C25 6.37258 19.6274 1 13 1C6.37258 1 1 6.37258 1 13C1 19.6274 6.37258 25 13 25Z" fill="#D8D8D8" stroke="#8B8B8B"/>\n <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="26" height="26">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M13 25C19.6274 25 25 19.6274 25 13C25 6.37258 19.6274 1 13 1C6.37258 1 1 6.37258 1 13C1 19.6274 6.37258 25 13 25Z" fill="white" stroke="white"/>\n </mask>\n <g mask="url(#mask0)">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M17.0468 10.4586C17.0468 14.4979 15.4281 16.9214 12.9999 16.9214C10.5718 16.9214 8.95298 14.4979 8.95298 10.4586C8.95298 6.41931 12.9999 6.41931 12.9999 6.41931C12.9999 6.41931 17.0468 6.41931 17.0468 10.4586ZM4.09668 23.3842C6.52483 17.7293 12.9999 17.7293 12.9999 17.7293C12.9999 17.7293 19.475 17.7293 21.9031 23.3842C21.9031 23.3842 17.8481 25 12.9999 25C8.15169 25 4.09668 23.3842 4.09668 23.3842Z" fill="#8B8B8B"/>\n </g>\n</svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleMap=void 0;t.styleMap={"header-user-menu":{},"header-user-menu__link":{background:"none",border:"0",color:"black",cursor:"pointer",display:"block",fontFamily:"Arial",fontSize:"1em",textAlign:"left",padding:"1em",width:"100%","&:focus, &:hover":{backgroundColor:"linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)"},a:{textDecoration:"none"}},"header-user-menu__trigger":{background:"none",border:"0",cursor:"pointer",width:"60px",height:"60px",img:{borderRadius:"50%",height:"56px",width:"56px"}},"header-user-menu__button":{background:"none",border:"0",color:"black",cursor:"pointer",display:"block",fontFamily:"Arial",fontSize:"1em",textAlign:"left",padding:"1em",width:"100%","&:focus, &:hover":{backgroundColor:"linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)"}},"header-user-menu__list":{listStyle:"none",margin:"0",padding:"0"},"header-user-menu__navigation-menu":{background:"white",border:"solid 1px #000000",borderRight:"0",position:"absolute",right:"0",top:"60px",width:"200px","z-index":"1","&[aria-hidden = true]":{display:"none"}},"header-user-menu__list-item":{borderBottom:"solid 1px #000000","&:last-child":{border:"0"}},"header-user-menu__photo":{borderRadius:"50%",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:"50px",width:"50px"},"header-banner":{boxShadow:"0px 1px 4px #000000",display:"flex",justifyContent:"space-between",padding:"0 1.5em",marginBottom:"4px"},"header-banner__link":{display:"block"},"header-banner__right-menu":{display:"flex"},"header-banner__login":{marginLeft:"auto",input:{margin:"0.75em 0 0.75em 0.5em !important",padding:"0.5em !important"}},"header-banner__user-menu":{borderLeft:"solid 1px #000000",marginLeft:"auto"},"header-banner__help-menu":{borderLeft:"solid 1px #000000",marginLeft:"auto"},"header-banner__icon":{backgroundSize:"65px 60px",height:"60px !important",width:"65px !important"},"header-banner__help-icon":{width:"28px !important"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleMap=void 0;t.styleMap={footer:{borderTop:"solid 1px $divider-color",fontSize:"0.9em",padding:"0.5em 1.5em"}}},function(e,t,n){"use strict";var r=n(14);Object.defineProperty(t,"__esModule",{value:!0}),t.createControllerInfoBlock=c,t.initFooter=function(e,t){return u.apply(this,arguments)},t.rebuildFooter=l;var i=r(n(25)),a=r(n(26)),o=n(74),s=n(157);function u(){return(u=(0,a.default)(i.default.mark((function e(t,n){var r,a,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=document.getElementById("PageFooter")){e.next=3;break}return e.abrupt("return");case 3:return a=(0,s.getPod)(),e.next=6,(0,s.getPodOwner)(a,t);case 6:u=e.sent,l(r,t,a,u,n)(),o.authSession.onLogin(l(r,t,a,u,n)),o.authSession.onLogout(l(r,t,a,u,n));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e,t,n,r,s){return(0,a.default)(i.default.mark((function a(){var u;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return u=(0,o.currentUser)(),e.innerHTML="",i.t0=e,i.next=5,c(t,u,n,r,s);case 5:i.t1=i.sent,i.t0.appendChild.call(i.t0,i.t1);case 7:case"end":return i.stop()}}),a)})))}function c(e,t,n,r,i){var a=document.createElement("div");if(!n||!r||t&&t.equals(r))return a;(0,s.addStyleClassToElement)(a,["footer-pod-info","footer"],"footer");var o=document.createElement("span");o.innerText="You're visiting ";var u=document.createElement("a");u.href=n.uri,u.innerText="the Pod";var l=document.createElement("span");l.innerText=" controlled by ";var c=document.createElement("a");c.href=r.uri,c.innerText=(0,s.getName)(e,r);var d=document.createElement("span");d.innerText=". For more info, check out ";var p=document.createElement("a");p.href=i&&i.solidProjectUrl?i.solidProjectUrl:"https://solidproject.org",p.innerText=i&&i.solidProjectName?i.solidProjectName:"solidproject.org";var f=document.createElement("span");return f.innerText=".",a.appendChild(o),a.appendChild(u),a.appendChild(l),a.appendChild(c),a.appendChild(d),a.appendChild(p),a.appendChild(f),a}},function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){var n=t.dom;this.document=t.dom,this.outlineIcons=u.default,this.labeller=this.labeller||{},this.labeller.LanguagePreference="";var r=this,p=this,f=[];this.selection=f,this.ancestor=i.utils.ancestor,this.sparql=i.rdf.UpdateManager,this.kb=i.store;var h=i.store,g=i.store.fetcher;n.outline=this,this.qs=new c.default.QuerySource,this.UserInput=new l.default(this),this.clipboardAddress="tabulator:clipboard",this.UserInput.clipboardInit(this.clipboardAddress);var v=this.outlineElement;function b(){return w.apply(this,arguments)}function w(){return(w=y(regeneratorRuntime.mark((function e(){var t,r,o,s,u,l,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=function(e,t){var r=a.byName(t.paneName);e.innerHTML="";var o=e.appendChild(n.createElement("table")),s=i.authn.currentUser();p.GotoSubject(t.subject||s,!0,r,!1,void 0,o)},u=function(e,t){e.dataset.globalPaneName=t.tabName||t.paneName,e.textContent=t.label},t=c.length>0&&void 0!==c[0]?c[0]:{},console.log("globalAppTabs @@"),r=n.createElement("div"),o=i.authn.currentUser()){e.next=9;break}throw alert("Must be logged in for this"),new Error("Not logged in");case 9:return e.next=11,x();case 11:return s=e.sent,r.appendChild(i.tabs.tabWidget({dom:n,subject:o,items:s,renderMain:l,renderTab:u,ordered:!0,orientation:0,backgroundColor:"#eeeeee",selectedTab:t.selectedTab,onClose:t.onClose})),e.abrupt("return",r);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(){return k.apply(this,arguments)}function k(){return(k=y(regeneratorRuntime.mark((function e(){var t,r,a,o,s,u,l,c,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p=function(){return(p=y(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.authn.findAppInstances({me:t,div:r,dom:n},ee.vcard("AddressBook"));case 3:return a=e.sent,e.abrupt("return",(a.instances||[]).map((function(e,t){return{paneName:"contact",tabName:"contact-".concat(t),label:"Contacts",subject:e,icon:i.icons.iconBase+"noun_15695.svg"}})));case 7:e.prev=7,e.t0=e.catch(0),console.error("oops in globalAppTabs AddressBook");case 10:return e.abrupt("return",[]);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)},d=function(){return p.apply(this,arguments)},c=function(){return(c=y(regeneratorRuntime.mark((function e(){var n,r,a,o,s,u,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=function(e){var t=[];return e.forEach((function(e){t.find((function(t){return t.equals(e)}))||t.push(e)})),t},o=function(){return(o=y(regeneratorRuntime.mark((function e(t){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=new URL(t),i=r.pathname;case 2:if(!i.length){e.next=10;break}return i=i.substring(0,i.lastIndexOf("/")),e.next=6,n(h.sym("".concat(r.origin).concat(i,"/")));case 6:if(!e.sent){e.next=8;break}return e.abrupt("return");case 8:e.next=2;break;case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)},a=function(e){return o.apply(this,arguments)},r=function(){return(r=y(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(t);case 2:if(!h.holds(t,ee.rdf("type"),ee.space("Storage"),t.doc())){e.next=5;break}return s.push(t),e.abrupt("return",!0);case 5:return e.abrupt("return",!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)},n=function(e){return r.apply(this,arguments)},e.prev=5,e.next=8,h.fetcher.load(t.doc());case 8:e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(5),console.error("Unable to load profile",e.t0),e.abrupt("return",[]);case 14:return(s=h.each(t,ee.space("storage"),null,t.doc())).map(function(){var e=y(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.prev=16,u=new URL(window.location.href).searchParams.get("uri"),l=u||window.location.href,e.next=21,a(l);case 21:e.next=26;break;case 23:e.prev=23,e.t1=e.catch(16),console.error("cannot load container",e.t1);case 26:if((s=c(s)).length){e.next=29;break}return e.abrupt("return",[]);case 29:return e.abrupt("return",s.map((function(e,n){function r(e){return e.uri.split("//")[1].slice(0,-1)}var a=r(t).startsWith(r(e))?"Your storage":r(e);return{paneName:"folder",tabName:"folder-".concat(n),label:a,subject:e,icon:i.icons.iconBase+"noun_Cabinet_251723.svg"}})));case 30:case"end":return e.stop()}}),e,null,[[5,10],[16,23]])})))).apply(this,arguments)},l=function(){return c.apply(this,arguments)},t=i.authn.currentUser()){e.next=7;break}return e.abrupt("return",[]);case 7:return r=n.createElement("div"),e.next=10,Promise.all([d(),l()]);case 10:return a=e.sent,o=m(a,2),s=o[0],u=o[1],e.abrupt("return",[{paneName:"home",label:"Your stuff",icon:i.icons.iconBase+"noun_547570.svg"},{paneName:"basicPreferences",label:"Preferences",icon:i.icons.iconBase+"noun_Sliders_341315_00000.svg"},{paneName:"editProfile",label:"Edit your profile",icon:i.icons.iconBase+"noun_492246.svg"}].concat(s).concat(u));case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(){return(E=y(regeneratorRuntime.mark((function e(){var t,n,r,a,o,s,u,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=function(){n.style.display="none",r.style.display="inherit"},t=l.length>0&&void 0!==l[0]?l[0]:{},n=C(),r=_(),!(n.childNodes.length>0&&t.pane)){e.next=12;break}if(r.style.display="none",n.style.display="inherit",!(a=n.querySelector('[data-global-pane-name="'.concat(t.pane,'"]')))){e.next=11;break}return a.click(),e.abrupt("return");case 11:console.warn("Did not find the referred tab in global dashboard, will open first one");case 12:return e.next=14,b({selectedTab:t.pane,onClose:u});case 14:o=e.sent,i.authn.authSession.onLogout(u),r.style.display="none",n.appendChild(o),(s=n.querySelector('[data-global-pane-name="'.concat(t.pane,'"]')))&&s.click();case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(){return S("GlobalDashboard")}function _(){return S("outline")}function S(e){return document.getElementById(e)||((t=document.createElement("div")).id=e,(document.querySelector('[role="main"]')||document.body).appendChild(t));var t}function A(e){return T.apply(this,arguments)}function T(){return(T=y(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(h.any(t,ee.ldp("contains"),void 0,t.doc())){e.next=6;break}return e.next=3,h.fetcher.webOperation("GET",t.uri,h.fetcher.initFetchOptions(t.uri,{headers:{accept:"text/turtle"}}));case 3:n=e.sent,r=n.responseText,o.parse(r,h,t.uri,"text/turtle");case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e,t){return D.apply(this,arguments)}function D(){return(D=y(regeneratorRuntime.mark((function e(t,n){var r,a,o,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.uri.endsWith("/")){e.next=3;break}return e.next=3,A(t);case 3:if(r=n.session.paneRegistry,0!==(a=r.list.filter((function(e){return e.label(t,n)&&!e.global}))).length){e.next=7;break}return e.abrupt("return",[r.byName("internal")]);case 7:return e.next=9,i.authn.filterAvailablePanes(a);case 9:if(0!==(o=e.sent).length){e.next=12;break}return e.abrupt("return",[a[0]]);case 12:return s=r.list.indexOf(a[0]),u=r.list.indexOf(o[0]),e.abrupt("return",s<u?[a[0]].concat(o):o);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e,t){return e.find((function(e){return e.shouldGetFocus&&e.shouldGetFocus(t)}))||e[0]}function I(){return(I=y(regeneratorRuntime.mark((function e(r,a,o){var s,u,l,c,d,p,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=function(){return(u=y(regeneratorRuntime.mark((function e(o){var s,u,c,d,p,f,h=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=h.length>1&&void 0!==h[1]?h[1]:{},u="width: 24px; border-radius: 0.5em; border-top: solid #222 1px; border-left: solid #222 0.1em; border-bottom: solid #eee 0.1em; border-right: solid #eee 0.1em; margin-left: 1em; padding: 3px; background-color: #ffd;",c="width: 24px; border-radius: 0.5em; margin-left: 1em; padding: 3px",(d=o.appendChild(n.createElement("nav"))).style="display:flex; justify-content: flex-start; align-items: center;",!s.hideList){e.next=9;break}e.t0=[],e.next=12;break;case 9:return e.next=11,P(r,t);case 11:e.t0=e.sent;case 12:return p=e.t0,l.firstPane=a||O(p,r),f=p.indexOf(l.firstPane),1!==p.length&&p.forEach((function(e,a){var p=e.label(r,t),h=i.utils.AJARImage(e.icon,p,p,n);h.style=e===l.firstPane?u:c;!function(e,a){e.addEventListener("click",(function(l){var d;for(d=o;d.parentNode&&"TABLE"!==d.nodeName;d=d.parentNode);if("TABLE"!==d.nodeName)throw new Error("outline: internal error.");var p=function(e){for(var t=d.firstChild;t;t=t.nextSibling)void 0!==t.pane&&(e&&t.pane!==e||(t.paneButton&&(t.paneButton.setAttribute("class","paneHidden"),t.paneButton.style=c),F(t),t.pane.requireQueryButton&&d.parentNode.className&&1===f&&n.getElementById("queryButton")&&n.getElementById("queryButton").setAttribute("style","display:none;")))};"paneHidden"===e.getAttribute("class")?(l.shiftKey||p(),function(a){var o;if(i.log.info("outline: Rendering pane (2): "+a.name),i.no_catch_pane_errors)o=a.render(r,t,s);else try{o=a.render(r,t,s)}catch(e){(o=n.createElement("div")).setAttribute("class","exceptionPane");var u=n.createElement("pre");o.appendChild(u),u.appendChild(n.createTextNode(i.utils.stackString(e)))}a.requireQueryButton&&n.getElementById("queryButton")&&n.getElementById("queryButton").removeAttribute("style");var l=d.firstChild.nextSibling,c=n.createElement("tr");c.appendChild(n.createElement("td")).appendChild(o),l?d.insertBefore(c,l):d.appendChild(c),c.pane=a,c.paneButton=e}(a),e.setAttribute("class","paneShown"),e.style=u):(p(a),e.setAttribute("class","paneHidden"),e.style=c);for(var f=0,h=d.firstChild;h;h=h.nextSibling)h.pane&&h.pane.requireQueryButton&&f++}),!1)}(h,e),h.setAttribute("class",a!==f?"paneHidden":"paneShown"),a===f&&(l.paneButton=h),d.appendChild(h)})),e.abrupt("return",d);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)},s=function(e){return u.apply(this,arguments)},l=n.createElement("tr"),o.hover&&l.setAttribute("class","hoverControl"),(c=l.appendChild(n.createElement("td"))).setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;display:flex; justify-content: space-between; flex-direction: row;"),c.setAttribute("notSelectable","true"),c.setAttribute("about",r.toNT()),c.setAttribute("colspan","2"),(d=c.appendChild(n.createElement("div"))).style="display:flex; justify-content: flex-start; align-items: center; flex-wrap: wrap;",p=!!a,o.solo||p||(d.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-collapse.png","collapse",void 0,n)).addEventListener("click",W),(f=d.appendChild(n.createElement("h1"))).appendChild(n.createTextNode(i.utils.label(r))),f.style="font-size: 150%; margin: 0 0.6em 0 0; padding: 0.1em 0.4em;",i.widgets.makeDraggable(f,r)),e.t0=d,e.next=16,s(c,{hideList:p});case 16:return e.t1=e.sent,e.t0.appendChild.call(e.t0,e.t1),l.firstChild.tabulatorSelect=function(){H(this,!0)},l.firstChild.tabulatorDeselect=function(){H(this,!1)},e.abrupt("return",l);case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){var t=e.parentNode,r=t.parentNode,i=n.createElement("table");i.setAttribute("style","width: 100%;"),r.replaceChild(i,t),t.removeChild(e),r.replaceChild(t,i)}this.init=function(){_().outline=this},this.appendAccessIcons=function(e,t,n){if("NamedNode"===n.termType){var r=e.uris(n);r.sort();for(var i=null,a=0;a<r.length;a++)r[a]!==i&&(i=r[a],p.appendAccessIcon(t,i))}},this.appendAccessIcon=function(e,t){if(!t)return"";var a=i.rdf.uri.docpart(t);if("http:"!==a.slice(0,5))return"";var o,s,l,c=g.getState(a);switch(c){case"unrequested":o=u.default.src.icon_unrequested,s="fetch",l=$;break;case"requested":o=u.default.src.icon_requested,s="fetching",l=V;break;case"fetched":o=u.default.src.icon_fetched,l=K,s="loaded";break;case"failed":o=u.default.src.icon_failed,s="failed",l=V;break;case"unpermitted":o=u.default.src.icon_failed,l=V,s="no perm";break;case"unfetchable":o=u.default.src.icon_failed,l=V,s="cannot fetch";break;default:i.log.error("?? state = "+c)}var d=i.utils.AJARImage(o,s,u.default.tooltips[o].replace(/[Tt]his resource/,a),n);return d.setAttribute("uri",t),d.addEventListener("click",l),function(e,t){i.log.debug("Button callbacks for "+t+" added");var n=function(n){return function(i){return i.indexOf("#")>=0&&console.log("@@ makeIconCallback: Not expecting # in URI whose state changed: "+i),!!e&&(!!r.ancestor(e,"DIV")&&(i===t&&(e.src=n,e.title=u.default.tooltips[n]),!0))}};g.addCallback("request",n(u.default.src.icon_requested)),g.addCallback("done",n(u.default.src.icon_fetched)),g.addCallback("fail",n(u.default.src.icon_failed))}(d,a),e.appendChild(d),d},this.outlineObjectTD=function(e,t,r,a){var o=n.createElement("td");o.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),o.setAttribute("notSelectable","false");var s,l,c,d,p="obj";if(a&&a.why&&i.licenceOptions&&i.licenceOptions.checkLicence()&&(p+=" licOkay"),("NamedNode"===e.termType||"BlankNode"===e.termType||"Literal"===e.termType&&e.value.slice&&("ftp://"===e.value.slice(0,6)||"https://"===e.value.slice(0,8)||"http://"===e.value.slice(0,7)))&&(o.setAttribute("about",e.toNT()),o.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-expand-trans.png","expand",void 0,n)).addEventListener("click",z)),o.setAttribute("class",p),h.whether(e,i.ns.rdf("type"),i.ns.link("Request"))&&(o.className="undetermined"),t||(t=ne),o.appendChild(t(e)),r&&(s=o,l=e,c=r,(d=i.utils.AJARImage(u.default.src.icon_remove_node,"remove",void 0,n)).addEventListener("click",G),d.node=c,d.setAttribute("about",l.toNT()),d.style.marginLeft="5px",d.style.marginRight="10px",s.appendChild(d)),o.tabulatorSelect=function(){H(this,!0)},o.tabulatorDeselect=function(){H(this,!1)},a){var f=new i.rdf.IndexedFormula;f.statements.push(a);var m=h.each(f,h.sym("http://dig.csail.mit.edu/TAMI/2007/amord/tms#justification"));if(m.length){var g=n.createElement("span");m.length>1&&(g.innerHTML=" &times; "+m.length),g.setAttribute("class","inquiry"),g.insertBefore(i.utils.AJARImage(u.default.src.icon_display_reasons,"explain",void 0,n),g.firstChild),o.appendChild(g)}}return o.addEventListener("click",J),o},this.outlinePredicateTD=function(e,t,r,a){var o,s=n.createElement("TD");switch(s.setAttribute("about",e.toNT()),s.setAttribute("class",a?"pred internal":"pred"),e.termType){case"BlankNode":s.className="undetermined";break;case"NamedNode":o=i.utils.predicateLabelForXML(e,r);break;case"Collection":o=i.utils.predicateLabelForXML(e.elements[0],r)}o=o.slice(0,1).toUpperCase()+o.slice(1);var l=n.createElement("TD");for(var c in l.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),l.setAttribute("notSelectable","true"),l.appendChild(n.createTextNode(o)),s.appendChild(l),l.style.width="100%",s.appendChild(j.construct(n)),u.default.termWidgets){if(!t||!t.AJAR_statement)break;u.default.termWidgets[c].filter&&u.default.termWidgets[c].filter(t.AJAR_statement,"pred",r)&&j.addIcon(s,u.default.termWidgets[c])}return s.tabulatorSelect=function(){H(this,!0)},s.tabulatorDeselect=function(){H(this,!1)},s.addEventListener("click",J),s},this.getDashboard=b,this.getDashboardItems=x,this.showDashboard=function(){return E.apply(this,arguments)};var N=this.propertyTable=function(e,r,a,o){return i.log.debug("Property table for: "+e),e=h.canon(e),r?(i.log.info("Re-expand: "+r),r):((r=n.createElement("table")).setAttribute("style","width: 100%;"),function(e,t,n){return I.apply(this,arguments)}(e,a,o).then((function(a){if(r.appendChild(a),a.firstPane){var s;try{i.log.info("outline: Rendering pane (1): "+a.firstPane.name),s=a.firstPane.render(e,t,o)}catch(e){(s=n.createElement("div")).setAttribute("class","exceptionPane");var u=n.createElement("pre");s.appendChild(u),u.appendChild(n.createTextNode(i.utils.stackString(e)))}var l=n.createElement("tr");l.appendChild(n.createElement("td")).appendChild(s),a.firstPane.requireQueryButton&&n.getElementById("queryButton")&&n.getElementById("queryButton").removeAttribute("style"),r.appendChild(l),l.pane=a.firstPane,l.paneButton=a.paneButton}})),r)};function R(e,t,n){var r=e.createElement("TR");r.AJAR_statement=t,r.AJAR_inverse=n,r.setAttribute("predTR","true");var i=p.outlinePredicateTD(t.predicate,r,n);return r.appendChild(i),r}this.propertyTR=R,this.appendPropertyTRs=function(e,t,a,o){if(i.log.debug("Property list length = "+t.length),0===t.length)return"";var s,u,l;a?(s=function(e){return e.subject},t=t.sort(i.utils.RDFComparePredicateSubject)):(s=function(e){return e.object},t=t.sort(i.utils.RDFComparePredicateObject));var c=t.length,d=function(){var d=t[u];if(o&&!o(d.predicate,a))return"continue";var f=R(n,d,a);e.appendChild(f);var m=f.firstChild,g=te.defaults[d.predicate.uri],v=0,y=0,b=0;for(l=0;l+u<c&&t[u+l].predicate.sameTerm(d.predicate);l++)l>0&&s(t[u+l]).sameTerm(s(t[u+l-1]))&&v++,s(t[u+l]).lang&&r.labeller.LanguagePreference&&(y+=1,s(t[u+l]).lang.indexOf(r.labeller.LanguagePreference)>=0&&b++);if(b>0&&y===v+1){for(var w=u;w<=u+v;w++)if(r.labeller.LanguagePreference&&s(t[w]).lang.indexOf(r.labeller.LanguagePreference)>=0){f.appendChild(p.outlineObjectTD(s(t[w]),g,void 0,d));break}return u+=v,"continue"}f.appendChild(p.outlineObjectTD(s(d),g,void 0,d)),f.showNobj=function(r){var o=l-v,c=2*r<o?r:o,f=[];if(1!==o){var y;m.setAttribute("rowspan",c===o?o:r+1),c<o&&1===c&&m.setAttribute("rowspan",2);var b=0;for(y=1;y<l;y++)if(h.canon(s(t[u+y])).sameTerm(h.canon(s(t[u+y-1]))))i.log.info("there are duplicates here: %s",t[u+y-1]);else{b++,d=t[u+y],g=te.defaults[d.predicate.uri];var w=n.createElement("tr");w.style.colspan="1",w.appendChild(p.outlineObjectTD(s(t[u+y]),g,void 0,d)),w.AJAR_statement=d,w.AJAR_inverse=a,e.appendChild(w),b>=c&&(w.style.display="none",f.push(w))}c===o&&m.setAttribute("rowspan",b+1)}if(c<o){var x=n.createElement("tr"),k=x.appendChild(n.createElement("td"));if(k.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),k.setAttribute("notSelectable","false"),o>r){var E=n.createElement("a");k.appendChild(E);var C=function(e,t,r,a){return function(t){E.innerHTML="","none"===t?(E.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-more-trans.png","more","See all",n)),E.appendChild(n.createTextNode(o-a+" more...")),e.setAttribute("rowspan",a+1)):(E.appendChild(i.utils.AJARImage(i.icons.originalIconBase+"tbl-shrink.png","(less)",void 0,n)),e.setAttribute("rowspan",o+1));for(var r=0;r<f.length;r++)f[r].style.display=t}}(m,0,0,r),_="none",S=function(e){return C(_),_="none"===_?"":"none",e&&e.stopPropagation(),!1};S(),E.addEventListener("click",S,!1)}e.appendChild(x)}},f.showAllobj=function(){f.showNobj(l-v)},f.showNobj(10),u+=l-1};for(u=0;u<c;u++)d()};var j={};function L(e){var t=e.getAttribute("class");return!!(t&&t.indexOf("selected")>=0)}function M(e){var t=p.targetOf(e).parentNode;j.replaceIcon(t.parentNode,u.default.termWidgets.optOn,u.default.termWidgets.optOff,U),t.parentNode.parentNode.removeAttribute("optional")}function U(e){var t=p.targetOf(e).parentNode;j.replaceIcon(t.parentNode,u.default.termWidgets.optOff,u.default.termWidgets.optOn,M),t.parentNode.parentNode.setAttribute("optional","true")}function B(e,t){for(var n=u.default.termWidgets.optOn,r=u.default.termWidgets.optOff,i=e;i.parentNode;i=i.parentNode)for(;;){if(i.getAttribute("predTR")){var a=i.getAttribute("parentOfSelected");0===(a=a?parseInt(a):0)&&t>0&&j.addIcon(i.childNodes[0],i.getAttribute("optional")?n:r,i.getAttribute("optional")?M:U),a+=t,i.setAttribute("parentOfSelected",a),0===a&&(i.removeAttribute("parentOfSelected"),j.removeIcon(i.childNodes[0],i.getAttribute("optional")?n:r));break}if(!i.previousSibling||"TR"!==i.previousSibling.nodeName)break;i=i.previousSibling}}function H(e,t){if("TD"!==e.nodeName)throw i.log.debug("down"+e.nodeName),new Error("Expected TD in setSelected: "+e.nodeName+" : "+e.textContent);i.log.debug("pass");var n=e.getAttribute("class");if(n||(n=""),t){((n+=" selected").indexOf("pred")>=0||n.indexOf("obj")>=0)&&B(e,1),f.push(e);var r=i.utils.getTerm(e);p.showURI(r);var a=e.AJAR_statement;if(void 0===a&&(a=e.parentNode.AJAR_statement),a){var o=a.why,s=i.store.updater.editable(o.uri,h);s&&n.indexOf("pred")>=0&&j.addIcon(e,u.default.termWidgets.addTri)}}else i.log.debug("cla=$"+n+"$"),"selected"===n&&(n=""),((n=n.replace(" selected","")).indexOf("pred")>=0||n.indexOf("obj")>=0)&&B(e,-1),n.indexOf("pred")>=0&&j.removeIcon(e,u.default.termWidgets.addTri),f=f.filter((function(t){return t===e})),i.log.info("Deselecting "+e.textContent);"undefined"!=typeof sourceWidget&&p.showSource(),e.setAttribute("class",n)}function q(){for(var e=f.length-1;e>=0;e--)H(f[e],!1);f=[]}function z(e){var t=p.targetOf(e),n=t.parentNode,r=i.utils.getAbout(h,t);e.altKey&&a.byName("internal");e.shiftKey?Z(n,r):e.altKey?Y(n,r,{pane:a.byName("internal"),immediate:!0}):Y(n,r)}function W(e){var t=p.targetOf(e),n=i.utils.getAbout(h,t);e.altKey&&a.byName("internal");X(t.parentNode.parentNode,n)}function V(e){var t=p.targetOf(e).getAttribute("uri");e.altKey?g.fetch(i.rdf.uri.docpart(t),{force:!0}):g.refresh(h.sym(i.rdf.uri.docpart(t)))}function K(e){var t=p.targetOf(e).getAttribute("uri");e.altKey?g.fetch(i.rdf.uri.docpart(t),{force:!0}):g.refresh(h.sym(i.rdf.uri.docpart(t)))}function $(e){var t=p.targetOf(e).getAttribute("uri");g.fetch(i.rdf.uri.docpart(t))}function G(e){var t=p.targetOf(e),n=t.node;n.childNodes.length>1&&(n=t.parentNode),F(n)}function J(e){if(p.UserInput._tabulatorMode)return p.UserInput.Click(e);var t,n=p.targetOf(e);for(t=i.utils.ancestor(n,"TD");t&&"false"!==t.getAttribute("notSelectable");t=i.utils.ancestor(t.parentNode,"TD"));if(t){var r=L(t);if(i.log.debug("Was node selected before: "+r),e.altKey)H(t,!L(t));else if(e.shiftKey)H(t,!0);else{if(q(),p.UserInput.clearInputAndSave(e),H(t,!0),2===e.detail)return void e.stopPropagation();var a=t.parentNode.AJAR_statement;if(!a)return;var o=a.why,s=i.store.updater.editable(o.uri,h);r&&s&&p.UserInput.Click(e,f[0])}i.log.debug("Was node selected after: "+L(t)+", count="+f.length),e.stopPropagation()}}function Q(e){n.title=i.utils.label(e),n.location.href.startsWith(e.site().uri)}function Y(e,t,r){var a=(r=r||{}).pane,u=!!r.already,l=r.immediate;i.log.info("@outlineExpand, dom is now "+n.location),g.removeCallback("done","expand"),g.removeCallback("fail","expand");var c=h.canon(t);function d(){if(c=h.canon(c),!e||!e.parentNode||!e.parentNode.parentNode)return!1;var t;if(i.log.info("@@ REPAINTING "),u){for(i.log.info(" ... p is "+e),t=e.firstChild;t.nextSibling&&(i.log.info(" ... checking node "+t),"table"!==t.nodeName);t=t.nextSibling);t=N(c,t,a,r)}else t=N(c,void 0,a,r);u=!0,i.utils.ancestor(e,"TABLE")&&"white"===i.utils.ancestor(e,"TABLE").style.backgroundColor?t.style.backgroundColor="#eee":t.style.backgroundColor="white";try{s.default.util.Event.off&&s.default.util.Event.off(e,"mousedown","dragMouseDown")}catch(e){console.log("YAHOO "+e)}i.utils.emptyNode(e).appendChild(t),p.focusTd=e,i.log.debug("expand: Node for "+c+" expanded");for(var n=h.each(c,i.ns.rdfs("seeAlso")),o=0;o<n.length;o++)25===o&&i.log.warn("expand: Warning: many ("+n.length+") seeAlso links for "+c),g.lookUpThing(n[o],c)}function f(e){if(arguments[3])return!0;var t=h.canon(c);i.log.info("@@ expand: relevant subject="+t+", uri="+e+", already="+u);var n=h.sym(i.rdf.uri.docpart(e));if(e.indexOf("#")>=0)throw new Error("Internal error: hash in "+e);var r=function(){if(!t.uri)return!0;var r=h.uris(t);if(!r)return!1;for(var a=0;a<r.length;a++)for(var o=i.rdf.uri.docpart(r[a]);o;o=h.HTTPRedirects[o])if(e===o)return!0;return!!h.anyStatementMatching(t,void 0,void 0,n)};return!r()||(i.log.success("@@ expand OK: relevant subject="+t+", uri="+e+", source="+u),d(),!1)}r.solo&&Q(c),i.log.debug("outlineExpand: dereferencing "+c);var m=n.createElement("span");e.appendChild(m),g.addCallback("done",f),g.addCallback("fail",f);var y=[];if(c.uri&&"rdf"===c.uri.split(":")[0])d();else{for(var b=0;b<y.length;b++){if(void 0===y[b](c))return d(),i.log.debug("outline 1815"),void((void 0)[1]&&v.removeChild(v.lastChild))}!c.uri||l||i.widgets.isAudio(c)||i.widgets.isVideo(c)||h.holds(c,i.ns.rdf("type"),o.Util.mediaTypeClass("application/pdf"))?d():g.nowOrWhenFetched(c.doc(),void 0,(function(t,i){if(t)g.lookUpThing(c),d(),r.solo&&Q(c);else{var a=n.createElement("pre");a.textContent=i,a.setAttribute("style","background-color: #fee;"),a.textContent="Outline.expand: Unable to fetch "+c.doc()+": "+i,e.appendChild(a)}}))}}function X(e,t){var n,r,a,o,s=i.utils.ancestor(e,"TR");for((s=i.utils.ancestor(s.parentNode,"TR"))&&(n=s.AJAR_statement),r=e.parentNode;"TD"!==r.tagName;r=r.parentNode)if(void 0===r)return void alert("Not enclosed in TD!");i.log.debug("Collapsing subject "+t),n&&(i.log.debug("looking up pred "+n.predicate.uri+"in defaults"),a=te.defaults[n.predicate.uri]),i.log.debug("view= "+a),"outline"===r.parentNode.parentNode.id&&(o=r.parentNode),p.replaceTD(p.outlineObjectTD(t,a,o,n),r)}function Z(e,t){for(var n=null,r=e.parentNode;r;r=r.parentNode)i.log.debug("level "+r.tagName),"TD"===r.tagName&&(n=r);i.utils.emptyNode(n).appendChild(N(t)),Q(t),n.setAttribute("about",t.toNT())}e.termWidget=j,j.construct=function(e){var t=(e=e||document).createElement("TD");return t.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),t.setAttribute("class","iconTD"),t.setAttribute("notSelectable","true"),t.style.width="0px",t},j.addIcon=function(e,t,r){var a=e.childNodes[1];if(a){var o=a.style.width,s=i.utils.AJARImage(t.src,t.alt,t.tooltip,n);o=parseInt(o),o+=t.width,a.style.width=o+"px",a.appendChild(s),r&&s.addEventListener("click",r)}},j.removeIcon=function(e,t){var r,a=e.childNodes[1];if(a){var o=a.style.width;o=parseInt(o),o-=t.width,a.style.width=o+"px";for(var s=0;s<a.childNodes.length;s++){var u=a.childNodes[s],l=u.src;try{r=n.location.href.split("?")[0]}catch(e){console.log(e),r=""}l===i.rdf.uri.join(t.src,r)&&a.removeChild(u)}}},j.replaceIcon=function(e,t,n,r){j.removeIcon(e,t),j.addIcon(e,n,r)},new function(){this.pat=h.formula(),this.vars=[]},this.statusBarClick=function(e){var t=i.utils.getTarget(e);t.label&&(window.content.location=t.label)},this.showURI=function(e){e&&n.getElementById("UserURI")&&(n.getElementById("UserURI").value="NamedNode"===e.termType?e.uri:"")},this.showSource=function(){if("undefined"!=typeof sourceWidget){for(var e in sourceWidget.sources)sourceWidget.sources[e].setAttribute("class","");for(var t=0;t<f.length;t++)if(f[t].parentNode){var n=f[t].parentNode.AJAR_statement;if(n){var r=n.why;r&&r.uri&&sourceWidget.highlight(r,!0)}}else console.log("showSource: EH? no parentNode? "+f[t]+"\n")}},this.getSelection=function(){return f},this.targetOf=function(e){var t;if(e||(e=window.event),e.target)t=e.target;else{if(!e.srcElement)return i.log.error("can't get target for event "+e),!1;t=e.srcElement}return 3===t.nodeType&&(t=t.parentNode),t},this.walk=function(e,t){var r,a=t||f[0];switch(e){case"down":try{r=a.parentNode.nextSibling.lastChild}catch(e){return void this.walk("up")}q(),H(r,!0);break;case"up":try{r=a.parentNode.previousSibling.lastChild}catch(e){return}q(),H(r,!0);break;case"right":if(q(),a.nextSibling||"strong"===a.lastChild.tagName)H(a.nextSibling,!0);else H(n.evaluate("table/div/tr/td[2]",a,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,!0);break;case"left":if(q(),a.previousSibling&&"undetermined"===a.previousSibling.className)return H(a.previousSibling,!0),!0;H(i.utils.ancestor(a.parentNode,"TD"),!0);break;case"moveTo":q(),H(t,!0)}"down"!==e&&"up"!==e||r.tabulatorSelect||this.walk(e)},this.OutlinerKeypressPanel=function(e){function t(e){e&&n.getElementById("UserURI")&&(n.getElementById("UserURI").value="NamedNode"===e.termType?e.uri:"")}function o(e){return arguments[3]||(d("right",l),t(i.utils.getAbout(h,f[0]))),!0}var s,u;if(i.log.info("Key "+e.keyCode+" pressed"),"TEXTAREA"!==i.utils.getTarget(e).tagName&&"UserURI"!==i.utils.getTarget(e).id&&!(f.length>1))if(0!==f.length){var l=f[0];switch(g.removeCallback("done","setSelectedAfterward"),g.removeCallback("fail","setSelectedAfterward"),e.keyCode){case 13:if("HTML"===i.utils.getTarget(e).tagName){var c=i.utils.getAbout(h,l);s=l.parentNode.AJAR_statement.why,u=i.store.updater.editable(s.uri,h),c?r.GotoSubject(c,!0):u&&p.UserInput.Enter(l)}else this.UserInput.Keypress(e),this.walk("down"),e.stopPropagation();return;case 38:this.walk("up"),e.stopPropagation(),e.preventDefault();break;case 40:this.walk("down"),e.stopPropagation(),e.preventDefault()}if("INPUT"!==i.utils.getTarget(e).tagName){var d;switch(e.keyCode){case 46:case 8:s=l.parentNode.AJAR_statement.why,(u=i.store.updater.editable(s.uri,h))&&(e.preventDefault(),this.UserInput.Delete(l));break;case 37:if(this.walk("left"))return;var m=i.utils.ancestor(l.parentNode,"TD");X(l,i.utils.getAbout(h,m));break;case 39:var v=i.utils.getAbout(h,l);if(v){if(d=this.walk,l.nextSibling)return void this.walk("right");"TABLE"!==l.firstChild.tagName&&(g.addCallback("done",o),g.addCallback("fail",o),Y(l,v,{pane:a.byName("defaultPane")})),o()}break;case 38:case 40:break;default:switch(e.charCode){case 99:if(e.ctrlKey){p.UserInput.copyToClipboard(p.clipboardAddress,l);break}break;case 118:case 112:if(e.ctrlKey){p.UserInput.pasteFromClipboard(p.clipboardAddress,l);break}break;default:i.utils.getTarget(e).tagName}}if(t(i.utils.getAbout(h,f[0])),f[0]){var y=i.utils.findPos(f[0])[1];y+f[0].clientHeight>window.scrollY+window.innerHeight&&i.utils.getEyeFocus(f[0],!0,!0,window),y<window.scrollY+54&&i.utils.getEyeFocus(f[0],!0,void 0,window)}}}else 13!==e.keyCode&&38!==e.keyCode&&40!==e.keyCode&&37!==e.keyCode&&39!==e.keyCode||(this.walk("right",p.focusTd),t(i.utils.getAbout(h,f[0])))},this.OutlinerMouseclickPanel=function(e){switch(p.UserInput._tabulatorMode){case 0:!function(e){i.log.info("@TabulatorMousedown, dom.location is now "+n.location);var t=p.targetOf(e);if(t){var r=t.tagName;"INPUT"!==r&&"TEXTAREA"!==r&&(p.UserInput.clearMenu(),p.UserInput.lastModified&&p.UserInput.lastModified.parentNode.nextSibling&&p.UserInput.backOut(),(!t.src||t.src.slice(t.src.indexOf("/icons/")+1)!==u.default.src.icon_show_choices&&t.src.slice(t.src.indexOf("/icons/")+1)!==u.default.src.icon_add_triple)&&p.UserInput.clearInputAndSave(e),t.src&&t.src.slice(t.src.indexOf("/icons/")+1)===u.default.src.icon_show_choices||p.UserInput.clearMenu(),e&&e.stopPropagation())}}(e);break;case 1:p.UserInput.Click(e)}},this.replaceTD=function(e,t){var n;L(t)&&(n=!0);for(var r=f.length-1;r>-1;r--)for(var i=f[r];i.parentNode;i=i.parentNode)i===t&&H(f[r],!1);t.parentNode.replaceChild(e,t),n&&H(e,!0)},r.outlineRefocus=Z,this.GotoFormURI_enterKey=function(e){13===e.keyCode&&r.GotoFormURI(e)},this.GotoFormURI=function(e){!function(e){var t=h.sym(e);this.GotoSubject(t,!0)}(n.getElementById("UserURI").value)},this.GotoURIinit=function(e){var t=h.sym(e);this.GotoSubject(t)},this.GotoSubject=function(e,t,r,a,o,s){s=s||n.getElementById("outline"),a&&(i.utils.emptyNode(s),s.style.width="100%");var u=function(){var t=n.createElement("TR");t.style.verticalAlign="top",s.appendChild(t);var r=p.outlineObjectTD(e,void 0,t);return t.appendChild(r),r}();if(a&&Q(e),t){Y(u,e,{pane:r,solo:a});var l=u.parentNode;i.utils.getEyeFocus(l,!1,void 0,window)}if(a&&n&&n.defaultView&&n.defaultView.history&&document.location.href!==e.uri){var c=r?{paneName:r.name}:{};try{n.defaultView.history.pushState(c,e.uri,e.uri)}catch(e){console.log(e)}}return e};var ee=i.ns,te=(0,d.default)(n);function ne(e){var r;if("Literal"===e.termType){(r=n.createElement("span")).textContent=e.value;var o="";if(e.datatype&&e.datatype.uri){var s=i.ns.xsd("").uri;e.datatype.uri.slice(0,s.length)===s&&(o={integer:"text-align: right;",decimal:"text-align: '.';",double:"text-align: '.';"}[e.datatype.uri.slice(s.length)])}r.setAttribute("style",o||"white-space: pre-wrap;")}else if("NamedNode"===e.termType||"BlankNode"===e.termType)if((r=n.createElement("span")).setAttribute("about",e.toNT()),p.appendAccessIcons(h,r,e),"NamedNode"===e.termType)if("tel:"===e.uri.slice(0,4)){var l=e.uri.slice(4),c=n.createElement("a");r.appendChild(n.createTextNode(l)),c.setAttribute("href",e.uri),c.appendChild(i.utils.AJARImage(u.default.src.icon_telephone,"phone","phone "+l,n)),r.appendChild(c),c.firstChild.setAttribute("class","phoneIcon")}else{r.appendChild(n.createTextNode(i.utils.label(e)));var d=i.widgets.linkIcon(n,e);r.appendChild(d),i.widgets.makeDraggable(r,e)}else r.appendChild(n.createTextNode(i.utils.label(e)));else if("Collection"===e.termType){(r=n.createElement("table")).setAttribute("style","width: 100%;"),r.setAttribute("about",e.toNT());for(var f=0;f<e.elements.length;f++){var m=e.elements[f],g=r.appendChild(n.createElement("tr")),v=g.appendChild(n.createElement("td"));v.setAttribute("style","margin: 0.2em; border: none; padding: 0; vertical-align: top;"),v.setAttribute("notSelectable","false"),v.setAttribute("about",e.toNT()),v.innerHTML=f+1+")",g.appendChild(p.outlineObjectTD(m))}}else"Graph"===e.termType?(r=a.byName("dataContentPane").statementsAsTables(e.statements,t)).setAttribute("class","nestedFormula"):(i.log.error("Object "+e+" has unknown term type: "+e.termType),r=n.createTextNode("[unknownTermType:"+e.termType+"]"));return i.log.debug("contents: "+r.innerHTML),r}return this.createTabURI=function(){n.getElementById("UserURI").value=n.URL+"?uri="+n.getElementById("UserURI").value},this.UserInput.setSelected=H,this.UserInput.deselectAll=q,this.UserInput.views=te,this.outlineExpand=Y,this};var i=h(n(0)),a=h(n(125)),o=h(n(4)),s=p(n(284)),u=p(n(285)),l=p(n(286)),c=p(n(287)),d=p(n(288));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){v(a,r,i,o,s,"next",e)}function s(e){v(a,r,i,o,s,"throw",e)}o(void 0)}))}}}).call(this,n(67))},function(e,t,n){"use strict";var r,i=n(0),a=n(4),o=e.exports={};o.util={},o.util.Event=(r=[],{on:function(e,t,n,i,a){var o=function(e){return n.call(i,e,i)};e.addEventListener(t,o,!1);var s=[e,t,a,o];r.push(s)},off:function(e,t,n){var i=this._getCacheIndex(e,t,n);if(-1===i)return!1;var a=r[i];return e.removeEventListener(t,a[this.WFN],!1),delete r[i][this.WFN],delete r[i][this.FN],r.splice(i,1),!0},EL:0,TYPE:1,FNID:2,WFN:3,_getCacheIndex:function(e,t,n){for(var i=0,a=r.length;i<a;++i){var o=r[i];if(o&&o[this.FNID]===n&&o[this.EL]===e&&o[this.TYPE]===t)return i}return-1}}),o.util.DDExternalProxy=function(e){this.initTarget(e)},o.util.DDExternalProxy.prototype={initTarget:function(e){this.DDM=o.util.DDM,this.el=e},b4StartDrag:function(e,t){s.onDragStart(e,t,this.el)},b4Drag:function(e){},handleMouseDown:function(e,t){(e.which||e.button)>1||this.DDM.handleMouseDown(e,this)}},o.util.DDM={handleMouseDown:function(e,t){this.dragCurrent=t;var n=t.el;this.startX=e.pageX,this.startY=e.pageY,this.deltaX=this.startX-n.offsetLeft,this.deltaY=this.startY-n.offsetTop,this.dragThreshMet=!1},handleMouseMove:function(e){if(!this.dragCurrent)return!0;if(o.util.Event.isIE&&!e.button)return o.log("button failure","info","DragDropMgr"),this.stopEvent(e),this.handleMouseUp(e);if(!this.dragThreshMet){var t=Math.abs(this.startX-e.pageX),n=Math.abs(this.startY-e.pageY);(t>this.clickPixelThresh||n>this.clickPixelThresh)&&this.startDrag(this.startX,this.startY)}return this.dragThreshMet,e.preventDefault(),!0},handleMouseUp:function(e){this.dragCurrent&&(o.util.Event.off(this.dragCurrent.el,"mousemove","dragMouseMove"),o.util.Event.off(this.dragCurrent.el,"mouseup","dragMouseUp"),o.util.Event.off(this.dragCurrent.el,"mouseup","dragMouseUp"),this.dragThreshMet&&(s.onDropInside(e.target),this.dragThreshMet=!1),this.dragCurrent=null)},startDrag:function(e,t){this.dragCurrent&&this.dragCurrent.b4StartDrag(e,t),this.dragThreshMet=!0},clickPixelThresh:3};var s={onDrop:function(e,t,n){var r=i.utils.ancestor(i.utils.ancestor(e.originalTarget,"TABLE").parentNode,"TABLE").outline.selection,o=t.flavour.contentType,s=transferUtils.retrieveURLFromData(t.data,o);if(s){if("application/x-moz-file"===o&&0===t.data.fileSize){var u=a.sym("chrome://tabulator/content/internalKnowledge.n3#defaultNew");i.store.copyTo(u,a.sym(s))}var l=r[0];i.utils.ancestor(i.utils.ancestor(l,"TABLE").parentNode,"TABLE").outline.UserInput.insertTermTo(l,a.sym(s))}},onDragEnter:function(e,t){var n;try{n=i.utils.ancestor(i.utils.ancestor(e.originalTarget,"TABLE").parentNode,"TABLE").outline.selection}catch(e){return}for(var r=e.originalTarget;r;r=r.parentNode)if(r.tabulatorSelect){if(n[0]){try{n[0].tabulatorDeselect()}catch(e){throw new Error(n[0]+" causes "+e)}o.util.Event.off(r,"mouseup","dragMouseUp")}r.tabulatorSelect();break}},onDragExit:function(e,t){},onDropInside:function(e){e.ownerDocument.getElementById("outline").outline.UserInput.insertTermTo(e,i.utils.getAbout(i.store,this.dragTarget))},onDragStart:function(e,t,n){this.dragTarget=n;var r=Components.interfaces.nsIDragService,a={action:r.DRAGDROP_ACTION_COPY+r.DRAGDROP_ACTION_MOVE+r.DRAGDROP_ACTION_LINK},o=n.ownerDocument.getBoxObjectFor(n),s=Components.classes["@mozilla.org/gfx/region;1"].createInstance(Components.interfaces.nsIScriptableRegion);s.init(),s.unionRect(o.screenX,o.screenY,o.width,o.height);var u={data:null},l=i.Util.getTerm(n);switch(l.termType){case"NamedNode":u.data=this.URItoTransferDataSet(l.uri);break;case"BlankNode":u.data=this.URItoTransferDataSet(l.toNT());break;case"Literal":u.data=this.URItoTransferDataSet(l.value)}u=u.data;var c=Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray),d=nsTransferable.set(u.dataList[0]);c.AppendElement(d.QueryInterface(Components.interfaces.nsISupports)),this.mDragService.invokeDragSession(n,c,s,a.action)},getSupportedFlavours:function(){var e=new FlavourSet;return e.appendFlavour("text/x-moz-url"),e.appendFlavour("text/unicode"),e.appendFlavour("application/x-moz-file","nsIFile"),e},URItoTransferDataSet:function(e){var t=new TransferDataSet,n=new TransferData;return n.addDataForFlavour("text/x-moz-url",e),n.addDataForFlavour("text/unicode",e),t.push(n),t},_mDS:null,get_mDragService:function(){if(!this._mDS){var e=Components.interfaces.nsIDragService;this._mDS=Components.classes["@mozilla.org/widget/dragservice;1"].getService(e)}return this._mDS},DDM:o.util.DDM}},function(e,t,n){"use strict";var r=e.exports={},i=n(0);r.src=[],r.tooltips=[],r.src.icon_expand=i.icons.originalIconBase+"tbl-expand-trans.png",r.src.icon_more=i.icons.originalIconBase+"tbl-more-trans.png",r.src.icon_collapse=i.icons.originalIconBase+"tbl-collapse.png",r.src.icon_internals=i.icons.originalIconBase+"tango/22-emblem-system.png",r.src.icon_instances=i.icons.originalIconBase+"tango/22-folder-open.png",r.src.icon_foaf=i.icons.originalIconBase+"foaf/foafTiny.gif",r.src.icon_social=i.icons.originalIconBase+"social/social.gif",r.src.icon_mb=i.icons.originalIconBase+"microblog/microblog.png",r.src.icon_shrink=i.icons.originalIconBase+"tbl-shrink.png",r.src.icon_rows=i.icons.originalIconBase+"tbl-rows.png",r.src.icon_unrequested=i.icons.originalIconBase+"16dot-blue.gif",r.src.icon_fetched=i.icons.originalIconBase+"16dot-green.gif",r.src.icon_failed=i.icons.originalIconBase+"16dot-red.gif",r.src.icon_requested=i.icons.originalIconBase+"16dot-yellow.gif",r.src.icon_CVPane=i.icons.originalIconBase+"CV.png",r.src.icon_defaultPane=i.icons.originalIconBase+"about.png",r.src.icon_visit=i.icons.originalIconBase+"tango/22-text-x-generic.png",r.src.icon_dataContents=i.icons.originalIconBase+"rdf_flyer.24.gif",r.src.icon_n3Pane=i.icons.originalIconBase+"w3c/n3_smaller.png",r.src.icon_RDFXMLPane=i.icons.originalIconBase+"22-text-xml4.png",r.src.icon_imageContents=i.icons.originalIconBase+"tango/22-image-x-generic.png",r.src.icon_airPane=i.icons.originalIconBase+"1pt5a.gif",r.src.icon_LawPane=i.icons.originalIconBase+"law.jpg",r.src.icon_pushbackPane=i.icons.originalIconBase+"pb-logo.png",r.src.icon_photoPane=i.icons.originalIconBase+"photo_small.png",r.src.icon_tagPane=i.icons.originalIconBase+"tag_small.png",r.src.icon_TinyTag=i.icons.originalIconBase+"tag_tiny.png",r.src.icon_photoBegin=i.icons.originalIconBase+"photo_begin.png",r.src.icon_photoNext=i.icons.originalIconBase+"photo_next.png",r.src.icon_photoBack=i.icons.originalIconBase+"photo_back.png",r.src.icon_photoEnd=i.icons.originalIconBase+"photo_end.png",r.src.icon_photoImportPane=i.icons.originalIconBase+"flickr_small.png",r.src.icon_retract=i.icons.originalIconBase+"retract.gif",r.src.icon_refresh=i.icons.originalIconBase+"refresh.gif",r.src.icon_optoff=i.icons.originalIconBase+"optional_off.PNG",r.src.icon_opton=i.icons.originalIconBase+"optional_on.PNG",r.src.icon_map=i.icons.originalIconBase+"compassrose.png",r.src.icon_retracted=r.src.icon_unrequested,r.src.icon_retracted=r.src.icon_unrequested,r.src.icon_time=i.icons.originalIconBase+"icons/Wclocksmall.png",r.src.icon_telephone=i.icons.originalIconBase+"silk/telephone.png",r.src.icon_time=i.icons.originalIconBase+"Wclocksmall.png",r.src.icon_remove_node=i.icons.originalIconBase+"tbl-x-small.png",r.src.icon_add_triple=i.icons.originalIconBase+"tango/22-list-add.png",r.src.icon_add_new_triple=i.icons.originalIconBase+"tango/22-list-add-new.png",r.src.icon_show_choices=i.icons.originalIconBase+"userinput_show_choices_temp.png",r.src.icon_display_reasons=i.icons.originalIconBase+"tango/22-help-browser.png",r.tooltips[r.src.icon_display_reasons]="Display explanations",r.tooltips[r.src.icon_add_triple]="Add more",r.tooltips[r.src.icon_add_new_triple]="Add one",r.tooltips[r.src.icon_remove_node]="Remove",r.tooltips[r.src.icon_expand]="View details.",r.tooltips[r.src.icon_collapse]="Hide details.",r.tooltips[r.src.icon_shrink]="Shrink list.",r.tooltips[r.src.icon_internals]="Under the hood",r.tooltips[r.src.icon_instances]="List",r.tooltips[r.src.icon_foaf]="Friends",r.tooltips[r.src.icon_rows]="Make a table of data like this",r.tooltips[r.src.icon_unrequested]="Fetch this.",r.tooltips[r.src.icon_fetched]="Fetched successfully.",r.tooltips[r.src.icon_failed]="Failed to load. Click to retry.",r.tooltips[r.src.icon_requested]="This is being fetched. Please wait...",r.tooltips[r.src.icon_visit]="View document",r.tooltips[r.src.icon_retract]="Remove this source and all its data from tabulator.",r.tooltips[r.src.icon_refresh]="Refresh this source and reload its triples.",r.OutlinerIcon=function(e,t,n,r,i){return this.src=e,this.alt=n,this.width=t,this.tooltip=r,this.filter=i,this},r.termWidgets={},r.termWidgets.optOn=new r.OutlinerIcon(r.src.icon_opton,20,"opt on","Make this branch of your query mandatory."),r.termWidgets.optOff=new r.OutlinerIcon(r.src.icon_optoff,20,"opt off","Make this branch of your query optional."),r.termWidgets.addTri=new r.OutlinerIcon(r.src.icon_add_triple,18,"add tri","Add one")},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,a,o=n(0),s=o.rdf,u=n(125);e.exports=function e(t){var n=o.store,l=t.document;this.menuId="predicateMenu1";var c=function(e){console.log(e+"\n")},d=o.ns.rdf,p=o.rdf.Namespace("http://purl.org/ontology/bibo/"),f=o.rdf.Namespace("http://purl.org/dc/elements/1.1/"),h=!1;return i||((i=new o.rdf.Formula).superFormula=n),a||(a=new o.rdf.IndexedFormula),a.name="TempFormula",o.store.updater||(o.store.updater=new o.rdf.UpdateManager(n)),{sparqler:o.store.updater,lastModified:null,lastModifiedStat:null,statIsInverse:!1,addNewPredicateObject:function(e){if("bottom-border-active"===o.utils.getTarget(e).className){var r=t.UserInput,i=o.utils.getTarget(e),a=l.createElement("tr");o.utils.ancestor(i,"DIV").insertBefore(a,o.utils.ancestor(i,"TR"));var s=l.createElement("tr"),u=r.generateRequest("(TBD)",s,!0);a.appendChild(s.firstChild);var c=r.generateRequest("(Enter text or drag an object onto this field)",s,!1);if(a.appendChild(s.firstChild),o.utils.ancestor(i,"TR").previousSibling&&o.utils.ancestor(i,"TR").previousSibling.AJAR_statement){var d=o.utils.ancestor(i,"TR").previousSibling.AJAR_statement;r.formUndetStat(a,d.subject,u,c,d.why,!1)}else{var p=o.utils.getAbout(n,o.utils.ancestor(i.parentNode.parentNode,"TD")),f=n.sym(o.rdf.Util.uri.docpart(p.uri));r.formUndetStat(a,p,u,c,f,!1)}t.walk("moveTo",a.firstChild),o.log.info("addNewPredicateObject: selection = "+t.getSelection().map((function(e){return e.textContent})).join(", ")),this.startFillInText(t.getSelection()[0])}},addNewObject:function(e){var n=o.utils.getTarget(e).parentNode.parentNode,r=n.parentNode.AJAR_inverse;this.lastModifiedStat=n.parentNode.AJAR_statement;var i=this.appendToPredicate(n),a=this.generateRequest(" (Error) ",i,!1),s=i.previousSibling.AJAR_statement;r?this.formUndetStat(i,a,s.predicate,s.object,s.why,!0):this.formUndetStat(i,s.subject,s.predicate,a,s.why,!1),t.walk("moveTo",i.lastChild),this.startFillInText(i.lastChild)},Delete:function(e){this.deleteTriple(e,!1)},Enter:function(e){this.literalModification(e)},Click:function(e){var t=o.utils.getTarget(e);"Literal"===o.utils.getTerm(t).termType&&(this.literalModification(t),e.preventDefault(),e.stopPropagation())},pasteFromClipboard:function(e,n){function r(e){var n=t.clipboard[e].shift();if(null!==n){switch(e){case"predicates":case"objects":for(var r=t.clipboard.all,i=0;;i++)if(n.sameTerm(r[i])){r.splice(i,1);break}break;case"all":throw new Error("hostorical code not understood - what is theCollection?")}return n}o.log.warn("no more element in clipboard!")}var i;switch(n.className){case"undetermined selected":if(!(i=n.nextSibling?r("predicates"):r("objects")))return;break;case"pred selected":if(!(i=r("objects")))return;break;case"selected":var a=r("all");if(!a)return;return i=a[0],void this.insertTermTo(n,i,a[1])}this.insertTermTo(n,i)},startFillInText:function(e){switch(this.whatSortOfEditCell(e)){case"DatatypeProperty-like":o.utils.emptyNode(e),this.lastModified=this.createInputBoxIn(e," (Please Input) "),this.lastModified.isNew=!1,this.lastModified.select();break;case"predicate":this.performAutoCompleteEdit(e,"PredicateAutoComplete");break;case"ObjectProperty-like":case"no-idea":this.performAutoCompleteEdit(e,"GeneralAutoComplete")}},literalModification:function(e){if(o.log.debug("entering literal Modification with "+e+e.textContent),-1!==e.className.indexOf(" pendingedit"))return o.log.warn("The node you attempted to edit has a request still pending.\nPlease wait for the request to finish (the text will turn black)\nbefore editing this node again."),!0;var t=e;if(this.getStatementAbout(t)){var r,i,a;try{r=o.utils.getTerm(t),i=o.utils.ancestor(t,"TR")}catch(r){o.log.warn("userinput.js: "+r+o.utils.getAbout(n,e)),o.log.error(t+" getStatement Error:"+r)}try{a=i.lastChild}catch(e){o.log.error(e+"@"+t)}if("Literal"===r.termType){if(a.removeChild(a.firstChild),r.value.match("\n")){var s=l.createElement("textarea");s.appendChild(l.createTextNode(r.value)),s.setAttribute("rows",(r.value.match(/\n/g).length+1).toString()),s.setAttribute("cols","100"),s.setAttribute("class","textinput"),a.appendChild(s),this.lastModified=s}else this.lastModified=this.createInputBoxIn(a,r.value);this.lastModified.isNew=!1,this.lastModified.select()}return!0}},performAutoCompleteEdit:function(e,t){o.utils.emptyNode(e),c("perform AutoCompleteEdit. THIS IS="+this),this.lastModified=this.createInputBoxIn(e,""),this.lastModified.select(),this.lastModified.addEventListener("keypress",this.getAutoCompleteHandler(t),!1),this.getAutoCompleteHandler(t)(1)},backOut:function(){this.deleteTriple(this.lastModified.parentNode,!0),this.lastModified=null},clearMenu:function(){var e=l.getElementById(this.menuID);e&&e.parentNode.removeChild(e)},clearInputAndSave:function(e){var r;if(this.lastModified){if(!this.lastModified.isNew)try{r=this.getStatementAbout(this.lastModified).object}catch(e){return}var i,a,l,c,p=this.lastModifiedStat;if(this.lastModified.value!==this.lastModified.defaultValue){var f;if(""===this.lastModified.value)return this.lastModified.value=this.lastModified.defaultValue,void this.clearInputAndSave();if(this.lastModified.isNew){p=new o.rdf.Statement(p.subject,p.predicate,n.literal(this.lastModified.value),p.why),i=this.views.defaults[p.predicate.uri],f=o.utils.ancestor(this.lastModified,"TR");try{o.store.updater.update([],[p],(function(e,n,r){n||(o.log.error("Error occurs while inserting "+p+"\n\n"+r+"\n"),t.UserInput.deleteTriple(f.lastChild,!0))}))}catch(e){return void o.log.error("Error inserting fact "+p+":\n\t"+e+"\n")}p=n.add(p.subject,p.predicate,n.literal(this.lastModified.value),p.why)}else{if(this.statIsInverse)return o.log.error("Invalid Input: a literal can't be a subject in RDF/XML"),void this.backOut();var h,m,g;switch(r.termType){case"Literal":var v=this.lastModified.value;f=o.utils.ancestor(this.lastModified,"TR");var y=this.lastModified.defaultValue;m=s.st(p.subject,p.predicate,n.literal(this.lastModified.value),p.why);try{o.store.updater.update([p],[m],(function(e,t,n){t?r.value=v:(o.log.warn("Error occurs while editing "+p+"\n\n"+n),f.lastChild.textContent=y),f.lastChild.className=f.lastChild.className.replace(/ pendingedit/g,"")}))}catch(e){return void o.log.warn("Error occurs while editing "+p+":\n\t"+e)}break;case"BlankNode":var b=n.literal(this.lastModified.value,"");if("Collection"!==p.predicate.termType)return void this.fillInRequest("object",this.lastModified.parentNode,n.literal(this.lastModified.value));var w=p.predicate.elements[0];if(n.any(void 0,w,b)){if(!e){var x=this.lastModified.parentNode;(e={}).pageX=o.utils.findPos(x)[0],e.pageY=o.utils.findPos(x)[1]+x.clientHeight}this.showMenu(e,"DidYouMeanDialog",void 0,{dialogTerm:n.any(void 0,w,b),bnodeTerm:p.subject})}else{h=o.utils.ancestor(o.utils.ancestor(this.lastModified,"TR").parentNode,"TR").AJAR_statement,m=s.st(p.subject,w,b,p.why);var k=n.the(p.subject,d("type"));g=n.anyStatementMatching(p.subject,d("type"),k,p.why),f=o.utils.ancestor(o.utils.ancestor(this.lastModified,"TR"),"TD").parentNode;try{o.store.updater.update([],[h,m,g],(function(e,n,r){n||(console.log("Error occurs while editing "+h+"\n\n"+r),t.UserInput.deleteTriple(f.lastChild,!0))}))}catch(e){return void console.log("Error occurs while editing "+h+":\n\t"+e)}n.remove(p),n.add(p.subject,w,b,p.why)}var E=o.utils.ancestor(this.lastModified.parentNode.parentNode,"TD"),C=u.byName("default");t.outlineExpand(E,p.subject,{pane:C,already:!0}),t.walk("right",t.focusTd)}}}else{if(this.lastModified.isNew)return a=o.utils.ancestor(this.lastModified,"TR"),l=this.generateRequest("(To be determined. Re-type of drag an object onto this field)"),c=a.previousSibling.AJAR_statement,this.formUndetStat(a,c.subject,c.predicate,l,c.why,!1),void(this.lastModified=null);if("Collection"===p.predicate.termType){n.removeMany(p.subject);var _=o.utils.ancestor(o.utils.ancestor(this.lastModified,"TR").parentNode,"TR");return c=_.AJAR_statement,l=this.generateRequest("(To be determined. Re-type of drag an object onto this field)"),this.formUndetStat(_,c.subject,c.predicate,l,c.why,!1),t.replaceTD(t.outlineObjectTD(l,i),_.lastChild),void(this.lastModified=null)}if(this.statIsInverse){if("BlankNode"===p.subject.termType)return void this.backOut()}else if("BlankNode"===p.object.termType)return void this.backOut()}a=o.utils.ancestor(this.lastModified,"TR"),this.statIsInverse?t.replaceTD(t.outlineObjectTD(p.subject,i),a.lastChild):t.replaceTD(t.outlineObjectTD(n.literal(this.lastModified.value),i),a.lastChild),this.lastModified.value!==this.lastModified.defaultValue&&(a.lastChild.className+=" pendingedit"),this.lastModified=null}},deleteTriple:function(e,r){if(o.log.debug("deleteTriple entered"),!r&&-1!==e.className.indexOf(" pendingedit"))return console.log("The node you attempted to edit has a request still pending.\nPlease wait for the request to finish (the text will turn black)\nbefore editing this node again."),void t.walk("up");var i,a=this.getStatementAbout(e);if(!(r||n.whether(a.object,d("type"),o.ns.link("Request"))||n.whether(a.predicate,d("type"),o.ns.link("Request"))||n.whether(a.subject,d("type"),o.ns.link("Request")))){o.log.debug("about to send SPARQLUpdate");try{o.store.updater.update([a],[],(function(t,n,r){n?s():(console.log("Error occurs while deleting "+a+"\n\n"+r),e.className=e.className.replace(/ pendingedit/g,""))})),e.className+=" pendingedit"}catch(e){return o.log.error(e),void o.log.warn("Error deleting statement "+a+":\n\t"+e)}o.log.debug("SPARQLUpdate sent")}function s(){var e,t;for(e=i;1===e.childNodes.length;e=e.previousSibling);if(e===i){var n=e.nextSibling;n.nextSibling&&1===n.childNodes.length&&((t=e.firstChild).setAttribute("rowspan",parseInt(t.getAttribute("rowspan"))-1),n.insertBefore(e.firstChild,n.firstChild)),i.parentNode.removeChild(i)}else(t=e.firstChild).setAttribute("rowspan",parseInt(t.getAttribute("rowspan"))-1),i.parentNode.removeChild(i)}o.log.debug("about to remove "+a),o.log.debug("removed"),t.walk("up"),i=e.parentNode,r&&s()},clipboardInit:function(){t.clipboard={},t.clipboard.objects=[],t.clipboard.predicates=[],t.clipboard.all=[]},copyToClipboard:function(e,n){var r=o.utils.getTerm(n);switch(n.className){case"selected":case"obj selected":t.clipboard.objects.unshift(r);break;case"pred selected":case"pred internal selected":t.clipboard.predicates.unshift(r)}t.clipboard.all.unshift(r)},insertTermTo:function(e,r,a){var s,u;switch(e.className){case"undetermined selected":s=this.views.defaults[e.parentNode.AJAR_statement.predicate.uri],this.fillInRequest(e.nextSibling?"predicate":"object",e,r);break;case"pred selected":var c=this.appendToPredicate(e);u=e.parentNode.AJAR_statement,s=this.views.defaults[u.predicate.uri],c.appendChild(t.outlineObjectTD(r,s));var d=e.parentNode.AJAR_inverse;d?c.AJAR_statemnet=n.add(r,u.predicate,u.object,u.why):c.AJAR_statement=n.add(u.subject,u.predicate,r,u.why);try{o.store.updater.update([],[c.AJAR_statement],(function(e,t,n){t||o.log.error("userinput.js (pred selected): Fail trying to insert statement "+c.AJAR_statement+": "+n)}))}catch(e){return void o.log.error("Exception trying to insert statement "+c.AJAR_statement+": "+o.utils.stackString(e))}c.AJAR_inverse=d,i.statements.push(c.AJAR_statement);break;case"selected":var p=o.utils.ancestor(e,"TABLE").lastChild,f=p.insertBefore(l.createElement("tr"),p.lastChild);if(u=f.previousSibling.AJAR_statement,void 0===a&&(a=!0),a)this.formUndetStat(f,u.subject,this.generateRequest("(TBD)",f,!0),r,u.why,!1),f.appendChild(t.outlineObjectTD(r)),t.walk("moveTo",f.firstChild),this.startFillInText(f.firstChild);else{var h=this.generateRequest("(To be determined. Re-type of drag an object onto this field)",f);this.formUndetStat(f,u.subject,r,h,u.why,!1),f.insertBefore(t.outlinePredicateTD(r,f,!1,!1),f.firstChild),t.walk("moveTo",f.lastChild),this.startFillInText(f.lastChild)}}},Refill:function(e,t){o.log.info("Refill"+t.textContent);var r,i=t.nextSibling;if(i){var a,u,l;if("undetermined"===t.nextSibling.className){a=o.utils.getAbout(n,o.utils.ancestor(t,"TABLE").parentNode),u=n.any(a,d("type"));(l=[])[0]="SELECT ?pred WHERE{\n?pred "+d("type")+d("Property")+".\n?pred "+o.ns.rdfs("domain")+u+".}",l[1]="SELECT ?pred ?class\nWHERE{\n?pred "+d("type")+d("Property")+".\n"+u+o.ns.rdfs("subClassOf")+" ?class.\n?pred "+o.ns.rdfs("domain")+" ?class.\n}",l[2]="SELECT ?pred WHERE{\n"+a+d("type")+n.variable("subjectClass")+".\n"+n.variable("pred")+o.ns.rdfs("domain")+n.variable("subjectClass")+".\n}",r=l.map(s.SPARQLToQuery)}else{a=o.utils.getAbout(n,o.utils.ancestor(t,"TABLE").parentNode),u=n.any(a,d("type"));var c=t.parentNode.AJAR_statement.object;l="SELECT ?pred WHERE{"+a+d("type")+"?subjectClass.\n"+c+d("type")+"?objectClass.\n?pred "+o.ns.rdfs("domain")+"?subjectClass.\n?pred "+o.ns.rdfs("range")+"?objectClass.\n}",r=s.SPARQLToQuery(l)}this.showMenu(e,"GeneralPredicateChoice",r,{isPredicate:i,selectedTd:t})}else{var p=t.parentNode.AJAR_statement.predicate;if((n.whether(p,d("type"),o.ns.owl("DatatypeProperty"))||"Collection"===p.termType||n.whether(p,o.ns.rdfs("range"),o.ns.rdfs("Literal")))&&(t.className="",o.utils.emptyNode(t),this.lastModified=this.createInputBoxIn(t," (Please Input) "),this.lastModified.isNew=!1,this.lastModified.select()),t.parentNode.AJAR_statement.predicate.sameTerm(d("type"))){var f="SELECT ?class WHERE{?class "+d("type")+o.ns.rdfs("Class")+".}",h=s.SPARQLToQuery(f);this.showMenu(e,"TypeChoice",h,{isPredicate:i,selectedTd:t})}}},getAutoCompleteHandler:function(e){var i;return c("\n\n***** In getAutoCompleteHandler ****** mode = "+e),"PredicateAutoComplete"===e?e="predicate":"JournalTAC"!==e&&(e="all"),i="JournalTAC"===e?l.getElementById("inpid_journal_title"):this.lastModified||t.getSelection()[0].firstChild,c("InputBox="+i),c("InputBox.value="+i.value),function(a){c("ENTER EVENT="+a),c("1. outside (if eneterEvent)");var s={},u=i.parentNode;e||(e=u.nextSibling?"predicate":"all"),s.pageX=o.utils.findPos(u)[0],s.pageY=o.utils.findPos(u)[1]+u.clientHeight,c("epX="+s.pageX+", epY="+s.pageY+", mode="+e);var d=l.getElementById(t.UserInput.menuID);function p(e){e&&(d.lastHighlight&&(d.lastHighlight.className=""),d.lastHighlight=e,d.lastHighlight.className="activeItem",t.showURI(o.utils.getAbout(n,d.lastHighlight)))}if(a){c("2. in (if enterEvent). with type = "+r(a));var f=i.value;if("object"===r(a))switch(c("3. in typeof enterEvent is object, will switch to keys, arrows, etc. keycode = "+a.keyCode),a.stopPropagation(),d&&!d.lastHighlight&&p(d.firstChild.firstChild),a.keyCode){case 13:case 9:if(c("handler: Enter or Tab"),!d)return void t.UserInput.clearInputAndSave();if(!d.lastHighlight)return"JournalTAC"===e?(t.UserInput.clearMenu(),c("no lastH"),"no lastH"):void 0;if("INPUT"===d.lastHighlight.tagName)switch(d.lastHighlight.value){case"New...":c("subcase New"),t.UserInput.createNew();break;case"GiveURI":c("subcase GiveURI"),t.UserInput.inputURI()}else{if("JournalTAC"===e){if(c("movedArrow? "+h),h&&d.lastHighlight){var m=d.lastHighlight.firstChild.firstChild.innerHTML,g=d.lastHighlight.firstChild.nextSibling.innerHTML;return["gotdptitle",m,g=g.slice(4,-4)]}return"asGivenTxt"}var v=o.utils.getAbout(n,d.lastHighlight),y="predicate"===e?"predicate":"object";t.UserInput.clearMenu(),t.UserInput.fillInRequest(y,i.parentNode,v)}return void c("outside");case 38:return c("handler: Arrow UP"),h=!0,""!==f||"TR"!==d.lastHighlight.tagName||d.lastHighlight.previousSibling?p(d.lastHighlight.previousSibling):p(d.firstChild.firstChild),"I'm a little Arrow Up";case 40:return c("handler: Arrow Down"),h=!0,"INPUT"===d.lastHighlight.tagName?p(d.childNodes[1].firstChild):p(d.lastHighlight.nextSibling),"I'm a little Down Arrow";case 37:case 39:return c("handler: Arrow left, right"),void("INPUT"===d.lastHighlight.tagName&&(37===a.keyCode?p(d.lastHighlight.previousSibling):p(d.lastHighlight.nextSibling)));case 8:c("handler: Backspace"),f=f.slice(0,-1);break;case 27:return c("handler: Esc"),d?void t.UserInput.clearMenu():void t.UserInput.backOut();default:c("handler: Default"),h=!1,c("oldtext="+f),f+=String.fromCharCode(a.charCode),c("charcodent="+a.charCode),c("strcharcod="+String.fromCharCode(a.charCode)),console.log("DEFAULT txtstr="+f+"\n")}return"all"===e?(c("generalAC after switch, newText="+f+"mode is all"),t.UserInput.clearMenu(),t.UserInput.showMenu(s,"GeneralAutoComplete",void 0,{inputText:f,selectedTd:u}),0===f.length&&t.UserInput.WildCardButtons()):"predicate"===e?(c("predicateAC after switch, newText="+f+"mode is predicate"),t.UserInput.clearMenu(),t.UserInput.showMenu(s,"PredicateAutoComplete",void 0,{inputText:f,isPredicate:!0,selectedTd:u})):"JournalTAC"===e&&(c("JouralTAC after switch, newText="+f),t.UserInput.clearMenu(),t.UserInput.showMenu(s,"JournalTitleAutoComplete",void 0,{inputText:f},"orderisuseless")),(d=l.getElementById(t.UserInput.menuID))?(c("at end of handler\n^^^^^^^^^^^^^^^^^\n\n"),p(d.firstChild.firstChild),t.showURI(o.utils.getAbout(n,d.lastHighlight)),"nothing to return"):void c("No menu element. Do not show menu.")}}},WildCardButtons:function(){var e=l.getElementById(t.UserInput.menuID),n=e.insertBefore(l.createElement("div"),e.firstChild),r=n.appendChild(l.createElement("input")),i=n.appendChild(l.createElement("input"));r.type="button",r.value="New...",i.type="button",i.value="Know its URI",n.addEventListener("mouseover",(function(e){var n=l.getElementById(t.UserInput.menuID);n.lastHighlight&&(n.lastHighlight.className=""),n.lastHighlight=o.utils.ancestor(o.utils.getTarget(e),"INPUT"),n.lastHighlight&&(n.lastHighlight.className="activeItem")}),!1),r.addEventListener("click",this.createNew,!1),i.addEventListener("click",this.inputURI,!1)},Keypress:function(e){if(13===e.keyCode)if("TEXTAREA"!==t.targetOf(e).tagName)this.clearInputAndSave();else{var n=parseInt(this.lastModified.getAttribute("rows"));this.lastModified.setAttribute("rows",(n+1).toString()),e.stopPropagation()}},Mousedown:function(t){c("MOUSING DOWN"),window.addEventListener("keypress",(function(t){!t.ctrlKey||115!==t.charCode&&113!==t.charCode||e.switchMode()}),!1),window.addEventListener("mousedown",e.Mousedown,!1),document.getElementById("outline").oncontextmenu=function(){return!1},2===t.button&&(e.switchMode(),t&&(t.preventDefault(),t.stopPropagation()))},Mouseover:function(e){if(this.className="bottom-border-active",1===this._tabulatorMode)switch(o.utils.getTarget(e).tagName){case"TD":var t=o.utils.getTarget(e);"pred"===t.className&&(t.style.cursor="copy");break;case"DIV":var n=o.utils.getTarget(e);"bottom-border"===o.utils.getTarget(e).className&&(n.style.borderColor="rgb(100%,65%,0%)",n.style.cursor="copy")}},Mouseout:function(e){if(this.className="bottom-border",1===this._tabulatorMode){var t=o.utils.getTarget(e);"bottom-border"===o.utils.getTarget(e).className&&(t.style.borderColor="transparent",t.style.cursor="auto")}},whatSortOfEditCell:function(e){if(e.nextSibling)return"predicate";var t=this.getStatementAbout(e).predicate;return n.whether(t,o.ns.rdf("type"),o.ns.owl("DatatypeProperty"))||n.whether(t,o.ns.rdfs("range"),o.ns.rdfs("Literal"))||"Collection"===t.termType?"DatatypeProperty-like":n.whether(t,d("type"),o.ns.owl("ObjectProperty"))?"ObjectProperty-like":"no-idea"},getStatementAbout:function(e){var t,n=o.utils.ancestor(e,"TR");if(!n)throw new Error("No ancestor TR for the TD we clicked on:"+e);try{t=n.AJAR_statement}catch(t){throw new Error("No AJAR_statement!"+e+e.textContent+" has ancestor "+n)}return this.lastModifiedStat=n.AJAR_statement,this.statIsInverse=n.AJAR_inverse,t},createInputBoxIn:function(e,n){o.log.info("myDocument in createInputBoxIn is now "+l.location),o.log.info("outline.document is now "+t.document.location);var r=l.createElement("input");return r.setAttribute("value",n),r.setAttribute("class","textinput"),"undetermined selected"!==e.className&&(r.setAttribute("size","100"),r.addEventListener("keypress",(function(e){38!==e.keyCode&&40!==e.keyCode||(t.OutlinerKeypressPanel(e),t.UserInput.clearInputAndSave())}),!1)),e.appendChild(r),r},createNew:function(e){t.UserInput.clearMenu();var r=t.getSelection()[0],i=r.parentNode.AJAR_statement.why,a=n.nextSymbol(i);t.UserInput.fillInRequest("object",r,a),t.outlineExpand(t.getSelection()[0],a)},inputURI:function(e){var r=t.UserInput;r.clearMenu();var i=t.getSelection()[0];o.utils.emptyNode(i);r.lastModified=r.createInputBoxIn(i," (Type a URI) "),r.lastModified.select(),r.lastModified.addEventListener("keypress",(function(e){switch(e.stopPropagation(),e.keyCode){case 13:case 9:if(" (Type a URI) "!==this.value){var t=this.value;r.fillInRequest("object",i,n.sym(t))}}}),!1)},appendToPredicate:function(e){var t,n=!1;try{for(t=e.parentNode.nextSibling;1===t.childNodes.length&&t.AJAR_statement;t=t.nextSibling);}catch(e){n=!0}var r=l.createElement("tr");if(r.style.colspan="1",r.style.display="block",r.style.display="",e.hasAttribute("rowspan")&&e.setAttribute("rowspan",parseInt(e.getAttribute("rowspan"))+1),e.hasAttribute("rowspan")||e.setAttribute("rowspan","2"),n){var i=e.parentNode.parentNode;"defaultPane"===i.className?i.insertBefore(r,i.lastChild):i.appendChild(r)}else t.parentNode.insertBefore(r,t);return r},bnode2symbol:function(e,t){n.copyTo(e,t,["two-direction","delete"])},generateRequest:function(e,n,r,i){var s;i||(s=n||o.utils.ancestor(this.lastModified,"TR"),o.utils.emptyNode(s));var u,l=a,c=l.bnode();(l.add(c,o.ns.rdf("type"),o.ns.link("Request")),e.length,l.add(c,o.ns.link("message"),l.literal(e)),l.add(c,o.ns.link("to"),l.literal("The User")),l.add(c,o.ns.link("from"),l.literal("The User")),i)||((u=r?s.appendChild(t.outlinePredicateTD(c,s,!1,!1)):s.appendChild(t.outlineObjectTD(c))).className="undetermined",u.textContent=e);return c},showMenu:function(e,r,i,a,s){o.log.info("myDocument is now "+l.location),o.log.info("outline.doucment is now "+t.document.location);var u=this,h=l.createElement("div");if(c("\n**** In showMenu, menuType = "+r+"\n"),a)for(var m in a)console.log("\t extra "+m+": "+a[m]+"\n");console.log("CREATED MENU\n"),h.id=this.menuID,h.className="outlineMenu",h.style.top=e.pageY+"px",h.style.left=e.pageX+"px";if("JournalTitleAutoComplete"===r){var g=function(e){for(var t=0,n=0,r=0,i=0,a=0,o=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)a=e.offsetLeft,o=e.offsetTop,a!==r&&(t+=e.offsetLeft-e.scrollLeft),o!==i&&(n+=e.offsetTop-e.scrollTop),r=a,i=o,e=e.parentNode;return{top:n+54,left:t-38}}(l.getElementById("inpid_journal_title"));g.left-=l.getElementById("inpid_journal_title").scrollTop,h.style.top=g.top+"px",h.style.left=g.left+"px"}console.log("menu at top="+h.style.top+" left="+h.style.left+"\n"),l.body.appendChild(h);var v,y=h.appendChild(l.createElement("table"));switch(h.lastHighlight=null,y.addEventListener("mouseover",(function(e){h.lastHighlight&&(h.lastHighlight.className=""),h.lastHighlight=o.utils.ancestor(o.utils.getTarget(e),"TR"),h.lastHighlight&&(h.lastHighlight.className="activeItem")}),!1),r){case"DidYouMeanDialog":v=function(e){c("DID YOU MEAN SELECT ITEM!!!!!");var r=o.utils.ancestor(o.utils.getTarget(e),"TR");2===r.childNodes.length&&r.nextSibling?(n.add(E,void 0,void 0),t.UserInput.clearMenu()):2===r.childNodes.length&&t.UserInput.clearMenu()};break;case"LimitedPredicateChoice":var b=a.clickedTd;v=function(e){c("LIMITED P SELECT ITEM!!!!");for(var r=o.utils.getAbout(n,o.utils.getTarget(e)),i=b.parentNode.AJAR_statement.predicate.elements,a=0;a<i.length;a++)i[a].sameTerm(r)&&i.unshift(i.splice(a,1)[0]);t.UserInput.clearMenu();var s=b.parentNode,l=t.outlinePredicateTD(s.AJAR_statement.predicate,s);s.insertBefore(l,b),s.removeChild(b),u.lastModified.select()};break;case"PredicateAutoComplete":case"GeneralAutoComplete":case"GeneralPredicateChoice":case"JournalTitleAutoComplete":case"TypeChoice":var w=a.isPredicate,x=a.selectedTd;v=function(e){c("WOOHOO");var r=o.utils.getAbout(n,o.utils.getTarget(e));c("GENERAL SELECT ITEM!!!!!!="+r),c("target="+o.utils.getTarget(e)),w?(c("1"),t.UserInput.fillInRequest("predicate",x,r)&&(c("2"),t.UserInput.clearMenu())):(c("3"),t.UserInput.fillInRequest("object",x,r)&&(c("4"),t.UserInput.clearMenu()))};break;default:throw new Error("userinput: unexpected mode")}y.addEventListener("click",v,!1);var k,E,C,_={};function S(e){y.firstChild&&"no-suggest"===y.firstChild.className&&y.removeChild(y.firstChild);var t=o.utils.predicateLabelForXML(e,!1);if(e.uri){var n="??";for(var r in _)if(o.log.debug(_[r]),o.rdf.Util.string_startswith(e.uri,_[r])){n=r;break}var i=y.appendChild(l.createElement("tr"));i.setAttribute("about",e),i.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode(t)),i.appendChild(l.createElement("td")).appendChild(l.createTextNode(n.toUpperCase()))}}function A(e){return function(t){S(t[e.vars[0]])}}switch(n.each(void 0,o.ns.rdf("type"),o.ns.owl("Ontology")).forEach((function(e){var t=o.utils.label(e);if(t){var n=t.value.match(/\((.+?)\)/);n?_[n[1]]=e.uri:_[t.value]=e.uri}})),r){case"DidYouMeanDialog":var T=a.dialogTerm;E=a.bnodeTerm,h.style.width="auto";var P=y.appendChild(l.createElement("tr")).appendChild(l.createElement("th"));P.appendChild(l.createTextNode("Did you mean..."));var D,O=n.statementsMatching(T);for(D=0;D<O.length&&!n.whether(O[D].predicate,d("type"),o.ns.owl("InverseFunctionalProperty"));D++);var I=O[D].predicate,F=n.any(T,O[D].predicate),N=o.utils.label(T)+" who has "+o.utils.label(I)+" "+F+"?",R=y.appendChild(l.createElement("tr")).appendChild(l.createElement("th"));R.appendChild(l.createTextNode(N)),P.setAttribute("colspan","2"),R.setAttribute("colspan","2");var j=y.appendChild(l.createElement("tr"));j.appendChild(l.createElement("th")).appendChild(l.createTextNode("Yes")),j.appendChild(l.createElement("td")).appendChild(l.createTextNode("BOOLEAN"));var L=y.appendChild(l.createElement("tr"));L.appendChild(l.createElement("th")).appendChild(l.createTextNode("No")),L.appendChild(l.createElement("td")).appendChild(l.createTextNode("BOOLEAN"));break;case"PredicateAutoComplete":k=a.inputText;for(var M=t.labeller.searchAdv(k,void 0,"predicate"),U=[],B=0;B<M.length;B++){var H={vars:[]};H.vars.push("Kenny");var q={};q.Kenny=n.fromNT(M[B].NT);try{A(H)(q)}catch(e){throw new Error("I'll deal with bnodes later...[Kenny]"+e)}}var z=U[0];if(0===z.length)return console.log("cm length 0\n"),void this.clearMenu();for(var W=0;W<z.length&&W<10;W++)S(z[W][1]);break;case"GeneralAutoComplete":k=a.inputText;try{U=t.labeller.search(k)}catch(e){console.log("GeneralAutoComplete: debug me "+a.selectedTd.textContent+"\n"+e+"\n")}z=U[0];var V=U[1];if(0===z.length)return console.log("cm length 0\n"),void this.clearMenu();for(var K=0;K<z.length&&K<10;K++){var $=z[K][1].toNT();(C=y.appendChild(l.createElement("tr"))).setAttribute("about",$),C.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode(z[K][0]));var G=V[K],J=G?o.utils.label(G):"";C.appendChild(l.createElement("td")).appendChild(l.createTextNode(J))}break;case"JournalTitleAutoComplete":k=a.inputText,console.log("testing searching text= "+k+" =====\n"),console.log("\n===start JournalTitleAutoComplete\n");for(var Q=n.each(void 0,d("type"),p("Journal")),Y=[],X=0;X<Q.length;X++){var Z=Q[X],ee=n.each(Z,f("title"),void 0),te=ee+"",ne=k.toLowerCase();if(-1!==te.toLowerCase().search(ne)){c("FOUND A Journal Title Match!!!!!!"),Y.push(ee);var re=y.appendChild(l.createElement("tr"));re.setAttribute("about","journalTitle"),re.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode(ee)),re.appendChild(l.createElement("td")).appendChild(l.createTextNode(Z))}}console.log("matched: "+Y+"\n"),console.log("\\\\done showMenu's JTAutocomplete\n");break;case"LimitedPredicateChoice":var ie=o.utils.getAbout(n,a.clickedTd);ie.termType="Collection";for(var ae=n.each(ie,o.ns.link("element")),oe=0;oe<ae.length;oe++)S(ae[oe]);break;default:(C=y.appendChild(l.createElement("tr"))).className="no-suggest",C.appendChild(l.createElement("th")).appendChild(l.createElement("div")).appendChild(l.createTextNode("No suggested choices. Try to type instead.")),C.appendChild(l.createElement("td")).appendChild(l.createTextNode("OK")),C.addEventListener("click",(function(e){u.clearMenu(),e.stopPropagation()}),"false");var se=function(){};switch(i.constructor.name){case"Array":for(var ue=0;ue<i.length;ue++)n.query(i[ue],A(i[ue]),se);break;case"undefined":throw new Error("addPredicateChoice: query is not defined");default:n.query(i,A(i),se)}}},fillInRequest:function(e,r,s){var u,l,c=r.parentNode;u=c.AJAR_statement,l=c.AJAR_inverse;var d,p="object"===e?u.object:u.predicate,f=!1;if(n.any(p,o.ns.link("onfillin")),"predicate"===e){var h=t.outlinePredicateTD(s,c,!1,!1);if("undetermined"!==r.nextSibling.className){var m=new o.rdf.Statement(u.subject,s,u.object,u.why);try{o.store.updater.update([],[m],(function(e,t,r){t?(d=n.anyStatementMatching(u.subject,s,u.object,u.why),c.AJAR_statement=d,h.className=h.className.replace(/ pendingedit/g,"")):o.log.warn("Failure occurs (#2) while inserting "+c.AJAR_statement+"\n\n"+r)}))}catch(e){return o.log.error(e),void o.log.warn("Error when insert (#2) of statement "+m+":\n\t"+e)}h.className+=" pendingedit",this.lastModified=null}else this.formUndetStat(c,u.subject,s,u.object,u.why,!1),t.walk("right"),f=!0;t.replaceTD(h,r),a.remove(u)}else if("object"===e){var g=t.outlineObjectTD(s);if(t.replaceTD(g,r),r.previousSibling&&"undetermined"===r.previousSibling.className)t.walk("left"),f=!0;else{var v;v=l?new o.rdf.Statement(s,u.predicate,u.object,u.why):new o.rdf.Statement(u.subject,u.predicate,s,u.why);try{o.store.updater.update([],[v],(function(e,t,r){var i;o.log.info("@@ usinput.js (object) callback ok="+t+" for statement:"+v+"\n "),t?(g.className=g.className.replace(/ pendingedit/g,""),(i=l?n.statementsMatching(s,u.predicate,u.object,u.why):n.statementsMatching(u.subject,u.predicate,s,u.why)).length||o.log.error("userinput.js 1711: Can't find statememt!"),c.AJAR_statement=i[0]):o.log.warn("userinput.js (object): Fail trying to insert statement "+v)}))}catch(e){return o.log.error("userinput.js (object): exception trying to insert statement "+v+": "+o.utils.stackString(e)),void o.log.warn("Error trying to insert statement "+v+":\n"+e)}this.lastModified=null,g.className+=" pendingedit"}a.remove(u)}if(i.statements.push(d),!f)return!0;this.startFillInText(t.getSelection()[0])},formUndetStat:function(e,t,n,r,i,o){return e.AJAR_inverse=o,e.AJAR_statement=a.add(t,n,r,i),e.AJAR_statement}}}},function(e,t,n){"use strict";var r=n(0);e.exports={makeQueryRow:o,QuerySource:function(){this.queries=[],this.listeners=[],this.addQuery=function(e){var t;for(null!==e.name&&""!==e.name||(e.name="Query #"+(this.queries.length+1)),e.id=this.queries.length,this.queries.push(e),t=0;t<this.listeners.length;t++)null!==this.listeners[t]&&this.listeners[t].addQuery(e)},this.removeQuery=function(e){var t;for(t=0;t<this.listeners.length;t++)null!==this.listeners[t]&&this.listeners[t].removeQuery(e);null!==this.queries[e.id]&&delete this.queries[e.id]},this.addListener=function(e){var t;for(this.listeners.push(e),t=0;t<this.queries.length;t++)null!==this.queries[t]&&e.addQuery(this.queries[t])},this.removeListener=function(e){var t;for(t=0;t<this.queries.length;t++)null!==this.queries[t]&&e.removeQuery(this.queries[t]);for(t=0;t<this.listeners.length;t++)this.listeners[t]===e&&delete this.listeners[t]}},viewAndSaveQuery:function(e,t){var n=e.qs;r.log.info("outline.doucment is now "+e.document.location);for(var i=function(e,t){var n,i,a,s,u=new r.rdf.Query,l=e.length;for(n=0;n<l;n++)i=e[n],s=i.parentNode,a=s.AJAR_statement,r.log.debug("Statement "+a),i.getAttribute("class").indexOf("pred")>=0&&(r.log.info(" We have a predicate"),o(u,s)),i.getAttribute("class").indexOf("obj")>=0&&(r.log.info(" We have an object"),o(u,s,!0));return t.addQuery(u),function e(t){for(var n,r,i=t.statements.length,a=0;a<i;a++)n=t.statements[a],void 0!==(r=n.tr)&&(r.AJAR_pattern=null,r.AJAR_variable=null);for(var o in t.optional)e(t.optional[o])}(u.pat),u}(t,n),a=0;a<n.listeners.length;a++)n.listeners[a].getActiveView().view.drawQuery(i),n.listeners[a].updateQueryControls(n.listeners[a].getActiveView())}};var i=[];function a(e){for(var t=e;;){if(t.getAttribute("predTR"))return t;if(!t.previousSibling||"TR"!==t.previousSibling.nodeName)return console.log("Could not find predParent"),e;t=t.previousSibling}}function o(e,t,n){var s,u,l,c=r.store,d=t.AJAR_inverse;var p=null;for(u=t.parentNode;u;u=u.parentNode)if(void 0!==u.AJAR_statement){u.setAttribute("bla",u.AJAR_statement),u.AJAR_variable||o(e,u),s=u.AJAR_variable;var f=a(u);f.getAttribute("optionalSubqueriesIndex")&&(p=f.getAttribute("optionalSubqueriesIndex"),l=i[p]);break}l||(l=e.pat);var h=a(t),m=h.getAttribute("optional");if(m||(p?h.setAttribute("optionalSubqueriesIndex",p):h.removeAttribute("optionalSubqueriesIndex")),m){var g=c.formula();i.push(g),h.setAttribute("optionalSubqueriesIndex",i.length-1),l.optional.push(g),l=g}var v=t.AJAR_statement,y=t.AJAR_inverse?v.subject:v.object,b=!0;y.isBlank&&n&&window.alert("You cannot constrain a query with a blank node. No constraint will be added."),s||(b=!1,s=d?v.object:v.subject);var w=t.AJAR_variable?t.AJAR_variable:c.variable(r.utils.newVariableName());e.vars.push(w),w.label=b?s.label:r.utils.label(s),w.label+=" "+r.utils.predicateLabelForXML(v.predicate,d);var x,k,E=(x=w,k=s,d?new r.rdf.Statement(x,v.predicate,k):new r.rdf.Statement(k,v.predicate,x));return w.label=w.label.slice(0,1).toUpperCase()+w.label.slice(1),n&&(l.constraints[w]=new function(e){return this.describe=function(t){return t+" = "+e.toNT()},this.test=function(t){return e.sameTerm(t)},this}(y)),r.log.info("Pattern: "+E),E.tr=t,t.AJAR_pattern=E,t.AJAR_variable=w,r.log.debug("Query pattern: "+E),l.statements.push(E),w}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=o(n(289)),a=o(n(290));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r){e.properties[t]||(e.properties[t]=[]),e.properties[t].push(n),r&&(e.defaults[t]=n)}t.default=function(e){var t={properties:[],defaults:[],classes:[]},n=(0,i.default)(e),o=(0,a.default)(e);return s(t,r.ns.foaf("depiction").uri,n,!0),s(t,r.ns.foaf("img").uri,n,!0),s(t,r.ns.foaf("thumbnail").uri,n,!0),s(t,r.ns.foaf("logo").uri,n,!0),s(t,r.ns.schema("image").uri,n,!0),s(t,r.ns.foaf("mbox").uri,o,!0),t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}i.default=e,n&&n.set(e,i);return i}(n(0));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}t.default=function(e){return function(t){var n=i.utils.AJARImage(t.uri,i.utils.label(t),i.utils.label(t),e);return n.setAttribute("class","outlineImage"),n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return function(t){var n=e.createElement("a"),r="NamedNode"===t.termType?t.uri:t.value,i=r.indexOf("mailto:");return r=i>=0?r.slice(i+7):r,n.setAttribute("href","mailto:"+r),n.appendChild(e.createTextNode(r)),n}}},function(e,t,n){"use strict";e.exports=function(e){e(n(292)),e(n(303)),e(n(305)),e(n(308)),e(n(310)),e(n(377)),e(n(375)),e(n(315)),e(n(335)),e(n(336)),e(n(337));var t=n(338);t.longChatPane?(e(t.longChatPane),e(t.shortChatPane)):e(t),e(n(341)),e(n(343)),e(n(344)),e(n(346)),e(n(347)),e(n(348)),e(n(349)),e(n(350)),e(n(351)),e(n(353)),e(n(354)),e(n(355)),e(n(357)),e(n(358)),e(n(360)),e(n(361)),e(n(362)),e(n(363)),e(n(364)),e(n(365)),e(n(366)),e(n(367)),e(n(368)),e(n(369)),e(n(370))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(40),o=n(293),s=n(0);var u={global:!1,icon:s.icons.iconBase+"noun_15059.svg",name:"profile",label:function(e,t){var n=t.session.store.findTypeURIs(e);return n[s.ns.vcard("Individual").uri]||n[s.ns.foaf("Person").uri]||n[s.ns.schema("Person").uri]?"Profile":null},render:function(e,t){var n=t.dom.createElement("div");return function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return(n=e.each(t,s.ns.rdfs("seeAlso"),null,t.doc())).length>0?[4,e.fetcher.load(n)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))}(t.session.store,e).then((function(){return(0,a.render)((0,o.ProfileView)(e,t),n)})),n}};t.default=u},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ProfileView=void 0;var a,o=n(40),s=n(80),u=n(81),l=n(294),c=n(295),d=n(296),p=n(298),f=n(299),h=n(300),m=n(301);t.ProfileView=function(e,t){var n=(0,d.presentProfile)(e,t.session.store),g=(0,p.presentCV)(e,t.session.store),v={grid:(0,s.styleMap)(i(i(i({},(0,u.responsiveGrid)()),(0,u.paddingSmall)()),{background:"radial-gradient(circle, ".concat(n.backgroundColor," 80%, ").concat(n.highlightColor," 100%)")})),card:(0,s.styleMap)((0,u.card)()),chat:(0,s.styleMap)(i(i({},(0,u.card)()),(0,u.padding)()))};return(0,o.html)(a||(a=r(['\n <div style="','">\n <div>\n <div data-testid="profile-card" style="','">\n ',"\n ",'\n </div>\n </div>\n <div data-testid="friend-list" style="','">\n ','\n </div>\n <div data-testid="curriculum-vitae" style="','">\n ','\n </div>\n <div style="','">',"</div>\n\n </div>\n "],['\n <div style="','">\n <div>\n <div data-testid="profile-card" style="','">\n ',"\n ",'\n </div>\n </div>\n <div data-testid="friend-list" style="','">\n ','\n </div>\n <div data-testid="curriculum-vitae" style="','">\n ','\n </div>\n <div style="','">',"</div>\n\n </div>\n "])),v.grid,v.card,(0,f.ProfileCard)(n),(0,m.addMeToYourFriendsDiv)(e,t),v.card,(0,c.FriendList)(e,t),v.card,(0,h.CVCard)(n,g),v.chat,(0,l.ChatWithMe)(e,t))}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},o=this&&this.__await||function(e){return this instanceof o?(this.v=e,this):new o(e)},s=this&&this.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=i[e](t)).value instanceof o?Promise.resolve(n.value.v).then(l,c):d(a[0][2],n)}catch(e){d(a[0][3],e)}var n}function l(e){u("next",e)}function c(e){u("throw",e)}function d(e,t){e(t),a.shift(),a.length&&u(a[0][0],a[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatWithMe=void 0;var u,l=n(40),c=n(0),d=n(379),p=n(158);t.ChatWithMe=function(e,t){var n=t.session.logic,f=t.session.paneRegistry.byName("long chat");return(0,l.html)(u||(u=r([" "," "],[" "," "])),(0,d.asyncReplace)(function(){return s(this,arguments,(function(){var r,s,u,l=this;return a(this,(function(d){switch(d.label){case 0:r=t.dom.createElement("div"),d.label=1;case 1:return d.trys.push([1,5,,6]),[4,o(p.loadingMessage)];case 2:return[4,d.sent()];case 3:return d.sent(),[4,o(n.chat.getChat(e,!1))];case 4:return s=d.sent(),[3,6];case 5:return d.sent(),s=!1,[3,6];case 6:return s?(r.appendChild(f.render(s,t,{})),[4,o(r)]):[3,9];case 7:return[4,d.sent()];case 8:return d.sent(),[3,12];case 9:return u=c.widgets.button(t.dom,void 0,p.chatWithMeButtonText,(function(){return i(l,void 0,void 0,(function(){var i,o;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,n.chat.getChat(e)];case 1:return i=a.sent(),r.innerHTML="",r.appendChild(f.render(i,t,{})),[3,3];case 2:return o=a.sent(),r.appendChild(c.widgets.errorMessageBlock(t.dom,o.message)),[3,3];case 3:return[2]}}))}))}),{needsBorder:!0}),r.appendChild(u),[4,o(r)];case 10:return[4,d.sent()];case 11:d.sent(),d.label=12;case 12:return[2]}}))}))}()))}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0}),t.FriendList=void 0;var i=n(0),a=n(40),o=n(80),s=n(81),u={root:(0,o.styleMap)((0,s.padding)()),heading:(0,o.styleMap)((0,s.headingLight)())};t.FriendList=function(e,t){return(0,a.html)(l||(l=r(["\n <div style=",">\n <h3 style=",">Friends</h3>\n ","\n </div>\n"],["\n <div style=",">\n <h3 style=",">Friends</h3>\n ","\n </div>\n"])),u.root,u.heading,d(e,t))};var l,c,d=function(e,t){var n=t.dom,r=n.createElement("div");return i.widgets.attachmentList(n,e,r,{doc:e.doc(),modify:!1,predicate:i.ns.foaf("knows"),noun:"friend"}),""===r.textContent?p(n,"You have no friends in your list yet"):r},p=function(e,t){return(0,a.html)(c||(c=r(['\n <div id="no-friends" style=',">","</div>\n"],['\n <div id="no-friends" style=',">","</div>\n"])),u.root,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presentProfile=t.pronounsAsText=void 0;var r=n(0),i=n(113),a=n(297);function o(e){var t=r.store.anyJS(e,r.ns.solid("preferredSubjectPronoun"))||"";if(t){var n=r.store.anyJS(e,r.ns.solid("preferredObjectPronoun"));if(n){t+="/"+n;var i=r.store.anyJS(e,r.ns.solid("preferredRelativePronoun"));i&&(t+="/"+i)}t=" ("+t+") "}return t||""}t.pronounsAsText=o;function s(e,t){return e&&t?"".concat(t,", ").concat(e):e||t||null}function u(e,t){return e&&t?"".concat(e," at ").concat(t):t||e||null}function l(e,t){return e&&(0,a.validateHTMLColorHex)(e)?e:t}t.presentProfile=function(e,t){var n=r.utils.label(e),a=(0,i.findImage)(e),c=t.anyValue(e,r.ns.vcard("role")),d=t.anyValue(e,r.ns.vcard("organization-name")),p=t.any(e,r.ns.vcard("hasAddress")),f=null!=p?t.anyValue(p,r.ns.vcard("country-name")):null,h=null!=p?t.anyValue(p,r.ns.vcard("locality")):null,m=function(e,t){var n=t.anyValue(e,r.ns.solid("profileBackgroundColor"),null,e.doc()),i=t.anyValue(e,r.ns.solid("profileHighlightColor"),null,e.doc());return{backgroundColor:l(n,"#eee"),highlightColor:l(i,"#090")}}(e,t),g=m.backgroundColor,v=m.highlightColor,y=o(e);return{name:n,imageSrc:a,introduction:u(c,d),location:s(f,h),backgroundColor:g,pronouns:y,highlightColor:v}}},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"validateHTMLColorName",(function(){return o})),n.d(t,"validateHTMLColorSpecialName",(function(){return s})),n.d(t,"validateHTMLColorHex",(function(){return u})),n.d(t,"validateHTMLColorRgb",(function(){return l})),n.d(t,"validateHTMLColorHsl",(function(){return p})),n.d(t,"validateHTMLColorHwb",(function(){return f})),n.d(t,"validateHTMLColorLab",(function(){return h})),n.d(t,"validateHTMLColor",(function(){return m}));const r=e=>e&&"string"==typeof e,i=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenrod","DarkGray","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","Goldenrod","Gray","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenrodYellow","LightGray","LightGreen","LightPink","LightSalmon","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquamarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenrod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],a=["currentColor","inherit","transparent"],o=e=>{let t=!1;return r(e)&&i.map(n=>(e.toLowerCase()===n.toLowerCase()&&(t=!0),null)),t},s=e=>{let t=!1;return r(e)&&a.map(n=>(e.toLowerCase()===n.toLowerCase()&&(t=!0),null)),t},u=e=>{if(r(e)){const t=/^#([\da-f]{3}){1,2}$|^#([\da-f]{4}){1,2}$/i;return e&&t.test(e)}},l=e=>{if(r(e)){const t=/(rgb)a?\((\s*\d+%?\s*?,?\s*){2}(\s*\d+%?\s*?,?\s*\)?)(\s*,?\s*\/?\s*(0?\.?\d+%?\s*)?|1|0)?\)$/i;return e&&t.test(e)}},c="(([0-9]|[1-9][0-9]|100)%)",d=`\\s*?\\)?)(\\s*?(\\/?)\\s+(((${c}))|(0?(\\.\\d+)?)|1))?\\s*?\\)$`,p=e=>{if(r(e)){const t=new RegExp(`(hsl)a?\\((\\s*?((-?([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9]|360)(deg)?)|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-9][0-9]|400)gra)|((([0-5])?\\.\\d+|6\\.([0-9]|1[0-9]|2[0-8])|[0-6])rad)|((0?(\\.\\d+)?|1)turn))((\\s*,\\s*)|(\\s+)))(\\s*?(0|${c})((\\s*,\\s*)|(\\s+)))(\\s*?(0|${c})\\s*?\\)?)(\\s*?(\\/?|,?)\\s*?(((${c}))|(0?(\\.\\d+)?)|1))?\\)$`);return e&&t.test(e)}},f=e=>{if(r(e)){const t=new RegExp(`(hwb\\(\\s*?(-?([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9]|360)(deg)?)\\s+)((0|${c})\\s+)((0|${c})${d}`);return e&&t.test(e)}},h=e=>{if(r(e)){const t="(-?(([0-9]|[1-9][0-9]|1[0-5][0-9])(\\.\\d+)??|160))",n=new RegExp(`(lab\\(\\s*?((\\d*(\\.\\d+)?)%)\\s+${t}\\s+${t}${d}`);return e&&n.test(e)}},m=e=>!!(e&&u(e)||l(e)||p(e)||f(e)||h(e));t.default=e=>!!(e&&u(e)||o(e)||s(e)||l(e)||p(e)||f(e)||h(e))}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presentCV=t.datesAsText=t.languageAsText=t.skillAsText=t.typesOfRole=void 0;var r=n(4),i=n(0),a=(0,r.Namespace)("http://www.w3.org/ns/org#");function o(e,t){if("Literal"===t.termType)return t.value;var n=e.anyJS(t,i.ns.solid("publicId"));if(n){var r=e.anyJS(n,i.ns.schema("name"));if(r)return r}var a=e.anyJS(t,i.ns.vcard("role"));return a||"¿¿¿ skill ???"}function s(e,t){if("Literal"===t.termType)return t.value;var n=e.anyJS(t,i.ns.solid("publicId"));return n?i.utils.label(n,!0):"_"}function u(e,t){return e?"("+e.value.slice(0,4)+"-"+(t?t.value.slice(0,4):"")+")":""}t.typesOfRole=["PastRole","CurrentRole","FutureRole"],t.skillAsText=o,t.languageAsText=s,t.datesAsText=u,t.presentCV=function(e,n){for(var r=function(e,n){for(var r={PastRole:[],CurrentRole:[],FutureRole:[]},o=0,s=e.each(null,a("member"),n,null);o<s.length;o++){var l=s[o],c=void 0,d=void 0,p=void 0,f=void 0,h=void 0,m=e.any(l,i.ns.schema("startDate")),g=e.any(l,i.ns.schema("endDate")),v=u(m,g),y=e.any(l,a("organization"));y&&(d=e.anyJS(y,i.ns.schema("name")),c=e.any(y,i.ns.schema("uri")),h=e.any(y,i.ns.solid("publicId"))),h&&(p=e.anyJS(h,i.ns.schema("name")));var b=p||d,w=e.any(l,a("role"));w&&(f=e.anyJS(w,i.ns.schema("name")));for(var x=e.anyJS(l,i.ns.vcard("role")),k={startDate:m,endDate:g,orgName:b,roleText:x&&f?f+" - "+x:x||f,dates:v,orgHomePage:c},E=0,C=t.typesOfRole;E<C.length;E++){var _=C[E];e.holds(l,i.ns.rdf("type"),i.ns.solid(_))&&r[_].push(k)}}return r}(n,e),l=0,c=t.typesOfRole;l<c.length;l++){r[c[l]].sort((function(e,t){return e.endDate&&t.endDate?e.endDate>t.endDate?-1:1:e.startDate>t.startDate?-1:1}))}var d=n.each(e,i.ns.schema("skills")).map((function(e){return o(n,e)})),p=n.anyJS(e,i.ns.schema("knowsLanguage")),f=[];return p&&(f=p.map((function(e){return s(n,e)}))),{rolesByType:r,skills:d,languages:f}}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ProfileCard=void 0;var a=n(40),o=n(80),s=n(81),u={image:(0,o.styleMap)((0,s.fullWidth)()),intro:(0,o.styleMap)(i(i({},(0,s.textGray)()),(0,s.textCenter)())),info:(0,o.styleMap)((0,s.padding)())};t.ProfileCard=function(e){var t=e.name,n=e.imageSrc,c=e.introduction,d=e.location,h=e.pronouns,m=e.highlightColor,g=(0,o.styleMap)(i(i({},(0,s.heading)()),{"text-decoration":"underline","text-decoration-color":m}));return(0,a.html)(l||(l=r(["\n ","\n <div style=",">\n <h3 style=",">","</h3>\n <div style=",">\n "," "," ","\n </div>\n </div>\n "],["\n ","\n <div style=",">\n <h3 style=",">","</h3>\n <div style=",">\n "," "," ","\n </div>\n </div>\n "])),f(n,t),u.info,g,t,u.intro,p(c),p(d,"🌐"),p(h))};var l,c,d,p=function(e,t){return void 0===t&&(t=a.nothing),e?(0,a.html)(c||(c=r(["<p>"," ","</p>"],["<p>"," ","</p>"])),t,e):a.nothing},f=function(e,t){return e?(0,a.html)(d||(d=r(["<img style="," src="," alt="," />"],["<img style="," src="," alt="," />"])),u.image,e,t):a.nothing}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CVCard=void 0;var a,o,s,u,l,c,d,p,f,h,m,g,v,y=n(40),b=n(81),w=n(80),x={image:(0,w.styleMap)((0,b.fullWidth)()),intro:(0,w.styleMap)(i(i({},(0,b.textGray)()),(0,b.textCenter)())),card:(0,w.styleMap)({}),info:(0,w.styleMap)(i(i({},(0,b.paddingSmall)()),(0,b.textLeft)()))};function k(e){return(0,y.html)(l||(l=r(["","\n "," "],["","\n "," "])),(t=e[0])?(0,y.html)(o||(o=r(['<div style="margin-top: 0.3em; margin-bottom: 0.3em;">\n <b>',"</b>\n <span>","</span>\n <span>","</span>\n </div> "],['<div style="margin-top: 0.3em; margin-bottom: 0.3em;">\n <b>',"</b>\n <span>","</span>\n <span>","</span>\n </div> "])),t.orgName,t.roleText,t.dates):(0,y.html)(s||(s=r([""],[""]))),e.length>1?k(e.slice(1)):(0,y.html)(u||(u=r([""],[""]))));var t}t.CVCard=function(e,t){var n=t.rolesByType,o=t.skills,s=t.languages,u=(0,w.styleMap)(i(i({},(0,b.heading)()),{color:e.highlightColor}));return(0,y.html)(a||(a=r(["\n <div style=",">\n <h3 style=",">Bio</h3>\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <div style=",">","</div>\n <div style=",">","</div>\n </div>\n "],["\n <div style=",">\n <h3 style=",">Bio</h3>\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <hr />\n <div style=",">","</div>\n <div style=",">","</div>\n <div style=",">","</div>\n </div>\n "])),x.info,u,x.info,k(n.CurrentRole),x.info,k(n.PastRole),x.info,k(n.FutureRole),x.info,function e(t){return(0,y.html)(f||(f=r(["","\n "," "],["","\n "," "])),(n=t[0],n?(0,y.html)(c||(c=r(['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "],['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "])),n):(0,y.html)(d||(d=r([""],[""])))),t.length>1?e(t.slice(1)):(0,y.html)(p||(p=r([""],[""]))));var n}(o),x.info,function e(t){return(0,y.html)(v||(v=r(["","\n "," "],["","\n "," "])),(n=t[0],n?(0,y.html)(h||(h=r(['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "],['<div style="margin: 0.5em;">\n <p style="text-align: center;">',"</p>\n </div> "])),n):(0,y.html)(m||(m=r([""],[""])))),t.length>1?e(t.slice(1)):(0,y.html)(g||(g=r([""],[""]))));var n}(s))}},function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.checkIfFriendExists=t.checkIfAnyUserLoggedIn=t.saveNewFriend=t.createAddMeToYourFriendsButton=t.addMeToYourFriendsDiv=void 0;var s=n(40),u=n(80),l=n(0),c=n(302),d=n(81),p=n(158),f=document.createElement("div"),h={button:(0,u.styleMap)(i(i({},(0,d.textCenter)()),(0,d.padding)()))};t.addMeToYourFriendsDiv=function(e,t){f=t.dom.createElement("div");var n=g(e,t);return f.appendChild(n),(0,s.html)(m||(m=r([' <div style="','">',"</div> "],[' <div style="','">',"</div> "])),h.button,f)};var m,g=function(e,t){var n=l.widgets.button(t.dom,void 0,p.logInAddMeToYourFriendsButtonText,(function(n){n.preventDefault(),v(e,t).then((function(){(0,c.clearPreviousMessage)(f),(0,c.mention)(f,p.friendWasAddedSuccesMessage),r()})).catch((function(e){(0,c.clearPreviousMessage)(f),(0,c.complain)(f,t,e)}))}),{needsBorder:!0});function r(){var r=l.authn.currentUser(),i=t.session.store;y(r)?b(i,r,e).then((function(e){e?(n.innerHTML=p.friendExistsAlreadyButtonText.toUpperCase(),n.setAttribute("class","textButton-0-1-3")):(n.innerHTML=p.addMeToYourFriendsButtonText.toUpperCase(),n.setAttribute("class","textButton-0-1-2"))})):(n.innerHTML=p.logInAddMeToYourFriendsButtonText.toUpperCase(),n.setAttribute("class","textButton-0-1-3"))}return n.refresh=r(),n};function v(e,t){return a(this,void 0,void 0,(function(){var n,r,i,a,s,u;return o(this,(function(o){switch(o.label){case 0:return n=l.authn.currentUser(),r=t.session.store,y(n)?[4,b(r,n,e)]:[3,9];case 1:return o.sent()?[3,7]:[4,r.fetcher.load(n)];case 2:o.sent(),i=r.updater,a=[l.rdf.st(n,l.ns.foaf("knows"),e,n.doc())],o.label=3;case 3:return o.trys.push([3,5,,6]),[4,i.update([],a)];case 4:return o.sent(),[3,6];case 5:throw s=o.sent(),(u=s).toString().includes("Unauthenticated")&&(u=p.userNotLoggedInErrorMessage),new Error(u);case 6:return[3,8];case 7:throw new Error(p.friendExistsMessage);case 8:return[3,10];case 9:throw new Error(p.userNotLoggedInErrorMessage);case 10:return[2]}}))}))}function y(e){return!!e}function b(e,t,n){return a(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return[4,e.fetcher.load(t)];case 1:return r.sent(),0===e.whether(t,l.ns.foaf("knows"),n,t.doc())?[2,!1]:[2,!0]}}))}))}t.createAddMeToYourFriendsButton=g,t.saveNewFriend=v,t.checkIfAnyUserLoggedIn=y,t.checkIfFriendExists=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearPreviousMessage=t.mention=t.complain=void 0;var r=n(0);t.complain=function(e,t,n){e.appendChild(r.widgets.errorMessageBlock(t.dom,n))},t.mention=function(e,t){var n=document.createElement("div");n.setAttribute("style","margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; background-color: #efe; color:black;"),n.innerHTML=t,e.appendChild(n)},t.clearPreviousMessage=function(e){for(;e.childNodes.length>1;)e.removeChild(e.lastChild)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=n(4),a=n(304),o=r.style.highlightColor||"#7C4DFF",s={global:!0,icon:r.icons.iconBase+"noun_492246.svg",name:"editProfile",label:function(){return null},render:function(e,t){var n=t.dom,s=t.session.store;function u(e,t){e||c.appendChild(r.widgets.errorMessageBlock(n,t,"#fee"))}var l,c=n.createElement("div");c.setAttribute("style","border: 0.3em solid ".concat(o,"; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;"));var d=c.appendChild(n.createElement("table")),p=d.appendChild(n.createElement("tr")),f=d.appendChild(n.createElement("tr")).appendChild(n.createElement("div"));function h(e){var t=p.appendChild(n.createElement("p"));return t.setAttribute("style","padding: 1em;"),t.textContent=e,t}function m(e){var t=p.appendChild(n.createElement("h3"));return t.setAttribute("style","color:"+o+";"),t.textContent=e,t}f.setAttribute("style","padding: 0.7em;");var g={dom:n,div:p,statusArea:f,me:null};return r.authn.logInLoadProfile(g).then((function(e){var o=e.me;m("Edit your public profile");var c=o.doc();if(!s.updater)throw new Error("Store has no updater");if(s.any(o,r.ns.solid("editableProfile")))l=s.any(o,r.ns.solid("editableProfile"));else{if(!s.updater.editable(c.uri,s))return void f.appendChild(r.widgets.errorMessageBlock(n,"⚠️ Your profile ".concat(c," is not editable, so we cannot do much here."),"straw"));l=c}h("Everything you put here will be public.\n There will be other places to record private things."),m("Your contact information"),p.appendChild((0,a.paneDiv)(t,o,"contact")),m("People you know who have WebIDs"),h("This is your public social network.\n Only put people here to whom you are happy to be publicly connected.\n (You can always keep private track of friends and family in your contacts.)"),l&&h("Drag people onto the target below to add people."),r.widgets.attachmentList(n,o,p,{doc:c,modify:!!l,predicate:r.ns.foaf("knows"),noun:"friend"}),function(e,t){var a=(0,i.sym)("https://solid.github.io/solid-panes/dashboard/profileStyle.ttl#this"),o=a.doc();s.holds(void 0,void 0,void 0,o)||(0,i.parse)('# 20210404a\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n\n@prefix org: <http://www.w3.org/ns/org#>.\n@prefix esco: <http://data.europa.eu/esco/model#>.\n@prefix wd: <http://www.wikidata.org/entity/>.\n@prefix wdt: <http://www.wikidata.org/prop/direct/>.\n\n@prefix : <#>.\n\n:this\n <http://purl.org/dc/elements/1.1/title> "Profile form" ;\n a ui:Form ;\n # ui:part :backgroundColor, :highlightColor;\n ui:parts (\n :styleGroup\n :nicknameField\n :pronounsForm\n :LanguagesPrompt :LanguagesForm\n :CVGroup\n :SkillsPrompt :SkillsForm\n ).\n\n:styleGroup a ui:Group; ui:weight 0; ui:parts ( :styleHeading :backgroundColor :highlightColor ).\n :styleHeading a ui:Heading; ui:contents "The style of your public profile.".\n :backgroundColor a ui:ColorField; ui:property solid:profileBackgroundColor;\n ui:label "Background color"; ui:default "#ffffff".\n :highlightColor a ui:ColorField; ui:property solid:profileHighlightColor;\n ui:label "Highlight color"; ui:default "#000000".\n\n# Nickname\n\n:nicknameField a ui:SingleLineTextField; ui:size 12; ui:property foaf:nick;\n ui:label "Short name for chats, etc."@en, "nom court"@fr.\n\n # Pronouns\n\n :pronounsForm a ui:Group; ui:weight 0; ui:parts ( :pronounsPrompt :subjectPronounForm :objectPronounForm :relativePronounForm) .\n\n :pronounsPrompt a ui:Comment; ui:contents "What are your pronouns?" .\n\n :subjectPronounForm a ui:SingleLineTextField; ui:property solid:preferredSubjectPronoun;\n ui:size 10; ui:label "he/she/they..." .\n :objectPronounForm a ui:SingleLineTextField; ui:property solid:preferredObjectPronoun;\n ui:size 10; ui:label "him/her/them..." .\n :relativePronounForm a ui:SingleLineTextField; ui:property solid:preferredRelativePronoun;\n ui:size 10; ui:label "his/hers/theirs..." .\n\n # Curriculum Vitae: membership of organizations\n\n :CVHeading a ui:Heading; ui:contents "Public Curriculum Vitae".\n :CVPrompt a ui:Comment; ui:contents "What organizations have you been involved with?" .\n\n :CVGroup a ui:Group; ui:weight 1; ui:parts ( :CVHeading :CVPrompt :involvementWithOrganizationsForm ).\n\n\n solid:Role a rdfs:Class; owl:oneOf ( solid:CurrentRole solid:FormerRole solid:FutureRole ). # Future Role too?\n\n org:member owl:inverse [ ui:label "involvement with company, org etc" ]. # timelimited involvement\n\n :involvementWithOrganizationsForm a ui:Multiple;\n ui:label "Involvement with Organization";\n ui:property org:member; ui:reverse true; # link back from role to member\n ui:ordered false; # Allow user to order CV secions rather than force date order? No.\n ui:part :RoleMembershipForm.\n\n# This is a big important form for one of a series of roles in the list.\n\n :RoleMembershipForm a ui:Group; ui:weight 3; ui:parts ( :MembershipFormHeading :roleNameField\n :escoOccupationField :orgField :RoleClassifier :RoleDatesForm :RoleDescriptionForm).\n\n :MembershipFormHeading a ui:Heading; ui:contents "Details of this role"@en, "Détailes de ce rôle"@fr .\n\n :orgField a ui:Choice; ui:label "Organization"@en, "Organization"@fr;\n ui:canMintNew true; ui:use :OrganizationCreationForm ;\n ui:property org:organization;\n ui:from vcard:Organization .\n :roleNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 60 .\n\n :escoOccupationField a ui:AutocompleteField;\n ui:label "occupation"; ui:size 60;\n ui:property org:role;\n ui:dataSource :ESCO_Occupation_DataSource;\n ui:targetClass schema:Occupation .\n\n :ESCO_Occupation_DataSource a ui:DataSource;\n schema:name "ESCO";\n ui:targetClass schema:Occupation ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI "https://ec.europa.eu/esco/api/search?language=$(language)&type=occupation&text=$(name)".\n\n :instituteIdentityField a ui:AutocompleteField; ui:label "in wikidata";\n ui:size 60;\n ui:property solid:publicId; ui:dataSource :WikidataOnOrganizations.\n\n :WikidataOnOrganizations a ui:DataSource ;\n schema:name "Wikidata";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:targetClass <http://www.wikidata.org/entity/Q43229>; # Use if nothing else\n ui:searchByNameQuery """SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, "$(name)", "i")\n } LIMIT $(limit) """ .\n\n :WikidataOnOrganizations ui:classMap\n [ ui:internalClass schema:Corporation; ui:externalClass <http://www.wikidata.org/entity/Q6881511>], #Enterprise is for-profit\n [ ui:internalClass schema:EducationalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q178706>], #insitution\n [ ui:internalClass schema:ResearchOrganization; ui:externalClass <http://www.wikidata.org/entity/Q31855>], # reearch insitutie\n [ ui:internalClass schema:GovernmentOrganization; ui:externalClass <http://www.wikidata.org/entity/Q327333>], #government agency\n [ ui:internalClass schema:MedicalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4287745>],\n [ ui:internalClass schema:MusicGroup; ui:externalClass <http://www.wikidata.org/entity/Q32178211>], #music organization\n [ ui:internalClass schema:NGO; ui:externalClass <http://www.wikidata.org/entity/Q163740>], #nonprofit organization @@\n [ ui:internalClass schema:Occupation; ui:externalClass <http://www.wikidata.org/entity/Q28640>], # superclass: Profession\n [ ui:internalClass schema:Organization; ui:externalClass <http://www.wikidata.org/entity/Q43229>], # Superclass; Organization\n [ ui:internalClass schema:Project; ui:externalClass <http://www.wikidata.org/entity/Q170584>],\n [ ui:internalClass schema:SportsOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4438121>] .\n\n\n# eposodes in one\'s career - Roles\n\nsolid:Role owl:disjointUnionOf ( solid:PastRole solid:CurrentRole solid:FutureRole ) .\nsolid:PastRole a rdfs:Class; rdfs:label "former role"@en, "ancien rôle"@fr, "vergangene Rolle"@de, "rol anterior"@es .\nsolid:CurrentRole a rdfs:Class; rdfs:label "current role"@en, "rôle actuel"@fr, "momentane Rolle"@de , "rol actual"@es .\nsolid:FutureRole a rdfs:Class; rdfs:label "future role"@en, "rôle à venir"@fr, "zukünftige Rolle"@de, "rol futuro"@es .\n\n:RoleDatesGroup a ui:Group; ui:weight 0; ui:parts ( :RoleClassifier :RoleDatesForm ) .\n :RoleClassifier a ui:Classifier; ui:label "What sort of role?"@en;\n ui:category solid:Role .\n\n :RoleDatesForm a ui:Options; ui:dependingOn rdf:type; ui:case\n [ ui:for solid:PastRole; ui:use :TwoDateForm ],\n [ ui:for solid:CurrentRole; ui:use :StartDateForm ],\n [ ui:for solid:FutureRole; ui:use :StartDateForm ].\n\n :StartDateForm a ui:DateField; ui:label "start"@en,"début"@fr;\n ui:property schema:startDate .\n :TwoDateForm a ui:Group; ui:weight 0; ui:parts ( :StartDateForm :EndDateForm ) .\n :EndDateForm a ui:DateField; ui:label "end"@en,"fin"@fr;\n ui:property schema:endDate .\n\n:RoleDescriptionForm a ui:MultiLineTextField; ui:property schema:description;\n ui:label "Describe your role" .\n\n# Organizations\n\n vcard:Organization ui:creationForm :OrganizationCreationForm .\n\n# Ontology data to drive the classifier\n\nsolid:InterestingOrganization owl:disjointUnionOf (\n# Airline - a Corporation\n# Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization # Proposed. https://github.com/schemaorg/schemaorg/issues/2877\n# FundingScheme - eh?\n schema:GovernmentOrganization\n# LibrarySystem\n# LocalBusiness - Corporation\n# MedicalOrganization - a Corporation or a NGO\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\nschema:PerformingGroup # a band\nschema:Project # like Solid\nschema:SportsOrganization # a Team\nsolid:OtherOrganization\n ) .\n\n# This until the schema.org ontology adopts it\nschema:ResearchOrganization a rdfs:Class; rdfs:label "Research Organization"@en, "Organization de Recherche"@fr ,\n "organización de investigación"@es, "منظمة البحث"@ar, "अनुसंधान संगठन"@hi, "Forschungsorganisation"@de, "shirika la utafiti"@sw .\n\n :OrganizationCreationForm a ui:Form; schema:name "Form for editing an organization using public data" ;\n ui:parts ( :OrgClassifier :OrgSwitch :OrganizationNameField :homePageURIField ) .\n\n\n :OrgClassifier a ui:Classifier; ui:label "What sort of organization?"@en;\n ui:category solid:InterestingOrganization .\n\n :OrganizationNameField\n a ui:SingleLineTextField ;\n ui:label "Organization Name";\n ui:maxLength "200" ;\n ui:property schema:name ;\n ui:size 80 .\n\n :homePageURIField a ui:NamedNodeURIField; ui:size 80;\n ui:label "Home page URI"@en;\n ui:property schema:uri . # @@ ??\n\n :initituteTypeField a ui:Classifier;\n ui:label "What sort of organization";\n ui:category solid:InterestingOrganization .\n\n# Depending on the type of org, chose a different form\n\n :OrgSwitch a ui:Options; ui:dependingOn rdf:type;\n ui:case\n [ ui:for schema:Corporation; ui:use :CorporationForm ],\n [ ui:for schema:GovernmentOrganization; ui:use :GovernmentOrganizationForm ],\n [ ui:for schema:PerformingGroup; ui:use :PerformingGroupForm ],\n [ ui:for schema:Project; ui:use :ProjectForm ],\n [ ui:for schema:NGO; ui:use :NGOForm ],\n [ ui:for schema:EducationalOrganization; ui:use :EducationalOrganizationForm ],\n [ ui:for schema:ResearchOrganization; ui:use :ResearchOrganizationForm ],\n [ ui:for :SportsOrganization; ui:use :SportsOrganizationForm ],\n [ ui:for solid:OtherOrganization; ui:use :OtherOrganizationForm ].\n\n\n :CorporationForm a ui:Group; ui:weight 0; ui:parts ( :CorporationPrompt :CorporationAutocomplete ) .\n\n :CorporationPrompt a ui:Comment; ui:contents "Which corporation?".\n\n :CorporationAutocomplete a ui:AutocompleteField;\n a ui:AutocompleteField; ui:label "Corporation in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q6881511>; # Enterprise\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :WikidataInstancesByName a ui:DataSource ;\n schema:name "Wikidata instances by name";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:searchByNameQuery """SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, "$(name)", "i")\n } LIMIT $(limit) """ ;\n\n # Note this form of the query is very experimental\n ui:searchByName [ ui:construct { ?subject schema:name ?name } ;\n ui:where { ?klass wdt:P279 ?targetClass .\n ?subject wdt:P31 ?klass; rdfs:label ?name .\n };\n ].\n\n :GovernmentOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :GovernmentOrganizationPrompt :GovernmentOrganizationAutocomplete ) .\n\n :GovernmentOrganizationPrompt a ui:Comment; ui:contents "Which GovernmentOrganization?".\n\n :GovernmentOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "GovernmentOrganization in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q327333>; # GovernmentOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :EducationalOrganizationForm a ui:Group; ui:weight 1; ui:parts ( :EducationalOrganizationPrompt :EducationalOrganizationAutocomplete ) .\n\n :EducationalOrganizationPrompt a ui:Comment; ui:contents "Which Educational Organization?".\n\n :EducationalOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Educational Organization in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q2385804>; # EducationalOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ResearchOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :ResearchOrganizationPrompt :ResearchOrganizationAutocomplete ) .\n\n :ResearchOrganizationPrompt a ui:Comment; ui:contents "Which Research Organization?".\n\n :ResearchOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "Research Insitute in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q31855>; # research institute\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :NGOForm a ui:Group; ui:weight 0; ui:parts ( :NGOPrompt :NGOAutocomplete ) .\n\n :NGOPrompt a ui:Comment; ui:contents "Which NGO?".\n\n :NGOAutocomplete\n a ui:AutocompleteField; ui:label "NGO in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q163740>; # Non-profit org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :PerformingGroupForm a ui:Group; ui:weight 0; ui:parts ( :PerformingGroupPrompt :PerformingGroupAutocomplete ) .\n\n :PerformingGroupPrompt a ui:Comment; ui:contents "Which PerformingGroup?".\n\n :PerformingGroupAutocomplete\n a ui:AutocompleteField; ui:label "PerformingGroup in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q32178211>; # Music Org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ProjectForm a ui:Group; ui:weight 0; ui:parts ( :ProjectPrompt :ProjectAutocomplete ) . # :ProjectAutocomplete - no: supress, as not in WD\n\n :ProjectPrompt a ui:Comment; ui:contents "Which Project?".\n\n :ProjectAutocomplete\n a ui:AutocompleteField; ui:label "Project in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q170584>; # Project\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :SportsOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :SportsOrganizationPrompt :SportsOrganizationAutocomplete ) .\n\n :SportsOrganizationPrompt a ui:Comment; ui:contents "Which Sports Organization?".\n\n :SportsOrganizationAutocomplete\n a ui:AutocompleteField; ui:label "SportsOrganization in wikidata";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q4438121>; # SportsOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :OtherOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :OrganizationNameField :homePageURIField ) .\n\n #################### Skills\n\n :SkillsPrompt a ui:Comment; ui:contents "Skills?" .\n\n :SkillsForm a ui:Multiple;\n ui:label "Skills";\n ui:property schema:skills;\n ui:ordered false; # Allow reader to order skills\n ui:part :SkillForm.\n\n :SkillForm a ui:Group; ui:weight 1; ui:parts ( :escoSkillField ).\n\n # :skillNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 30 .\n\n :escoSkillField a ui:AutocompleteField;\n ui:label "skill"; ui:size 30;\n ui:property solid:publicId;\n ui:dataSource :ESCO_Skill_DataSource;\n ui:targetClass schema:Skill .\n\n :ESCO_Skill_DataSource a ui:DataSource;\n schema:name "ESCO Skill";\n ui:targetClass esco:Skill ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI "https://ec.europa.eu/esco/api/search?language=$(language)&limit=$(limit)&type=skill&text=$(name)".\n\n# Language\n\n:LanguagesPrompt a ui:Comment; ui:contents "Languages?" .\n\n:LanguagesForm a ui:Multiple;\n ui:label "Languages";\n ui:property schema:knowsLanguage; # @@@\n ui:ordered true; # Allow user to order languages most important first.\n ui:part :LanguageForm.\n\n:LanguageForm a ui:Group; ui:weight 1; ui:parts ( :WikidataLanguageField ).\n\n :WikidataLanguageField a ui:AutocompleteField;\n ui:label "Language"; ui:size 30;\n ui:property solid:publicId; # @@\n ui:dataSource :WikidataLanguageDataSource;\n ui:targetClass schema:Language .\n\n :WikidataLanguageDataSource\n schema:name "Wikidata languages";\n ui:endpoint "https://query.wikidata.org/sparql" ;\n ui:objectURIBase <https://www.w3.org/ns/iana/language-code/>;\n # Add this to any literal string returned as ?subject\n\n ui:searchByNameQuery """SELECT ?item ?subject ?name\nWHERE\n{ ?item wdt:P305 ?subject .\n OPTIONAL {?item rdfs:label ?name}\n OPTIONAL {?item wdt:P1705 ?name}\n FILTER regex(?name, "$(name)", "i")\n FILTER regex(?subject, "^..$", "i")\n}""" .\n # Note we restrict code to two-letter codes with the second regex, so as to limit the deluge of languages\n # Hope there are not any important ones which have three-letter codes.\n # Omitted: SERVICE wikibase:label { bd:serviceParam wikibase:language "$(languages)". }\n\n\n# ENDS\n',s,o.uri,"text/turtle",(function(){return null})),r.widgets.appendForm(n,e,{},t,a,l,u)}(p,o),m("Thank you for filling your profile.")})).catch((function(e){f.appendChild(r.widgets.errorMessageBlock(n,e,"#fee"))})),c}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paneDiv=function(e,t,n){var r=e.session.paneRegistry.byName(n);if(!r){var i=e.dom.createElement("div");return i.innerText="Unable to load view: ".concat(n),i}var a=r.render(t,e);return a.setAttribute("style","border: 0.3em solid #444; border-radius: 0.5em"),a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=n(306);function a(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}function s(){return(s=o(regeneratorRuntime.mark((function e(t,n,a){var o,s,u,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.authn.logInLoadProfile({dom:t,div:n,statusArea:a,me:null});case 2:if(o=e.sent,s=o.me,u=s.doc(),r.store.updater){e.next=7;break}throw new Error("Store has no updater");case 7:if(l=r.store.updater.editable(u.uri,r.store),n.appendChild((0,i.createText)("h3","Manage your trusted applications")),l){e.next=12;break}return n.appendChild(r.widgets.errorMessageBlock(t,"Your profile ".concat(s.doc().uri," is not editable, so we cannot do much here."))),e.abrupt("return");case 12:n.appendChild((0,i.createText)("p","Here you can manage the applications you trust.")),c=(0,i.createApplicationTable)(s),n.appendChild(c),n.appendChild((0,i.createText)("h4","Notes")),n.appendChild((0,i.createContainer)("ol",[n.appendChild((0,i.createText)("li","Trusted applications will get access to all resources that you have access to.")),n.appendChild((0,i.createText)("li","You can limit which modes they have by default.")),n.appendChild((0,i.createText)("li","They will not gain more access than you have."))])),n.appendChild((0,i.createText)("p","Application URLs must be valid URL. Examples are http://localhost:3000, https://trusted.app, and https://sub.trusted.app."));case 18:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var u={global:!0,icon:"".concat(r.icons.iconBase,"noun_15177.svg"),name:"trustedApplications",label:function(){return null},render:function(e,t){var n=t.dom,i=n.createElement("div");i.classList.add("trusted-applications-pane"),i.setAttribute("style","border: 0.3em solid #418d99; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;");var a=i.appendChild(n.createElement("table")),o=a.appendChild(n.createElement("tr")),u=a.appendChild(n.createElement("tr")).appendChild(n.createElement("div"));return u.setAttribute("style","padding: 0.7em;"),function(e,t,n){return s.apply(this,arguments)}(n,o,u).catch((function(e){return u.appendChild(r.widgets.errorMessageBlock(n,e))})),i}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApplicationTable=function e(t){var n=c("table",{class:"results"}),r=d("tr",[p("th","Application URL"),p("th","Access modes"),p("th","Actions")]);return n.appendChild(r),i.store.each(t,i.ns.acl("trustedApp"),void 0,void 0).flatMap((function(e){return i.store.each(e,i.ns.acl("origin"),void 0,void 0).map((function(t){return{appModes:i.store.each(e,i.ns.acl("mode"),void 0,void 0),origin:t}}))})).sort((function(e,t){return e.origin.value<t.origin.value?-1:1})).forEach((function(e){var r=e.appModes,i=e.origin;return n.appendChild(l(t,i,r,a))})),n.appendChild(l(t,null,[i.ns.acl("Read")],a)),n;function a(){n.parentElement.replaceChild(e(t),n)}},t.createContainer=d,t.createText=p;var r=n(4),i=n(0),a=n(307);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n,o){var s={origin:t,appModes:n,formElements:{modes:[],origin:void 0}};return d("tr",[d("td",[d("form",[c("input",{class:"textinput",placeholder:"Write new URL here",value:t?t.value:""},{},(function(e){s.formElements.origin=e}))],{},{submit:u})]),d("td",[d("form",f(s),{},{submit:u})]),d("td",[d("form",t?[p("button","Update",{class:"controlButton",style:"background: LightGreen;"}),p("button","Delete",{class:"controlButton",style:"background: LightCoral;"},{click:function(t){var n;t.preventDefault();try{n=(0,r.sym)(s.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to remove trust from")}var o=(0,a.getStatementsToDelete)(n,e,i.store,i.ns);if(!i.store.updater)throw new Error("Store has no updater");i.store.updater.update(o,[],l)}})]:[p("button","Add",{class:"controlButton",style:"background: LightGreen;"})],{},{submit:u})])]);function u(t){var n;t.preventDefault();try{n=(0,r.sym)(s.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to trust")}var o=s.formElements.modes.filter((function(e){return e.checked})).map((function(e){return e.value})),u=(0,a.getStatementsToDelete)(s.origin||n,e,i.store,i.ns),c=(0,a.getStatementsToAdd)(n,(0,a.generateRandomString)(),o,e,i.ns);if(!i.store.updater)throw new Error("Store has no updater");i.store.updater.update(u,c,l)}function l(e,t,n){if(t)return o();console.error(e,n)}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=document.createElement(e);return r&&r(i),Object.keys(t).forEach((function(e){i.setAttribute(e,t[e])})),Object.keys(n).forEach((function(e){i.addEventListener(e,n[e])})),i}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=c(e,n,r,i);return t.forEach((function(e){return a.appendChild(e)})),a}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=c(e,n,r,i);return a.textContent=t,a}function f(e){var t=e.appModes,n=e.formElements;return["Read","Write","Append","Control"].map((function(e){return d("label",[c("input",s(s({type:"checkbox"},t.some((function(t){return t.value===i.ns.acl(e).value}))?{checked:""}:{}),{},{value:i.ns.acl(e).uri}),{},(function(e){return n.modes.push(e)})),p("span",e)])}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateRandomString=function(){return Math.random().toString(36).substr(2,5)},t.getStatementsToAdd=function(e,t,n,a,o){var s=new r.BlankNode("bn_".concat(t));return[(0,r.st)(a,o.acl("trustedApp"),s,a.doc()),(0,r.st)(s,o.acl("origin"),e,a.doc())].concat((u=n.map((function(e){return(0,r.sym)(e)})).map((function(e){return(0,r.st)(s,o.acl("mode"),e,a.doc())})),function(e){if(Array.isArray(e))return i(e)}(u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var u},t.getStatementsToDelete=function(e,t,n,r){return n.statementsMatching(null,r.acl("origin"),e).reduce((function(e,i){return e.concat(n.statementsMatching(t,r.acl("trustedApp"),i.subject)).concat(n.statementsMatching(i.subject))}),[])};var r=n(4);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.dashboardPane=void 0;var r=n(0),i=n(309),a={icon:r.icons.iconBase+"noun_547570.svg",name:"dashboard",label:function(e){return console.log(),e.uri===e.site().uri?"Dashboard":null},render:function(e,t){console.log("Dashboard Pane Render");var n=t.dom.createElement("div"),a=function(){n.innerHTML="",function(e,t,n,a){var o=new URL(window.location.href).searchParams.get("uri");if(t&&(o||t.site().uri===a.site().uri))return function(e,t){t.getOutliner(t.dom).getDashboard().then((function(t){return e.appendChild(t)}))}(e,n);(function(e,t){var n=document.createElement("div");e.appendChild(n);var a=n.attachShadow({mode:"open"}),o=document.createElement("link");o.rel="stylesheet",o.href="/common/css/bootstrap.min.css",a.appendChild(o),(0,i.generateHomepage)(t,r.store,r.store.fetcher).then((function(e){return a.appendChild(e)}))})(e,a)}(n,r.authn.currentUser()||null,t,e)};return r.authn.authSession.onLogin((function(){a()})),r.authn.authSession.onSessionRestore((function(){a()})),a(),n}};t.dashboardPane=a;var o=a;t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateHomepage=function(e,t,n){return s.apply(this,arguments)};var r=n(4),i=n(0);function a(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}function s(){return(s=o(regeneratorRuntime.mark((function e(t,n,r){var i,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(t,r);case 2:return i=e.sent,a=p(n,i),(o=document.createElement("div")).classList.add("container"),o.appendChild(l(i.uri,a)),o.appendChild(u(a)),e.abrupt("return",o);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(e){var t=document.createElement("section"),n=document.createElement("h2");n.innerText="Data",t.appendChild(n);var r=document.createElement("div");r.classList.add("list-group"),t.appendChild(r);var i=document.createElement("a");return i.classList.add("list-group-item"),i.href=window.document.location.href+"public/",i.innerText="View ".concat(e,"'s files"),r.appendChild(i),t}function l(e,t){var n=document.createElement("a");n.href=e,n.innerText=t;var r=document.createElement("span");r.innerText="'s Pod";var i=document.createElement("h1");return i.appendChild(n),i.appendChild(r),i}function c(e,t){return d.apply(this,arguments)}function d(){return(d=o(regeneratorRuntime.mark((function e(t,n){var i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.site().uri,a=(0,r.sym)("".concat(i,"profile/card#me")),e.next=4,n.load(a);case 4:return e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,t){return e.anyValue(t,i.ns.vcard("fn"),null,t.doc())||e.anyValue(t,i.ns.foaf("name"),null,t.doc())||new URL(t.uri).host.split(".")[0]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.basicPreferencesPane=void 0;var r=n(0),i=n(4);function a(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}var s={icon:r.icons.iconBase+"noun_Sliders_341315_000000.svg",name:"basicPreferences",label:function(e){return null},render:function(e,t){var n=t.dom,a=t.session.store;function s(e,t){e||u.appendChild(r.widgets.errorMessageBlock(n,t,"#fee"))}var u=n.createElement("div"),c=function(e,t){var n=h(e,t,"User types");n.appendChild(t.createElement("p")).innerText="Here you can self-assign user types to help the data browser know which views you would like to access.";var r=n.appendChild(t.createElement("a"));return r.href="https://github.com/solid/userguide/#role",r.innerText="Read more",n.appendChild(t.createElement("div"))}(u,n);function d(e,t){e=e.doc(),a.holds(void 0,void 0,void 0,e)||(0,i.parse)(t,a,e.uri,"text/turtle",null)}var p=a.sym("urn:uuid:93774ba1-d3b6-41f2-85b6-4ae27ffd2597#this");function f(){return(f=o(regeneratorRuntime.mark((function e(){var i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.authn.logInLoadPreferences({dom:n,div:u});case 2:if((i=e.sent).preferencesFile){e.next=6;break}return console.log("Not doing private class preferences as no access to preferences file. "+i.preferencesFileError),e.abrupt("return");case 6:r.widgets.appendForm(n,c,{},i.me,p,i.preferencesFile,s).style.borderStyle="none",(o=t.session.paneRegistry.byName("trustedApplications"))&&u.appendChild(o.render(null,t)),l(u,a,i.me,n);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return d(p,'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix : <#>.\n\n:this <http://purl.org/dc/elements/1.1/title> "Basic preferences" ;\n a ui:Form ;\n ui:part :categorizeUser, :privateComment, :personalInformationHeading;\n ui:parts ( :personalInformationHeading :privateComment :categorizeUser ).\n\n:personalInformationHeading a ui:Heading;\n ui:contents "Personal information".\n\n:privateComment a ui:Comment;\n ui:contents "This information is private.".\n\n:categorizeUser a ui:Classifier;\n ui:label "Level of user"; ui:property rdf:type ; ui:category solid:User.\n'),d(a.sym("urn:uuid:93774ba1-d3b6-41f2-85b6-4ae27ffd2597-ONT"),'@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix schema: <http:/schema.org/>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n@prefix : <#>.\n\nsolid:User a rdfs:Class;\n rdfs:label "user"@en, "utilisateur"@fr;\n rdfs:comment """Any person who might use a Solid-based system""";\n rdfs:subClassOf foaf:Person, schema:Person, vcard:Individual.\n\n# Since these options are opt-in, it is a bit strange to have new users opt in\n# That they are new users - also we do not use this class for anything specific\n# yet\n# solid:NewUser a rdfs:Class;\n# rdfs:label "new user"@en;\n# rdfs:comment """A person who might use a Solid-based system who has a low\n# level of familiarity with technical details.""";\n# rdfs:subClassOf solid:User.\n\nsolid:PowerUser a rdfs:Class;\n rdfs:label "power user"@en;\n rdfs:comment """A person who might use a Solid-based system\n who is prepared to be given a more complex interface in order\n to be provided with more pwerful features.""";\n rdfs:subClassOf solid:User.\n\n solid:Developer a rdfs:Class;\n rdfs:label "Developer";\n rdfs:comment """Any person who might use a Solid-based system,\n who has software development skills.""";\n rdfs:subClassOf solid:User.\n'),function(){f.apply(this,arguments)}(),u}};t.basicPreferencesPane=s;var u=s;function l(e,t,n,i){var a=h(e,i,"Delete account"),s=t.each(n,r.ns.space("storage"),null,n.doc()).map((function(e){return e.value})),u=a.appendChild(i.createElement("ul"));s.forEach(function(){var e=o(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(t,i);case 2:(n=e.sent)&&u.appendChild(i.createElement("li")).appendChild(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}function c(e,t){return d.apply(this,arguments)}function d(){return(d=o(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=n.createElement("a")).textContent="Delete your account at ".concat(t),e.next=4,p(t);case 4:if("string"==typeof(i=e.sent)){e.next=7;break}return e.abrupt("return",null);case 7:return r.href=i,e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=o(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new URL(t),(r=new URL(t)).pathname=n.pathname="/account/delete",i=r.hostname.split("."),r.hostname=i.slice(1).join("."),e.next=7,fetch(r.href,{method:"HEAD"});case 7:if(!e.sent.ok){e.next=10;break}return e.abrupt("return",r.href);case 10:return e.next=12,fetch(n.href,{method:"HEAD"});case 12:if(!e.sent.ok){e.next=15;break}return e.abrupt("return",n.href);case 15:return e.abrupt("return",null);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e,t,n){var r=e.appendChild(t.createElement("div"));return r.style.border="0.3em solid #418d99",r.style.borderRadius="0.5em",r.style.padding="0.7em",r.style.marginTop="0.7em",r.appendChild(t.createElement("h3")).innerText=n,r}t.default=u},function(e,t){e.exports='\n# Issue tracking - Workflow application definition ontology\n#\n# Finite state automaton ontology\n#\n# See requirements for tracking tools http://www.w3.org/2005/01/06-tool-req.html\n#\n@keywords a, is, of.\n\n@prefix : <http://www.w3.org/2005/01/wf/flow#>.\n@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.\n\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix s: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n\n@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#> .\n@prefix log: <http://www.w3.org/2000/10/swap/log#> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .\n@prefix doap: <http://usefulinc.com/ns/doap#>.\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix dct: <http://purl.org/dc/terms/>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n\n<> dc:title "Issue Tracking Ontology";\n\n dct:creator <http://www.w3.org/People/Berners-Lee/card#i>;\n\n s:comment """This ontology defines a very general class (Task)\n which can used for any kind of bug tracking, issue tracking,\n to-do-list management, action items, goal dependency, and so on.\n It captures the state of a task as a subclass, so that\n subsumption can be used.\n It captures a discussion thread about a task.\n It captures subtasks structure if necessary.\n A "Tracker" defines actual set of states, categories, etc.,\n which a task can be in. The data about the tracker\n guides the software managing the task.\n\n There is some workflow modeling finite state machine\n terms which are optional for more complex definition\n of the transitions allowed.\n """.\n\nTask a s:Class;\n s:label "task"@en; owl:disjointUnionOf (Open Closed);\n s:comment """Something to be done in a wide sense,\n an agenda item at a meeting is one example, but any\n issue, task, action item, goal, product, deliverable, milestone, can such a thing.\n The requirement for this framework was that it would allow\n one to customize ontologies for things such as agenda items,\n action items, working group issues with a spec, w3c Last Call issues,\n software bugs and administrative requests.\n In π-calculus, a process.\n Make your type of issue a subclass of Task.\n """.\n\nOpen a s:Class; s:subClassOf Task;\n s:label "open"@en, "ouvert"@fr;\n ui:backgroundColor "#d6f5d6"; # green like github for some reason\n s:comment """A task which needs attention. The very crude states of Open and Closed all\n interoperability between different systems if the states for a given\n application are made subclasses of either Open or Closed. This allows\n tasks from different systems to be mixed and treated together with\n limited but valuable functionality.\n """.\n\nClosed a s:Class; s:subClassOf Task;\n s:label "closed"@en, "fermé"@fr;\n ui:backgroundColor "#f5d6d6"; # pink\n s:comment """A task which does not need attention. It may be closed because\n has been abandoned or completed, for example.\n """.\n\n\n ActionItem a s:Class;\n s:subClassOf Task;\n s:label "action item"@en; owl:disjointUnionOf (Open Closed);\n s:comment """An obligation taken on by a person, typically at a meeting.\n """.\n\n\ndescription a rdf:Property;\n s:label "description";\n s:comment """The description, definition,\n or abstract. Information explaining what this is.\n Not arbitrary comment about anything, only about the subject.\n (Use this property for anything. There is no domain restriction.).""".\n\ndependent a rdf:Property;\n s:label "how"; owl:inverseOf [ s:label "why"];\n s:domain Task; s:range Task;\n s:comment """Another task upon which this depends, in the sense that\n this task cannot be completed without that task being done.\n You can\'t use this for dependencies on anything other than other tasks.\n (Note the US spelling of the URI. In the UK, a dependant is a something\n which is dependent on somehing else.)""".\n\nassignee a rdf:Property;\n s:label "assigned to"; owl:inverseOf [s:label "assignment"];\n# s:domain Task;\n s:range foaf:Agent;\n s:comment """The person or group to whom this has been assigned.""".\n\n# use dct:modified\n#modified a rdf:Property;\n# s:label "last changed".\n\nmodifiedBy a rdf:Property;\n s:range foaf:Agent;\n s:label "changed by".\n\n# use dct:created instead\n#created a rdf:Property;\n# s:range xsd:dateTime;\n#\n# Use foaf:maker instead\n#creator a rdf:Property;\n# s:range foaf:Agent;\n# s:label "changed by".\n\nsubscriber a rdf:Property;\n s:label "subscriber";\n s:range foaf:Agent.\n\n\n################## Products\n#\n#\n# History: The Tracker system included a cocept of a product,\n# such that an action could be associated with *either* an issue *or* a product.\n# Noah Mendelsohn for the TAG needed to be able make\n# and to give products: Goals, scuuess criteria,\n# deliverables with dates, schedules, TAG members assigned, related issues.\n#\n\n\nProduct a s:Class; s:subClassOf Task;\n s:label "product";\n s:comment """A product is a task which monitors something\n which must be produced.""".\n\ndeliverable a rdf:Property; s:subPropertyOf dependent;\n s:range Product;\n s:label "deliverable"@en;\n s:comment """Something which must be delivered to accomplish this""".\n\ngoalDescription a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:string;\n s:label "goals";\n s:comment """A textual description of the goals of this product, etc.""".\n\nsuccessCriteria a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:string;\n s:label "success criteria";\n s:comment """A textual description of the successs critera.\n How when we know this is done?""".\n\ndateDue a rdf:Property, owl:DatatypeProperty;\n s:domain Task; s:range xsd:date;\n s:label "due"@en;\n s:comment """The date this task is due.\n """.\n\n################## Attachments\n\nattachment a rdf:Property;\n s:label "attachment";\n s:comment """Something related is attached for information.""".\n\nscreenShot a rdf:Property; s:subPropertyOf attachment;\n s:label "screen shot"@en;\n s:comment """An image taken by capturing the state of a\n computer screen, for example to demonstrate a problem""".\n\ntestData a rdf:Property; s:subPropertyOf attachment;\n s:label "test data"@en;\n s:comment """A file which can be used as inpiut to a test\n or to demonstrate a problem. """.\n\n\nterminalOutput a rdf:Property; s:subPropertyOf attachment;\n s:label "terminal output"@en;\n s:comment """A file showing user interaction from a\n text terminal or console etc. """.\n\n\nmessage a rdf:Property; s:subPropertyOf attachment;\n s:label "message"@en;\n s:comment """A message about this. Attached for information.""".\n\n\nMessage a s:Class; s:label "message"@en.\nrecipent a rdf:Property; s:label "to"; s:domain Message; s:range foaf:Agent.\nsender a rdf:Property; s:label "from"; s:domain Message; s:range foaf:Agent.\n\n############################# A Tracker connects and manages issues\n\ntracker a rdf:Property;\n s:label "tracker";\n owl:inverseOf [ s:label "issue"];\n s:domain Task;\n s:range Tracker.\n\nTracker a s:Class;\n s:label "tracker";\n s:comment """A set of issues and\n the constraints on how they evolve.\n To use this ontology, craete a new tracker.\n Copy an existing one or make up your own.""".\n\nissueClass a rdf:Property;\n s:label "all issues must be in";\n s:domain Tracker;\n s:range s:Class, State;\n s:comment """The class of issues which are allowed in this tracker.\n This is essemtial to the operation of the tracker,\n as it defines which states an issue can be in.\n (The issueClass must be a disjointUnionOf the state classes)""".\n\nissueCategory a rdf:Property;\n s:label "issue category";\n s:domain Tracker;\n s:range s:Class;\n s:comment """Issues may be categorized according to the\n subclasses of this class""".\n\nstateStore a rdf:Property;\n s:label "state store";\n s:domain Tracker;\n s:range doc:Document;\n s:comment """A read-write document.\n The state of the issues is modified here.\n When you set up a trcaker, thgis must be set to point\n to a writeble data resource on the web.""".\n\ntransactionStore\n a rdf:Property;\n s:label "transaction store";\n s:domain Tracker;\n s:range doc:Document;\n s:comment """An appendable document. Transactions and messsages\n can be written into here""".\n\nasigneeClass\n a rdf:Property;\n s:label "assignees must be";\n s:domain Tracker;\n s:range s:Class; # Subclass of foaf:Agent\n s:comment """When an issue is assigned, the assignee must be from this class""".\n\ninitialState\n a rdf:Property;\n s:label "initial state"@en;\n s:label "état initial"@fr;\n s:domain Tracker;\n s:range State;\n s:comment """The initial state for a new issue""".\n\n# Use this to link a project to a tracker\ndoap:bug-database owl:inverseOf [ s:label "project"@en ].\n\n\n\n\n############################################################\n#\n# Finite state machines\n#\nChange a s:Class;\n s:label "change";\n s:comment """The universal class of things which\nchange the state of a task.\nIncluded now: Creation, Transition. (Maybe in the future\nmore π-calculus constructions such as splitting & merging tasks,\nand import/export of obligations to a foreign opaque system.)\n""".\n\nTransition a s:Class; s:subClassOf Change;\n s:label "transition";\n s:comment """A transition is a change of state of\na task. Typical properties include date and/or source\n(a document causing the transition), and a final state.""".\n\nCreation a s:Class; s:subClassOf Change;\n s:label "creation";\n s:comment """A creation is a change from existence\nto non-existence\na task. Typical properties include date and/or source\n(a document causing the transition), and a final state.""".\n\n\ndate s:range DateTime.\n\nfinal a rdf:Property;\n s:label "to";\n s:domain Transition;\n s:range State.\n\ntask a rdf:Property;\n s:range Task;\n s:label "task".\n\nrequires a rdf:Property;\n s:label "requires";\n s:domain Transition;\n s:range rdf:List; # Of properties for validation\n s:comment """To be a valid transition,\n a necessary (but not necessarily sufficuent) condition\n is that there be recorded these properties for the record""".\n\naffects a rdf:Property;\n s:label "affects";\n s:domain doc:Work;\n s:range Task.\n\n\n# { ?x a Transition; task ?t; source ?doc } => { ?doc affects ?t }.\n\n\ncreates a rdf:Property;\n s:label "creates";\n s:domain doc:Work;\n s:range Task.\n\n\nallowedTransitions a rdf:Property;\n s:domain State;\n s:range rdf:List; # @@@ of Action\n s:label "allowed transitions";\n s:comment """The state machine is defined\n by these lists of transition allowed for each issue.\n (An interesting option in the Web is to make an allowed transition\n to a state in soemone else\'s ontology, which in turn allows\n transitions into many ontologies. So a finite state maxchine\n may become very large. In practice this means that a task handed\n off to another organization may be processed on all kinds of ways.)""".\n\n# { ?x a TerminalState} => { ?x allowedTransitions () }.\n\nfinal a rdf:Property;\n s:label "to";\n s:range State.\n\nissue a rdf:Property;\n s:label "issue";\n s:comment\n """A transition changes the state of the given issue.""".\n\nsource a rdf:Property;\n s:label "source";\n s:comment """The source of a transition is\n the document by which it happened""";\n s:range doc:Work.\nTerminalState a s:Class;\n s:subClassOf State;\n s:label "terminal state";\n s:comment """A state from which there are no transitions.""".\n\nNonTerminalState a s:Class;\n s:label "non-terminal state";\n owl:disjointWith TerminalState;\n s:comment """A state from which there are transitions.""".\n\n######################################################\n\n#ends\n'},function(e,t){e.exports='\n# Ontology for user interface hints and forms\n#\n# See also related: the Fresnel language\n#\n@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#>.\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix r: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix s: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix tt: <http://dig.csail.mit.edu/2010/issues/track#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix : <http://www.w3.org/ns/ui#>.\n@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.\n\n@keywords is, of, a.\n\n<> dc:title "An ontology for User Interface description, Hints and Forms.";\n dc:description """The User Interface ontology allows the definition\n of forms for processing RDF model data, and include a bootstrap form for\n editing forms. It allows user interface hints such as background colors,\n can be associated with objects and classes.\n """;\n dc:created 2010-08-07;\n dc:license <https://creativecommons.org/publicdomain/zero/1.0/>;\n dc:modified """$Date: 2020/03/22 16:53:21 $""";\n dc:author <https://www.w3.org/People/Berners-Lee/card#i>.\n\nstyle a r:Property, owl:DatatypeProperty;\n s:label "style";\n prompt "CSS style";\n s:comment """Must be a valid CSS style string such as one could put in\n an HTML style attribute. Depending on the user interface system, this can\n by given to individuals, classes or properties. It is up to a user interface\n which wants to draw on them to pick how it uses styles from which parts\n of the data it has. For example, the style of a class may be picked\n to distinguish information about things in that class.""".\n\nbackgroundColor a r:Property, owl:DatatypeProperty;\n s:label "background color"@en;\n s:range ui:Color;\n s:comment """Must be a valid CSS color string such as one could put in\n an HTML style attribute. This should be in the #xxxxxx form,\n (with 6 digits of hex) so that it\n can work with Graphviz.""".\n\nbackgroundImage a r:Property, owl:DatatypeProperty;\n s:label "background image"@en;\n s:comment """URI or base64 representation of an image""".\n\ncolor a r:Property, owl:DatatypeProperty;\n s:label "color"@en;\n s:range ui:Color;\n s:comment """Must be a valid CSS color string such as one could put in\n an HTML style attribute. This should be in the #xxxxxx form,\n (with 6 digits of hex) so that it\n can work with Graphviz.""".\n\n\n\nsortPriority a r:Property, owl:DatatypeProperty;\n s:label "sort priority";\n s:range xsd:integer;\n s:comment """When individuals or classes must be sorted, then\n if they are given different values of sortPriority a user agent can\n use this as a hint to how to present information.""".\n\nsortBy a r:Property;\n s:label "sort by";\n s:domain s:Class;\n s:range r:Property;\n s:comment """A property which typically is used to sort\n members of a given class.""".\n\nseqeunce a r:Property;\n s:label "sequence number";\n s:range xsd:integer;\n s:comment """The sequence in which this item is arranged with repect to other parts.""".\n\ninitialProperties a r:Property;\n s:label "initial properties";\n s:domain s:Class;\n s:range r:List; # List of r:Property\n s:comment """A really simple way of enabling user interfaces to\n create new information about a class of things is to make a define of properties\n to be specified when a information about a new item\n ("New item" here means an item which the system\n does not have prvious information about yet,\n not an items which has just been created,\n like new friend as opposed to new baby)""";\n prompt "Properties to be specified for new ones".\n\ntableProperties a r:Property;\n s:domain s:Class;\n s:label "table properties";\n s:range r:List; # List of r:Property\n s:comment """This is a crude way of specifying a table-based\n view for objects of this class.""";\n prompt "Properties to be given in a default table view".\n\nprompt a r:Property;\n s:label "user prompt";\n s:comment """A string for the UI to use if the user needs a longer\n prompts than just a field name, the rdfs:label. """;\n ui:prompt "A longer prompt for a user inputting this property".\n\n\n# A Taxonomy of Field types\n\nui:Form owl:disjointUnionOf ( ui:ValueField ui:Group ui:Choice ui:Classifier ui:Options ui:Multiple ui:Heading ui:Comment);\n s:comment """A form can be any type of single field, or typically a Group of several fields,\n including interspersed headings and comments. """.\nui:Single owl:disjointUnionOf ( ui:ValueField ui:Group ui:Choice ui:Classifier ui:Options ui:Heading ui:Comment).\nui:ValueField owl:disjointUnionOf ( ui:TextField ui:NumericField ui:ColorField ui:DateField ui:DateTimeField ui:PhoneField ui:EmailField).\nui:NumericField owl:disjointUnionOf (ui:BooleanField ui:TriStateField ui:IntegerField ui:DecimalField ui:FloatField).\n# ui:Multiple owl:disjointUnionOf ( ui:ZeroOrMore ui:OneOrMore ).\nui:TextField owl:disjointUnionOf (ui:SingleLineTextField ui:MultiLineTextField).\n\nui:Form a s:Class; is s:subClassOf of ui:ValueField, ui:Group, ui:Choice, ui:Heading, ui:Comment, ui:Classifier, ui:Options, ui:Multiple.\nui:Single a s:Class; is s:subClassOf of ui:ValueField, ui:Group, ui:Choice, ui:Heading, ui:Comment, ui:Classifier, ui:Options.\nui:ValueField a s:Class; is s:subClassOf of ui:TextField, ui:NumericField, ui:ColorField, ui:DateField, ui:DateTimeField, ui:PhoneField, ui:EmailField.\nui:NumericField a s:Class; is s:subClassOf of ui:BooleanField, ui:TriStateField, ui:IntegerField, ui:DecimalField, ui:FloatField.\nui:TextField a s:Class; is s:subClassOf of ui:SingleLineTextField, ui:MultiLineTextField.\n\nui:Classifier a s:Class; s:label "classifier";\n s:comment """A classifier allows the user to select the type of an object.\n The possible types must be subclasses of some overall class, the "category".\n (Ideally, the superclass is also set up as the disjoint union of the subclasses,\n if they are disjoint.)\n\n The form normally stores the resulting classes using an rdf:type triple,\n but a different predicate can be used if required, so the classifier field\n needs is \'property\' defined too.\n\n If the subclass selected itself is has subclasses defined, the user can\n recursively select from them in turn, as many levels as needed.""".\n\nui:property a r:Property; s:domain ui:Form; s:range r:Property;\n s:label "property to be stored"@en;\n s:comment """Many fields prompt for information about a given property of the subject.\n When field is filled in, this gives which property is written into the data.""".\n\nui:category a r:Property; s:domain ui:Classifier; s:range s:Class;\n s:label "overall superclass"@en;\n s:comment """The superclass subclasses of which will be selected.""".\n\nui:dependingOn a r:Property; s:domain ui:Options; s:range r:Property;\n s:label "depending on"@en;\n s:comment """Many fields prompt for information about a given property of the subject""".\n\nui:for a r:Property; s:label "for"@en; s:comment "The value for which this case is selected.".\nui:use a r:Property; s:range ui:Form.\n\nui:part a r:Property; s:label "part"@en ; s:domain ui:Form; s:range ui:Form. # Used for Multiple field - the subform for each item\nui:parts a r:Property; s:label "parts"@en ; s:domain ui:Form; s:range r:Collection. # (of Forms) The ordered set of fields in a group\nui:ordered e r:Property; s:label "ordered"; s:range xsd:Boolean . # Could be useful for all kinds of things in future so not restricted to Multiple\n\nui:from a r:Property; s:domain ui:Choice; s:range r:Class;\n s:label "from"; ui:prompt "from what class".\n\nui:size a r:Property; s:domain ui:ValueField; s:range xsd:integer;\n s:label "size of field";\n ui:prompt "size of field in characters".\n\nui:maxLength a r:Property; s:domain ui:TextField; s:range xsd:integer;\n s:label "max length of value".\n\nui:minValue a r:Property; s:domain ui:ValueField; s:label "min". # @@ range?\nui:maxValue a r:Property; s:domain ui:ValueField; s:label "max".\n\n ui:creationForm a r:Property; s:domain s:Class; s:range ui:Form;\n s:label "creation form";\n s:comment """A form which may be used to collect information about a\n hitherto locally undocumented instance instance of this class.""".\n\n ui:annotationForm a r:Property; s:domain s:Class; s:range ui:Form;\n s:label "annotation form";\n s:comment """A form which may be used to add more infromation to an\ninstance of this class which we know something about. Anything from\nadding just add one more fact, to adding a whole lot of information about a specific\nfacet of the thing.\n""".\n\n\n#############################################\n#\n# Form for editing Forms\n#\n\nFormForm a ui:Form;\n dc:title "Form for editing Forms";\n is ui:creationForm of Form;\n a ui:Group; ui:parts (FF1 FF2 FF3 FieldList) .\n\n FF1 ui:sequence 1; a ui:Heading; ui:contents "Edit Form"@en .\n FF2 ui:sequence 2; a ui:SingleLineTextField; ui:property dc:title; ui:size 60 .\n FF3 ui:sequence 3; a ui:Comment; ui:contents\n """To add a field to the form, press the plus at the bottom,\n and then select what sort of field you want."""@en; ui:style "background-color: #ffe;" .\n\n FieldList ui:sequence 10; a ui:Multiple; ui:ordered true; ui:property ui:parts; ui:part FieldForm .\n\nFieldForm a ui:Group;\n dc:title "Form for selecting a type of field";\n ui:parts (\n\n [ ui:sequence 1; a ui:Classifier; ui:property r:type; ui:category ui:Form]\n\n [ a ui:Options; ui:sequence 2; ui:dependingOn r:type;\n\n ui:case [ ui:for ui:TextField; ui:use [a ui:Group; ui:parts (\n [ a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty] # @@@ Needs inference on current web\n [ a ui:IntegerField; ui:property ui:size; ui:label "field size"; ui:min 1; ui:max 4096]\n [ a ui:IntegerField; ui:property ui:maxLength; ui:label "Max. length of string"; ui:min 1]\n )]];\n\n ui:case [ ui:for ui:IntegerField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:IntegerField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:IntegerField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:DecimalField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DecimalField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:DecimalField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:FloatField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:FloatField; ui:property ui:min; ui:label "minimum value"]\n [ ui:sequence 3; a ui:FloatField; ui:property ui:max; ui:label "maximum value"] ) ]];\n\n ui:case [ ui:for ui:ColorField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty] )\n ]];\n\n ui:case [ ui:for ui:DateField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DateField; ui:property ui:min; ui:label "min"]\n [ ui:sequence 3; a ui:DateField; ui:property ui:max ; ui:label "max"]\n ) ]];\n\n ui:case [ ui:for ui:DateTimeField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:DatatypeProperty]\n [ ui:sequence 2; a ui:DateTimeField; ui:property ui:min; ui:label "min"]\n [ ui:sequence 3; a ui:DateTimeField; ui:property ui:max ; ui:label "max"]\n ) ]];\n\n ui:case [ ui:for ui:EmailField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:ObjectProperty]\n ) ]];\n\n ui:case [ ui:for ui:PhoneField; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from owl:ObjectProperty]\n )]];\n\n ui:case [ ui:for ui:Group; ui:use FieldList];\n\n ui:case [ ui:for ui:Options; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:dependingOn; ui:label "depending on"; ui:from r:Property; ui:default r:type]\n [ ui:sequence 2; a ui:Multiple; ui:property ui:case; ui:part CaseForm]\n ) ]];\n\n ui:case [ ui:for ui:Choice; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property";\n ui:canMintNew true; ui:from owl:ObjectProperty]\n [ ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:from; ui:label "destination class";\n ui:from s:Class; ui:canMintNew true; ]\n [ ui:sequence 3; a ui:BooleanField; ui:property ui:canMintNew; # No class form yet\n ui:label "user can add new"]\n [ ui:sequence 4; a ui:Choice; ui:canMintNew true; ui:property ui:use; ui:label "Nested Form (if any)";\n ui:from ui:Form; ui:optional true; ui:use FormForm] # @@ optional\n\n ) ]];\n\n ui:case [ ui:for ui:Classifier; ui:use [a ui:Group; ui:parts (\n [ ui:sequence 2; a ui:Comment; ui:contents """A classifier allows the user to which classes the item belongs to, given a common superclass of the allowed classes. Give the superclass here:""" ]\n\n [ ui:sequence 4; a ui:Choice; ui:canMintNew true; ui:property ui:category; ui:label "superclass"; ui:from s:Class]\n\n [ ui:sequence 6; a ui:Comment; ui:contents """(When the choice is made normally the item is given a rdf:type. Set this to rdf:type unless you want the form to set a different property.)""" ]\n\n [ ui:sequence 8; a ui:Choice; ui:canMintNew true; ui:property ui:property;\n ui:label "property"; ui:from owl:ObjectProperty; ui:default r:type] # @@ restriction\n\n ) ]];\n\n ui:case [ ui:for ui:Multiple; ui:use [a ui:Group; ui:parts (\n [ui:sequence 0; a ui:BooleanField; ui:property ui:ordered; ui:label "ordered"] # If this an ordered array or an unordered set?\n [ui:sequence 0; a ui:IntegerField; ui:property ui:min; ui:label "minimum number"] # If this an ordered array or an unordered set?\n [ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:property; ui:label "property"; ui:from r:Property]\n [ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:part; ui:from ui:Form; ui:use FieldForm] # Form for details of the field part of the multiple\n ) ]];\n\n ui:case [ ui:for ui:Heading; ui:use [a ui:SingleLineTextField; ui:property ui:contents]];\n\n ui:case [ ui:for ui:Comment; ui:use [a ui:MultiLineTextField; ui:property ui:contents]]\n ]).\n\n\nCaseForm a ui:Group;\n dc:title "Form for a conditional case in a form";\n ui:parts (\n [ ui:sequence 1; a ui:Choice; ui:canMintNew true; ui:property ui:for; ui:label "when it is"; ui:canMintNew true; ui:from s:Class]\n [ui:sequence 2; a ui:Choice; ui:canMintNew true; ui:property ui:use; ui:from ui:Form; ui:canMintNew true; ui:use FieldForm] ). # Form for details of the field part of the multiple\n\n# ENDS\n'},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};t.__esModule=!0,t.renderAutoComplete=void 0;var a=n(0),o=n(159),s=a.store;t.renderAutoComplete=function(e,t,n){return r(this,void 0,void 0,(function(){function u(e,t){console.log("Auto complete: finish! "+e),n(e,t)}function l(e,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){return t.acceptButton?(t.acceptButton.disabled=!1,A.value=n,k=n,E=e,console.log("Auto complete: name: "+n),console.log("Auto complete: waiting for accept "+e),[2]):(u(e,n),[2])}))}))}function c(e){return r(this,void 0,void 0,(function(){return i(this,(function(e){return A.value===k?u(E,k):t.acceptButton.disabled=!0,[2]}))}))}function d(e,t){for(var n=e.split(" "),r=0;r<n.length;r++){var i=n[r];if(t.toLowerCase().indexOf(i)<0)return!1}return!0}function p(){for(;C.children.length>1;)C.removeChild(C.lastChild)}function f(e){return r(this,void 0,void 0,(function(){return i(this,(function(e){return g&&clearTimeout(g),setTimeout(h,300),[2]}))}))}function h(){return r(this,void 0,void 0,(function(){var n,u,c,f,h,g,x=this;return i(this,(function(k){switch(k.label){case 0:return v?(console.log('Ignoring "'.concat(A.value,'" because of lock ')),[2]):(v=!0,[4,(0,o.getPreferredLanguages)()]);case 1:return n=k.sent(),(u=A.value.trim().toLowerCase()).length<4?(p(),!1,w=20,[3,7]):[3,2];case 2:if(y&&b&&u.startsWith(b))return function(e){for(var t=0,n=null,r="",i=C.children.length-1;i>0;i--){var a=C.children[i];d(e,a.textContent)?(t+=1,n=a.getAttribute("subject"),r=a.textContent,a.style.display="",a.style.color="blue"):a.style.display="none"}1==t&&(console.log(' auto complete elimination: "'.concat(e,'" -> "').concat(r,'"')),l(s.sym(n),r))}(u),v=!1,[2];k.label=3;case 3:return k.trys.push([3,5,,6]),[4,(0,o.queryPublicDataByName)(u,m,t.queryParams)];case 4:return c=k.sent(),[3,6];case 5:return f=k.sent(),E="Error querying db of organizations: "+f,_=C.appendChild(e.createElement("tr")),console.log(E),_.appendChild(a.widgets.errorMessageBlock(e,E,"pink")),a.style.setStyle(_,"autocompleteRowStyle"),_.style.padding="1em",v=!1,[2];case 6:!0,h=c.length<o.AUTOCOMPLETE_LIMIT,b=h?u:null,p(),g=(0,o.filterByLanguage)(c,n),h&&g.length<=40&&(w=g.length),y=h&&g.length<=w,console.log(' Filter:"'.concat(u,'" bindings: ').concat(c.length,", slimmed to ").concat(g.length,"; rows: ").concat(w,", Enough? ").concat(h,", All displayed? ").concat(y)),g.slice(0,w).forEach((function(t){var n=C.appendChild(e.createElement("tr"));a.style.setStyle(n,"autocompleteRowStyle");var o=t.subject.value,u=t.name.value;n.setAttribute("style","padding: 0.3em;"),n.setAttribute("subject",o),n.style.color=y?"#080":"#000",n.textContent=u,n.addEventListener("click",(function(e){return r(x,void 0,void 0,(function(){return i(this,(function(e){return console.log(" click row textContent: "+n.textContent),console.log(" click name: "+u),l(s.sym(o),u),[2]}))}))}))})),k.label=7;case 7:return v=!1,[2]}var E,_}))}))}var m,g,v,y,b,w,x,k,E,C,_,S,A,T;return i(this,(function(n){return t.queryParams,m=t.class,t.acceptButton&&t.acceptButton.addEventListener("click",c,!1),t.cancelButton,!1,g=null,v=!1,y=!1,b=null,w=20,x=e.createElement("div"),k=null,E=null,(C=x.appendChild(e.createElement("table"))).setAttribute("style","max-width: 30em; margin: 0.5em;"),_=C.appendChild(e.createElement("tr")),a.style.setStyle(_,"autocompleteRowStyle"),S=_.appendChild(e.createElement("td")),(A=S.appendChild(e.createElement("input"))).setAttribute("type","text"),T=a.style.searchInputStyle||"border: 0.1em solid #444; border-radius: 0.5em; width: 100%; font-size: 100%; padding: 0.1em 0.6em",A.setAttribute("style",T),A.addEventListener("keyup",(function(e){13===e.keyCode&&c()}),!1),A.addEventListener("input",f),[2,x]}))}))}},function(e,t){e.exports='\nprefix vcard: <http://www.w3.org/2006/vcard/ns#>\nCONSTRUCT\n{ wd:Q49108 vcard:fn ?itemLabel.\nwd:Q49108 rdf:type ?klass. ?klass rdfs:label ?klassLabel; rdfs:comment ?klassDescription .\nwd:Q49108 schema:logo ?logo;\n schema:image ?image;\n schema:logo ?sealImage;\n schema:subOrganization ?subsidiary .\n ?subsidiary rdfs:label ?subsidiaryLabel .\n ?supersidiary schema:subOrganization wd:Q49108 .\n ?supersidiary rdfs:label ?supersidiaryLabel .\n wd:Q49108 schema:location ?location .\n ?location schema:elevation ?elevation .\n ?location wdt:P131 ?region . ?region rdfs:label ?regionLabel .\n ?location wdt:P625 ?coordinates .\n ?location schema:country ?country . ?country rdfs:label ?countryLabel .\n}\nWHERE\n{ optional {wd:Q49108 rdfs:label ?itemLabel} .\n optional {wd:Q49108 wdt:P154 ?logo .}\n optional {wd:Q49108 wdt:P31 ?klass .}\n optional {wd:Q49108 wdt:P158 ?sealImage .}\n optional {wd:Q49108 wdt:P18 ?image .}\n\n optional { wd:Q49108 wdt:P355 ?subsidiary . }\n optional { ?supersidiary wdt:P355 wd:Q49108. }\n\n optional { wd:Q49108 wdt:P276 ?location .\n\n optional { ?location schema:eleveation ?elevation }\n optional { ?location wdt:P131 ?region }\n optional { ?location wdt:P625 ?coordinates }\n optional { ?location wdt:P17 ?country }\n }\n SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en,de,it". }\n}\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),i=n(0),a=n(317),o=n(322),s={global:!1,icon:i.icons.iconBase+"noun_15695.svg",name:"activitystreams",label:function(e,t){return t.session.store.findTypeURIs(e)[i.ns.as("Note").uri]?"Note":null},render:function(e,t){return(0,a.createElement)(r.createElement(o.Pane,{subject:e,context:t}))}};t.default=s},function(e,t,n){"use strict";
141
141
  /** @license React v17.0.2
142
142
  * react.production.min.js
143
143
  *
@@ -190,5 +190,5 @@ const{H:a}=r._$LH,o=(e,t)=>{var n,r;const i=e._$AN;if(void 0===i)return!1;for(co
190
190
  * @license
191
191
  * Copyright 2017 Google LLC
192
192
  * SPDX-License-Identifier: BSD-3-Clause
193
- */class m extends p{constructor(){super(...arguments),this._$CG=new f(this),this._$CK=new h}render(e,t){return r.noChange}update(e,[t,n]){if(this.isConnected||this.disconnected(),t===this._$CJ)return;this._$CJ=t;let i=0;const{_$CG:a,_$CK:o}=this;return(async(e,t)=>{for await(const n of e)if(!1===await t(n))return})(t,async e=>{for(;o.get();)await o.get();const r=a.deref();if(void 0!==r){if(r._$CJ!==t)return!1;void 0!==n&&(e=n(e,i)),r.commitValue(e,i),i++}return!0}),r.noChange}commitValue(e,t){this.setValue(e)}disconnected(){this._$CG.disconnect(),this._$CK.pause()}reconnected(){this._$CG.reconnect(this),this._$CK.resume()}}const g=Object(i.c)(m)},function(e,t,n){"use strict";n.r(t),n.d(t,"versionInfo",(function(){return s}));var r=n(4),i=n(63),a=n(78),o=n(0),s={buildTime:"2022-01-29T08:27:29Z",commit:"276e51de4e74a2af05c93703391d461c3bdc82f2",npmInfo:{mashlib:"1.7.17",npm:"6.14.13",ares:"1.17.1",brotli:"1.0.9",cldr:"39.0",icu:"69.1",llhttp:"2.1.3",modules:"83",napi:"8",nghttp2:"1.42.0",node:"14.17.3",openssl:"1.1.1k",tz:"2021a",unicode:"13.0",uv:"1.41.0",v8:"8.4.371.23-node.67",zlib:"1.2.11"}},u=window;u.$rdf=r,u.panes=a,u.mashlib={versionInfo:s},u.panes.runDataBrowser=function(e){i.a.crossSiteProxyTemplate=window.origin+"/xss/?uri={uri}";try{var t=document.createElement("meta");t.setAttribute("name","monetization"),t.setAttribute("content","$".concat(window.location.host)),document.head.appendChild(t)}catch(e){console.error("Failed to add web monetization tag to page header")}o.authn.checkUser().then((function(t){return a.initMainPage(o.store,e)}))},void 0===u.require&&(u.require=function(e){if("mashlib"===e)return console.warn("Warning: mashlib's custom implementation of `require` will be deprecated in the future. Please import mashlib using a build-time bundler, or access the global `panes` variable when including it as a script."),a;throw new Error("Cannot require (this is a Mashlib-specific require stub)")}),window.onpopstate=function(e){u.document.outline.GotoSubject(r.sym(window.document.location.href),!0,void 0,!0,void 0)},u.dump=function(e){console.log(e.slice(0,-1))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(165),i=n(71),a=n(39);let o=0;class s{constructor(e){this._contextStack=[],this._graph=null,e=e||{},this._setBase(e.baseIRI),e.factory&&l(this,e.factory);const t="string"==typeof e.format?e.format.match(/\w*$/)[0].toLowerCase():"",n=/turtle/.test(t),i=/trig/.test(t),a=/triple/.test(t),o=/quad/.test(t),s=this._n3Mode=/n3/.test(t),u=a||o;(this._supportsNamedGraphs=!(n||s))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(n||i||a||s),this._supportsRDFStar=""===t||/star|\*$/.test(t),u&&(this._resolveRelativeIRI=e=>null),this._blankNodePrefix="string"!=typeof e.blankNodePrefix?"":e.blankNodePrefix.replace(/^(?!_:)/,"_:"),this._lexer=e.lexer||new r.a({lineMode:u,n3:s}),this._explicitQuantifiers=!!e.explicitQuantifiers}static _resetBlankNodePrefix(){o=0}_setBase(e){if(e){const t=e.indexOf("#");t>=0&&(e=e.substr(0,t)),this._base=e,this._basePath=e.indexOf("/")<0?e:e.replace(/[^\/?]*(?:\?.*)?$/,""),e=e.match(/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i),this._baseRoot=e[0],this._baseScheme=e[1]}else this._base="",this._basePath=""}_saveContext(e,t,n,r,i){const a=this._n3Mode;this._contextStack.push({subject:n,predicate:r,object:i,graph:t,type:e,inverse:!!a&&this._inversePredicate,blankPrefix:a?this._prefixes._:"",quantified:a?this._quantified:null}),a&&(this._inversePredicate=!1,this._prefixes._=this._graph?this._graph.id.substr(2)+".":".",this._quantified=Object.create(this._quantified))}_restoreContext(){const e=this._contextStack.pop(),t=this._n3Mode;this._subject=e.subject,this._predicate=e.predicate,this._object=e.object,this._graph=e.graph,t&&(this._inversePredicate=e.inverse,this._prefixes._=e.blankPrefix,this._quantified=e.quantified)}_readInTopContext(e){switch(e.type){case"eof":return null!==this._graph?this._error("Unclosed graph",e):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(e)}}_readEntity(e,t){let n;switch(e.type){case"IRI":case"typeIRI":const t=this._resolveIRI(e.value);if(null===t)return this._error("Invalid IRI",e);n=this._namedNode(t);break;case"type":case"prefixed":const r=this._prefixes[e.prefix];if(void 0===r)return this._error(`Undefined prefix "${e.prefix}:"`,e);n=this._namedNode(r+e.value);break;case"blank":n=this._blankNode(this._prefixes[e.prefix]+e.value);break;case"var":n=this._variable(e.value.substr(1));break;default:return this._error("Expected entity but got "+e.type,e)}return!t&&this._n3Mode&&n.id in this._quantified&&(n=this._quantified[n.id]),n}_readSubject(e){switch(this._predicate=null,e.type){case"[":return this._saveContext("blank",this._graph,this._subject=this._blankNode(),null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this.RDF_NIL,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph=this._blankNode(),null,null),this._readSubject):this._error("Unexpected graph",e);case"}":return this._readPunctuation(e);case"@forSome":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORSOME,this._quantifier=this._blankNode,this._readQuantifierList):this._error('Unexpected "@forSome"',e);case"@forAll":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORALL,this._quantifier=this._variable,this._readQuantifierList):this._error('Unexpected "@forAll"',e);case"literal":if(!this._n3Mode)return this._error("Unexpected literal",e);if(0===e.prefix.length)return this._literalValue=e.value,this._completeSubjectLiteral;this._subject=this._literal(e.value,this._namedNode(e.prefix));break;case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,null,null,null),this._graph=null,this._readSubject):this._error("Unexpected RDF* syntax",e);default:if(void 0===(this._subject=this._readEntity(e)))return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph}_readPredicate(e){const t=e.type;switch(t){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=this.ABBREVIATIONS[e.value];break;case".":case"]":case"}":return null===this._predicate?this._error("Unexpected "+t,e):(this._subject=null,"]"===t?this._readBlankNodeTail(e):this._readPunctuation(e));case";":return null!==this._predicate?this._readPredicate:this._error("Expected predicate but got ;",e);case"[":if(this._n3Mode)return this._saveContext("blank",this._graph,this._subject,this._subject=this._blankNode(),null),this._readBlankNodeHead;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",e);default:if(void 0===(this._predicate=this._readEntity(e)))return}return this._readObject}_readObject(e){switch(e.type){case"literal":if(0===e.prefix.length)return this._literalValue=e.value,this._readDataTypeOrLang;this._object=this._literal(e.value,this._namedNode(e.prefix));break;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject=this._blankNode()),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,this.RDF_NIL),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._blankNode()),this._readSubject):this._error("Unexpected graph",e);case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,this._subject,this._predicate,null),this._graph=null,this._readSubject):this._error("Unexpected RDF* syntax",e);default:if(void 0===(this._object=this._readEntity(e)))return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()}_readPredicateOrNamedGraph(e){return"{"===e.type?this._readGraph(e):this._readPredicate(e)}_readGraph(e){return"{"!==e.type?this._error("Expected graph but got "+e.type,e):(this._graph=this._subject,this._subject=null,this._readSubject)}_readBlankNodeHead(e){return"]"===e.type?(this._subject=null,this._readBlankNodeTail(e)):(this._predicate=null,this._readPredicate(e))}_readBlankNodeTail(e){if("]"!==e.type)return this._readBlankNodePunctuation(e);null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph);const t=null===this._predicate;return this._restoreContext(),null!==this._object?this._getContextEndReader():null!==this._predicate?this._readObject:t?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank}_readPredicateAfterBlank(e){switch(e.type){case".":case"}":return this._subject=null,this._readPunctuation(e);default:return this._readPredicate(e)}}_readListItem(e){let t=null,n=null,r=this._readListItem;const i=this._subject,a=this._contextStack,o=a[a.length-1];switch(e.type){case"[":this._saveContext("blank",this._graph,n=this._blankNode(),this.RDF_FIRST,this._subject=t=this._blankNode()),r=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,n=this._blankNode(),this.RDF_FIRST,this.RDF_NIL),this._subject=null;break;case")":if(this._restoreContext(),0!==a.length&&"list"===a[a.length-1].type&&this._emit(this._subject,this._predicate,this._object,this._graph),null===this._predicate){if(r=this._readPredicate,this._subject===this.RDF_NIL)return r}else if(r=this._getContextEndReader(),this._object===this.RDF_NIL)return r;n=this.RDF_NIL;break;case"literal":0===e.prefix.length?(this._literalValue=e.value,r=this._readListItemDataTypeOrLang):(t=this._literal(e.value,this._namedNode(e.prefix)),r=this._getContextEndReader());break;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._blankNode()),this._readSubject):this._error("Unexpected graph",e);default:if(void 0===(t=this._readEntity(e)))return}if(null===n&&(this._subject=n=this._blankNode()),null===i?null===o.predicate?o.subject=n:o.object=n:this._emit(i,this.RDF_REST,n,this._graph),null!==t){if(this._n3Mode&&("IRI"===e.type||"prefixed"===e.type))return this._saveContext("item",this._graph,n,this.RDF_FIRST,t),this._subject=t,this._predicate=null,this._getPathReader(this._readListItem);this._emit(n,this.RDF_FIRST,t,this._graph)}return r}_readDataTypeOrLang(e){return this._completeObjectLiteral(e,!1)}_readListItemDataTypeOrLang(e){return this._completeObjectLiteral(e,!0)}_completeLiteral(e){let t=this._literal(this._literalValue);switch(e.type){case"type":case"typeIRI":const n=this._readEntity(e);if(void 0===n)return;t=this._literal(this._literalValue,n),e=null;break;case"langcode":t=this._literal(this._literalValue,e.value),e=null}return{token:e,literal:t}}_completeSubjectLiteral(e){return this._subject=this._completeLiteral(e).literal,this._readPredicateOrNamedGraph}_completeObjectLiteral(e,t){const n=this._completeLiteral(e);if(n)return this._object=n.literal,t&&this._emit(this._subject,this.RDF_FIRST,this._object,this._graph),null===n.token?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(n.token))}_readFormulaTail(e){return"}"!==e.type?this._readPunctuation(e):(null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph),this._restoreContext(),null===this._object?this._readPredicate:this._getContextEndReader())}_readPunctuation(e){let t,n=this._graph;const r=this._subject,i=this._inversePredicate;switch(e.type){case"}":if(null===this._graph)return this._error("Unexpected graph closing",e);if(this._n3Mode)return this._readFormulaTail(e);this._graph=null;case".":this._subject=null,t=this._contextStack.length?this._readSubject:this._readInTopContext,i&&(this._inversePredicate=!1);break;case";":t=this._readPredicate;break;case",":t=this._readObject;break;default:if(this._supportsQuads&&null===this._graph&&void 0!==(n=this._readEntity(e))){t=this._readQuadPunctuation;break}return this._error(`Expected punctuation to follow "${this._object.id}"`,e)}if(null!==r){const e=this._predicate,t=this._object;i?this._emit(t,e,r,n):this._emit(r,e,t,n)}return t}_readBlankNodePunctuation(e){let t;switch(e.type){case";":t=this._readPredicate;break;case",":t=this._readObject;break;default:return this._error(`Expected punctuation to follow "${this._object.id}"`,e)}return this._emit(this._subject,this._predicate,this._object,this._graph),t}_readQuadPunctuation(e){return"."!==e.type?this._error("Expected dot to follow quad",e):this._readInTopContext}_readPrefix(e){return"prefix"!==e.type?this._error("Expected prefix to follow @prefix",e):(this._prefix=e.value,this._readPrefixIRI)}_readPrefixIRI(e){if("IRI"!==e.type)return this._error(`Expected IRI to follow prefix "${this._prefix}:"`,e);const t=this._readEntity(e);return this._prefixes[this._prefix]=t.value,this._prefixCallback(this._prefix,t),this._readDeclarationPunctuation}_readBaseIRI(e){const t="IRI"===e.type&&this._resolveIRI(e.value);return t?(this._setBase(t),this._readDeclarationPunctuation):this._error("Expected valid IRI to follow base declaration",e)}_readNamedGraphLabel(e){switch(e.type){case"IRI":case"blank":case"prefixed":return this._readSubject(e),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",e)}}_readNamedGraphBlankLabel(e){return"]"!==e.type?this._error("Invalid graph label",e):(this._subject=this._blankNode(),this._readGraph)}_readDeclarationPunctuation(e){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(e)):"."!==e.type?this._error("Expected declaration to end with a dot",e):this._readInTopContext}_readQuantifierList(e){let t;switch(e.type){case"IRI":case"prefixed":if(void 0!==(t=this._readEntity(e,!0)))break;default:return this._error("Unexpected "+e.type,e)}return this._explicitQuantifiers?(null===this._subject?this._emit(this._graph||this.DEFAULTGRAPH,this._predicate,this._subject=this._blankNode(),this.QUANTIFIERS_GRAPH):this._emit(this._subject,this.RDF_REST,this._subject=this._blankNode(),this.QUANTIFIERS_GRAPH),this._emit(this._subject,this.RDF_FIRST,t,this.QUANTIFIERS_GRAPH)):this._quantified[t.id]=this._quantifier(this._blankNode().value),this._readQuantifierPunctuation}_readQuantifierPunctuation(e){return","===e.type?this._readQuantifierList:(this._explicitQuantifiers&&(this._emit(this._subject,this.RDF_REST,this.RDF_NIL,this.QUANTIFIERS_GRAPH),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(e))}_getPathReader(e){return this._afterPath=e,this._readPath}_readPath(e){switch(e.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:const t=this._contextStack,n=t.length&&t[t.length-1];if(n&&"item"===n.type){const e=this._subject;this._restoreContext(),this._emit(this._subject,this.RDF_FIRST,e,this._graph)}return this._afterPath(e)}}_readForwardPath(e){let t,n;const r=this._blankNode();if(void 0!==(n=this._readEntity(e)))return null===this._predicate?(t=this._subject,this._subject=r):(t=this._object,this._object=r),this._emit(t,n,r,this._graph),this._readPath}_readBackwardPath(e){const t=this._blankNode();let n,r;if(void 0!==(n=this._readEntity(e)))return null===this._predicate?(r=this._subject,this._subject=t):(r=this._object,this._object=t),this._emit(t,n,r,this._graph),this._readPath}_readRDFStarTailOrGraph(e){return">>"!==e.type?this._supportsQuads&&null===this._graph&&void 0!==(this._graph=this._readEntity(e))?this._readRDFStarTail:this._error(`Expected >> to follow "${this._object.id}"`,e):this._readRDFStarTail(e)}_readRDFStarTail(e){if(">>"!==e.type)return this._error("Expected >> but got "+e.type,e);const t=this._quad(this._subject,this._predicate,this._object,this._graph||this.DEFAULTGRAPH);return this._restoreContext(),null===this._subject?(this._subject=t,this._readPredicate):(this._object=t,this._getContextEndReader())}_getContextEndReader(){const e=this._contextStack;if(!e.length)return this._readPunctuation;switch(e[e.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail;case"<<":return this._readRDFStarTailOrGraph}}_emit(e,t,n,r){this._callback(null,this._quad(e,t,n,r||this.DEFAULTGRAPH))}_error(e,t){const n=new Error(`${e} on line ${t.line}.`);n.context={token:t,line:t.line,previousToken:this._lexer.previousToken},this._callback(n),this._callback=u}_resolveIRI(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)?e:this._resolveRelativeIRI(e)}_resolveRelativeIRI(e){if(!e.length)return this._base;switch(e[0]){case"#":return this._base+e;case"?":return this._base.replace(/(?:\?.*)?$/,e);case"/":return("/"===e[1]?this._baseScheme:this._baseRoot)+this._removeDotSegments(e);default:return/^[^/:]*:/.test(e)?null:this._removeDotSegments(this._basePath+e)}}_removeDotSegments(e){if(!/(^|\/)\.\.?($|[/#?])/.test(e))return e;const t=e.length;let n="",r=-1,i=-1,a=0,o="/";for(;r<t;){switch(o){case":":if(i<0&&"/"===e[++r]&&"/"===e[++r])for(;(i=r+1)<t&&"/"!==e[i];)r=i;break;case"?":case"#":r=t;break;case"/":if("."===e[r+1])switch(o=e[1+ ++r],o){case"/":n+=e.substring(a,r-1),a=r+1;break;case void 0:case"?":case"#":return n+e.substring(a,r)+e.substr(r+1);case".":if(o=e[1+ ++r],void 0===o||"/"===o||"?"===o||"#"===o){if(n+=e.substring(a,r-2),(a=n.lastIndexOf("/"))>=i&&(n=n.substr(0,a)),"/"!==o)return`${n}/${e.substr(r+1)}`;a=r+1}}}o=e[++r]}return n+e.substring(a)}parse(e,t,n){if(this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix?this._blankNodePrefix.substr(2):`b${o++}_`,this._prefixCallback=n||u,this._inversePredicate=!1,this._quantified=Object.create(null),!t){const t=[];let n;if(this._callback=(e,r)=>{e?n=e:r&&t.push(r)},this._lexer.tokenize(e).every(e=>this._readCallback=this._readCallback(e)),n)throw n;return t}this._callback=t,this._lexer.tokenize(e,(e,t)=>{null!==e?(this._callback(e),this._callback=u):this._readCallback&&(this._readCallback=this._readCallback(t))})}}function u(){}function l(e,t){const n=t.namedNode;e._namedNode=n,e._blankNode=t.blankNode,e._literal=t.literal,e._variable=t.variable,e._quad=t.quad,e.DEFAULTGRAPH=t.defaultGraph(),e.RDF_FIRST=n(a.a.rdf.first),e.RDF_REST=n(a.a.rdf.rest),e.RDF_NIL=n(a.a.rdf.nil),e.N3_FORALL=n(a.a.r.forAll),e.N3_FORSOME=n(a.a.r.forSome),e.ABBREVIATIONS={a:n(a.a.rdf.type),"=":n(a.a.owl.sameAs),">":n(a.a.log.implies)},e.QUANTIFIERS_GRAPH=n("urn:n3:quantifiers")}l(s.prototype,i.b)}])}));
193
+ */class m extends p{constructor(){super(...arguments),this._$CG=new f(this),this._$CK=new h}render(e,t){return r.noChange}update(e,[t,n]){if(this.isConnected||this.disconnected(),t===this._$CJ)return;this._$CJ=t;let i=0;const{_$CG:a,_$CK:o}=this;return(async(e,t)=>{for await(const n of e)if(!1===await t(n))return})(t,async e=>{for(;o.get();)await o.get();const r=a.deref();if(void 0!==r){if(r._$CJ!==t)return!1;void 0!==n&&(e=n(e,i)),r.commitValue(e,i),i++}return!0}),r.noChange}commitValue(e,t){this.setValue(e)}disconnected(){this._$CG.disconnect(),this._$CK.pause()}reconnected(){this._$CG.reconnect(this),this._$CK.resume()}}const g=Object(i.c)(m)},function(e,t,n){"use strict";n.r(t),n.d(t,"versionInfo",(function(){return s}));var r=n(4),i=n(63),a=n(78),o=n(0),s={buildTime:"2022-02-09T22:01:15Z",commit:"9376b47580604186ad3e7a0e86746e548712a3e5",npmInfo:{mashlib:"1.7.20",npm:"6.14.13",ares:"1.17.1",brotli:"1.0.9",cldr:"39.0",icu:"69.1",llhttp:"2.1.3",modules:"83",napi:"8",nghttp2:"1.42.0",node:"14.17.3",openssl:"1.1.1k",tz:"2021a",unicode:"13.0",uv:"1.41.0",v8:"8.4.371.23-node.67",zlib:"1.2.11"}},u=window;u.$rdf=r,u.panes=a,u.mashlib={versionInfo:s},u.panes.runDataBrowser=function(e){i.a.crossSiteProxyTemplate=window.origin+"/xss/?uri={uri}";try{var t=document.createElement("meta");t.setAttribute("name","monetization"),t.setAttribute("content","$".concat(window.location.host)),document.head.appendChild(t)}catch(e){console.error("Failed to add web monetization tag to page header")}o.authn.checkUser().then((function(t){return a.initMainPage(o.store,e)}))},void 0===u.require&&(u.require=function(e){if("mashlib"===e)return console.warn("Warning: mashlib's custom implementation of `require` will be deprecated in the future. Please import mashlib using a build-time bundler, or access the global `panes` variable when including it as a script."),a;throw new Error("Cannot require (this is a Mashlib-specific require stub)")}),window.onpopstate=function(e){u.document.outline.GotoSubject(r.sym(window.document.location.href),!0,void 0,!0,void 0)},u.dump=function(e){console.log(e.slice(0,-1))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(165),i=n(71),a=n(39);let o=0;class s{constructor(e){this._contextStack=[],this._graph=null,e=e||{},this._setBase(e.baseIRI),e.factory&&l(this,e.factory);const t="string"==typeof e.format?e.format.match(/\w*$/)[0].toLowerCase():"",n=/turtle/.test(t),i=/trig/.test(t),a=/triple/.test(t),o=/quad/.test(t),s=this._n3Mode=/n3/.test(t),u=a||o;(this._supportsNamedGraphs=!(n||s))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(n||i||a||s),this._supportsRDFStar=""===t||/star|\*$/.test(t),u&&(this._resolveRelativeIRI=e=>null),this._blankNodePrefix="string"!=typeof e.blankNodePrefix?"":e.blankNodePrefix.replace(/^(?!_:)/,"_:"),this._lexer=e.lexer||new r.a({lineMode:u,n3:s}),this._explicitQuantifiers=!!e.explicitQuantifiers}static _resetBlankNodePrefix(){o=0}_setBase(e){if(e){const t=e.indexOf("#");t>=0&&(e=e.substr(0,t)),this._base=e,this._basePath=e.indexOf("/")<0?e:e.replace(/[^\/?]*(?:\?.*)?$/,""),e=e.match(/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i),this._baseRoot=e[0],this._baseScheme=e[1]}else this._base="",this._basePath=""}_saveContext(e,t,n,r,i){const a=this._n3Mode;this._contextStack.push({subject:n,predicate:r,object:i,graph:t,type:e,inverse:!!a&&this._inversePredicate,blankPrefix:a?this._prefixes._:"",quantified:a?this._quantified:null}),a&&(this._inversePredicate=!1,this._prefixes._=this._graph?this._graph.id.substr(2)+".":".",this._quantified=Object.create(this._quantified))}_restoreContext(){const e=this._contextStack.pop(),t=this._n3Mode;this._subject=e.subject,this._predicate=e.predicate,this._object=e.object,this._graph=e.graph,t&&(this._inversePredicate=e.inverse,this._prefixes._=e.blankPrefix,this._quantified=e.quantified)}_readInTopContext(e){switch(e.type){case"eof":return null!==this._graph?this._error("Unclosed graph",e):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(e)}}_readEntity(e,t){let n;switch(e.type){case"IRI":case"typeIRI":const t=this._resolveIRI(e.value);if(null===t)return this._error("Invalid IRI",e);n=this._namedNode(t);break;case"type":case"prefixed":const r=this._prefixes[e.prefix];if(void 0===r)return this._error(`Undefined prefix "${e.prefix}:"`,e);n=this._namedNode(r+e.value);break;case"blank":n=this._blankNode(this._prefixes[e.prefix]+e.value);break;case"var":n=this._variable(e.value.substr(1));break;default:return this._error("Expected entity but got "+e.type,e)}return!t&&this._n3Mode&&n.id in this._quantified&&(n=this._quantified[n.id]),n}_readSubject(e){switch(this._predicate=null,e.type){case"[":return this._saveContext("blank",this._graph,this._subject=this._blankNode(),null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this.RDF_NIL,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph=this._blankNode(),null,null),this._readSubject):this._error("Unexpected graph",e);case"}":return this._readPunctuation(e);case"@forSome":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORSOME,this._quantifier=this._blankNode,this._readQuantifierList):this._error('Unexpected "@forSome"',e);case"@forAll":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORALL,this._quantifier=this._variable,this._readQuantifierList):this._error('Unexpected "@forAll"',e);case"literal":if(!this._n3Mode)return this._error("Unexpected literal",e);if(0===e.prefix.length)return this._literalValue=e.value,this._completeSubjectLiteral;this._subject=this._literal(e.value,this._namedNode(e.prefix));break;case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,null,null,null),this._graph=null,this._readSubject):this._error("Unexpected RDF* syntax",e);default:if(void 0===(this._subject=this._readEntity(e)))return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph}_readPredicate(e){const t=e.type;switch(t){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=this.ABBREVIATIONS[e.value];break;case".":case"]":case"}":return null===this._predicate?this._error("Unexpected "+t,e):(this._subject=null,"]"===t?this._readBlankNodeTail(e):this._readPunctuation(e));case";":return null!==this._predicate?this._readPredicate:this._error("Expected predicate but got ;",e);case"[":if(this._n3Mode)return this._saveContext("blank",this._graph,this._subject,this._subject=this._blankNode(),null),this._readBlankNodeHead;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",e);default:if(void 0===(this._predicate=this._readEntity(e)))return}return this._readObject}_readObject(e){switch(e.type){case"literal":if(0===e.prefix.length)return this._literalValue=e.value,this._readDataTypeOrLang;this._object=this._literal(e.value,this._namedNode(e.prefix));break;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject=this._blankNode()),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,this.RDF_NIL),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._blankNode()),this._readSubject):this._error("Unexpected graph",e);case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,this._subject,this._predicate,null),this._graph=null,this._readSubject):this._error("Unexpected RDF* syntax",e);default:if(void 0===(this._object=this._readEntity(e)))return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()}_readPredicateOrNamedGraph(e){return"{"===e.type?this._readGraph(e):this._readPredicate(e)}_readGraph(e){return"{"!==e.type?this._error("Expected graph but got "+e.type,e):(this._graph=this._subject,this._subject=null,this._readSubject)}_readBlankNodeHead(e){return"]"===e.type?(this._subject=null,this._readBlankNodeTail(e)):(this._predicate=null,this._readPredicate(e))}_readBlankNodeTail(e){if("]"!==e.type)return this._readBlankNodePunctuation(e);null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph);const t=null===this._predicate;return this._restoreContext(),null!==this._object?this._getContextEndReader():null!==this._predicate?this._readObject:t?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank}_readPredicateAfterBlank(e){switch(e.type){case".":case"}":return this._subject=null,this._readPunctuation(e);default:return this._readPredicate(e)}}_readListItem(e){let t=null,n=null,r=this._readListItem;const i=this._subject,a=this._contextStack,o=a[a.length-1];switch(e.type){case"[":this._saveContext("blank",this._graph,n=this._blankNode(),this.RDF_FIRST,this._subject=t=this._blankNode()),r=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,n=this._blankNode(),this.RDF_FIRST,this.RDF_NIL),this._subject=null;break;case")":if(this._restoreContext(),0!==a.length&&"list"===a[a.length-1].type&&this._emit(this._subject,this._predicate,this._object,this._graph),null===this._predicate){if(r=this._readPredicate,this._subject===this.RDF_NIL)return r}else if(r=this._getContextEndReader(),this._object===this.RDF_NIL)return r;n=this.RDF_NIL;break;case"literal":0===e.prefix.length?(this._literalValue=e.value,r=this._readListItemDataTypeOrLang):(t=this._literal(e.value,this._namedNode(e.prefix)),r=this._getContextEndReader());break;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._blankNode()),this._readSubject):this._error("Unexpected graph",e);default:if(void 0===(t=this._readEntity(e)))return}if(null===n&&(this._subject=n=this._blankNode()),null===i?null===o.predicate?o.subject=n:o.object=n:this._emit(i,this.RDF_REST,n,this._graph),null!==t){if(this._n3Mode&&("IRI"===e.type||"prefixed"===e.type))return this._saveContext("item",this._graph,n,this.RDF_FIRST,t),this._subject=t,this._predicate=null,this._getPathReader(this._readListItem);this._emit(n,this.RDF_FIRST,t,this._graph)}return r}_readDataTypeOrLang(e){return this._completeObjectLiteral(e,!1)}_readListItemDataTypeOrLang(e){return this._completeObjectLiteral(e,!0)}_completeLiteral(e){let t=this._literal(this._literalValue);switch(e.type){case"type":case"typeIRI":const n=this._readEntity(e);if(void 0===n)return;t=this._literal(this._literalValue,n),e=null;break;case"langcode":t=this._literal(this._literalValue,e.value),e=null}return{token:e,literal:t}}_completeSubjectLiteral(e){return this._subject=this._completeLiteral(e).literal,this._readPredicateOrNamedGraph}_completeObjectLiteral(e,t){const n=this._completeLiteral(e);if(n)return this._object=n.literal,t&&this._emit(this._subject,this.RDF_FIRST,this._object,this._graph),null===n.token?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(n.token))}_readFormulaTail(e){return"}"!==e.type?this._readPunctuation(e):(null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph),this._restoreContext(),null===this._object?this._readPredicate:this._getContextEndReader())}_readPunctuation(e){let t,n=this._graph;const r=this._subject,i=this._inversePredicate;switch(e.type){case"}":if(null===this._graph)return this._error("Unexpected graph closing",e);if(this._n3Mode)return this._readFormulaTail(e);this._graph=null;case".":this._subject=null,t=this._contextStack.length?this._readSubject:this._readInTopContext,i&&(this._inversePredicate=!1);break;case";":t=this._readPredicate;break;case",":t=this._readObject;break;default:if(this._supportsQuads&&null===this._graph&&void 0!==(n=this._readEntity(e))){t=this._readQuadPunctuation;break}return this._error(`Expected punctuation to follow "${this._object.id}"`,e)}if(null!==r){const e=this._predicate,t=this._object;i?this._emit(t,e,r,n):this._emit(r,e,t,n)}return t}_readBlankNodePunctuation(e){let t;switch(e.type){case";":t=this._readPredicate;break;case",":t=this._readObject;break;default:return this._error(`Expected punctuation to follow "${this._object.id}"`,e)}return this._emit(this._subject,this._predicate,this._object,this._graph),t}_readQuadPunctuation(e){return"."!==e.type?this._error("Expected dot to follow quad",e):this._readInTopContext}_readPrefix(e){return"prefix"!==e.type?this._error("Expected prefix to follow @prefix",e):(this._prefix=e.value,this._readPrefixIRI)}_readPrefixIRI(e){if("IRI"!==e.type)return this._error(`Expected IRI to follow prefix "${this._prefix}:"`,e);const t=this._readEntity(e);return this._prefixes[this._prefix]=t.value,this._prefixCallback(this._prefix,t),this._readDeclarationPunctuation}_readBaseIRI(e){const t="IRI"===e.type&&this._resolveIRI(e.value);return t?(this._setBase(t),this._readDeclarationPunctuation):this._error("Expected valid IRI to follow base declaration",e)}_readNamedGraphLabel(e){switch(e.type){case"IRI":case"blank":case"prefixed":return this._readSubject(e),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",e)}}_readNamedGraphBlankLabel(e){return"]"!==e.type?this._error("Invalid graph label",e):(this._subject=this._blankNode(),this._readGraph)}_readDeclarationPunctuation(e){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(e)):"."!==e.type?this._error("Expected declaration to end with a dot",e):this._readInTopContext}_readQuantifierList(e){let t;switch(e.type){case"IRI":case"prefixed":if(void 0!==(t=this._readEntity(e,!0)))break;default:return this._error("Unexpected "+e.type,e)}return this._explicitQuantifiers?(null===this._subject?this._emit(this._graph||this.DEFAULTGRAPH,this._predicate,this._subject=this._blankNode(),this.QUANTIFIERS_GRAPH):this._emit(this._subject,this.RDF_REST,this._subject=this._blankNode(),this.QUANTIFIERS_GRAPH),this._emit(this._subject,this.RDF_FIRST,t,this.QUANTIFIERS_GRAPH)):this._quantified[t.id]=this._quantifier(this._blankNode().value),this._readQuantifierPunctuation}_readQuantifierPunctuation(e){return","===e.type?this._readQuantifierList:(this._explicitQuantifiers&&(this._emit(this._subject,this.RDF_REST,this.RDF_NIL,this.QUANTIFIERS_GRAPH),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(e))}_getPathReader(e){return this._afterPath=e,this._readPath}_readPath(e){switch(e.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:const t=this._contextStack,n=t.length&&t[t.length-1];if(n&&"item"===n.type){const e=this._subject;this._restoreContext(),this._emit(this._subject,this.RDF_FIRST,e,this._graph)}return this._afterPath(e)}}_readForwardPath(e){let t,n;const r=this._blankNode();if(void 0!==(n=this._readEntity(e)))return null===this._predicate?(t=this._subject,this._subject=r):(t=this._object,this._object=r),this._emit(t,n,r,this._graph),this._readPath}_readBackwardPath(e){const t=this._blankNode();let n,r;if(void 0!==(n=this._readEntity(e)))return null===this._predicate?(r=this._subject,this._subject=t):(r=this._object,this._object=t),this._emit(t,n,r,this._graph),this._readPath}_readRDFStarTailOrGraph(e){return">>"!==e.type?this._supportsQuads&&null===this._graph&&void 0!==(this._graph=this._readEntity(e))?this._readRDFStarTail:this._error(`Expected >> to follow "${this._object.id}"`,e):this._readRDFStarTail(e)}_readRDFStarTail(e){if(">>"!==e.type)return this._error("Expected >> but got "+e.type,e);const t=this._quad(this._subject,this._predicate,this._object,this._graph||this.DEFAULTGRAPH);return this._restoreContext(),null===this._subject?(this._subject=t,this._readPredicate):(this._object=t,this._getContextEndReader())}_getContextEndReader(){const e=this._contextStack;if(!e.length)return this._readPunctuation;switch(e[e.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail;case"<<":return this._readRDFStarTailOrGraph}}_emit(e,t,n,r){this._callback(null,this._quad(e,t,n,r||this.DEFAULTGRAPH))}_error(e,t){const n=new Error(`${e} on line ${t.line}.`);n.context={token:t,line:t.line,previousToken:this._lexer.previousToken},this._callback(n),this._callback=u}_resolveIRI(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)?e:this._resolveRelativeIRI(e)}_resolveRelativeIRI(e){if(!e.length)return this._base;switch(e[0]){case"#":return this._base+e;case"?":return this._base.replace(/(?:\?.*)?$/,e);case"/":return("/"===e[1]?this._baseScheme:this._baseRoot)+this._removeDotSegments(e);default:return/^[^/:]*:/.test(e)?null:this._removeDotSegments(this._basePath+e)}}_removeDotSegments(e){if(!/(^|\/)\.\.?($|[/#?])/.test(e))return e;const t=e.length;let n="",r=-1,i=-1,a=0,o="/";for(;r<t;){switch(o){case":":if(i<0&&"/"===e[++r]&&"/"===e[++r])for(;(i=r+1)<t&&"/"!==e[i];)r=i;break;case"?":case"#":r=t;break;case"/":if("."===e[r+1])switch(o=e[1+ ++r],o){case"/":n+=e.substring(a,r-1),a=r+1;break;case void 0:case"?":case"#":return n+e.substring(a,r)+e.substr(r+1);case".":if(o=e[1+ ++r],void 0===o||"/"===o||"?"===o||"#"===o){if(n+=e.substring(a,r-2),(a=n.lastIndexOf("/"))>=i&&(n=n.substr(0,a)),"/"!==o)return`${n}/${e.substr(r+1)}`;a=r+1}}}o=e[++r]}return n+e.substring(a)}parse(e,t,n){if(this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix?this._blankNodePrefix.substr(2):`b${o++}_`,this._prefixCallback=n||u,this._inversePredicate=!1,this._quantified=Object.create(null),!t){const t=[];let n;if(this._callback=(e,r)=>{e?n=e:r&&t.push(r)},this._lexer.tokenize(e).every(e=>this._readCallback=this._readCallback(e)),n)throw n;return t}this._callback=t,this._lexer.tokenize(e,(e,t)=>{null!==e?(this._callback(e),this._callback=u):this._readCallback&&(this._readCallback=this._readCallback(t))})}}function u(){}function l(e,t){const n=t.namedNode;e._namedNode=n,e._blankNode=t.blankNode,e._literal=t.literal,e._variable=t.variable,e._quad=t.quad,e.DEFAULTGRAPH=t.defaultGraph(),e.RDF_FIRST=n(a.a.rdf.first),e.RDF_REST=n(a.a.rdf.rest),e.RDF_NIL=n(a.a.rdf.nil),e.N3_FORALL=n(a.a.r.forAll),e.N3_FORSOME=n(a.a.r.forSome),e.ABBREVIATIONS={a:n(a.a.rdf.type),"=":n(a.a.owl.sameAs),">":n(a.a.log.implies)},e.QUANTIFIERS_GRAPH=n("urn:n3:quantifiers")}l(s.prototype,i.b)}])}));
194
194
  //# sourceMappingURL=mashlib.min.js.map