mashlib 2.1.0-e59caa4f → 2.1.0-e662a8c6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mashlib.js +5 -5
- package/dist/mashlib.js.map +1 -1
- package/dist/mashlib.min.js +2 -2
- package/dist/mashlib.min.js.map +1 -1
- package/package.json +2 -3
package/dist/mashlib.min.js
CHANGED
|
@@ -262,7 +262,7 @@ class g extends f{constructor(){super(...arguments),this._$CK=new h(this),this._
|
|
|
262
262
|
${s.loadingMessage.toUpperCase()}
|
|
263
263
|
</div>
|
|
264
264
|
</div>
|
|
265
|
-
`,p=await n.chat.getChat(e,!1)}catch(d){p=!1}if(p){const f=t.dom.createElement("div");f.setAttribute("role","log"),f.setAttribute("aria-label","Chat conversation"),f.appendChild(c.render(p,t,{})),o.appendChild(f),yield o}else{const h=a.authn.currentUser();let m=(0,l.checkIfAnyUserLoggedIn)(h)?s.chatWithMeButtonText.toUpperCase():s.logInToChatWithMeButtonText.toUpperCase();const g=i.widgets.button(t.dom,void 0,m,v,{needsBorder:!0});async function v(r){r.preventDefault();try{const r=await n.chat.getChat(e,!0);o.innerHTML="",o.appendChild(c.render(r,t,{}))}catch(e){(0,l.complain)(o,t,e)}}function b(){const e=a.authn.currentUser();(0,l.checkIfAnyUserLoggedIn)(e)?g.innerHTML=s.chatWithMeButtonText.toUpperCase():g.innerHTML=s.logInToChatWithMeButtonText.toUpperCase()}g.refresh=b(),g.setAttribute("type","button"),g.setAttribute("aria-describedby","chat-button-description");const y=t.dom.createElement("span");y.id="chat-button-description",y.className="sr-only",y.textContent="Start a new conversation or sign in to continue existing chat",g.classList.add("actionButton","btn-primary","action-button-focus"),o.appendChild(g),o.appendChild(y),yield o}}())} `}},4861(e,t,n){const r=n(208),i=n(6886);function a(e){this.mode=r.KANJI,this.data=e}a.getBitsLength=function(e){return 13*e},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=i.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}},e.exports=a},4887(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presentProfile=void 0,t.pronounsAsText=o;var r=n(500),i=n(9332),a=n(6077);function o(e){let t=i.store.anyJS(e,r.ns.solid("preferredSubjectPronoun"))||"";if(t){const n=i.store.anyJS(e,r.ns.solid("preferredObjectPronoun"));if(n){t+="/"+n;const a=i.store.anyJS(e,r.ns.solid("preferredRelativePronoun"));a&&(t+="/"+a)}t=" ("+t+") "}return t||""}function s(e,t){return e&&t?`${t}, ${e}`:e||t||null}function l(e,t){return e&&t?`${e} at ${t}`:t||e||null}function c(e,t){return e&&(0,a.validateHTMLColorHex)(e)?e:t}t.presentProfile=(e,t)=>{const n=r.utils.label(e),i=r.widgets.findImage(e),a=t.anyValue(e,r.ns.vcard("role")),u=t.anyValue(e,r.ns.vcard("organization-name")),p=t.any(e,r.ns.vcard("hasAddress")),d=null!=p?t.anyValue(p,r.ns.vcard("country-name")):null,f=null!=p?t.anyValue(p,r.ns.vcard("locality")):null,{backgroundColor:h,highlightColor:m}=function(e,t){const n=t.anyValue(e,r.ns.solid("profileBackgroundColor"),null,e.doc()),i=t.anyValue(e,r.ns.solid("profileHighlightColor"),null,e.doc());return{backgroundColor:c(n,"#eee"),highlightColor:c(i,"#090")}}(e,t),g=o(e);return{name:n,imageSrc:i,introduction:l(a,u),location:s(d,f),backgroundColor:h,pronouns:g,highlightColor:m}}},4930(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(500),i=n(8230);const a={icon:r.icons.originalIconBase+"tango/22-emblem-system.png",name:"internal",label:function(){return"under the hood"},render:function(e,t){const n=t.dom,a=t.session.store,o=a.canon(e),s=a.findTypeURIs(o);function l(e){if(s["http://www.w3.org/2007/ont/link#ProtocolEvent"])return!0;const n=t.session.paneRegistry.byName("internal");return n&&n.predicates&&!(void 0===n.predicates[e.uri])}const c=n.createElement("div");function u(e,t){const n=e.fetcher;if(n)return new Promise(function(i,a){n.load(t).then(function(){const o=e.each(t,r.ns.ldp("contains")).map(t=>e.holds(t,r.ns.rdf("type"),r.ns.ldp("BasicContainer"))?u(e,t):n.webOperation("DELETE",t.uri));Promise.all(o).then(()=>{n.webOperation("DELETE",t.uri).then(()=>{i(void 0)}).catch(e=>{a(new Error("Unable to delete "+t+": "+e))}),i(void 0)},e=>{alert(e),a(e)})})})}c.setAttribute("class","internalPane"),c.setAttribute("style","background-color: #ddddff; padding: 0.5em; border-radius: 1em;");if(e.uri&&!e.uri.includes("#")){const t=c.appendChild(n.createElement("table"));t.style.width="100%",t.style.margin="1em";const i=t.appendChild(n.createElement("tr")),o=i.appendChild(n.createElement("td")),s=e.uri&&e.uri.endsWith("/")||a.holds(e,r.ns.rdf("type"),r.ns.ldp("Container")),l=s?"folder":"file";if(!function(e){const t=e.site().uri;return e.uri===t||e.uri===t+"profile/"||e.uri===t+"profile/card"||e.uri===t+"settings/"||e.uri===t+"settings/prefs.ttl"||e.uri===t+"settings/privateTypeIndex.ttl"||e.uri===t+"settings/publicTypeIndex.ttl"||e.uri===t+"settings/serverSide.ttl"}(e)){const t=r.widgets.deleteButtonWithCheck(n,o,l,function(){if(!confirm(`Are you sure you want to delete ${e}? This cannot be undone.`))return;if(!a.fetcher)throw new Error("Store has no fetcher");(s?u(a,e)||Promise.resolve():a.fetcher.webOperation("DELETE",e.uri)||Promise.resolve()).then(()=>{}).catch(t=>{alert("Unable to delete "+e+": "+t)})});t.style="height: 2em;",t.class="",o.appendChild(t)}const p=i.appendChild(n.createElement("td")),d=r.widgets.button(n,r.icons.iconBase+"noun_479395.svg","refresh");p.appendChild(d),d.addEventListener("click",()=>{if(!a.fetcher)throw new Error("Store has no fetcher");a.fetcher.refresh(e,function(t,n){let r;r=t?"Refreshed OK: "+e:"Error refreshing: "+e+": "+n,alert(r)})})}let p=a.statementsMatching(e),d="";if(!a.fetcher)throw new Error("Store has no fetcher");if(e.uri&&(p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/2007/ont/link#uri"),e.uri,a.fetcher.appNode)),e.uri.indexOf("#")>=0?(d=e.uri.split("#")[0],p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/2007/ont/link#documentURI"),e.uri.split("#")[0],a.fetcher.appNode)),p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/2007/ont/link#document"),(0,i.sym)(e.uri.split("#")[0]),a.fetcher.appNode))):d=e.uri),d){if(!a.updater)throw new Error("Store has no updater");const t=a.updater.editable(d);t&&p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/ns/rww#editable"),(0,i.literal)(t.toString()),a.fetcher.appNode))}const f=t.getOutliner(n);return f.appendPropertyTRs(c,p,!1,l),p=a.statementsMatching(void 0,void 0,e),f.appendPropertyTRs(c,p,!0,l),c},predicates:{"http://www.w3.org/2007/ont/link#request":1,"http://www.w3.org/2007/ont/link#requestedBy":1,"http://www.w3.org/2007/ont/link#source":1,"http://www.w3.org/2007/ont/link#session":2,"http://www.w3.org/2007/ont/link#uri":1,"http://www.w3.org/2007/ont/link#documentURI":1,"http://www.w3.org/2007/ont/link#document":1,"http://www.w3.org/2007/ont/link#all":1,"http://www.w3.org/2007/ont/link#Document":1,"http://www.w3.org/ns/rww#editable":1,"http://www.w3.org/2000/01/rdf-schema#seeAlso":1,"http://www.w3.org/2002/07/owl#":1},classes:{"http://www.w3.org/2007/ont/link#ProtocolEvent":1}};t.default=a},4940(e,t,n){"use strict";n.d(t,{A:()=>r});const r={debug(e){},warn(e){},info(e){},error(e){},success(e){},msg(e){}}},4945(e,t,n){var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g,i=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==n.g&&n.g||{},i="URLSearchParams"in r,a="Symbol"in r&&"iterator"in Symbol,o="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in r,l="ArrayBuffer"in r;if(l)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return a&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function m(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function g(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function v(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function b(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():l&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=b(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=b(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(o)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=m(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=g(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(e,t){e=p(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[p(e)]},h.prototype.get=function(e){return e=p(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(p(e))},h.prototype.set=function(e,t){this.map[p(e)]=d(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),f(e)},h.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),f(e)},h.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),f(e)},a&&(h.prototype[Symbol.iterator]=h.prototype.entries);var w=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i,a=(t=t||{}).body;if(e instanceof x){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(n=t.method||this.method||"GET",i=n.toUpperCase(),w.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in r)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function k(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function _(e,t){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},y.call(x.prototype),y.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var E=[301,302,303,307,308];_.redirect=function(e,t){if(-1===E.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function C(e,n){return new Promise(function(i,a){var s=new x(e,n);if(s.signal&&s.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function u(){c.abort()}if(c.onload=function(){var e,t,n={statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();try{t.append(r,i)}catch(e){}}}),t)};0===s.url.indexOf("file://")&&(c.status<200||c.status>599)?n.status=200:n.status=c.status,n.url="responseURL"in c?c.responseURL:n.headers.get("X-Request-URL");var r="response"in c?c.response:c.responseText;setTimeout(function(){i(new _(r,n))},0)},c.onerror=function(){setTimeout(function(){a(new TypeError("Network request failed"))},0)},c.ontimeout=function(){setTimeout(function(){a(new TypeError("Network request timed out"))},0)},c.onabort=function(){setTimeout(function(){a(new t.DOMException("Aborted","AbortError"))},0)},c.open(s.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?c.withCredentials=!0:"omit"===s.credentials&&(c.withCredentials=!1),"responseType"in c&&(o?c.responseType="blob":l&&(c.responseType="arraybuffer")),n&&"object"==typeof n.headers&&!(n.headers instanceof h||r.Headers&&n.headers instanceof r.Headers)){var f=[];Object.getOwnPropertyNames(n.headers).forEach(function(e){f.push(p(e)),c.setRequestHeader(e,d(n.headers[e]))}),s.headers.forEach(function(e,t){-1===f.indexOf(t)&&c.setRequestHeader(t,e)})}else s.headers.forEach(function(e,t){c.setRequestHeader(t,e)});s.signal&&(s.signal.addEventListener("abort",u),c.onreadystatechange=function(){4===c.readyState&&s.signal.removeEventListener("abort",u)}),c.send(void 0===s._bodyInit?null:s._bodyInit)})}C.polyfill=!0,r.fetch||(r.fetch=C,r.Headers=h,r.Request=x,r.Response=_),t.Headers=h,t.Request=x,t.Response=_,t.fetch=C}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var a=r.fetch?r:i;(t=a.fetch).default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t},4959(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={buildTime:"2026-02-07T18:32:18Z",commit:"afb678c146204b4bc2e972df5891df399a23fa46",npmInfo:{"solid-panes":"4.1.0",npm:"10.8.2",node:"20.20.0",acorn:"8.15.0",ada:"2.9.2",ares:"1.34.6",brotli:"1.1.0",cjs_module_lexer:"2.1.0",cldr:"47.0",icu:"77.1",llhttp:"9.3.0",modules:"115",napi:"9",nghttp2:"1.61.0",openssl:"3.0.17",simdutf:"6.4.2",tz:"2025b",undici:"6.23.0",unicode:"16.0",uv:"1.46.0",uvwasi:"0.0.23",v8:"11.3.244.8-node.33",zlib:"1.3.1-470d3a2"}}},5018(e,t,n){"use strict";const{ArrayPrototypePop:r,Promise:i}=n(4641),{isIterable:a,isNodeStream:o,isWebStream:s}=n(136),{pipelineImpl:l}=n(8431),{finished:c}=n(9365);n(2825),e.exports={finished:c,pipeline:function(...e){return new i((t,n)=>{let i,c;const u=e[e.length-1];if(u&&"object"==typeof u&&!o(u)&&!a(u)&&!s(u)){const t=r(e);i=t.signal,c=t.end}l(e,(e,r)=>{e?n(e):t(r)},{signal:i,end:c})})}}},5108(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(4467),i=n(1059),a=n(8936),o=n(9403),s=n(2931),l=n(2915);class c extends a.A{constructor(e){if(super((0,s.E)(e)),(0,r.A)(this,"termType",o.Kk),(0,r.A)(this,"classOrder",i.A.NamedNode),!this.value)throw new Error("Missing IRI for NamedNode");if(!this.value.includes(":"))throw new Error('NamedNode IRI "'+e+'" must be absolute.');if(this.value.includes(" "))throw new Error('Error: NamedNode IRI "'+e+'" must not contain unencoded spaces.')}dir(){var e=this.value.split("#")[0],t=e.slice(0,-1).lastIndexOf("/"),n=e.indexOf("//");return n>=0&&t<n+2||t<0?null:new c(e.slice(0,t+1))}site(){var e=this.value.split("#")[0],t=e.indexOf("//");if(t<0)throw new Error("This URI does not have a web site part (origin)");var n=e.indexOf("/",t+2);return new c(n<0?e.slice(0)+"/":e.slice(0,n+1))}doc(){return this.value.indexOf("#")<0?this:new c(this.value.split("#")[0])}toString(){return"<"+this.value+">"}id(){return this.value.split("#")[1]}get uri(){return this.value}set uri(e){this.value=e}static fromValue(e){return null==e||(0,l.D0)(e)?e:new c(e)}}},5130(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(500)),i=a(n(8230));function a(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(a=function(e,t){if(!t&&e&&e.__esModule)return e;var i,a,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(i=t?r:n){if(i.has(e))return i.get(e);i.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?i(o,t,a):o[t]=e[t]);return o})(e,t)}const o=r.ns;t.default={icon:r.icons.iconBase+"noun_62007.svg",name:"travel expenses",audience:[o.solid("PowerUser")],label:function(e,t){const n=t.session.store,i=n.findTypeURIs(e);return r.ns.qu("Transaction")in n.findSuperClassesNT(e)?"by Trip":i["http://www.w3.org/ns/pim/trip#Trip"]?"Trip $":null},render:function(e,t){const n=t.dom,a=t.store,o=r.ns,s=i.Namespace("http://www.w3.org/2002/12/cal/ical#"),l=i.Namespace("http://www.w3.org/ns/pim/trip#"),c=n.createElement("div");c.setAttribute("class","transactionPane"),c.innerHTML="<h2>Trip transactions</h2>";const u=function(e,t){void 0===t&&(t="color: grey");const r=n.createElement("pre");r.setAttribute("style",t),c.appendChild(r),r.appendChild(n.createTextNode(e))},p=a.findTypeURIs(e),d=function(e,t){const s=new i.Query(r.utils.label(e)),c={};["date","transaction","comment","type","in_USD"].forEach(function(e){s.vars.push(c[e]=i.variable(e))}),s.pat.add(c.transaction,l("trip"),e);const p=a.formula();p.add(c.transaction,o.rdf("type"),c.type),s.pat.optional.push(p),s.pat.add(c.transaction,r.ns.qu("date"),c.date),p.add(c.transaction,o.rdfs("comment"),c.comment),s.pat.optional.push(p),s.pat.add(c.transaction,r.ns.qu("in_USD"),c.in_USD);const d=r.table(n,{query:s,onDone:function(){const t={},n=a.each(void 0,l("trip"),e);n.forEach(function(e){let n=a.the(e,o.rdf("type"));if(n||(n=r.ns.qu("ErrorNoType")),n&&n.uri){const i=n.uri;t[i]||(t[i]=0);const o=a.any(e,r.ns.qu("in_USD"));o||u(" @@ No amount in USD: "+o+" for "+e),o&&(t[i]=t[i]+parseFloat(o.value))}});let i="",s=0,c=0;for(const e in t)i+=r.utils.label(a.sym(e))+": "+t[e]+"; ",s++,c+=t[e];u("Totals of "+n.length+" transactions: "+i,""),s>1&&u("Overall net: "+c,"text-treatment: bold;")}});t.appendChild(d)};if(r.ns.qu("Transaction")in a.findSuperClassesNT(e)){const t=a.each(void 0,o.rdf("type"),e),n=[],i=[];for(let e=0;e<t.length;e++){const o=t[e],s=a.any(o,l("trip"));if(s){o in i||(i[s]={total:0,transactions:[]});const e=a.any(o,r.ns.qu("in_USD"));e&&(i[s].total+=e);const t=a.any(o,r.ns.qu("date"));i[s.toNT()].transactions.push([t,o])}else n.push(o)}const u=[];for(const e in i){const t=a.fromNT(e);u.push([a.any(t,s("dtstart")),t])}u.sort();for(let e=0;e<u.length;e++){d(u[e][1],c)}}else p["http://www.w3.org/ns/pim/trip#Trip"]&&d(e,c);return c}}},5218(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function(e,t){const n=(0,r.getOutliner)(document);let o=t=t||window.location.href;"string"==typeof t&&(o=e.sym(t));n.GotoSubject(o,!0,void 0,!0,void 0);const s=await(0,i.createHeader)(e,n),l=(0,a.createFooter)(e);return Promise.all([s,l])};var r=n(7523),i=n(3469),a=n(8399)},5238(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formPane=void 0;var r=o(n(500)),i=n(9332),a=o(n(8230));function o(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(o=function(e,t){if(!t&&e&&e.__esModule)return e;var i,a,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(i=t?r:n){if(i.has(e))return i.get(e);i.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?i(o,t,a):o[t]=e[t]);return o})(e,t)}const s=r.ns;t.formPane={icon:r.icons.iconBase+"noun_122196.svg",name:"form",audience:[s.solid("PowerUser")],label:function(e){const t=r.widgets.formsFor(e).length;return r.log.debug("Form pane: forms for "+e+": "+t),t?t+" forms":null},render:function(e,t){const n=t.session.store,o=t.dom,l=function(e,t){const n=o.createElement("p");return n.setAttribute("style",t||"color: grey; background-color: white"),d.appendChild(n).textContent=e,n},c=function(e,t){l(e,"style")},u=function(e,t){e||c("Sorry, failed to save your change:\n"+t)},p=i.authn.currentUser(),d=o.createElement("div");if(d.setAttribute("class","formPane"),p){0===n.each(p,s.ui("workspace")).length&&l("You don't seem to have any workspaces defined. A workspace is a place on the web (http://..) or in the file system (file:///) to store application data.\n")}else l("You are not logged in. If you log in and have workspaces then you would be able to select workspace in which to put this new information");const f=function(e,t){n.fetcher.nowOrWhenFetched(e.uri,t,function(n,i){if(!n)return c("Cannot load store "+e.uri+": "+i);const s=r.widgets.formsFor(t);for(let n=0;n<s.length;n++){const i=s[n],l=o.createElement("h4");if(d.appendChild(l),i.uri){const e=a.Util.uri.document(i.uri);if(e.uri!==i.uri){d.appendChild(r.widgets.editFormButton(o,d,i,e,u)).setAttribute("style","float: right;")}}const c=o.createElement("a");c.setAttribute("href",i.uri),l.appendChild(c),c.textContent=r.utils.label(i,!0),r.widgets.appendForm(o,d,{},t,i,e,u)}})};let h=null;const m=a.Util.uri.docpart(e.uri);if(e.uri!==m&&n.updater.editable(m,n)&&(h=e.doc()),h=h||n.any(n.sym(m),s.link("annotationStore")),!h){const t={},n=[];h.statementsMatching(e).forEach(function(e){t[e.why.uri]=1}),h.statementsMatching(void 0,void 0,e).forEach(function(e){t[e.why.uri]=2});for(const e in t)n.push(t[e],e);n.sort();for(let e=0;e<n.length;e++){const t=n[e][1];if(t&&h.updater.editable(t)){h=h.sym(t);break}}}const g="2014";if(h)f(h,e);else{c("No suitable store is known, to edit <"+e.uri+">.");const t=r.login.selectWorkspace(o,function(t){l("Workspace selected OK: "+t);const n=h.each(void 0,s.space("workspace"),t);for(let r=0;r<n.length;r++){const i=n[r],a=h.any(t,s.space("store")),o=h.any(t,s.cal("dtstart")).value(),l=h.any(t,s.cal("dtend")).value();if(a&&o&&l&&o<=g&&l>g){f(a,e);break}c("Note no suitable annotation store in activity: "+i)}});d.appendChild(t)}return d}}},5306(e,t){var n,r,i;r=[],void 0===(i="function"==typeof(n=function(){"use strict";function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,n,r,i){this.message=e,this.expected=n,this.found=r,this.location=i,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}function n(e,n){n=void 0!==n?n:{};var r,i={},a={turtleDoc:Xn},o=Xn,s=function(e){var t=ei.toJSON();return t["@graph"]=[],e.filter(e=>Array.isArray(e)).forEach(e=>{e.forEach(e=>{t["@graph"].push(e)})}),1===t["@graph"].length&&(Object.assign(t,t["@graph"][0]),delete t["@graph"]),t},l="\ufeff",c=$n("\ufeff",!1),u=".",p=$n(".",!1),d=function(e){return e},f="#",h=$n("#",!1),m=/^[^\n]/,g=Wn(["\n"],!0,!1),v="\n",b=$n("\n",!1),y=function(e){return e.join("")},w="@prefix",x=$n("@prefix",!1),k=function(e,t){return ei.addPrefix(""===e?"0":e,t),{}},_="@base",E=$n("@base",!1),C=function(e){return ei.addBase(e),{}},S=/^[Bb]/,A=Wn(["B","b"],!1,!1),T=/^[Aa]/,R=Wn(["A","a"],!1,!1),P=/^[Ss]/,F=Wn(["S","s"],!1,!1),I=/^[Ee]/,N=Wn(["E","e"],!1,!1),O=/^[Pp]/,L=Wn(["P","p"],!1,!1),j=/^[Rr]/,M=Wn(["R","r"],!1,!1),D=/^[Ff]/,U=Wn(["F","f"],!1,!1),B=/^[Ii]/,z=Wn(["I","i"],!1,!1),H=/^[Xx]/,q=Wn(["X","x"],!1,!1),$=function(e,t){var n={};return"string"==typeof e&&"[]"!==e?n["@id"]=e:"object"==typeof e&&Object.assign(n,e),t&&Object.assign(n,t),[n]},W=function(e,t){var n={};return e&&Object.assign(n,e),t&&Object.assign(n,t),[n]},V=";",G=$n(";",!1),K=function(e,t,n,r){var i={};return i[n]=r,i},J=function(e,t,n){return n},Q=function(e,t,n){var r={};return n.unshift(Zr(e,t)),n.forEach(e=>{e&&Object.keys(e).forEach(t=>{e[t].forEach(e=>{"@type"===t&&void 0!==e["@id"]&&(e=e["@id"]),void 0===r[t]?r[t]=e:Array.isArray(r[t])?r[t].push(e):r[t]=[r[t],e]})})}),r},Y=",",X=$n(",",!1),Z=function(e,t){return t},ee=function(e,t){return t.unshift(e),t},te="a",ne=$n("a",!1),re=function(){return"@type"},ie=function(e){return ti(e,!0)},ae=function(e){return ti(e,!1)},oe=function(e){return"[]"===e?{}:{"@id":e}},se=function(e){return{"@id":e}},le="[",ce=$n("[",!1),ue="]",pe=$n("]",!1),de="(",fe=$n("(",!1),he=")",me=$n(")",!1),ge=function(e){return{"@list":e}},ve=function(e,t){return{"@value":e,"@language":t}},be="^^",ye=$n("^^",!1),we=function(e,t){if("http://www.w3.org/2001/XMLSchema#boolean"===t&&"true"===e)return!0;if("http://www.w3.org/2001/XMLSchema#boolean"===t&&"false"===e)return!1;if("http://www.w3.org/2001/XMLSchema#integer"===t)return parseInt(e);if("http://www.w3.org/2001/XMLSchema#double"===t)return parseFloat(e);const n=ei.resolve(t,!0);if(n){const r=t.split(":")[0];if("http://www.w3.org/2001/XMLSchema#boolean"===n&&"true"===e)return ei.decrement(r),!0;if("http://www.w3.org/2001/XMLSchema#boolean"===n&&"false"===e)return ei.decrement(r),!1;if("http://www.w3.org/2001/XMLSchema#integer"===n)return ei.decrement(r),parseInt(e);if("http://www.w3.org/2001/XMLSchema#double"===n)return ei.decrement(r),parseFloat(e)}return{"@value":e,"@type":t}},xe="true",ke=$n("true",!1),_e=function(){return!0},Ee="false",Ce=$n("false",!1),Se=function(){return!1},Ae=function(e){return e+":"},Te="<",Re=$n("<",!1),Pe=/^[^\0- <>"{}|\^`\\]/,Fe=Wn([["\0"," "],"<",">",'"',"{","}","|","^","`","\\"],!0,!1),Ie=">",Ne=$n(">",!1),Oe=function(e){const t=e.map(e=>65536<=e.codePointAt(0)&&e.codePointAt(0)<=983039?"a":1===e.length?e:6===e.length?String.fromCharCode("0x"+e.substring(2)):10===e.length?String.fromCodePoint("0x"+e.substring(2)):e).join("");if(t.match(/^[^\u0000-\u0020<>"{}|^`\\]*$/)){var n=e.join("");try{return ei.resolve(n)}catch(e){qn("Invalid IRIREF "+n)}}else qn("Invalid IRIREF "+e.join("")+" / "+t)},Le=":",je=$n(":",!1),Me=function(e){return e=e||"0",!1===ei.hasPrefix(e)&&qn("undefined prefix "+e),e},De=function(e){return e||""},Ue=function(e,t){return ei.increment(e),ei.resolve(e+":"+t)},Be="_:",ze=$n("_:",!1),He=/^[0-9]/,qe=Wn([["0","9"]],!1,!1),$e="@",We=$n("@",!1),Ve=/^[a-zA-Z]/,Ge=Wn([["a","z"],["A","Z"]],!1,!1),Ke="-",Je=$n("-",!1),Qe=/^[a-zA-Z0-9]/,Ye=Wn([["a","z"],["A","Z"],["0","9"]],!1,!1),Xe=function(e,t){return"-"+t.join("")},Ze=function(e,t){return e.join("")+t.join("")},et=/^[+\-]/,tt=Wn(["+","-"],!1,!1),nt=function(e){return e.match(/^[0+][0-9]+$/)?{"@value":e,"@type":"http://www.w3.org/2001/XMLSchema#integer"}:parseInt(e)},rt=function(e){return{"@value":e,"@type":"http://www.w3.org/2001/XMLSchema#decimal"}},it=function(e){return{"@value":e,"@type":"http://www.w3.org/2001/XMLSchema#double"}},at=/^[eE]/,ot=Wn(["e","E"],!1,!1),st='"',lt=$n('"',!1),ct=/^[^"\\\n\r]/,ut=Wn(['"',"\\","\n","\r"],!0,!1),pt="'",dt=$n("'",!1),ft=/^[^'\\\n\r]/,ht=Wn(["'","\\","\n","\r"],!0,!1),mt="'''",gt=$n("'''",!1),vt=/^[^'\\]/,bt=Wn(["'","\\"],!0,!1),yt="''",wt=$n("''",!1),xt=function(e,t){return"''"+t.join("")},kt=function(e,t){return"'"+t.join("")},_t=function(e,t){return e.join("")+t.join("")},Et='"""',Ct=$n('"""',!1),St=/^[^"\\]/,At=Wn(['"',"\\"],!0,!1),Tt='""',Rt=$n('""',!1),Pt=function(e,t){return'""'+t.join("")},Ft=function(e,t){return'"'+t.join("")},It="\\U",Nt=$n("\\U",!1),Ot=function(e){return String.fromCodePoint(parseInt(e.join(""),16))},Lt="\\u",jt=$n("\\u",!1),Mt=function(e){return String.fromCharCode(parseInt(e.join(""),16))},Dt="\\t",Ut=$n("\\t",!1),Bt=function(){return"\t"},zt="\\b",Ht=$n("\\b",!1),qt=function(){return"\b"},$t="\\n",Wt=$n("\\n",!1),Vt=function(){return"\n"},Gt="\\r",Kt=$n("\\r",!1),Jt=function(){return"\r"},Qt="\\f",Yt=$n("\\f",!1),Xt=function(){return"\f"},Zt='\\"',en=$n('\\"',!1),tn=function(){return'"'},nn="\\'",rn=$n("\\'",!1),an=function(){return"'"},on="\\\\",sn=$n("\\\\",!1),ln=function(){return"\\"},cn=/^[ \t\r\n]/,un=Wn([" ","\t","\r","\n"],!1,!1),pn=function(){return"[]"},dn=/^[\uD800-\uDBFF]/,fn=Wn([["\ud800","\udbff"]],!1,!1),hn=/^[\uDC00-\uDFFF]/,mn=Wn([["\udc00","\udfff"]],!1,!1),gn=function(e,t){return e+t},vn=/^[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]/,bn=Wn([["A","Z"],["a","z"],["À","Ö"],["Ø","ö"],["ø","˿"],["Ͱ","ͽ"],["Ϳ",""],["",""],["⁰",""],["Ⰰ",""],["、",""],["豈","﷏"],["ﷰ","�"]],!1,!1),yn="_",wn=$n("_",!1),xn="·",kn=$n("·",!1),_n=/^[\u0300-\u036F]/,En=Wn([["̀","ͯ"]],!1,!1),Cn=/^[\u203F-\u2040]/,Sn=Wn([["‿","⁀"]],!1,!1),An=function(e,t,n,r){return n.join("")+r.join("")},Tn=function(e,t,n){return e+t.join("")+n.join("")},Rn="%",Pn=$n("%",!1),Fn=/^[0-9A-Fa-f]/,In=Wn([["0","9"],["A","F"],["a","f"]],!1,!1),Nn="\\",On=$n("\\",!1),Ln=/^[_~.!$&'()*+,;=\/?#@%\-]/,jn=Wn(["_","~",".","!","$","&","'","(",")","*","+",",",";","=","/","?","#","@","%","-"],!1,!1),Mn=0,Dn=0,Un=[{line:1,column:1}],Bn=0,zn=[],Hn=0;if("startRule"in n){if(!(n.startRule in a))throw new Error("Can't start parsing from rule \""+n.startRule+'".');o=a[n.startRule]}function qn(e,t){throw Qn(e,t=void 0!==t?t:Kn(Dn,Mn))}function $n(e,t){return{type:"literal",text:e,ignoreCase:t}}function Wn(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Vn(){return{type:"end"}}function Gn(t){var n,r=Un[t];if(r)return r;for(n=t-1;!Un[n];)n--;for(r={line:(r=Un[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return Un[t]=r,r}function Kn(e,t){var n=Gn(e),r=Gn(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function Jn(e){Mn<Bn||(Mn>Bn&&(Bn=Mn,zn=[]),zn.push(e))}function Qn(e,n){return new t(e,null,null,n)}function Yn(e,n,r){return new t(t.buildMessage(e,n),e,n,r)}function Xn(){var e,t,n,r,a;for(e=Mn,t=[],n=Zn();n!==i;)t.push(n),n=Zn();if(t!==i){for(n=[],r=er();r!==i;)n.push(r),r=er();if(n!==i){for(r=[],a=nr();a!==i;)r.push(a),a=nr();r!==i?(Dn=e,e=t=s(n)):(Mn=e,e=i)}else Mn=e,e=i}else Mn=e,e=i;return e}function Zn(){var t;return 65279===e.charCodeAt(Mn)?(t=l,Mn++):(t=i,0===Hn&&Jn(c)),t}function er(){var t,n,r,a;if((t=rr())===i)if(t=Mn,(n=lr())!==i){for(r=[],a=nr();a!==i;)r.push(a),a=nr();r!==i?(46===e.charCodeAt(Mn)?(a=u,Mn++):(a=i,0===Hn&&Jn(p)),a!==i?(Dn=t,t=n=d(n)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function tr(){var t,n,r,a;if(t=Mn,35===e.charCodeAt(Mn)?(n=f,Mn++):(n=i,0===Hn&&Jn(h)),n!==i){for(r=[],m.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(g));a!==i;)r.push(a),m.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(g));r!==i?(10===e.charCodeAt(Mn)?(a=v,Mn++):(a=i,0===Hn&&Jn(b)),a!==i?(Dn=t,t=n=y(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function nr(){var e;return(e=zr())===i&&(e=tr()),e}function rr(){var e;return(e=ir())===i&&(e=ar())===i&&(e=sr())===i&&(e=or()),e}function ir(){var t,n,r,a,o,s,l,c,d;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(e.substr(Mn,7)===w?(r=w,Mn+=7):(r=i,0===Hn&&Jn(x)),r!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();if(a!==i)if((o=Ar())!==i){for(s=[],l=nr();l!==i;)s.push(l),l=nr();if(s!==i)if((l=Cr())!==i){for(c=[],d=nr();d!==i;)c.push(d),d=nr();c!==i?(46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p)),d!==i?(Dn=t,t=n=k(o,l)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;return t}function ar(){var t,n,r,a,o,s,l;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(e.substr(Mn,5)===_?(r=_,Mn+=5):(r=i,0===Hn&&Jn(E)),r!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();if(a!==i)if((o=Cr())!==i){for(s=[],l=nr();l!==i;)s.push(l),l=nr();s!==i?(46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i?(Dn=t,t=n=C(o)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;return t}function or(){var t,n,r,a,o,s,l,c;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(S.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(A)),r!==i)if(T.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(R)),a!==i)if(P.test(e.charAt(Mn))?(o=e.charAt(Mn),Mn++):(o=i,0===Hn&&Jn(F)),o!==i)if(I.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(N)),s!==i){for(l=[],c=nr();c!==i;)l.push(c),c=nr();l!==i&&(c=Cr())!==i?(Dn=t,t=n=C(c)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;return t}function sr(){var t,n,r,a,o,s,l,c,u,p,d,f;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(O.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(L)),r!==i)if(j.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(M)),a!==i)if(I.test(e.charAt(Mn))?(o=e.charAt(Mn),Mn++):(o=i,0===Hn&&Jn(N)),o!==i)if(D.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(U)),s!==i)if(B.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(z)),l!==i)if(H.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(q)),c!==i){for(u=[],p=nr();p!==i;)u.push(p),p=nr();if(u!==i)if((p=Ar())!==i){for(d=[],f=nr();f!==i;)d.push(f),f=nr();d!==i&&(f=Cr())!==i?(Dn=t,t=n=k(p,f)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;return t}function lr(){var e,t,n;return e=Mn,(t=dr())!==i&&(n=cr())!==i?(Dn=e,e=t=$(t,n)):(Mn=e,e=i),e===i&&(e=Mn,(t=gr())!==i?((n=cr())===i&&(n=null),n!==i?(Dn=e,e=t=W(t,n)):(Mn=e,e=i)):(Mn=e,e=i)),e}function cr(){var t,n,r,a,o,s,l,c,u,p;if(t=Mn,(n=pr())!==i)if((r=ur())!==i){for(a=[],o=Mn,s=[],l=nr();l!==i;)s.push(l),l=nr();for(s!==i?(59===e.charCodeAt(Mn)?(l=V,Mn++):(l=i,0===Hn&&Jn(G)),l!==i?(c=Mn,(u=pr())!==i&&(p=ur())!==i?(Dn=c,c=u=K(n,r,u,p)):(Mn=c,c=i),c===i&&(c=null),c!==i?(Dn=o,o=s=J(n,r,c)):(Mn=o,o=i)):(Mn=o,o=i)):(Mn=o,o=i);o!==i;){for(a.push(o),o=Mn,s=[],l=nr();l!==i;)s.push(l),l=nr();s!==i?(59===e.charCodeAt(Mn)?(l=V,Mn++):(l=i,0===Hn&&Jn(G)),l!==i?(c=Mn,(u=pr())!==i&&(p=ur())!==i?(Dn=c,c=u=K(n,r,u,p)):(Mn=c,c=i),c===i&&(c=null),c!==i?(Dn=o,o=s=J(n,r,c)):(Mn=o,o=i)):(Mn=o,o=i)):(Mn=o,o=i)}a!==i?(Dn=t,t=n=Q(n,r,a)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;return t}function ur(){var t,n,r,a,o,s,l;if(t=Mn,(n=hr())!==i){for(r=[],a=Mn,o=[],s=nr();s!==i;)o.push(s),s=nr();for(o!==i?(44===e.charCodeAt(Mn)?(s=Y,Mn++):(s=i,0===Hn&&Jn(X)),s!==i&&(l=hr())!==i?(Dn=a,a=o=Z(n,l)):(Mn=a,a=i)):(Mn=a,a=i);a!==i;){for(r.push(a),a=Mn,o=[],s=nr();s!==i;)o.push(s),s=nr();o!==i?(44===e.charCodeAt(Mn)?(s=Y,Mn++):(s=i,0===Hn&&Jn(X)),s!==i&&(l=hr())!==i?(Dn=a,a=o=Z(n,l)):(Mn=a,a=i)):(Mn=a,a=i)}r!==i?(Dn=t,t=n=ee(n,r)):(Mn=t,t=i)}else Mn=t,t=i;return t}function pr(){var t,n,r;if(t=Mn,(n=fr())!==i&&(Dn=t,n=d(n)),(t=n)===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();n!==i?(97===e.charCodeAt(Mn)?(r=te,Mn++):(r=i,0===Hn&&Jn(ne)),r!==i?(Dn=t,t=n=re()):(Mn=t,t=i)):(Mn=t,t=i)}return t}function dr(){var e,t;return e=Mn,(t=vr())!==i&&(Dn=e,t=ie(t)),(e=t)===i&&(e=Er())===i&&(e=kr()),e}function fr(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();return t!==i&&(n=kr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i),e}function hr(){var e,t;return(e=mr())===i&&(e=Mn,(t=vr())!==i&&(Dn=e,t=ae(t)),(e=t)===i&&(e=Mn,(t=Er())!==i&&(Dn=e,t=oe(t)),(e=t)===i&&(e=Mn,(t=gr())!==i&&(Dn=e,t=d(t)),(e=t)===i&&(e=Mn,(t=kr())!==i&&(Dn=e,t=se(t)),e=t)))),e}function mr(){var e;return(e=yr())===i&&(e=br())===i&&(e=wr()),e}function gr(){var t,n,r,a,o,s;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(91===e.charCodeAt(Mn)?(r=le,Mn++):(r=i,0===Hn&&Jn(ce)),r!==i)if((a=cr())!==i){for(o=[],s=nr();s!==i;)o.push(s),s=nr();o!==i?(93===e.charCodeAt(Mn)?(s=ue,Mn++):(s=i,0===Hn&&Jn(pe)),s!==i?(Dn=t,t=n=d(a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;return t}function vr(){var t,n,r,a,o,s;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(40===e.charCodeAt(Mn)?(r=de,Mn++):(r=i,0===Hn&&Jn(fe)),r!==i){for(a=[],o=hr();o!==i;)a.push(o),o=hr();if(a!==i){for(o=[],s=nr();s!==i;)o.push(s),s=nr();o!==i?(41===e.charCodeAt(Mn)?(s=he,Mn++):(s=i,0===Hn&&Jn(me)),s!==i?(Dn=t,t=n=ge(a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;return t}function br(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();return t!==i?((n=Nr())===i&&(n=Ir())===i&&(n=Fr()),n!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)):(Mn=e,e=i),e}function yr(){var t,n,r,a,o,s,l;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if((r=xr())!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();a!==i&&(o=Pr())!==i?(Dn=t,t=n=ve(r,o)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;if(t===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if((r=xr())!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();if(a!==i)if(e.substr(Mn,2)===be?(o=be,Mn+=2):(o=i,0===Hn&&Jn(ye)),o!==i){for(s=[],l=nr();l!==i;)s.push(l),l=nr();s!==i&&(l=kr())!==i?(Dn=t,t=n=we(r,l)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;if(t===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();n!==i&&(r=xr())!==i?(Dn=t,t=n=d(r)):(Mn=t,t=i)}}return t}function wr(){var t,n,r;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i?(e.substr(Mn,4)===xe?(r=xe,Mn+=4):(r=i,0===Hn&&Jn(ke)),r!==i?(Dn=t,t=n=_e()):(Mn=t,t=i)):(Mn=t,t=i),t===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();n!==i?(e.substr(Mn,5)===Ee?(r=Ee,Mn+=5):(r=i,0===Hn&&Jn(Ce)),r!==i?(Dn=t,t=n=Se()):(Mn=t,t=i)):(Mn=t,t=i)}return t}function xr(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();return t!==i?((n=Mr())===i&&(n=Dr())===i&&(n=jr())===i&&(n=Lr()),n!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)):(Mn=e,e=i),e}function kr(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();if(t!==i&&(n=Cr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i),e===i){for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();t!==i&&(n=_r())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)}return e}function _r(){var e,t;return(e=Tr())===i&&(e=Mn,(t=Sr())!==i&&(Dn=e,t=Ae(t)),e=t),e}function Er(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();if(t!==i&&(n=Rr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i),e===i){for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();t!==i&&(n=Hr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)}return e}function Cr(){var t,n,r,a;if(t=Mn,60===e.charCodeAt(Mn)?(n=Te,Mn++):(n=i,0===Hn&&Jn(Re)),n!==i){for(r=[],Pe.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Fe)),a===i&&(a=Ur());a!==i;)r.push(a),Pe.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Fe)),a===i&&(a=Ur());r!==i?(62===e.charCodeAt(Mn)?(a=Ie,Mn++):(a=i,0===Hn&&Jn(Ne)),a!==i?(Dn=t,t=n=Oe(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function Sr(){var t,n,r;return t=Mn,(n=Vr())===i&&(n=null),n!==i?(58===e.charCodeAt(Mn)?(r=Le,Mn++):(r=i,0===Hn&&Jn(je)),r!==i?(Dn=t,t=n=Me(n)):(Mn=t,t=i)):(Mn=t,t=i),t}function Ar(){var t,n,r;return t=Mn,(n=Vr())===i&&(n=null),n!==i?(58===e.charCodeAt(Mn)?(r=Le,Mn++):(r=i,0===Hn&&Jn(je)),r!==i?(Dn=t,t=n=De(n)):(Mn=t,t=i)):(Mn=t,t=i),t}function Tr(){var e,t,n;return e=Mn,(t=Sr())!==i&&(n=Gr())!==i?(Dn=e,e=t=Ue(t,n)):(Mn=e,e=i),e}function Rr(){var t,n,r,a,o,s,l,c,d,f;if(t=Mn,n=Mn,e.substr(Mn,2)===Be?(r=Be,Mn+=2):(r=i,0===Hn&&Jn(ze)),r!==i)if((a=$r())===i&&(He.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(qe))),a!==i){for(o=[],s=Wr();s!==i;)o.push(s),s=Wr();if(o!==i){if(s=[],l=Mn,c=[],46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p)),d!==i)for(;d!==i;)c.push(d),46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p));else c=i;if(c!==i){if(d=[],(f=Wr())!==i)for(;f!==i;)d.push(f),f=Wr();else d=i;d!==i?l=c=[c,d]:(Mn=l,l=i)}else Mn=l,l=i;for(;l!==i;){if(s.push(l),l=Mn,c=[],46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p)),d!==i)for(;d!==i;)c.push(d),46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p));else c=i;if(c!==i){if(d=[],(f=Wr())!==i)for(;f!==i;)d.push(f),f=Wr();else d=i;d!==i?l=c=[c,d]:(Mn=l,l=i)}else Mn=l,l=i}s!==i?n=r=[r,a,o,s]:(Mn=n,n=i)}else Mn=n,n=i}else Mn=n,n=i;else Mn=n,n=i;return t=n!==i?e.substring(t,Mn):n}function Pr(){var t,n,r,a,o,s,l,c;if(t=Mn,64===e.charCodeAt(Mn)?(n=$e,Mn++):(n=i,0===Hn&&Jn(We)),n!==i){if(r=[],Ve.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Ge)),a!==i)for(;a!==i;)r.push(a),Ve.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Ge));else r=i;if(r!==i){if(a=[],o=Mn,45===e.charCodeAt(Mn)?(s=Ke,Mn++):(s=i,0===Hn&&Jn(Je)),s!==i){if(l=[],Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye)),c!==i)for(;c!==i;)l.push(c),Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye));else l=i;l!==i?(Dn=o,o=s=Xe(r,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;)if(a.push(o),o=Mn,45===e.charCodeAt(Mn)?(s=Ke,Mn++):(s=i,0===Hn&&Jn(Je)),s!==i){if(l=[],Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye)),c!==i)for(;c!==i;)l.push(c),Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye));else l=i;l!==i?(Dn=o,o=s=Xe(r,l)):(Mn=o,o=i)}else Mn=o,o=i;a!==i?(Dn=t,t=n=Ze(r,a)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Fr(){var t,n,r,a,o,s;if(t=Mn,n=Mn,r=Mn,et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){if(o=[],He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe)),s!==i)for(;s!==i;)o.push(s),He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));else o=i;o!==i?r=a=[a,o]:(Mn=r,r=i)}else Mn=r,r=i;return(n=r!==i?e.substring(n,Mn):r)!==i&&(Dn=t,n=nt(n)),t=n}function Ir(){var t,n,r,a,o,s,l,c;if(t=Mn,n=Mn,r=Mn,et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){for(o=[],He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));s!==i;)o.push(s),He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));if(o!==i)if(46===e.charCodeAt(Mn)?(s=u,Mn++):(s=i,0===Hn&&Jn(p)),s!==i){if(l=[],He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe)),c!==i)for(;c!==i;)l.push(c),He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe));else l=i;l!==i?r=a=[a,o,s,l]:(Mn=r,r=i)}else Mn=r,r=i;else Mn=r,r=i}else Mn=r,r=i;return(n=r!==i?e.substring(n,Mn):r)!==i&&(Dn=t,n=rt(n)),t=n}function Nr(){var t,n,r,a,o,s,l,c,d;if(t=Mn,n=Mn,r=Mn,et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){if(o=Mn,s=[],He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe)),l!==i)for(;l!==i;)s.push(l),He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe));else s=i;if(s!==i)if(46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i){for(c=[],He.test(e.charAt(Mn))?(d=e.charAt(Mn),Mn++):(d=i,0===Hn&&Jn(qe));d!==i;)c.push(d),He.test(e.charAt(Mn))?(d=e.charAt(Mn),Mn++):(d=i,0===Hn&&Jn(qe));c!==i&&(d=Or())!==i?o=s=[s,l,c,d]:(Mn=o,o=i)}else Mn=o,o=i;else Mn=o,o=i;if(o===i){if(o=Mn,46===e.charCodeAt(Mn)?(s=u,Mn++):(s=i,0===Hn&&Jn(p)),s!==i){if(l=[],He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe)),c!==i)for(;c!==i;)l.push(c),He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe));else l=i;l!==i&&(c=Or())!==i?o=s=[s,l,c]:(Mn=o,o=i)}else Mn=o,o=i;if(o===i){if(o=Mn,s=[],He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe)),l!==i)for(;l!==i;)s.push(l),He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe));else s=i;s!==i&&(l=Or())!==i?o=s=[s,l]:(Mn=o,o=i)}}o!==i?r=a=[a,o]:(Mn=r,r=i)}else Mn=r,r=i;return(n=r!==i?e.substring(n,Mn):r)!==i&&(Dn=t,n=it(n)),t=n}function Or(){var t,n,r,a,o,s;if(t=Mn,n=Mn,at.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(ot)),r!==i)if(et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){if(o=[],He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe)),s!==i)for(;s!==i;)o.push(s),He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));else o=i;o!==i?n=r=[r,a,o]:(Mn=n,n=i)}else Mn=n,n=i;else Mn=n,n=i;return t=n!==i?e.substring(t,Mn):n}function Lr(){var t,n,r,a;if(t=Mn,34===e.charCodeAt(Mn)?(n=st,Mn++):(n=i,0===Hn&&Jn(lt)),n!==i){for(r=[],ct.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ut)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),ct.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ut)),a===i&&(a=Br())===i&&(a=Ur());r!==i?(34===e.charCodeAt(Mn)?(a=st,Mn++):(a=i,0===Hn&&Jn(lt)),a!==i?(Dn=t,t=n=y(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function jr(){var t,n,r,a;if(t=Mn,39===e.charCodeAt(Mn)?(n=pt,Mn++):(n=i,0===Hn&&Jn(dt)),n!==i){for(r=[],ft.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ht)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),ft.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ht)),a===i&&(a=Br())===i&&(a=Ur());r!==i?(39===e.charCodeAt(Mn)?(a=pt,Mn++):(a=i,0===Hn&&Jn(dt)),a!==i?(Dn=t,t=n=y(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function Mr(){var t,n,r,a,o,s,l,c;if(t=Mn,e.substr(Mn,3)===mt?(n=mt,Mn+=3):(n=i,0===Hn&&Jn(gt)),n!==i){for(r=[],vt.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(bt)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),vt.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(bt)),a===i&&(a=Br())===i&&(a=Ur());if(r!==i){if(a=[],o=Mn,e.substr(Mn,2)===yt?(s=yt,Mn+=2):(s=i,0===Hn&&Jn(wt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=xt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,39===e.charCodeAt(Mn)?(s=pt,Mn++):(s=i,0===Hn&&Jn(dt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=kt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;){if(a.push(o),o=Mn,e.substr(Mn,2)===yt?(s=yt,Mn+=2):(s=i,0===Hn&&Jn(wt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=xt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,39===e.charCodeAt(Mn)?(s=pt,Mn++):(s=i,0===Hn&&Jn(dt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=kt(r,l)):(Mn=o,o=i)}else Mn=o,o=i}a!==i?(e.substr(Mn,3)===mt?(o=mt,Mn+=3):(o=i,0===Hn&&Jn(gt)),o!==i?(Dn=t,t=n=_t(r,a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Dr(){var t,n,r,a,o,s,l,c;if(t=Mn,e.substr(Mn,3)===Et?(n=Et,Mn+=3):(n=i,0===Hn&&Jn(Ct)),n!==i){for(r=[],St.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(At)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),St.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(At)),a===i&&(a=Br())===i&&(a=Ur());if(r!==i){if(a=[],o=Mn,e.substr(Mn,2)===Tt?(s=Tt,Mn+=2):(s=i,0===Hn&&Jn(Rt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Pt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,34===e.charCodeAt(Mn)?(s=st,Mn++):(s=i,0===Hn&&Jn(lt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Ft(r,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;){if(a.push(o),o=Mn,e.substr(Mn,2)===Tt?(s=Tt,Mn+=2):(s=i,0===Hn&&Jn(Rt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Pt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,34===e.charCodeAt(Mn)?(s=st,Mn++):(s=i,0===Hn&&Jn(lt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Ft(r,l)):(Mn=o,o=i)}else Mn=o,o=i}a!==i?(e.substr(Mn,3)===Et?(o=Et,Mn+=3):(o=i,0===Hn&&Jn(Ct)),o!==i?(Dn=t,t=n=_t(r,a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Ur(){var t,n,r,a,o,s,l,c,u,p,d;return t=Mn,e.substr(Mn,2)===It?(n=It,Mn+=2):(n=i,0===Hn&&Jn(Nt)),n!==i?(r=Mn,(a=Qr())!==i&&(o=Qr())!==i&&(s=Qr())!==i&&(l=Qr())!==i&&(c=Qr())!==i&&(u=Qr())!==i&&(p=Qr())!==i&&(d=Qr())!==i?r=a=[a,o,s,l,c,u,p,d]:(Mn=r,r=i),r!==i?(Dn=t,t=n=Ot(r)):(Mn=t,t=i)):(Mn=t,t=i),t===i&&(t=Mn,e.substr(Mn,2)===Lt?(n=Lt,Mn+=2):(n=i,0===Hn&&Jn(jt)),n!==i?(r=Mn,(a=Qr())!==i&&(o=Qr())!==i&&(s=Qr())!==i&&(l=Qr())!==i?r=a=[a,o,s,l]:(Mn=r,r=i),r!==i?(Dn=t,t=n=Mt(r)):(Mn=t,t=i)):(Mn=t,t=i)),t}function Br(){var t,n;return t=Mn,e.substr(Mn,2)===Dt?(n=Dt,Mn+=2):(n=i,0===Hn&&Jn(Ut)),n!==i&&(Dn=t,n=Bt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===zt?(n=zt,Mn+=2):(n=i,0===Hn&&Jn(Ht)),n!==i&&(Dn=t,n=qt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===$t?(n=$t,Mn+=2):(n=i,0===Hn&&Jn(Wt)),n!==i&&(Dn=t,n=Vt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===Gt?(n=Gt,Mn+=2):(n=i,0===Hn&&Jn(Kt)),n!==i&&(Dn=t,n=Jt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===Qt?(n=Qt,Mn+=2):(n=i,0===Hn&&Jn(Yt)),n!==i&&(Dn=t,n=Xt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===Zt?(n=Zt,Mn+=2):(n=i,0===Hn&&Jn(en)),n!==i&&(Dn=t,n=tn()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===nn?(n=nn,Mn+=2):(n=i,0===Hn&&Jn(rn)),n!==i&&(Dn=t,n=an()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===on?(n=on,Mn+=2):(n=i,0===Hn&&Jn(sn)),n!==i&&(Dn=t,n=ln()),t=n))))))),t}function zr(){var t;return cn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(un)),t}function Hr(){var t,n,r,a;if(t=Mn,91===e.charCodeAt(Mn)?(n=le,Mn++):(n=i,0===Hn&&Jn(ce)),n!==i){for(r=[],a=nr();a!==i;)r.push(a),a=nr();r!==i?(93===e.charCodeAt(Mn)?(a=ue,Mn++):(a=i,0===Hn&&Jn(pe)),a!==i?(Dn=t,t=n=pn()):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function qr(){var t,n,r;return t=Mn,dn.test(e.charAt(Mn))?(n=e.charAt(Mn),Mn++):(n=i,0===Hn&&Jn(fn)),n!==i?(hn.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(mn)),r!==i?(Dn=t,t=n=gn(n,r)):(Mn=t,t=i)):(Mn=t,t=i),t===i&&(vn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(bn))),t}function $r(){var t;return(t=qr())===i&&(95===e.charCodeAt(Mn)?(t=yn,Mn++):(t=i,0===Hn&&Jn(wn))),t}function Wr(){var t;return(t=$r())===i&&(45===e.charCodeAt(Mn)?(t=Ke,Mn++):(t=i,0===Hn&&Jn(Je)),t===i&&(He.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(qe)),t===i&&(183===e.charCodeAt(Mn)?(t=xn,Mn++):(t=i,0===Hn&&Jn(kn)),t===i&&(_n.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(En)),t===i&&(Cn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(Sn))))))),t}function Vr(){var t,n,r,a,o,s,l,c,d;if(t=Mn,n=Mn,(r=qr())!==i){for(a=[],o=Wr();o!==i;)a.push(o),o=Wr();if(a!==i){if(o=[],s=Mn,l=[],46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p)),c!==i)for(;c!==i;)l.push(c),46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p));else l=i;if(l!==i){if(c=[],(d=Wr())!==i)for(;d!==i;)c.push(d),d=Wr();else c=i;c!==i?s=l=[l,c]:(Mn=s,s=i)}else Mn=s,s=i;for(;s!==i;){if(o.push(s),s=Mn,l=[],46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p)),c!==i)for(;c!==i;)l.push(c),46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p));else l=i;if(l!==i){if(c=[],(d=Wr())!==i)for(;d!==i;)c.push(d),d=Wr();else c=i;c!==i?s=l=[l,c]:(Mn=s,s=i)}else Mn=s,s=i}o!==i?n=r=[r,a,o]:(Mn=n,n=i)}else Mn=n,n=i}else Mn=n,n=i;return t=n!==i?e.substring(t,Mn):n}function Gr(){var t,n,r,a,o,s,l,c;if(t=Mn,(n=$r())===i&&(58===e.charCodeAt(Mn)?(n=Le,Mn++):(n=i,0===Hn&&Jn(je)),n===i&&(He.test(e.charAt(Mn))?(n=e.charAt(Mn),Mn++):(n=i,0===Hn&&Jn(qe)),n===i&&(n=Kr()))),n!==i){for(r=[],(a=Wr())===i&&(58===e.charCodeAt(Mn)?(a=Le,Mn++):(a=i,0===Hn&&Jn(je)),a===i&&(a=Kr()));a!==i;)r.push(a),(a=Wr())===i&&(58===e.charCodeAt(Mn)?(a=Le,Mn++):(a=i,0===Hn&&Jn(je)),a===i&&(a=Kr()));if(r!==i){if(a=[],o=Mn,s=[],46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i)for(;l!==i;)s.push(l),46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p));else s=i;if(s!==i){if(l=[],(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr())),c!==i)for(;c!==i;)l.push(c),(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr()));else l=i;l!==i?(Dn=o,o=s=An(n,r,s,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;){if(a.push(o),o=Mn,s=[],46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i)for(;l!==i;)s.push(l),46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p));else s=i;if(s!==i){if(l=[],(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr())),c!==i)for(;c!==i;)l.push(c),(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr()));else l=i;l!==i?(Dn=o,o=s=An(n,r,s,l)):(Mn=o,o=i)}else Mn=o,o=i}a!==i?(Dn=t,t=n=Tn(n,r,a)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Kr(){var e;return(e=Jr())===i&&(e=Yr()),e}function Jr(){var t,n,r,a,o;return t=Mn,n=Mn,37===e.charCodeAt(Mn)?(r=Rn,Mn++):(r=i,0===Hn&&Jn(Pn)),r!==i&&(a=Qr())!==i&&(o=Qr())!==i?n=r=[r,a,o]:(Mn=n,n=i),t=n!==i?e.substring(t,Mn):n}function Qr(){var t;return Fn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(In)),t}function Yr(){var t,n,r;return t=Mn,92===e.charCodeAt(Mn)?(n=Nn,Mn++):(n=i,0===Hn&&Jn(On)),n!==i?(Ln.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(jn)),r!==i?(Dn=t,t=n=d(r)):(Mn=t,t=i)):(Mn=t,t=i),t}var Xr=function(e){return e.match(/^[a-z](.*?):(.+?)/g)};function Zr(e,t){var n={};return n[e]=t,n}var ei={base:[],data:{},addBase:function(e){if(0===ei.base.length)return void ei.base.push(e);const t=ei.base[ei.base.length-1];t!==e&&ei.base.push(new URL(e,t).toString())},addPrefix:function(e,t){const n=ei.data[e];void 0===n?ei.data[e]=[{uri:t,count:0}]:n[n.length-1].uri!==t&&n.push({uri:t,count:0})},hasPrefix:function(e){return void 0!==this.data[e]},resolve:function(e,t){const r=Object.keys(ei.data).find(t=>0===e.indexOf(t+":"));if(void 0!==r){const n=ei.data[r];if(1===n.length&&!0!==t&&Xr(n[0].uri))return e;const i=n[n.length-1].uri;return e.replace(r+":",i)}var i=0===ei.base.length?n.baseIRI:ei.base[ei.base.length-1];return!i||e.match(/^(http:|https:|urn:|file:)/)?e:0===e.indexOf("//")&&i?i.split("//")[0]+e:new URL(e,i).toString()},increment:function(e){const t=ei.data[e];void 0!==t&&t[t.length-1].count++},decrement:function(e){const t=ei.data[e];void 0!==t&&t[t.length-1].count--},toJSON:function(){const e={};return ei.base.length>0&&(void 0===e["@context"]&&(e["@context"]={}),e["@context"]["@base"]=ei.base[0]),Object.keys(ei.data).forEach(t=>{const n=ei.data[t][0];"http://www.w3.org/2001/XMLSchema#"===n.uri&&n.count<1||Xr(n.uri)&&(void 0===e["@context"]&&(e["@context"]={}),e["@context"][t]=n.uri)}),e}};function ti(e,t){if(void 0===e["@list"])return e;if(!t&&!e["@list"].find(e=>void 0!==e["@list"]))return e;if(0===e["@list"].length)return{"@id":"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"};var n={},r=null;return e["@list"].forEach(e=>{null===r?r=n:(r["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]={},r=r["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]),r["http://www.w3.org/1999/02/22-rdf-syntax-ns#first"]=ti(e,!0),r["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]={"@id":"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"}}),n}if((r=o())!==i&&Mn===e.length)return r;throw r!==i&&Mn<e.length&&Jn(Vn()),Yn(zn,Bn<e.length?e.charAt(Bn):null,Bn<e.length?Kn(Bn,Bn+1):Kn(Bn,Bn))}return e(t,Error),t.buildMessage=function(e,t){var n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?a(e.parts[t][0])+"-"+a(e.parts[t][1]):a(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function o(e){return n[e.type](e)}function s(e){var t,n,r=new Array(e.length);for(t=0;t<e.length;t++)r[t]=o(e[t]);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}function l(e){return e?'"'+i(e)+'"':"end of input"}return"Expected "+s(e)+" but "+l(t)+" found."},{SyntaxError:t,parse:n}})?n.apply(t,r):n)||(e.exports=i)},5338(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}}(),e.exports=n(1247)},5382(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classInstancePane=void 0;var r=a(n(500)),i=a(n(8230));function a(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(a=function(e,t){if(!t&&e&&e.__esModule)return e;var i,a,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(i=t?r:n){if(i.has(e))return i.get(e);i.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?i(o,t,a):o[t]=e[t]);return o})(e,t)}const o=r.ns;t.classInstancePane={icon:r.icons.originalIconBase+"tango/22-folder-open.png",name:"classInstance",audience:[o.solid("PowerUser")],label:function(e,t){const n=t.session.store.each(void 0,o.rdf("type"),e).length;return n>0?"List ("+n+")":null},render:function(e,t){const n=t.dom,a=t.getOutliner(n),s=t.session.store,l=function(e,t){const r=n.createElement("pre");r.setAttribute("style","background-color: "+t||0),c.appendChild(r),r.appendChild(n.createTextNode(e))},c=n.createElement("div");c.setAttribute("class","instancePane"),c.setAttribute("style"," border-top: solid 1px #777; border-bottom: solid 1px #777; margin-top: 0.5em; margin-bottom: 0.5em ");const u=s.statementsMatching(void 0,o.rdf("type"),e);if(u.length>0){const t={},p=[];u.forEach(e=>{t[e.subject.toNT()]=e});for(const n in s.findMembersNT(e))t[n]||p.push(i.st(s.fromNT(n),o.rdf("type"),e));if(p.length&&l("There are "+u.length+" explicit and "+p.length+" implicit members of "+r.utils.label(e)),e.sameTerm(o.rdf("Property")));else if(e.sameTerm(o.rdfs("Class"))){const e=s.statementsMatching(void 0,o.rdf("type"),void 0),t={};e.forEach(function(e){t[e.object]=e});const n=[];for(const e in t)n.push(i.st(i.sym(e),o.rdf("type"),o.rdfs("Class")));l("Total of "+e.length+" type statements and "+n.length+" unique types.")}if(u.length>10){const e=n.createElement("TR");e.appendChild(n.createTextNode(""+u.length)),c.appendChild(e)}a.appendPropertyTRs(c,u,!0,function(e){return!0}),p.length&&(l("Implicit:"),a.appendPropertyTRs(c,p,!0,function(e){return!0}))}return c}}},5386(e){const t={acl:"http://www.w3.org/ns/auth/acl#",arg:"http://www.w3.org/ns/pim/arg#",as:"https://www.w3.org/ns/activitystreams#",bookmark:"http://www.w3.org/2002/01/bookmark#",cal:"http://www.w3.org/2002/12/cal/ical#",cco:"http://www.ontologyrepository.com/CommonCoreOntologies/",cert:"http://www.w3.org/ns/auth/cert#",contact:"http://www.w3.org/2000/10/swap/pim/contact#",dc:"http://purl.org/dc/elements/1.1/",dct:"http://purl.org/dc/terms/",doap:"http://usefulinc.com/ns/doap#",foaf:"http://xmlns.com/foaf/0.1/",geo:"http://www.w3.org/2003/01/geo/wgs84_pos#",gpx:"http://www.w3.org/ns/pim/gpx#",gr:"http://purl.org/goodrelations/v1#",http:"http://www.w3.org/2007/ont/http#",httph:"http://www.w3.org/2007/ont/httph#",icalTZ:"http://www.w3.org/2002/12/cal/icaltzd#",ldp:"http://www.w3.org/ns/ldp#",link:"http://www.w3.org/2007/ont/link#",log:"http://www.w3.org/2000/10/swap/log#",meeting:"http://www.w3.org/ns/pim/meeting#",mo:"http://purl.org/ontology/mo/",org:"http://www.w3.org/ns/org#",owl:"http://www.w3.org/2002/07/owl#",pad:"http://www.w3.org/ns/pim/pad#",patch:"http://www.w3.org/ns/pim/patch#",prov:"http://www.w3.org/ns/prov#",pto:"http://www.productontology.org/id/",qu:"http://www.w3.org/2000/10/swap/pim/qif#",trip:"http://www.w3.org/ns/pim/trip#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rss:"http://purl.org/rss/1.0/",sched:"http://www.w3.org/ns/pim/schedule#",schema:"http://schema.org/",sioc:"http://rdfs.org/sioc/ns#",skos:"http://www.w3.org/2004/02/skos/core#",solid:"http://www.w3.org/ns/solid/terms#",space:"http://www.w3.org/ns/pim/space#",stat:"http://www.w3.org/ns/posix/stat#",tab:"http://www.w3.org/2007/ont/link#",tabont:"http://www.w3.org/2007/ont/link#",ui:"http://www.w3.org/ns/ui#",vann:"http://purl.org/vocab/vann/",vcard:"http://www.w3.org/2006/vcard/ns#",wf:"http://www.w3.org/2005/01/wf/flow#",xsd:"http://www.w3.org/2001/XMLSchema#"};e.exports=function(e={namedNode:e=>e}){const n={};for(const r in t){const i=t[r];n[r]=function(t=""){return e.namedNode(i+t)}}return n}},5438(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApplicationTable=function e(t){const n=l("table",{class:"results"}),r=c("tr",[u("th","Application URL"),u("th","Access modes"),u("th","Actions")]);return n.appendChild(r),a.store.each(t,i.ns.acl("trustedApp"),void 0,void 0).flatMap(e=>a.store.each(e,i.ns.acl("origin"),void 0,void 0).map(t=>({appModes:a.store.each(e,i.ns.acl("mode"),void 0,void 0),origin:t}))).sort((e,t)=>e.origin.value<t.origin.value?-1:1).forEach(({appModes:e,origin:r})=>n.appendChild(s(t,r,e,o))),n.appendChild(s(t,null,[i.ns.acl("Read")],o)),n;function o(){n.parentElement.replaceChild(e(t),n)}},t.createContainer=c,t.createText=u;var r=n(8230),i=n(500),a=n(9332),o=n(8847);function s(e,t,n,s){const d={origin:t,appModes:n,formElements:{modes:[],origin:void 0}};return c("tr",[c("td",[c("form",[l("input",{class:"textinput",placeholder:"Write new URL here",value:t?t.value:""},{},e=>{d.formElements.origin=e})],{},{submit:f})]),c("td",[c("form",p(d),{},{submit:f})]),c("td",[c("form",t?[u("button","Update",{class:"controlButton",style:"background: LightGreen;"}),u("button","Delete",{class:"controlButton",style:"background: LightCoral;"},{click:function(t){let n;t.preventDefault();try{n=(0,r.sym)(d.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to remove trust from")}const s=(0,o.getStatementsToDelete)(n,e,a.store,i.ns);if(!a.store.updater)throw new Error("Store has no updater");a.store.updater.update(s,[],h)}})]:[u("button","Add",{class:"controlButton",style:"background: LightGreen;"})],{},{submit:f})])]);function f(t){let n;t.preventDefault();try{n=(0,r.sym)(d.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to trust")}const s=d.formElements.modes.filter(e=>e.checked).map(e=>e.value),l=(0,o.getStatementsToDelete)(d.origin||n,e,a.store,i.ns),c=(0,o.getStatementsToAdd)(n,(0,o.generateRandomString)(),s,e,i.ns);if(!a.store.updater)throw new Error("Store has no updater");a.store.updater.update(l,c,h)}function h(e,t,n){if(t)return s()}}function l(e,t={},n={},r=null){const i=document.createElement(e);return r&&r(i),Object.keys(t).forEach(e=>{i.setAttribute(e,t[e])}),Object.keys(n).forEach(e=>{i.addEventListener(e,n[e])}),i}function c(e,t,n={},r={},i=null){const a=l(e,n,r,i);return t.forEach(e=>a.appendChild(e)),a}function u(e,t,n={},r={},i=null){const a=l(e,n,r,i);return a.textContent=t,a}function p({appModes:e,formElements:t}){return["Read","Write","Append","Control"].map(n=>c("label",[l("input",{type:"checkbox",...e.some(e=>e.value===i.ns.acl(n).value)?{checked:""}:{},value:i.ns.acl(n).uri},{},e=>t.modes.push(e)),u("span",n)]))}},5454(e){"use strict";
|
|
265
|
+
`,p=await n.chat.getChat(e,!1)}catch(d){p=!1}if(p){const f=t.dom.createElement("div");f.setAttribute("role","log"),f.setAttribute("aria-label","Chat conversation"),f.appendChild(c.render(p,t,{})),o.appendChild(f),yield o}else{const h=a.authn.currentUser();let m=(0,l.checkIfAnyUserLoggedIn)(h)?s.chatWithMeButtonText.toUpperCase():s.logInToChatWithMeButtonText.toUpperCase();const g=i.widgets.button(t.dom,void 0,m,v,{needsBorder:!0});async function v(r){r.preventDefault();try{const r=await n.chat.getChat(e,!0);o.innerHTML="",o.appendChild(c.render(r,t,{}))}catch(e){(0,l.complain)(o,t,e)}}function b(){const e=a.authn.currentUser();(0,l.checkIfAnyUserLoggedIn)(e)?g.innerHTML=s.chatWithMeButtonText.toUpperCase():g.innerHTML=s.logInToChatWithMeButtonText.toUpperCase()}g.refresh=b(),g.setAttribute("type","button"),g.setAttribute("aria-describedby","chat-button-description");const y=t.dom.createElement("span");y.id="chat-button-description",y.className="sr-only",y.textContent="Start a new conversation or sign in to continue existing chat",g.classList.add("actionButton","btn-primary","action-button-focus"),o.appendChild(g),o.appendChild(y),yield o}}())} `}},4861(e,t,n){const r=n(208),i=n(6886);function a(e){this.mode=r.KANJI,this.data=e}a.getBitsLength=function(e){return 13*e},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=i.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}},e.exports=a},4887(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presentProfile=void 0,t.pronounsAsText=o;var r=n(500),i=n(9332),a=n(6077);function o(e){let t=i.store.anyJS(e,r.ns.solid("preferredSubjectPronoun"))||"";if(t){const n=i.store.anyJS(e,r.ns.solid("preferredObjectPronoun"));if(n){t+="/"+n;const a=i.store.anyJS(e,r.ns.solid("preferredRelativePronoun"));a&&(t+="/"+a)}t=" ("+t+") "}return t||""}function s(e,t){return e&&t?`${t}, ${e}`:e||t||null}function l(e,t){return e&&t?`${e} at ${t}`:t||e||null}function c(e,t){return e&&(0,a.validateHTMLColorHex)(e)?e:t}t.presentProfile=(e,t)=>{const n=r.utils.label(e),i=r.widgets.findImage(e),a=t.anyValue(e,r.ns.vcard("role")),u=t.anyValue(e,r.ns.vcard("organization-name")),p=t.any(e,r.ns.vcard("hasAddress")),d=null!=p?t.anyValue(p,r.ns.vcard("country-name")):null,f=null!=p?t.anyValue(p,r.ns.vcard("locality")):null,{backgroundColor:h,highlightColor:m}=function(e,t){const n=t.anyValue(e,r.ns.solid("profileBackgroundColor"),null,e.doc()),i=t.anyValue(e,r.ns.solid("profileHighlightColor"),null,e.doc());return{backgroundColor:c(n,"#eee"),highlightColor:c(i,"#090")}}(e,t),g=o(e);return{name:n,imageSrc:i,introduction:l(a,u),location:s(d,f),backgroundColor:h,pronouns:g,highlightColor:m}}},4930(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(500),i=n(8230);const a={icon:r.icons.originalIconBase+"tango/22-emblem-system.png",name:"internal",label:function(){return"under the hood"},render:function(e,t){const n=t.dom,a=t.session.store,o=a.canon(e),s=a.findTypeURIs(o);function l(e){if(s["http://www.w3.org/2007/ont/link#ProtocolEvent"])return!0;const n=t.session.paneRegistry.byName("internal");return n&&n.predicates&&!(void 0===n.predicates[e.uri])}const c=n.createElement("div");function u(e,t){const n=e.fetcher;if(n)return new Promise(function(i,a){n.load(t).then(function(){const o=e.each(t,r.ns.ldp("contains")).map(t=>e.holds(t,r.ns.rdf("type"),r.ns.ldp("BasicContainer"))?u(e,t):n.webOperation("DELETE",t.uri));Promise.all(o).then(()=>{n.webOperation("DELETE",t.uri).then(()=>{i(void 0)}).catch(e=>{a(new Error("Unable to delete "+t+": "+e))}),i(void 0)},e=>{alert(e),a(e)})})})}c.setAttribute("class","internalPane"),c.setAttribute("style","background-color: #ddddff; padding: 0.5em; border-radius: 1em;");if(e.uri&&!e.uri.includes("#")){const t=c.appendChild(n.createElement("table"));t.style.width="100%",t.style.margin="1em";const i=t.appendChild(n.createElement("tr")),o=i.appendChild(n.createElement("td")),s=e.uri&&e.uri.endsWith("/")||a.holds(e,r.ns.rdf("type"),r.ns.ldp("Container")),l=s?"folder":"file";if(!function(e){const t=e.site().uri;return e.uri===t||e.uri===t+"profile/"||e.uri===t+"profile/card"||e.uri===t+"settings/"||e.uri===t+"settings/prefs.ttl"||e.uri===t+"settings/privateTypeIndex.ttl"||e.uri===t+"settings/publicTypeIndex.ttl"||e.uri===t+"settings/serverSide.ttl"}(e)){const t=r.widgets.deleteButtonWithCheck(n,o,l,function(){if(!confirm(`Are you sure you want to delete ${e}? This cannot be undone.`))return;if(!a.fetcher)throw new Error("Store has no fetcher");(s?u(a,e)||Promise.resolve():a.fetcher.webOperation("DELETE",e.uri)||Promise.resolve()).then(()=>{}).catch(t=>{alert("Unable to delete "+e+": "+t)})});t.style="height: 2em;",t.class="",o.appendChild(t)}const p=i.appendChild(n.createElement("td")),d=r.widgets.button(n,r.icons.iconBase+"noun_479395.svg","refresh");p.appendChild(d),d.addEventListener("click",()=>{if(!a.fetcher)throw new Error("Store has no fetcher");a.fetcher.refresh(e,function(t,n){let r;r=t?"Refreshed OK: "+e:"Error refreshing: "+e+": "+n,alert(r)})})}let p=a.statementsMatching(e),d="";if(!a.fetcher)throw new Error("Store has no fetcher");if(e.uri&&(p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/2007/ont/link#uri"),e.uri,a.fetcher.appNode)),e.uri.indexOf("#")>=0?(d=e.uri.split("#")[0],p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/2007/ont/link#documentURI"),e.uri.split("#")[0],a.fetcher.appNode)),p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/2007/ont/link#document"),(0,i.sym)(e.uri.split("#")[0]),a.fetcher.appNode))):d=e.uri),d){if(!a.updater)throw new Error("Store has no updater");const t=a.updater.editable(d);t&&p.push((0,i.st)(e,(0,i.sym)("http://www.w3.org/ns/rww#editable"),(0,i.literal)(t.toString()),a.fetcher.appNode))}const f=t.getOutliner(n);return f.appendPropertyTRs(c,p,!1,l),p=a.statementsMatching(void 0,void 0,e),f.appendPropertyTRs(c,p,!0,l),c},predicates:{"http://www.w3.org/2007/ont/link#request":1,"http://www.w3.org/2007/ont/link#requestedBy":1,"http://www.w3.org/2007/ont/link#source":1,"http://www.w3.org/2007/ont/link#session":2,"http://www.w3.org/2007/ont/link#uri":1,"http://www.w3.org/2007/ont/link#documentURI":1,"http://www.w3.org/2007/ont/link#document":1,"http://www.w3.org/2007/ont/link#all":1,"http://www.w3.org/2007/ont/link#Document":1,"http://www.w3.org/ns/rww#editable":1,"http://www.w3.org/2000/01/rdf-schema#seeAlso":1,"http://www.w3.org/2002/07/owl#":1},classes:{"http://www.w3.org/2007/ont/link#ProtocolEvent":1}};t.default=a},4940(e,t,n){"use strict";n.d(t,{A:()=>r});const r={debug(e){},warn(e){},info(e){},error(e){},success(e){},msg(e){}}},4945(e,t,n){var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g,i=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==n.g&&n.g||{},i="URLSearchParams"in r,a="Symbol"in r&&"iterator"in Symbol,o="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in r,l="ArrayBuffer"in r;if(l)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return a&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function m(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function g(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function v(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function b(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():l&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=b(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=b(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(o)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=m(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=g(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(e,t){e=p(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[p(e)]},h.prototype.get=function(e){return e=p(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(p(e))},h.prototype.set=function(e,t){this.map[p(e)]=d(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),f(e)},h.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),f(e)},h.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),f(e)},a&&(h.prototype[Symbol.iterator]=h.prototype.entries);var w=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i,a=(t=t||{}).body;if(e instanceof x){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(n=t.method||this.method||"GET",i=n.toUpperCase(),w.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in r)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function k(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function _(e,t){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},y.call(x.prototype),y.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var E=[301,302,303,307,308];_.redirect=function(e,t){if(-1===E.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function C(e,n){return new Promise(function(i,a){var s=new x(e,n);if(s.signal&&s.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function u(){c.abort()}if(c.onload=function(){var e,t,n={statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();try{t.append(r,i)}catch(e){}}}),t)};0===s.url.indexOf("file://")&&(c.status<200||c.status>599)?n.status=200:n.status=c.status,n.url="responseURL"in c?c.responseURL:n.headers.get("X-Request-URL");var r="response"in c?c.response:c.responseText;setTimeout(function(){i(new _(r,n))},0)},c.onerror=function(){setTimeout(function(){a(new TypeError("Network request failed"))},0)},c.ontimeout=function(){setTimeout(function(){a(new TypeError("Network request timed out"))},0)},c.onabort=function(){setTimeout(function(){a(new t.DOMException("Aborted","AbortError"))},0)},c.open(s.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?c.withCredentials=!0:"omit"===s.credentials&&(c.withCredentials=!1),"responseType"in c&&(o?c.responseType="blob":l&&(c.responseType="arraybuffer")),n&&"object"==typeof n.headers&&!(n.headers instanceof h||r.Headers&&n.headers instanceof r.Headers)){var f=[];Object.getOwnPropertyNames(n.headers).forEach(function(e){f.push(p(e)),c.setRequestHeader(e,d(n.headers[e]))}),s.headers.forEach(function(e,t){-1===f.indexOf(t)&&c.setRequestHeader(t,e)})}else s.headers.forEach(function(e,t){c.setRequestHeader(t,e)});s.signal&&(s.signal.addEventListener("abort",u),c.onreadystatechange=function(){4===c.readyState&&s.signal.removeEventListener("abort",u)}),c.send(void 0===s._bodyInit?null:s._bodyInit)})}C.polyfill=!0,r.fetch||(r.fetch=C,r.Headers=h,r.Request=x,r.Response=_),t.Headers=h,t.Request=x,t.Response=_,t.fetch=C}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var a=r.fetch?r:i;(t=a.fetch).default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t},4959(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={buildTime:"2026-01-30T23:18:10Z",commit:"540133ac84232b8d7e6da494691a3fec11707d7c",npmInfo:{"solid-panes":"4.1.0",npm:"10.8.2",node:"20.20.0",acorn:"8.15.0",ada:"2.9.2",ares:"1.34.6",brotli:"1.1.0",cjs_module_lexer:"2.1.0",cldr:"47.0",icu:"77.1",llhttp:"9.3.0",modules:"115",napi:"9",nghttp2:"1.61.0",openssl:"3.0.17",simdutf:"6.4.2",tz:"2025b",undici:"6.23.0",unicode:"16.0",uv:"1.46.0",uvwasi:"0.0.23",v8:"11.3.244.8-node.33",zlib:"1.3.1-470d3a2"}}},5018(e,t,n){"use strict";const{ArrayPrototypePop:r,Promise:i}=n(4641),{isIterable:a,isNodeStream:o,isWebStream:s}=n(136),{pipelineImpl:l}=n(8431),{finished:c}=n(9365);n(2825),e.exports={finished:c,pipeline:function(...e){return new i((t,n)=>{let i,c;const u=e[e.length-1];if(u&&"object"==typeof u&&!o(u)&&!a(u)&&!s(u)){const t=r(e);i=t.signal,c=t.end}l(e,(e,r)=>{e?n(e):t(r)},{signal:i,end:c})})}}},5108(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(4467),i=n(1059),a=n(8936),o=n(9403),s=n(2931),l=n(2915);class c extends a.A{constructor(e){if(super((0,s.E)(e)),(0,r.A)(this,"termType",o.Kk),(0,r.A)(this,"classOrder",i.A.NamedNode),!this.value)throw new Error("Missing IRI for NamedNode");if(!this.value.includes(":"))throw new Error('NamedNode IRI "'+e+'" must be absolute.');if(this.value.includes(" "))throw new Error('Error: NamedNode IRI "'+e+'" must not contain unencoded spaces.')}dir(){var e=this.value.split("#")[0],t=e.slice(0,-1).lastIndexOf("/"),n=e.indexOf("//");return n>=0&&t<n+2||t<0?null:new c(e.slice(0,t+1))}site(){var e=this.value.split("#")[0],t=e.indexOf("//");if(t<0)throw new Error("This URI does not have a web site part (origin)");var n=e.indexOf("/",t+2);return new c(n<0?e.slice(0)+"/":e.slice(0,n+1))}doc(){return this.value.indexOf("#")<0?this:new c(this.value.split("#")[0])}toString(){return"<"+this.value+">"}id(){return this.value.split("#")[1]}get uri(){return this.value}set uri(e){this.value=e}static fromValue(e){return null==e||(0,l.D0)(e)?e:new c(e)}}},5130(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(500)),i=a(n(8230));function a(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(a=function(e,t){if(!t&&e&&e.__esModule)return e;var i,a,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(i=t?r:n){if(i.has(e))return i.get(e);i.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?i(o,t,a):o[t]=e[t]);return o})(e,t)}const o=r.ns;t.default={icon:r.icons.iconBase+"noun_62007.svg",name:"travel expenses",audience:[o.solid("PowerUser")],label:function(e,t){const n=t.session.store,i=n.findTypeURIs(e);return r.ns.qu("Transaction")in n.findSuperClassesNT(e)?"by Trip":i["http://www.w3.org/ns/pim/trip#Trip"]?"Trip $":null},render:function(e,t){const n=t.dom,a=t.store,o=r.ns,s=i.Namespace("http://www.w3.org/2002/12/cal/ical#"),l=i.Namespace("http://www.w3.org/ns/pim/trip#"),c=n.createElement("div");c.setAttribute("class","transactionPane"),c.innerHTML="<h2>Trip transactions</h2>";const u=function(e,t){void 0===t&&(t="color: grey");const r=n.createElement("pre");r.setAttribute("style",t),c.appendChild(r),r.appendChild(n.createTextNode(e))},p=a.findTypeURIs(e),d=function(e,t){const s=new i.Query(r.utils.label(e)),c={};["date","transaction","comment","type","in_USD"].forEach(function(e){s.vars.push(c[e]=i.variable(e))}),s.pat.add(c.transaction,l("trip"),e);const p=a.formula();p.add(c.transaction,o.rdf("type"),c.type),s.pat.optional.push(p),s.pat.add(c.transaction,r.ns.qu("date"),c.date),p.add(c.transaction,o.rdfs("comment"),c.comment),s.pat.optional.push(p),s.pat.add(c.transaction,r.ns.qu("in_USD"),c.in_USD);const d=r.table(n,{query:s,onDone:function(){const t={},n=a.each(void 0,l("trip"),e);n.forEach(function(e){let n=a.the(e,o.rdf("type"));if(n||(n=r.ns.qu("ErrorNoType")),n&&n.uri){const i=n.uri;t[i]||(t[i]=0);const o=a.any(e,r.ns.qu("in_USD"));o||u(" @@ No amount in USD: "+o+" for "+e),o&&(t[i]=t[i]+parseFloat(o.value))}});let i="",s=0,c=0;for(const e in t)i+=r.utils.label(a.sym(e))+": "+t[e]+"; ",s++,c+=t[e];u("Totals of "+n.length+" transactions: "+i,""),s>1&&u("Overall net: "+c,"text-treatment: bold;")}});t.appendChild(d)};if(r.ns.qu("Transaction")in a.findSuperClassesNT(e)){const t=a.each(void 0,o.rdf("type"),e),n=[],i=[];for(let e=0;e<t.length;e++){const o=t[e],s=a.any(o,l("trip"));if(s){o in i||(i[s]={total:0,transactions:[]});const e=a.any(o,r.ns.qu("in_USD"));e&&(i[s].total+=e);const t=a.any(o,r.ns.qu("date"));i[s.toNT()].transactions.push([t,o])}else n.push(o)}const u=[];for(const e in i){const t=a.fromNT(e);u.push([a.any(t,s("dtstart")),t])}u.sort();for(let e=0;e<u.length;e++){d(u[e][1],c)}}else p["http://www.w3.org/ns/pim/trip#Trip"]&&d(e,c);return c}}},5218(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function(e,t){const n=(0,r.getOutliner)(document);let o=t=t||window.location.href;"string"==typeof t&&(o=e.sym(t));n.GotoSubject(o,!0,void 0,!0,void 0);const s=await(0,i.createHeader)(e,n),l=(0,a.createFooter)(e);return Promise.all([s,l])};var r=n(7523),i=n(3469),a=n(8399)},5238(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formPane=void 0;var r=o(n(500)),i=n(9332),a=o(n(8230));function o(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(o=function(e,t){if(!t&&e&&e.__esModule)return e;var i,a,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(i=t?r:n){if(i.has(e))return i.get(e);i.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?i(o,t,a):o[t]=e[t]);return o})(e,t)}const s=r.ns;t.formPane={icon:r.icons.iconBase+"noun_122196.svg",name:"form",audience:[s.solid("PowerUser")],label:function(e){const t=r.widgets.formsFor(e).length;return r.log.debug("Form pane: forms for "+e+": "+t),t?t+" forms":null},render:function(e,t){const n=t.session.store,o=t.dom,l=function(e,t){const n=o.createElement("p");return n.setAttribute("style",t||"color: grey; background-color: white"),d.appendChild(n).textContent=e,n},c=function(e,t){l(e,"style")},u=function(e,t){e||c("Sorry, failed to save your change:\n"+t)},p=i.authn.currentUser(),d=o.createElement("div");if(d.setAttribute("class","formPane"),p){0===n.each(p,s.ui("workspace")).length&&l("You don't seem to have any workspaces defined. A workspace is a place on the web (http://..) or in the file system (file:///) to store application data.\n")}else l("You are not logged in. If you log in and have workspaces then you would be able to select workspace in which to put this new information");const f=function(e,t){n.fetcher.nowOrWhenFetched(e.uri,t,function(n,i){if(!n)return c("Cannot load store "+e.uri+": "+i);const s=r.widgets.formsFor(t);for(let n=0;n<s.length;n++){const i=s[n],l=o.createElement("h4");if(d.appendChild(l),i.uri){const e=a.Util.uri.document(i.uri);if(e.uri!==i.uri){d.appendChild(r.widgets.editFormButton(o,d,i,e,u)).setAttribute("style","float: right;")}}const c=o.createElement("a");c.setAttribute("href",i.uri),l.appendChild(c),c.textContent=r.utils.label(i,!0),r.widgets.appendForm(o,d,{},t,i,e,u)}})};let h=null;const m=a.Util.uri.docpart(e.uri);if(e.uri!==m&&n.updater.editable(m,n)&&(h=e.doc()),h=h||n.any(n.sym(m),s.link("annotationStore")),!h){const t={},n=[];h.statementsMatching(e).forEach(function(e){t[e.why.uri]=1}),h.statementsMatching(void 0,void 0,e).forEach(function(e){t[e.why.uri]=2});for(const e in t)n.push(t[e],e);n.sort();for(let e=0;e<n.length;e++){const t=n[e][1];if(t&&h.updater.editable(t)){h=h.sym(t);break}}}const g="2014";if(h)f(h,e);else{c("No suitable store is known, to edit <"+e.uri+">.");const t=r.login.selectWorkspace(o,function(t){l("Workspace selected OK: "+t);const n=h.each(void 0,s.space("workspace"),t);for(let r=0;r<n.length;r++){const i=n[r],a=h.any(t,s.space("store")),o=h.any(t,s.cal("dtstart")).value(),l=h.any(t,s.cal("dtend")).value();if(a&&o&&l&&o<=g&&l>g){f(a,e);break}c("Note no suitable annotation store in activity: "+i)}});d.appendChild(t)}return d}}},5306(e,t){var n,r,i;r=[],void 0===(i="function"==typeof(n=function(){"use strict";function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,n,r,i){this.message=e,this.expected=n,this.found=r,this.location=i,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}function n(e,n){n=void 0!==n?n:{};var r,i={},a={turtleDoc:Xn},o=Xn,s=function(e){var t=ei.toJSON();return t["@graph"]=[],e.filter(e=>Array.isArray(e)).forEach(e=>{e.forEach(e=>{t["@graph"].push(e)})}),1===t["@graph"].length&&(Object.assign(t,t["@graph"][0]),delete t["@graph"]),t},l="\ufeff",c=$n("\ufeff",!1),u=".",p=$n(".",!1),d=function(e){return e},f="#",h=$n("#",!1),m=/^[^\n]/,g=Wn(["\n"],!0,!1),v="\n",b=$n("\n",!1),y=function(e){return e.join("")},w="@prefix",x=$n("@prefix",!1),k=function(e,t){return ei.addPrefix(""===e?"0":e,t),{}},_="@base",E=$n("@base",!1),C=function(e){return ei.addBase(e),{}},S=/^[Bb]/,A=Wn(["B","b"],!1,!1),T=/^[Aa]/,R=Wn(["A","a"],!1,!1),P=/^[Ss]/,F=Wn(["S","s"],!1,!1),I=/^[Ee]/,N=Wn(["E","e"],!1,!1),O=/^[Pp]/,L=Wn(["P","p"],!1,!1),j=/^[Rr]/,M=Wn(["R","r"],!1,!1),D=/^[Ff]/,U=Wn(["F","f"],!1,!1),B=/^[Ii]/,z=Wn(["I","i"],!1,!1),H=/^[Xx]/,q=Wn(["X","x"],!1,!1),$=function(e,t){var n={};return"string"==typeof e&&"[]"!==e?n["@id"]=e:"object"==typeof e&&Object.assign(n,e),t&&Object.assign(n,t),[n]},W=function(e,t){var n={};return e&&Object.assign(n,e),t&&Object.assign(n,t),[n]},V=";",G=$n(";",!1),K=function(e,t,n,r){var i={};return i[n]=r,i},J=function(e,t,n){return n},Q=function(e,t,n){var r={};return n.unshift(Zr(e,t)),n.forEach(e=>{e&&Object.keys(e).forEach(t=>{e[t].forEach(e=>{"@type"===t&&void 0!==e["@id"]&&(e=e["@id"]),void 0===r[t]?r[t]=e:Array.isArray(r[t])?r[t].push(e):r[t]=[r[t],e]})})}),r},Y=",",X=$n(",",!1),Z=function(e,t){return t},ee=function(e,t){return t.unshift(e),t},te="a",ne=$n("a",!1),re=function(){return"@type"},ie=function(e){return ti(e,!0)},ae=function(e){return ti(e,!1)},oe=function(e){return"[]"===e?{}:{"@id":e}},se=function(e){return{"@id":e}},le="[",ce=$n("[",!1),ue="]",pe=$n("]",!1),de="(",fe=$n("(",!1),he=")",me=$n(")",!1),ge=function(e){return{"@list":e}},ve=function(e,t){return{"@value":e,"@language":t}},be="^^",ye=$n("^^",!1),we=function(e,t){if("http://www.w3.org/2001/XMLSchema#boolean"===t&&"true"===e)return!0;if("http://www.w3.org/2001/XMLSchema#boolean"===t&&"false"===e)return!1;if("http://www.w3.org/2001/XMLSchema#integer"===t)return parseInt(e);if("http://www.w3.org/2001/XMLSchema#double"===t)return parseFloat(e);const n=ei.resolve(t,!0);if(n){const r=t.split(":")[0];if("http://www.w3.org/2001/XMLSchema#boolean"===n&&"true"===e)return ei.decrement(r),!0;if("http://www.w3.org/2001/XMLSchema#boolean"===n&&"false"===e)return ei.decrement(r),!1;if("http://www.w3.org/2001/XMLSchema#integer"===n)return ei.decrement(r),parseInt(e);if("http://www.w3.org/2001/XMLSchema#double"===n)return ei.decrement(r),parseFloat(e)}return{"@value":e,"@type":t}},xe="true",ke=$n("true",!1),_e=function(){return!0},Ee="false",Ce=$n("false",!1),Se=function(){return!1},Ae=function(e){return e+":"},Te="<",Re=$n("<",!1),Pe=/^[^\0- <>"{}|\^`\\]/,Fe=Wn([["\0"," "],"<",">",'"',"{","}","|","^","`","\\"],!0,!1),Ie=">",Ne=$n(">",!1),Oe=function(e){const t=e.map(e=>65536<=e.codePointAt(0)&&e.codePointAt(0)<=983039?"a":1===e.length?e:6===e.length?String.fromCharCode("0x"+e.substring(2)):10===e.length?String.fromCodePoint("0x"+e.substring(2)):e).join("");if(t.match(/^[^\u0000-\u0020<>"{}|^`\\]*$/)){var n=e.join("");try{return ei.resolve(n)}catch(e){qn("Invalid IRIREF "+n)}}else qn("Invalid IRIREF "+e.join("")+" / "+t)},Le=":",je=$n(":",!1),Me=function(e){return e=e||"0",!1===ei.hasPrefix(e)&&qn("undefined prefix "+e),e},De=function(e){return e||""},Ue=function(e,t){return ei.increment(e),ei.resolve(e+":"+t)},Be="_:",ze=$n("_:",!1),He=/^[0-9]/,qe=Wn([["0","9"]],!1,!1),$e="@",We=$n("@",!1),Ve=/^[a-zA-Z]/,Ge=Wn([["a","z"],["A","Z"]],!1,!1),Ke="-",Je=$n("-",!1),Qe=/^[a-zA-Z0-9]/,Ye=Wn([["a","z"],["A","Z"],["0","9"]],!1,!1),Xe=function(e,t){return"-"+t.join("")},Ze=function(e,t){return e.join("")+t.join("")},et=/^[+\-]/,tt=Wn(["+","-"],!1,!1),nt=function(e){return e.match(/^[0+][0-9]+$/)?{"@value":e,"@type":"http://www.w3.org/2001/XMLSchema#integer"}:parseInt(e)},rt=function(e){return{"@value":e,"@type":"http://www.w3.org/2001/XMLSchema#decimal"}},it=function(e){return{"@value":e,"@type":"http://www.w3.org/2001/XMLSchema#double"}},at=/^[eE]/,ot=Wn(["e","E"],!1,!1),st='"',lt=$n('"',!1),ct=/^[^"\\\n\r]/,ut=Wn(['"',"\\","\n","\r"],!0,!1),pt="'",dt=$n("'",!1),ft=/^[^'\\\n\r]/,ht=Wn(["'","\\","\n","\r"],!0,!1),mt="'''",gt=$n("'''",!1),vt=/^[^'\\]/,bt=Wn(["'","\\"],!0,!1),yt="''",wt=$n("''",!1),xt=function(e,t){return"''"+t.join("")},kt=function(e,t){return"'"+t.join("")},_t=function(e,t){return e.join("")+t.join("")},Et='"""',Ct=$n('"""',!1),St=/^[^"\\]/,At=Wn(['"',"\\"],!0,!1),Tt='""',Rt=$n('""',!1),Pt=function(e,t){return'""'+t.join("")},Ft=function(e,t){return'"'+t.join("")},It="\\U",Nt=$n("\\U",!1),Ot=function(e){return String.fromCodePoint(parseInt(e.join(""),16))},Lt="\\u",jt=$n("\\u",!1),Mt=function(e){return String.fromCharCode(parseInt(e.join(""),16))},Dt="\\t",Ut=$n("\\t",!1),Bt=function(){return"\t"},zt="\\b",Ht=$n("\\b",!1),qt=function(){return"\b"},$t="\\n",Wt=$n("\\n",!1),Vt=function(){return"\n"},Gt="\\r",Kt=$n("\\r",!1),Jt=function(){return"\r"},Qt="\\f",Yt=$n("\\f",!1),Xt=function(){return"\f"},Zt='\\"',en=$n('\\"',!1),tn=function(){return'"'},nn="\\'",rn=$n("\\'",!1),an=function(){return"'"},on="\\\\",sn=$n("\\\\",!1),ln=function(){return"\\"},cn=/^[ \t\r\n]/,un=Wn([" ","\t","\r","\n"],!1,!1),pn=function(){return"[]"},dn=/^[\uD800-\uDBFF]/,fn=Wn([["\ud800","\udbff"]],!1,!1),hn=/^[\uDC00-\uDFFF]/,mn=Wn([["\udc00","\udfff"]],!1,!1),gn=function(e,t){return e+t},vn=/^[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]/,bn=Wn([["A","Z"],["a","z"],["À","Ö"],["Ø","ö"],["ø","˿"],["Ͱ","ͽ"],["Ϳ",""],["",""],["⁰",""],["Ⰰ",""],["、",""],["豈","﷏"],["ﷰ","�"]],!1,!1),yn="_",wn=$n("_",!1),xn="·",kn=$n("·",!1),_n=/^[\u0300-\u036F]/,En=Wn([["̀","ͯ"]],!1,!1),Cn=/^[\u203F-\u2040]/,Sn=Wn([["‿","⁀"]],!1,!1),An=function(e,t,n,r){return n.join("")+r.join("")},Tn=function(e,t,n){return e+t.join("")+n.join("")},Rn="%",Pn=$n("%",!1),Fn=/^[0-9A-Fa-f]/,In=Wn([["0","9"],["A","F"],["a","f"]],!1,!1),Nn="\\",On=$n("\\",!1),Ln=/^[_~.!$&'()*+,;=\/?#@%\-]/,jn=Wn(["_","~",".","!","$","&","'","(",")","*","+",",",";","=","/","?","#","@","%","-"],!1,!1),Mn=0,Dn=0,Un=[{line:1,column:1}],Bn=0,zn=[],Hn=0;if("startRule"in n){if(!(n.startRule in a))throw new Error("Can't start parsing from rule \""+n.startRule+'".');o=a[n.startRule]}function qn(e,t){throw Qn(e,t=void 0!==t?t:Kn(Dn,Mn))}function $n(e,t){return{type:"literal",text:e,ignoreCase:t}}function Wn(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Vn(){return{type:"end"}}function Gn(t){var n,r=Un[t];if(r)return r;for(n=t-1;!Un[n];)n--;for(r={line:(r=Un[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return Un[t]=r,r}function Kn(e,t){var n=Gn(e),r=Gn(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function Jn(e){Mn<Bn||(Mn>Bn&&(Bn=Mn,zn=[]),zn.push(e))}function Qn(e,n){return new t(e,null,null,n)}function Yn(e,n,r){return new t(t.buildMessage(e,n),e,n,r)}function Xn(){var e,t,n,r,a;for(e=Mn,t=[],n=Zn();n!==i;)t.push(n),n=Zn();if(t!==i){for(n=[],r=er();r!==i;)n.push(r),r=er();if(n!==i){for(r=[],a=nr();a!==i;)r.push(a),a=nr();r!==i?(Dn=e,e=t=s(n)):(Mn=e,e=i)}else Mn=e,e=i}else Mn=e,e=i;return e}function Zn(){var t;return 65279===e.charCodeAt(Mn)?(t=l,Mn++):(t=i,0===Hn&&Jn(c)),t}function er(){var t,n,r,a;if((t=rr())===i)if(t=Mn,(n=lr())!==i){for(r=[],a=nr();a!==i;)r.push(a),a=nr();r!==i?(46===e.charCodeAt(Mn)?(a=u,Mn++):(a=i,0===Hn&&Jn(p)),a!==i?(Dn=t,t=n=d(n)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function tr(){var t,n,r,a;if(t=Mn,35===e.charCodeAt(Mn)?(n=f,Mn++):(n=i,0===Hn&&Jn(h)),n!==i){for(r=[],m.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(g));a!==i;)r.push(a),m.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(g));r!==i?(10===e.charCodeAt(Mn)?(a=v,Mn++):(a=i,0===Hn&&Jn(b)),a!==i?(Dn=t,t=n=y(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function nr(){var e;return(e=zr())===i&&(e=tr()),e}function rr(){var e;return(e=ir())===i&&(e=ar())===i&&(e=sr())===i&&(e=or()),e}function ir(){var t,n,r,a,o,s,l,c,d;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(e.substr(Mn,7)===w?(r=w,Mn+=7):(r=i,0===Hn&&Jn(x)),r!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();if(a!==i)if((o=Ar())!==i){for(s=[],l=nr();l!==i;)s.push(l),l=nr();if(s!==i)if((l=Cr())!==i){for(c=[],d=nr();d!==i;)c.push(d),d=nr();c!==i?(46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p)),d!==i?(Dn=t,t=n=k(o,l)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;return t}function ar(){var t,n,r,a,o,s,l;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(e.substr(Mn,5)===_?(r=_,Mn+=5):(r=i,0===Hn&&Jn(E)),r!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();if(a!==i)if((o=Cr())!==i){for(s=[],l=nr();l!==i;)s.push(l),l=nr();s!==i?(46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i?(Dn=t,t=n=C(o)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;return t}function or(){var t,n,r,a,o,s,l,c;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(S.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(A)),r!==i)if(T.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(R)),a!==i)if(P.test(e.charAt(Mn))?(o=e.charAt(Mn),Mn++):(o=i,0===Hn&&Jn(F)),o!==i)if(I.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(N)),s!==i){for(l=[],c=nr();c!==i;)l.push(c),c=nr();l!==i&&(c=Cr())!==i?(Dn=t,t=n=C(c)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;return t}function sr(){var t,n,r,a,o,s,l,c,u,p,d,f;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(O.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(L)),r!==i)if(j.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(M)),a!==i)if(I.test(e.charAt(Mn))?(o=e.charAt(Mn),Mn++):(o=i,0===Hn&&Jn(N)),o!==i)if(D.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(U)),s!==i)if(B.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(z)),l!==i)if(H.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(q)),c!==i){for(u=[],p=nr();p!==i;)u.push(p),p=nr();if(u!==i)if((p=Ar())!==i){for(d=[],f=nr();f!==i;)d.push(f),f=nr();d!==i&&(f=Cr())!==i?(Dn=t,t=n=k(p,f)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;return t}function lr(){var e,t,n;return e=Mn,(t=dr())!==i&&(n=cr())!==i?(Dn=e,e=t=$(t,n)):(Mn=e,e=i),e===i&&(e=Mn,(t=gr())!==i?((n=cr())===i&&(n=null),n!==i?(Dn=e,e=t=W(t,n)):(Mn=e,e=i)):(Mn=e,e=i)),e}function cr(){var t,n,r,a,o,s,l,c,u,p;if(t=Mn,(n=pr())!==i)if((r=ur())!==i){for(a=[],o=Mn,s=[],l=nr();l!==i;)s.push(l),l=nr();for(s!==i?(59===e.charCodeAt(Mn)?(l=V,Mn++):(l=i,0===Hn&&Jn(G)),l!==i?(c=Mn,(u=pr())!==i&&(p=ur())!==i?(Dn=c,c=u=K(n,r,u,p)):(Mn=c,c=i),c===i&&(c=null),c!==i?(Dn=o,o=s=J(n,r,c)):(Mn=o,o=i)):(Mn=o,o=i)):(Mn=o,o=i);o!==i;){for(a.push(o),o=Mn,s=[],l=nr();l!==i;)s.push(l),l=nr();s!==i?(59===e.charCodeAt(Mn)?(l=V,Mn++):(l=i,0===Hn&&Jn(G)),l!==i?(c=Mn,(u=pr())!==i&&(p=ur())!==i?(Dn=c,c=u=K(n,r,u,p)):(Mn=c,c=i),c===i&&(c=null),c!==i?(Dn=o,o=s=J(n,r,c)):(Mn=o,o=i)):(Mn=o,o=i)):(Mn=o,o=i)}a!==i?(Dn=t,t=n=Q(n,r,a)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;return t}function ur(){var t,n,r,a,o,s,l;if(t=Mn,(n=hr())!==i){for(r=[],a=Mn,o=[],s=nr();s!==i;)o.push(s),s=nr();for(o!==i?(44===e.charCodeAt(Mn)?(s=Y,Mn++):(s=i,0===Hn&&Jn(X)),s!==i&&(l=hr())!==i?(Dn=a,a=o=Z(n,l)):(Mn=a,a=i)):(Mn=a,a=i);a!==i;){for(r.push(a),a=Mn,o=[],s=nr();s!==i;)o.push(s),s=nr();o!==i?(44===e.charCodeAt(Mn)?(s=Y,Mn++):(s=i,0===Hn&&Jn(X)),s!==i&&(l=hr())!==i?(Dn=a,a=o=Z(n,l)):(Mn=a,a=i)):(Mn=a,a=i)}r!==i?(Dn=t,t=n=ee(n,r)):(Mn=t,t=i)}else Mn=t,t=i;return t}function pr(){var t,n,r;if(t=Mn,(n=fr())!==i&&(Dn=t,n=d(n)),(t=n)===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();n!==i?(97===e.charCodeAt(Mn)?(r=te,Mn++):(r=i,0===Hn&&Jn(ne)),r!==i?(Dn=t,t=n=re()):(Mn=t,t=i)):(Mn=t,t=i)}return t}function dr(){var e,t;return e=Mn,(t=vr())!==i&&(Dn=e,t=ie(t)),(e=t)===i&&(e=Er())===i&&(e=kr()),e}function fr(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();return t!==i&&(n=kr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i),e}function hr(){var e,t;return(e=mr())===i&&(e=Mn,(t=vr())!==i&&(Dn=e,t=ae(t)),(e=t)===i&&(e=Mn,(t=Er())!==i&&(Dn=e,t=oe(t)),(e=t)===i&&(e=Mn,(t=gr())!==i&&(Dn=e,t=d(t)),(e=t)===i&&(e=Mn,(t=kr())!==i&&(Dn=e,t=se(t)),e=t)))),e}function mr(){var e;return(e=yr())===i&&(e=br())===i&&(e=wr()),e}function gr(){var t,n,r,a,o,s;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(91===e.charCodeAt(Mn)?(r=le,Mn++):(r=i,0===Hn&&Jn(ce)),r!==i)if((a=cr())!==i){for(o=[],s=nr();s!==i;)o.push(s),s=nr();o!==i?(93===e.charCodeAt(Mn)?(s=ue,Mn++):(s=i,0===Hn&&Jn(pe)),s!==i?(Dn=t,t=n=d(a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;else Mn=t,t=i;return t}function vr(){var t,n,r,a,o,s;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if(40===e.charCodeAt(Mn)?(r=de,Mn++):(r=i,0===Hn&&Jn(fe)),r!==i){for(a=[],o=hr();o!==i;)a.push(o),o=hr();if(a!==i){for(o=[],s=nr();s!==i;)o.push(s),s=nr();o!==i?(41===e.charCodeAt(Mn)?(s=he,Mn++):(s=i,0===Hn&&Jn(me)),s!==i?(Dn=t,t=n=ge(a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;return t}function br(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();return t!==i?((n=Nr())===i&&(n=Ir())===i&&(n=Fr()),n!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)):(Mn=e,e=i),e}function yr(){var t,n,r,a,o,s,l;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if((r=xr())!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();a!==i&&(o=Pr())!==i?(Dn=t,t=n=ve(r,o)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i;if(t===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i)if((r=xr())!==i){for(a=[],o=nr();o!==i;)a.push(o),o=nr();if(a!==i)if(e.substr(Mn,2)===be?(o=be,Mn+=2):(o=i,0===Hn&&Jn(ye)),o!==i){for(s=[],l=nr();l!==i;)s.push(l),l=nr();s!==i&&(l=kr())!==i?(Dn=t,t=n=we(r,l)):(Mn=t,t=i)}else Mn=t,t=i;else Mn=t,t=i}else Mn=t,t=i;else Mn=t,t=i;if(t===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();n!==i&&(r=xr())!==i?(Dn=t,t=n=d(r)):(Mn=t,t=i)}}return t}function wr(){var t,n,r;for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();if(n!==i?(e.substr(Mn,4)===xe?(r=xe,Mn+=4):(r=i,0===Hn&&Jn(ke)),r!==i?(Dn=t,t=n=_e()):(Mn=t,t=i)):(Mn=t,t=i),t===i){for(t=Mn,n=[],r=nr();r!==i;)n.push(r),r=nr();n!==i?(e.substr(Mn,5)===Ee?(r=Ee,Mn+=5):(r=i,0===Hn&&Jn(Ce)),r!==i?(Dn=t,t=n=Se()):(Mn=t,t=i)):(Mn=t,t=i)}return t}function xr(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();return t!==i?((n=Mr())===i&&(n=Dr())===i&&(n=jr())===i&&(n=Lr()),n!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)):(Mn=e,e=i),e}function kr(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();if(t!==i&&(n=Cr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i),e===i){for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();t!==i&&(n=_r())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)}return e}function _r(){var e,t;return(e=Tr())===i&&(e=Mn,(t=Sr())!==i&&(Dn=e,t=Ae(t)),e=t),e}function Er(){var e,t,n;for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();if(t!==i&&(n=Rr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i),e===i){for(e=Mn,t=[],n=nr();n!==i;)t.push(n),n=nr();t!==i&&(n=Hr())!==i?(Dn=e,e=t=d(n)):(Mn=e,e=i)}return e}function Cr(){var t,n,r,a;if(t=Mn,60===e.charCodeAt(Mn)?(n=Te,Mn++):(n=i,0===Hn&&Jn(Re)),n!==i){for(r=[],Pe.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Fe)),a===i&&(a=Ur());a!==i;)r.push(a),Pe.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Fe)),a===i&&(a=Ur());r!==i?(62===e.charCodeAt(Mn)?(a=Ie,Mn++):(a=i,0===Hn&&Jn(Ne)),a!==i?(Dn=t,t=n=Oe(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function Sr(){var t,n,r;return t=Mn,(n=Vr())===i&&(n=null),n!==i?(58===e.charCodeAt(Mn)?(r=Le,Mn++):(r=i,0===Hn&&Jn(je)),r!==i?(Dn=t,t=n=Me(n)):(Mn=t,t=i)):(Mn=t,t=i),t}function Ar(){var t,n,r;return t=Mn,(n=Vr())===i&&(n=null),n!==i?(58===e.charCodeAt(Mn)?(r=Le,Mn++):(r=i,0===Hn&&Jn(je)),r!==i?(Dn=t,t=n=De(n)):(Mn=t,t=i)):(Mn=t,t=i),t}function Tr(){var e,t,n;return e=Mn,(t=Sr())!==i&&(n=Gr())!==i?(Dn=e,e=t=Ue(t,n)):(Mn=e,e=i),e}function Rr(){var t,n,r,a,o,s,l,c,d,f;if(t=Mn,n=Mn,e.substr(Mn,2)===Be?(r=Be,Mn+=2):(r=i,0===Hn&&Jn(ze)),r!==i)if((a=$r())===i&&(He.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(qe))),a!==i){for(o=[],s=Wr();s!==i;)o.push(s),s=Wr();if(o!==i){if(s=[],l=Mn,c=[],46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p)),d!==i)for(;d!==i;)c.push(d),46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p));else c=i;if(c!==i){if(d=[],(f=Wr())!==i)for(;f!==i;)d.push(f),f=Wr();else d=i;d!==i?l=c=[c,d]:(Mn=l,l=i)}else Mn=l,l=i;for(;l!==i;){if(s.push(l),l=Mn,c=[],46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p)),d!==i)for(;d!==i;)c.push(d),46===e.charCodeAt(Mn)?(d=u,Mn++):(d=i,0===Hn&&Jn(p));else c=i;if(c!==i){if(d=[],(f=Wr())!==i)for(;f!==i;)d.push(f),f=Wr();else d=i;d!==i?l=c=[c,d]:(Mn=l,l=i)}else Mn=l,l=i}s!==i?n=r=[r,a,o,s]:(Mn=n,n=i)}else Mn=n,n=i}else Mn=n,n=i;else Mn=n,n=i;return t=n!==i?e.substring(t,Mn):n}function Pr(){var t,n,r,a,o,s,l,c;if(t=Mn,64===e.charCodeAt(Mn)?(n=$e,Mn++):(n=i,0===Hn&&Jn(We)),n!==i){if(r=[],Ve.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Ge)),a!==i)for(;a!==i;)r.push(a),Ve.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(Ge));else r=i;if(r!==i){if(a=[],o=Mn,45===e.charCodeAt(Mn)?(s=Ke,Mn++):(s=i,0===Hn&&Jn(Je)),s!==i){if(l=[],Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye)),c!==i)for(;c!==i;)l.push(c),Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye));else l=i;l!==i?(Dn=o,o=s=Xe(r,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;)if(a.push(o),o=Mn,45===e.charCodeAt(Mn)?(s=Ke,Mn++):(s=i,0===Hn&&Jn(Je)),s!==i){if(l=[],Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye)),c!==i)for(;c!==i;)l.push(c),Qe.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(Ye));else l=i;l!==i?(Dn=o,o=s=Xe(r,l)):(Mn=o,o=i)}else Mn=o,o=i;a!==i?(Dn=t,t=n=Ze(r,a)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Fr(){var t,n,r,a,o,s;if(t=Mn,n=Mn,r=Mn,et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){if(o=[],He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe)),s!==i)for(;s!==i;)o.push(s),He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));else o=i;o!==i?r=a=[a,o]:(Mn=r,r=i)}else Mn=r,r=i;return(n=r!==i?e.substring(n,Mn):r)!==i&&(Dn=t,n=nt(n)),t=n}function Ir(){var t,n,r,a,o,s,l,c;if(t=Mn,n=Mn,r=Mn,et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){for(o=[],He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));s!==i;)o.push(s),He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));if(o!==i)if(46===e.charCodeAt(Mn)?(s=u,Mn++):(s=i,0===Hn&&Jn(p)),s!==i){if(l=[],He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe)),c!==i)for(;c!==i;)l.push(c),He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe));else l=i;l!==i?r=a=[a,o,s,l]:(Mn=r,r=i)}else Mn=r,r=i;else Mn=r,r=i}else Mn=r,r=i;return(n=r!==i?e.substring(n,Mn):r)!==i&&(Dn=t,n=rt(n)),t=n}function Nr(){var t,n,r,a,o,s,l,c,d;if(t=Mn,n=Mn,r=Mn,et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){if(o=Mn,s=[],He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe)),l!==i)for(;l!==i;)s.push(l),He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe));else s=i;if(s!==i)if(46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i){for(c=[],He.test(e.charAt(Mn))?(d=e.charAt(Mn),Mn++):(d=i,0===Hn&&Jn(qe));d!==i;)c.push(d),He.test(e.charAt(Mn))?(d=e.charAt(Mn),Mn++):(d=i,0===Hn&&Jn(qe));c!==i&&(d=Or())!==i?o=s=[s,l,c,d]:(Mn=o,o=i)}else Mn=o,o=i;else Mn=o,o=i;if(o===i){if(o=Mn,46===e.charCodeAt(Mn)?(s=u,Mn++):(s=i,0===Hn&&Jn(p)),s!==i){if(l=[],He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe)),c!==i)for(;c!==i;)l.push(c),He.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(qe));else l=i;l!==i&&(c=Or())!==i?o=s=[s,l,c]:(Mn=o,o=i)}else Mn=o,o=i;if(o===i){if(o=Mn,s=[],He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe)),l!==i)for(;l!==i;)s.push(l),He.test(e.charAt(Mn))?(l=e.charAt(Mn),Mn++):(l=i,0===Hn&&Jn(qe));else s=i;s!==i&&(l=Or())!==i?o=s=[s,l]:(Mn=o,o=i)}}o!==i?r=a=[a,o]:(Mn=r,r=i)}else Mn=r,r=i;return(n=r!==i?e.substring(n,Mn):r)!==i&&(Dn=t,n=it(n)),t=n}function Or(){var t,n,r,a,o,s;if(t=Mn,n=Mn,at.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(ot)),r!==i)if(et.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(tt)),a===i&&(a=null),a!==i){if(o=[],He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe)),s!==i)for(;s!==i;)o.push(s),He.test(e.charAt(Mn))?(s=e.charAt(Mn),Mn++):(s=i,0===Hn&&Jn(qe));else o=i;o!==i?n=r=[r,a,o]:(Mn=n,n=i)}else Mn=n,n=i;else Mn=n,n=i;return t=n!==i?e.substring(t,Mn):n}function Lr(){var t,n,r,a;if(t=Mn,34===e.charCodeAt(Mn)?(n=st,Mn++):(n=i,0===Hn&&Jn(lt)),n!==i){for(r=[],ct.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ut)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),ct.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ut)),a===i&&(a=Br())===i&&(a=Ur());r!==i?(34===e.charCodeAt(Mn)?(a=st,Mn++):(a=i,0===Hn&&Jn(lt)),a!==i?(Dn=t,t=n=y(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function jr(){var t,n,r,a;if(t=Mn,39===e.charCodeAt(Mn)?(n=pt,Mn++):(n=i,0===Hn&&Jn(dt)),n!==i){for(r=[],ft.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ht)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),ft.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(ht)),a===i&&(a=Br())===i&&(a=Ur());r!==i?(39===e.charCodeAt(Mn)?(a=pt,Mn++):(a=i,0===Hn&&Jn(dt)),a!==i?(Dn=t,t=n=y(r)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function Mr(){var t,n,r,a,o,s,l,c;if(t=Mn,e.substr(Mn,3)===mt?(n=mt,Mn+=3):(n=i,0===Hn&&Jn(gt)),n!==i){for(r=[],vt.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(bt)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),vt.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(bt)),a===i&&(a=Br())===i&&(a=Ur());if(r!==i){if(a=[],o=Mn,e.substr(Mn,2)===yt?(s=yt,Mn+=2):(s=i,0===Hn&&Jn(wt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=xt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,39===e.charCodeAt(Mn)?(s=pt,Mn++):(s=i,0===Hn&&Jn(dt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=kt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;){if(a.push(o),o=Mn,e.substr(Mn,2)===yt?(s=yt,Mn+=2):(s=i,0===Hn&&Jn(wt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=xt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,39===e.charCodeAt(Mn)?(s=pt,Mn++):(s=i,0===Hn&&Jn(dt)),s!==i){if(l=[],vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),vt.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(bt)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=kt(r,l)):(Mn=o,o=i)}else Mn=o,o=i}a!==i?(e.substr(Mn,3)===mt?(o=mt,Mn+=3):(o=i,0===Hn&&Jn(gt)),o!==i?(Dn=t,t=n=_t(r,a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Dr(){var t,n,r,a,o,s,l,c;if(t=Mn,e.substr(Mn,3)===Et?(n=Et,Mn+=3):(n=i,0===Hn&&Jn(Ct)),n!==i){for(r=[],St.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(At)),a===i&&(a=Br())===i&&(a=Ur());a!==i;)r.push(a),St.test(e.charAt(Mn))?(a=e.charAt(Mn),Mn++):(a=i,0===Hn&&Jn(At)),a===i&&(a=Br())===i&&(a=Ur());if(r!==i){if(a=[],o=Mn,e.substr(Mn,2)===Tt?(s=Tt,Mn+=2):(s=i,0===Hn&&Jn(Rt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Pt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,34===e.charCodeAt(Mn)?(s=st,Mn++):(s=i,0===Hn&&Jn(lt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Ft(r,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;){if(a.push(o),o=Mn,e.substr(Mn,2)===Tt?(s=Tt,Mn+=2):(s=i,0===Hn&&Jn(Rt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Pt(r,l)):(Mn=o,o=i)}else Mn=o,o=i;if(o===i)if(o=Mn,34===e.charCodeAt(Mn)?(s=st,Mn++):(s=i,0===Hn&&Jn(lt)),s!==i){if(l=[],St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur()),c!==i)for(;c!==i;)l.push(c),St.test(e.charAt(Mn))?(c=e.charAt(Mn),Mn++):(c=i,0===Hn&&Jn(At)),c===i&&(c=Br())===i&&(c=Ur());else l=i;l!==i?(Dn=o,o=s=Ft(r,l)):(Mn=o,o=i)}else Mn=o,o=i}a!==i?(e.substr(Mn,3)===Et?(o=Et,Mn+=3):(o=i,0===Hn&&Jn(Ct)),o!==i?(Dn=t,t=n=_t(r,a)):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Ur(){var t,n,r,a,o,s,l,c,u,p,d;return t=Mn,e.substr(Mn,2)===It?(n=It,Mn+=2):(n=i,0===Hn&&Jn(Nt)),n!==i?(r=Mn,(a=Qr())!==i&&(o=Qr())!==i&&(s=Qr())!==i&&(l=Qr())!==i&&(c=Qr())!==i&&(u=Qr())!==i&&(p=Qr())!==i&&(d=Qr())!==i?r=a=[a,o,s,l,c,u,p,d]:(Mn=r,r=i),r!==i?(Dn=t,t=n=Ot(r)):(Mn=t,t=i)):(Mn=t,t=i),t===i&&(t=Mn,e.substr(Mn,2)===Lt?(n=Lt,Mn+=2):(n=i,0===Hn&&Jn(jt)),n!==i?(r=Mn,(a=Qr())!==i&&(o=Qr())!==i&&(s=Qr())!==i&&(l=Qr())!==i?r=a=[a,o,s,l]:(Mn=r,r=i),r!==i?(Dn=t,t=n=Mt(r)):(Mn=t,t=i)):(Mn=t,t=i)),t}function Br(){var t,n;return t=Mn,e.substr(Mn,2)===Dt?(n=Dt,Mn+=2):(n=i,0===Hn&&Jn(Ut)),n!==i&&(Dn=t,n=Bt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===zt?(n=zt,Mn+=2):(n=i,0===Hn&&Jn(Ht)),n!==i&&(Dn=t,n=qt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===$t?(n=$t,Mn+=2):(n=i,0===Hn&&Jn(Wt)),n!==i&&(Dn=t,n=Vt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===Gt?(n=Gt,Mn+=2):(n=i,0===Hn&&Jn(Kt)),n!==i&&(Dn=t,n=Jt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===Qt?(n=Qt,Mn+=2):(n=i,0===Hn&&Jn(Yt)),n!==i&&(Dn=t,n=Xt()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===Zt?(n=Zt,Mn+=2):(n=i,0===Hn&&Jn(en)),n!==i&&(Dn=t,n=tn()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===nn?(n=nn,Mn+=2):(n=i,0===Hn&&Jn(rn)),n!==i&&(Dn=t,n=an()),(t=n)===i&&(t=Mn,e.substr(Mn,2)===on?(n=on,Mn+=2):(n=i,0===Hn&&Jn(sn)),n!==i&&(Dn=t,n=ln()),t=n))))))),t}function zr(){var t;return cn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(un)),t}function Hr(){var t,n,r,a;if(t=Mn,91===e.charCodeAt(Mn)?(n=le,Mn++):(n=i,0===Hn&&Jn(ce)),n!==i){for(r=[],a=nr();a!==i;)r.push(a),a=nr();r!==i?(93===e.charCodeAt(Mn)?(a=ue,Mn++):(a=i,0===Hn&&Jn(pe)),a!==i?(Dn=t,t=n=pn()):(Mn=t,t=i)):(Mn=t,t=i)}else Mn=t,t=i;return t}function qr(){var t,n,r;return t=Mn,dn.test(e.charAt(Mn))?(n=e.charAt(Mn),Mn++):(n=i,0===Hn&&Jn(fn)),n!==i?(hn.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(mn)),r!==i?(Dn=t,t=n=gn(n,r)):(Mn=t,t=i)):(Mn=t,t=i),t===i&&(vn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(bn))),t}function $r(){var t;return(t=qr())===i&&(95===e.charCodeAt(Mn)?(t=yn,Mn++):(t=i,0===Hn&&Jn(wn))),t}function Wr(){var t;return(t=$r())===i&&(45===e.charCodeAt(Mn)?(t=Ke,Mn++):(t=i,0===Hn&&Jn(Je)),t===i&&(He.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(qe)),t===i&&(183===e.charCodeAt(Mn)?(t=xn,Mn++):(t=i,0===Hn&&Jn(kn)),t===i&&(_n.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(En)),t===i&&(Cn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(Sn))))))),t}function Vr(){var t,n,r,a,o,s,l,c,d;if(t=Mn,n=Mn,(r=qr())!==i){for(a=[],o=Wr();o!==i;)a.push(o),o=Wr();if(a!==i){if(o=[],s=Mn,l=[],46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p)),c!==i)for(;c!==i;)l.push(c),46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p));else l=i;if(l!==i){if(c=[],(d=Wr())!==i)for(;d!==i;)c.push(d),d=Wr();else c=i;c!==i?s=l=[l,c]:(Mn=s,s=i)}else Mn=s,s=i;for(;s!==i;){if(o.push(s),s=Mn,l=[],46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p)),c!==i)for(;c!==i;)l.push(c),46===e.charCodeAt(Mn)?(c=u,Mn++):(c=i,0===Hn&&Jn(p));else l=i;if(l!==i){if(c=[],(d=Wr())!==i)for(;d!==i;)c.push(d),d=Wr();else c=i;c!==i?s=l=[l,c]:(Mn=s,s=i)}else Mn=s,s=i}o!==i?n=r=[r,a,o]:(Mn=n,n=i)}else Mn=n,n=i}else Mn=n,n=i;return t=n!==i?e.substring(t,Mn):n}function Gr(){var t,n,r,a,o,s,l,c;if(t=Mn,(n=$r())===i&&(58===e.charCodeAt(Mn)?(n=Le,Mn++):(n=i,0===Hn&&Jn(je)),n===i&&(He.test(e.charAt(Mn))?(n=e.charAt(Mn),Mn++):(n=i,0===Hn&&Jn(qe)),n===i&&(n=Kr()))),n!==i){for(r=[],(a=Wr())===i&&(58===e.charCodeAt(Mn)?(a=Le,Mn++):(a=i,0===Hn&&Jn(je)),a===i&&(a=Kr()));a!==i;)r.push(a),(a=Wr())===i&&(58===e.charCodeAt(Mn)?(a=Le,Mn++):(a=i,0===Hn&&Jn(je)),a===i&&(a=Kr()));if(r!==i){if(a=[],o=Mn,s=[],46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i)for(;l!==i;)s.push(l),46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p));else s=i;if(s!==i){if(l=[],(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr())),c!==i)for(;c!==i;)l.push(c),(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr()));else l=i;l!==i?(Dn=o,o=s=An(n,r,s,l)):(Mn=o,o=i)}else Mn=o,o=i;for(;o!==i;){if(a.push(o),o=Mn,s=[],46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p)),l!==i)for(;l!==i;)s.push(l),46===e.charCodeAt(Mn)?(l=u,Mn++):(l=i,0===Hn&&Jn(p));else s=i;if(s!==i){if(l=[],(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr())),c!==i)for(;c!==i;)l.push(c),(c=Wr())===i&&(58===e.charCodeAt(Mn)?(c=Le,Mn++):(c=i,0===Hn&&Jn(je)),c===i&&(c=Kr()));else l=i;l!==i?(Dn=o,o=s=An(n,r,s,l)):(Mn=o,o=i)}else Mn=o,o=i}a!==i?(Dn=t,t=n=Tn(n,r,a)):(Mn=t,t=i)}else Mn=t,t=i}else Mn=t,t=i;return t}function Kr(){var e;return(e=Jr())===i&&(e=Yr()),e}function Jr(){var t,n,r,a,o;return t=Mn,n=Mn,37===e.charCodeAt(Mn)?(r=Rn,Mn++):(r=i,0===Hn&&Jn(Pn)),r!==i&&(a=Qr())!==i&&(o=Qr())!==i?n=r=[r,a,o]:(Mn=n,n=i),t=n!==i?e.substring(t,Mn):n}function Qr(){var t;return Fn.test(e.charAt(Mn))?(t=e.charAt(Mn),Mn++):(t=i,0===Hn&&Jn(In)),t}function Yr(){var t,n,r;return t=Mn,92===e.charCodeAt(Mn)?(n=Nn,Mn++):(n=i,0===Hn&&Jn(On)),n!==i?(Ln.test(e.charAt(Mn))?(r=e.charAt(Mn),Mn++):(r=i,0===Hn&&Jn(jn)),r!==i?(Dn=t,t=n=d(r)):(Mn=t,t=i)):(Mn=t,t=i),t}var Xr=function(e){return e.match(/^[a-z](.*?):(.+?)/g)};function Zr(e,t){var n={};return n[e]=t,n}var ei={base:[],data:{},addBase:function(e){if(0===ei.base.length)return void ei.base.push(e);const t=ei.base[ei.base.length-1];t!==e&&ei.base.push(new URL(e,t).toString())},addPrefix:function(e,t){const n=ei.data[e];void 0===n?ei.data[e]=[{uri:t,count:0}]:n[n.length-1].uri!==t&&n.push({uri:t,count:0})},hasPrefix:function(e){return void 0!==this.data[e]},resolve:function(e,t){const r=Object.keys(ei.data).find(t=>0===e.indexOf(t+":"));if(void 0!==r){const n=ei.data[r];if(1===n.length&&!0!==t&&Xr(n[0].uri))return e;const i=n[n.length-1].uri;return e.replace(r+":",i)}var i=0===ei.base.length?n.baseIRI:ei.base[ei.base.length-1];return!i||e.match(/^(http:|https:|urn:|file:)/)?e:0===e.indexOf("//")&&i?i.split("//")[0]+e:new URL(e,i).toString()},increment:function(e){const t=ei.data[e];void 0!==t&&t[t.length-1].count++},decrement:function(e){const t=ei.data[e];void 0!==t&&t[t.length-1].count--},toJSON:function(){const e={};return ei.base.length>0&&(void 0===e["@context"]&&(e["@context"]={}),e["@context"]["@base"]=ei.base[0]),Object.keys(ei.data).forEach(t=>{const n=ei.data[t][0];"http://www.w3.org/2001/XMLSchema#"===n.uri&&n.count<1||Xr(n.uri)&&(void 0===e["@context"]&&(e["@context"]={}),e["@context"][t]=n.uri)}),e}};function ti(e,t){if(void 0===e["@list"])return e;if(!t&&!e["@list"].find(e=>void 0!==e["@list"]))return e;if(0===e["@list"].length)return{"@id":"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"};var n={},r=null;return e["@list"].forEach(e=>{null===r?r=n:(r["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]={},r=r["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]),r["http://www.w3.org/1999/02/22-rdf-syntax-ns#first"]=ti(e,!0),r["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]={"@id":"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"}}),n}if((r=o())!==i&&Mn===e.length)return r;throw r!==i&&Mn<e.length&&Jn(Vn()),Yn(zn,Bn<e.length?e.charAt(Bn):null,Bn<e.length?Kn(Bn,Bn+1):Kn(Bn,Bn))}return e(t,Error),t.buildMessage=function(e,t){var n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?a(e.parts[t][0])+"-"+a(e.parts[t][1]):a(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function o(e){return n[e.type](e)}function s(e){var t,n,r=new Array(e.length);for(t=0;t<e.length;t++)r[t]=o(e[t]);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}function l(e){return e?'"'+i(e)+'"':"end of input"}return"Expected "+s(e)+" but "+l(t)+" found."},{SyntaxError:t,parse:n}})?n.apply(t,r):n)||(e.exports=i)},5338(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}}(),e.exports=n(1247)},5382(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classInstancePane=void 0;var r=a(n(500)),i=a(n(8230));function a(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(a=function(e,t){if(!t&&e&&e.__esModule)return e;var i,a,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(i=t?r:n){if(i.has(e))return i.get(e);i.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?i(o,t,a):o[t]=e[t]);return o})(e,t)}const o=r.ns;t.classInstancePane={icon:r.icons.originalIconBase+"tango/22-folder-open.png",name:"classInstance",audience:[o.solid("PowerUser")],label:function(e,t){const n=t.session.store.each(void 0,o.rdf("type"),e).length;return n>0?"List ("+n+")":null},render:function(e,t){const n=t.dom,a=t.getOutliner(n),s=t.session.store,l=function(e,t){const r=n.createElement("pre");r.setAttribute("style","background-color: "+t||0),c.appendChild(r),r.appendChild(n.createTextNode(e))},c=n.createElement("div");c.setAttribute("class","instancePane"),c.setAttribute("style"," border-top: solid 1px #777; border-bottom: solid 1px #777; margin-top: 0.5em; margin-bottom: 0.5em ");const u=s.statementsMatching(void 0,o.rdf("type"),e);if(u.length>0){const t={},p=[];u.forEach(e=>{t[e.subject.toNT()]=e});for(const n in s.findMembersNT(e))t[n]||p.push(i.st(s.fromNT(n),o.rdf("type"),e));if(p.length&&l("There are "+u.length+" explicit and "+p.length+" implicit members of "+r.utils.label(e)),e.sameTerm(o.rdf("Property")));else if(e.sameTerm(o.rdfs("Class"))){const e=s.statementsMatching(void 0,o.rdf("type"),void 0),t={};e.forEach(function(e){t[e.object]=e});const n=[];for(const e in t)n.push(i.st(i.sym(e),o.rdf("type"),o.rdfs("Class")));l("Total of "+e.length+" type statements and "+n.length+" unique types.")}if(u.length>10){const e=n.createElement("TR");e.appendChild(n.createTextNode(""+u.length)),c.appendChild(e)}a.appendPropertyTRs(c,u,!0,function(e){return!0}),p.length&&(l("Implicit:"),a.appendPropertyTRs(c,p,!0,function(e){return!0}))}return c}}},5386(e){const t={acl:"http://www.w3.org/ns/auth/acl#",arg:"http://www.w3.org/ns/pim/arg#",as:"https://www.w3.org/ns/activitystreams#",bookmark:"http://www.w3.org/2002/01/bookmark#",cal:"http://www.w3.org/2002/12/cal/ical#",cco:"http://www.ontologyrepository.com/CommonCoreOntologies/",cert:"http://www.w3.org/ns/auth/cert#",contact:"http://www.w3.org/2000/10/swap/pim/contact#",dc:"http://purl.org/dc/elements/1.1/",dct:"http://purl.org/dc/terms/",doap:"http://usefulinc.com/ns/doap#",foaf:"http://xmlns.com/foaf/0.1/",geo:"http://www.w3.org/2003/01/geo/wgs84_pos#",gpx:"http://www.w3.org/ns/pim/gpx#",gr:"http://purl.org/goodrelations/v1#",http:"http://www.w3.org/2007/ont/http#",httph:"http://www.w3.org/2007/ont/httph#",icalTZ:"http://www.w3.org/2002/12/cal/icaltzd#",ldp:"http://www.w3.org/ns/ldp#",link:"http://www.w3.org/2007/ont/link#",log:"http://www.w3.org/2000/10/swap/log#",meeting:"http://www.w3.org/ns/pim/meeting#",mo:"http://purl.org/ontology/mo/",org:"http://www.w3.org/ns/org#",owl:"http://www.w3.org/2002/07/owl#",pad:"http://www.w3.org/ns/pim/pad#",patch:"http://www.w3.org/ns/pim/patch#",prov:"http://www.w3.org/ns/prov#",pto:"http://www.productontology.org/id/",qu:"http://www.w3.org/2000/10/swap/pim/qif#",trip:"http://www.w3.org/ns/pim/trip#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rss:"http://purl.org/rss/1.0/",sched:"http://www.w3.org/ns/pim/schedule#",schema:"http://schema.org/",sioc:"http://rdfs.org/sioc/ns#",skos:"http://www.w3.org/2004/02/skos/core#",solid:"http://www.w3.org/ns/solid/terms#",space:"http://www.w3.org/ns/pim/space#",stat:"http://www.w3.org/ns/posix/stat#",tab:"http://www.w3.org/2007/ont/link#",tabont:"http://www.w3.org/2007/ont/link#",ui:"http://www.w3.org/ns/ui#",vann:"http://purl.org/vocab/vann/",vcard:"http://www.w3.org/2006/vcard/ns#",wf:"http://www.w3.org/2005/01/wf/flow#",xsd:"http://www.w3.org/2001/XMLSchema#"};e.exports=function(e={namedNode:e=>e}){const n={};for(const r in t){const i=t[r];n[r]=function(t=""){return e.namedNode(i+t)}}return n}},5438(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApplicationTable=function e(t){const n=l("table",{class:"results"}),r=c("tr",[u("th","Application URL"),u("th","Access modes"),u("th","Actions")]);return n.appendChild(r),a.store.each(t,i.ns.acl("trustedApp"),void 0,void 0).flatMap(e=>a.store.each(e,i.ns.acl("origin"),void 0,void 0).map(t=>({appModes:a.store.each(e,i.ns.acl("mode"),void 0,void 0),origin:t}))).sort((e,t)=>e.origin.value<t.origin.value?-1:1).forEach(({appModes:e,origin:r})=>n.appendChild(s(t,r,e,o))),n.appendChild(s(t,null,[i.ns.acl("Read")],o)),n;function o(){n.parentElement.replaceChild(e(t),n)}},t.createContainer=c,t.createText=u;var r=n(8230),i=n(500),a=n(9332),o=n(8847);function s(e,t,n,s){const d={origin:t,appModes:n,formElements:{modes:[],origin:void 0}};return c("tr",[c("td",[c("form",[l("input",{class:"textinput",placeholder:"Write new URL here",value:t?t.value:""},{},e=>{d.formElements.origin=e})],{},{submit:f})]),c("td",[c("form",p(d),{},{submit:f})]),c("td",[c("form",t?[u("button","Update",{class:"controlButton",style:"background: LightGreen;"}),u("button","Delete",{class:"controlButton",style:"background: LightCoral;"},{click:function(t){let n;t.preventDefault();try{n=(0,r.sym)(d.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to remove trust from")}const s=(0,o.getStatementsToDelete)(n,e,a.store,i.ns);if(!a.store.updater)throw new Error("Store has no updater");a.store.updater.update(s,[],h)}})]:[u("button","Add",{class:"controlButton",style:"background: LightGreen;"})],{},{submit:f})])]);function f(t){let n;t.preventDefault();try{n=(0,r.sym)(d.formElements.origin.value)}catch(e){return alert("Please provide an application URL you want to trust")}const s=d.formElements.modes.filter(e=>e.checked).map(e=>e.value),l=(0,o.getStatementsToDelete)(d.origin||n,e,a.store,i.ns),c=(0,o.getStatementsToAdd)(n,(0,o.generateRandomString)(),s,e,i.ns);if(!a.store.updater)throw new Error("Store has no updater");a.store.updater.update(l,c,h)}function h(e,t,n){if(t)return s()}}function l(e,t={},n={},r=null){const i=document.createElement(e);return r&&r(i),Object.keys(t).forEach(e=>{i.setAttribute(e,t[e])}),Object.keys(n).forEach(e=>{i.addEventListener(e,n[e])}),i}function c(e,t,n={},r={},i=null){const a=l(e,n,r,i);return t.forEach(e=>a.appendChild(e)),a}function u(e,t,n={},r={},i=null){const a=l(e,n,r,i);return a.textContent=t,a}function p({appModes:e,formElements:t}){return["Read","Write","Append","Control"].map(n=>c("label",[l("input",{type:"checkbox",...e.some(e=>e.value===i.ns.acl(n).value)?{checked:""}:{},value:i.ns.acl(n).uri},{},e=>t.modes.push(e)),u("span",n)]))}},5454(e){"use strict";
|
|
266
266
|
/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */const{entries:t,setPrototypeOf:n,isFrozen:r,getPrototypeOf:i,getOwnPropertyDescriptor:a}=Object;let{freeze:o,seal:s,create:l}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),s||(s=function(e){return e}),c||(c=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),u||(u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const p=S(Array.prototype.forEach),d=S(Array.prototype.lastIndexOf),f=S(Array.prototype.pop),h=S(Array.prototype.push),m=S(Array.prototype.splice),g=S(String.prototype.toLowerCase),v=S(String.prototype.toString),b=S(String.prototype.match),y=S(String.prototype.replace),w=S(String.prototype.indexOf),x=S(String.prototype.trim),k=S(Object.prototype.hasOwnProperty),_=S(RegExp.prototype.test),E=(C=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(C,t)});var C;function S(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return c(e,t,r)}}function A(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;n&&n(e,null);let a=t.length;for(;a--;){let n=t[a];if("string"==typeof n){const e=i(n);e!==n&&(r(t)||(t[a]=e),n=e)}e[n]=!0}return e}function T(e){for(let t=0;t<e.length;t++){k(e,t)||(e[t]=null)}return e}function R(e){const n=l(null);for(const[r,i]of t(e)){k(e,r)&&(Array.isArray(i)?n[r]=T(i):i&&"object"==typeof i&&i.constructor===Object?n[r]=R(i):n[r]=i)}return n}function P(e,t){for(;null!==e;){const n=a(e,t);if(n){if(n.get)return S(n.get);if("function"==typeof n.value)return S(n.value)}e=i(e)}return function(){return null}}const F=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),N=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),j=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=o(["#text"]),D=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),q=s(/<%[\w\W]*|[\w\W]*%>/gm),$=s(/\$\{[\w\W]*/gm),W=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),V=s(/^aria-[\-\w]+$/),G=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=s(/^(?:\w+script|data):/i),J=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=s(/^html$/i),Y=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var X=Object.freeze({__proto__:null,ARIA_ATTR:V,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:Y,DATA_ATTR:W,DOCTYPE_NAME:Q,ERB_EXPR:q,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:H,TMPLIT_EXPR:$});const Z=1,ee=3,te=7,ne=8,re=9,ie=function(){return"undefined"==typeof window?null:window};var ae=function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ie();const r=t=>e(t);if(r.version="3.3.1",r.removed=[],!n||!n.document||n.document.nodeType!==re||!n.Element)return r.isSupported=!1,r;let{document:i}=n;const a=i,s=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:u,Node:C,Element:S,NodeFilter:T,NamedNodeMap:H=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:q,DOMParser:$,trustedTypes:W}=n,V=S.prototype,K=P(V,"cloneNode"),J=P(V,"remove"),Y=P(V,"nextSibling"),ae=P(V,"childNodes"),oe=P(V,"parentNode");if("function"==typeof u){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let se,le="";const{implementation:ce,createNodeIterator:ue,createDocumentFragment:pe,getElementsByTagName:de}=i,{importNode:fe}=a;let he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof t&&"function"==typeof oe&&ce&&void 0!==ce.createHTMLDocument;const{MUSTACHE_EXPR:me,ERB_EXPR:ge,TMPLIT_EXPR:ve,DATA_ATTR:be,ARIA_ATTR:ye,IS_SCRIPT_OR_DATA:we,ATTR_WHITESPACE:xe,CUSTOM_ELEMENT:ke}=X;let{IS_ALLOWED_URI:_e}=X,Ee=null;const Ce=A({},[...F,...I,...N,...L,...M]);let Se=null;const Ae=A({},[...D,...U,...B,...z]);let Te=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Re=null,Pe=null;const Fe=Object.seal(l(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ie=!0,Ne=!0,Oe=!1,Le=!0,je=!1,Me=!0,De=!1,Ue=!1,Be=!1,ze=!1,He=!1,qe=!1,$e=!0,We=!1,Ve=!0,Ge=!1,Ke={},Je=null;const Qe=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const Xe=A({},["audio","video","img","source","image","track"]);let Ze=null;const et=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",rt="http://www.w3.org/1999/xhtml";let it=rt,at=!1,ot=null;const st=A({},[tt,nt,rt],v);let lt=A({},["mi","mo","mn","ms","mtext"]),ct=A({},["annotation-xml"]);const ut=A({},["title","style","font","a","script"]);let pt=null;const dt=["application/xhtml+xml","text/html"];let ft=null,ht=null;const mt=i.createElement("form"),gt=function(e){return e instanceof RegExp||e instanceof Function},vt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ht||ht!==e){if(e&&"object"==typeof e||(e={}),e=R(e),pt=-1===dt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ft="application/xhtml+xml"===pt?v:g,Ee=k(e,"ALLOWED_TAGS")?A({},e.ALLOWED_TAGS,ft):Ce,Se=k(e,"ALLOWED_ATTR")?A({},e.ALLOWED_ATTR,ft):Ae,ot=k(e,"ALLOWED_NAMESPACES")?A({},e.ALLOWED_NAMESPACES,v):st,Ze=k(e,"ADD_URI_SAFE_ATTR")?A(R(et),e.ADD_URI_SAFE_ATTR,ft):et,Ye=k(e,"ADD_DATA_URI_TAGS")?A(R(Xe),e.ADD_DATA_URI_TAGS,ft):Xe,Je=k(e,"FORBID_CONTENTS")?A({},e.FORBID_CONTENTS,ft):Qe,Re=k(e,"FORBID_TAGS")?A({},e.FORBID_TAGS,ft):R({}),Pe=k(e,"FORBID_ATTR")?A({},e.FORBID_ATTR,ft):R({}),Ke=!!k(e,"USE_PROFILES")&&e.USE_PROFILES,Ie=!1!==e.ALLOW_ARIA_ATTR,Ne=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,je=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,De=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,qe=e.RETURN_TRUSTED_TYPE||!1,Be=e.FORCE_BODY||!1,$e=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ve=!1!==e.KEEP_CONTENT,Ge=e.IN_PLACE||!1,_e=e.ALLOWED_URI_REGEXP||G,it=e.NAMESPACE||rt,lt=e.MATHML_TEXT_INTEGRATION_POINTS||lt,ct=e.HTML_INTEGRATION_POINTS||ct,Te=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&>(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Te.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&>(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Te.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Te.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),je&&(Ne=!1),He&&(ze=!0),Ke&&(Ee=A({},M),Se=[],!0===Ke.html&&(A(Ee,F),A(Se,D)),!0===Ke.svg&&(A(Ee,I),A(Se,U),A(Se,z)),!0===Ke.svgFilters&&(A(Ee,N),A(Se,U),A(Se,z)),!0===Ke.mathMl&&(A(Ee,L),A(Se,B),A(Se,z))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Fe.tagCheck=e.ADD_TAGS:(Ee===Ce&&(Ee=R(Ee)),A(Ee,e.ADD_TAGS,ft))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Fe.attributeCheck=e.ADD_ATTR:(Se===Ae&&(Se=R(Se)),A(Se,e.ADD_ATTR,ft))),e.ADD_URI_SAFE_ATTR&&A(Ze,e.ADD_URI_SAFE_ATTR,ft),e.FORBID_CONTENTS&&(Je===Qe&&(Je=R(Je)),A(Je,e.FORBID_CONTENTS,ft)),e.ADD_FORBID_CONTENTS&&(Je===Qe&&(Je=R(Je)),A(Je,e.ADD_FORBID_CONTENTS,ft)),Ve&&(Ee["#text"]=!0),De&&A(Ee,["html","head","body"]),Ee.table&&(A(Ee,["tbody"]),delete Re.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');se=e.TRUSTED_TYPES_POLICY,le=se.createHTML("")}else void 0===se&&(se=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(W,s)),null!==se&&"string"==typeof le&&(le=se.createHTML(""));o&&o(e),ht=e}},bt=A({},[...I,...N,...O]),yt=A({},[...L,...j]),wt=function(e){h(r.removed,{element:e});try{oe(e).removeChild(e)}catch(t){J(e)}},xt=function(e,t){try{h(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ze||He)try{wt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},kt=function(e){let t=null,n=null;if(Be)e="<remove></remove>"+e;else{const t=b(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===pt&&it===rt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=se?se.createHTML(e):e;if(it===rt)try{t=(new $).parseFromString(r,pt)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(it,"template",null);try{t.documentElement.innerHTML=at?le:r}catch(e){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),it===rt?de.call(t,De?"html":"body")[0]:De?t.documentElement:a},_t=function(e){return ue.call(e.ownerDocument||e,e,T.SHOW_ELEMENT|T.SHOW_COMMENT|T.SHOW_TEXT|T.SHOW_PROCESSING_INSTRUCTION|T.SHOW_CDATA_SECTION,null)},Et=function(e){return e instanceof q&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof H)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Ct=function(e){return"function"==typeof C&&e instanceof C};function St(e,t,n){p(e,e=>{e.call(r,t,n,ht)})}const At=function(e){let t=null;if(St(he.beforeSanitizeElements,e,null),Et(e))return wt(e),!0;const n=ft(e.nodeName);if(St(he.uponSanitizeElement,e,{tagName:n,allowedTags:Ee}),Me&&e.hasChildNodes()&&!Ct(e.firstElementChild)&&_(/<[/\w!]/g,e.innerHTML)&&_(/<[/\w!]/g,e.textContent))return wt(e),!0;if(e.nodeType===te)return wt(e),!0;if(Me&&e.nodeType===ne&&_(/<[/\w]/g,e.data))return wt(e),!0;if(!(Fe.tagCheck instanceof Function&&Fe.tagCheck(n))&&(!Ee[n]||Re[n])){if(!Re[n]&&Rt(n)){if(Te.tagNameCheck instanceof RegExp&&_(Te.tagNameCheck,n))return!1;if(Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))return!1}if(Ve&&!Je[n]){const t=oe(e)||e.parentNode,n=ae(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=K(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,Y(e))}}}return wt(e),!0}return e instanceof S&&!function(e){let t=oe(e);t&&t.tagName||(t={namespaceURI:it,tagName:"template"});const n=g(e.tagName),r=g(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===rt?"svg"===n:t.namespaceURI===tt?"svg"===n&&("annotation-xml"===r||lt[r]):Boolean(bt[n]):e.namespaceURI===tt?t.namespaceURI===rt?"math"===n:t.namespaceURI===nt?"math"===n&&ct[r]:Boolean(yt[n]):e.namespaceURI===rt?!(t.namespaceURI===nt&&!ct[r])&&!(t.namespaceURI===tt&&!lt[r])&&!yt[n]&&(ut[n]||!bt[n]):!("application/xhtml+xml"!==pt||!ot[e.namespaceURI]))}(e)?(wt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(je&&e.nodeType===ee&&(t=e.textContent,p([me,ge,ve],e=>{t=y(t,e," ")}),e.textContent!==t&&(h(r.removed,{element:e.cloneNode()}),e.textContent=t)),St(he.afterSanitizeElements,e,null),!1):(wt(e),!0)},Tt=function(e,t,n){if($e&&("id"===t||"name"===t)&&(n in i||n in mt))return!1;if(Ne&&!Pe[t]&&_(be,t));else if(Ie&&_(ye,t));else if(Fe.attributeCheck instanceof Function&&Fe.attributeCheck(t,e));else if(!Se[t]||Pe[t]){if(!(Rt(e)&&(Te.tagNameCheck instanceof RegExp&&_(Te.tagNameCheck,e)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(e))&&(Te.attributeNameCheck instanceof RegExp&&_(Te.attributeNameCheck,t)||Te.attributeNameCheck instanceof Function&&Te.attributeNameCheck(t,e))||"is"===t&&Te.allowCustomizedBuiltInElements&&(Te.tagNameCheck instanceof RegExp&&_(Te.tagNameCheck,n)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))))return!1}else if(Ze[t]);else if(_(_e,y(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==w(n,"data:")||!Ye[e]){if(Oe&&!_(we,y(n,xe,"")));else if(n)return!1}else;return!0},Rt=function(e){return"annotation-xml"!==e&&b(e,ke)},Pt=function(e){St(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Et(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let i=t.length;for(;i--;){const a=t[i],{name:o,namespaceURI:s,value:l}=a,c=ft(o),u=l;let d="value"===o?u:x(u);if(n.attrName=c,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,St(he.uponSanitizeAttribute,e,n),d=n.attrValue,!We||"id"!==c&&"name"!==c||(xt(o,e),d="user-content-"+d),Me&&_(/((--!?|])>)|<\/(style|title|textarea)/i,d)){xt(o,e);continue}if("attributename"===c&&b(d,"href")){xt(o,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){xt(o,e);continue}if(!Le&&_(/\/>/i,d)){xt(o,e);continue}je&&p([me,ge,ve],e=>{d=y(d,e," ")});const h=ft(e.nodeName);if(Tt(h,c,d)){if(se&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(h,c)){case"TrustedHTML":d=se.createHTML(d);break;case"TrustedScriptURL":d=se.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,o,d):e.setAttribute(o,d),Et(e)?wt(e):f(r.removed)}catch(t){xt(o,e)}}else xt(o,e)}St(he.afterSanitizeAttributes,e,null)},Ft=function e(t){let n=null;const r=_t(t);for(St(he.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)St(he.uponSanitizeShadowNode,n,null),At(n),Pt(n),n.content instanceof c&&e(n.content);St(he.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,o=null,s=null;if(at=!e,at&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ct(e)){if("function"!=typeof e.toString)throw E("toString is not a function");if("string"!=typeof(e=e.toString()))throw E("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Ue||vt(t),r.removed=[],"string"==typeof e&&(Ge=!1),Ge){if(e.nodeName){const t=ft(e.nodeName);if(!Ee[t]||Re[t])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof C)n=kt("\x3c!----\x3e"),i=n.ownerDocument.importNode(e,!0),i.nodeType===Z&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!ze&&!je&&!De&&-1===e.indexOf("<"))return se&&qe?se.createHTML(e):e;if(n=kt(e),!n)return ze?null:qe?le:""}n&&Be&&wt(n.firstChild);const l=_t(Ge?e:n);for(;o=l.nextNode();)At(o),Pt(o),o.content instanceof c&&Ft(o.content);if(Ge)return e;if(ze){if(He)for(s=pe.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(Se.shadowroot||Se.shadowrootmode)&&(s=fe.call(a,s,!0)),s}let u=De?n.outerHTML:n.innerHTML;return De&&Ee["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(Q,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),je&&p([me,ge,ve],e=>{u=y(u,e," ")}),se&&qe?se.createHTML(u):u},r.setConfig=function(){vt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},r.clearConfig=function(){ht=null,Ue=!1},r.isValidAttribute=function(e,t,n){ht||vt({});const r=ft(e),i=ft(t);return Tt(r,i,n)},r.addHook=function(e,t){"function"==typeof t&&h(he[e],t)},r.removeHook=function(e,t){if(void 0!==t){const n=d(he[e],t);return-1===n?void 0:m(he[e],n,1)[0]}return f(he[e])},r.removeHooks=function(e){he[e]=[]},r.removeAllHooks=function(){he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();e.exports=ae},5556(e,t,n){e.exports=n(2694)()},5568(e){"use strict";const{AbortController:t,AbortSignal:n}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=t,e.exports.AbortSignal=n,e.exports.default=t},5576(e,t,n){"use strict";
|
|
267
267
|
/*!
|
|
268
268
|
* The buffer module from node.js, for the browser.
|
|
@@ -468,5 +468,5 @@ t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,p=n?i-1:0,d=
|
|
|
468
468
|
*
|
|
469
469
|
* This source code is licensed under the MIT license found in the
|
|
470
470
|
* LICENSE file in the root directory of this source tree.
|
|
471
|
-
*/var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function y(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var x=w.prototype=new y;x.constructor=w,g(x,b.prototype),x.isPureReactComponent=!0;var k=Array.isArray;function _(){}var E={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function S(e,t,r){var i=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==i?i:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function P(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,u=!1;if(null===e)u=!0;else switch(s){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0;break;case d:return P((u=e._init)(e._payload),t,i,a,o)}}if(u)return o=o(e),u=""===a?"."+R(e,0):a,k(o)?(i="",null!=u&&(i=u.replace(T,"$&/")+"/"),P(o,t,i,"",function(e){return e})):null!=o&&(A(o)&&(l=o,c=i+(null==o.key||e&&e.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+u,o=S(l.type,c,l.props)),t.push(o)),1;u=0;var p,f=""===a?".":a+":";if(k(e))for(var m=0;m<e.length;m++)u+=P(a=e[m],t,i,s=f+R(a,m),o);else if("function"==typeof(m=null===(p=e)||"object"!=typeof p?null:"function"==typeof(p=h&&p[h]||p["@@iterator"])?p:null))for(e=m.call(e),m=0;!(a=e.next()).done;)u+=P(a=a.value,t,i,s=f+R(a,m++),o);else if("object"===s){if("function"==typeof e.then)return P(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(_,_):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,i,a,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return u}function F(e,t,n){if(null==e)return e;var r=[],i=0;return P(e,r,"","",function(e){return t.call(n,e,i++)}),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},O={map:F,forEach:function(e,t,n){F(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return F(e,function(){t++}),t},toArray:function(e){return F(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=f,t.Children=O,t.Component=b,t.Fragment=i,t.Profiler=o,t.PureComponent=w,t.StrictMode=a,t.Suspense=u,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),i=e.key;if(null!=t)for(a in void 0!==t.key&&(i=""+t.key),t)!C.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return S(e.type,i,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,i={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)C.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var o=arguments.length-2;if(1===o)i.children=n;else if(1<o){for(var s=Array(o),l=0;l<o;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps)void 0===i[r]&&(i[r]=o[r]);return S(e,a,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=E.T,n={};E.T=n;try{var r=e(),i=E.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(_,N)}catch(e){N(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}},t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.2.3"},9899(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){const t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},9953(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},9970(e,t,n){"use strict";n.r(t)},9982(e,t,n){"use strict";e.exports=n(4477)}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return a[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=a,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);s.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var o=2&r&&e;("object"==typeof o||"function"==typeof o)&&!~t.indexOf(o);o=n(o))Object.getOwnPropertyNames(o).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,s.d(i,a),i},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,n)=>(s.f[n](e,t),t),[])),s.u=e=>e+".mashlib.min.js",s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},i="Mashlib:",s.l=(e,t,n,a)=>{if(r[e])r[e].push(t);else{var o,l;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==i+n){o=p;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",i+n),o.src=e),r[e]=[t];var d=(t,n)=>{o.onerror=o.onload=null,clearTimeout(f);var i=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(n)),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),l&&document.head.appendChild(o)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="/",(()=>{var e={792:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((n,i)=>r=e[t]=[n,i]);n.push(r[2]=i);var a=s.p+s.u(t),o=new Error;s.l(a,n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",o.name="ChunkLoadError",o.type=i,o.request=a,r[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,i,[a,o,l]=n,c=0;if(a.some(t=>0!==e[t])){for(r in o)s.o(o,r)&&(s.m[r]=o[r]);if(l)l(s)}for(t&&t(n);c<a.length;c++)i=a[c],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkMashlib=self.webpackChunkMashlib||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var l={};return(()=>{"use strict";s.r(l),s.d(l,{versionInfo:()=>r});var e=s(8230),t=s(7523),n=s(9332);const r={buildTime:"2026-02-07T18:35:50Z",commit:"e59caa4fa818e6f240058df8586ac033fa0c2c05",npmInfo:{mashlib:"2.1.0",npm:"10.8.2",node:"20.20.0",acorn:"8.15.0",ada:"2.9.2",ares:"1.34.6",brotli:"1.1.0",cjs_module_lexer:"2.1.0",cldr:"47.0",icu:"77.1",llhttp:"9.3.0",modules:"115",napi:"9",nghttp2:"1.61.0",openssl:"3.0.17",simdutf:"6.4.2",tz:"2025b",undici:"6.23.0",unicode:"16.0",uv:"1.46.0",uvwasi:"0.0.23",v8:"11.3.244.8-node.33",zlib:"1.3.1-470d3a2"}},i=window,a=()=>{const e=localStorage.getItem("mashlib-theme"),t=window.matchMedia("(prefers-color-scheme: dark)").matches;"dark"===(e||(t?"dark":"light"))?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme")};a(),i.$rdf=e,i.panes=t,i.SolidLogic={authn:n.authn,authSession:n.authSession,store:n.store,solidLogicSingleton:n.solidLogicSingleton},i.mashlib={versionInfo:r,theme:{set:e=>{"dark"===e?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme"),localStorage.setItem("mashlib-theme",e)},get:()=>"dark"===document.documentElement.getAttribute("data-theme")?"dark":"light",init:a}},i.panes.runDataBrowser=function(r){e.Fetcher.crossSiteProxyTemplate=window.origin+"/xss/?uri={uri}";try{const e=document.createElement("meta");e.setAttribute("name","monetization"),e.setAttribute("content",`$${window.location.host}`),document.head.appendChild(e)}catch(e){}n.authn.checkUser().then(function(e){return t.initMainPage(n.solidLogicSingleton.store,r)})},window.onpopstate=function(t){i.document.outline.GotoSubject(e.sym(window.document.location.href),!0,void 0,!0,void 0)},i.dump=function(e){}})(),l})());
|
|
471
|
+
*/var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function y(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var x=w.prototype=new y;x.constructor=w,g(x,b.prototype),x.isPureReactComponent=!0;var k=Array.isArray;function _(){}var E={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function S(e,t,r){var i=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==i?i:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function P(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,u=!1;if(null===e)u=!0;else switch(s){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0;break;case d:return P((u=e._init)(e._payload),t,i,a,o)}}if(u)return o=o(e),u=""===a?"."+R(e,0):a,k(o)?(i="",null!=u&&(i=u.replace(T,"$&/")+"/"),P(o,t,i,"",function(e){return e})):null!=o&&(A(o)&&(l=o,c=i+(null==o.key||e&&e.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+u,o=S(l.type,c,l.props)),t.push(o)),1;u=0;var p,f=""===a?".":a+":";if(k(e))for(var m=0;m<e.length;m++)u+=P(a=e[m],t,i,s=f+R(a,m),o);else if("function"==typeof(m=null===(p=e)||"object"!=typeof p?null:"function"==typeof(p=h&&p[h]||p["@@iterator"])?p:null))for(e=m.call(e),m=0;!(a=e.next()).done;)u+=P(a=a.value,t,i,s=f+R(a,m++),o);else if("object"===s){if("function"==typeof e.then)return P(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(_,_):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,i,a,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return u}function F(e,t,n){if(null==e)return e;var r=[],i=0;return P(e,r,"","",function(e){return t.call(n,e,i++)}),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},O={map:F,forEach:function(e,t,n){F(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return F(e,function(){t++}),t},toArray:function(e){return F(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=f,t.Children=O,t.Component=b,t.Fragment=i,t.Profiler=o,t.PureComponent=w,t.StrictMode=a,t.Suspense=u,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),i=e.key;if(null!=t)for(a in void 0!==t.key&&(i=""+t.key),t)!C.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return S(e.type,i,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,i={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)C.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var o=arguments.length-2;if(1===o)i.children=n;else if(1<o){for(var s=Array(o),l=0;l<o;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps)void 0===i[r]&&(i[r]=o[r]);return S(e,a,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=E.T,n={};E.T=n;try{var r=e(),i=E.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(_,N)}catch(e){N(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}},t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.2.3"},9899(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){const t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},9953(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},9970(e,t,n){"use strict";n.r(t)},9982(e,t,n){"use strict";e.exports=n(4477)}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return a[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=a,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);s.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var o=2&r&&e;("object"==typeof o||"function"==typeof o)&&!~t.indexOf(o);o=n(o))Object.getOwnPropertyNames(o).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,s.d(i,a),i},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,n)=>(s.f[n](e,t),t),[])),s.u=e=>e+".mashlib.min.js",s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},i="Mashlib:",s.l=(e,t,n,a)=>{if(r[e])r[e].push(t);else{var o,l;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==i+n){o=p;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",i+n),o.src=e),r[e]=[t];var d=(t,n)=>{o.onerror=o.onload=null,clearTimeout(f);var i=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(n)),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),l&&document.head.appendChild(o)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="/",(()=>{var e={792:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((n,i)=>r=e[t]=[n,i]);n.push(r[2]=i);var a=s.p+s.u(t),o=new Error;s.l(a,n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",o.name="ChunkLoadError",o.type=i,o.request=a,r[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,i,[a,o,l]=n,c=0;if(a.some(t=>0!==e[t])){for(r in o)s.o(o,r)&&(s.m[r]=o[r]);if(l)l(s)}for(t&&t(n);c<a.length;c++)i=a[c],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkMashlib=self.webpackChunkMashlib||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var l={};return(()=>{"use strict";s.r(l),s.d(l,{versionInfo:()=>r});var e=s(8230),t=s(7523),n=s(9332);const r={buildTime:"2026-02-11T15:37:09Z",commit:"e662a8c6a83420859f94d8ad6945ad27cb213b54",npmInfo:{mashlib:"2.1.0",npm:"10.8.2",node:"20.20.0",acorn:"8.15.0",ada:"2.9.2",ares:"1.34.6",brotli:"1.1.0",cjs_module_lexer:"2.1.0",cldr:"47.0",icu:"77.1",llhttp:"9.3.0",modules:"115",napi:"9",nghttp2:"1.61.0",openssl:"3.0.17",simdutf:"6.4.2",tz:"2025b",undici:"6.23.0",unicode:"16.0",uv:"1.46.0",uvwasi:"0.0.23",v8:"11.3.244.8-node.33",zlib:"1.3.1-470d3a2"}},i=window,a=()=>{const e=localStorage.getItem("mashlib-theme"),t=window.matchMedia("(prefers-color-scheme: dark)").matches;"dark"===(e||(t?"dark":"light"))?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme")};a(),i.$rdf=e,i.panes=t,i.SolidLogic={authn:n.authn,authSession:n.authSession,store:n.store,solidLogicSingleton:n.solidLogicSingleton},i.mashlib={versionInfo:r,theme:{set:e=>{"dark"===e?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme"),localStorage.setItem("mashlib-theme",e)},get:()=>"dark"===document.documentElement.getAttribute("data-theme")?"dark":"light",init:a}},i.panes.runDataBrowser=function(r){e.Fetcher.crossSiteProxyTemplate=window.origin+"/xss/?uri={uri}";try{const e=document.createElement("meta");e.setAttribute("name","monetization"),e.setAttribute("content",`$${window.location.host}`),document.head.appendChild(e)}catch(e){}n.authn.checkUser().then(function(e){return t.initMainPage(n.solidLogicSingleton.store,r)})},window.onpopstate=function(t){i.document.outline.GotoSubject(e.sym(window.document.location.href),!0,void 0,!0,void 0)},i.dump=function(e){}})(),l})());
|
|
472
472
|
//# sourceMappingURL=mashlib.min.js.map
|