@ulb-darmstadt/shacl-form 1.7.4 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/dist/config.d.ts +4 -5
- package/dist/constants.d.ts +15 -13
- package/dist/constraints.d.ts +2 -2
- package/dist/exports.d.ts +2 -1
- package/dist/form-bootstrap.d.ts +1 -1
- package/dist/form-bootstrap.js +361 -2
- package/dist/form-default.d.ts +1 -1
- package/dist/form-default.js +350 -2
- package/dist/form-material.d.ts +1 -1
- package/dist/form-material.js +670 -2
- package/dist/form.d.ts +3 -2
- package/dist/node-template.d.ts +17 -0
- package/dist/node.d.ts +2 -1
- package/dist/plugins/leaflet.d.ts +2 -4
- package/dist/plugins/leaflet.js +720 -2
- package/dist/plugins/mapbox.d.ts +2 -2
- package/dist/plugins/mapbox.js +2764 -2
- package/dist/property-template.d.ts +1 -1
- package/dist/property.d.ts +6 -2
- package/dist/theme.d.ts +2 -2
- package/dist/themes/default.d.ts +3 -3
- package/dist/themes/material.d.ts +2 -3
- package/package.json +23 -11
- package/src/config.ts +11 -10
- package/src/constants.ts +3 -1
- package/src/constraints.ts +15 -18
- package/src/exports.ts +2 -1
- package/src/form.ts +32 -17
- package/src/group.ts +1 -1
- package/src/loader.ts +12 -13
- package/src/node-template.ts +82 -0
- package/src/node.ts +40 -38
- package/src/plugins/leaflet.ts +2 -2
- package/src/plugins/mapbox.ts +4 -4
- package/src/property-template.ts +4 -5
- package/src/property.ts +154 -56
- package/src/serialize.ts +14 -1
- package/src/styles.css +8 -10
- package/src/theme.ts +5 -5
- package/src/themes/bootstrap.ts +1 -1
- package/src/themes/default.css +2 -2
- package/src/themes/default.ts +12 -3
- package/src/themes/material.ts +12 -3
- package/src/util.ts +12 -14
- package/dist/form-bootstrap.js.LICENSE.txt +0 -69
- package/dist/form-default.js.LICENSE.txt +0 -69
- package/dist/form-material.js.LICENSE.txt +0 -69
- package/dist/plugins/file-upload.js +0 -1
- package/dist/plugins/fixed-list.js +0 -1
- package/dist/plugins/leaflet.js.LICENSE.txt +0 -4
- package/dist/plugins/mapbox.js.LICENSE.txt +0 -10
package/dist/form-bootstrap.js
CHANGED
|
@@ -1,2 +1,361 @@
|
|
|
1
|
-
|
|
2
|
-
var t={92:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TypeHandlerBoolean=void 0;const o=r(103);class n{fromRdf(t,e){switch(t.value){case"true":case"1":return!0;case"false":case"0":return!1}return e&&o.Translator.incorrectRdfDataType(t),!1}toRdf(t,{datatype:e,dataFactory:r}){return r.literal(t?"true":"false",e||r.namedNode(n.TYPE))}}e.TypeHandlerBoolean=n,n.TYPE="http://www.w3.org/2001/XMLSchema#boolean"},103:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Translator=void 0,e.Translator=class{constructor(){this.supportedRdfDatatypes=[],this.fromRdfHandlers={},this.toRdfHandlers={}}static incorrectRdfDataType(t){throw new Error(`Invalid RDF ${t.datatype.value} value: '${t.value}'`)}registerHandler(t,e,r){for(const r of e)this.supportedRdfDatatypes.push(r),this.fromRdfHandlers[r.value]=t;for(const e of r){let r=this.toRdfHandlers[e];r||(this.toRdfHandlers[e]=r=[]),r.push(t)}}fromRdf(t,e){const r=this.fromRdfHandlers[t.datatype.value];return r?r.fromRdf(t,e):t.value}toRdf(t,e){const r=this.toRdfHandlers[typeof t];if(r)for(const o of r){const r=o.toRdf(t,e);if(r)return r}throw new Error(`Invalid JavaScript value: '${t}'`)}getSupportedRdfDatatypes(){return this.supportedRdfDatatypes}getSupportedJavaScriptPrimitives(){return Object.keys(this.toRdfHandlers)}}},251:(t,e)=>{e.read=function(t,e,r,o,n){var a,i,s=8*n-o-1,l=(1<<s)-1,d=l>>1,c=-7,p=r?n-1:0,u=r?-1:1,b=t[e+p];for(p+=u,a=b&(1<<-c)-1,b>>=-c,c+=s;c>0;a=256*a+t[e+p],p+=u,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=o;c>0;i=256*i+t[e+p],p+=u,c-=8);if(0===a)a=1-d;else{if(a===l)return i?NaN:1/0*(b?-1:1);i+=Math.pow(2,o),a-=d}return(b?-1:1)*i*Math.pow(2,a-o)},e.write=function(t,e,r,o,n,a){var i,s,l,d=8*a-n-1,c=(1<<d)-1,p=c>>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,b=o?0:a-1,m=o?1:-1,f=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=c):(i=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-i))<1&&(i--,l*=2),(e+=i+p>=1?u/l:u*Math.pow(2,1-p))*l>=2&&(i++,l/=2),i+p>=c?(s=0,i=c):i+p>=1?(s=(e*l-1)*Math.pow(2,n),i+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,n),i=0));n>=8;t[r+b]=255&s,b+=m,s/=256,n-=8);for(i=i<<n|s,d+=n;d>0;t[r+b]=255&i,b+=m,i/=256,d-=8);t[r+b-m]|=128*f}},259:t=>{t.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}},277:(t,e,r)=>{const{ArrayIsArray:o,ArrayPrototypeIncludes:n,ArrayPrototypeJoin:a,ArrayPrototypeMap:i,NumberIsInteger:s,NumberIsNaN:l,NumberMAX_SAFE_INTEGER:d,NumberMIN_SAFE_INTEGER:c,NumberParseInt:p,ObjectPrototypeHasOwnProperty:u,RegExpPrototypeExec:b,String:m,StringPrototypeToUpperCase:f,StringPrototypeTrim:h}=r(4134),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:v,ERR_INVALID_ARG_TYPE:y,ERR_INVALID_ARG_VALUE:w,ERR_OUT_OF_RANGE:x,ERR_UNKNOWN_SIGNAL:_}}=r(6371),{normalizeEncoding:k}=r(7760),{isAsyncFunction:j,isArrayBufferView:S}=r(7760).types,I={},E=/^[0-7]+$/,N=g(((t,e,r=c,o=d)=>{if("number"!=typeof t)throw new y(e,"number",t);if(!s(t))throw new x(e,"an integer",t);if(t<r||t>o)throw new x(e,`>= ${r} && <= ${o}`,t)})),R=g(((t,e,r=-2147483648,o=2147483647)=>{if("number"!=typeof t)throw new y(e,"number",t);if(!s(t))throw new x(e,"an integer",t);if(t<r||t>o)throw new x(e,`>= ${r} && <= ${o}`,t)})),T=g(((t,e,r=!1)=>{if("number"!=typeof t)throw new y(e,"number",t);if(!s(t))throw new x(e,"an integer",t);const o=r?1:0,n=4294967295;if(t<o||t>n)throw new x(e,`>= ${o} && <= ${n}`,t)}));function O(t,e){if("string"!=typeof t)throw new y(e,"string",t)}const A=g(((t,e,r)=>{if(!n(r,t)){const o=a(i(r,(t=>"string"==typeof t?`'${t}'`:m(t))),", ");throw new w(e,t,"must be one of: "+o)}}));function L(t,e){if("boolean"!=typeof t)throw new y(e,"boolean",t)}function C(t,e,r){return null!=t&&u(t,e)?t[e]:r}const D=g(((t,e,r=null)=>{const n=C(r,"allowArray",!1),a=C(r,"allowFunction",!1);if(!C(r,"nullable",!1)&&null===t||!n&&o(t)||"object"!=typeof t&&(!a||"function"!=typeof t))throw new y(e,"Object",t)})),M=g(((t,e)=>{if(null!=t&&"object"!=typeof t&&"function"!=typeof t)throw new y(e,"a dictionary",t)})),P=g(((t,e,r=0)=>{if(!o(t))throw new y(e,"Array",t);if(t.length<r)throw new w(e,t,`must be longer than ${r}`)})),B=g(((t,e="buffer")=>{if(!S(t))throw new y(e,["Buffer","TypedArray","DataView"],t)})),z=g(((t,e)=>{if(void 0!==t&&(null===t||"object"!=typeof t||!("aborted"in t)))throw new y(e,"AbortSignal",t)})),$=g(((t,e)=>{if("function"!=typeof t)throw new y(e,"Function",t)})),q=g(((t,e)=>{if("function"!=typeof t||j(t))throw new y(e,"Function",t)})),F=g(((t,e)=>{if(void 0!==t)throw new y(e,"undefined",t)})),G=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function U(t,e){if(void 0===t||!b(G,t))throw new w(e,t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(t){return t===(0|t)},isUint32:function(t){return t===t>>>0},parseFileMode:function(t,e,r){if(void 0===t&&(t=r),"string"==typeof t){if(null===b(E,t))throw new w(e,t,"must be a 32-bit unsigned integer or an octal string");t=p(t,8)}return T(t,e),t},validateArray:P,validateStringArray:function(t,e){P(t,e);for(let r=0;r<t.length;r++)O(t[r],`${e}[${r}]`)},validateBooleanArray:function(t,e){P(t,e);for(let r=0;r<t.length;r++)L(t[r],`${e}[${r}]`)},validateAbortSignalArray:function(t,e){P(t,e);for(let r=0;r<t.length;r++){const o=t[r],n=`${e}[${r}]`;if(null==o)throw new y(n,"AbortSignal",o);z(o,n)}},validateBoolean:L,validateBuffer:B,validateDictionary:M,validateEncoding:function(t,e){const r=k(e),o=t.length;if("hex"===r&&o%2!=0)throw new w("encoding",e,`is invalid for data of length ${o}`)},validateFunction:$,validateInt32:R,validateInteger:N,validateNumber:function(t,e,r=void 0,o){if("number"!=typeof t)throw new y(e,"number",t);if(null!=r&&t<r||null!=o&&t>o||(null!=r||null!=o)&&l(t))throw new x(e,`${null!=r?`>= ${r}`:""}${null!=r&&null!=o?" && ":""}${null!=o?`<= ${o}`:""}`,t)},validateObject:D,validateOneOf:A,validatePlainFunction:q,validatePort:function(t,e="Port",r=!0){if("number"!=typeof t&&"string"!=typeof t||"string"==typeof t&&0===h(t).length||+t!==+t>>>0||t>65535||0===t&&!r)throw new v(e,t,r);return 0|t},validateSignalName:function(t,e="signal"){if(O(t,e),void 0===I[t]){if(void 0!==I[f(t)])throw new _(t+" (signals must use all capital letters)");throw new _(t)}},validateString:O,validateUint32:T,validateUndefined:F,validateUnion:function(t,e,r){if(!n(r,t))throw new y(e,`('${a(r,"|")}')`,t)},validateAbortSignal:z,validateLinkHeaderValue:function(t){if("string"==typeof t)return U(t,"hints"),t;if(o(t)){const e=t.length;let r="";if(0===e)return r;for(let o=0;o<e;o++){const n=t[o];U(n,"hints"),r+=n,o!==e-1&&(r+=", ")}return r}throw new w("hints",t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},345:(t,e,r)=>{const{StringPrototypeSlice:o,SymbolIterator:n,TypedArrayPrototypeSet:a,Uint8Array:i}=r(4134),{Buffer:s}=r(8287),{inspect:l}=r(7760);t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}unshift(t){const e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}shift(){if(0===this.length)return;const t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(0===this.length)return"";let e=this.head,r=""+e.data;for(;null!==(e=e.next);)r+=t+e.data;return r}concat(t){if(0===this.length)return s.alloc(0);const e=s.allocUnsafe(t>>>0);let r=this.head,o=0;for(;r;)a(e,r.data,o),o+=r.data.length,r=r.next;return e}consume(t,e){const r=this.head.data;if(t<r.length){const e=r.slice(0,t);return this.head.data=r.slice(t),e}return t===r.length?this.shift():e?this._getString(t):this._getBuffer(t)}first(){return this.head.data}*[n](){for(let t=this.head;t;t=t.next)yield t.data}_getString(t){let e="",r=this.head,n=0;do{const a=r.data;if(!(t>a.length)){t===a.length?(e+=a,++n,r.next?this.head=r.next:this.head=this.tail=null):(e+=o(a,0,t),this.head=r,r.data=o(a,t));break}e+=a,t-=a.length,++n}while(null!==(r=r.next));return this.length-=n,e}_getBuffer(t){const e=s.allocUnsafe(t),r=t;let o=this.head,n=0;do{const s=o.data;if(!(t>s.length)){t===s.length?(a(e,s,r-t),++n,o.next?this.head=o.next:this.head=this.tail=null):(a(e,new i(s.buffer,s.byteOffset,t),r-t),this.head=o,o.data=s.slice(t));break}a(e,s,r-t),t-=s.length,++n}while(null!==(o=o.next));return this.length-=n,e}[Symbol.for("nodejs.util.inspect.custom")](t,e){return l(this,{...e,depth:0,customInspect:!1})}}},346:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},378:(t,e,r)=>{const o=r(3751),n=r(2438);t.exports=class extends n{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new o("sha1")}modifyFirstDegreeComponent(t,e,r){return"BlankNode"!==e.termType?e:"graph"===r?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return t.predicate.value}createHashToRelated(t,e){const r=new Map,o=this.blankNodeInfo.get(t).quads;for(const n of o){let o,a;if("BlankNode"===n.subject.termType&&n.subject.value!==t)a=n.subject.value,o="p";else{if("BlankNode"!==n.object.termType||n.object.value===t)continue;a=n.object.value,o="r"}const i=this.hashRelatedBlankNode(a,n,e,o),s=r.get(i);s?s.push(a):r.set(i,[a])}return r}}},458:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Literal=void 0;const o=r(3476);class n{constructor(t,e){this.termType="Literal",this.value=t,"string"==typeof e?(this.language=e,this.datatype=n.RDF_LANGUAGE_STRING,this.direction=""):e?"termType"in e?(this.language="",this.datatype=e,this.direction=""):(this.language=e.language,this.datatype=e.direction?n.RDF_DIRECTIONAL_LANGUAGE_STRING:n.RDF_LANGUAGE_STRING,this.direction=e.direction||""):(this.language="",this.datatype=n.XSD_STRING,this.direction="")}equals(t){return!!t&&"Literal"===t.termType&&t.value===this.value&&t.language===this.language&&(t.direction===this.direction||!t.direction&&""===this.direction)&&this.datatype.equals(t.datatype)}}e.Literal=n,n.RDF_LANGUAGE_STRING=new o.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),n.RDF_DIRECTIONAL_LANGUAGE_STRING=new o.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString"),n.XSD_STRING=new o.NamedNode("http://www.w3.org/2001/XMLSchema#string")},470:(t,e,r)=>{const o=r(7382),n={};t.exports=n,n.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([a-zA-Z][a-zA-Z0-9+-.]*):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}},n.parse=(t,e)=>{const r={},o=n.parsers[e||"full"],a=o.regex.exec(t);let i=o.keys.length;for(;i--;)r[o.keys[i]]=void 0===a[i]?null:a[i];return("https"===r.scheme&&"443"===r.port||"http"===r.scheme&&"80"===r.port)&&(r.href=r.href.replace(":"+r.port,""),r.authority=r.authority.replace(":"+r.port,""),r.port=null),r.normalizedPath=n.removeDotSegments(r.path),r},n.prependBase=(t,e)=>{if(null===t)return e;if(n.isAbsolute(e))return e;t&&!o.isString(t)||(t=n.parse(t||""));const r=n.parse(e),a={protocol:t.protocol||""};if(null!==r.authority)a.authority=r.authority,a.path=r.path,a.query=r.query;else if(a.authority=t.authority,""===r.path)a.path=t.path,null!==r.query?a.query=r.query:a.query=t.query;else{if(0===r.path.indexOf("/"))a.path=r.path;else{let e=t.path;e=e.substr(0,e.lastIndexOf("/")+1),(e.length>0||t.authority)&&"/"!==e.substr(-1)&&(e+="/"),e+=r.path,a.path=e}a.query=r.query}""!==r.path&&(a.path=n.removeDotSegments(a.path));let i=a.protocol;return null!==a.authority&&(i+="//"+a.authority),i+=a.path,null!==a.query&&(i+="?"+a.query),null!==r.fragment&&(i+="#"+r.fragment),""===i&&(i="./"),i},n.removeBase=(t,e)=>{if(null===t)return e;t&&!o.isString(t)||(t=n.parse(t||""));let r="";if(""!==t.href?r+=(t.protocol||"")+"//"+(t.authority||""):e.indexOf("//")&&(r+="//"),0!==e.indexOf(r))return e;const a=n.parse(e.substr(r.length)),i=t.normalizedPath.split("/"),s=a.normalizedPath.split("/"),l=a.fragment||a.query?0:1;for(;i.length>0&&s.length>l&&i[0]===s[0];)i.shift(),s.shift();let d="";if(i.length>0){i.pop();for(let t=0;t<i.length;++t)d+="../"}return d+=s.join("/"),null!==a.query&&(d+="?"+a.query),null!==a.fragment&&(d+="#"+a.fragment),""===d&&(d="./"),d},n.removeDotSegments=t=>{if(0===t.length)return"";const e=t.split("/"),r=[];for(;e.length>0;){const t=e.shift(),o=0===e.length;"."!==t?".."!==t?r.push(t):(r.pop(),o&&r.push("")):o&&r.push("")}return"/"===t[0]&&r.length>0&&""!==r[0]&&r.unshift(""),1===r.length&&""===r[0]?"/":r.join("/")};const a=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;n.isAbsolute=t=>o.isString(t)&&a.test(t),n.isRelative=t=>o.isString(t)},659:(t,e,r)=>{var o=r(1873),n=Object.prototype,a=n.hasOwnProperty,i=n.toString,s=o?o.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var o=!0}catch(t){}var n=i.call(t);return o&&(e?t[s]=r:delete t[s]),n}},701:(t,e,r)=>{const o=r(6957),n={};t.exports=n,n.setupDocumentLoaders=function(t){"undefined"!=typeof XMLHttpRequest&&(t.documentLoaders.xhr=o,t.useDocumentLoader("xhr"))},n.setupGlobals=function(t){void 0===globalThis.JsonLdProcessor&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:t.JsonLdProcessor})}},823:(t,e,r)=>{const o=globalThis.AbortController||r(5568).AbortController,{codes:{ERR_INVALID_ARG_VALUE:n,ERR_INVALID_ARG_TYPE:a,ERR_MISSING_ARGS:i,ERR_OUT_OF_RANGE:s},AbortError:l}=r(6371),{validateAbortSignal:d,validateInteger:c,validateObject:p}=r(277),u=r(4134).Symbol("kWeak"),b=r(4134).Symbol("kResistStopPropagation"),{finished:m}=r(6238),f=r(7830),{addAbortSignalNoValidate:h}=r(4147),{isWritable:g,isNodeStream:v}=r(6115),{deprecate:y}=r(7760),{ArrayPrototypePush:w,Boolean:x,MathFloor:_,Number:k,NumberIsNaN:j,Promise:S,PromiseReject:I,PromiseResolve:E,PromisePrototypeThen:N,Symbol:R}=r(4134),T=R("kEmpty"),O=R("kEof");function A(t,e){if("function"!=typeof t)throw new a("fn",["Function","AsyncFunction"],t);null!=e&&p(e,"options"),null!=(null==e?void 0:e.signal)&&d(e.signal,"options.signal");let o=1;null!=(null==e?void 0:e.concurrency)&&(o=_(e.concurrency));let n=o-1;return null!=(null==e?void 0:e.highWaterMark)&&(n=_(e.highWaterMark)),c(o,"options.concurrency",1),c(n,"options.highWaterMark",0),n+=o,async function*(){const a=r(7760).AbortSignalAny([null==e?void 0:e.signal].filter(x)),i=this,s=[],d={signal:a};let c,p,u=!1,b=0;function m(){u=!0,f()}function f(){b-=1,h()}function h(){p&&!u&&b<o&&s.length<n&&(p(),p=null)}!async function(){try{for await(let e of i){if(u)return;if(a.aborted)throw new l;try{if(e=t(e,d),e===T)continue;e=E(e)}catch(t){e=I(t)}b+=1,N(e,f,m),s.push(e),c&&(c(),c=null),!u&&(s.length>=n||b>=o)&&await new S((t=>{p=t}))}s.push(O)}catch(t){const e=I(t);N(e,f,m),s.push(e)}finally{u=!0,c&&(c(),c=null)}}();try{for(;;){for(;s.length>0;){const t=await s[0];if(t===O)return;if(a.aborted)throw new l;t!==T&&(yield t),s.shift(),h()}await new S((t=>{c=t}))}}finally{u=!0,p&&(p(),p=null)}}.call(this)}async function L(t,e=void 0){for await(const r of C.call(this,t,e))return!0;return!1}function C(t,e){if("function"!=typeof t)throw new a("fn",["Function","AsyncFunction"],t);return A.call(this,(async function(e,r){return await t(e,r)?e:T}),e)}class D extends i{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function M(t){if(t=k(t),j(t))return 0;if(t<0)throw new s("number",">= 0",t);return t}t.exports.streamReturningOperators={asIndexedPairs:y((function(t=void 0){return null!=t&&p(t,"options"),null!=(null==t?void 0:t.signal)&&d(t.signal,"options.signal"),async function*(){let e=0;for await(const o of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new l({cause:t.signal.reason});yield[e++,o]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(t,e=void 0){return null!=e&&p(e,"options"),null!=(null==e?void 0:e.signal)&&d(e.signal,"options.signal"),t=M(t),async function*(){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new l;for await(const r of this){var o;if(null!=e&&null!==(o=e.signal)&&void 0!==o&&o.aborted)throw new l;t--<=0&&(yield r)}}.call(this)},filter:C,flatMap:function(t,e){const r=A.call(this,t,e);return async function*(){for await(const t of r)yield*t}.call(this)},map:A,take:function(t,e=void 0){return null!=e&&p(e,"options"),null!=(null==e?void 0:e.signal)&&d(e.signal,"options.signal"),t=M(t),async function*(){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new l;for await(const r of this){var o;if(null!=e&&null!==(o=e.signal)&&void 0!==o&&o.aborted)throw new l;if(t-- >0&&(yield r),t<=0)return}}.call(this)},compose:function(t,e){if(null!=e&&p(e,"options"),null!=(null==e?void 0:e.signal)&&d(e.signal,"options.signal"),v(t)&&!g(t))throw new n("stream",t,"must be writable");const r=f(this,t);return null!=e&&e.signal&&h(e.signal,r),r}},t.exports.promiseReturningOperators={every:async function(t,e=void 0){if("function"!=typeof t)throw new a("fn",["Function","AsyncFunction"],t);return!await L.call(this,(async(...e)=>!await t(...e)),e)},forEach:async function(t,e){if("function"!=typeof t)throw new a("fn",["Function","AsyncFunction"],t);for await(const r of A.call(this,(async function(e,r){return await t(e,r),T}),e));},reduce:async function(t,e,r){var n;if("function"!=typeof t)throw new a("reducer",["Function","AsyncFunction"],t);null!=r&&p(r,"options"),null!=(null==r?void 0:r.signal)&&d(r.signal,"options.signal");let i=arguments.length>1;if(null!=r&&null!==(n=r.signal)&&void 0!==n&&n.aborted){const t=new l(void 0,{cause:r.signal.reason});throw this.once("error",(()=>{})),await m(this.destroy(t)),t}const s=new o,c=s.signal;if(null!=r&&r.signal){const t={once:!0,[u]:this,[b]:!0};r.signal.addEventListener("abort",(()=>s.abort()),t)}let f=!1;try{for await(const o of this){var h;if(f=!0,null!=r&&null!==(h=r.signal)&&void 0!==h&&h.aborted)throw new l;i?e=await t(e,o,{signal:c}):(e=o,i=!0)}if(!f&&!i)throw new D}finally{s.abort()}return e},toArray:async function(t){null!=t&&p(t,"options"),null!=(null==t?void 0:t.signal)&&d(t.signal,"options.signal");const e=[];for await(const o of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new l(void 0,{cause:t.signal.reason});w(e,o)}return e},some:L,find:async function(t,e){for await(const r of C.call(this,t,e))return r}}},989:(t,e,r)=>{t.exports=r(4005)},1058:(t,e,r)=>{const o=r(2207),{isArray:n,isObject:a,isString:i,isUndefined:s}=r(7382),{isList:l,isValue:d,isGraph:c,isSimpleGraph:p,isSubjectReference:u}=r(3978),{expandIri:b,getContextValue:m,isKeyword:f,process:h,processingMode:g}=r(1972),{removeBase:v,prependBase:y}=r(470),{REGEX_KEYWORD:w,addValue:x,asArray:_,compareShortestLeast:k}=r(9263),j={};function S(t,e,r){if("@nest"!==b(t,e,{vocab:!0},r))throw new o("JSON-LD compact error; nested property must have an @nest value resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}t.exports=j,j.compact=async({activeCtx:t,activeProperty:e=null,element:r,options:b={}})=>{if(n(r)){let o=[];for(let n=0;n<r.length;++n){const a=await j.compact({activeCtx:t,activeProperty:e,element:r[n],options:b});null!==a&&o.push(a)}return b.compactArrays&&1===o.length&&0===(m(t,e,"@container")||[]).length&&(o=o[0]),o}const v=m(t,e,"@context");if(s(v)||(t=await h({activeCtx:t,localCtx:v,propagate:!0,overrideProtected:!0,options:b})),a(r)){if(b.link&&"@id"in r&&b.link.hasOwnProperty(r["@id"])){const t=b.link[r["@id"]];for(let e=0;e<t.length;++e)if(t[e].expanded===r)return t[e].compacted}if(d(r)||u(r)){const o=j.compactValue({activeCtx:t,activeProperty:e,value:r,options:b});return b.link&&u(r)&&(b.link.hasOwnProperty(r["@id"])||(b.link[r["@id"]]=[]),b.link[r["@id"]].push({expanded:r,compacted:o})),o}if(l(r)&&(m(t,e,"@container")||[]).includes("@list"))return j.compact({activeCtx:t,activeProperty:e,element:r["@list"],options:b});const v="@reverse"===e,y={},w=t;d(r)||u(r)||(t=t.revertToPreviousContext());const k=m(w,e,"@context");s(k)||(t=await h({activeCtx:t,localCtx:k,propagate:!0,overrideProtected:!0,options:b})),b.link&&"@id"in r&&(b.link.hasOwnProperty(r["@id"])||(b.link[r["@id"]]=[]),b.link[r["@id"]].push({expanded:r,compacted:y}));let I=r["@type"]||[];I.length>1&&(I=Array.from(I).sort());const E=t;for(const e of I){const r=j.compactIri({activeCtx:E,iri:e,relativeTo:{vocab:!0}}),o=m(w,r,"@context");s(o)||(t=await h({activeCtx:t,localCtx:o,options:b,propagate:!1}))}const N=Object.keys(r).sort();for(const s of N){const u=r[s];if("@id"!==s)if("@type"!==s)if("@reverse"!==s)if("@preserve"!==s)if("@index"!==s)if("@graph"!==s&&"@list"!==s&&"@included"!==s&&f(s)){const e=j.compactIri({activeCtx:t,iri:s,relativeTo:{vocab:!0}});x(y,e,u)}else{if(!n(u))throw new o("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError");if(0===u.length){const e=j.compactIri({activeCtx:t,iri:s,value:u,relativeTo:{vocab:!0},reverse:v}),r=t.mappings.has(e)?t.mappings.get(e)["@nest"]:null;let o=y;r&&(S(t,r,b),a(y[r])||(y[r]={}),o=y[r]),x(o,e,u,{propertyIsArray:!0})}for(const e of u){const r=j.compactIri({activeCtx:t,iri:s,value:e,relativeTo:{vocab:!0},reverse:v}),o=t.mappings.has(r)?t.mappings.get(r)["@nest"]:null;let u=y;o&&(S(t,o,b),a(y[o])||(y[o]={}),u=y[o]);const f=m(t,r,"@container")||[],h=c(e),g=l(e);let w;g?w=e["@list"]:h&&(w=e["@graph"]);let k=await j.compact({activeCtx:t,activeProperty:r,element:g||h?w:e,options:b});if(g){if(n(k)||(k=[k]),f.includes("@list")){x(u,r,k,{valueIsArray:!0,allowDuplicate:!0});continue}k={[j.compactIri({activeCtx:t,iri:"@list",relativeTo:{vocab:!0}})]:k},"@index"in e&&(k[j.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=e["@index"])}if(h)if(f.includes("@graph")&&(f.includes("@id")||f.includes("@index")&&p(e))){let o;u.hasOwnProperty(r)?o=u[r]:u[r]=o={};const n=(f.includes("@id")?e["@id"]:e["@index"])||j.compactIri({activeCtx:t,iri:"@none",relativeTo:{vocab:!0}});x(o,n,k,{propertyIsArray:!b.compactArrays||f.includes("@set")})}else f.includes("@graph")&&p(e)?(n(k)&&k.length>1&&(k={"@included":k}),x(u,r,k,{propertyIsArray:!b.compactArrays||f.includes("@set")})):(n(k)&&1===k.length&&b.compactArrays&&(k=k[0]),k={[j.compactIri({activeCtx:t,iri:"@graph",relativeTo:{vocab:!0}})]:k},"@id"in e&&(k[j.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}})]=e["@id"]),"@index"in e&&(k[j.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=e["@index"]),x(u,r,k,{propertyIsArray:!b.compactArrays||f.includes("@set")}));else if(f.includes("@language")||f.includes("@index")||f.includes("@id")||f.includes("@type")){let o,n;if(u.hasOwnProperty(r)?o=u[r]:u[r]=o={},f.includes("@language"))d(k)&&(k=k["@value"]),n=e["@language"];else if(f.includes("@index")){const o=m(t,r,"@index")||"@index",a=j.compactIri({activeCtx:t,iri:o,relativeTo:{vocab:!0}});if("@index"===o)n=e["@index"],delete k[a];else{let t;if([n,...t]=_(k[o]||[]),i(n))switch(t.length){case 0:delete k[o];break;case 1:k[o]=t[0];break;default:k[o]=t}else n=null}}else if(f.includes("@id")){const e=j.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}});n=k[e],delete k[e]}else if(f.includes("@type")){const o=j.compactIri({activeCtx:t,iri:"@type",relativeTo:{vocab:!0}});let a;switch([n,...a]=_(k[o]||[]),a.length){case 0:delete k[o];break;case 1:k[o]=a[0];break;default:k[o]=a}1===Object.keys(k).length&&"@id"in e&&(k=await j.compact({activeCtx:t,activeProperty:r,element:{"@id":e["@id"]},options:b}))}n||(n=j.compactIri({activeCtx:t,iri:"@none",relativeTo:{vocab:!0}})),x(o,n,k,{propertyIsArray:f.includes("@set")})}else{const t=!b.compactArrays||f.includes("@set")||f.includes("@list")||n(k)&&0===k.length||"@list"===s||"@graph"===s;x(u,r,k,{propertyIsArray:t})}}}else{if((m(t,e,"@container")||[]).includes("@index"))continue;const r=j.compactIri({activeCtx:t,iri:s,relativeTo:{vocab:!0}});x(y,r,u)}else{const r=await j.compact({activeCtx:t,activeProperty:e,element:u,options:b});n(r)&&0===r.length||x(y,s,r)}else{const e=await j.compact({activeCtx:t,activeProperty:"@reverse",element:u,options:b});for(const r in e)if(t.mappings.has(r)&&t.mappings.get(r).reverse){const o=e[r],n=(m(t,r,"@container")||[]).includes("@set")||!b.compactArrays;x(y,r,o,{propertyIsArray:n}),delete e[r]}if(Object.keys(e).length>0){const r=j.compactIri({activeCtx:t,iri:s,relativeTo:{vocab:!0}});x(y,r,e)}}else{let e=_(u).map((t=>j.compactIri({activeCtx:w,iri:t,relativeTo:{vocab:!0}})));1===e.length&&(e=e[0]);const r=j.compactIri({activeCtx:t,iri:"@type",relativeTo:{vocab:!0}}),o=(m(t,r,"@container")||[]).includes("@set")&&g(t,1.1)||n(e)&&0===u.length;x(y,r,e,{propertyIsArray:o})}else{let e=_(u).map((e=>j.compactIri({activeCtx:t,iri:e,relativeTo:{vocab:!1},base:b.base})));1===e.length&&(e=e[0]),y[j.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}})]=e}}return y}return r},j.compactIri=({activeCtx:t,iri:e,value:r=null,relativeTo:n={vocab:!1},reverse:i=!1,base:s=null})=>{if(null===e)return e;t.isPropertyTermScoped&&t.previousContext&&(t=t.previousContext);const p=t.getInverse();if(f(e)&&e in p&&"@none"in p[e]&&"@type"in p[e]["@none"]&&"@none"in p[e]["@none"]["@type"])return p[e]["@none"]["@type"]["@none"];if(n.vocab&&e in p){const o=t["@language"]||"@none",n=[];a(r)&&"@index"in r&&!("@graph"in r)&&n.push("@index","@index@set"),a(r)&&"@preserve"in r&&(r=r["@preserve"][0]),c(r)?("@index"in r&&n.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in r&&n.push("@graph@id","@graph@id@set"),n.push("@graph","@graph@set","@set"),"@index"in r||n.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in r||n.push("@graph@id","@graph@id@set")):a(r)&&!d(r)&&n.push("@id","@id@set","@type","@set@type");let s="@language",p="@null";if(i)s="@type",p="@reverse",n.push("@set");else if(l(r)){"@index"in r||n.push("@list");const t=r["@list"];if(0===t.length)s="@any",p="@none";else{let e=0===t.length?o:null,r=null;for(let o=0;o<t.length;++o){const n=t[o];let a="@none",i="@none";if(d(n)?"@direction"in n?a=`${(n["@language"]||"").toLowerCase()}_${n["@direction"]}`:"@language"in n?a=n["@language"].toLowerCase():"@type"in n?i=n["@type"]:a="@null":i="@id",null===e?e=a:a!==e&&d(n)&&(e="@none"),null===r?r=i:i!==r&&(r="@none"),"@none"===e&&"@none"===r)break}e=e||"@none",r=r||"@none","@none"!==r?(s="@type",p=r):p=e}}else{if(d(r))if("@language"in r&&!("@index"in r)){n.push("@language","@language@set"),p=r["@language"];const t=r["@direction"];t&&(p=`${p}_${t}`)}else"@direction"in r&&!("@index"in r)?p=`_${r["@direction"]}`:"@type"in r&&(s="@type",p=r["@type"]);else s="@type",p="@id";n.push("@set")}n.push("@none"),a(r)&&!("@index"in r)&&n.push("@index","@index@set"),d(r)&&1===Object.keys(r).length&&n.push("@language","@language@set");const u=function(t,e,r,o,n,i){null===i&&(i="@null");const s=[];if(("@id"===i||"@reverse"===i)&&a(r)&&"@id"in r){"@reverse"===i&&s.push("@reverse");const e=j.compactIri({activeCtx:t,iri:r["@id"],relativeTo:{vocab:!0}});t.mappings.has(e)&&t.mappings.get(e)&&t.mappings.get(e)["@id"]===r["@id"]?s.push.apply(s,["@vocab","@id"]):s.push.apply(s,["@id","@vocab"])}else{s.push(i);const t=s.find((t=>t.includes("_")));t&&s.push(t.replace(/^[^_]+_/,"_"))}s.push("@none");const l=t.inverse[e];for(const t of o){if(!(t in l))continue;const e=l[t][n];for(const t of s)if(t in e)return e[t]}return null}(t,e,r,n,s,p);if(null!==u)return u}if(n.vocab&&"@vocab"in t){const r=t["@vocab"];if(0===e.indexOf(r)&&e!==r){const o=e.substr(r.length);if(!t.mappings.has(o))return o}}let u=null;const b=[];let m=t.fastCurieMap;const h=e.length-1;for(let t=0;t<h&&e[t]in m;++t)m=m[e[t]],""in m&&b.push(m[""][0]);for(let o=b.length-1;o>=0;--o){const n=b[o],a=n.terms;for(const o of a){const a=o+":"+e.substr(n.iri.length);t.mappings.get(o)._prefix&&(!t.mappings.has(a)||null===r&&t.mappings.get(a)["@id"]===e)&&(null===u||k(a,u)<0)&&(u=a)}}if(null!==u)return u;for(const[r,n]of t.mappings)if(n&&n._prefix&&e.startsWith(r+":"))throw new o(`Absolute IRI "${e}" confused with prefix "${r}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:t});if(!n.vocab){if("@base"in t){if(t["@base"]){const r=v(y(s,t["@base"]),e);return w.test(r)?`./${r}`:r}return e}return v(s,e)}return e},j.compactValue=({activeCtx:t,activeProperty:e,value:r,options:o})=>{if(d(r)){const o=m(t,e,"@type"),n=m(t,e,"@language"),a=m(t,e,"@direction"),s=m(t,e,"@container")||[],l="@index"in r&&!s.includes("@index");if(!l&&"@none"!==o){if(r["@type"]===o)return r["@value"];if("@language"in r&&r["@language"]===n&&"@direction"in r&&r["@direction"]===a)return r["@value"];if("@language"in r&&r["@language"]===n)return r["@value"];if("@direction"in r&&r["@direction"]===a)return r["@value"]}const d=Object.keys(r).length,c=1===d||2===d&&"@index"in r&&!l,p="@language"in t,u=i(r["@value"]),b=t.mappings.has(e)&&null===t.mappings.get(e)["@language"];if(c&&"@none"!==o&&(!p||!u||b))return r["@value"];const f={};return l&&(f[j.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=r["@index"]),"@type"in r?f[j.compactIri({activeCtx:t,iri:"@type",relativeTo:{vocab:!0}})]=j.compactIri({activeCtx:t,iri:r["@type"],relativeTo:{vocab:!0}}):"@language"in r&&(f[j.compactIri({activeCtx:t,iri:"@language",relativeTo:{vocab:!0}})]=r["@language"]),"@direction"in r&&(f[j.compactIri({activeCtx:t,iri:"@direction",relativeTo:{vocab:!0}})]=r["@direction"]),f[j.compactIri({activeCtx:t,iri:"@value",relativeTo:{vocab:!0}})]=r["@value"],f}const n=b(t,e,{vocab:!0},o),a=m(t,e,"@type"),s=j.compactIri({activeCtx:t,iri:r["@id"],relativeTo:{vocab:"@vocab"===a},base:o.base});return"@id"===a||"@vocab"===a||"@graph"===n?s:{[j.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}})]:s}}},1227:t=>{const e="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString",r="http://www.w3.org/2001/XMLSchema#string",o="NamedNode",n="BlankNode",a="Literal",i="DefaultGraph",s={};(()=>{const t="(?:<([^:]+:[^>]*)>)",e="A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_",r=e+"0-9-·̀-ͯ‿-⁀",o="(_:(?:["+e+"0-9])(?:(?:["+r+".])*(?:["+r+"]))?)",n="[ \\t]+",a="[ \\t]*",i="(?:"+t+"|"+o+")"+n,l=t+n,d="(?:"+t+"|"+o+'|(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"(?:(?:\\^\\^'+t+")|(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*)))?))"+a,c="(?:\\.|(?:(?:"+t+"|"+o+")"+a+"\\.))";s.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,s.empty=new RegExp("^"+a+"$"),s.quad=new RegExp("^"+a+i+l+d+c+a+"$")})(),t.exports=class t{static parse(t){const l=[],c={},p=t.split(s.eoln);let u=0;for(const t of p){if(u++,s.empty.test(t))continue;const p=t.match(s.quad);if(null===p)throw new Error("N-Quads parse error on line "+u+".");const f={subject:null,predicate:null,object:null,graph:null};if(void 0!==p[1]?f.subject={termType:o,value:p[1]}:f.subject={termType:n,value:p[2]},f.predicate={termType:o,value:p[3]},void 0!==p[4]?f.object={termType:o,value:p[4]}:void 0!==p[5]?f.object={termType:n,value:p[5]}:(f.object={termType:a,value:void 0,datatype:{termType:o}},void 0!==p[7]?f.object.datatype.value=p[7]:void 0!==p[8]?(f.object.datatype.value=e,f.object.language=p[8]):f.object.datatype.value=r,f.object.value=p[6].replace(d,(function(t,e,r,o){if(e)switch(e){case"t":return"\t";case"b":return"\b";case"n":return"\n";case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(r)return String.fromCharCode(parseInt(r,16));if(o)throw new Error("Unsupported U escape")}))),void 0!==p[9]?f.graph={termType:o,value:p[9]}:void 0!==p[10]?f.graph={termType:n,value:p[10]}:f.graph={termType:i,value:""},f.graph.value in c){let t=!0;const e=c[f.graph.value];for(const r of e)if(m=f,(b=r).subject.termType===m.subject.termType&&b.object.termType===m.object.termType&&b.subject.value===m.subject.value&&b.predicate.value===m.predicate.value&&b.object.value===m.object.value&&(b.object.termType!==a||b.object.datatype.termType===m.object.datatype.termType&&b.object.language===m.object.language&&b.object.datatype.value===m.object.datatype.value)){t=!1;break}t&&(e.push(f),l.push(f))}else c[f.graph.value]=[f],l.push(f)}var b,m;return l}static serialize(e){Array.isArray(e)||(e=t.legacyDatasetToQuads(e));const r=[];for(const o of e)r.push(t.serializeQuad(o));return r.sort().join("")}static serializeQuadComponents(t,a,i,s){let d="";return t.termType===o?d+=`<${t.value}>`:d+=`${t.value}`,d+=` <${a.value}> `,i.termType===o?d+=`<${i.value}>`:i.termType===n?d+=i.value:(d+=`"${function(t){return t.replace(l,(function(t){switch(t){case'"':return'\\"';case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r"}}))}(i.value)}"`,i.datatype.value===e?i.language&&(d+=`@${i.language}`):i.datatype.value!==r&&(d+=`^^<${i.datatype.value}>`)),s.termType===o?d+=` <${s.value}>`:s.termType===n&&(d+=` ${s.value}`),d+=" .\n",d}static serializeQuad(e){return t.serializeQuadComponents(e.subject,e.predicate,e.object,e.graph)}static legacyDatasetToQuads(t){const s=[],l={"blank node":n,IRI:o,literal:a};for(const d in t)t[d].forEach((t=>{const c={};for(const n in t){const i=t[n],s={termType:l[i.type],value:i.value};s.termType===a&&(s.datatype={termType:o},"datatype"in i&&(s.datatype.value=i.datatype),"language"in i?("datatype"in i||(s.datatype.value=e),s.language=i.language):"datatype"in i||(s.datatype.value=r)),c[n]=s}c.graph="@default"===d?{termType:i,value:""}:{termType:d.startsWith("_:")?n:o,value:d},s.push(c)}));return s}};const l=/["\\\n\r]/g,d=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g},1489:(t,e,r)=>{var o=r(7400);t.exports=function(t){var e=o(t),r=e%1;return e==e?r?e-r:e:0}},1800:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},1873:(t,e,r)=>{var o=r(9325).Symbol;t.exports=o},1972:(t,e,r)=>{const o=r(9263),n=r(2207),{isArray:a,isObject:i,isString:s,isUndefined:l}=r(7382),{isAbsolute:d,isRelative:c,prependBase:p}=r(470),{handleEvent:u}=r(2246),{REGEX_BCP47:b,REGEX_KEYWORD:m,asArray:f,compareShortestLeast:h}=r(9263),g=new Map,v={};function y(t,e,r,o,n,a){if(null===e||!s(e)||v.isKeyword(e))return e;if(e.match(m))return null;if(o&&o.hasOwnProperty(e)&&!0!==n.get(e)&&v.createTermDefinition({activeCtx:t,localCtx:o,term:e,defined:n,options:a}),(r=r||{}).vocab){const r=t.mappings.get(e);if(null===r)return null;if(i(r)&&"@id"in r)return r["@id"]}const l=e.indexOf(":");if(l>0){const r=e.substr(0,l),i=e.substr(l+1);if("_"===r||0===i.indexOf("//"))return e;o&&o.hasOwnProperty(r)&&v.createTermDefinition({activeCtx:t,localCtx:o,term:r,defined:n,options:a});const s=t.mappings.get(r);if(s&&s._prefix)return s["@id"]+i;if(d(e))return e}if(r.vocab&&"@vocab"in t)e=t["@vocab"]+e;else if(r.base){let r,o;"@base"in t?t["@base"]?(o=p(a.base,t["@base"]),r=p(o,e)):(o=t["@base"],r=e):(o=a.base,r=p(a.base,e)),e=r}return e}function w(t,e){if(!t||"object"!=typeof t||!e||"object"!=typeof e)return t===e;const r=Array.isArray(t);if(r!==Array.isArray(e))return!1;if(r){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!w(t[r],e[r]))return!1;return!0}const o=Object.keys(t),n=Object.keys(e);if(o.length!==n.length)return!1;for(const r in t){let o=t[r],n=e[r];if("@container"===r&&Array.isArray(o)&&Array.isArray(n)&&(o=o.slice().sort(),n=n.slice().sort()),!w(o,n))return!1}return!0}t.exports=v,v.process=async({activeCtx:t,localCtx:e,options:r,propagate:o=!0,overrideProtected:l=!1,cycles:m=new Set})=>{if(i(e)&&"@context"in e&&a(e["@context"])&&(e=e["@context"]),0===f(e).length)return t;const h=[],g=[({event:t,next:e})=>{h.push(t),e()}];r.eventHandler&&g.push(r.eventHandler);const w=r;r={...r,eventHandler:g};const x=await r.contextResolver.resolve({activeCtx:t,context:e,documentLoader:r.documentLoader,base:r.base});i(x[0].document)&&"boolean"==typeof x[0].document["@propagate"]&&(o=x[0].document["@propagate"]);let _=t;o||_.previousContext||(_=_.clone(),_.previousContext=t);for(const o of x){let{document:a}=o;if(t=_,null===a){if(!l&&0!==Object.keys(t.protected).length)throw new n("Tried to nullify a context with protected terms outside of a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"});_=t=v.getInitialContext(r).clone();continue}const f=o.getProcessed(t);if(f){if(w.eventHandler)for(const t of f.events)u({event:t,options:w});_=t=f.context;continue}if(i(a)&&"@context"in a&&(a=a["@context"]),!i(a))throw new n("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:a});_=_.clone();const g=new Map;if("@version"in a){if(1.1!==a["@version"])throw new n("Unsupported JSON-LD version: "+a["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:a});if(t.processingMode&&"json-ld-1.0"===t.processingMode)throw new n("@version: "+a["@version"]+" not compatible with "+t.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:a});_.processingMode="json-ld-1.1",_["@version"]=a["@version"],g.set("@version",!0)}if(_.processingMode=_.processingMode||t.processingMode,"@base"in a){let t=a["@base"];if(null===t||d(t));else{if(!c(t))throw new n('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI, a relative IRI, or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:a});t=p(_["@base"],t)}_["@base"]=t,g.set("@base",!0)}if("@vocab"in a){const t=a["@vocab"];if(null===t)delete _["@vocab"];else{if(!s(t))throw new n('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:a});if(!d(t)&&v.processingMode(_,1))throw new n('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:a});{const e=y(_,t,{vocab:!0,base:!0},void 0,void 0,r);d(e)||r.eventHandler&&u({event:{type:["JsonLdEvent"],code:"relative @vocab reference",level:"warning",message:"Relative @vocab reference found.",details:{vocab:e}},options:r}),_["@vocab"]=e}}g.set("@vocab",!0)}if("@language"in a){const t=a["@language"];if(null===t)delete _["@language"];else{if(!s(t))throw new n('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:a});t.match(b)||r.eventHandler&&u({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:t}},options:r}),_["@language"]=t.toLowerCase()}g.set("@language",!0)}if("@direction"in a){const e=a["@direction"];if("json-ld-1.0"===t.processingMode)throw new n("Invalid JSON-LD syntax; @direction not compatible with "+t.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:a});if(null===e)delete _["@direction"];else{if("ltr"!==e&&"rtl"!==e)throw new n('Invalid JSON-LD syntax; the value of "@direction" in a @context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:a});_["@direction"]=e}g.set("@direction",!0)}if("@propagate"in a){const r=a["@propagate"];if("json-ld-1.0"===t.processingMode)throw new n("Invalid JSON-LD syntax; @propagate not compatible with "+t.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:a});if("boolean"!=typeof r)throw new n("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:e});g.set("@propagate",!0)}if("@import"in a){const o=a["@import"];if("json-ld-1.0"===t.processingMode)throw new n("Invalid JSON-LD syntax; @import not compatible with "+t.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:a});if(!s(o))throw new n("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:e});const i=await r.contextResolver.resolve({activeCtx:t,context:o,documentLoader:r.documentLoader,base:r.base});if(1!==i.length)throw new n("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:e});const l=i[0].getProcessed(t);if(l)a=l;else{const r=i[0].document;if("@import"in r)throw new n("Invalid JSON-LD syntax: imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:e});for(const t in r)a.hasOwnProperty(t)||(a[t]=r[t]);i[0].setProcessed(t,a)}g.set("@import",!0)}g.set("@protected",a["@protected"]||!1);for(const t in a)if(v.createTermDefinition({activeCtx:_,localCtx:a,term:t,defined:g,options:r,overrideProtected:l}),i(a[t])&&"@context"in a[t]){const e=a[t]["@context"];let o=!0;if(s(e)){const t=p(r.base,e);m.has(t)?o=!1:m.add(t)}if(o)try{await v.process({activeCtx:_.clone(),localCtx:a[t]["@context"],overrideProtected:!0,options:r,cycles:m})}catch(e){throw new n("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:a[t]["@context"],term:t})}}o.setProcessed(t,{context:_,events:h})}return _},v.createTermDefinition=({activeCtx:t,localCtx:e,term:r,defined:o,options:l,overrideProtected:c=!1})=>{if(o.has(r)){if(o.get(r))return;throw new n("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:e,term:r})}let p;if(o.set(r,!1),e.hasOwnProperty(r)&&(p=e[r]),"@type"===r&&i(p)&&"@set"===(p["@container"]||"@set")&&v.processingMode(t,1.1)){const t=["@container","@id","@protected"],o=Object.keys(p);if(0===o.length||o.some((e=>!t.includes(e))))throw new n("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:e,term:r})}else{if(v.isKeyword(r))throw new n("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:e,term:r});if(r.match(m))return void(l.eventHandler&&u({event:{type:["JsonLdEvent"],code:"reserved term",level:"warning",message:'Terms beginning with "@" are reserved for future use and dropped.',details:{term:r}},options:l}));if(""===r)throw new n("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:e})}const b=t.mappings.get(r);t.mappings.has(r)&&t.mappings.delete(r);let f=!1;if((s(p)||null===p)&&(f=!0,p={"@id":p}),!i(p))throw new n("Invalid JSON-LD syntax; @context term values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:e});const h={};t.mappings.set(r,h),h.reverse=!1;const g=["@container","@id","@language","@reverse","@type"];v.processingMode(t,1.1)&&g.push("@context","@direction","@index","@nest","@prefix","@protected");for(const t in p)if(!g.includes(t))throw new n("Invalid JSON-LD syntax; a term definition must not contain "+t,"jsonld.SyntaxError",{code:"invalid term definition",context:e});const x=r.indexOf(":");if(h._termHasColon=x>0,"@reverse"in p){if("@id"in p)throw new n("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:e});if("@nest"in p)throw new n("Invalid JSON-LD syntax; a @reverse term definition must not contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:e});const a=p["@reverse"];if(!s(a))throw new n("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});if(a.match(m))return l.eventHandler&&u({event:{type:["JsonLdEvent"],code:"reserved @reverse value",level:"warning",message:'@reverse values beginning with "@" are reserved for future use and dropped.',details:{reverse:a}},options:l}),void(b?t.mappings.set(r,b):t.mappings.delete(r));const i=y(t,a,{vocab:!0,base:!1},e,o,l);if(!d(i))throw new n("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});h["@id"]=i,h.reverse=!0}else if("@id"in p){let a=p["@id"];if(a&&!s(a))throw new n("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});if(null===a)h["@id"]=null;else{if(!v.isKeyword(a)&&a.match(m))return l.eventHandler&&u({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:'@id values beginning with "@" are reserved for future use and dropped.',details:{id:a}},options:l}),void(b?t.mappings.set(r,b):t.mappings.delete(r));if(a!==r){if(a=y(t,a,{vocab:!0,base:!1},e,o,l),!d(a)&&!v.isKeyword(a))throw new n("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});if(r.match(/(?::[^:])|\//)&&y(t,r,{vocab:!0,base:!1},e,new Map(o).set(r,!0),l)!==a)throw new n("Invalid JSON-LD syntax; term in form of IRI must expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});h["@id"]=a,h._prefix=f&&!h._termHasColon&&null!==a.match(/[:\/\?#\[\]@]$/)}}}if(!("@id"in h))if(h._termHasColon){const n=r.substr(0,x);if(e.hasOwnProperty(n)&&v.createTermDefinition({activeCtx:t,localCtx:e,term:n,defined:o,options:l}),t.mappings.has(n)){const e=r.substr(x+1);h["@id"]=t.mappings.get(n)["@id"]+e}else h["@id"]=r}else if("@type"===r)h["@id"]=r;else{if(!("@vocab"in t))throw new n("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e,term:r});h["@id"]=t["@vocab"]+r}if((!0===p["@protected"]||!0===o.get("@protected")&&!1!==p["@protected"])&&(t.protected[r]=!0,h.protected=!0),o.set(r,!0),"@type"in p){let r=p["@type"];if(!s(r))throw new n("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:e});if("@json"===r||"@none"===r){if(v.processingMode(t,1))throw new n(`Invalid JSON-LD syntax; an @context @type value must not be "${r}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:e})}else if("@id"!==r&&"@vocab"!==r){if(r=y(t,r,{vocab:!0,base:!1},e,o,l),!d(r))throw new n("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:e});if(0===r.indexOf("_:"))throw new n("Invalid JSON-LD syntax; an @context @type value must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:e})}h["@type"]=r}if("@container"in p){const r=s(p["@container"])?[p["@container"]]:p["@container"]||[],o=["@list","@set","@index","@language"];let i=!0;const l=r.includes("@set");if(v.processingMode(t,1.1)){if(o.push("@graph","@id","@type"),r.includes("@list")){if(1!==r.length)throw new n("Invalid JSON-LD syntax; @context @container with @list must have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:e})}else if(r.includes("@graph")){if(r.some((t=>"@graph"!==t&&"@id"!==t&&"@index"!==t&&"@set"!==t)))throw new n("Invalid JSON-LD syntax; @context @container with @graph must have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:e})}else i&=r.length<=(l?2:1);if(r.includes("@type")&&(h["@type"]=h["@type"]||"@id",!["@id","@vocab"].includes(h["@type"])))throw new n("Invalid JSON-LD syntax; container: @type requires @type to be @id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:e})}else i&=!a(p["@container"]),i&=r.length<=1;if(i&=r.every((t=>o.includes(t))),i&=!(l&&r.includes("@list")),!i)throw new n("Invalid JSON-LD syntax; @context @container value must be one of the following: "+o.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:e});if(h.reverse&&!r.every((t=>["@index","@set"].includes(t))))throw new n("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:e});h["@container"]=r}if("@index"in p){if(!("@container"in p)||!h["@container"].includes("@index"))throw new n(`Invalid JSON-LD syntax; @index without @index in @container: "${p["@index"]}" on term "${r}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:e});if(!s(p["@index"])||0===p["@index"].indexOf("@"))throw new n(`Invalid JSON-LD syntax; @index must expand to an IRI: "${p["@index"]}" on term "${r}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:e});h["@index"]=p["@index"]}if("@context"in p&&(h["@context"]=p["@context"]),"@language"in p&&!("@type"in p)){let t=p["@language"];if(null!==t&&!s(t))throw new n("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:e});null!==t&&(t=t.toLowerCase()),h["@language"]=t}if("@prefix"in p){if(r.match(/:|\//))throw new n("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:e});if(v.isKeyword(h["@id"]))throw new n("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:e});if("boolean"!=typeof p["@prefix"])throw new n("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:e});h._prefix=!0===p["@prefix"]}if("@direction"in p){const t=p["@direction"];if(null!==t&&"ltr"!==t&&"rtl"!==t)throw new n('Invalid JSON-LD syntax; @direction value must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:e});h["@direction"]=t}if("@nest"in p){const t=p["@nest"];if(!s(t)||"@nest"!==t&&0===t.indexOf("@"))throw new n("Invalid JSON-LD syntax; @context @nest value must be a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:e});h["@nest"]=t}const _=h["@id"];if("@context"===_||"@preserve"===_)throw new n("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:e});if(b&&b.protected&&!c&&(t.protected[r]=!0,h.protected=!0,!w(b,h)))throw new n("Invalid JSON-LD syntax; tried to redefine a protected term.","jsonld.SyntaxError",{code:"protected term redefinition",context:e,term:r})},v.expandIri=(t,e,r,o)=>y(t,e,r,void 0,void 0,o),v.getInitialContext=t=>{const e=JSON.stringify({processingMode:t.processingMode}),r=g.get(e);if(r)return r;const n={processingMode:t.processingMode,mappings:new Map,inverse:null,getInverse:function(){const t=this;if(t.inverse)return t.inverse;const e=t.inverse={},r=t.fastCurieMap={},o={},n=(t["@language"]||"@none").toLowerCase(),s=t["@direction"],l=t.mappings,d=[...l.keys()].sort(h);for(const t of d){const a=l.get(t);if(null===a)continue;let d=a["@container"]||"@none";if(d=[].concat(d).sort().join(""),null===a["@id"])continue;const c=f(a["@id"]);for(const l of c){let c=e[l];const p=v.isKeyword(l);if(c)p||a._termHasColon||o[l].push(t);else if(e[l]=c={},!p&&!a._termHasColon){o[l]=[t];const e={iri:l,terms:o[l]};l[0]in r?r[l[0]].push(e):r[l[0]]=[e]}if(c[d]||(c[d]={"@language":{},"@type":{},"@any":{}}),c=c[d],i(t,c["@any"],"@none"),a.reverse)i(t,c["@type"],"@reverse");else if("@none"===a["@type"])i(t,c["@any"],"@none"),i(t,c["@language"],"@none"),i(t,c["@type"],"@none");else if("@type"in a)i(t,c["@type"],a["@type"]);else if("@language"in a&&"@direction"in a){const e=a["@language"],r=a["@direction"];i(t,c["@language"],e&&r?`${e}_${r}`.toLowerCase():e?e.toLowerCase():r?`_${r}`:"@null")}else"@language"in a?i(t,c["@language"],(a["@language"]||"@null").toLowerCase()):"@direction"in a?a["@direction"]?i(t,c["@language"],`_${a["@direction"]}`):i(t,c["@language"],"@none"):s?(i(t,c["@language"],`_${s}`),i(t,c["@language"],"@none"),i(t,c["@type"],"@none")):(i(t,c["@language"],n),i(t,c["@language"],"@none"),i(t,c["@type"],"@none"))}}for(const t in r)a(r,t,1);return e},clone:function(){const t={};return t.mappings=o.clone(this.mappings),t.clone=this.clone,t.inverse=null,t.getInverse=this.getInverse,t.protected=o.clone(this.protected),this.previousContext&&(t.previousContext=this.previousContext.clone()),t.revertToPreviousContext=this.revertToPreviousContext,"@base"in this&&(t["@base"]=this["@base"]),"@language"in this&&(t["@language"]=this["@language"]),"@vocab"in this&&(t["@vocab"]=this["@vocab"]),t},revertToPreviousContext:function(){return this.previousContext?this.previousContext.clone():this},protected:{}};return 1e4===g.size&&g.clear(),g.set(e,n),n;function a(t,e,r){const o=t[e],n=t[e]={};let i,s;for(const t of o)i=t.iri,s=r>=i.length?"":i[r],s in n?n[s].push(t):n[s]=[t];for(const t in n)""!==t&&a(n,t,r+1)}function i(t,e,r){e.hasOwnProperty(r)||(e[r]=t)}},v.getContextValue=(t,e,r)=>{if(null===e){if("@context"===r)return;return null}if(t.mappings.has(e)){const o=t.mappings.get(e);if(l(r))return o;if(o.hasOwnProperty(r))return o[r]}return"@language"===r&&r in t||"@direction"===r&&r in t?t[r]:"@context"!==r?null:void 0},v.processingMode=(t,e)=>e.toString()>="1.1"?!t.processingMode||t.processingMode>="json-ld-"+e.toString():"json-ld-1.0"===t.processingMode,v.isKeyword=t=>{if(!s(t)||"@"!==t[0])return!1;switch(t){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return!0}return!1}},2177:(t,e,r)=>{var o=r(1489);t.exports=function(t,e){var r;if("function"!=typeof e)throw new TypeError("Expected a function");return t=o(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=void 0),r}}},2207:t=>{t.exports=class extends Error{constructor(t="An unspecified JSON-LD error occurred.",e="jsonld.Error",r={}){super(t),this.name=e,this.message=t,this.details=r}}},2246:(t,e,r)=>{const o=r(2207),{isArray:n}=r(7382),{asArray:a}=r(9263),i={};function s({event:t,handlers:e}){let r=!0;for(let a=0;r&&a<e.length;++a){r=!1;const i=e[a];if(n(i))r=s({event:t,handlers:i});else if("function"==typeof i)i({event:t,next:()=>{r=!0}});else{if("object"!=typeof i)throw new o("Invalid event handler.","jsonld.InvalidEventHandler",{event:t});t.code in i?i[t.code]({event:t,next:()=>{r=!0}}):r=!0}}return r}t.exports=i,i.defaultEventHandler=null,i.setupEventHandler=({options:t={}})=>{const e=[].concat(t.safe?i.safeEventHandler:[],t.eventHandler?a(t.eventHandler):[],i.defaultEventHandler?i.defaultEventHandler:[]);return 0===e.length?null:e},i.handleEvent=({event:t,options:e})=>{s({event:t,handlers:e.eventHandler})};const l=new Set(["empty object","free-floating scalar","invalid @language value","invalid property","null @id value","null @value value","object with only @id","object with only @language","object with only @list","object with only @value","relative @id reference","relative @type reference","relative @vocab reference","reserved @id value","reserved @reverse value","reserved term","blank node predicate","relative graph reference","relative object reference","relative predicate reference","relative subject reference","rdfDirection not set"]);i.safeEventHandler=function({event:t,next:e}){if("warning"===t.level&&l.has(t.code))throw new o("Safe mode validation error.","jsonld.ValidationError",{event:t});e()},i.logEventHandler=function({event:t,next:e}){console.log(`EVENT: ${t.message}`,{event:t}),e()},i.logWarningEventHandler=function({event:t,next:e}){"warning"===t.level&&console.warn(`WARNING: ${t.message}`,{event:t}),e()},i.unhandledEventHandler=function({event:t}){throw new o("No handler for event.","jsonld.UnhandledEvent",{event:t})},i.setDefaultEventHandler=function({eventHandler:t}={}){i.defaultEventHandler=t?a(t):null}},2341:t=>{t.exports=function t(e){return null===e||"object"!=typeof e||null!=e.toJSON?JSON.stringify(e):Array.isArray(e)?"["+e.reduce(((e,r,o)=>e+(0===o?"":",")+t(void 0===r||"symbol"==typeof r?null:r)),"")+"]":"{"+Object.keys(e).sort().reduce(((r,o,n)=>void 0===e[o]||"symbol"==typeof e[o]?r:r+(0===r.length?"":",")+t(o)+":"+t(e[o])),"")+"}"}},2406:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TypeHandlerNumberDouble=void 0;const o=r(103);class n{fromRdf(t,e){const r=parseFloat(t.value);return e&&isNaN(r)&&o.Translator.incorrectRdfDataType(t),r}toRdf(t,{datatype:e,dataFactory:r}){return e=e||r.namedNode(n.TYPES[0]),isNaN(t)?r.literal("NaN",e):isFinite(t)?t%1==0?null:r.literal(t.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),e):r.literal(t>0?"INF":"-INF",e)}}e.TypeHandlerNumberDouble=n,n.TYPES=["http://www.w3.org/2001/XMLSchema#double","http://www.w3.org/2001/XMLSchema#decimal","http://www.w3.org/2001/XMLSchema#float"]},2438:(t,e,r)=>{const o=r(2985),n=r(3751),a=r(9925),i=r(1227);function s(t,e){return t.hash<e.hash?-1:t.hash>e.hash?1:0}t.exports=class{constructor({createMessageDigest:t=()=>new n("sha256"),canonicalIdMap:e=new Map,maxDeepIterations:r=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new o("_:c14n",e),this.createMessageDigest=t,this.maxDeepIterations=r,this.quads=null,this.deepIterations=null}main(t){this.deepIterations=new Map,this.quads=t;for(const e of t)this._addBlankNodeQuadInfo({quad:e,component:e.subject}),this._addBlankNodeQuadInfo({quad:e,component:e.object}),this._addBlankNodeQuadInfo({quad:e,component:e.graph});const e=new Map,r=[...this.blankNodeInfo.keys()];for(const t of r)this._hashAndTrackBlankNode({id:t,hashToBlankNodes:e});const n=[...e.keys()].sort(),a=[];for(const t of n){const r=e.get(t);if(r.length>1){a.push(r);continue}const o=r[0];this.canonicalIssuer.getId(o)}for(const t of a){const e=[];for(const r of t){if(this.canonicalIssuer.hasId(r))continue;const t=new o("_:b");t.getId(r);const n=this.hashNDegreeQuads(r,t);e.push(n)}e.sort(s);for(const t of e){const e=t.issuer.getOldIds();for(const t of e)this.canonicalIssuer.getId(t)}}const l=[];for(const t of this.quads){const e=i.serializeQuadComponents(this._componentWithCanonicalId({component:t.subject}),t.predicate,this._componentWithCanonicalId({component:t.object}),this._componentWithCanonicalId({component:t.graph}));l.push(e)}return l.sort(),l.join("")}hashFirstDegreeQuads(t){const e=[],r=this.blankNodeInfo.get(t),o=r.quads;for(const r of o){const o={subject:null,predicate:r.predicate,object:null,graph:null};o.subject=this.modifyFirstDegreeComponent(t,r.subject,"subject"),o.object=this.modifyFirstDegreeComponent(t,r.object,"object"),o.graph=this.modifyFirstDegreeComponent(t,r.graph,"graph"),e.push(i.serializeQuad(o))}e.sort();const n=this.createMessageDigest();for(const t of e)n.update(t);return r.hash=n.digest(),r.hash}hashRelatedBlankNode(t,e,r,o){let n;n=this.canonicalIssuer.hasId(t)?this.canonicalIssuer.getId(t):r.hasId(t)?r.getId(t):this.blankNodeInfo.get(t).hash;const a=this.createMessageDigest();return a.update(o),"g"!==o&&a.update(this.getRelatedPredicate(e)),a.update(n),a.digest()}hashNDegreeQuads(t,e){const r=this.deepIterations.get(t)||0;if(r>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(t,r+1);const o=this.createMessageDigest(),n=this.createHashToRelated(t,e),i=[...n.keys()].sort();for(const t of i){o.update(t);let r,i="";const s=new a(n.get(t));for(;s.hasNext();){const t=s.next();let o=e.clone(),n="";const a=[];let l=!1;for(const e of t)if(this.canonicalIssuer.hasId(e)?n+=this.canonicalIssuer.getId(e):(o.hasId(e)||a.push(e),n+=o.getId(e)),0!==i.length&&n>i){l=!0;break}if(!l){for(const t of a){const e=this.hashNDegreeQuads(t,o);if(n+=o.getId(t),n+=`<${e.hash}>`,o=e.issuer,0!==i.length&&n>i){l=!0;break}}l||(0===i.length||n<i)&&(i=n,r=o)}}o.update(i),e=r}return{hash:o.digest(),issuer:e}}modifyFirstDegreeComponent(t,e){return"BlankNode"!==e.termType?e:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return`<${t.predicate.value}>`}createHashToRelated(t,e){const r=new Map,o=this.blankNodeInfo.get(t).quads;for(const n of o)this._addRelatedBlankNodeHash({quad:n,component:n.subject,position:"s",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:n,component:n.object,position:"o",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:n,component:n.graph,position:"g",id:t,issuer:e,hashToRelated:r});return r}_hashAndTrackBlankNode({id:t,hashToBlankNodes:e}){const r=this.hashFirstDegreeQuads(t),o=e.get(r);o?o.push(t):e.set(r,[t])}_addBlankNodeQuadInfo({quad:t,component:e}){if("BlankNode"!==e.termType)return;const r=e.value,o=this.blankNodeInfo.get(r);o?o.quads.add(t):this.blankNodeInfo.set(r,{quads:new Set([t]),hash:null})}_addRelatedBlankNodeHash({quad:t,component:e,position:r,id:o,issuer:n,hashToRelated:a}){if("BlankNode"!==e.termType||e.value===o)return;const i=e.value,s=this.hashRelatedBlankNode(i,t,n,r),l=a.get(s);l?l.push(i):a.set(s,[i])}_componentWithCanonicalId({component:t}){return"BlankNode"!==t.termType||t.value.startsWith(this.canonicalIssuer.prefix)?t:{termType:"BlankNode",value:this.canonicalIssuer.getId(t.value)}}}},2552:(t,e,r)=>{var o=r(1873),n=r(659),a=r(9350),i=o?o.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?n(t):a(t)}},2791:function(t,e,r){!function(t){if(!t.setImmediate){var e,r,o,n,a,i=1,s={},l=!1,d=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?e=function(t){process.nextTick((function(){u(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(n="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(n)&&u(+e.data.slice(n.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),e=function(e){t.postMessage(n+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){u(t.data)},e=function(t){o.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,e=function(t){var e=d.createElement("script");e.onreadystatechange=function(){u(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):e=function(t){setTimeout(u,0,t)},c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var r=new Array(arguments.length-1),o=0;o<r.length;o++)r[o]=arguments[o+1];var n={callback:t,args:r};return s[i]=n,e(i),i++},c.clearImmediate=p}function p(t){delete s[t]}function u(t){if(l)setTimeout(u,0,t);else{var e=s[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{p(t),l=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)},2946:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Quad=void 0,e.Quad=class{constructor(t,e,r,o){this.termType="Quad",this.value="",this.subject=t,this.predicate=e,this.object=r,this.graph=o}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&this.subject.equals(t.subject)&&this.predicate.equals(t.predicate)&&this.object.equals(t.object)&&this.graph.equals(t.graph)}}},2985:t=>{t.exports=class t{constructor(t,e=new Map,r=0){this.prefix=t,this._existing=e,this.counter=r}clone(){const{prefix:e,_existing:r,counter:o}=this;return new t(e,new Map(r),o)}getId(t){const e=t&&this._existing.get(t);if(e)return e;const r=this.prefix+this.counter;return this.counter++,t&&this._existing.set(t,r),r}hasId(t){return this._existing.has(t)}getOldIds(){return[...this._existing.keys()]}}},3067:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BlankNode=void 0,e.BlankNode=class{constructor(t){this.termType="BlankNode",this.value=t}equals(t){return!!t&&"BlankNode"===t.termType&&t.value===this.value}}},3095:(t,e,r)=>{const{ArrayPrototypePop:o,Promise:n}=r(4134),{isIterable:a,isNodeStream:i,isWebStream:s}=r(6115),{pipelineImpl:l}=r(7758),{finished:d}=r(6238);r(5506),t.exports={finished:d,pipeline:function(...t){return new n(((e,r)=>{let n,d;const c=t[t.length-1];if(c&&"object"==typeof c&&!i(c)&&!a(c)&&!s(c)){const e=o(t);n=e.signal,d=e.end}l(t,((t,o)=>{t?r(t):e(o)}),{signal:n,end:d})}))}}},3141:(t,e,r)=>{var o=r(5003).Buffer,n=o.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(o.isEncoding===n||!n(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=d,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=c,this.end=p,e=3;break;default:return this.write=u,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=o.allocUnsafe(e)}function i(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var o=r.charCodeAt(r.length-1);if(o>=55296&&o<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function d(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function c(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function p(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function u(t){return t.toString(this.encoding)}function b(t){return t&&t.length?this.write(t):""}e.StringDecoder=a,a.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},a.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},a.prototype.text=function(t,e){var r=function(t,e,r){var o=e.length-1;if(o<r)return 0;var n=i(e[o]);return n>=0?(n>0&&(t.lastNeed=n-1),n):--o<r||-2===n?0:(n=i(e[o]))>=0?(n>0&&(t.lastNeed=n-2),n):--o<r||-2===n?0:(n=i(e[o]))>=0?(n>0&&(2===n?n=0:t.lastNeed=n-3),n):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var o=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,o),t.toString("utf8",e,o)},a.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},3370:(t,e,r)=>{const{ObjectDefineProperties:o,ObjectGetOwnPropertyDescriptor:n,ObjectKeys:a,ObjectSetPrototypeOf:i}=r(4134);t.exports=d;const s=r(7576),l=r(8584);i(d.prototype,s.prototype),i(d,s);{const t=a(l.prototype);for(let e=0;e<t.length;e++){const r=t[e];d.prototype[r]||(d.prototype[r]=l.prototype[r])}}function d(t){if(!(this instanceof d))return new d(t);s.call(this,t),l.call(this,t),t?(this.allowHalfOpen=!1!==t.allowHalfOpen,!1===t.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===t.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,p;function u(){return void 0===c&&(c={}),c}o(d.prototype,{writable:{__proto__:null,...n(l.prototype,"writable")},writableHighWaterMark:{__proto__:null,...n(l.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...n(l.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...n(l.prototype,"writableBuffer")},writableLength:{__proto__:null,...n(l.prototype,"writableLength")},writableFinished:{__proto__:null,...n(l.prototype,"writableFinished")},writableCorked:{__proto__:null,...n(l.prototype,"writableCorked")},writableEnded:{__proto__:null,...n(l.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...n(l.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set(t){this._readableState&&this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}}),d.fromWeb=function(t,e){return u().newStreamDuplexFromReadableWritablePair(t,e)},d.toWeb=function(t){return u().newReadableWritablePairFromDuplex(t)},d.from=function(t){return p||(p=r(6706)),p(t,"body")}},3476:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NamedNode=void 0,e.NamedNode=class{constructor(t){this.termType="NamedNode",this.value=t}equals(t){return!!t&&"NamedNode"===t.termType&&t.value===this.value}}},3513:(t,e,r)=>{const o=r(2985),n=r(3751),a=r(9925),i=r(1227);function s(t,e){return t.hash<e.hash?-1:t.hash>e.hash?1:0}t.exports=class{constructor({createMessageDigest:t=()=>new n("sha256"),canonicalIdMap:e=new Map,maxDeepIterations:r=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new o("_:c14n",e),this.createMessageDigest=t,this.maxDeepIterations=r,this.quads=null,this.deepIterations=null}async main(t){this.deepIterations=new Map,this.quads=t;for(const e of t)this._addBlankNodeQuadInfo({quad:e,component:e.subject}),this._addBlankNodeQuadInfo({quad:e,component:e.object}),this._addBlankNodeQuadInfo({quad:e,component:e.graph});const e=new Map,r=[...this.blankNodeInfo.keys()];let n=0;for(const t of r)++n%100==0&&await this._yield(),await this._hashAndTrackBlankNode({id:t,hashToBlankNodes:e});const a=[...e.keys()].sort(),l=[];for(const t of a){const r=e.get(t);if(r.length>1){l.push(r);continue}const o=r[0];this.canonicalIssuer.getId(o)}for(const t of l){const e=[];for(const r of t){if(this.canonicalIssuer.hasId(r))continue;const t=new o("_:b");t.getId(r);const n=await this.hashNDegreeQuads(r,t);e.push(n)}e.sort(s);for(const t of e){const e=t.issuer.getOldIds();for(const t of e)this.canonicalIssuer.getId(t)}}const d=[];for(const t of this.quads){const e=i.serializeQuadComponents(this._componentWithCanonicalId(t.subject),t.predicate,this._componentWithCanonicalId(t.object),this._componentWithCanonicalId(t.graph));d.push(e)}return d.sort(),d.join("")}async hashFirstDegreeQuads(t){const e=[],r=this.blankNodeInfo.get(t),o=r.quads;for(const r of o){const o={subject:null,predicate:r.predicate,object:null,graph:null};o.subject=this.modifyFirstDegreeComponent(t,r.subject,"subject"),o.object=this.modifyFirstDegreeComponent(t,r.object,"object"),o.graph=this.modifyFirstDegreeComponent(t,r.graph,"graph"),e.push(i.serializeQuad(o))}e.sort();const n=this.createMessageDigest();for(const t of e)n.update(t);return r.hash=await n.digest(),r.hash}async hashRelatedBlankNode(t,e,r,o){let n;n=this.canonicalIssuer.hasId(t)?this.canonicalIssuer.getId(t):r.hasId(t)?r.getId(t):this.blankNodeInfo.get(t).hash;const a=this.createMessageDigest();return a.update(o),"g"!==o&&a.update(this.getRelatedPredicate(e)),a.update(n),a.digest()}async hashNDegreeQuads(t,e){const r=this.deepIterations.get(t)||0;if(r>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(t,r+1);const o=this.createMessageDigest(),n=await this.createHashToRelated(t,e),i=[...n.keys()].sort();for(const t of i){o.update(t);let r,i="";const s=new a(n.get(t));let l=0;for(;s.hasNext();){const t=s.next();++l%3==0&&await this._yield();let o=e.clone(),n="";const a=[];let d=!1;for(const e of t)if(this.canonicalIssuer.hasId(e)?n+=this.canonicalIssuer.getId(e):(o.hasId(e)||a.push(e),n+=o.getId(e)),0!==i.length&&n>i){d=!0;break}if(!d){for(const t of a){const e=await this.hashNDegreeQuads(t,o);if(n+=o.getId(t),n+=`<${e.hash}>`,o=e.issuer,0!==i.length&&n>i){d=!0;break}}d||(0===i.length||n<i)&&(i=n,r=o)}}o.update(i),e=r}return{hash:await o.digest(),issuer:e}}modifyFirstDegreeComponent(t,e){return"BlankNode"!==e.termType?e:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return`<${t.predicate.value}>`}async createHashToRelated(t,e){const r=new Map,o=this.blankNodeInfo.get(t).quads;let n=0;for(const a of o)++n%100==0&&await this._yield(),await Promise.all([this._addRelatedBlankNodeHash({quad:a,component:a.subject,position:"s",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:a,component:a.object,position:"o",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:a,component:a.graph,position:"g",id:t,issuer:e,hashToRelated:r})]);return r}async _hashAndTrackBlankNode({id:t,hashToBlankNodes:e}){const r=await this.hashFirstDegreeQuads(t),o=e.get(r);o?o.push(t):e.set(r,[t])}_addBlankNodeQuadInfo({quad:t,component:e}){if("BlankNode"!==e.termType)return;const r=e.value,o=this.blankNodeInfo.get(r);o?o.quads.add(t):this.blankNodeInfo.set(r,{quads:new Set([t]),hash:null})}async _addRelatedBlankNodeHash({quad:t,component:e,position:r,id:o,issuer:n,hashToRelated:a}){if("BlankNode"!==e.termType||e.value===o)return;const i=e.value,s=await this.hashRelatedBlankNode(i,t,n,r),l=a.get(s);l?l.push(i):a.set(s,[i])}_componentWithCanonicalId(t){return"BlankNode"!==t.termType||t.value.startsWith(this.canonicalIssuer.prefix)?t:{termType:"BlankNode",value:this.canonicalIssuer.getId(t.value)}}async _yield(){return new Promise((t=>setImmediate(t)))}}},3617:function(t,e,r){var o=this&&this.__createBinding||(Object.create?function(t,e,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(e,r);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,o,n)}:function(t,e,r,o){void 0===o&&(o=r),t[o]=e[r]}),n=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||o(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(r(3067),e),n(r(8339),e),n(r(4878),e),n(r(458),e),n(r(3476),e),n(r(2946),e),n(r(7265),e)},3743:t=>{t.exports=class{constructor(){this._requests={}}wrapLoader(t){const e=this;return e._loader=t,function(){return e.add.apply(e,arguments)}}async add(t){let e=this._requests[t];if(e)return Promise.resolve(e);e=this._requests[t]=this._loader(t);try{return await e}finally{delete this._requests[t]}}}},3751:(t,e,r)=>{r(2791);const o=self.crypto||self.msCrypto;t.exports=class{constructor(t){if(!o||!o.subtle)throw new Error("crypto.subtle not found.");if("sha256"===t)this.algorithm={name:"SHA-256"};else{if("sha1"!==t)throw new Error(`Unsupported algorithm "${t}".`);this.algorithm={name:"SHA-1"}}this._content=""}update(t){this._content+=t}async digest(){const t=(new TextEncoder).encode(this._content),e=new Uint8Array(await o.subtle.digest(this.algorithm,t));let r="";for(let t=0;t<e.length;++t)r+=e[t].toString(16).padStart(2,"0");return r}}},3805:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3845:(t,e,r)=>{const o=r(3751),n=r(3513);t.exports=class extends n{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new o("sha1")}modifyFirstDegreeComponent(t,e,r){return"BlankNode"!==e.termType?e:"graph"===r?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return t.predicate.value}async createHashToRelated(t,e){const r=new Map,o=this.blankNodeInfo.get(t).quads;let n=0;for(const a of o){let o,i;if("BlankNode"===a.subject.termType&&a.subject.value!==t)i=a.subject.value,o="p";else{if("BlankNode"!==a.object.termType||a.object.value===t)continue;i=a.object.value,o="r"}++n%100==0&&await this._yield();const s=await this.hashRelatedBlankNode(i,a,e,o),l=r.get(s);l?l.push(i):r.set(s,[i])}return r}}},3947:(t,e,r)=>{const o=r(2207),n=r(3978),a=r(7382),{REGEX_BCP47:i,addValue:s}=r(9263),{handleEvent:l}=r(2246),{RDF_LIST:d,RDF_FIRST:c,RDF_REST:p,RDF_NIL:u,RDF_TYPE:b,RDF_JSON_LITERAL:m,XSD_BOOLEAN:f,XSD_DOUBLE:h,XSD_INTEGER:g,XSD_STRING:v}=r(9378),y={};function w(t,e,r,n){if(t.termType.endsWith("Node"))return{"@id":t.value};const s={"@value":t.value};if(t.language)t.language.match(i)||n.eventHandler&&l({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:t.language}},options:n}),s["@language"]=t.language;else{let d=t.datatype.value;if(d||(d=v),d===m){d="@json";try{s["@value"]=JSON.parse(s["@value"])}catch(t){throw new o("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:s["@value"],cause:t})}}if(e){if(d===f)"true"===s["@value"]?s["@value"]=!0:"false"===s["@value"]&&(s["@value"]=!1);else if(a.isNumeric(s["@value"]))if(d===g){const t=parseInt(s["@value"],10);t.toFixed(0)===s["@value"]&&(s["@value"]=t)}else d===h&&(s["@value"]=parseFloat(s["@value"]));[f,g,h,v].includes(d)||(s["@type"]=d)}else if("i18n-datatype"===r&&d.startsWith("https://www.w3.org/ns/i18n#")){const[,t,e]=d.split(/[#_]/);t.length>0&&(s["@language"]=t,t.match(i)||n.eventHandler&&l({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:t}},options:n})),s["@direction"]=e}else d!==v&&(s["@type"]=d)}return s}t.exports=y,y.fromRDF=async(t,e)=>{const{useRdfType:r=!1,useNativeTypes:i=!1,rdfDirection:l=null}=e,m={},f={"@default":m},h={};if(l){if("compound-literal"===l)throw new o("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:l});if("i18n-datatype"!==l)throw new o("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:l})}for(const o of t){const t="DefaultGraph"===o.graph.termType?"@default":o.graph.value;t in f||(f[t]={}),"@default"===t||t in m||(m[t]={"@id":t});const n=f[t],a=o.subject.value,d=o.predicate.value,c=o.object;a in n||(n[a]={"@id":a});const p=n[a],g=c.termType.endsWith("Node");if(g&&!(c.value in n)&&(n[c.value]={"@id":c.value}),d===b&&!r&&g){s(p,"@type",c.value,{propertyIsArray:!0});continue}const v=w(c,i,l,e);if(s(p,d,v,{propertyIsArray:!0}),g)if(c.value===u){const t=n[c.value];"usages"in t||(t.usages=[]),t.usages.push({node:p,property:d,value:v})}else c.value in h?h[c.value]=!1:h[c.value]={node:p,property:d,value:v}}for(const t in f){const e=f[t];if(!(u in e))continue;const r=e[u];if(r.usages){for(let t of r.usages){let r=t.node,o=t.property,i=t.value;const s=[],l=[];let u=Object.keys(r).length;for(;o===p&&a.isObject(h[r["@id"]])&&a.isArray(r[c])&&1===r[c].length&&a.isArray(r[p])&&1===r[p].length&&(3===u||4===u&&a.isArray(r["@type"])&&1===r["@type"].length&&r["@type"][0]===d)&&(s.push(r[c][0]),l.push(r["@id"]),t=h[r["@id"]],r=t.node,o=t.property,i=t.value,u=Object.keys(r).length,n.isBlankNode(r)););delete i["@id"],i["@list"]=s.reverse();for(const t of l)delete e[t]}delete r.usages}}const g=[],v=Object.keys(m).sort();for(const t of v){const e=m[t];if(t in f){const r=e["@graph"]=[],o=f[t],a=Object.keys(o).sort();for(const t of a){const e=o[t];n.isSubjectReference(e)||r.push(e)}}n.isSubjectReference(e)||g.push(e)}return g}},3978:(t,e,r)=>{const o=r(7382),n={};t.exports=n,n.isSubject=t=>!(!o.isObject(t)||"@value"in t||"@set"in t||"@list"in t)&&(Object.keys(t).length>1||!("@id"in t)),n.isSubjectReference=t=>o.isObject(t)&&1===Object.keys(t).length&&"@id"in t,n.isValue=t=>o.isObject(t)&&"@value"in t,n.isList=t=>o.isObject(t)&&"@list"in t,n.isGraph=t=>o.isObject(t)&&"@graph"in t&&1===Object.keys(t).filter((t=>"@id"!==t&&"@index"!==t)).length,n.isSimpleGraph=t=>n.isGraph(t)&&!("@id"in t),n.isBlankNode=t=>{if(o.isObject(t)){if("@id"in t){const e=t["@id"];return!o.isString(e)||0===e.indexOf("_:")}return 0===Object.keys(t).length||!("@value"in t||"@set"in t||"@list"in t)}return!1}},4005:(t,e,r)=>{const o=r(3513),n=r(3845),a=r(2438),i=r(378);let s;try{s=r(7789)}catch(t){}function l(t){return Array.isArray(t)?t:e.NQuads.legacyDatasetToQuads(t)}e.NQuads=r(1227),e.IdentifierIssuer=r(2985),e._rdfCanonizeNative=function(t){return t&&(s=t),s},e.canonize=async function(t,e){const r=l(t);if(e.useNative){if(!s)throw new Error("rdf-canonize-native not available");if(e.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return new Promise(((t,o)=>s.canonize(r,e,((e,r)=>e?o(e):t(r)))))}if("URDNA2015"===e.algorithm)return new o(e).main(r);if("URGNA2012"===e.algorithm){if(e.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new n(e).main(r)}if(!("algorithm"in e))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+e.algorithm)},e._canonizeSync=function(t,e){const r=l(t);if(e.useNative){if(!s)throw new Error("rdf-canonize-native not available");if(e.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return s.canonizeSync(r,e)}if("URDNA2015"===e.algorithm)return new a(e).main(r);if("URGNA2012"===e.algorithm){if(e.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new i(e).main(r)}if(!("algorithm"in e))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+e.algorithm)}},4019:(t,e,r)=>{const o=r(2207),{isArray:n,isObject:a,isEmptyObject:i,isString:s,isUndefined:l}=r(7382),{isList:d,isValue:c,isGraph:p,isSubject:u}=r(3978),{expandIri:b,getContextValue:m,isKeyword:f,process:h,processingMode:g}=r(1972),{isAbsolute:v}=r(470),{REGEX_BCP47:y,REGEX_KEYWORD:w,addValue:x,asArray:_,getValues:k,validateTypeValue:j}=r(9263),{handleEvent:S}=r(2246),I={};function E({value:t,count:e,options:r}){if(0===e||"@value"in t||"@list"in t||1===e&&"@id"in t){if(r.eventHandler){let o,n;0===e?(o="empty object",n="Dropping empty object."):"@value"in t?(o="object with only @value",n="Dropping object with only @value."):"@list"in t?(o="object with only @list",n="Dropping object with only @list."):1===e&&"@id"in t&&(o="object with only @id",n="Dropping object with only @id."),S({event:{type:["JsonLdEvent"],code:o,level:"warning",message:n,details:{value:t}},options:r})}return null}return t}async function N({activeCtx:t,activeProperty:e,expandedActiveProperty:r,element:p,expandedParent:w,options:k={},insideList:R,typeKey:A,typeScopedContext:L}){const C=Object.keys(p).sort(),D=[];let M;const P=p[A]&&"@json"===b(t,n(p[A])?p[A][0]:p[A],{vocab:!0},{...k,typeExpansion:!0});for(const N of C){let R,A=p[N];if("@context"===N)continue;const C=b(t,N,{vocab:!0},k);if(null===C||!v(C)&&!f(C)){k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid property",level:"warning",message:"Dropping property that did not expand into an absolute IRI or keyword.",details:{property:N,expandedProperty:C}},options:k});continue}if(f(C)){if("@reverse"===r)throw new o("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:A});if(C in w&&"@included"!==C&&"@type"!==C)throw new o("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:C})}if("@id"===C){if(!s(A)){if(!k.isFrame)throw new o('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:A});if(a(A)){if(!i(A))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:A})}else{if(!n(A))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:A});if(!A.every((t=>s(t))))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:A})}}x(w,"@id",_(A).map((e=>{if(s(e)){const r=b(t,e,{base:!0},k);return k.eventHandler&&(null===r?S(null===e?{event:{type:["JsonLdEvent"],code:"null @id value",level:"warning",message:"Null @id found.",details:{id:e}},options:k}:{event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:e}},options:k}):v(r)||S({event:{type:["JsonLdEvent"],code:"relative @id reference",level:"warning",message:"Relative @id reference found.",details:{id:e,expandedId:r}},options:k})),r}return e})),{propertyIsArray:k.isFrame});continue}if("@type"===C){a(A)&&(A=Object.fromEntries(Object.entries(A).map((([t,e])=>[b(L,t,{vocab:!0}),_(e).map((t=>b(L,t,{base:!0,vocab:!0},{...k,typeExpansion:!0})))])))),j(A,k.isFrame),x(w,"@type",_(A).map((t=>{if(s(t)){const e=b(L,t,{base:!0,vocab:!0},{...k,typeExpansion:!0});return"@json"===e||v(e)||k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"relative @type reference",level:"warning",message:"Relative @type reference found.",details:{type:t}},options:k}),e}return t})),{propertyIsArray:!!k.isFrame});continue}if("@included"===C&&g(t,1.1)){const r=_(await I.expand({activeCtx:t,activeProperty:e,element:A,options:k}));if(!r.every((t=>u(t))))throw new o("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:A});x(w,"@included",r,{propertyIsArray:!0});continue}if("@graph"===C&&!a(A)&&!n(A))throw new o('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:A});if("@value"===C){M=A,P&&g(t,1.1)?w["@value"]=A:x(w,"@value",A,{propertyIsArray:k.isFrame});continue}if("@language"===C){if(null===A)continue;if(!s(A)&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:A});A=_(A).map((t=>s(t)?t.toLowerCase():t));for(const t of A)s(t)&&!t.match(y)&&k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:t}},options:k});x(w,"@language",A,{propertyIsArray:k.isFrame});continue}if("@direction"===C){if(!s(A)&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:A});A=_(A);for(const t of A)if(s(t)&&"ltr"!==t&&"rtl"!==t)throw new o('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:A});x(w,"@direction",A,{propertyIsArray:k.isFrame});continue}if("@index"===C){if(!s(A))throw new o('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:A});x(w,"@index",A);continue}if("@reverse"===C){if(!a(A))throw new o('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:A});if(R=await I.expand({activeCtx:t,activeProperty:"@reverse",element:A,options:k}),"@reverse"in R)for(const t in R["@reverse"])x(w,t,R["@reverse"][t],{propertyIsArray:!0});let e=w["@reverse"]||null;for(const t in R){if("@reverse"===t)continue;null===e&&(e=w["@reverse"]={}),x(e,t,[],{propertyIsArray:!0});const r=R[t];for(let n=0;n<r.length;++n){const a=r[n];if(c(a)||d(a))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:R});x(e,t,a,{propertyIsArray:!0})}}continue}if("@nest"===C){D.push(N);continue}let B=t;const z=m(t,N,"@context");l(z)||(B=await h({activeCtx:t,localCtx:z,propagate:!0,overrideProtected:!0,options:k}));const $=m(t,N,"@container")||[];if($.includes("@language")&&a(A))R=T(B,A,m(B,N,"@direction"),k);else if($.includes("@index")&&a(A)){const e=$.includes("@graph"),r=m(B,N,"@index")||"@index",o="@index"!==r&&b(t,r,{vocab:!0},k);R=await O({activeCtx:B,options:k,activeProperty:N,value:A,asGraph:e,indexKey:r,propertyIndex:o})}else if($.includes("@id")&&a(A)){const t=$.includes("@graph");R=await O({activeCtx:B,options:k,activeProperty:N,value:A,asGraph:t,indexKey:"@id"})}else if($.includes("@type")&&a(A))R=await O({activeCtx:B.revertToPreviousContext(),options:k,activeProperty:N,value:A,asGraph:!1,indexKey:"@type"});else{const o="@list"===C;if(o||"@set"===C){let t=e;o&&"@graph"===r&&(t=null),R=await I.expand({activeCtx:B,activeProperty:t,element:A,options:k,insideList:o})}else R="@json"===m(t,N,"@type")?{"@type":"@json","@value":A}:await I.expand({activeCtx:B,activeProperty:N,element:A,options:k,insideList:!1})}if(null!==R||"@value"===C){if("@list"!==C&&!d(R)&&$.includes("@list")&&(R={"@list":_(R)}),$.includes("@graph")&&!$.some((t=>"@id"===t||"@index"===t))){if(R=_(R),k.isFrame||(R=R.filter((t=>null!==E({value:t,count:Object.keys(t).length,options:k})))),0===R.length)continue;R=R.map((t=>({"@graph":_(t)})))}if(B.mappings.has(N)&&B.mappings.get(N).reverse){const t=w["@reverse"]=w["@reverse"]||{};R=_(R);for(let e=0;e<R.length;++e){const r=R[e];if(c(r)||d(r))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:R});x(t,C,r,{propertyIsArray:!0})}}else x(w,C,R,{propertyIsArray:!0})}}if("@value"in w)if("@json"===w["@type"]&&g(t,1.1));else if((a(M)||n(M))&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:M});for(const i of D){const s=n(p[i])?p[i]:[p[i]];for(const n of s){if(!a(n)||Object.keys(n).some((e=>"@value"===b(t,e,{vocab:!0},k))))throw new o("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:n});await N({activeCtx:t,activeProperty:e,expandedActiveProperty:r,element:n,expandedParent:w,options:k,insideList:R,typeScopedContext:L,typeKey:A})}}}function R({activeCtx:t,activeProperty:e,value:r,options:o}){if(null==r)return null;const n=b(t,e,{vocab:!0},o);if("@id"===n)return b(t,r,{base:!0},o);if("@type"===n)return b(t,r,{vocab:!0,base:!0},{...o,typeExpansion:!0});const a=m(t,e,"@type");if(("@id"===a||"@graph"===n)&&s(r)){const n=b(t,r,{base:!0},o);return null===n&&r.match(w)&&o.eventHandler&&S({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:e}},options:o}),{"@id":n}}if("@vocab"===a&&s(r))return{"@id":b(t,r,{vocab:!0,base:!0},o)};if(f(n))return r;const i={};if(a&&!["@id","@vocab","@none"].includes(a))i["@type"]=a;else if(s(r)){const r=m(t,e,"@language");null!==r&&(i["@language"]=r);const o=m(t,e,"@direction");null!==o&&(i["@direction"]=o)}return["boolean","number","string"].includes(typeof r)||(r=r.toString()),i["@value"]=r,i}function T(t,e,r,a){const i=[],l=Object.keys(e).sort();for(const d of l){const l=b(t,d,{vocab:!0},a);let c=e[d];n(c)||(c=[c]);for(const t of c){if(null===t)continue;if(!s(t))throw new o("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:e});const n={"@value":t};"@none"!==l&&(d.match(y)||a.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:d}},options:a}),n["@language"]=d.toLowerCase()),r&&(n["@direction"]=r),i.push(n)}}return i}async function O({activeCtx:t,options:e,activeProperty:r,value:a,asGraph:i,indexKey:s,propertyIndex:d}){const u=[],f=Object.keys(a).sort(),g="@type"===s;for(let v of f){if(g){const r=m(t,v,"@context");l(r)||(t=await h({activeCtx:t,localCtx:r,propagate:!1,options:e}))}let f,y=a[v];n(y)||(y=[y]),y=await I.expand({activeCtx:t,activeProperty:r,element:y,options:e,insideList:!1,insideIndex:!0}),f=d?"@none"===v?"@none":R({activeCtx:t,activeProperty:s,value:v,options:e}):b(t,v,{vocab:!0},e),"@id"===s?v=b(t,v,{base:!0},e):g&&(v=f);for(let t of y){if(i&&!p(t)&&(t={"@graph":[t]}),"@type"===s)"@none"===f||(t["@type"]?t["@type"]=[v].concat(t["@type"]):t["@type"]=[v]);else{if(c(t)&&!["@language","@type","@index"].includes(s))throw new o(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${s}".`,"jsonld.SyntaxError",{code:"invalid value object",value:t});d?"@none"!==f&&x(t,d,f,{propertyIsArray:!0,prependValue:!0}):"@none"===f||s in t||(t[s]=v)}u.push(t)}}return u}t.exports=I,I.expand=async({activeCtx:t,activeProperty:e=null,element:r,options:d={},insideList:c=!1,insideIndex:p=!1,typeScopedContext:u=null})=>{if(null==r)return null;if("@default"===e&&(d=Object.assign({},d,{isFrame:!1})),!n(r)&&!a(r))return c||null!==e&&"@graph"!==b(t,e,{vocab:!0},d)?R({activeCtx:t,activeProperty:e,value:r,options:d}):(d.eventHandler&&S({event:{type:["JsonLdEvent"],code:"free-floating scalar",level:"warning",message:"Dropping free-floating scalar not in a list.",details:{value:r}},options:d}),null);if(n(r)){let o=[];const a=m(t,e,"@container")||[];c=c||a.includes("@list");for(let a=0;a<r.length;++a){let i=await I.expand({activeCtx:t,activeProperty:e,element:r[a],options:d,insideIndex:p,typeScopedContext:u});c&&n(i)&&(i={"@list":i}),null!==i&&(n(i)?o=o.concat(i):o.push(i))}return o}const f=b(t,e,{vocab:!0},d),y=m(t,e,"@context");u=u||(t.previousContext?t:null);let w=Object.keys(r).sort(),x=!p;if(x&&u&&w.length<=2&&!w.includes("@context"))for(const e of w){const r=b(u,e,{vocab:!0},d);if("@value"===r){x=!1,t=u;break}if("@id"===r&&1===w.length){x=!1;break}}x&&(t=t.revertToPreviousContext()),l(y)||(t=await h({activeCtx:t,localCtx:y,propagate:!0,overrideProtected:!0,options:d})),"@context"in r&&(t=await h({activeCtx:t,localCtx:r["@context"],options:d})),u=t;let j=null;for(const e of w)if("@type"===b(t,e,{vocab:!0},d)){j=j||e;const o=r[e],n=Array.isArray(o)?o.length>1?o.slice().sort():o:[o];for(const e of n){const r=m(u,e,"@context");l(r)||(t=await h({activeCtx:t,localCtx:r,options:d,propagate:!1}))}}let T={};await N({activeCtx:t,activeProperty:e,expandedActiveProperty:f,element:r,expandedParent:T,options:d,insideList:c,typeKey:j,typeScopedContext:u}),w=Object.keys(T);let O=w.length;if("@value"in T){if("@type"in T&&("@language"in T||"@direction"in T))throw new o('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:T});let e=O-1;if("@type"in T&&(e-=1),"@index"in T&&(e-=1),"@language"in T&&(e-=1),"@direction"in T&&(e-=1),0!==e)throw new o('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:T});const r=null===T["@value"]?[]:_(T["@value"]),n=k(T,"@type");if(g(t,1.1)&&n.includes("@json")&&1===n.length);else if(0===r.length)d.eventHandler&&S({event:{type:["JsonLdEvent"],code:"null @value value",level:"warning",message:"Dropping null @value value.",details:{value:T}},options:d}),T=null;else{if(!r.every((t=>s(t)||i(t)))&&"@language"in T)throw new o("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:T});if(!n.every((t=>v(t)&&!(s(t)&&0===t.indexOf("_:"))||i(t))))throw new o('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:T})}}else if("@type"in T&&!n(T["@type"]))T["@type"]=[T["@type"]];else if("@set"in T||"@list"in T){if(O>1&&(2!==O||!("@index"in T)))throw new o('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:T});"@set"in T&&(T=T["@set"],w=Object.keys(T),O=w.length)}else 1===O&&"@language"in T&&(d.eventHandler&&S({event:{type:["JsonLdEvent"],code:"object with only @language",level:"warning",message:"Dropping object with only @language.",details:{value:T}},options:d}),T=null);return!a(T)||d.keepFreeFloatingNodes||c||null!==e&&"@graph"!==f&&!(m(t,e,"@container")||[]).includes("@graph")||(T=E({value:T,count:O,options:d})),T}},4128:(t,e,r)=>{var o=r(1800),n=/^\s+/;t.exports=function(t){return t?t.slice(0,o(t)+1).replace(n,""):t}},4134:t=>{t.exports={ArrayIsArray:t=>Array.isArray(t),ArrayPrototypeIncludes:(t,e)=>t.includes(e),ArrayPrototypeIndexOf:(t,e)=>t.indexOf(e),ArrayPrototypeJoin:(t,e)=>t.join(e),ArrayPrototypeMap:(t,e)=>t.map(e),ArrayPrototypePop:(t,e)=>t.pop(e),ArrayPrototypePush:(t,e)=>t.push(e),ArrayPrototypeSlice:(t,e,r)=>t.slice(e,r),Error,FunctionPrototypeCall:(t,e,...r)=>t.call(e,...r),FunctionPrototypeSymbolHasInstance:(t,e)=>Function.prototype[Symbol.hasInstance].call(t,e),MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(t,e)=>Object.defineProperties(t,e),ObjectDefineProperty:(t,e,r)=>Object.defineProperty(t,e,r),ObjectGetOwnPropertyDescriptor:(t,e)=>Object.getOwnPropertyDescriptor(t,e),ObjectKeys:t=>Object.keys(t),ObjectSetPrototypeOf:(t,e)=>Object.setPrototypeOf(t,e),Promise,PromisePrototypeCatch:(t,e)=>t.catch(e),PromisePrototypeThen:(t,e,r)=>t.then(e,r),PromiseReject:t=>Promise.reject(t),PromiseResolve:t=>Promise.resolve(t),ReflectApply:Reflect.apply,RegExpPrototypeTest:(t,e)=>t.test(e),SafeSet:Set,String,StringPrototypeSlice:(t,e,r)=>t.slice(e,r),StringPrototypeToLowerCase:t=>t.toLowerCase(),StringPrototypeToUpperCase:t=>t.toUpperCase(),StringPrototypeTrim:t=>t.trim(),Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(t,e,r)=>t.set(e,r),Boolean,Uint8Array}},4147:(t,e,r)=>{const{SymbolDispose:o}=r(4134),{AbortError:n,codes:a}=r(6371),{isNodeStream:i,isWebStream:s,kControllerErrorFunction:l}=r(6115),d=r(6238),{ERR_INVALID_ARG_TYPE:c}=a;let p;t.exports.addAbortSignal=function(e,r){if((t=>{if("object"!=typeof t||!("aborted"in t))throw new c("signal","AbortSignal",t)})(e),!i(r)&&!s(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(t,e){if("object"!=typeof t||!("aborted"in t))return e;const a=i(e)?()=>{e.destroy(new n(void 0,{cause:t.reason}))}:()=>{e[l](new n(void 0,{cause:t.reason}))};if(t.aborted)a();else{p=p||r(7760).addAbortListener;const n=p(t,a);d(e,n[o])}return e}},4191:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TypeHandlerString=void 0;class r{fromRdf(t){return t.value}toRdf(t,{datatype:e,dataFactory:r}){return r.literal(t,e)}}e.TypeHandlerString=r,r.TYPES=["http://www.w3.org/2001/XMLSchema#string","http://www.w3.org/2001/XMLSchema#normalizedString","http://www.w3.org/2001/XMLSchema#anyURI","http://www.w3.org/2001/XMLSchema#base64Binary","http://www.w3.org/2001/XMLSchema#language","http://www.w3.org/2001/XMLSchema#Name","http://www.w3.org/2001/XMLSchema#NCName","http://www.w3.org/2001/XMLSchema#NMTOKEN","http://www.w3.org/2001/XMLSchema#token","http://www.w3.org/2001/XMLSchema#hexBinary","http://www.w3.org/1999/02/22-rdf-syntax-ns#langString","http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString","http://www.w3.org/2001/XMLSchema#time","http://www.w3.org/2001/XMLSchema#duration"]},4259:(t,e,r)=>{const{ArrayIsArray:o,ObjectSetPrototypeOf:n}=r(4134),{EventEmitter:a}=r(7007);function i(t){a.call(this,t)}function s(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?o(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}n(i.prototype,a.prototype),n(i,a),i.prototype.pipe=function(t,e){const r=this;function o(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function n(){r.readable&&r.resume&&r.resume()}r.on("data",o),t.on("drain",n),t._isStdio||e&&!1===e.end||(r.on("end",l),r.on("close",d));let i=!1;function l(){i||(i=!0,t.end())}function d(){i||(i=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){p(),0===a.listenerCount(this,"error")&&this.emit("error",t)}function p(){r.removeListener("data",o),t.removeListener("drain",n),r.removeListener("end",l),r.removeListener("close",d),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",p),r.removeListener("close",p),t.removeListener("close",p)}return s(r,"error",c),s(t,"error",c),r.on("end",p),r.on("close",p),t.on("close",p),t.emit("pipe",r),t},t.exports={Stream:i,prependListener:s}},4394:(t,e,r)=>{var o=r(2552),n=r(346);t.exports=function(t){return"symbol"==typeof t||n(t)&&"[object Symbol]"==o(t)}},4802:function(t,e,r){var o=this&&this.__createBinding||(Object.create?function(t,e,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(e,r);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,o,n)}:function(t,e,r,o){void 0===o&&(o=r),t[o]=e[r]}),n=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||o(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(r(92),e),n(r(7258),e),n(r(2406),e),n(r(6925),e),n(r(4191),e)},4840:(t,e,r)=>{var o="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=o},4841:(t,e,r)=>{const o=r(989),n=r(701),a=r(9263),i=r(7034),s=a.IdentifierIssuer,l=r(2207),d=r(9749),c=r(8229),{expand:p}=r(4019),{flatten:u}=r(5229),{fromRDF:b}=r(3947),{toRDF:m}=r(9180),{frameMergedOrDefault:f,cleanupNull:h}=r(7946),{isArray:g,isObject:v,isString:y}=r(7382),{isSubjectReference:w}=r(3978),{expandIri:x,getInitialContext:_,process:k,processingMode:j}=r(1972),{compact:S,compactIri:I}=r(1058),{createNodeMap:E,createMergedNodeMap:N,mergeNodeMaps:R}=r(9233),{logEventHandler:T,logWarningEventHandler:O,safeEventHandler:A,setDefaultEventHandler:L,setupEventHandler:C,strictEventHandler:D,unhandledEventHandler:M}=r(2246),P=function(t){const e={},P=new d({max:100});function B(e,{documentLoader:r=t.documentLoader,...o}){if(e&&"compactionMap"in e)throw new l('"compactionMap" not supported.',"jsonld.OptionsError");if(e&&"expansionMap"in e)throw new l('"expansionMap" not supported.',"jsonld.OptionsError");return Object.assign({},{documentLoader:r},o,e,{eventHandler:C({options:e})})}return t.compact=async function(e,r,o){if(arguments.length<2)throw new TypeError("Could not compact, too few arguments.");if(null===r)throw new l("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"});if(null===e)return null;let n;(o=B(o,{base:y(e)?e:"",compactArrays:!0,compactToRelative:!0,graph:!1,skipExpansion:!1,link:!1,issuer:new s("_:b"),contextResolver:new i({sharedCache:P})})).link&&(o.skipExpansion=!0),o.compactToRelative||delete o.base,n=o.skipExpansion?e:await t.expand(e,o);const d=await t.processContext(_(o),r,o);let c=await S({activeCtx:d,element:n,options:o});o.compactArrays&&!o.graph&&g(c)?1===c.length?c=c[0]:0===c.length&&(c={}):o.graph&&v(c)&&(c=[c]),v(r)&&"@context"in r&&(r=r["@context"]),r=a.clone(r),g(r)||(r=[r]);const p=r;r=[];for(let t=0;t<p.length;++t)(!v(p[t])||Object.keys(p[t]).length>0)&&r.push(p[t]);const u=r.length>0;if(1===r.length&&(r=r[0]),g(c)){const t=I({activeCtx:d,iri:"@graph",relativeTo:{vocab:!0}}),e=c;c={},u&&(c["@context"]=r),c[t]=e}else if(v(c)&&u){const t=c;c={"@context":r};for(const e in t)c[e]=t[e]}return c},t.expand=async function(e,r){if(arguments.length<1)throw new TypeError("Could not expand, too few arguments.");const o={},n=[];if("expandContext"in(r=B(r,{keepFreeFloatingNodes:!1,contextResolver:new i({sharedCache:P})}))){const t=a.clone(r.expandContext);v(t)&&"@context"in t?o.expandContext=t:o.expandContext={"@context":t},n.push(o.expandContext)}let s;if(y(e)){const a=await t.get(e,r);s=a.documentUrl,o.input=a.document,a.contextUrl&&(o.remoteContext={"@context":a.contextUrl},n.push(o.remoteContext))}else o.input=a.clone(e);"base"in r||(r.base=s||"");let l=_(r);for(const t of n)l=await k({activeCtx:l,localCtx:t,options:r});let d=await p({activeCtx:l,element:o.input,options:r});return v(d)&&"@graph"in d&&1===Object.keys(d).length?d=d["@graph"]:null===d&&(d=[]),g(d)||(d=[d]),d},t.flatten=async function(e,r,o){if(arguments.length<1)return new TypeError("Could not flatten, too few arguments.");r="function"==typeof r?null:r||null,o=B(o,{base:y(e)?e:"",contextResolver:new i({sharedCache:P})});const n=await t.expand(e,o),a=u(n);return null===r?a:(o.graph=!0,o.skipExpansion=!0,await t.compact(a,r,o))},t.frame=async function(e,r,o){if(arguments.length<2)throw new TypeError("Could not frame, too few arguments.");if(o=B(o,{base:y(e)?e:"",embed:"@once",explicit:!1,requireAll:!1,omitDefault:!1,bnodesToClear:[],contextResolver:new i({sharedCache:P})}),y(r)){const e=await t.get(r,o);if(r=e.document,e.contextUrl){let t=r["@context"];t?g(t)?t.push(e.contextUrl):t=[t,e.contextUrl]:t=e.contextUrl,r["@context"]=t}}const n=r&&r["@context"]||{},a=await t.processContext(_(o),n,o);o.hasOwnProperty("omitGraph")||(o.omitGraph=j(a,1.1)),o.hasOwnProperty("pruneBlankNodeIdentifiers")||(o.pruneBlankNodeIdentifiers=j(a,1.1));const s=await t.expand(e,o),l={...o};l.isFrame=!0,l.keepFreeFloatingNodes=!0;const d=await t.expand(r,l),c=Object.keys(r).map((t=>x(a,t,{vocab:!0})));l.merged=!c.includes("@graph"),l.is11=j(a,1.1);const p=f(s,d,l);l.graph=!o.omitGraph,l.skipExpansion=!0,l.link={},l.framing=!0;let u=await t.compact(p,n,l);return l.link={},u=h(u,l),u},t.link=async function(e,r,o){const n={};return r&&(n["@context"]=r),n["@embed"]="@link",t.frame(e,n,o)},t.normalize=t.canonize=async function(e,r){if(arguments.length<1)throw new TypeError("Could not canonize, too few arguments.");if("inputFormat"in(r=B(r,{base:y(e)?e:null,algorithm:"URDNA2015",skipExpansion:!1,safe:!0,contextResolver:new i({sharedCache:P})}))){if("application/n-quads"!==r.inputFormat&&"application/nquads"!==r.inputFormat)throw new l("Unknown canonicalization input format.","jsonld.CanonizeError");const t=c.parse(e);return o.canonize(t,r)}const n={...r};delete n.format,n.produceGeneralizedRdf=!1;const a=await t.toRDF(e,n);return o.canonize(a,r)},t.fromRDF=async function(t,r){if(arguments.length<1)throw new TypeError("Could not convert from RDF, too few arguments.");r=B(r,{format:y(t)?"application/n-quads":void 0});const{format:o}=r;let{rdfParser:n}=r;if(o){if(n=n||e[o],!n)throw new l("Unknown input format.","jsonld.UnknownFormat",{format:o})}else n=()=>t;const a=await n(t);return b(a,r)},t.toRDF=async function(e,r){if(arguments.length<1)throw new TypeError("Could not convert to RDF, too few arguments.");let o;o=(r=B(r,{base:y(e)?e:"",skipExpansion:!1,contextResolver:new i({sharedCache:P})})).skipExpansion?e:await t.expand(e,r);const n=m(o,r);if(r.format){if("application/n-quads"===r.format||"application/nquads"===r.format)return c.serialize(n);throw new l("Unknown output format.","jsonld.UnknownFormat",{format:r.format})}return n},t.createNodeMap=async function(e,r){if(arguments.length<1)throw new TypeError("Could not create node map, too few arguments.");r=B(r,{base:y(e)?e:"",contextResolver:new i({sharedCache:P})});const o=await t.expand(e,r);return N(o,r)},t.merge=async function(e,r,o){if(arguments.length<1)throw new TypeError("Could not merge, too few arguments.");if(!g(e))throw new TypeError('Could not merge, "docs" must be an array.');r="function"==typeof r?null:r||null,o=B(o,{contextResolver:new i({sharedCache:P})});const n=await Promise.all(e.map((e=>{const r={...o};return t.expand(e,r)})));let l=!0;"mergeNodes"in o&&(l=o.mergeNodes);const d=o.issuer||new s("_:b"),c={"@default":{}};for(let t=0;t<n.length;++t){const e=a.relabelBlankNodes(n[t],{issuer:new s("_:b"+t+"-")}),r=l||0===t?c:{"@default":{}};if(E(e,r,"@default",d),r!==c)for(const t in r){const e=r[t];if(!(t in c)){c[t]=e;continue}const o=c[t];for(const t in e)t in o||(o[t]=e[t])}}const p=R(c),u=[],b=Object.keys(p).sort();for(let t=0;t<b.length;++t){const e=p[b[t]];w(e)||u.push(e)}return null===r?u:(o.graph=!0,o.skipExpansion=!0,await t.compact(u,r,o))},Object.defineProperty(t,"documentLoader",{get:()=>t._documentLoader,set:e=>t._documentLoader=e}),t.documentLoader=async t=>{throw new l("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:t})},t.get=async function(e,r){let o;o="function"==typeof r.documentLoader?r.documentLoader:t.documentLoader;const n=await o(e);try{if(!n.document)throw new l("No remote document found at the given URL.","jsonld.NullRemoteDocument");y(n.document)&&(n.document=JSON.parse(n.document))}catch(t){throw new l("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:t,remoteDoc:n})}return n},t.processContext=async function(t,e,r){return r=B(r,{base:"",contextResolver:new i({sharedCache:P})}),null===e?_(r):(e=a.clone(e),v(e)&&"@context"in e||(e={"@context":e}),k({activeCtx:t,localCtx:e,options:r}))},t.getContextValue=r(1972).getContextValue,t.documentLoaders={},t.useDocumentLoader=function(e){if(!(e in t.documentLoaders))throw new l('Unknown document loader type: "'+e+'"',"jsonld.UnknownDocumentLoader",{type:e});t.documentLoader=t.documentLoaders[e].apply(t,Array.prototype.slice.call(arguments,1))},t.registerRDFParser=function(t,r){e[t]=r},t.unregisterRDFParser=function(t){delete e[t]},t.registerRDFParser("application/n-quads",c.parse),t.registerRDFParser("application/nquads",c.parse),t.url=r(470),t.logEventHandler=T,t.logWarningEventHandler=O,t.safeEventHandler=A,t.setDefaultEventHandler=L,t.strictEventHandler=D,t.unhandledEventHandler=M,t.util=a,Object.assign(t,a),t.promises=t,t.RequestQueue=r(3743),t.JsonLdProcessor=r(5445)(t),n.setupGlobals(t),n.setupDocumentLoaders(t),t},B=function(){return P((function(){return B()}))};P(B),t.exports=B},4878:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultGraph=void 0;class r{constructor(){this.termType="DefaultGraph",this.value=""}equals(t){return!!t&&"DefaultGraph"===t.termType}}e.DefaultGraph=r,r.INSTANCE=new r},5001:(t,e,r)=>{const{ObjectSetPrototypeOf:o,Symbol:n}=r(4134);t.exports=d;const{ERR_METHOD_NOT_IMPLEMENTED:a}=r(6371).codes,i=r(3370),{getHighWaterMark:s}=r(5291);o(d.prototype,i.prototype),o(d,i);const l=n("kCallback");function d(t){if(!(this instanceof d))return new d(t);const e=t?s(this,t,"readableHighWaterMark",!0):null;0===e&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),i.call(this,t),this._readableState.sync=!1,this[l]=null,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",p)}function c(t){"function"!=typeof this._flush||this.destroyed?(this.push(null),t&&t()):this._flush(((e,r)=>{e?t?t(e):this.destroy(e):(null!=r&&this.push(r),this.push(null),t&&t())}))}function p(){this._final!==c&&c.call(this)}d.prototype._final=c,d.prototype._transform=function(t,e,r){throw new a("_transform()")},d.prototype._write=function(t,e,r){const o=this._readableState,n=this._writableState,a=o.length;this._transform(t,e,((t,e)=>{t?r(t):(null!=e&&this.push(e),n.ended||a===o.length||o.length<o.highWaterMark?r():this[l]=r)}))},d.prototype._read=function(){if(this[l]){const t=this[l];this[l]=null,t()}}},5003:(t,e,r)=>{var o=r(8287),n=o.Buffer;function a(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return n(t,e,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=o:(a(o,e),e.Buffer=i),i.prototype=Object.create(n.prototype),a(n,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return n(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var o=n(t);return void 0!==e?"string"==typeof r?o.fill(e,r):o.fill(e):o.fill(0),o},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o.SlowBuffer(t)}},5229:(t,e,r)=>{const{isSubjectReference:o}=r(3978),{createMergedNodeMap:n}=r(9233),a={};t.exports=a,a.flatten=t=>{const e=n(t),r=[],a=Object.keys(e).sort();for(let t=0;t<a.length;++t){const n=e[a[t]];o(n)||r.push(n)}return r}},5291:(t,e,r)=>{const{MathFloor:o,NumberIsInteger:n}=r(4134),{validateInteger:a}=r(277),{ERR_INVALID_ARG_VALUE:i}=r(6371).codes;let s=16384,l=16;function d(t){return t?l:s}t.exports={getHighWaterMark:function(t,e,r,a){const s=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,a,r);if(null!=s){if(!n(s)||s<0)throw new i(a?`options.${r}`:"options.highWaterMark",s);return o(s)}return d(t.objectMode)},getDefaultHighWaterMark:d,setDefaultHighWaterMark:function(t,e){a(e,"value",0),t?l=e:s=e}}},5445:t=>{t.exports=t=>{class e{toString(){return"[object JsonLdProcessor]"}}return Object.defineProperty(e,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(e.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:e}),e.compact=function(e,r){return arguments.length<2?Promise.reject(new TypeError("Could not compact, too few arguments.")):t.compact(e,r)},e.expand=function(e){return arguments.length<1?Promise.reject(new TypeError("Could not expand, too few arguments.")):t.expand(e)},e.flatten=function(e){return arguments.length<1?Promise.reject(new TypeError("Could not flatten, too few arguments.")):t.flatten(e)},e}},5448:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},5506:(t,e,r)=>{const{Buffer:o}=r(8287),{ObjectDefineProperty:n,ObjectKeys:a,ReflectApply:i}=r(4134),{promisify:{custom:s}}=r(7760),{streamReturningOperators:l,promiseReturningOperators:d}=r(823),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(6371),p=r(7830),{setDefaultHighWaterMark:u,getDefaultHighWaterMark:b}=r(5291),{pipeline:m}=r(7758),{destroyer:f}=r(5896),h=r(6238),g=r(3095),v=r(6115),y=t.exports=r(4259).Stream;y.isDestroyed=v.isDestroyed,y.isDisturbed=v.isDisturbed,y.isErrored=v.isErrored,y.isReadable=v.isReadable,y.isWritable=v.isWritable,y.Readable=r(7576);for(const x of a(l)){const _=l[x];function k(...t){if(new.target)throw c();return y.Readable.from(i(_,this,t))}n(k,"name",{__proto__:null,value:_.name}),n(k,"length",{__proto__:null,value:_.length}),n(y.Readable.prototype,x,{__proto__:null,value:k,enumerable:!1,configurable:!0,writable:!0})}for(const j of a(d)){const S=d[j];function I(...t){if(new.target)throw c();return i(S,this,t)}n(I,"name",{__proto__:null,value:S.name}),n(I,"length",{__proto__:null,value:S.length}),n(y.Readable.prototype,j,{__proto__:null,value:I,enumerable:!1,configurable:!0,writable:!0})}y.Writable=r(8584),y.Duplex=r(3370),y.Transform=r(5001),y.PassThrough=r(6524),y.pipeline=m;const{addAbortSignal:w}=r(4147);y.addAbortSignal=w,y.finished=h,y.destroy=f,y.compose=p,y.setDefaultHighWaterMark=u,y.getDefaultHighWaterMark=b,n(y,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>g}),n(m,s,{__proto__:null,enumerable:!0,get:()=>g.pipeline}),n(h,s,{__proto__:null,enumerable:!0,get:()=>g.finished}),y.Stream=y,y._isUint8Array=function(t){return t instanceof Uint8Array},y._uint8ArrayToBuffer=function(t){return o.from(t.buffer,t.byteOffset,t.byteLength)}},5568:t=>{const{AbortController:e,AbortSignal:r}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;t.exports=e,t.exports.AbortSignal=r,t.exports.default=e},5606:t=>{var e,r,o=t.exports={};function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(t){if(e===setTimeout)return setTimeout(t,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:n}catch(t){e=n}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,l=[],d=!1,c=-1;function p(){d&&s&&(d=!1,s.length?l=s.concat(l):c=-1,l.length&&u())}function u(){if(!d){var t=i(p);d=!0;for(var e=l.length;e;){for(s=l,l=[];++c<e;)s&&s[c].run();c=-1,e=l.length}s=null,d=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function b(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new b(t,e)),1!==l.length||d||i(u)},b.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},5896:(t,e,r)=>{const o=r(5606),{aggregateTwoErrors:n,codes:{ERR_MULTIPLE_CALLBACK:a},AbortError:i}=r(6371),{Symbol:s}=r(4134),{kIsDestroyed:l,isDestroyed:d,isFinished:c,isServerRequest:p}=r(6115),u=s("kDestroy"),b=s("kConstruct");function m(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}function f(t,e,r){let n=!1;function a(e){if(n)return;n=!0;const a=t._readableState,i=t._writableState;m(e,i,a),i&&(i.closed=!0),a&&(a.closed=!0),"function"==typeof r&&r(e),e?o.nextTick(h,t,e):o.nextTick(g,t)}try{t._destroy(e||null,a)}catch(e){a(e)}}function h(t,e){v(t,e),g(t)}function g(t){const e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(null!=r&&r.emitClose||null!=e&&e.emitClose)&&t.emit("close")}function v(t,e){const r=t._readableState,o=t._writableState;null!=o&&o.errorEmitted||null!=r&&r.errorEmitted||(o&&(o.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}function y(t,e,r){const n=t._readableState,a=t._writableState;if(null!=a&&a.destroyed||null!=n&&n.destroyed)return this;null!=n&&n.autoDestroy||null!=a&&a.autoDestroy?t.destroy(e):e&&(e.stack,a&&!a.errored&&(a.errored=e),n&&!n.errored&&(n.errored=e),r?o.nextTick(v,t,e):v(t,e))}function w(t){let e=!1;function r(r){if(e)return void y(t,null!=r?r:new a);e=!0;const n=t._readableState,i=t._writableState,s=i||n;n&&(n.constructed=!0),i&&(i.constructed=!0),s.destroyed?t.emit(u,r):r?y(t,r,!0):o.nextTick(x,t)}try{t._construct((t=>{o.nextTick(r,t)}))}catch(t){o.nextTick(r,t)}}function x(t){t.emit(b)}function _(t){return(null==t?void 0:t.setHeader)&&"function"==typeof t.abort}function k(t){t.emit("close")}function j(t,e){t.emit("error",e),o.nextTick(k,t)}t.exports={construct:function(t,e){if("function"!=typeof t._construct)return;const r=t._readableState,n=t._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),t.once(b,e),t.listenerCount(b)>1||o.nextTick(w,t)},destroyer:function(t,e){t&&!d(t)&&(e||c(t)||(e=new i),p(t)?(t.socket=null,t.destroy(e)):_(t)?t.abort():_(t.req)?t.req.abort():"function"==typeof t.destroy?t.destroy(e):"function"==typeof t.close?t.close():e?o.nextTick(j,t,e):o.nextTick(k,t),t.destroyed||(t[l]=!0))},destroy:function(t,e){const r=this._readableState,o=this._writableState,a=o||r;return null!=o&&o.destroyed||null!=r&&r.destroyed?("function"==typeof e&&e(),this):(m(t,o,r),o&&(o.destroyed=!0),r&&(r.destroyed=!0),a.constructed?f(this,t,e):this.once(u,(function(r){f(this,n(r,t),e)})),this)},undestroy:function(){const t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=!1===t.readable,t.endEmitted=!1===t.readable),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=!1===e.writable,e.ending=!1===e.writable,e.finished=!1===e.writable)},errorOrDestroy:y}},6115:(t,e,r)=>{const{SymbolAsyncIterator:o,SymbolIterator:n,SymbolFor:a}=r(4134),i=a("nodejs.stream.destroyed"),s=a("nodejs.stream.errored"),l=a("nodejs.stream.readable"),d=a("nodejs.stream.writable"),c=a("nodejs.stream.disturbed"),p=a("nodejs.webstream.isClosedPromise"),u=a("nodejs.webstream.controllerErrorFunction");function b(t,e=!1){var r;return!(!t||"function"!=typeof t.pipe||"function"!=typeof t.on||e&&("function"!=typeof t.pause||"function"!=typeof t.resume)||t._writableState&&!1===(null===(r=t._readableState)||void 0===r?void 0:r.readable)||t._writableState&&!t._readableState)}function m(t){var e;return!(!t||"function"!=typeof t.write||"function"!=typeof t.on||t._readableState&&!1===(null===(e=t._writableState)||void 0===e?void 0:e.writable))}function f(t){return t&&(t._readableState||t._writableState||"function"==typeof t.write&&"function"==typeof t.on||"function"==typeof t.pipe&&"function"==typeof t.on)}function h(t){return!(!t||f(t)||"function"!=typeof t.pipeThrough||"function"!=typeof t.getReader||"function"!=typeof t.cancel)}function g(t){return!(!t||f(t)||"function"!=typeof t.getWriter||"function"!=typeof t.abort)}function v(t){return!(!t||f(t)||"object"!=typeof t.readable||"object"!=typeof t.writable)}function y(t){if(!f(t))return null;const e=t._writableState,r=t._readableState,o=e||r;return!!(t.destroyed||t[i]||null!=o&&o.destroyed)}function w(t){if(!m(t))return null;if(!0===t.writableEnded)return!0;const e=t._writableState;return(null==e||!e.errored)&&("boolean"!=typeof(null==e?void 0:e.ended)?null:e.ended)}function x(t,e){if(!b(t))return null;const r=t._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===e&&!0===r.ended&&0===r.length))}function _(t){return t&&null!=t[l]?t[l]:"boolean"!=typeof(null==t?void 0:t.readable)?null:!y(t)&&b(t)&&t.readable&&!x(t)}function k(t){return t&&null!=t[d]?t[d]:"boolean"!=typeof(null==t?void 0:t.writable)?null:!y(t)&&m(t)&&t.writable&&!w(t)}function j(t){return"boolean"==typeof t._closed&&"boolean"==typeof t._defaultKeepAlive&&"boolean"==typeof t._removedConnection&&"boolean"==typeof t._removedContLen}function S(t){return"boolean"==typeof t._sent100&&j(t)}t.exports={isDestroyed:y,kIsDestroyed:i,isDisturbed:function(t){var e;return!(!t||!(null!==(e=t[c])&&void 0!==e?e:t.readableDidRead||t.readableAborted))},kIsDisturbed:c,isErrored:function(t){var e,r,o,n,a,i,l,d,c,p;return!(!t||!(null!==(e=null!==(r=null!==(o=null!==(n=null!==(a=null!==(i=t[s])&&void 0!==i?i:t.readableErrored)&&void 0!==a?a:t.writableErrored)&&void 0!==n?n:null===(l=t._readableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==o?o:null===(d=t._writableState)||void 0===d?void 0:d.errorEmitted)&&void 0!==r?r:null===(c=t._readableState)||void 0===c?void 0:c.errored)&&void 0!==e?e:null===(p=t._writableState)||void 0===p?void 0:p.errored))},kIsErrored:s,isReadable:_,kIsReadable:l,kIsClosedPromise:p,kControllerErrorFunction:u,kIsWritable:d,isClosed:function(t){if(!f(t))return null;if("boolean"==typeof t.closed)return t.closed;const e=t._writableState,r=t._readableState;return"boolean"==typeof(null==e?void 0:e.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==e?void 0:e.closed)||(null==r?void 0:r.closed):"boolean"==typeof t._closed&&j(t)?t._closed:null},isDuplexNodeStream:function(t){return!(!t||"function"!=typeof t.pipe||!t._readableState||"function"!=typeof t.on||"function"!=typeof t.write)},isFinished:function(t,e){return f(t)?!(!y(t)&&(!1!==(null==e?void 0:e.readable)&&_(t)||!1!==(null==e?void 0:e.writable)&&k(t))):null},isIterable:function(t,e){return null!=t&&(!0===e?"function"==typeof t[o]:!1===e?"function"==typeof t[n]:"function"==typeof t[o]||"function"==typeof t[n])},isReadableNodeStream:b,isReadableStream:h,isReadableEnded:function(t){if(!b(t))return null;if(!0===t.readableEnded)return!0;const e=t._readableState;return!(!e||e.errored)&&("boolean"!=typeof(null==e?void 0:e.ended)?null:e.ended)},isReadableFinished:x,isReadableErrored:function(t){var e,r;return f(t)?t.readableErrored?t.readableErrored:null!==(e=null===(r=t._readableState)||void 0===r?void 0:r.errored)&&void 0!==e?e:null:null},isNodeStream:f,isWebStream:function(t){return h(t)||g(t)||v(t)},isWritable:k,isWritableNodeStream:m,isWritableStream:g,isWritableEnded:w,isWritableFinished:function(t,e){if(!m(t))return null;if(!0===t.writableFinished)return!0;const r=t._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===e&&!0===r.ended&&0===r.length))},isWritableErrored:function(t){var e,r;return f(t)?t.writableErrored?t.writableErrored:null!==(e=null===(r=t._writableState)||void 0===r?void 0:r.errored)&&void 0!==e?e:null:null},isServerRequest:function(t){var e;return"boolean"==typeof t._consuming&&"boolean"==typeof t._dumped&&void 0===(null===(e=t.req)||void 0===e?void 0:e.upgradeOrConnect)},isServerResponse:S,willEmitClose:function(t){if(!f(t))return null;const e=t._writableState,r=t._readableState,o=e||r;return!o&&S(t)||!!(o&&o.autoDestroy&&o.emitClose&&!1===o.closed)},isTransformStream:v}},6238:(t,e,r)=>{const o=r(5606),{AbortError:n,codes:a}=r(6371),{ERR_INVALID_ARG_TYPE:i,ERR_STREAM_PREMATURE_CLOSE:s}=a,{kEmptyObject:l,once:d}=r(7760),{validateAbortSignal:c,validateFunction:p,validateObject:u,validateBoolean:b}=r(277),{Promise:m,PromisePrototypeThen:f,SymbolDispose:h}=r(4134),{isClosed:g,isReadable:v,isReadableNodeStream:y,isReadableStream:w,isReadableFinished:x,isReadableErrored:_,isWritable:k,isWritableNodeStream:j,isWritableStream:S,isWritableFinished:I,isWritableErrored:E,isNodeStream:N,willEmitClose:R,kIsClosedPromise:T}=r(6115);let O;const A=()=>{};function L(t,e,a){var b,m;if(2===arguments.length?(a=e,e=l):null==e?e=l:u(e,"options"),p(a,"callback"),c(e.signal,"options.signal"),a=d(a),w(t)||S(t))return function(t,e,a){let i=!1,s=A;if(e.signal)if(s=()=>{i=!0,a.call(t,new n(void 0,{cause:e.signal.reason}))},e.signal.aborted)o.nextTick(s);else{O=O||r(7760).addAbortListener;const o=O(e.signal,s),n=a;a=d(((...e)=>{o[h](),n.apply(t,e)}))}const l=(...e)=>{i||o.nextTick((()=>a.apply(t,e)))};return f(t[T].promise,l,l),A}(t,e,a);if(!N(t))throw new i("stream",["ReadableStream","WritableStream","Stream"],t);const L=null!==(b=e.readable)&&void 0!==b?b:y(t),C=null!==(m=e.writable)&&void 0!==m?m:j(t),D=t._writableState,M=t._readableState,P=()=>{t.writable||$()};let B=R(t)&&y(t)===L&&j(t)===C,z=I(t,!1);const $=()=>{z=!0,t.destroyed&&(B=!1),(!B||t.readable&&!L)&&(L&&!q||a.call(t))};let q=x(t,!1);const F=()=>{q=!0,t.destroyed&&(B=!1),(!B||t.writable&&!C)&&(C&&!z||a.call(t))},G=e=>{a.call(t,e)};let U=g(t);const H=()=>{U=!0;const e=E(t)||_(t);return e&&"boolean"!=typeof e?a.call(t,e):L&&!q&&y(t,!0)&&!x(t,!1)?a.call(t,new s):!C||z||I(t,!1)?void a.call(t):a.call(t,new s)},V=()=>{U=!0;const e=E(t)||_(t);if(e&&"boolean"!=typeof e)return a.call(t,e);a.call(t)},W=()=>{t.req.on("finish",$)};!function(t){return t.setHeader&&"function"==typeof t.abort}(t)?C&&!D&&(t.on("end",P),t.on("close",P)):(t.on("complete",$),B||t.on("abort",H),t.req?W():t.on("request",W)),B||"boolean"!=typeof t.aborted||t.on("aborted",H),t.on("end",F),t.on("finish",$),!1!==e.error&&t.on("error",G),t.on("close",H),U?o.nextTick(H):null!=D&&D.errorEmitted||null!=M&&M.errorEmitted?B||o.nextTick(V):(L||B&&!v(t)||!z&&!1!==k(t))&&(C||B&&!k(t)||!q&&!1!==v(t))?M&&t.req&&t.aborted&&o.nextTick(V):o.nextTick(V);const J=()=>{a=A,t.removeListener("aborted",H),t.removeListener("complete",$),t.removeListener("abort",H),t.removeListener("request",W),t.req&&t.req.removeListener("finish",$),t.removeListener("end",P),t.removeListener("close",P),t.removeListener("finish",$),t.removeListener("end",F),t.removeListener("error",G),t.removeListener("close",H)};if(e.signal&&!U){const i=()=>{const r=a;J(),r.call(t,new n(void 0,{cause:e.signal.reason}))};if(e.signal.aborted)o.nextTick(i);else{O=O||r(7760).addAbortListener;const o=O(e.signal,i),n=a;a=d(((...e)=>{o[h](),n.apply(t,e)}))}}return J}t.exports=L,t.exports.finished=function(t,e){var r;let o=!1;return null===e&&(e=l),null!==(r=e)&&void 0!==r&&r.cleanup&&(b(e.cleanup,"cleanup"),o=e.cleanup),new m(((r,n)=>{const a=L(t,e,(t=>{o&&a(),t?n(t):r()}))}))}},6371:(t,e,r)=>{const{format:o,inspect:n,AggregateError:a}=r(7760),i=globalThis.AggregateError||a,s=Symbol("kIsNodeError"),l=["string","function","number","object","Function","Object","boolean","bigint","symbol"],d=/^([A-Z][a-z0-9]*)+$/,c={};function p(t,e){if(!t)throw new c.ERR_INTERNAL_ASSERTION(e)}function u(t){let e="",r=t.length;const o="-"===t[0]?1:0;for(;r>=o+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function b(t,e,r){r||(r=Error);class n extends r{constructor(...r){super(function(t,e,r){if("function"==typeof e)return p(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);const n=(e.match(/%[dfijoOs]/g)||[]).length;return p(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),0===r.length?e:o(e,...r)}(t,e,r))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=t,n.prototype[s]=!0,c[t]=n}function m(t){const e="__node_internal_"+t.name;return Object.defineProperty(t,"name",{value:e}),t}class f extends Error{constructor(t="The operation was aborted",e=void 0){if(void 0!==e&&"object"!=typeof e)throw new c.ERR_INVALID_ARG_TYPE("options","Object",e);super(t,e),this.code="ABORT_ERR",this.name="AbortError"}}b("ERR_ASSERTION","%s",Error),b("ERR_INVALID_ARG_TYPE",((t,e,r)=>{p("string"==typeof t,"'name' must be a string"),Array.isArray(e)||(e=[e]);let o="The ";t.endsWith(" argument")?o+=`${t} `:o+=`"${t}" ${t.includes(".")?"property":"argument"} `,o+="must be ";const a=[],i=[],s=[];for(const t of e)p("string"==typeof t,"All expected entries have to be of type string"),l.includes(t)?a.push(t.toLowerCase()):d.test(t)?i.push(t):(p("object"!==t,'The value "object" should be written as "Object"'),s.push(t));if(i.length>0){const t=a.indexOf("object");-1!==t&&(a.splice(a,t,1),i.push("Object"))}if(a.length>0){switch(a.length){case 1:o+=`of type ${a[0]}`;break;case 2:o+=`one of type ${a[0]} or ${a[1]}`;break;default:{const t=a.pop();o+=`one of type ${a.join(", ")}, or ${t}`}}(i.length>0||s.length>0)&&(o+=" or ")}if(i.length>0){switch(i.length){case 1:o+=`an instance of ${i[0]}`;break;case 2:o+=`an instance of ${i[0]} or ${i[1]}`;break;default:{const t=i.pop();o+=`an instance of ${i.join(", ")}, or ${t}`}}s.length>0&&(o+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(o+="an "),o+=`${s[0]}`;break;case 2:o+=`one of ${s[0]} or ${s[1]}`;break;default:{const t=s.pop();o+=`one of ${s.join(", ")}, or ${t}`}}if(null==r)o+=`. Received ${r}`;else if("function"==typeof r&&r.name)o+=`. Received function ${r.name}`;else if("object"==typeof r){var c;null!==(c=r.constructor)&&void 0!==c&&c.name?o+=`. Received an instance of ${r.constructor.name}`:o+=`. Received ${n(r,{depth:-1})}`}else{let t=n(r,{colors:!1});t.length>25&&(t=`${t.slice(0,25)}...`),o+=`. Received type ${typeof r} (${t})`}return o}),TypeError),b("ERR_INVALID_ARG_VALUE",((t,e,r="is invalid")=>{let o=n(e);return o.length>128&&(o=o.slice(0,128)+"..."),`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${o}`}),TypeError),b("ERR_INVALID_RETURN_VALUE",((t,e,r)=>{var o;return`Expected ${t} to be returned from the "${e}" function but got ${null!=r&&null!==(o=r.constructor)&&void 0!==o&&o.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`}),TypeError),b("ERR_MISSING_ARGS",((...t)=>{let e;p(t.length>0,"At least one arg needs to be specified");const r=t.length;switch(t=(Array.isArray(t)?t:[t]).map((t=>`"${t}"`)).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{const r=t.pop();e+=`The ${t.join(", ")}, and ${r} arguments`}}return`${e} must be specified`}),TypeError),b("ERR_OUT_OF_RANGE",((t,e,r)=>{let o;return p(e,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?o=u(String(r)):"bigint"==typeof r?(o=String(r),(r>2n**32n||r<-(2n**32n))&&(o=u(o)),o+="n"):o=n(r),`The value of "${t}" is out of range. It must be ${e}. Received ${o}`}),RangeError),b("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),b("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),b("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),b("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),b("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),b("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),b("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),b("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),b("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),b("ERR_STREAM_WRITE_AFTER_END","write after end",Error),b("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:f,aggregateTwoErrors:m((function(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;const r=new i([e,t],e.message);return r.code=e.code,r}return t||e})),hideStackFrames:m,codes:c}},6524:(t,e,r)=>{const{ObjectSetPrototypeOf:o}=r(4134);t.exports=a;const n=r(5001);function a(t){if(!(this instanceof a))return new a(t);n.call(this,t)}o(a.prototype,n.prototype),o(a,n),a.prototype._transform=function(t,e,r){r(null,t)}},6532:(t,e,r)=>{const o=r(5606),{PromisePrototypeThen:n,SymbolAsyncIterator:a,SymbolIterator:i}=r(4134),{Buffer:s}=r(8287),{ERR_INVALID_ARG_TYPE:l,ERR_STREAM_NULL_VALUES:d}=r(6371).codes;t.exports=function(t,e,r){let c,p;if("string"==typeof e||e instanceof s)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});if(e&&e[a])p=!0,c=e[a]();else{if(!e||!e[i])throw new l("iterable",["Iterable"],e);p=!1,c=e[i]()}const u=new t({objectMode:!0,highWaterMark:1,...r});let b=!1;return u._read=function(){b||(b=!0,async function(){for(;;){try{const{value:t,done:e}=p?await c.next():c.next();if(e)u.push(null);else{const e=t&&"function"==typeof t.then?await t:t;if(null===e)throw b=!1,new d;if(u.push(e))continue;b=!1}}catch(t){u.destroy(t)}break}}())},u._destroy=function(t,e){n(async function(t){const e=null!=t,r="function"==typeof c.throw;if(e&&r){const{value:e,done:r}=await c.throw(t);if(await e,r)return}if("function"==typeof c.return){const{value:t}=await c.return();await t}}(t),(()=>o.nextTick(e,t)),(r=>o.nextTick(e,r||t)))},u}},6706:(t,e,r)=>{const o=r(5606),n=r(8287),{isReadable:a,isWritable:i,isIterable:s,isNodeStream:l,isReadableNodeStream:d,isWritableNodeStream:c,isDuplexNodeStream:p,isReadableStream:u,isWritableStream:b}=r(6115),m=r(6238),{AbortError:f,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:g}}=r(6371),{destroyer:v}=r(5896),y=r(3370),w=r(7576),x=r(8584),{createDeferredPromise:_}=r(7760),k=r(6532),j=globalThis.Blob||n.Blob,S=void 0!==j?function(t){return t instanceof j}:function(t){return!1},I=globalThis.AbortController||r(5568).AbortController,{FunctionPrototypeCall:E}=r(4134);class N extends y{constructor(t){super(t),!1===(null==t?void 0:t.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==t?void 0:t.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function R(t){const e=t.readable&&"function"!=typeof t.readable.read?w.wrap(t.readable):t.readable,r=t.writable;let o,n,s,l,d,c=!!a(e),p=!!i(r);function u(t){const e=l;l=null,e?e(t):t&&d.destroy(t)}return d=new N({readableObjectMode:!(null==e||!e.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:p}),p&&(m(r,(t=>{p=!1,t&&v(e,t),u(t)})),d._write=function(t,e,n){r.write(t,e)?n():o=n},d._final=function(t){r.end(),n=t},r.on("drain",(function(){if(o){const t=o;o=null,t()}})),r.on("finish",(function(){if(n){const t=n;n=null,t()}}))),c&&(m(e,(t=>{c=!1,t&&v(e,t),u(t)})),e.on("readable",(function(){if(s){const t=s;s=null,t()}})),e.on("end",(function(){d.push(null)})),d._read=function(){for(;;){const t=e.read();if(null===t)return void(s=d._read);if(!d.push(t))return}}),d._destroy=function(t,a){t||null===l||(t=new f),s=null,o=null,n=null,null===l?a(t):(l=a,v(r,t),v(e,t))},d}t.exports=function t(e,r){if(p(e))return e;if(d(e))return R({readable:e});if(c(e))return R({writable:e});if(l(e))return R({writable:!1,readable:!1});if(u(e))return R({readable:w.fromWeb(e)});if(b(e))return R({writable:x.fromWeb(e)});if("function"==typeof e){const{value:t,write:n,final:a,destroy:i}=function(t){let{promise:e,resolve:r}=_();const n=new I,a=n.signal;return{value:t(async function*(){for(;;){const t=e;e=null;const{chunk:n,done:i,cb:s}=await t;if(o.nextTick(s),i)return;if(a.aborted)throw new f(void 0,{cause:a.reason});({promise:e,resolve:r}=_()),yield n}}(),{signal:a}),write(t,e,o){const n=r;r=null,n({chunk:t,done:!1,cb:o})},final(t){const e=r;r=null,e({done:!0,cb:t})},destroy(t,e){n.abort(),e(t)}}}(e);if(s(t))return k(N,t,{objectMode:!0,write:n,final:a,destroy:i});const l=null==t?void 0:t.then;if("function"==typeof l){let e;const r=E(l,t,(t=>{if(null!=t)throw new g("nully","body",t)}),(t=>{v(e,t)}));return e=new N({objectMode:!0,readable:!1,write:n,final(t){a((async()=>{try{await r,o.nextTick(t,null)}catch(e){o.nextTick(t,e)}}))},destroy:i})}throw new g("Iterable, AsyncIterable or AsyncFunction",r,t)}if(S(e))return t(e.arrayBuffer());if(s(e))return k(N,e,{objectMode:!0,writable:!1});if(u(null==e?void 0:e.readable)&&b(null==e?void 0:e.writable))return N.fromWeb(e);if("object"==typeof(null==e?void 0:e.writable)||"object"==typeof(null==e?void 0:e.readable))return R({readable:null!=e&&e.readable?d(null==e?void 0:e.readable)?null==e?void 0:e.readable:t(e.readable):void 0,writable:null!=e&&e.writable?c(null==e?void 0:e.writable)?null==e?void 0:e.writable:t(e.writable):void 0});const n=null==e?void 0:e.then;if("function"==typeof n){let t;return E(n,e,(e=>{null!=e&&t.push(e),t.push(null)}),(e=>{v(t,e)})),t=new N({objectMode:!0,writable:!1,read(){}})}throw new h(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)}},6925:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TypeHandlerNumberInteger=void 0;const o=r(103);class n{fromRdf(t,e){const r=parseInt(t.value,10);return e&&(isNaN(r)||t.value.indexOf(".")>=0)&&o.Translator.incorrectRdfDataType(t),r}toRdf(t,{datatype:e,dataFactory:r}){return r.literal(String(t),e||(t<=n.MAX_INT&&t>=n.MIN_INT?r.namedNode(n.TYPES[0]):r.namedNode(n.TYPES[1])))}}e.TypeHandlerNumberInteger=n,n.TYPES=["http://www.w3.org/2001/XMLSchema#integer","http://www.w3.org/2001/XMLSchema#long","http://www.w3.org/2001/XMLSchema#int","http://www.w3.org/2001/XMLSchema#byte","http://www.w3.org/2001/XMLSchema#short","http://www.w3.org/2001/XMLSchema#negativeInteger","http://www.w3.org/2001/XMLSchema#nonNegativeInteger","http://www.w3.org/2001/XMLSchema#nonPositiveInteger","http://www.w3.org/2001/XMLSchema#positiveInteger","http://www.w3.org/2001/XMLSchema#unsignedByte","http://www.w3.org/2001/XMLSchema#unsignedInt","http://www.w3.org/2001/XMLSchema#unsignedLong","http://www.w3.org/2001/XMLSchema#unsignedShort"],n.MAX_INT=2147483647,n.MIN_INT=-2147483648},6957:(t,e,r)=>{const{parseLinkHeader:o,buildHeaders:n}=r(9263),{LINK_HEADER_CONTEXT:a}=r(9378),i=r(2207),s=r(3743),{prependBase:l}=r(470),d=/(^|(\r\n))link:/i;t.exports=({secure:t,headers:e={},xhr:r}={headers:{}})=>(e=n(e),(new s).wrapLoader((async function n(s){if(0!==s.indexOf("http:")&&0!==s.indexOf("https:"))throw new i('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:s});if(t&&0!==s.indexOf("https"))throw new i('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:s});let c;try{c=await function(t,e,r){const o=new(t=t||XMLHttpRequest);return new Promise(((t,n)=>{o.onload=()=>t(o),o.onerror=t=>n(t),o.open("GET",e,!0);for(const t in r)o.setRequestHeader(t,r[t]);o.send()}))}(r,s,e)}catch(t){throw new i("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:s,cause:t})}if(c.status>=400)throw new i("URL could not be dereferenced: "+c.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:s,httpStatusCode:c.status});let p={contextUrl:null,documentUrl:s,document:c.response},u=null;const b=c.getResponseHeader("Content-Type");let m;if(d.test(c.getAllResponseHeaders())&&(m=c.getResponseHeader("Link")),m&&"application/ld+json"!==b){const t=o(m),e=t[a];if(Array.isArray(e))throw new i("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:s});e&&(p.contextUrl=e.target),u=t.alternate,u&&"application/ld+json"==u.type&&!(b||"").match(/^application\/(\w*\+)?json$/)&&(p=await n(l(s,u.target)))}return p})))},7007:t=>{var e,r="object"==typeof Reflect?Reflect:null,o=r&&"function"==typeof r.apply?r.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};e=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var n=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(t,e){return new Promise((function(r,o){function n(r){t.removeListener(e,a),o(r)}function a(){"function"==typeof t.removeListener&&t.removeListener("error",n),r([].slice.call(arguments))}f(t,e,a,{once:!0}),"error"!==e&&function(t,e){"function"==typeof t.on&&f(t,"error",e,{once:!0})}(t,n)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function s(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function d(t,e,r,o){var n,a,i,d;if(s(r),void 0===(a=t._events)?(a=t._events=Object.create(null),t._eventsCount=0):(void 0!==a.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),a=t._events),i=a[e]),void 0===i)i=a[e]=r,++t._eventsCount;else if("function"==typeof i?i=a[e]=o?[r,i]:[i,r]:o?i.unshift(r):i.push(r),(n=l(t))>0&&i.length>n&&!i.warned){i.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=i.length,d=c,console&&console.warn&&console.warn(d)}return t}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,r){var o={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},n=c.bind(o);return n.listener=r,o.wrapFn=n,n}function u(t,e,r){var o=t._events;if(void 0===o)return[];var n=o[e];return void 0===n?[]:"function"==typeof n?r?[n.listener||n]:[n]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(n):m(n,n.length)}function b(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(t,e){for(var r=new Array(e),o=0;o<e;++o)r[o]=t[o];return r}function f(t,e,r,o){if("function"==typeof t.on)o.once?t.once(e,r):t.on(e,r);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function n(a){o.once&&t.removeEventListener(e,n),r(a)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");i=t}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return l(this)},a.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,a=this._events;if(void 0!==a)n=n&&void 0===a.error;else if(!n)return!1;if(n){var i;if(e.length>0&&(i=e[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=a[t];if(void 0===l)return!1;if("function"==typeof l)o(l,this,e);else{var d=l.length,c=m(l,d);for(r=0;r<d;++r)o(c[r],this,e)}return!0},a.prototype.addListener=function(t,e){return d(this,t,e,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(t,e){return d(this,t,e,!0)},a.prototype.once=function(t,e){return s(e),this.on(t,p(this,t,e)),this},a.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,p(this,t,e)),this},a.prototype.removeListener=function(t,e){var r,o,n,a,i;if(s(e),void 0===(o=this._events))return this;if(void 0===(r=o[t]))return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(n=-1,a=r.length-1;a>=0;a--)if(r[a]===e||r[a].listener===e){i=r[a].listener,n=a;break}if(n<0)return this;0===n?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,n),1===r.length&&(o[t]=r[0]),void 0!==o.removeListener&&this.emit("removeListener",t,i||e)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(t){var e,r,o;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var n,a=Object.keys(r);for(o=0;o<a.length;++o)"removeListener"!==(n=a[o])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(o=e.length-1;o>=0;o--)this.removeListener(t,e[o]);return this},a.prototype.listeners=function(t){return u(this,t,!0)},a.prototype.rawListeners=function(t){return u(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):b.call(t,e)},a.prototype.listenerCount=b,a.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},7034:(t,e,r)=>{const{isArray:o,isObject:n,isString:a}=r(7382),{asArray:i}=r(9263),{prependBase:s}=r(470),l=r(2207),d=r(7532);function c(t){throw new l("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:t})}function p({context:t,base:e}){if(!t)return;const r=t["@context"];if(a(r))t["@context"]=s(e,r);else if(o(r))for(let t=0;t<r.length;++t){const o=r[t];a(o)?r[t]=s(e,o):n(o)&&p({context:{"@context":o},base:e})}else if(n(r))for(const t in r)p({context:r[t],base:e})}t.exports=class{constructor({sharedCache:t}){this.perOpCache=new Map,this.sharedCache=t}async resolve({activeCtx:t,context:e,documentLoader:r,base:s,cycles:l=new Set}){e&&n(e)&&e["@context"]&&(e=e["@context"]),e=i(e);const p=[];for(const i of e){if(a(i)){let e=this._get(i);e||(e=await this._resolveRemoteContext({activeCtx:t,url:i,documentLoader:r,base:s,cycles:l})),o(e)?p.push(...e):p.push(e);continue}if(null===i){p.push(new d({document:null}));continue}n(i)||c(e);const u=JSON.stringify(i);let b=this._get(u);b||(b=new d({document:i}),this._cacheResolvedContext({key:u,resolved:b,tag:"static"})),p.push(b)}return p}_get(t){let e=this.perOpCache.get(t);if(!e){const r=this.sharedCache.get(t);r&&(e=r.get("static"),e&&this.perOpCache.set(t,e))}return e}_cacheResolvedContext({key:t,resolved:e,tag:r}){if(this.perOpCache.set(t,e),void 0!==r){let o=this.sharedCache.get(t);o||(o=new Map,this.sharedCache.set(t,o)),o.set(r,e)}return e}async _resolveRemoteContext({activeCtx:t,url:e,documentLoader:r,base:o,cycles:n}){e=s(o,e);const{context:a,remoteDoc:i}=await this._fetchContext({activeCtx:t,url:e,documentLoader:r,cycles:n});p({context:a,base:o=i.documentUrl||e});const l=await this.resolve({activeCtx:t,context:a,documentLoader:r,base:o,cycles:n});return this._cacheResolvedContext({key:e,resolved:l,tag:i.tag}),l}async _fetchContext({activeCtx:t,url:e,documentLoader:r,cycles:i}){if(i.size>10)throw new l("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"json-ld-1.0"===t.processingMode?"loading remote context failed":"context overflow",max:10});if(i.has(e))throw new l("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"json-ld-1.0"===t.processingMode?"recursive context inclusion":"context overflow",url:e});let s,d;i.add(e);try{d=await r(e),s=d.document||null,a(s)&&(s=JSON.parse(s))}catch(t){throw new l(`Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context. URL: "${e}".`,"jsonld.InvalidUrl",{code:"loading remote context failed",url:e,cause:t})}if(!n(s))throw new l(`Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object. URL: "${e}".`,"jsonld.InvalidUrl",{code:"invalid remote context",url:e});return s="@context"in s?{"@context":s["@context"]}:{"@context":{}},d.contextUrl&&(o(s["@context"])||(s["@context"]=[s["@context"]]),s["@context"].push(d.contextUrl)),{context:s,remoteDoc:d}}}},7258:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TypeHandlerDate=void 0;const o=r(103);class n{fromRdf(t,e){switch(e&&!t.value.match(n.VALIDATORS[t.datatype.value.substr(33,t.datatype.value.length)])&&o.Translator.incorrectRdfDataType(t),t.datatype.value){case"http://www.w3.org/2001/XMLSchema#gDay":return new Date(0,0,parseInt(t.value,10));case"http://www.w3.org/2001/XMLSchema#gMonthDay":const e=t.value.split("-");return new Date(0,parseInt(e[0],10)-1,parseInt(e[1],10));case"http://www.w3.org/2001/XMLSchema#gYear":return new Date(t.value+"-01-01");case"http://www.w3.org/2001/XMLSchema#gYearMonth":return new Date(t.value+"-01");default:return new Date(t.value)}}toRdf(t,{datatype:e,dataFactory:r}){if(e=e||r.namedNode(n.TYPES[0]),!(t instanceof Date))return null;const o=t;let a;switch(e.value){case"http://www.w3.org/2001/XMLSchema#gDay":a=String(o.getUTCDate());break;case"http://www.w3.org/2001/XMLSchema#gMonthDay":a=o.getUTCMonth()+1+"-"+o.getUTCDate();break;case"http://www.w3.org/2001/XMLSchema#gYear":a=String(o.getUTCFullYear());break;case"http://www.w3.org/2001/XMLSchema#gYearMonth":a=o.getUTCFullYear()+"-"+(o.getUTCMonth()+1);break;case"http://www.w3.org/2001/XMLSchema#date":a=o.toISOString().replace(/T.*$/,"");break;default:a=o.toISOString()}return r.literal(a,e)}}e.TypeHandlerDate=n,n.TYPES=["http://www.w3.org/2001/XMLSchema#dateTime","http://www.w3.org/2001/XMLSchema#date","http://www.w3.org/2001/XMLSchema#gDay","http://www.w3.org/2001/XMLSchema#gMonthDay","http://www.w3.org/2001/XMLSchema#gYear","http://www.w3.org/2001/XMLSchema#gYearMonth"],n.VALIDATORS={date:/^[0-9]+-[0-9][0-9]-[0-9][0-9]Z?$/,dateTime:/^[0-9]+-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9](\.[0-9][0-9][0-9])?((Z?)|([\+-][0-9][0-9]:[0-9][0-9]))$/,gDay:/^[0-9]+$/,gMonthDay:/^[0-9]+-[0-9][0-9]$/,gYear:/^[0-9]+$/,gYearMonth:/^[0-9]+-[0-9][0-9]$/}},7265:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Variable=void 0,e.Variable=class{constructor(t){this.termType="Variable",this.value=t}equals(t){return!!t&&"Variable"===t.termType&&t.value===this.value}}},7382:t=>{const e={};t.exports=e,e.isArray=Array.isArray,e.isBoolean=t=>"boolean"==typeof t||"[object Boolean]"===Object.prototype.toString.call(t),e.isDouble=t=>e.isNumber(t)&&(-1!==String(t).indexOf(".")||Math.abs(t)>=1e21),e.isEmptyObject=t=>e.isObject(t)&&0===Object.keys(t).length,e.isNumber=t=>"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t),e.isNumeric=t=>!isNaN(parseFloat(t))&&isFinite(t),e.isObject=t=>"[object Object]"===Object.prototype.toString.call(t),e.isString=t=>"string"==typeof t||"[object String]"===Object.prototype.toString.call(t),e.isUndefined=t=>void 0===t},7400:(t,e,r)=>{var o=r(9374),n=1/0;t.exports=function(t){return t?(t=o(t))===n||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},7526:(t,e)=>{e.byteLength=function(t){var e=s(t),r=e[0],o=e[1];return 3*(r+o)/4-o},e.toByteArray=function(t){var e,r,a=s(t),i=a[0],l=a[1],d=new n(function(t,e,r){return 3*(e+r)/4-r}(0,i,l)),c=0,p=l>0?i-4:i;for(r=0;r<p;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],d[c++]=e>>16&255,d[c++]=e>>8&255,d[c++]=255&e;return 2===l&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,d[c++]=255&e),1===l&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,d[c++]=e>>8&255,d[c++]=255&e),d},e.fromByteArray=function(t){for(var e,o=t.length,n=o%3,a=[],i=16383,s=0,d=o-n;s<d;s+=i)a.push(l(t,s,s+i>d?d:s+i));return 1===n?(e=t[o-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===n&&(e=(t[o-2]<<8)+t[o-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),a.join("")};for(var r=[],o=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)r[i]=a[i],o[a.charCodeAt(i)]=i;function s(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,o){for(var n,a,i=[],s=e;s<o;s+=3)n=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(r[(a=n)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},7532:(t,e,r)=>{const o=r(9749);t.exports=class{constructor({document:t}){this.document=t,this.cache=new o({max:10})}getProcessed(t){return this.cache.get(t)}setProcessed(t,e){this.cache.set(t,e)}}},7576:(t,e,r)=>{const o=r(5606),{ArrayPrototypeIndexOf:n,NumberIsInteger:a,NumberIsNaN:i,NumberParseInt:s,ObjectDefineProperties:l,ObjectKeys:d,ObjectSetPrototypeOf:c,Promise:p,SafeSet:u,SymbolAsyncDispose:b,SymbolAsyncIterator:m,Symbol:f}=r(4134);t.exports=W,W.ReadableState=V;const{EventEmitter:h}=r(7007),{Stream:g,prependListener:v}=r(4259),{Buffer:y}=r(8287),{addAbortSignal:w}=r(4147),x=r(6238);let _=r(7760).debuglog("stream",(t=>{_=t}));const k=r(345),j=r(5896),{getHighWaterMark:S,getDefaultHighWaterMark:I}=r(5291),{aggregateTwoErrors:E,codes:{ERR_INVALID_ARG_TYPE:N,ERR_METHOD_NOT_IMPLEMENTED:R,ERR_OUT_OF_RANGE:T,ERR_STREAM_PUSH_AFTER_EOF:O,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:A},AbortError:L}=r(6371),{validateObject:C}=r(277),D=f("kPaused"),{StringDecoder:M}=r(3141),P=r(6532);c(W.prototype,g.prototype),c(W,g);const B=()=>{},{errorOrDestroy:z}=j,$=1,q=16,F=32,G=2048,U=4096;function H(t){return{enumerable:!1,get(){return 0!==(this.state&t)},set(e){e?this.state|=t:this.state&=~t}}}function V(t,e,o){"boolean"!=typeof o&&(o=e instanceof r(3370)),this.state=G|U|q|F,t&&t.objectMode&&(this.state|=$),o&&t&&t.readableObjectMode&&(this.state|=$),this.highWaterMark=t?S(this,t,"readableHighWaterMark",o):I(!1),this.buffer=new k,this.length=0,this.pipes=[],this.flowing=null,this[D]=null,t&&!1===t.emitClose&&(this.state&=~G),t&&!1===t.autoDestroy&&(this.state&=~U),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new M(t.encoding),this.encoding=t.encoding)}function W(t){if(!(this instanceof W))return new W(t);const e=this instanceof r(3370);this._readableState=new V(t,this,e),t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&!e&&w(t.signal,this)),g.call(this,t),j.construct(this,(()=>{this._readableState.needReadable&&Z(this,this._readableState)}))}function J(t,e,r,o){_("readableAddChunk",e);const n=t._readableState;let a;if(0===(n.state&$)&&("string"==typeof e?(r=r||n.defaultEncoding,n.encoding!==r&&(o&&n.encoding?e=y.from(e,r).toString(n.encoding):(e=y.from(e,r),r=""))):e instanceof y?r="":g._isUint8Array(e)?(e=g._uint8ArrayToBuffer(e),r=""):null!=e&&(a=new N("chunk",["string","Buffer","Uint8Array"],e))),a)z(t,a);else if(null===e)n.state&=-9,function(t,e){if(_("onEofChunk"),!e.ended){if(e.decoder){const t=e.decoder.end();t&&t.length&&(e.buffer.push(t),e.length+=e.objectMode?1:t.length)}e.ended=!0,e.sync?Y(t):(e.needReadable=!1,e.emittedReadable=!0,K(t))}}(t,n);else if(0!==(n.state&$)||e&&e.length>0)if(o)if(4&n.state)z(t,new A);else{if(n.destroyed||n.errored)return!1;Q(t,n,e,!0)}else if(n.ended)z(t,new O);else{if(n.destroyed||n.errored)return!1;n.state&=-9,n.decoder&&!r?(e=n.decoder.write(e),n.objectMode||0!==e.length?Q(t,n,e,!1):Z(t,n)):Q(t,n,e,!1)}else o||(n.state&=-9,Z(t,n));return!n.ended&&(n.length<n.highWaterMark||0===n.length)}function Q(t,e,r,o){e.flowing&&0===e.length&&!e.sync&&t.listenerCount("data")>0?(65536&e.state?e.awaitDrainWriters.clear():e.awaitDrainWriters=null,e.dataEmitted=!0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,o?e.buffer.unshift(r):e.buffer.push(r),64&e.state&&Y(t)),Z(t,e)}function X(t,e){return t<=0||0===e.length&&e.ended?0:0!==(e.state&$)?1:i(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}function Y(t){const e=t._readableState;_("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(_("emitReadable",e.flowing),e.emittedReadable=!0,o.nextTick(K,t))}function K(t){const e=t._readableState;_("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||e.errored||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,nt(t)}function Z(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,o.nextTick(tt,t,e))}function tt(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){const r=e.length;if(_("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function et(t){const e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!1===e[D]?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}function rt(t){_("readable nexttick read 0"),t.read(0)}function ot(t,e){_("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),nt(t),e.flowing&&!e.reading&&t.read(0)}function nt(t){const e=t._readableState;for(_("flow",e.flowing);e.flowing&&null!==t.read(););}function at(t,e){"function"!=typeof t.read&&(t=W.wrap(t,{objectMode:!0}));const r=async function*(t,e){let r,o=B;function n(e){this===t?(o(),o=B):o=e}t.on("readable",n);const a=x(t,{writable:!1},(t=>{r=t?E(r,t):null,o(),o=B}));try{for(;;){const e=t.destroyed?null:t.read();if(null!==e)yield e;else{if(r)throw r;if(null===r)return;await new p(n)}}}catch(t){throw r=E(r,t),r}finally{!r&&!1===(null==e?void 0:e.destroyOnReturn)||void 0!==r&&!t._readableState.autoDestroy?(t.off("readable",n),a()):j.destroyer(t,null)}}(t,e);return r.stream=t,r}function it(t,e){if(0===e.length)return null;let r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function st(t){const e=t._readableState;_("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,o.nextTick(lt,e,t))}function lt(t,e){if(_("endReadableNT",t.endEmitted,t.length),!t.errored&&!t.closeEmitted&&!t.endEmitted&&0===t.length)if(t.endEmitted=!0,e.emit("end"),e.writable&&!1===e.allowHalfOpen)o.nextTick(dt,e);else if(t.autoDestroy){const t=e._writableState;(!t||t.autoDestroy&&(t.finished||!1===t.writable))&&e.destroy()}}function dt(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}let ct;function pt(){return void 0===ct&&(ct={}),ct}l(V.prototype,{objectMode:H($),ended:H(2),endEmitted:H(4),reading:H(8),constructed:H(q),sync:H(F),needReadable:H(64),emittedReadable:H(128),readableListening:H(256),resumeScheduled:H(512),errorEmitted:H(1024),emitClose:H(G),autoDestroy:H(U),destroyed:H(8192),closed:H(16384),closeEmitted:H(32768),multiAwaitDrain:H(65536),readingMore:H(1<<17),dataEmitted:H(1<<18)}),W.prototype.destroy=j.destroy,W.prototype._undestroy=j.undestroy,W.prototype._destroy=function(t,e){e(t)},W.prototype[h.captureRejectionSymbol]=function(t){this.destroy(t)},W.prototype[b]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new L,this.destroy(t)),new p(((e,r)=>x(this,(o=>o&&o!==t?r(o):e(null)))))},W.prototype.push=function(t,e){return J(this,t,e,!1)},W.prototype.unshift=function(t,e){return J(this,t,e,!0)},W.prototype.isPaused=function(){const t=this._readableState;return!0===t[D]||!1===t.flowing},W.prototype.setEncoding=function(t){const e=new M(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let o="";for(const t of r)o+=e.write(t);return r.clear(),""!==o&&r.push(o),this._readableState.length=o.length,this},W.prototype.read=function(t){_("read",t),void 0===t?t=NaN:a(t)||(t=s(t,10));const e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=function(t){if(t>1073741824)throw new T("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,++t}(t)),0!==t&&(e.state&=-129),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return _("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?st(this):Y(this),null;if(0===(t=X(t,e))&&e.ended)return 0===e.length&&st(this),null;let o,n=!!(64&e.state);if(_("need readable",n),(0===e.length||e.length-t<e.highWaterMark)&&(n=!0,_("length less than watermark",n)),e.ended||e.reading||e.destroyed||e.errored||!e.constructed)n=!1,_("reading, ended or constructing",n);else if(n){_("do read"),e.state|=8|F,0===e.length&&(e.state|=64);try{this._read(e.highWaterMark)}catch(t){z(this,t)}e.state&=~F,e.reading||(t=X(r,e))}return o=t>0?it(t,e):null,null===o?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.multiAwaitDrain?e.awaitDrainWriters.clear():e.awaitDrainWriters=null),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&st(this)),null===o||e.errorEmitted||e.closeEmitted||(e.dataEmitted=!0,this.emit("data",o)),o},W.prototype._read=function(t){throw new R("_read()")},W.prototype.pipe=function(t,e){const r=this,n=this._readableState;1===n.pipes.length&&(n.multiAwaitDrain||(n.multiAwaitDrain=!0,n.awaitDrainWriters=new u(n.awaitDrainWriters?[n.awaitDrainWriters]:[]))),n.pipes.push(t),_("pipe count=%d opts=%j",n.pipes.length,e);const a=e&&!1===e.end||t===o.stdout||t===o.stderr?f:i;function i(){_("onend"),t.end()}let s;n.endEmitted?o.nextTick(a):r.once("end",a),t.on("unpipe",(function e(o,a){_("onunpipe"),o===r&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,_("cleanup"),t.removeListener("close",b),t.removeListener("finish",m),s&&t.removeListener("drain",s),t.removeListener("error",p),t.removeListener("unpipe",e),r.removeListener("end",i),r.removeListener("end",f),r.removeListener("data",c),l=!0,s&&n.awaitDrainWriters&&(!t._writableState||t._writableState.needDrain)&&s())}));let l=!1;function d(){l||(1===n.pipes.length&&n.pipes[0]===t?(_("false write response, pause",0),n.awaitDrainWriters=t,n.multiAwaitDrain=!1):n.pipes.length>1&&n.pipes.includes(t)&&(_("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(t)),r.pause()),s||(s=function(t,e){return function(){const r=t._readableState;r.awaitDrainWriters===e?(_("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(_("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(e)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!t.listenerCount("data")||t.resume()}}(r,t),t.on("drain",s))}function c(e){_("ondata");const r=t.write(e);_("dest.write",r),!1===r&&d()}function p(e){if(_("onerror",e),f(),t.removeListener("error",p),0===t.listenerCount("error")){const r=t._writableState||t._readableState;r&&!r.errorEmitted?z(t,e):t.emit("error",e)}}function b(){t.removeListener("finish",m),f()}function m(){_("onfinish"),t.removeListener("close",b),f()}function f(){_("unpipe"),r.unpipe(t)}return r.on("data",c),v(t,"error",p),t.once("close",b),t.once("finish",m),t.emit("pipe",r),!0===t.writableNeedDrain?d():n.flowing||(_("pipe resume"),r.resume()),t},W.prototype.unpipe=function(t){const e=this._readableState;if(0===e.pipes.length)return this;if(!t){const t=e.pipes;e.pipes=[],this.pause();for(let e=0;e<t.length;e++)t[e].emit("unpipe",this,{hasUnpiped:!1});return this}const r=n(e.pipes,t);return-1===r||(e.pipes.splice(r,1),0===e.pipes.length&&this.pause(),t.emit("unpipe",this,{hasUnpiped:!1})),this},W.prototype.on=function(t,e){const r=g.prototype.on.call(this,t,e),n=this._readableState;return"data"===t?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===t&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,_("on readable",n.length,n.reading),n.length?Y(this):n.reading||o.nextTick(rt,this))),r},W.prototype.addListener=W.prototype.on,W.prototype.removeListener=function(t,e){const r=g.prototype.removeListener.call(this,t,e);return"readable"===t&&o.nextTick(et,this),r},W.prototype.off=W.prototype.removeListener,W.prototype.removeAllListeners=function(t){const e=g.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||o.nextTick(et,this),e},W.prototype.resume=function(){const t=this._readableState;return t.flowing||(_("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,o.nextTick(ot,t,e))}(this,t)),t[D]=!1,this},W.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(_("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[D]=!0,this},W.prototype.wrap=function(t){let e=!1;t.on("data",(r=>{!this.push(r)&&t.pause&&(e=!0,t.pause())})),t.on("end",(()=>{this.push(null)})),t.on("error",(t=>{z(this,t)})),t.on("close",(()=>{this.destroy()})),t.on("destroy",(()=>{this.destroy()})),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};const r=d(t);for(let e=1;e<r.length;e++){const o=r[e];void 0===this[o]&&"function"==typeof t[o]&&(this[o]=t[o].bind(t))}return this},W.prototype[m]=function(){return at(this)},W.prototype.iterator=function(t){return void 0!==t&&C(t,"options"),at(this,t)},l(W.prototype,{readable:{__proto__:null,get(){const t=this._readableState;return!(!t||!1===t.readable||t.destroyed||t.errorEmitted||t.endEmitted)},set(t){this._readableState&&(this._readableState.readable=!!t)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(t){this._readableState&&(this._readableState.destroyed=t)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),l(V.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[D]},set(t){this[D]=!!t}}}),W._fromList=it,W.from=function(t,e){return P(W,t,e)},W.fromWeb=function(t,e){return pt().newStreamReadableFromReadableStream(t,e)},W.toWeb=function(t,e){return pt().newReadableStreamFromStreamReadable(t,e)},W.wrap=function(t,e){var r,o;return new W({objectMode:null===(r=null!==(o=t.readableObjectMode)&&void 0!==o?o:t.objectMode)||void 0===r||r,...e,destroy(e,r){j.destroyer(t,e),r(e)}}).wrap(t)}},7758:(t,e,r)=>{const o=r(5606),{ArrayIsArray:n,Promise:a,SymbolAsyncIterator:i,SymbolDispose:s}=r(4134),l=r(6238),{once:d}=r(7760),c=r(5896),p=r(3370),{aggregateTwoErrors:u,codes:{ERR_INVALID_ARG_TYPE:b,ERR_INVALID_RETURN_VALUE:m,ERR_MISSING_ARGS:f,ERR_STREAM_DESTROYED:h,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:v}=r(6371),{validateFunction:y,validateAbortSignal:w}=r(277),{isIterable:x,isReadable:_,isReadableNodeStream:k,isNodeStream:j,isTransformStream:S,isWebStream:I,isReadableStream:E,isReadableFinished:N}=r(6115),R=globalThis.AbortController||r(5568).AbortController;let T,O,A;function L(t,e,r){let o=!1;return t.on("close",(()=>{o=!0})),{destroy:e=>{o||(o=!0,c.destroyer(t,e||new h("pipe")))},cleanup:l(t,{readable:e,writable:r},(t=>{o=!t}))}}function C(t){if(x(t))return t;if(k(t))return async function*(t){O||(O=r(7576)),yield*O.prototype[i].call(t)}(t);throw new b("val",["Readable","Iterable","AsyncIterable"],t)}async function D(t,e,r,{end:o}){let n,i=null;const s=t=>{if(t&&(n=t),i){const t=i;i=null,t()}},d=()=>new a(((t,e)=>{n?e(n):i=()=>{n?e(n):t()}}));e.on("drain",s);const c=l(e,{readable:!1},s);try{e.writableNeedDrain&&await d();for await(const r of t)e.write(r)||await d();o&&(e.end(),await d()),r()}catch(t){r(n!==t?u(n,t):t)}finally{c(),e.off("drain",s)}}async function M(t,e,r,{end:o}){S(e)&&(e=e.writable);const n=e.getWriter();try{for await(const e of t)await n.ready,n.write(e).catch((()=>{}));await n.ready,o&&await n.close(),r()}catch(t){try{await n.abort(t),r(t)}catch(t){r(t)}}}function P(t,e,a){if(1===t.length&&n(t[0])&&(t=t[0]),t.length<2)throw new f("streams");const i=new R,l=i.signal,d=null==a?void 0:a.signal,c=[];function u(){$(new v)}let h,g,y;w(d,"options.signal"),A=A||r(7760).addAbortListener,d&&(h=A(d,u));const N=[];let O,P=0;function z(t){$(t,0===--P)}function $(t,r){var n;if(!t||g&&"ERR_STREAM_PREMATURE_CLOSE"!==g.code||(g=t),g||r){for(;N.length;)N.shift()(g);null===(n=h)||void 0===n||n[s](),i.abort(),r&&(g||c.forEach((t=>t())),o.nextTick(e,g,y))}}for(let G=0;G<t.length;G++){const U=t[G],H=G<t.length-1,V=G>0,W=H||!1!==(null==a?void 0:a.end),J=G===t.length-1;if(j(U)){if(W){const{destroy:X,cleanup:Y}=L(U,H,V);N.push(X),_(U)&&J&&c.push(Y)}function Q(t){t&&"AbortError"!==t.name&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code&&z(t)}U.on("error",Q),_(U)&&J&&c.push((()=>{U.removeListener("error",Q)}))}if(0===G)if("function"==typeof U){if(O=U({signal:l}),!x(O))throw new m("Iterable, AsyncIterable or Stream","source",O)}else O=x(U)||k(U)||S(U)?U:p.from(U);else if("function"==typeof U){var q;if(O=S(O)?C(null===(q=O)||void 0===q?void 0:q.readable):C(O),O=U(O,{signal:l}),H){if(!x(O,!0))throw new m("AsyncIterable",`transform[${G-1}]`,O)}else{var F;T||(T=r(6524));const K=new T({objectMode:!0}),Z=null===(F=O)||void 0===F?void 0:F.then;if("function"==typeof Z)P++,Z.call(O,(t=>{y=t,null!=t&&K.write(t),W&&K.end(),o.nextTick(z)}),(t=>{K.destroy(t),o.nextTick(z,t)}));else if(x(O,!0))P++,D(O,K,z,{end:W});else{if(!E(O)&&!S(O))throw new m("AsyncIterable or Promise","destination",O);{const rt=O.readable||O;P++,D(rt,K,z,{end:W})}}O=K;const{destroy:tt,cleanup:et}=L(O,!1,!0);N.push(tt),J&&c.push(et)}}else if(j(U)){if(k(O)){P+=2;const ot=B(O,U,z,{end:W});_(U)&&J&&c.push(ot)}else if(S(O)||E(O)){const nt=O.readable||O;P++,D(nt,U,z,{end:W})}else{if(!x(O))throw new b("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],O);P++,D(O,U,z,{end:W})}O=U}else if(I(U)){if(k(O))P++,M(C(O),U,z,{end:W});else if(E(O)||x(O))P++,M(O,U,z,{end:W});else{if(!S(O))throw new b("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],O);P++,M(O.readable,U,z,{end:W})}O=U}else O=p.from(U)}return(null!=l&&l.aborted||null!=d&&d.aborted)&&o.nextTick(u),O}function B(t,e,r,{end:n}){let a=!1;if(e.on("close",(()=>{a||r(new g)})),t.pipe(e,{end:!1}),n){function i(){a=!0,e.end()}N(t)?o.nextTick(i):t.once("end",i)}else r();return l(t,{readable:!0,writable:!1},(e=>{const o=t._readableState;e&&"ERR_STREAM_PREMATURE_CLOSE"===e.code&&o&&o.ended&&!o.errored&&!o.errorEmitted?t.once("end",r).once("error",r):r(e)})),l(e,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:P,pipeline:function(...t){return P(t,d(function(t){return y(t[t.length-1],"streams[stream.length - 1]"),t.pop()}(t)))}}},7760:(t,e,r)=>{const o=r(8287),{kResistStopPropagation:n,SymbolDispose:a}=r(4134),i=globalThis.AbortSignal||r(5568).AbortSignal,s=globalThis.AbortController||r(5568).AbortController,l=Object.getPrototypeOf((async function(){})).constructor,d=globalThis.Blob||o.Blob,c=void 0!==d?function(t){return t instanceof d}:function(t){return!1},p=(t,e)=>{if(void 0!==t&&(null===t||"object"!=typeof t||!("aborted"in t)))throw new ERR_INVALID_ARG_TYPE(e,"AbortSignal",t)};class u extends Error{constructor(t){if(!Array.isArray(t))throw new TypeError("Expected input to be an Array, got "+typeof t);let e="";for(let r=0;r<t.length;r++)e+=` ${t[r].stack}\n`;super(e),this.name="AggregateError",this.errors=t}}t.exports={AggregateError:u,kEmptyObject:Object.freeze({}),once(t){let e=!1;return function(...r){e||(e=!0,t.apply(this,r))}},createDeferredPromise:function(){let t,e;return{promise:new Promise(((r,o)=>{t=r,e=o})),resolve:t,reject:e}},promisify:t=>new Promise(((e,r)=>{t(((t,...o)=>t?r(t):e(...o)))})),debuglog:()=>function(){},format:(t,...e)=>t.replace(/%([sdifj])/g,(function(...[t,r]){const o=e.shift();return"f"===r?o.toFixed(6):"j"===r?JSON.stringify(o):"s"===r&&"object"==typeof o?`${o.constructor!==Object?o.constructor.name:""} {}`.trim():o.toString()})),inspect(t){switch(typeof t){case"string":if(t.includes("'")){if(!t.includes('"'))return`"${t}"`;if(!t.includes("`")&&!t.includes("${"))return`\`${t}\``}return`'${t}'`;case"number":return isNaN(t)?"NaN":Object.is(t,-0)?String(t):t;case"bigint":return`${String(t)}n`;case"boolean":case"undefined":return String(t);case"object":return"{}"}},types:{isAsyncFunction:t=>t instanceof l,isArrayBufferView:t=>ArrayBuffer.isView(t)},isBlob:c,deprecate:(t,e)=>t,addAbortListener:r(7007).addAbortListener||function(t,e){if(void 0===t)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",t);let r;return p(t,"signal"),(t=>{if("function"!=typeof t)throw new ERR_INVALID_ARG_TYPE("listener","Function",t)})(e),t.aborted?queueMicrotask((()=>e())):(t.addEventListener("abort",e,{__proto__:null,once:!0,[n]:!0}),r=()=>{t.removeEventListener("abort",e)}),{__proto__:null,[a](){var t;null===(t=r)||void 0===t||t()}}},AbortSignalAny:i.any||function(t){if(1===t.length)return t[0];const e=new s,r=()=>e.abort();return t.forEach((t=>{p(t,"signals"),t.addEventListener("abort",r,{once:!0})})),e.signal.addEventListener("abort",(()=>{t.forEach((t=>t.removeEventListener("abort",r)))}),{once:!0}),e.signal}},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},7789:()=>{},7830:(t,e,r)=>{const{pipeline:o}=r(7758),n=r(3370),{destroyer:a}=r(5896),{isNodeStream:i,isReadable:s,isWritable:l,isWebStream:d,isTransformStream:c,isWritableStream:p,isReadableStream:u}=r(6115),{AbortError:b,codes:{ERR_INVALID_ARG_VALUE:m,ERR_MISSING_ARGS:f}}=r(6371),h=r(6238);t.exports=function(...t){if(0===t.length)throw new f("streams");if(1===t.length)return n.from(t[0]);const e=[...t];if("function"==typeof t[0]&&(t[0]=n.from(t[0])),"function"==typeof t[t.length-1]){const e=t.length-1;t[e]=n.from(t[e])}for(let r=0;r<t.length;++r)if(i(t[r])||d(t[r])){if(r<t.length-1&&!(s(t[r])||u(t[r])||c(t[r])))throw new m(`streams[${r}]`,e[r],"must be readable");if(r>0&&!(l(t[r])||p(t[r])||c(t[r])))throw new m(`streams[${r}]`,e[r],"must be writable")}let r,g,v,y,w;const x=t[0],_=o(t,(function(t){const e=y;y=null,e?e(t):t?w.destroy(t):j||k||w.destroy()})),k=!!(l(x)||p(x)||c(x)),j=!!(s(_)||u(_)||c(_));if(w=new n({writableObjectMode:!(null==x||!x.writableObjectMode),readableObjectMode:!(null==_||!_.readableObjectMode),writable:k,readable:j}),k){if(i(x))w._write=function(t,e,o){x.write(t,e)?o():r=o},w._final=function(t){x.end(),g=t},x.on("drain",(function(){if(r){const t=r;r=null,t()}}));else if(d(x)){const t=(c(x)?x.writable:x).getWriter();w._write=async function(e,r,o){try{await t.ready,t.write(e).catch((()=>{})),o()}catch(t){o(t)}},w._final=async function(e){try{await t.ready,t.close().catch((()=>{})),g=e}catch(t){e(t)}}}const t=c(_)?_.readable:_;h(t,(()=>{if(g){const t=g;g=null,t()}}))}if(j)if(i(_))_.on("readable",(function(){if(v){const t=v;v=null,t()}})),_.on("end",(function(){w.push(null)})),w._read=function(){for(;;){const t=_.read();if(null===t)return void(v=w._read);if(!w.push(t))return}};else if(d(_)){const t=(c(_)?_.readable:_).getReader();w._read=async function(){for(;;)try{const{value:e,done:r}=await t.read();if(!w.push(e))return;if(r)return void w.push(null)}catch{return}}}return w._destroy=function(t,e){t||null===y||(t=new b),v=null,r=null,g=null,null===y?e(t):(y=e,i(_)&&a(_,t))},w}},7946:(t,e,r)=>{const{isKeyword:o}=r(1972),n=r(3978),a=r(7382),i=r(9263),s=r(470),l=r(2207),{createNodeMap:d,mergeNodeMapGraphs:c}=r(9233),p={};function u(t){const e={};for(const r in t)void 0!==t[r]&&(e["@"+r]=[t[r]]);return[e]}function b(t,e,r){for(let o=r.length-1;o>=0;--o){const n=r[o];if(n.graph===e&&n.subject["@id"]===t["@id"])return!0}return!1}function m(t,e,r){const o="@"+r;let n=o in t?t[o][0]:e[r];if("embed"===r)if(!0===n)n="@once";else if(!1===n)n="@never";else if("@always"!==n&&"@never"!==n&&"@link"!==n&&"@first"!==n&&"@last"!==n&&"@once"!==n)throw new l("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:t});return n}function f(t){if(!a.isArray(t)||1!==t.length||!a.isObject(t[0]))throw new l("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:t});if("@id"in t[0])for(const e of i.asArray(t[0]["@id"]))if(!a.isObject(e)&&!s.isAbsolute(e)||a.isString(e)&&0===e.indexOf("_:"))throw new l("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:t});if("@type"in t[0])for(const e of i.asArray(t[0]["@type"]))if(!a.isObject(e)&&!s.isAbsolute(e)&&"@json"!==e||a.isString(e)&&0===e.indexOf("_:"))throw new l("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:t})}function h(t,e,r,s){let l=!0,d=!1;for(const c in r){let p=!1;const u=i.getValues(e,c),b=0===i.getValues(r,c).length;if("@id"===c){if(a.isEmptyObject(r["@id"][0]||{})?p=!0:r["@id"].length>=0&&(p=r["@id"].includes(u[0])),!s.requireAll)return p}else if("@type"===c){if(l=!1,b){if(u.length>0)return!1;p=!0}else if(1===r["@type"].length&&a.isEmptyObject(r["@type"][0]))p=u.length>0;else for(const t of r["@type"])p=!(!a.isObject(t)||!("@default"in t))||p||u.some((e=>e===t));if(!s.requireAll)return p}else{if(o(c))continue;{const e=i.getValues(r,c)[0];let o=!1;if(e&&(f([e]),o="@default"in e),l=!1,0===u.length&&o)continue;if(u.length>0&&b)return!1;if(void 0===e){if(u.length>0)return!1;p=!0}else if(n.isList(e)){const r=e["@list"][0];if(n.isList(u[0])){const e=u[0]["@list"];n.isValue(r)?p=e.some((t=>x(r,t))):(n.isSubject(r)||n.isSubjectReference(r))&&(p=e.some((e=>w(t,r,e,s))))}}else p=n.isValue(e)?u.some((t=>x(e,t))):n.isSubjectReference(e)?u.some((r=>w(t,e,r,s))):!!a.isObject(e)&&u.length>0}}if(!p&&s.requireAll)return!1;d=d||p}return l||d}function g(t,e){const r=t.uniqueEmbeds[t.graph],o=r[e],n=o.parent,s=o.property,l={"@id":e};if(a.isArray(n)){for(let t=0;t<n.length;++t)if(i.compareValues(n[t],l)){n[t]=l;break}}else{const t=a.isArray(n[s]);i.removeValue(n,s,l,{propertyIsArray:t}),i.addValue(n,s,l,{propertyIsArray:t})}const d=t=>{const e=Object.keys(r);for(const o of e)o in r&&a.isObject(r[o].parent)&&r[o].parent["@id"]===t&&(delete r[o],d(o))};d(e)}function v(t,e){if(a.isArray(t))return t.map((t=>v(t,e)));if(a.isObject(t)){if("@preserve"in t)return t["@preserve"][0];if(n.isValue(t))return t;if(n.isList(t))return t["@list"]=v(t["@list"],e),t;if("@id"in t){const r=t["@id"];if(e.link.hasOwnProperty(r)){const o=e.link[r].indexOf(t);if(-1!==o)return e.link[r][o];e.link[r].push(t)}else e.link[r]=[t]}for(const r in t)"@id"===r&&e.bnodesToClear.includes(t[r])?delete t["@id"]:t[r]=v(t[r],e)}return t}function y(t,e,r){a.isObject(t)?i.addValue(t,e,r,{propertyIsArray:!0}):t.push(r)}function w(t,e,r,o){if(!("@id"in r))return!1;const n=t.subjects[r["@id"]];return n&&h(t,n,e,o)}function x(t,e){const r=e["@value"],o=e["@type"],n=e["@language"],i=t["@value"]?a.isArray(t["@value"])?t["@value"]:[t["@value"]]:[],s=t["@type"]?a.isArray(t["@type"])?t["@type"]:[t["@type"]]:[],l=t["@language"]?a.isArray(t["@language"])?t["@language"]:[t["@language"]]:[];return 0===i.length&&0===s.length&&0===l.length||!(!i.includes(r)&&!a.isEmptyObject(i[0]))&&!!(!o&&0===s.length||s.includes(o)||o&&a.isEmptyObject(s[0]))&&!!(!n&&0===l.length||l.includes(n)||n&&a.isEmptyObject(l[0]))}t.exports=p,p.frameMergedOrDefault=(t,e,r)=>{const o={options:r,embedded:!1,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}},n=new i.IdentifierIssuer("_:b");d(t,o.graphMap,"@default",n),r.merged&&(o.graphMap["@merged"]=c(o.graphMap),o.graph="@merged"),o.subjects=o.graphMap[o.graph];const a=[];return p.frame(o,Object.keys(o.subjects).sort(),e,a),r.pruneBlankNodeIdentifiers&&(r.bnodesToClear=Object.keys(o.bnodeMap).filter((t=>1===o.bnodeMap[t].length))),r.link={},v(a,r)},p.frame=(t,e,r,s,d=null)=>{f(r),r=r[0];const c=t.options,v={embed:m(r,c,"embed"),explicit:m(r,c,"explicit"),requireAll:m(r,c,"requireAll")};t.link.hasOwnProperty(t.graph)||(t.link[t.graph]={});const w=t.link[t.graph],_=function(t,e,r,o){const n={};for(const a of e){const e=t.graphMap[t.graph][a];h(t,e,r,o)&&(n[a]=e)}return n}(t,e,r,v),k=Object.keys(_).sort();for(const f of k){const h=_[f];if(null===d?t.uniqueEmbeds={[t.graph]:{}}:t.uniqueEmbeds[t.graph]=t.uniqueEmbeds[t.graph]||{},"@link"===v.embed&&f in w){y(s,d,w[f]);continue}const k={"@id":f};if(0===f.indexOf("_:")&&i.addValue(t.bnodeMap,f,k,{propertyIsArray:!0}),w[f]=k,("@first"===v.embed||"@last"===v.embed)&&t.is11)throw new l("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:r});if(t.embedded||!t.uniqueEmbeds[t.graph].hasOwnProperty(f))if(!t.embedded||"@never"!==v.embed&&!b(h,t.graph,t.subjectStack))if(!t.embedded||"@first"!=v.embed&&"@once"!=v.embed||!t.uniqueEmbeds[t.graph].hasOwnProperty(f)){if("@last"===v.embed&&f in t.uniqueEmbeds[t.graph]&&g(t,f),t.uniqueEmbeds[t.graph][f]={parent:s,property:d},t.subjectStack.push({subject:h,graph:t.graph}),f in t.graphMap){let e=!1,o=null;"@graph"in r?(o=r["@graph"][0],e=!("@merged"===f||"@default"===f),a.isObject(o)||(o={})):(e="@merged"!==t.graph,o={}),e&&p.frame({...t,graph:f,embedded:!1},Object.keys(t.graphMap[f]).sort(),[o],k,"@graph")}"@included"in r&&p.frame({...t,embedded:!1},e,r["@included"],k,"@included");for(const e of Object.keys(h).sort())if(o(e)){if(k[e]=i.clone(h[e]),"@type"===e)for(const e of h["@type"])0===e.indexOf("_:")&&i.addValue(t.bnodeMap,e,k,{propertyIsArray:!0})}else if(!v.explicit||e in r)for(const o of h[e]){const a=e in r?r[e]:u(v);if(n.isList(o)){const a=r[e]&&r[e][0]&&r[e][0]["@list"]?r[e][0]["@list"]:u(v),s={"@list":[]};y(k,e,s);const l=o["@list"];for(const e of l)n.isSubjectReference(e)?p.frame({...t,embedded:!0},[e["@id"]],a,s,"@list"):y(s,"@list",i.clone(e))}else n.isSubjectReference(o)?p.frame({...t,embedded:!0},[o["@id"]],a,k,e):x(a[0],o)&&y(k,e,i.clone(o))}for(const t of Object.keys(r).sort()){if("@type"===t){if(!a.isObject(r[t][0])||!("@default"in r[t][0]))continue}else if(o(t))continue;const e=r[t][0]||{};if(!m(e,c,"omitDefault")&&!(t in k)){let r="@null";"@default"in e&&(r=i.clone(e["@default"])),a.isArray(r)||(r=[r]),k[t]=[{"@preserve":r}]}}for(const e of Object.keys(r["@reverse"]||{}).sort()){const o=r["@reverse"][e];for(const r of Object.keys(t.subjects))i.getValues(t.subjects[r],e).some((t=>t["@id"]===f))&&(k["@reverse"]=k["@reverse"]||{},i.addValue(k["@reverse"],e,[],{propertyIsArray:!0}),p.frame({...t,embedded:!0},[r],o,k["@reverse"][e],d))}y(s,d,k),t.subjectStack.pop()}else y(s,d,k);else y(s,d,k)}},p.cleanupNull=(t,e)=>{if(a.isArray(t))return t.map((t=>p.cleanupNull(t,e))).filter((t=>t));if("@null"===t)return null;if(a.isObject(t)){if("@id"in t){const r=t["@id"];if(e.link.hasOwnProperty(r)){const o=e.link[r].indexOf(t);if(-1!==o)return e.link[r][o];e.link[r].push(t)}else e.link[r]=[t]}for(const r in t)t[r]=p.cleanupNull(t[r],e)}return t}},8059:(t,e,r)=>{var o=r(2177);t.exports=function(t){return o(2,t)}},8229:(t,e,r)=>{t.exports=r(989).NQuads},8287:(t,e,r)=>{const o=r(7526),n=r(251),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},e.INSPECT_MAX_BYTES=50;const i=2147483647;function s(t){if(t>i)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return p(t)}return d(t,e,r)}function d(t,e,r){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|f(t,e);let o=s(r);const n=o.write(t,e);return n!==r&&(o=o.slice(0,n)),o}(t,e);if(ArrayBuffer.isView(t))return function(t){if(Q(t,Uint8Array)){const e=new Uint8Array(t);return b(e.buffer,e.byteOffset,e.byteLength)}return u(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Q(t,ArrayBuffer)||t&&Q(t.buffer,ArrayBuffer))return b(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(Q(t,SharedArrayBuffer)||t&&Q(t.buffer,SharedArrayBuffer)))return b(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const o=t.valueOf&&t.valueOf();if(null!=o&&o!==t)return l.from(o,e,r);const n=function(t){if(l.isBuffer(t)){const e=0|m(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||X(t.length)?s(0):u(t):"Buffer"===t.type&&Array.isArray(t.data)?u(t.data):void 0}(t);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function p(t){return c(t),s(t<0?0:0|m(t))}function u(t){const e=t.length<0?0:0|m(t.length),r=s(e);for(let o=0;o<e;o+=1)r[o]=255&t[o];return r}function b(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let o;return o=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(o,l.prototype),o}function m(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function f(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Q(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===r)return 0;let n=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(t).length;default:if(n)return o?-1:V(t).length;e=(""+e).toLowerCase(),n=!0}}function h(t,e,r){let o=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return N(this,e,r);case"latin1":case"binary":return R(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,r);default:if(o)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function g(t,e,r){const o=t[e];t[e]=t[r],t[r]=o}function v(t,e,r,o,n){if(0===t.length)return-1;if("string"==typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),X(r=+r)&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return-1;r=t.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof e&&(e=l.from(e,o)),l.isBuffer(e))return 0===e.length?-1:y(t,e,r,o,n);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):y(t,[e],r,o,n);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,o,n){let a,i=1,s=t.length,l=e.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(t.length<2||e.length<2)return-1;i=2,s/=2,l/=2,r/=2}function d(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(n){let o=-1;for(a=r;a<s;a++)if(d(t,a)===d(e,-1===o?0:a-o)){if(-1===o&&(o=a),a-o+1===l)return o*i}else-1!==o&&(a-=a-o),o=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){let r=!0;for(let o=0;o<l;o++)if(d(t,a+o)!==d(e,o)){r=!1;break}if(r)return a}return-1}function w(t,e,r,o){r=Number(r)||0;const n=t.length-r;o?(o=Number(o))>n&&(o=n):o=n;const a=e.length;let i;for(o>a/2&&(o=a/2),i=0;i<o;++i){const o=parseInt(e.substr(2*i,2),16);if(X(o))return i;t[r+i]=o}return i}function x(t,e,r,o){return J(V(e,t.length-r),t,r,o)}function _(t,e,r,o){return J(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,o)}function k(t,e,r,o){return J(W(e),t,r,o)}function j(t,e,r,o){return J(function(t,e){let r,o,n;const a=[];for(let i=0;i<t.length&&!((e-=2)<0);++i)r=t.charCodeAt(i),o=r>>8,n=r%256,a.push(n),a.push(o);return a}(e,t.length-r),t,r,o)}function S(t,e,r){return 0===e&&r===t.length?o.fromByteArray(t):o.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);const o=[];let n=e;for(;n<r;){const e=t[n];let a=null,i=e>239?4:e>223?3:e>191?2:1;if(n+i<=r){let r,o,s,l;switch(i){case 1:e<128&&(a=e);break;case 2:r=t[n+1],128==(192&r)&&(l=(31&e)<<6|63&r,l>127&&(a=l));break;case 3:r=t[n+1],o=t[n+2],128==(192&r)&&128==(192&o)&&(l=(15&e)<<12|(63&r)<<6|63&o,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:r=t[n+1],o=t[n+2],s=t[n+3],128==(192&r)&&128==(192&o)&&128==(192&s)&&(l=(15&e)<<18|(63&r)<<12|(63&o)<<6|63&s,l>65535&&l<1114112&&(a=l))}}null===a?(a=65533,i=1):a>65535&&(a-=65536,o.push(a>>>10&1023|55296),a=56320|1023&a),o.push(a),n+=i}return function(t){const e=t.length;if(e<=E)return String.fromCharCode.apply(String,t);let r="",o=0;for(;o<e;)r+=String.fromCharCode.apply(String,t.slice(o,o+=E));return r}(o)}e.kMaxLength=i,l.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(t,e,r){return d(t,e,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(t,e,r){return function(t,e,r){return c(t),t<=0?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)}(t,e,r)},l.allocUnsafe=function(t){return p(t)},l.allocUnsafeSlow=function(t){return p(t)},l.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==l.prototype},l.compare=function(t,e){if(Q(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),Q(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,o=e.length;for(let n=0,a=Math.min(r,o);n<a;++n)if(t[n]!==e[n]){r=t[n],o=e[n];break}return r<o?-1:o<r?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const o=l.allocUnsafe(e);let n=0;for(r=0;r<t.length;++r){let e=t[r];if(Q(e,Uint8Array))n+e.length>o.length?(l.isBuffer(e)||(e=l.from(e)),e.copy(o,n)):Uint8Array.prototype.set.call(o,e,n);else{if(!l.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(o,n)}n+=e.length}return o},l.byteLength=f,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)g(this,e,e+1);return this},l.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},l.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},l.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?I(this,0,t):h.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){let t="";const r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(t,e,r,o,n){if(Q(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===o&&(o=0),void 0===n&&(n=this.length),e<0||r>t.length||o<0||n>this.length)throw new RangeError("out of range index");if(o>=n&&e>=r)return 0;if(o>=n)return-1;if(e>=r)return 1;if(this===t)return 0;let a=(n>>>=0)-(o>>>=0),i=(r>>>=0)-(e>>>=0);const s=Math.min(a,i),d=this.slice(o,n),c=t.slice(e,r);for(let t=0;t<s;++t)if(d[t]!==c[t]){a=d[t],i=c[t];break}return a<i?-1:i<a?1:0},l.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},l.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},l.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},l.prototype.write=function(t,e,r,o){if(void 0===e)o="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)o=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0)}const n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");let a=!1;for(;;)switch(o){case"hex":return w(this,t,e,r);case"utf8":case"utf-8":return x(this,t,e,r);case"ascii":case"latin1":case"binary":return _(this,t,e,r);case"base64":return k(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const E=4096;function N(t,e,r){let o="";r=Math.min(t.length,r);for(let n=e;n<r;++n)o+=String.fromCharCode(127&t[n]);return o}function R(t,e,r){let o="";r=Math.min(t.length,r);for(let n=e;n<r;++n)o+=String.fromCharCode(t[n]);return o}function T(t,e,r){const o=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>o)&&(r=o);let n="";for(let o=e;o<r;++o)n+=Y[t[o]];return n}function O(t,e,r){const o=t.slice(e,r);let n="";for(let t=0;t<o.length-1;t+=2)n+=String.fromCharCode(o[t]+256*o[t+1]);return n}function A(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,o,n,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<a)throw new RangeError('"value" argument is out of bounds');if(r+o>t.length)throw new RangeError("Index out of range")}function C(t,e,r,o,n){F(e,o,n,t,r,7);let a=Number(e&BigInt(4294967295));t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a;let i=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i,r}function D(t,e,r,o,n){F(e,o,n,t,r,7);let a=Number(e&BigInt(4294967295));t[r+7]=a,a>>=8,t[r+6]=a,a>>=8,t[r+5]=a,a>>=8,t[r+4]=a;let i=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=i,i>>=8,t[r+2]=i,i>>=8,t[r+1]=i,i>>=8,t[r]=i,r+8}function M(t,e,r,o,n,a){if(r+o>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,o,a){return e=+e,r>>>=0,a||M(t,0,r,4),n.write(t,e,r,o,23,4),r+4}function B(t,e,r,o,a){return e=+e,r>>>=0,a||M(t,0,r,8),n.write(t,e,r,o,52,8),r+8}l.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const o=this.subarray(t,e);return Object.setPrototypeOf(o,l.prototype),o},l.prototype.readUintLE=l.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||A(t,e,this.length);let o=this[t],n=1,a=0;for(;++a<e&&(n*=256);)o+=this[t+a]*n;return o},l.prototype.readUintBE=l.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||A(t,e,this.length);let o=this[t+--e],n=1;for(;e>0&&(n*=256);)o+=this[t+--e]*n;return o},l.prototype.readUint8=l.prototype.readUInt8=function(t,e){return t>>>=0,e||A(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,e){return t>>>=0,e||A(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,e){return t>>>=0,e||A(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,e){return t>>>=0,e||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,e){return t>>>=0,e||A(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readBigUInt64LE=K((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||U(t,this.length-8);const o=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,n=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(o)+(BigInt(n)<<BigInt(32))})),l.prototype.readBigUInt64BE=K((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||U(t,this.length-8);const o=e*2**24+65536*this[++t]+256*this[++t]+this[++t],n=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(o)<<BigInt(32))+BigInt(n)})),l.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||A(t,e,this.length);let o=this[t],n=1,a=0;for(;++a<e&&(n*=256);)o+=this[t+a]*n;return n*=128,o>=n&&(o-=Math.pow(2,8*e)),o},l.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||A(t,e,this.length);let o=e,n=1,a=this[t+--o];for(;o>0&&(n*=256);)a+=this[t+--o]*n;return n*=128,a>=n&&(a-=Math.pow(2,8*e)),a},l.prototype.readInt8=function(t,e){return t>>>=0,e||A(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){t>>>=0,e||A(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(t,e){t>>>=0,e||A(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(t,e){return t>>>=0,e||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return t>>>=0,e||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readBigInt64LE=K((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||U(t,this.length-8);const o=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(o)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),l.prototype.readBigInt64BE=K((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||U(t,this.length-8);const o=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(o)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),l.prototype.readFloatLE=function(t,e){return t>>>=0,e||A(t,4,this.length),n.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return t>>>=0,e||A(t,4,this.length),n.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return t>>>=0,e||A(t,8,this.length),n.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return t>>>=0,e||A(t,8,this.length),n.read(this,t,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,e,r,o){t=+t,e>>>=0,r>>>=0,o||L(this,t,e,r,Math.pow(2,8*r)-1,0);let n=1,a=0;for(this[e]=255&t;++a<r&&(n*=256);)this[e+a]=t/n&255;return e+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(t,e,r,o){t=+t,e>>>=0,r>>>=0,o||L(this,t,e,r,Math.pow(2,8*r)-1,0);let n=r-1,a=1;for(this[e+n]=255&t;--n>=0&&(a*=256);)this[e+n]=t/a&255;return e+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,255,0),this[e]=255&t,e+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeBigUInt64LE=K((function(t,e=0){return C(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=K((function(t,e=0){return D(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(t,e,r,o){if(t=+t,e>>>=0,!o){const o=Math.pow(2,8*r-1);L(this,t,e,r,o-1,-o)}let n=0,a=1,i=0;for(this[e]=255&t;++n<r&&(a*=256);)t<0&&0===i&&0!==this[e+n-1]&&(i=1),this[e+n]=(t/a|0)-i&255;return e+r},l.prototype.writeIntBE=function(t,e,r,o){if(t=+t,e>>>=0,!o){const o=Math.pow(2,8*r-1);L(this,t,e,r,o-1,-o)}let n=r-1,a=1,i=0;for(this[e+n]=255&t;--n>=0&&(a*=256);)t<0&&0===i&&0!==this[e+n+1]&&(i=1),this[e+n]=(t/a|0)-i&255;return e+r},l.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},l.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeBigInt64LE=K((function(t,e=0){return C(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=K((function(t,e=0){return D(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},l.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},l.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},l.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},l.prototype.copy=function(t,e,r,o){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),o||0===o||(o=this.length),e>=t.length&&(e=t.length),e||(e=0),o>0&&o<r&&(o=r),o===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-e<o-r&&(o=t.length-e+r);const n=o-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,o):Uint8Array.prototype.set.call(t,this.subarray(r,o),e),n},l.prototype.fill=function(t,e,r,o){if("string"==typeof t){if("string"==typeof e?(o=e,e=0,r=this.length):"string"==typeof r&&(o=r,r=this.length),void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(1===t.length){const e=t.charCodeAt(0);("utf8"===o&&e<128||"latin1"===o)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let n;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(n=e;n<r;++n)this[n]=t;else{const a=l.isBuffer(t)?t:l.from(t,o),i=a.length;if(0===i)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(n=0;n<r-e;++n)this[n+e]=a[n%i]}return this};const z={};function $(t,e,r){z[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function q(t){let e="",r=t.length;const o="-"===t[0]?1:0;for(;r>=o+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function F(t,e,r,o,n,a){if(t>r||t<e){const o="bigint"==typeof e?"n":"";let n;throw n=a>3?0===e||e===BigInt(0)?`>= 0${o} and < 2${o} ** ${8*(a+1)}${o}`:`>= -(2${o} ** ${8*(a+1)-1}${o}) and < 2 ** ${8*(a+1)-1}${o}`:`>= ${e}${o} and <= ${r}${o}`,new z.ERR_OUT_OF_RANGE("value",n,t)}!function(t,e,r){G(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||U(e,t.length-(r+1))}(o,n,a)}function G(t,e){if("number"!=typeof t)throw new z.ERR_INVALID_ARG_TYPE(e,"number",t)}function U(t,e,r){if(Math.floor(t)!==t)throw G(t,r),new z.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS;throw new z.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}$("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),$("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),$("ERR_OUT_OF_RANGE",(function(t,e,r){let o=`The value of "${t}" is out of range.`,n=r;return Number.isInteger(r)&&Math.abs(r)>2**32?n=q(String(r)):"bigint"==typeof r&&(n=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(n=q(n)),n+="n"),o+=` It must be ${e}. Received ${n}`,o}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function V(t,e){let r;e=e||1/0;const o=t.length;let n=null;const a=[];for(let i=0;i<o;++i){if(r=t.charCodeAt(i),r>55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(i+1===o){(e-=3)>-1&&a.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(e-=3)>-1&&a.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function W(t){return o.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function J(t,e,r,o){let n;for(n=0;n<o&&!(n+r>=e.length||n>=t.length);++n)e[n+r]=t[n];return n}function Q(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function X(t){return t!=t}const Y=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const o=16*r;for(let n=0;n<16;++n)e[o+n]=t[r]+t[n]}return e}();function K(t){return"undefined"==typeof BigInt?Z:t}function Z(){throw new Error("BigInt not supported")}},8339:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DataFactory=void 0;const o=r(3067),n=r(4878),a=r(458),i=r(3476),s=r(2946),l=r(7265);let d=0;e.DataFactory=class{constructor(t){this.blankNodeCounter=0,t=t||{},this.blankNodePrefix=t.blankNodePrefix||`df_${d++}_`}namedNode(t){return new i.NamedNode(t)}blankNode(t){return new o.BlankNode(t||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(t,e){return new a.Literal(t,e)}variable(t){return new l.Variable(t)}defaultGraph(){return n.DefaultGraph.INSTANCE}quad(t,e,r,o){return new s.Quad(t,e,r,o||this.defaultGraph())}fromTerm(t){switch(t.termType){case"NamedNode":return this.namedNode(t.value);case"BlankNode":return this.blankNode(t.value);case"Literal":return t.language?this.literal(t.value,t.language):t.datatype.equals(a.Literal.XSD_STRING)?this.literal(t.value):this.literal(t.value,this.fromTerm(t.datatype));case"Variable":return this.variable(t.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(t.subject),this.fromTerm(t.predicate),this.fromTerm(t.object),this.fromTerm(t.graph))}}fromQuad(t){return this.fromTerm(t)}resetBlankNodeCounter(){this.blankNodeCounter=0}}},8584:(t,e,r)=>{const o=r(5606),{ArrayPrototypeSlice:n,Error:a,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:s,ObjectDefineProperties:l,ObjectSetPrototypeOf:d,StringPrototypeToLowerCase:c,Symbol:p,SymbolHasInstance:u}=r(4134);t.exports=C,C.WritableState=A;const{EventEmitter:b}=r(7007),m=r(4259).Stream,{Buffer:f}=r(8287),h=r(5896),{addAbortSignal:g}=r(4147),{getHighWaterMark:v,getDefaultHighWaterMark:y}=r(5291),{ERR_INVALID_ARG_TYPE:w,ERR_METHOD_NOT_IMPLEMENTED:x,ERR_MULTIPLE_CALLBACK:_,ERR_STREAM_CANNOT_PIPE:k,ERR_STREAM_DESTROYED:j,ERR_STREAM_ALREADY_FINISHED:S,ERR_STREAM_NULL_VALUES:I,ERR_STREAM_WRITE_AFTER_END:E,ERR_UNKNOWN_ENCODING:N}=r(6371).codes,{errorOrDestroy:R}=h;function T(){}d(C.prototype,m.prototype),d(C,m);const O=p("kOnFinished");function A(t,e,o){"boolean"!=typeof o&&(o=e instanceof r(3370)),this.objectMode=!(!t||!t.objectMode),o&&(this.objectMode=this.objectMode||!(!t||!t.writableObjectMode)),this.highWaterMark=t?v(this,t,"writableHighWaterMark",o):y(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const n=!(!t||!1!==t.decodeStrings);this.decodeStrings=!n,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=B.bind(void 0,e),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,L(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[O]=[]}function L(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}function C(t){const e=this instanceof r(3370);if(!e&&!i(C,this))return new C(t);this._writableState=new A(t,this,e),t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&g(t.signal,this)),m.call(this,t),h.construct(this,(()=>{const t=this._writableState;t.writing||F(this,t),U(this,t)}))}function D(t,e,r,n){const a=t._writableState;if("function"==typeof r)n=r,r=a.defaultEncoding;else{if(r){if("buffer"!==r&&!f.isEncoding(r))throw new N(r)}else r=a.defaultEncoding;"function"!=typeof n&&(n=T)}if(null===e)throw new I;if(!a.objectMode)if("string"==typeof e)!1!==a.decodeStrings&&(e=f.from(e,r),r="buffer");else if(e instanceof f)r="buffer";else{if(!m._isUint8Array(e))throw new w("chunk",["string","Buffer","Uint8Array"],e);e=m._uint8ArrayToBuffer(e),r="buffer"}let i;return a.ending?i=new E:a.destroyed&&(i=new j("write")),i?(o.nextTick(n,i),R(t,i,!0),i):(a.pendingcb++,function(t,e,r,o,n){const a=e.objectMode?1:r.length;e.length+=a;const i=e.length<e.highWaterMark;return i||(e.needDrain=!0),e.writing||e.corked||e.errored||!e.constructed?(e.buffered.push({chunk:r,encoding:o,callback:n}),e.allBuffers&&"buffer"!==o&&(e.allBuffers=!1),e.allNoop&&n!==T&&(e.allNoop=!1)):(e.writelen=a,e.writecb=n,e.writing=!0,e.sync=!0,t._write(r,o,e.onwrite),e.sync=!1),i&&!e.errored&&!e.destroyed}(t,a,e,r,n))}function M(t,e,r,o,n,a,i){e.writelen=o,e.writecb=i,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new j("write")):r?t._writev(n,e.onwrite):t._write(n,a,e.onwrite),e.sync=!1}function P(t,e,r,o){--e.pendingcb,o(r),q(e),R(t,r)}function B(t,e){const r=t._writableState,n=r.sync,a=r.writecb;"function"==typeof a?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,e?(e.stack,r.errored||(r.errored=e),t._readableState&&!t._readableState.errored&&(t._readableState.errored=e),n?o.nextTick(P,t,r,e,a):P(t,r,e,a)):(r.buffered.length>r.bufferedIndex&&F(t,r),n?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===a?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:a,stream:t,state:r},o.nextTick(z,r.afterWriteTickInfo)):$(t,r,1,a))):R(t,new _)}function z({stream:t,state:e,count:r,cb:o}){return e.afterWriteTickInfo=null,$(t,e,r,o)}function $(t,e,r,o){for(!e.ending&&!t.destroyed&&0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"));r-- >0;)e.pendingcb--,o();e.destroyed&&q(e),U(t,e)}function q(t){if(t.writing)return;for(let r=t.bufferedIndex;r<t.buffered.length;++r){var e;const{chunk:o,callback:n}=t.buffered[r],a=t.objectMode?1:o.length;t.length-=a,n(null!==(e=t.errored)&&void 0!==e?e:new j("write"))}const r=t[O].splice(0);for(let e=0;e<r.length;e++){var o;r[e](null!==(o=t.errored)&&void 0!==o?o:new j("end"))}L(t)}function F(t,e){if(e.corked||e.bufferProcessing||e.destroyed||!e.constructed)return;const{buffered:r,bufferedIndex:o,objectMode:a}=e,i=r.length-o;if(!i)return;let s=o;if(e.bufferProcessing=!0,i>1&&t._writev){e.pendingcb-=i-1;const o=e.allNoop?T:t=>{for(let e=s;e<r.length;++e)r[e].callback(t)},a=e.allNoop&&0===s?r:n(r,s);a.allBuffers=e.allBuffers,M(t,e,!0,e.length,a,"",o),L(e)}else{do{const{chunk:o,encoding:n,callback:i}=r[s];r[s++]=null,M(t,e,!1,a?1:o.length,o,n,i)}while(s<r.length&&!e.writing);s===r.length?L(e):s>256?(r.splice(0,s),e.bufferedIndex=0):e.bufferedIndex=s}e.bufferProcessing=!1}function G(t){return t.ending&&!t.destroyed&&t.constructed&&0===t.length&&!t.errored&&0===t.buffered.length&&!t.finished&&!t.writing&&!t.errorEmitted&&!t.closeEmitted}function U(t,e,r){G(e)&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.finalCalled=!0,function(t,e){let r=!1;function n(n){if(r)R(t,null!=n?n:_());else if(r=!0,e.pendingcb--,n){const r=e[O].splice(0);for(let t=0;t<r.length;t++)r[t](n);R(t,n,e.sync)}else G(e)&&(e.prefinished=!0,t.emit("prefinish"),e.pendingcb++,o.nextTick(H,t,e))}e.sync=!0,e.pendingcb++;try{t._final(n)}catch(t){n(t)}e.sync=!1}(t,e)))}(t,e),0===e.pendingcb&&(r?(e.pendingcb++,o.nextTick(((t,e)=>{G(e)?H(t,e):e.pendingcb--}),t,e)):G(e)&&(e.pendingcb++,H(t,e))))}function H(t,e){e.pendingcb--,e.finished=!0;const r=e[O].splice(0);for(let t=0;t<r.length;t++)r[t]();if(t.emit("finish"),e.autoDestroy){const e=t._readableState;(!e||e.autoDestroy&&(e.endEmitted||!1===e.readable))&&t.destroy()}}A.prototype.getBuffer=function(){return n(this.buffered,this.bufferedIndex)},s(A.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(C,u,{__proto__:null,value:function(t){return!!i(this,t)||this===C&&t&&t._writableState instanceof A}}),C.prototype.pipe=function(){R(this,new k)},C.prototype.write=function(t,e,r){return!0===D(this,t,e,r)},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){const t=this._writableState;t.corked&&(t.corked--,t.writing||F(this,t))},C.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=c(t)),!f.isEncoding(t))throw new N(t);return this._writableState.defaultEncoding=t,this},C.prototype._write=function(t,e,r){if(!this._writev)throw new x("_write()");this._writev([{chunk:t,encoding:e}],r)},C.prototype._writev=null,C.prototype.end=function(t,e,r){const n=this._writableState;let i;if("function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t){const r=D(this,t,e);r instanceof a&&(i=r)}return n.corked&&(n.corked=1,this.uncork()),i||(n.errored||n.ending?n.finished?i=new S("end"):n.destroyed&&(i=new j("end")):(n.ending=!0,U(this,n,!0),n.ended=!0)),"function"==typeof r&&(i||n.finished?o.nextTick(r,i):n[O].push(r)),this},l(C.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(t){this._writableState&&(this._writableState.destroyed=t)}},writable:{__proto__:null,get(){const t=this._writableState;return!(!t||!1===t.writable||t.destroyed||t.errored||t.ending||t.ended)},set(t){this._writableState&&(this._writableState.writable=!!t)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const t=this._writableState;return!!t&&!t.destroyed&&!t.ending&&t.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const V=h.destroy;let W;function J(){return void 0===W&&(W={}),W}C.prototype.destroy=function(t,e){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[O].length)&&o.nextTick(q,r),V.call(this,t,e),this},C.prototype._undestroy=h.undestroy,C.prototype._destroy=function(t,e){e(t)},C.prototype[b.captureRejectionSymbol]=function(t){this.destroy(t)},C.fromWeb=function(t,e){return J().newStreamWritableFromWritableStream(t,e)},C.toWeb=function(t){return J().newWritableStreamFromStreamWritable(t)}},8799:(t,e,r)=>{function o(t){var e=this;if(e instanceof o||(e=new o),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach((function(t){e.push(t)}));else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)e.push(arguments[r]);return e}function n(t,e,r){var o=e===t.head?new s(r,null,e,t):new s(r,e,e.next,t);return null===o.next&&(t.tail=o),null===o.prev&&(t.head=o),t.length++,o}function a(t,e){t.tail=new s(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function i(t,e){t.head=new s(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function s(t,e,r,o){if(!(this instanceof s))return new s(t,e,r,o);this.list=o,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}t.exports=o,o.Node=s,o.create=o,o.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;return e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null,e},o.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},o.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}},o.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)a(this,arguments[t]);return this.length},o.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)i(this,arguments[t]);return this.length},o.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},o.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},o.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,o=0;null!==r;o++)t.call(e,r.value,o,this),r=r.next},o.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,o=this.length-1;null!==r;o--)t.call(e,r.value,o,this),r=r.prev},o.prototype.get=function(t){for(var e=0,r=this.head;null!==r&&e<t;e++)r=r.next;if(e===t&&null!==r)return r.value},o.prototype.getReverse=function(t){for(var e=0,r=this.tail;null!==r&&e<t;e++)r=r.prev;if(e===t&&null!==r)return r.value},o.prototype.map=function(t,e){e=e||this;for(var r=new o,n=this.head;null!==n;)r.push(t.call(e,n.value,this)),n=n.next;return r},o.prototype.mapReverse=function(t,e){e=e||this;for(var r=new o,n=this.tail;null!==n;)r.push(t.call(e,n.value,this)),n=n.prev;return r},o.prototype.reduce=function(t,e){var r,o=this.head;if(arguments.length>1)r=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,r=this.head.value}for(var n=0;null!==o;n++)r=t(r,o.value,n),o=o.next;return r},o.prototype.reduceReverse=function(t,e){var r,o=this.tail;if(arguments.length>1)r=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,r=this.tail.value}for(var n=this.length-1;null!==o;n--)r=t(r,o.value,n),o=o.prev;return r},o.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;null!==r;e++)t[e]=r.value,r=r.next;return t},o.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;null!==r;e++)t[e]=r.value,r=r.prev;return t},o.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var r=new o;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=0,a=this.head;null!==a&&n<t;n++)a=a.next;for(;null!==a&&n<e;n++,a=a.next)r.push(a.value);return r},o.prototype.sliceReverse=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var r=new o;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=this.length,a=this.tail;null!==a&&n>e;n--)a=a.prev;for(;null!==a&&n>t;n--,a=a.prev)r.push(a.value);return r},o.prototype.splice=function(t,e,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var o=0,a=this.head;null!==a&&o<t;o++)a=a.next;var i=[];for(o=0;a&&o<e;o++)i.push(a.value),a=this.removeNode(a);for(null===a&&(a=this.tail),a!==this.head&&a!==this.tail&&(a=a.prev),o=0;o<r.length;o++)a=n(this,a,r[o]);return i},o.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;null!==r;r=r.prev){var o=r.prev;r.prev=r.next,r.next=o}return this.head=e,this.tail=t,this};try{r(259)(o)}catch(t){}},9180:(t,e,r)=>{const{createNodeMap:o}=r(9233),{isKeyword:n}=r(1972),a=r(3978),i=r(2341),s=r(2207),l=r(7382),d=r(9263),{handleEvent:c}=r(2246),{RDF_FIRST:p,RDF_REST:u,RDF_NIL:b,RDF_TYPE:m,RDF_JSON_LITERAL:f,RDF_LANGSTRING:h,XSD_BOOLEAN:g,XSD_DOUBLE:v,XSD_INTEGER:y,XSD_STRING:w}=r(9378),{isAbsolute:x}=r(470),_={};function k(t,e,r,o,a){const i=Object.keys(e).sort();for(const s of i){const i=e[s],l=Object.keys(i).sort();for(let e of l){const l=i[e];if("@type"===e)e=m;else if(n(e))continue;for(const n of l){const i={termType:s.startsWith("_:")?"BlankNode":"NamedNode",value:s};if(!x(s)){a.eventHandler&&c({event:{type:["JsonLdEvent"],code:"relative subject reference",level:"warning",message:"Relative subject reference found.",details:{subject:s}},options:a});continue}const l={termType:e.startsWith("_:")?"BlankNode":"NamedNode",value:e};if(!x(e)){a.eventHandler&&c({event:{type:["JsonLdEvent"],code:"relative predicate reference",level:"warning",message:"Relative predicate reference found.",details:{predicate:e}},options:a});continue}if("BlankNode"===l.termType&&!a.produceGeneralizedRdf){a.eventHandler&&c({event:{type:["JsonLdEvent"],code:"blank node predicate",level:"warning",message:"Dropping blank node predicate.",details:{property:o.getOldIds().find((t=>o.getId(t)===e))}},options:a});continue}const d=j(n,o,t,r,a.rdfDirection,a);d&&t.push({subject:i,predicate:l,object:d,graph:r})}}}}function j(t,e,r,o,n,d){const m={};if(a.isValue(t)){m.termType="Literal",m.value=void 0,m.datatype={termType:"NamedNode"};let e=t["@value"];const r=t["@type"]||null;if("@json"===r)m.value=i(e),m.datatype.value=f;else if(l.isBoolean(e))m.value=e.toString(),m.datatype.value=r||g;else if(l.isDouble(e)||r===v)l.isDouble(e)||(e=parseFloat(e)),m.value=e.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),m.datatype.value=r||v;else if(l.isNumber(e))m.value=e.toFixed(0),m.datatype.value=r||y;else if("@direction"in t&&"i18n-datatype"===n){const r=`https://www.w3.org/ns/i18n#${(t["@language"]||"").toLowerCase()}_${t["@direction"]}`;m.datatype.value=r,m.value=e}else{if("@direction"in t&&"compound-literal"===n)throw new s("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:n});if("@direction"in t&&n)throw new s("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:n});"@language"in t?("@direction"in t&&!n&&d.eventHandler&&c({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:m.value}},options:d}),m.value=e,m.datatype.value=r||h,m.language=t["@language"]):("@direction"in t&&!n&&d.eventHandler&&c({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:m.value}},options:d}),m.value=e,m.datatype.value=r||w)}}else if(a.isList(t)){const a=function(t,e,r,o,n,a){const i={termType:"NamedNode",value:p},s={termType:"NamedNode",value:u},l={termType:"NamedNode",value:b},d=t.pop(),c=d?{termType:"BlankNode",value:e.getId()}:l;let m=c;for(const l of t){const t=j(l,e,r,o,n,a),d={termType:"BlankNode",value:e.getId()};r.push({subject:m,predicate:i,object:t,graph:o}),r.push({subject:m,predicate:s,object:d,graph:o}),m=d}if(d){const t=j(d,e,r,o,n,a);r.push({subject:m,predicate:i,object:t,graph:o}),r.push({subject:m,predicate:s,object:l,graph:o})}return c}(t["@list"],e,r,o,n,d);m.termType=a.termType,m.value=a.value}else{const e=l.isObject(t)?t["@id"]:t;m.termType=e.startsWith("_:")?"BlankNode":"NamedNode",m.value=e}return"NamedNode"!==m.termType||x(m.value)?m:(d.eventHandler&&c({event:{type:["JsonLdEvent"],code:"relative object reference",level:"warning",message:"Relative object reference found.",details:{object:m.value}},options:d}),null)}t.exports=_,_.toRDF=(t,e)=>{const r=new d.IdentifierIssuer("_:b"),n={"@default":{}};o(t,n,"@default",r);const a=[],i=Object.keys(n).sort();for(const t of i){let o;if("@default"===t)o={termType:"DefaultGraph",value:""};else{if(!x(t)){e.eventHandler&&c({event:{type:["JsonLdEvent"],code:"relative graph reference",level:"warning",message:"Relative graph reference found.",details:{graph:t}},options:e});continue}o=t.startsWith("_:")?{termType:"BlankNode"}:{termType:"NamedNode"},o.value=t}k(a,n[t],o,r,e)}return a}},9198:(t,e,r)=>{const o=r(5506),n=r(3095),a=o.Readable.destroy;t.exports=o.Readable,t.exports._uint8ArrayToBuffer=o._uint8ArrayToBuffer,t.exports._isUint8Array=o._isUint8Array,t.exports.isDisturbed=o.isDisturbed,t.exports.isErrored=o.isErrored,t.exports.isReadable=o.isReadable,t.exports.Readable=o.Readable,t.exports.Writable=o.Writable,t.exports.Duplex=o.Duplex,t.exports.Transform=o.Transform,t.exports.PassThrough=o.PassThrough,t.exports.addAbortSignal=o.addAbortSignal,t.exports.finished=o.finished,t.exports.destroy=o.destroy,t.exports.destroy=a,t.exports.pipeline=o.pipeline,t.exports.compose=o.compose,Object.defineProperty(o,"promises",{configurable:!0,enumerable:!0,get:()=>n}),t.exports.Stream=o.Stream,t.exports.default=t.exports},9233:(t,e,r)=>{const{isKeyword:o}=r(1972),n=r(3978),a=r(7382),i=r(9263),s=r(2207),l={};t.exports=l,l.createMergedNodeMap=(t,e)=>{const r=(e=e||{}).issuer||new i.IdentifierIssuer("_:b"),o={"@default":{}};return l.createNodeMap(t,o,"@default",r),l.mergeNodeMaps(o)},l.createNodeMap=(t,e,r,d,c,p)=>{if(a.isArray(t)){for(const o of t)l.createNodeMap(o,e,r,d,void 0,p);return}if(!a.isObject(t))return void(p&&p.push(t));if(n.isValue(t)){if("@type"in t){let e=t["@type"];0===e.indexOf("_:")&&(t["@type"]=e=d.getId(e))}return void(p&&p.push(t))}if(p&&n.isList(t)){const o=[];return l.createNodeMap(t["@list"],e,r,d,c,o),void p.push({"@list":o})}if("@type"in t){const e=t["@type"];for(const t of e)0===t.indexOf("_:")&&d.getId(t)}a.isUndefined(c)&&(c=n.isBlankNode(t)?d.getId(t["@id"]):t["@id"]),p&&p.push({"@id":c});const u=e[r],b=u[c]=u[c]||{};b["@id"]=c;const m=Object.keys(t).sort();for(let a of m){if("@id"===a)continue;if("@reverse"===a){const o={"@id":c},a=t["@reverse"];for(const t in a){const s=a[t];for(const a of s){let s=a["@id"];n.isBlankNode(a)&&(s=d.getId(s)),l.createNodeMap(a,e,r,d,s),i.addValue(u[s],t,o,{propertyIsArray:!0,allowDuplicate:!1})}}continue}if("@graph"===a){c in e||(e[c]={}),l.createNodeMap(t[a],e,c,d);continue}if("@included"===a){l.createNodeMap(t[a],e,r,d);continue}if("@type"!==a&&o(a)){if("@index"===a&&a in b&&(t[a]!==b[a]||t[a]["@id"]!==b[a]["@id"]))throw new s("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:b});b[a]=t[a];continue}const p=t[a];if(0===a.indexOf("_:")&&(a=d.getId(a)),0!==p.length)for(let t of p)if("@type"===a&&(t=0===t.indexOf("_:")?d.getId(t):t),n.isSubject(t)||n.isSubjectReference(t)){if("@id"in t&&!t["@id"])continue;const o=n.isBlankNode(t)?d.getId(t["@id"]):t["@id"];i.addValue(b,a,{"@id":o},{propertyIsArray:!0,allowDuplicate:!1}),l.createNodeMap(t,e,r,d,o)}else if(n.isValue(t))i.addValue(b,a,t,{propertyIsArray:!0,allowDuplicate:!1});else if(n.isList(t)){const o=[];l.createNodeMap(t["@list"],e,r,d,c,o),t={"@list":o},i.addValue(b,a,t,{propertyIsArray:!0,allowDuplicate:!1})}else l.createNodeMap(t,e,r,d,c),i.addValue(b,a,t,{propertyIsArray:!0,allowDuplicate:!1});else i.addValue(b,a,[],{propertyIsArray:!0})}},l.mergeNodeMapGraphs=t=>{const e={};for(const r of Object.keys(t).sort())for(const n of Object.keys(t[r]).sort()){const a=t[r][n];n in e||(e[n]={"@id":n});const s=e[n];for(const t of Object.keys(a).sort())if(o(t)&&"@type"!==t)s[t]=i.clone(a[t]);else for(const e of a[t])i.addValue(s,t,i.clone(e),{propertyIsArray:!0,allowDuplicate:!1})}return e},l.mergeNodeMaps=t=>{const e=t["@default"],r=Object.keys(t).sort();for(const o of r){if("@default"===o)continue;const r=t[o];let a=e[o];a?"@graph"in a||(a["@graph"]=[]):e[o]=a={"@id":o,"@graph":[]};const i=a["@graph"];for(const t of Object.keys(r).sort()){const e=r[t];n.isSubjectReference(e)||i.push(e)}}return e}},9263:(t,e,r)=>{const o=r(3978),n=r(7382),a=r(989).IdentifierIssuer,i=r(2207),s=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,l=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,d=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,c="application/ld+json, application/json",p={};function u(t,e){if(n.isArray(e))for(let r=0;r<e.length;++r)e[r]=u(t,e[r]);else if(o.isList(e))e["@list"]=u(t,e["@list"]);else if(n.isObject(e)){o.isBlankNode(e)&&(e["@id"]=t.getId(e["@id"]));const r=Object.keys(e).sort();for(let o=0;o<r.length;++o){const n=r[o];"@id"!==n&&(e[n]=u(t,e[n]))}}return e}t.exports=p,p.IdentifierIssuer=a,p.REGEX_BCP47=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,p.REGEX_KEYWORD=/^@[a-zA-Z]+$/,p.clone=function(t){if(t&&"object"==typeof t){let e;if(n.isArray(t)){e=[];for(let r=0;r<t.length;++r)e[r]=p.clone(t[r])}else if(t instanceof Map){e=new Map;for(const[r,o]of t)e.set(r,p.clone(o))}else if(t instanceof Set){e=new Set;for(const r of t)e.add(p.clone(r))}else if(n.isObject(t)){e={};for(const r in t)e[r]=p.clone(t[r])}else e=t.toString();return e}return t},p.asArray=function(t){return Array.isArray(t)?t:[t]},p.buildHeaders=(t={})=>{if(Object.keys(t).some((t=>"accept"===t.toLowerCase())))throw new RangeError('Accept header may not be specified; only "'+c+'" is supported.');return Object.assign({Accept:c},t)},p.parseLinkHeader=t=>{const e={},r=t.match(s);for(let t=0;t<r.length;++t){let o=r[t].match(l);if(!o)continue;const n={target:o[1]},a=o[2];for(;o=d.exec(a);)n[o[1]]=void 0===o[2]?o[3]:o[2];const i=n.rel||"";Array.isArray(e[i])?e[i].push(n):e.hasOwnProperty(i)?e[i]=[e[i],n]:e[i]=n}return e},p.validateTypeValue=(t,e)=>{if(!(n.isString(t)||n.isArray(t)&&t.every((t=>n.isString(t))))){if(e&&n.isObject(t))switch(Object.keys(t).length){case 0:return;case 1:if("@default"in t&&p.asArray(t["@default"]).every((t=>n.isString(t))))return}throw new i('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:t})}},p.hasProperty=(t,e)=>{if(t.hasOwnProperty(e)){const r=t[e];return!n.isArray(r)||r.length>0}return!1},p.hasValue=(t,e,r)=>{if(p.hasProperty(t,e)){let a=t[e];const i=o.isList(a);if(n.isArray(a)||i){i&&(a=a["@list"]);for(let t=0;t<a.length;++t)if(p.compareValues(r,a[t]))return!0}else if(!n.isArray(r))return p.compareValues(r,a)}return!1},p.addValue=(t,e,r,o)=>{if("propertyIsArray"in(o=o||{})||(o.propertyIsArray=!1),"valueIsArray"in o||(o.valueIsArray=!1),"allowDuplicate"in o||(o.allowDuplicate=!0),"prependValue"in o||(o.prependValue=!1),o.valueIsArray)t[e]=r;else if(n.isArray(r)){0===r.length&&o.propertyIsArray&&!t.hasOwnProperty(e)&&(t[e]=[]),o.prependValue&&(r=r.concat(t[e]),t[e]=[]);for(let n=0;n<r.length;++n)p.addValue(t,e,r[n],o)}else if(t.hasOwnProperty(e)){const a=!o.allowDuplicate&&p.hasValue(t,e,r);n.isArray(t[e])||a&&!o.propertyIsArray||(t[e]=[t[e]]),a||(o.prependValue?t[e].unshift(r):t[e].push(r))}else t[e]=o.propertyIsArray?[r]:r},p.getValues=(t,e)=>[].concat(t[e]||[]),p.removeProperty=(t,e)=>{delete t[e]},p.removeValue=(t,e,r,o)=>{"propertyIsArray"in(o=o||{})||(o.propertyIsArray=!1);const n=p.getValues(t,e).filter((t=>!p.compareValues(t,r)));0===n.length?p.removeProperty(t,e):1!==n.length||o.propertyIsArray?t[e]=n:t[e]=n[0]},p.relabelBlankNodes=(t,e)=>u((e=e||{}).issuer||new a("_:b"),t),p.compareValues=(t,e)=>t===e||!(!o.isValue(t)||!o.isValue(e)||t["@value"]!==e["@value"]||t["@type"]!==e["@type"]||t["@language"]!==e["@language"]||t["@index"]!==e["@index"])||!!(n.isObject(t)&&"@id"in t&&n.isObject(e)&&"@id"in e)&&t["@id"]===e["@id"],p.compareShortestLeast=(t,e)=>t.length<e.length?-1:e.length<t.length?1:t===e?0:t<e?-1:1},9325:(t,e,r)=>{var o=r(4840),n="object"==typeof self&&self&&self.Object===Object&&self,a=o||n||Function("return this")();t.exports=a},9349:function(t,e,r){var o=this&&this.__createBinding||(Object.create?function(t,e,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(e,r);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,o,n)}:function(t,e,r,o){void 0===o&&(o=r),t[o]=e[r]}),n=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||o(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.fromRdf=c,e.toRdf=function(t,e){return e&&"namedNode"in e&&(e={dataFactory:e}),(e=e||{})&&!e.dataFactory&&(e.dataFactory=l),d.toRdf(t,e)},e.getTermRaw=function(t,e){return"Literal"===t.termType?c(t,e):t.value},e.getSupportedRdfDatatypes=function(){return d.getSupportedRdfDatatypes()},e.getSupportedJavaScriptPrimitives=function(){return d.getSupportedJavaScriptPrimitives()};const a=r(3617),i=r(4802),s=r(103);n(r(4802),e),n(r(5448),e),n(r(103),e);const l=new a.DataFactory,d=new s.Translator;function c(t,e){return d.fromRdf(t,e)}d.registerHandler(new i.TypeHandlerString,i.TypeHandlerString.TYPES.map((t=>l.namedNode(t))),["string"]),d.registerHandler(new i.TypeHandlerBoolean,[i.TypeHandlerBoolean.TYPE].map((t=>l.namedNode(t))),["boolean"]),d.registerHandler(new i.TypeHandlerNumberDouble,i.TypeHandlerNumberDouble.TYPES.map((t=>l.namedNode(t))),["number"]),d.registerHandler(new i.TypeHandlerNumberInteger,i.TypeHandlerNumberInteger.TYPES.map((t=>l.namedNode(t))),["number"]),d.registerHandler(new i.TypeHandlerDate,i.TypeHandlerDate.TYPES.map((t=>l.namedNode(t))),["object"])},9350:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},9374:(t,e,r)=>{var o=r(4128),n=r(3805),a=r(4394),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,d=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var r=s.test(t);return r||l.test(t)?d(t.slice(2),r?2:8):i.test(t)?NaN:+t}},9378:t=>{const e="http://www.w3.org/1999/02/22-rdf-syntax-ns#",r="http://www.w3.org/2001/XMLSchema#";t.exports={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",LINK_HEADER_CONTEXT:"http://www.w3.org/ns/json-ld#context",RDF:e,RDF_LIST:e+"List",RDF_FIRST:e+"first",RDF_REST:e+"rest",RDF_NIL:e+"nil",RDF_TYPE:e+"type",RDF_PLAIN_LITERAL:e+"PlainLiteral",RDF_XML_LITERAL:e+"XMLLiteral",RDF_JSON_LITERAL:e+"JSON",RDF_OBJECT:e+"object",RDF_LANGSTRING:e+"langString",XSD:r,XSD_BOOLEAN:r+"boolean",XSD_DOUBLE:r+"double",XSD_INTEGER:r+"integer",XSD_STRING:r+"string"}},9749:(t,e,r)=>{const o=r(8799),n=Symbol("max"),a=Symbol("length"),i=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),d=Symbol("dispose"),c=Symbol("noDisposeOnSet"),p=Symbol("lruList"),u=Symbol("cache"),b=Symbol("updateAgeOnGet"),m=()=>1,f=(t,e,r)=>{const o=t[u].get(e);if(o){const e=o.value;if(h(t,e)){if(v(t,o),!t[s])return}else r&&(t[b]&&(o.value.now=Date.now()),t[p].unshiftNode(o));return e.value}},h=(t,e)=>{if(!e||!e.maxAge&&!t[l])return!1;const r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t[l]&&r>t[l]},g=t=>{if(t[a]>t[n])for(let e=t[p].tail;t[a]>t[n]&&null!==e;){const r=e.prev;v(t,e),e=r}},v=(t,e)=>{if(e){const r=e.value;t[d]&&t[d](r.key,r.value),t[a]-=r.length,t[u].delete(r.key),t[p].removeNode(e)}};class y{constructor(t,e,r,o,n){this.key=t,this.value=e,this.length=r,this.now=o,this.maxAge=n||0}}const w=(t,e,r,o)=>{let n=r.value;h(t,n)&&(v(t,r),t[s]||(n=void 0)),n&&e.call(o,n.value,n.key,t)};t.exports=class{constructor(t){if("number"==typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!=typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[n]=t.max||1/0;const e=t.length||m;if(this[i]="function"!=typeof e?m:e,this[s]=t.stale||!1,t.maxAge&&"number"!=typeof t.maxAge)throw new TypeError("maxAge must be a number");this[l]=t.maxAge||0,this[d]=t.dispose,this[c]=t.noDisposeOnSet||!1,this[b]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!=typeof t||t<0)throw new TypeError("max must be a non-negative number");this[n]=t||1/0,g(this)}get max(){return this[n]}set allowStale(t){this[s]=!!t}get allowStale(){return this[s]}set maxAge(t){if("number"!=typeof t)throw new TypeError("maxAge must be a non-negative number");this[l]=t,g(this)}get maxAge(){return this[l]}set lengthCalculator(t){"function"!=typeof t&&(t=m),t!==this[i]&&(this[i]=t,this[a]=0,this[p].forEach((t=>{t.length=this[i](t.value,t.key),this[a]+=t.length}))),g(this)}get lengthCalculator(){return this[i]}get length(){return this[a]}get itemCount(){return this[p].length}rforEach(t,e){e=e||this;for(let r=this[p].tail;null!==r;){const o=r.prev;w(this,t,r,e),r=o}}forEach(t,e){e=e||this;for(let r=this[p].head;null!==r;){const o=r.next;w(this,t,r,e),r=o}}keys(){return this[p].toArray().map((t=>t.key))}values(){return this[p].toArray().map((t=>t.value))}reset(){this[d]&&this[p]&&this[p].length&&this[p].forEach((t=>this[d](t.key,t.value))),this[u]=new Map,this[p]=new o,this[a]=0}dump(){return this[p].map((t=>!h(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)})).toArray().filter((t=>t))}dumpLru(){return this[p]}set(t,e,r){if((r=r||this[l])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const o=r?Date.now():0,s=this[i](e,t);if(this[u].has(t)){if(s>this[n])return v(this,this[u].get(t)),!1;const i=this[u].get(t).value;return this[d]&&(this[c]||this[d](t,i.value)),i.now=o,i.maxAge=r,i.value=e,this[a]+=s-i.length,i.length=s,this.get(t),g(this),!0}const b=new y(t,e,s,o,r);return b.length>this[n]?(this[d]&&this[d](t,e),!1):(this[a]+=b.length,this[p].unshift(b),this[u].set(t,this[p].head),g(this),!0)}has(t){if(!this[u].has(t))return!1;const e=this[u].get(t).value;return!h(this,e)}get(t){return f(this,t,!0)}peek(t){return f(this,t,!1)}pop(){const t=this[p].tail;return t?(v(this,t),t.value):null}del(t){v(this,this[u].get(t))}load(t){this.reset();const e=Date.now();for(let r=t.length-1;r>=0;r--){const o=t[r],n=o.e||0;if(0===n)this.set(o.k,o.v);else{const t=n-e;t>0&&this.set(o.k,o.v,t)}}}prune(){this[u].forEach(((t,e)=>f(this,e,!1)))}}},9925:t=>{t.exports=class{constructor(t){this.current=t.sort(),this.done=!1,this.dir=new Map;for(let e=0;e<t.length;++e)this.dir.set(t[e],!0)}hasNext(){return!this.done}next(){const{current:t,dir:e}=this,r=t.slice();let o=null,n=0;const a=t.length;for(let r=0;r<a;++r){const i=t[r],s=e.get(i);(null===o||i>o)&&(s&&r>0&&i>t[r-1]||!s&&r<a-1&&i>t[r+1])&&(o=i,n=r)}if(null===o)this.done=!0;else{const r=e.get(o)?n-1:n+1;t[n]=t[r],t[r]=o;for(const r of t)r>o&&e.set(r,!e.get(r))}return r}}}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var a=e[o]={exports:{}};return t[o].call(a.exports,a,a.exports,r),a.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};r.r(o),r.d(o,{anyAtomicType:()=>qr,anySimpleType:()=>$r,anyURI:()=>lo,base64Binary:()=>so,boolean:()=>Wr,byte:()=>wo,date:()=>to,dateTime:()=>Kr,dateTimeStamp:()=>Ro,dayTimeDuration:()=>No,decimal:()=>Jr,double:()=>Xr,duration:()=>Yr,float:()=>Qr,gDay:()=>no,gMonth:()=>ao,gMonthDay:()=>oo,gYear:()=>ro,gYearMonth:()=>eo,hexBinary:()=>io,int:()=>vo,integer:()=>mo,language:()=>bo,long:()=>go,negativeInteger:()=>ho,nonNegativeInteger:()=>xo,nonPositiveInteger:()=>fo,normalizedString:()=>po,positiveInteger:()=>Io,short:()=>yo,string:()=>Vr,time:()=>Zr,token:()=>uo,unsignedByte:()=>So,unsignedInt:()=>ko,unsignedLong:()=>_o,unsignedShort:()=>jo,yearMonthDuration:()=>Eo});const n="http://www.w3.org/1999/02/22-rdf-syntax-ns#",a="http://www.w3.org/2001/XMLSchema#",i="http://www.w3.org/2000/10/swap/",s={xsd:{decimal:`${a}decimal`,boolean:`${a}boolean`,double:`${a}double`,integer:`${a}integer`,string:`${a}string`},rdf:{type:`${n}type`,nil:`${n}nil`,first:`${n}first`,rest:`${n}rest`,langString:`${n}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${i}reify#forSome`,forAll:`${i}reify#forAll`},log:{implies:`${i}log#implies`,isImpliedBy:`${i}log#isImpliedBy`}},{rdf:l,xsd:d}=s;let c,p=0;const u={namedNode:_,blankNode:k,variable:S,literal:j,defaultGraph:function(){return c},quad:I,triple:I,fromTerm:E,fromQuad:N},b=u;class m{constructor(t){this.id=t}get value(){return this.id}equals(t){return t instanceof m?this.id===t.id:!!t&&this.termType===t.termType&&this.value===t.value}hashCode(){return 0}toJSON(){return{termType:this.termType,value:this.value}}}class f extends m{get termType(){return"NamedNode"}}class h extends m{get termType(){return"Literal"}get value(){return this.id.substring(1,this.id.lastIndexOf('"'))}get language(){const t=this.id;let e=t.lastIndexOf('"')+1;return e<t.length&&"@"===t[e++]?t.substr(e).toLowerCase():""}get datatype(){return new f(this.datatypeString)}get datatypeString(){const t=this.id,e=t.lastIndexOf('"')+1,r=e<t.length?t[e]:"";return"^"===r?t.substr(e+2):"@"!==r?d.string:l.langString}equals(t){return t instanceof h?this.id===t.id:!!t&&!!t.datatype&&this.termType===t.termType&&this.value===t.value&&this.language===t.language&&this.datatype.value===t.datatype.value}toJSON(){return{termType:this.termType,value:this.value,language:this.language,datatype:{termType:"NamedNode",value:this.datatypeString}}}}class g extends m{constructor(t){super(`_:${t}`)}get termType(){return"BlankNode"}get value(){return this.id.substr(2)}}class v extends m{constructor(t){super(`?${t}`)}get termType(){return"Variable"}get value(){return this.id.substr(1)}}function y(t,e,r){if(e=e||u,!t)return e.defaultGraph();switch(t[0]){case"?":return e.variable(t.substr(1));case"_":return e.blankNode(t.substr(2));case'"':if(e===u)return new h(t);if('"'===t[t.length-1])return e.literal(t.substr(1,t.length-2));const o=t.lastIndexOf('"',t.length-1);return e.literal(t.substr(1,o-1),"@"===t[o+1]?t.substr(o+2):e.namedNode(t.substr(o+3)));case"[":t=JSON.parse(t);break;default:if(!r||!Array.isArray(t))return e.namedNode(t)}return e.quad(y(t[0],e,!0),y(t[1],e,!0),y(t[2],e,!0),t[3]&&y(t[3],e,!0))}function w(t,e){if("string"==typeof t)return t;if(t instanceof m&&"Quad"!==t.termType)return t.id;if(!t)return c.id;switch(t.termType){case"NamedNode":return t.value;case"BlankNode":return`_:${t.value}`;case"Variable":return`?${t.value}`;case"DefaultGraph":return"";case"Literal":return`"${t.value}"${t.language?`@${t.language}`:t.datatype&&t.datatype.value!==d.string?`^^${t.datatype.value}`:""}`;case"Quad":const r=[w(t.subject,!0),w(t.predicate,!0),w(t.object,!0)];return t.graph&&"DefaultGraph"!==t.graph.termType&&r.push(w(t.graph,!0)),e?r:JSON.stringify(r);default:throw new Error(`Unexpected termType: ${t.termType}`)}}c=new class extends m{constructor(){return super(""),c||this}get termType(){return"DefaultGraph"}equals(t){return this===t||!!t&&this.termType===t.termType}};class x extends m{constructor(t,e,r,o){super(""),this._subject=t,this._predicate=e,this._object=r,this._graph=o||c}get termType(){return"Quad"}get subject(){return this._subject}get predicate(){return this._predicate}get object(){return this._object}get graph(){return this._graph}toJSON(){return{termType:this.termType,subject:this._subject.toJSON(),predicate:this._predicate.toJSON(),object:this._object.toJSON(),graph:this._graph.toJSON()}}equals(t){return!!t&&this._subject.equals(t.subject)&&this._predicate.equals(t.predicate)&&this._object.equals(t.object)&&this._graph.equals(t.graph)}}function _(t){return new f(t)}function k(t){return new g(t||"n3-"+p++)}function j(t,e){if("string"==typeof e)return new h(`"${t}"@${e.toLowerCase()}`);let r=e?e.value:"";return""===r&&("boolean"==typeof t?r=d.boolean:"number"==typeof t&&(Number.isFinite(t)?r=Number.isInteger(t)?d.integer:d.double:(r=d.double,Number.isNaN(t)||(t=t>0?"INF":"-INF")))),""===r||r===d.string?new h(`"${t}"`):new h(`"${t}"^^${r}`)}function S(t){return new v(t)}function I(t,e,r,o){return new x(t,e,r,o)}function E(t){if(t instanceof m)return t;switch(t.termType){case"NamedNode":return _(t.value);case"BlankNode":return k(t.value);case"Variable":return S(t.value);case"DefaultGraph":return c;case"Literal":return j(t.value,t.language||t.datatype);case"Quad":return N(t);default:throw new Error(`Unexpected termType: ${t.termType}`)}}function N(t){if(t instanceof x)return t;if("Quad"!==t.termType)throw new Error(`Unexpected termType: ${t.termType}`);return I(E(t.subject),E(t.predicate),E(t.object),E(t.graph))}const R="http://www.w3.org/ns/shacl#",T="http://datashapes.org/dash#",O="http://www.w3.org/2001/XMLSchema#",A="http://www.w3.org/1999/02/22-rdf-syntax-ns#",L="http://www.w3.org/2000/01/rdf-schema#",C="http://www.w3.org/2004/02/skos/core#",D="http://www.w3.org/2002/07/owl#",M=b.namedNode("shapes"),P=b.namedNode(A+"type"),B=b.namedNode("http://purl.org/dc/terms/conformsTo"),z=b.namedNode(L+"subClassOf"),$=b.namedNode(C+"broader"),q=b.namedNode(D+"imports"),F=b.namedNode(D+"NamedIndividual"),G=b.namedNode(R+"NodeShape"),U=b.namedNode(R+"IRI"),H=b.namedNode(R+"property"),V=b.namedNode(R+"class"),W=b.namedNode(R+"targetClass"),J=b.namedNode(R+"nodeKind");function Q(t,e,r=R,o){let n="";const a=function(t,e,r=R,o){let n;const a=r+e;if(null==o?void 0:o.length){for(const e of o)for(const r of t)if(r.predicate.value===a){if(r.object.id.endsWith(`@${e}`))return r.object;r.object.id.indexOf("@")<0?n=r.object:n||(n=r.object)}}else for(const e of t)if(e.predicate.value===a)return e.object;return n}(t,e,r,o);return a&&(n=a.value),n}function X(t,e){return Q(t,"prefLabel",C,e)||Q(t,"label",L,e)}function Y(t,e,r,o){const n=[];for(const a of t)n.push({value:a,label:X(e.getQuads(a,null,null,null),r),indent:o});return n}function K(t,e){for(const r in e)t=t.replace(e[r],"");return t}function Z(t,e,r,o,n=new Set){for(const a of e.owlImports)n.has(a.id)||(n.add(a.id),o.push(...r.getSubjects(P,t,a)));e.parent&&Z(t,e.parent,r,o,n)}function tt(t,e,r=0){let o;if(e.shaclIn){const t=e.config.lists[e.shaclIn];o=(null==t?void 0:t.length)?t:[]}else o=e.config.shapesGraph.getSubjects(P,t,M),o.push(...e.config.dataGraph.getSubjects(P,t,null)),Z(t,e,e.config.shapesGraph,o);const n=Y(o,e.config.shapesGraph,e.config.languages,r);if(void 0===e.shaclIn){for(const o of e.config.shapesGraph.getSubjects(z,t,null))n.push(...tt(o,e,r+1));if(e.config.shapesGraph.getQuads(t,P,F,null).length>0){n.push(...Y([t],e.config.shapesGraph,e.config.languages,r));for(const o of e.config.shapesGraph.getSubjects($,t,null))n.push(...tt(o,e,r+1))}}return n}function et(t){let e;try{e=new URL(t)}catch(t){return!1}return"http:"===e.protocol||"https:"===e.protocol}function rt(t,e,r){if(void 0===e)return r;if(void 0===r)return e;const o=t.indexOf(e.language);if(o<0)return r;const n=t.indexOf(r.language);return n<0||n>o?e:r}function ot(t,e,r){const o=document.createElement("div");o.classList.add("shacl-or-constraint");const n=[];if(n.push({label:"--- please choose ---",value:""}),e instanceof Lt){const a=[];let i=!1;t.length&&(i=r.shapesGraph.getObjects(t[0],H,null).length>0);for(let o=0;o<t.length;o++)if(i){const i=r.shapesGraph.getObjects(t[o],H,null),s=[];let l="";for(const t of i){const o=new St(t,e,r);s.push(o),l+=(l.length>1?" / ":"")+o.template.label}a.push(s),n.push({label:l,value:o.toString()})}else{const i=new St(t[o],e,r);a.push([i]),n.push({label:i.template.label,value:o.toString()})}const s=r.theme.createListEditor("Please choose",null,!1,n),l=s.querySelector(".editor");l.onchange=()=>{if(l.value){const t=a[parseInt(l.value)];let e;t.length&&(e=t[0],o.replaceWith(t[0]));for(let r=1;r<t.length;r++)e.after(t[1]),e=t[1]}},o.appendChild(s)}else{const a=[];for(let e=0;e<t.length;e++){const o=r.shapesGraph.getQuads(t[e],null,null,null);o.length&&(a.push(o),n.push({label:X(o,r.languages)||K(o[0].predicate.value,r.prefixes)+" = "+K(o[0].object.value,r.prefixes),value:e.toString()}))}const i=r.theme.createListEditor(e.template.label+"?",null,!1,n,e.template),s=i.querySelector(".editor");s.onchange=()=>{s.value&&o.replaceWith(It(e.template.clone().merge(a[parseInt(s.value)]),void 0,!0))},o.appendChild(i)}return o}const nt={[`${R}name`]:(t,e)=>{const r=e;t.name=rt(t.config.languages,t.name,r)},[`${R}description`]:(t,e)=>{const r=e;t.description=rt(t.config.languages,t.description,r)},[`${R}path`]:(t,e)=>{t.path=e.value},[`${R}node`]:(t,e)=>{t.node=e},[`${R}datatype`]:(t,e)=>{t.datatype=e},[`${R}nodeKind`]:(t,e)=>{t.nodeKind=e},[`${R}minCount`]:(t,e)=>{t.minCount=parseInt(e.value)},[`${R}maxCount`]:(t,e)=>{t.maxCount=parseInt(e.value)},[`${R}minLength`]:(t,e)=>{t.minLength=parseInt(e.value)},[`${R}maxLength`]:(t,e)=>{t.maxLength=parseInt(e.value)},[`${R}minInclusive`]:(t,e)=>{t.minInclusive=parseInt(e.value)},[`${R}maxInclusive`]:(t,e)=>{t.maxInclusive=parseInt(e.value)},[`${R}minExclusive`]:(t,e)=>{t.minExclusive=parseInt(e.value)},[`${R}maxExclusive`]:(t,e)=>{t.maxExclusive=parseInt(e.value)},[`${R}pattern`]:(t,e)=>{t.pattern=e.value},[`${R}order`]:(t,e)=>{t.order=parseInt(e.value)},[`${T}singleLine`]:(t,e)=>{t.singleLine="true"===e.value},[`${T}readonly`]:(t,e)=>{t.readonly="true"===e.value},"http://www.w3.org/ns/oa#styleClass":(t,e)=>{t.cssClass=e.value},[`${R}and`]:(t,e)=>{t.shaclAnd=e.value},[`${R}in`]:(t,e)=>{t.shaclIn=e.value},[`${R}languageIn`]:(t,e)=>{t.languageIn=t.config.lists[e.value],t.datatype=b.namedNode(A+"langString")},[`${R}defaultValue`]:(t,e)=>{t.defaultValue=e},[`${R}hasValue`]:(t,e)=>{t.hasValue=e},[`${R}qualifiedValueShape`]:(t,e)=>{t.qualifiedValueShape=e},[`${R}qualifiedMinCount`]:(t,e)=>{t.minCount=parseInt(e.value)},[`${R}qualifiedMaxCount`]:(t,e)=>{t.maxCount=parseInt(e.value)},[q.id]:(t,e)=>{t.owlImports.push(e)},[V.id]:(t,e)=>{t.class=e;const r=t.config.shapesGraph.getSubjects(W,e,null);r.length>0&&(t.node=r[0])},[`${R}or`]:(t,e)=>{const r=t.config.lists[e.value];(null==r?void 0:r.length)?t.shaclOr=r:console.error("list for sh:or not found:",e.value,"existing lists:",t.config.lists)},[`${R}xone`]:(t,e)=>{const r=t.config.lists[e.value];(null==r?void 0:r.length)?t.shaclXone=r:console.error("list for sh:xone not found:",e.value,"existing lists:",t.config.lists)}};class at{constructor(t,e,r){this.label="",this.owlImports=[],this.parent=e,this.config=r,this.merge(t),this.qualifiedValueShape&&this.merge(r.shapesGraph.getQuads(this.qualifiedValueShape,null,null,null))}merge(t){var e,r;for(const r of t)null===(e=nt[r.predicate.id])||void 0===e||e.call(this,this,r.object);if(this.label=(null===(r=this.name)||void 0===r?void 0:r.value)||X(t,this.config.languages),this.label||this.shaclAnd||(this.label=this.path?K(this.path,this.config.prefixes):"unknown"),(this.node||this.shaclAnd)&&(this.extendedShapes=[],this.node&&this.extendedShapes.push(this.node),this.shaclAnd)){const t=this.config.lists[this.shaclAnd];if(null==t?void 0:t.length)for(const e of t)this.extendedShapes.push(e)}return this}clone(){const t=Object.assign({},this);return t.owlImports=[...this.owlImports],this.languageIn&&(t.languageIn=[...this.languageIn]),this.shaclOr&&(t.shaclOr=[...this.shaclOr]),this.shaclXone&&(t.shaclXone=[...this.shaclXone]),t.merge=this.merge.bind(t),t.clone=this.clone.bind(t),t}}class it{constructor(t){let e="form { box-sizing: border-box; display:block; --label-width: 8em; --caret-size: 10px; }\nform.mode-edit { padding-left: 1em; }\nform *, form ::after, form ::before { box-sizing: inherit; }\nshacl-node, .shacl-group { display: flex; flex-direction: column; width: 100%; position: relative; }\nshacl-node .control-button { text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: 4px; padding: 2px 4px; }\nshacl-node .control-button:hover { border-color: inherit; }\nshacl-node .remove-button { margin-left: 4px; }\nshacl-node .add-button { font-size: 0.8rem; color: #555; margin: 4px 24px 0 0; }\nshacl-node .add-button:before { content: '+'; margin-right: 0.2em; }\nshacl-node .add-button:hover { color: inherit; }\nshacl-node h1 { font-size: 1.1rem; border-bottom: 1px solid; margin-top: 4px; color: #555; }\nshacl-property { display: flex; flex-direction: column; align-items: end; position: relative; }\nshacl-property:not(.may-add) > .add-button { display: none; }\nshacl-property:not(.may-remove) > .property-instance > .remove-button:not(.persistent) { visibility: hidden; }\nshacl-property:not(.may-remove) > .shacl-or-constraint > .remove-button:not(.persistent) { visibility: hidden; }\n.shacl-group { margin-bottom: 1em; padding-bottom: 1em; }\n.mode-view .shacl-group:not(:has(shacl-property)) { display: none; }\n.property-instance, .shacl-or-constraint { display: flex; align-items: flex-start; padding: 4px 0; width: 100%; position: relative; }\n.shacl-or-constraint label { display: inline-block; word-break: break-word; width: var(--label-width); line-height: 1em; padding-top: 0.15em; padding-right: 1em; flex-shrink: 0; position: relative; }\n.property-instance label[title] { cursor: help; text-decoration: underline dashed #AAA; }\n.mode-edit .property-instance label.required::before { color: red; content: '\\2736'; font-size: 0.6rem; position: absolute; left: -1.4em; top: 0.15rem; }\n.property-instance.valid::before { position: absolute; left: calc(var(--label-width) - 1em); top: 6px; color: green; content: '\\2713'; }\n.editor:not([type='checkbox']), .shacl-or-constraint select { flex-grow: 1; }\n.shacl-or-constraint select { border: 1px solid #DDD; padding: 2px 4px; }\nselect { overflow: hidden; text-overflow: ellipsis; }\ntextarea.editor { resize: vertical; }\n.lang-chooser { position: absolute; top: 5px; right: 24px; border: 0; background-color: #e9e9ed; padding: 2px 4px; max-width: 40px; width: 40px; box-sizing: content-box; }\n.lang-chooser+.editor { padding-right: 55px; }\n.validation-error { position: absolute; left: calc(var(--label-width) - 1em); top: 6px; color: red; cursor: help; }\n.validation-error::before { content: '\\26a0' }\n.validation-error.node { left: -1em; }\n.invalid > .editor { border-color: red !important; }\n.ml-0 { margin-left: 0 !important; }\n.pr-0 { padding-right: 0 !important; }\n.mode-view .property-instance:not(:first-child) > label { visibility: hidden; }\n.mode-view .property-instance label { width: var(--label-width); }\n\n.d-flex { display: flex; }\n.lang { opacity: 0.65; font-size: 0.6em; }\na, a:visited { color: inherit; }\n\n.fadeIn, .fadeOut { animation: fadeIn 0.2s ease-out; }\n.fadeOut { animation-direction: reverse; animation-timing-function: ease-out;}\n@keyframes fadeIn {\n 0% { opacity: 0; transform: scaleY(0.8); }\n 100% { opacity: 1; transform: scaleY(1); }\n}\n \n.collapsible > .activator { display: flex; justify-content: space-between; align-items: center; cursor: pointer; width: 100%; border: 0; padding: 8px 0; transition: 0.2s; }\n.collapsible > .activator:hover, .collapsible.open > .activator { background-color: #F5F5F5; }\n.collapsible > .activator::after { content:''; width: var(--caret-size); height: var(--caret-size); border-style: none solid solid none; border-width: calc(0.3 * var(--caret-size)); transform: rotate(45deg); transition: transform .15s ease-out; margin-right: calc(0.5 * var(--caret-size)); }\n.collapsible.open > .activator::after { transform: rotate(225deg); }\n.collapsible > *:not(.activator) { transition: all 0.2s ease-out; opacity: 1; }\n.collapsible:not(.open) > *:not(.activator) { max-height: 0; padding: 0; opacity: 0; overflow: hidden; }\n.collapsible > .property-instance > shacl-node > h1 { display: none; }\n.collapsible.open > .property-instance:nth-child(odd) { background-color: #F5F5F5; }\n.ref-link { cursor: pointer; }\n.ref-link:hover { text-decoration: underline; }\n.node-id-display { color: #999; font-size: 11px; }";t&&(e+="\n"+t),this.stylesheet=new CSSStyleSheet,this.stylesheet.replaceSync(e)}apply(t){}createViewer(t,e,r){const o=document.createElement("div"),n=document.createElement("label");n.innerHTML=t+":",r.description&&n.setAttribute("title",r.description.value),o.appendChild(n);let a,i=e.value,s=null;if(e instanceof f){const t=r.config.shapesGraph.getQuads(i,null,null,null);if(t.length){const e=X(t,r.config.languages);e&&(i=e)}}else e instanceof h&&(e.language?(s=document.createElement("span"),s.classList.add("lang"),s.innerText=`@${e.language}`):e.datatype.value===`${O}date`?i=new Date(Date.parse(e.value)).toDateString():e.datatype.value===`${O}dateTime`&&(i=new Date(Date.parse(e.value)).toLocaleString()));return et(e.value)?(a=document.createElement("a"),a.setAttribute("href",e.value)):a=document.createElement("div"),a.classList.add("d-flex"),a.innerText=i,s&&a.appendChild(s),o.appendChild(a),o}}function st(t){return!!t&&"DefaultGraph"===t.termType}function lt(t){return t.replace(/[\]\/\(\)\*\+\?\.\\\$]/g,"\\$&")}const dt=/^:?[^:?#]*(?:[?#]|$)|^file:|^[^:]*:\/*[^?#]+?\/(?:\.\.?(?:\/|$)|\/)/i,ct=/^(?:(?:[^/?#]{3,}|\.?[^/?#.]\.?)(?:\/[^/?#]{3,}|\.?[^/?#.]\.?)*\/?)?(?:[?#]|$)/;class pt{constructor(t){this.base=t,this._baseLength=0,this._baseMatcher=null,this._pathReplacements=new Array(t.length+1)}static supports(t){return!dt.test(t)}_getBaseMatcher(){if(this._baseMatcher)return this._baseMatcher;if(!pt.supports(this.base))return this._baseMatcher=/.^/;const t=/^[^:]*:\/*/.exec(this.base)[0],e=["^",lt(t)],r=[],o=[],n=/[^/?#]*([/?#])/y;let a,i=0,s=0,l=n.lastIndex=t.length;for(;!i&&!s&&(a=n.exec(this.base));)"#"===a[1]?s=n.lastIndex-1:(e.push(lt(a[0]),"(?:"),r.push(")?"),"?"!==a[1]?o.push(l=n.lastIndex):(i=l=n.lastIndex,s=this.base.indexOf("#",i),this._pathReplacements[i]="?"));for(let t=0;t<o.length;t++)this._pathReplacements[o[t]]="../".repeat(o.length-t-1);return this._pathReplacements[o[o.length-1]]="./",this._baseLength=s>0?s:this.base.length,e.push(lt(this.base.substring(l,this._baseLength)),i?"(?:#|$)":"(?:[?#]|$)"),this._baseMatcher=new RegExp([...e,...r].join(""))}toRelative(t){const e=this._getBaseMatcher().exec(t);if(!e)return t;const r=e[0].length;if(r===this._baseLength&&r===t.length)return"";const o=this._pathReplacements[r];if(o){const e=t.substring(r);return"?"===o||ct.test(e)?"./"===o&&/^[^?#]/.test(e)?e:o+e:t}return t.substring(r-1)}}const ut=b.defaultGraph(),{rdf:bt,xsd:mt}=s,ft=/["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,ht=/["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g,gt={"\\":"\\\\",'"':'\\"',"\t":"\\t","\n":"\\n","\r":"\\r","\b":"\\b","\f":"\\f"};class vt extends m{equals(t){return t===this}}class yt{constructor(t,e){if(this._prefixRegex=/$0^/,t&&"function"!=typeof t.write&&(e=t,t=null),e=e||{},this._lists=e.lists,t)this._outputStream=t,this._endStream=void 0===e.end||!!e.end;else{let t="";this._outputStream={write(e,r,o){t+=e,o&&o()},end:e=>{e&&e(null,t)}},this._endStream=!0}this._subject=null,/triple|quad/i.test(e.format)?(this._lineMode=!0,this._writeQuad=this._writeQuadLine):(this._lineMode=!1,this._graph=ut,this._prefixIRIs=Object.create(null),e.prefixes&&this.addPrefixes(e.prefixes),e.baseIRI&&(this._baseIri=new pt(e.baseIRI)))}get _inDefaultGraph(){return ut.equals(this._graph)}_write(t,e){this._outputStream.write(t,"utf8",e)}_writeQuad(t,e,r,o,n){try{o.equals(this._graph)||(this._write((null===this._subject?"":this._inDefaultGraph?".\n":"\n}\n")+(ut.equals(o)?"":`${this._encodeIriOrBlank(o)} {\n`)),this._graph=o,this._subject=null),t.equals(this._subject)?e.equals(this._predicate)?this._write(`, ${this._encodeObject(r)}`,n):this._write(`;\n ${this._encodePredicate(this._predicate=e)} ${this._encodeObject(r)}`,n):this._write(`${(null===this._subject?"":".\n")+this._encodeSubject(this._subject=t)} ${this._encodePredicate(this._predicate=e)} ${this._encodeObject(r)}`,n)}catch(t){n&&n(t)}}_writeQuadLine(t,e,r,o,n){delete this._prefixMatch,this._write(this.quadToString(t,e,r,o),n)}quadToString(t,e,r,o){return`${this._encodeSubject(t)} ${this._encodeIriOrBlank(e)} ${this._encodeObject(r)}${o&&o.value?` ${this._encodeIriOrBlank(o)} .\n`:" .\n"}`}quadsToString(t){let e="";for(const r of t)e+=this.quadToString(r.subject,r.predicate,r.object,r.graph);return e}_encodeSubject(t){return"Quad"===t.termType?this._encodeQuad(t):this._encodeIriOrBlank(t)}_encodeIriOrBlank(t){if("NamedNode"!==t.termType)return this._lists&&t.value in this._lists&&(t=this.list(this._lists[t.value])),"id"in t?t.id:`_:${t.value}`;let e=t.value;this._baseIri&&(e=this._baseIri.toRelative(e)),ft.test(e)&&(e=e.replace(ht,wt));const r=this._prefixRegex.exec(e);return r?r[1]?this._prefixIRIs[r[1]]+r[2]:e:`<${e}>`}_encodeLiteral(t){let e=t.value;if(ft.test(e)&&(e=e.replace(ht,wt)),t.language)return`"${e}"@${t.language}`;if(this._lineMode){if(t.datatype.value===mt.string)return`"${e}"`}else switch(t.datatype.value){case mt.string:return`"${e}"`;case mt.boolean:if("true"===e||"false"===e)return e;break;case mt.integer:if(/^[+-]?\d+$/.test(e))return e;break;case mt.decimal:if(/^[+-]?\d*\.\d+$/.test(e))return e;break;case mt.double:if(/^[+-]?(?:\d+\.\d*|\.?\d+)[eE][+-]?\d+$/.test(e))return e}return`"${e}"^^${this._encodeIriOrBlank(t.datatype)}`}_encodePredicate(t){return t.value===bt.type?"a":this._encodeIriOrBlank(t)}_encodeObject(t){switch(t.termType){case"Quad":return this._encodeQuad(t);case"Literal":return this._encodeLiteral(t);default:return this._encodeIriOrBlank(t)}}_encodeQuad({subject:t,predicate:e,object:r,graph:o}){return`<<${this._encodeSubject(t)} ${this._encodePredicate(e)} ${this._encodeObject(r)}${st(o)?"":` ${this._encodeIriOrBlank(o)}`}>>`}_blockedWrite(){throw new Error("Cannot write because the writer has been closed.")}addQuad(t,e,r,o,n){void 0===r?this._writeQuad(t.subject,t.predicate,t.object,t.graph,e):"function"==typeof o?this._writeQuad(t,e,r,ut,o):this._writeQuad(t,e,r,o||ut,n)}addQuads(t){for(let e=0;e<t.length;e++)this.addQuad(t[e])}addPrefix(t,e,r){const o={};o[t]=e,this.addPrefixes(o,r)}addPrefixes(t,e){if(!this._prefixIRIs)return e&&e();let r=!1;for(let e in t){let o=t[e];"string"!=typeof o&&(o=o.value),r=!0,null!==this._subject&&(this._write(this._inDefaultGraph?".\n":"\n}\n"),this._subject=null,this._graph=""),this._prefixIRIs[o]=e+=":",this._write(`@prefix ${e} <${o}>.\n`)}if(r){let t="",e="";for(const r in this._prefixIRIs)t+=t?`|${r}`:r,e+=(e?"|":"")+this._prefixIRIs[r];t=lt(t),this._prefixRegex=new RegExp(`^(?:${e})[^/]*$|^(${t})([_a-zA-Z0-9][\\-_a-zA-Z0-9]*)$`)}this._write(r?"\n":"",e)}blank(t,e){let r,o,n=t;switch(void 0===t?n=[]:t.termType?n=[{predicate:t,object:e}]:"length"in t||(n=[t]),o=n.length){case 0:return new vt("[]");case 1:if(r=n[0],!(r.object instanceof vt))return new vt(`[ ${this._encodePredicate(r.predicate)} ${this._encodeObject(r.object)} ]`);default:let e="[";for(let a=0;a<o;a++)r=n[a],r.predicate.equals(t)?e+=`, ${this._encodeObject(r.object)}`:(e+=`${(a?";\n ":"\n ")+this._encodePredicate(r.predicate)} ${this._encodeObject(r.object)}`,t=r.predicate);return new vt(`${e}\n]`)}}list(t){const e=t&&t.length||0,r=new Array(e);for(let o=0;o<e;o++)r[o]=this._encodeObject(t[o]);return new vt(`(${r.join(" ")})`)}end(t){null!==this._subject&&(this._write(this._inDefaultGraph?".\n":"\n}\n"),this._subject=null),this._write=this._blockedWrite;let e=t&&((r,o)=>{e=null,t(r,o)});if(this._endStream)try{return this._outputStream.end(e)}catch(t){}e&&e()}}function wt(t){let e=gt[t];return void 0===e&&(1===t.length?(e=t.charCodeAt(0).toString(16),e="\\u0000".substr(0,6-e.length)+e):(e=(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)+9216).toString(16),e="\\U00000000".substr(0,10-e.length)+e)),e}function xt(t){let e=t.shaclDatatype,r=t.value;return r?t.dataset.class||t.dataset.nodeKind===R+"IRI"?b.namedNode(r):(t.dataset.lang?e=t.dataset.lang:"number"===t.type?r=parseFloat(r):"file"===t.type&&t.binaryData?r=t.binaryData:"datetime-local"===t.type&&(r=new Date(r).toISOString().slice(0,19)),b.literal(r,e)):"checkbox"!==t.type&&"checkbox"!==t.getAttribute("type")||!(t.checked||parseInt(t.dataset.minCount||"0")>0)?void 0:b.literal(t.checked?"true":"false",e)}const _t={};function kt(t){void 0===t.predicate&&void 0===t.datatype?console.warn('not registering plugin because it does neither define "predicate" nor "datatype"',t):_t[`${t.predicate}^${t.datatype}`]=t}class jt{constructor(t,e){this.predicate=t.predicate,this.datatype=t.datatype,e&&(this.stylesheet=new CSSStyleSheet,this.stylesheet.replaceSync(e))}createViewer(t,e){return t.config.theme.createViewer(t.label,e,t)}}class St extends HTMLElement{constructor(t,e,r,o){var n;if(super(),this.template=new at(r.shapesGraph.getQuads(t,null,null,null),e,r),void 0!==this.template.order&&(this.style.order=`${this.template.order}`),this.template.cssClass&&this.classList.add(this.template.cssClass),r.editMode&&(this.addButton=document.createElement("a"),this.addButton.innerText=this.template.label,this.addButton.title="Add "+this.template.label,this.addButton.classList.add("control-button","add-button"),this.addButton.addEventListener("click",(t=>{const e=this.addPropertyInstance();e.classList.add("fadeIn"),this.updateControls(),function(t){var e;null===(e=t.querySelector("input,select,textarea"))||void 0===e||e.focus()}(e),setTimeout((()=>{e.classList.remove("fadeIn")}),200)})),this.appendChild(this.addButton)),this.template.path){const t=o?r.dataGraph.getQuads(o,this.template.path,null,null):[];let e=!1;for(const o of t){if(this.template.node){const t=r.shapesGraph.getObjects(this.template.node,W,null);if(t.length>0){let e=!1;for(let n=0;n<t.length&&!e;n++)r.dataGraph.getQuads(o.object,P,t[n],null).length>0&&(e=!0);if(!e)continue}}this.addPropertyInstance(o.object),this.template.hasValue&&o.object.equals(this.template.hasValue)&&(e=!0)}r.editMode&&this.template.hasValue&&!e&&this.addPropertyInstance(this.template.hasValue)}if(r.editMode&&(this.addEventListener("change",(()=>{this.updateControls()})),this.updateControls()),(null===(n=this.template.extendedShapes)||void 0===n?void 0:n.length)&&null!==this.template.config.attributes.collapse&&(!this.template.maxCount||this.template.maxCount>1)&&(r.editMode||this.childElementCount>0)){const t=this;t.classList.add("collapsible"),"open"===this.template.config.attributes.collapse&&t.classList.add("open");const e=document.createElement("h1");e.classList.add("activator"),e.innerText=this.template.label,e.addEventListener("click",(()=>{t.classList.toggle("open")})),this.prepend(e)}}addPropertyInstance(t){var e,r,o;let n;if((null===(e=this.template.shaclOr)||void 0===e?void 0:e.length)||(null===(r=this.template.shaclXone)||void 0===r?void 0:r.length)){const e=(null===(o=this.template.shaclOr)||void 0===o?void 0:o.length)?this.template.shaclOr:this.template.shaclXone;let r=!1;if(t){const o=function(t,e,r){if(e instanceof h){const o=e.datatype;for(const e of t){const t=r.shapesGraph.getQuads(e,null,null,null);for(const e of t)if(e.predicate.value===`${R}datatype`&&e.object.equals(o))return t}}else{const o=r.dataGraph.getObjects(e,P,null);o.push(...r.shapesGraph.getObjects(e,P,null));for(const e of t){const t=r.shapesGraph.getQuads(e,null,null,null);for(const e of t)if(o.length>0){if(e.predicate.value===`${R}node`)for(const n of o)if(r.shapesGraph.getQuads(e.object,W,n,null).length>0)return t;if(e.predicate.equals(V))for(const r of o)if(e.object.equals(r))return t}else if(e.predicate.equals(J)&&e.object.equals(U))return t}}return console.error("couldn't resolve sh:or/sh:xone on property for value",e),[]}(e,t,this.template.config);o.length&&(n=It(this.template.clone().merge(o),t,!0),r=!0)}r||(n=ot(e,this,this.template.config),Et(n,""))}else n=It(this.template,t);return this.template.config.editMode?this.insertBefore(n,this.addButton):this.appendChild(n),n}updateControls(){var t;let e,r=this.querySelectorAll(":scope > .property-instance, :scope > .shacl-or-constraint, :scope > shacl-node").length;0===r&&(!(null===(t=this.template.extendedShapes)||void 0===t?void 0:t.length)||void 0!==this.template.minCount&&this.template.minCount>0)&&(this.addPropertyInstance(),r=this.querySelectorAll(":scope > .property-instance, :scope > .shacl-or-constraint, :scope > shacl-node").length),e=void 0!==this.template.minCount?r>this.template.minCount:this.template.extendedShapes&&this.template.extendedShapes.length>0||r>1;const o=void 0===this.template.maxCount||r<this.template.maxCount;this.classList.toggle("may-remove",e),this.classList.toggle("may-add",o)}toRDF(t,e){for(const r of this.querySelectorAll(":scope > .property-instance")){const o=b.namedNode(r.dataset.path);if(r.firstChild instanceof Lt){const n=r.firstChild.toRDF(t);t.addQuad(e,o,n,this.template.config.valuesGraph)}else for(const n of r.querySelectorAll(":scope > .editor")){const r=xt(n);r&&t.addQuad(e,o,r,this.template.config.valuesGraph)}}}}function It(t,e,r=!1){var o,n;let a;if(null===(o=t.extendedShapes)||void 0===o?void 0:o.length){a=document.createElement("div"),a.classList.add("property-instance");for(const r of t.extendedShapes)a.appendChild(new Lt(r,t.config,e,t.parent,t.nodeKind,t.label))}else{const r=function(t,e){let r=_t[`${t}^${e}`];return r||(r=_t[`${t}^undefined`],r||_t[`undefined^${e}`])}(t.path,null===(n=t.datatype)||void 0===n?void 0:n.value);a=r?t.config.editMode?r.createEditor(t,e):r.createViewer(t,e):function(t,e){var r,o,n;if(t.config.editMode){const a=void 0!==t.minCount&&t.minCount>0;if(t.class)return t.config.theme.createListEditor(t.label,e,a,tt(t.class,t),t);if(t.shaclIn){const r=t.config.lists[t.shaclIn];if(null==r?void 0:r.length){const o=Y(r,t.config.shapesGraph,t.config.languages);return t.config.theme.createListEditor(t.label,e,a,o,t)}console.error("list not found:",t.shaclIn,"existing lists:",t.config.lists)}if((null===(r=t.datatype)||void 0===r?void 0:r.value)===`${A}langString`||(null===(o=t.languageIn)||void 0===o?void 0:o.length))return t.config.theme.createLangStringEditor(t.label,e,a,t);switch(null===(n=t.datatype)||void 0===n?void 0:n.value.replace(O,"")){case"integer":case"float":case"double":case"decimal":return t.config.theme.createNumberEditor(t.label,e,a,t);case"date":case"dateTime":return t.config.theme.createDateEditor(t.label,e,a,t);case"boolean":return t.config.theme.createBooleanEditor(t.label,e,a,t);case"base64Binary":return t.config.theme.createFileEditor(t.label,e,a,t)}return t.config.theme.createTextEditor(t.label,e,a,t)}{if(e)return t.config.theme.createViewer(t.label,e,t);const r=document.createElement("div");return r.innerHTML="No value",r}}(t,e||null),a.classList.add("property-instance")}return t.config.editMode&&Et(a,t.label,r),a.dataset.path=t.path,a}function Et(t,e,r=!1){const o=document.createElement("a");o.innerText="×",o.classList.add("control-button","btn","remove-button"),o.title="Remove "+e,o.addEventListener("click",(e=>{t.classList.remove("fadeIn"),t.classList.add("fadeOut"),setTimeout((()=>{const e=t.parentElement;t.remove(),null==e||e.dispatchEvent(new Event("change",{bubbles:!0,cancelable:!0}))}),200)})),r&&o.classList.add("persistent"),t.appendChild(o)}window.customElements.define("shacl-property",St);const Nt={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Rt;const Tt=new Uint8Array(16),Ot=[];for(let t=0;t<256;++t)Ot.push((t+256).toString(16).slice(1));const At=function(t,e,r){if(Nt.randomUUID&&!e&&!t)return Nt.randomUUID();const o=(t=t||{}).random??t.rng?.()??function(){if(!Rt){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Rt=crypto.getRandomValues.bind(crypto)}return Rt(Tt)}();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e){if((r=r||0)<0||r+16>e.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let t=0;t<16;++t)e[r+t]=o[t];return e}return function(t,e=0){return(Ot[t[e+0]]+Ot[t[e+1]]+Ot[t[e+2]]+Ot[t[e+3]]+"-"+Ot[t[e+4]]+Ot[t[e+5]]+"-"+Ot[t[e+6]]+Ot[t[e+7]]+"-"+Ot[t[e+8]]+Ot[t[e+9]]+"-"+Ot[t[e+10]]+Ot[t[e+11]]+Ot[t[e+12]]+Ot[t[e+13]]+Ot[t[e+14]]+Ot[t[e+15]]).toLowerCase()}(o)};class Lt extends HTMLElement{constructor(t,e,r,o,n,a){super(),this.owlImports=[],this.parent=o,this.config=e,this.shaclSubject=t;let i=r;if(!i){if(!n){const r=e.shapesGraph.getObjects(t,`${R}nodeKind`,null);r.length&&(n=r[0])}i=void 0===n&&e.attributes.valuesNamespace||(null==n?void 0:n.id)===`${R}IRI`?b.namedNode(e.attributes.valuesNamespace+At()):b.blankNode(At())}this.nodeId=i;const s=JSON.stringify([t,r]);if(r&&e.renderedNodes.has(s)){if(a&&null===e.attributes.collapse){const t=document.createElement("label");t.innerText=a,this.appendChild(t)}const t=document.createElement("a");t.innerText=r.id,t.classList.add("ref-link"),t.onclick=()=>{var t;null===(t=this.config.form.querySelector(`shacl-node[data-node-id='${this.nodeId.id}']`))||void 0===t||t.scrollIntoView()},this.appendChild(t),this.style.flexDirection="row"}else{r&&e.renderedNodes.add(s),this.dataset.nodeId=this.nodeId.id;const o=e.shapesGraph.getQuads(t,null,null,null);let n;if(null!==this.config.attributes.showNodeIds){const t=document.createElement("div");t.innerText=`id: ${this.nodeId.id}`,t.classList.add("node-id-display"),this.appendChild(t)}for(const t of o)switch(t.predicate.id){case H.id:this.addPropertyInstance(t.object,e,r);break;case`${R}and`:if(n=e.lists[t.object.value],null==n?void 0:n.length)for(const t of n)this.prepend(new Lt(t,e,r,this));else console.error("list not found:",t.object.value,"existing lists:",e.lists);break;case`${R}node`:this.prepend(new Lt(t.object,e,r,this));break;case`${R}targetClass`:this.targetClass=t.object;break;case q.id:this.owlImports.push(t.object);break;case`${R}or`:case`${R}xone`:this.tryResolve(t.object,r,e)}if(a){const t=document.createElement("h1");t.innerText=a,this.prepend(t)}}}toRDF(t,e){e||(e=this.nodeId);for(const r of this.querySelectorAll(":scope > shacl-node, :scope > .shacl-group > shacl-node, :scope > shacl-property, :scope > .shacl-group > shacl-property"))r.toRDF(t,e);return this.targetClass&&t.addQuad(e,P,this.targetClass,this.config.valuesGraph),this.config.attributes.generateNodeShapeReference&&!this.parent&&t.addQuad(e,b.namedNode(this.config.attributes.generateNodeShapeReference),this.shaclSubject,this.config.valuesGraph),e}addPropertyInstance(t,e,r){let o=this;const n=e.shapesGraph.getQuads(t,`${R}group`,null,null);if(n.length>0){const t=n[0].object.value;if(e.groups.indexOf(t)>-1){let r=this.querySelector(`:scope > .shacl-group[data-subject='${t}']`);r||(r=function(t,e){const r=document.createElement("div");r.dataset.subject=t,r.classList.add("shacl-group");let o=t;const n=e.shapesGraph.getQuads(t,null,null,null),a=Q(n,"label",L,e.languages);a&&(o=a);const i=Q(n,"order");i&&(r.style.order=i);const s=document.createElement("h1");return s.innerText=o,r.appendChild(s),null!==e.attributes.collapse&&(r.classList.add("collapsible"),"open"===e.attributes.collapse&&r.classList.add("open"),s.classList.add("activator"),s.addEventListener("click",(()=>{r.classList.toggle("open")}))),r}(t,e),this.appendChild(r)),o=r}else console.warn("ignoring unknown group reference",n[0],"existing groups:",e.groups)}setTimeout((()=>{const n=new St(t,this,e,r);n.childElementCount>0&&o.appendChild(n)}))}tryResolve(t,e,r){const o=r.lists[t.value];if(null==o?void 0:o.length){let t=!1;if(e){const n=function(t,e,r){for(const o of t){let t=!0;const n=r.shapesGraph.getObjects(o,H,null);for(const o of n){const n=r.shapesGraph.getObjects(o,`${R}path`,null);for(const o of n){const n=r.dataGraph.getObjects(e,o,null);if(n.push(...r.shapesGraph.getObjects(e,o,null)),!n.length){t=!1;break}}}if(t)return n}return console.error("couldn't resolve sh:or/sh:xone on node for value",e),[]}(o,e,r);if(n.length){for(const t of n)this.addPropertyInstance(t,r,e);t=!0}}t||this.appendChild(ot(o,this,r))}else console.error("list for sh:or/sh:xone not found:",t,"existing lists:",r.lists)}}window.customElements.define("shacl-node",Lt);var Ct=r(9198);const Dt=Symbol("iter");function Mt(t,e,r=4){if(0===r)return Object.assign(t,e);for(const o in e)t[o]=Mt(t[o]||Object.create(null),e[o],r-1);return t}function Pt(t,e,r=4){let o=!1;for(const n in t)if(n in e){const a=0===r?null:Pt(t[n],e[n],r-1);if(!1!==a)o=o||Object.create(null),o[n]=a;else if(3===r)return!1}return o}function Bt(t,e,r=4){let o=!1;for(const n in t)if(n in e){if(0!==r){const a=Bt(t[n],e[n],r-1);if(!1!==a)o=o||Object.create(null),o[n]=a;else if(3===r)return!1}}else o=o||Object.create(null),o[n]=0===r?null:Mt({},t[n],r-1);return o}class zt{constructor(t={}){this._id=1,this._ids=Object.create(null),this._ids[""]=1,this._entities=Object.create(null),this._entities[1]="",this._blankNodeIndex=0,this._factory=t.factory||b}_termFromId(t){if("."===t[0]){const e=this._entities,r=t.split(".");return this._factory.quad(this._termFromId(e[r[1]]),this._termFromId(e[r[2]]),this._termFromId(e[r[3]]),r[4]&&this._termFromId(e[r[4]]))}return y(t,this._factory)}_termToNumericId(t){if("Quad"===t.termType){const e=this._termToNumericId(t.subject),r=this._termToNumericId(t.predicate),o=this._termToNumericId(t.object);let n;return e&&r&&o&&(st(t.graph)||(n=this._termToNumericId(t.graph)))&&this._ids[n?`.${e}.${r}.${o}.${n}`:`.${e}.${r}.${o}`]}return this._ids[w(t)]}_termToNewNumericId(t){const e=t&&"Quad"===t.termType?`.${this._termToNewNumericId(t.subject)}.${this._termToNewNumericId(t.predicate)}.${this._termToNewNumericId(t.object)}${st(t.graph)?"":`.${this._termToNewNumericId(t.graph)}`}`:w(t);return this._ids[e]||(this._ids[this._entities[++this._id]=e]=this._id)}createBlankNode(t){let e,r;if(t)for(e=t=`_:${t}`,r=1;this._ids[e];)e=t+r++;else do{e="_:b"+this._blankNodeIndex++}while(this._ids[e]);return this._ids[e]=++this._id,this._entities[this._id]=e,this._factory.blankNode(e.substr(2))}}class $t{constructor(t,e){this._size=0,this._graphs=Object.create(null),e||!t||t[0]||"function"==typeof t.match||(e=t,t=null),e=e||{},this._factory=e.factory||b,this._entityIndex=e.entityIndex||new zt({factory:this._factory}),this._entities=this._entityIndex._entities,this._termFromId=this._entityIndex._termFromId.bind(this._entityIndex),this._termToNumericId=this._entityIndex._termToNumericId.bind(this._entityIndex),this._termToNewNumericId=this._entityIndex._termToNewNumericId.bind(this._entityIndex),t&&this.addAll(t)}get size(){let t=this._size;if(null!==t)return t;t=0;const e=this._graphs;let r,o;for(const n in e)for(const a in r=e[n].subjects)for(const e in o=r[a])t+=Object.keys(o[e]).length;return this._size=t}_addToIndex(t,e,r,o){const n=t[e]||(t[e]={}),a=n[r]||(n[r]={}),i=o in a;return i||(a[o]=null),!i}_removeFromIndex(t,e,r,o){const n=t[e],a=n[r];delete a[o];for(const t in a)return;delete n[r];for(const t in n)return;delete t[e]}*_findInIndex(t,e,r,o,n,a,i,s){let l,d,c;const p=this._entities,u=this._termFromId(p[s]),b={subject:null,predicate:null,object:null};e&&((l=t,t={})[e]=l[e]);for(const e in t)if(d=t[e]){b[n]=this._termFromId(p[e]),r&&((l=d,d={})[r]=l[r]);for(const t in d)if(c=d[t]){b[a]=this._termFromId(p[t]);const e=o?o in c?[o]:[]:Object.keys(c);for(let t=0;t<e.length;t++)b[i]=this._termFromId(p[e[t]]),yield this._factory.quad(b.subject,b.predicate,b.object,u)}}}_loop(t,e){for(const r in t)e(r)}_loopByKey0(t,e,r){let o,n;if(o=t[e])for(n in o)r(n)}_loopByKey1(t,e,r){let o,n;for(o in t)n=t[o],n[e]&&r(o)}_loopBy2Keys(t,e,r,o){let n,a,i;if((n=t[e])&&(a=n[r]))for(i in a)o(i)}_countInIndex(t,e,r,o){let n,a,i,s=0;e&&((n=t,t={})[e]=n[e]);for(const e in t)if(a=t[e]){r&&((n=a,a={})[r]=n[r]);for(const t in a)(i=a[t])&&(o?o in i&&s++:s+=Object.keys(i).length)}return s}_getGraphs(t){return"number"!=typeof(t=""===t?1:t&&(this._termToNumericId(t)||-1))?this._graphs:{[t]:this._graphs[t]}}_uniqueEntities(t){const e=Object.create(null);return r=>{r in e||(e[r]=!0,t(this._termFromId(this._entities[r],this._factory)))}}add(t){return this.addQuad(t),this}addQuad(t,e,r,o){e||(o=t.graph,r=t.object,e=t.predicate,t=t.subject),o=o?this._termToNewNumericId(o):1;let n=this._graphs[o];return n||(n=this._graphs[o]={subjects:{},predicates:{},objects:{}},Object.freeze(n)),t=this._termToNewNumericId(t),e=this._termToNewNumericId(e),r=this._termToNewNumericId(r),!!this._addToIndex(n.subjects,t,e,r)&&(this._addToIndex(n.predicates,e,r,t),this._addToIndex(n.objects,r,t,e),this._size=null,!0)}addQuads(t){for(let e=0;e<t.length;e++)this.addQuad(t[e])}delete(t){return this.removeQuad(t),this}has(t,e,r,o){return t&&t.subject&&({subject:t,predicate:e,object:r,graph:o}=t),!this.readQuads(t,e,r,o).next().done}import(t){return t.on("data",(t=>{this.addQuad(t)})),t}removeQuad(t,e,r,o){e||({subject:t,predicate:e,object:r,graph:o}=t),o=o?this._termToNumericId(o):1;const n=this._graphs;let a,i,s;if(!((t=t&&this._termToNumericId(t))&&(e=e&&this._termToNumericId(e))&&(r=r&&this._termToNumericId(r))&&(a=n[o])&&(i=a.subjects[t])&&(s=i[e])&&r in s))return!1;for(t in this._removeFromIndex(a.subjects,t,e,r),this._removeFromIndex(a.predicates,e,r,t),this._removeFromIndex(a.objects,r,t,e),null!==this._size&&this._size--,a.subjects)return!0;return delete n[o],!0}removeQuads(t){for(let e=0;e<t.length;e++)this.removeQuad(t[e])}remove(t){return t.on("data",(t=>{this.removeQuad(t)})),t}removeMatches(t,e,r,o){const n=new Ct.Readable({objectMode:!0}),a=this.readQuads(t,e,r,o);return n._read=t=>{for(;--t>=0;){const{done:t,value:e}=a.next();if(t)return void n.push(null);n.push(e)}},this.remove(n)}deleteGraph(t){return this.removeMatches(null,null,null,t)}getQuads(t,e,r,o){return[...this.readQuads(t,e,r,o)]}*readQuads(t,e,r,o){const n=this._getGraphs(o);let a,i,s,l;if(!(t&&!(i=this._termToNumericId(t))||e&&!(s=this._termToNumericId(e))||r&&!(l=this._termToNumericId(r))))for(const t in n)(a=n[t])&&(i?l?yield*this._findInIndex(a.objects,l,i,s,"object","subject","predicate",t):yield*this._findInIndex(a.subjects,i,s,null,"subject","predicate","object",t):s?yield*this._findInIndex(a.predicates,s,l,null,"predicate","object","subject",t):l?yield*this._findInIndex(a.objects,l,null,null,"object","subject","predicate",t):yield*this._findInIndex(a.subjects,null,null,null,"subject","predicate","object",t))}match(t,e,r,o){return new Ft(this,t,e,r,o,{entityIndex:this._entityIndex})}countQuads(t,e,r,o){const n=this._getGraphs(o);let a,i,s,l,d=0;if(t&&!(i=this._termToNumericId(t))||e&&!(s=this._termToNumericId(e))||r&&!(l=this._termToNumericId(r)))return 0;for(const o in n)(a=n[o])&&(d+=t?r?this._countInIndex(a.objects,l,i,s):this._countInIndex(a.subjects,i,s,l):e?this._countInIndex(a.predicates,s,l,i):this._countInIndex(a.objects,l,i,s));return d}forEach(t,e,r,o,n){this.some((e=>(t(e,this),!1)),e,r,o,n)}every(t,e,r,o,n){return!this.some((e=>!t(e,this)),e,r,o,n)}some(t,e,r,o,n){for(const a of this.readQuads(e,r,o,n))if(t(a,this))return!0;return!1}getSubjects(t,e,r){const o=[];return this.forSubjects((t=>{o.push(t)}),t,e,r),o}forSubjects(t,e,r,o){const n=this._getGraphs(o);let a,i,s;if(t=this._uniqueEntities(t),!(e&&!(i=this._termToNumericId(e))||r&&!(s=this._termToNumericId(r))))for(o in n)(a=n[o])&&(i?s?this._loopBy2Keys(a.predicates,i,s,t):this._loopByKey1(a.subjects,i,t):s?this._loopByKey0(a.objects,s,t):this._loop(a.subjects,t))}getPredicates(t,e,r){const o=[];return this.forPredicates((t=>{o.push(t)}),t,e,r),o}forPredicates(t,e,r,o){const n=this._getGraphs(o);let a,i,s;if(t=this._uniqueEntities(t),!(e&&!(i=this._termToNumericId(e))||r&&!(s=this._termToNumericId(r))))for(o in n)(a=n[o])&&(i?s?this._loopBy2Keys(a.objects,s,i,t):this._loopByKey0(a.subjects,i,t):s?this._loopByKey1(a.predicates,s,t):this._loop(a.predicates,t))}getObjects(t,e,r){const o=[];return this.forObjects((t=>{o.push(t)}),t,e,r),o}forObjects(t,e,r,o){const n=this._getGraphs(o);let a,i,s;if(t=this._uniqueEntities(t),!(e&&!(i=this._termToNumericId(e))||r&&!(s=this._termToNumericId(r))))for(o in n)(a=n[o])&&(i?s?this._loopBy2Keys(a.subjects,i,s,t):this._loopByKey1(a.objects,i,t):s?this._loopByKey0(a.predicates,s,t):this._loop(a.objects,t))}getGraphs(t,e,r){const o=[];return this.forGraphs((t=>{o.push(t)}),t,e,r),o}forGraphs(t,e,r,o){for(const n in this._graphs)this.some((e=>(t(e.graph),!0)),e,r,o,this._termFromId(this._entities[n]))}createBlankNode(t){return this._entityIndex.createBlankNode(t)}extractLists({remove:t=!1,ignoreErrors:e=!1}={}){const r={},o=e?()=>!0:(t,e)=>{throw new Error(`${t.value} ${e}`)},n=this.getQuads(null,s.rdf.rest,s.rdf.nil,null),a=t?[...n]:[];return n.forEach((e=>{const n=[];let i,l,d=!1;const c=e.graph;let p=e.subject;for(;p&&!d;){const t=this.getQuads(null,null,p,null),e=this.getQuads(p,null,null,null);let r,u=null,b=null,m=null;for(let n=0;n<e.length&&!d;n++)r=e[n],r.graph.equals(c)?i?d=o(p,"has non-list arcs out"):r.predicate.value===s.rdf.first?u?d=o(p,"has multiple rdf:first arcs"):a.push(u=r):r.predicate.value===s.rdf.rest?b?d=o(p,"has multiple rdf:rest arcs"):a.push(b=r):t.length?d=o(p,"can't be subject and object"):(i=r,l="subject"):d=o(p,"not confined to single graph");for(let e=0;e<t.length&&!d;++e)r=t[e],i?d=o(p,"can't have coreferences"):r.predicate.value===s.rdf.rest?m?d=o(p,"has incoming rdf:rest arcs"):m=r:(i=r,l="object");u?n.unshift(u.object):d=o(p,"has no list head"),p=m&&m.subject}d?t=!1:i&&(r[i[l].value]=n)})),t&&this.removeQuads(a),r}addAll(t){if(t instanceof Ft&&(t=t.filtered),Array.isArray(t))this.addQuads(t);else if(t instanceof $t&&t._entityIndex===this._entityIndex)0!==t._size&&(this._graphs=Mt(this._graphs,t._graphs),this._size=null);else for(const e of t)this.add(e);return this}contains(t){if(t instanceof Ft&&(t=t.filtered),t===this)return!0;if(!(t instanceof $t)||this._entityIndex!==t._entityIndex)return t.every((t=>this.has(t)));const e=this._graphs,r=t._graphs;let o,n,a,i,s;for(const t in r){if(!(o=e[t]))return!1;o=o.subjects;for(const e in n=r[t].subjects){if(!(a=o[e]))return!1;for(const t in i=n[e]){if(!(s=a[t]))return!1;for(const e in i[t])if(!(e in s))return!1}}}return!0}deleteMatches(t,e,r,o){for(const n of this.match(t,e,r,o))this.removeQuad(n);return this}difference(t){if(t&&t instanceof Ft&&(t=t.filtered),t===this)return new $t({entityIndex:this._entityIndex});if(t instanceof $t&&t._entityIndex===this._entityIndex){const e=new $t({entityIndex:this._entityIndex}),r=Bt(this._graphs,t._graphs);return r&&(e._graphs=r,e._size=null),e}return this.filter((e=>!t.has(e)))}equals(t){return t instanceof Ft&&(t=t.filtered),t===this||this.size===t.size&&this.contains(t)}filter(t){const e=new $t({entityIndex:this._entityIndex});for(const r of this)t(r,this)&&e.add(r);return e}intersection(t){if(t instanceof Ft&&(t=t.filtered),t===this){const t=new $t({entityIndex:this._entityIndex});return t._graphs=Mt(Object.create(null),this._graphs),t._size=this._size,t}if(t instanceof $t&&this._entityIndex===t._entityIndex){const e=new $t({entityIndex:this._entityIndex}),r=Pt(t._graphs,this._graphs);return r&&(e._graphs=r,e._size=null),e}return this.filter((e=>t.has(e)))}map(t){const e=new $t({entityIndex:this._entityIndex});for(const r of this)e.add(t(r,this));return e}reduce(t,e){const r=this.readQuads();let o=void 0===e?r.next().value:e;for(const e of r)o=t(o,e,this);return o}toArray(){return this.getQuads()}toCanonical(){throw new Error("not implemented")}toStream(){return this.match()}toString(){return(new yt).quadsToString(this)}union(t){const e=new $t({entityIndex:this._entityIndex});return e._graphs=Mt(Object.create(null),this._graphs),e._size=this._size,e.addAll(t),e}*[Symbol.iterator](){yield*this.readQuads()}}function qt(t,e,r=0){const o=e[r];if(o&&!(o in t))return!1;let n=!1;for(const a in o?{[o]:t[o]}:t){const o=2===r?null:qt(t[a],e,r+1);!1!==o&&(n=n||Object.create(null),n[a]=o)}return n}class Ft extends Ct.Readable{constructor(t,e,r,o,n,a){super({objectMode:!0}),Object.assign(this,{n3Store:t,subject:e,predicate:r,object:o,graph:n,options:a})}get filtered(){if(!this._filtered){const{n3Store:t,graph:e,object:r,predicate:o,subject:n}=this,a=this._filtered=new $t({factory:t._factory,entityIndex:this.options.entityIndex});let i,s,l;if(n&&!(i=a._termToNumericId(n))||o&&!(s=a._termToNumericId(o))||r&&!(l=a._termToNumericId(r)))return a;const d=t._getGraphs(e);for(const t in d){let e,r,o,n;(n=d[t])&&(!i&&s?(r=qt(n.predicates,[s,l,i]))&&(e=qt(n.subjects,[i,s,l]),o=qt(n.objects,[l,i,s])):l?(o=qt(n.objects,[l,i,s]))&&(e=qt(n.subjects,[i,s,l]),r=qt(n.predicates,[s,l,i])):(e=qt(n.subjects,[i,s,l]))&&(r=qt(n.predicates,[s,l,i]),o=qt(n.objects,[l,i,s])),e&&(a._graphs[t]={subjects:e,predicates:r,objects:o}))}a._size=null}return this._filtered}get size(){return this.filtered.size}_read(t){t>0&&!this[Dt]&&(this[Dt]=this[Symbol.iterator]());const e=this[Dt];for(;--t>=0;){const{done:t,value:r}=e.next();if(t)return void this.push(null);this.push(r)}}addAll(t){return this.filtered.addAll(t)}contains(t){return this.filtered.contains(t)}deleteMatches(t,e,r,o){return this.filtered.deleteMatches(t,e,r,o)}difference(t){return this.filtered.difference(t)}equals(t){return this.filtered.equals(t)}every(t,e,r,o,n){return this.filtered.every(t,e,r,o,n)}filter(t){return this.filtered.filter(t)}forEach(t,e,r,o,n){return this.filtered.forEach(t,e,r,o,n)}import(t){return this.filtered.import(t)}intersection(t){return this.filtered.intersection(t)}map(t){return this.filtered.map(t)}some(t,e,r,o,n){return this.filtered.some(t,e,r,o,n)}toCanonical(){return this.filtered.toCanonical()}toStream(){return this._filtered?this._filtered.toStream():this.n3Store.match(this.subject,this.predicate,this.object,this.graph)}union(t){return this._filtered?this._filtered.union(t):this.n3Store.match(this.subject,this.predicate,this.object,this.graph).addAll(t)}toArray(){return this._filtered?this._filtered.toArray():this.n3Store.getQuads(this.subject,this.predicate,this.object,this.graph)}reduce(t,e){return this.filtered.reduce(t,e)}toString(){return(new yt).quadsToString(this)}add(t){return this.filtered.add(t)}delete(t){return this.filtered.delete(t)}has(t){return this.filtered.has(t)}match(t,e,r,o){return new Ft(this.filtered,t,e,r,o,this.options)}*[Symbol.iterator](){yield*this._filtered||this.n3Store.readQuads(this.subject,this.predicate,this.object,this.graph)}}var Gt=r(8287);const{xsd:Ut}=s,Ht=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,Vt={"\\":"\\","'":"'",'"':'"',n:"\n",r:"\r",t:"\t",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},Wt=/[\x00-\x20<>\\"\{\}\|\^\`]/,Jt={_iri:!0,_unescapedIri:!0,_simpleQuotedString:!0,_langcode:!0,_blank:!0,_newline:!0,_comment:!0,_whitespace:!0,_endOfFile:!0},Qt=/$0^/;class Xt{constructor(t){if(this._iri=/^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/,this._unescapedIri=/^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/,this._simpleQuotedString=/^"([^"\\\r\n]*)"(?=[^"])/,this._simpleApostropheString=/^'([^'\\\r\n]*)'(?=[^'])/,this._langcode=/^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i,this._prefix=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/,this._prefixed=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<>]))/,this._variable=/^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<>])/,this._blank=/^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<>]))/,this._number=/^[\-+]?(?:(\d+\.\d*|\.?\d+)[eE][\-+]?|\d*(\.)?)\d+(?=\.?[,;:\s#()\[\]\{\}"'<>])/,this._boolean=/^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<>])/,this._keyword=/^@[a-z]+(?=[\s#<:])/i,this._sparqlKeyword=/^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i,this._shortPredicates=/^a(?=[\s#()\[\]\{\}"'<>])/,this._newline=/^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/,this._comment=/#([^\n\r]*)/,this._whitespace=/^[ \t]+/,this._endOfFile=/^(?:#[^\n\r]*)?$/,t=t||{},this._isImpliedBy=t.isImpliedBy,this._lineMode=!!t.lineMode){this._n3Mode=!1;for(const t in this)!(t in Jt)&&this[t]instanceof RegExp&&(this[t]=Qt)}else this._n3Mode=!1!==t.n3;this.comments=!!t.comments,this._literalClosingPos=0}_tokenizeToEnd(t,e){let r=this._input,o=r.length;for(;;){let t,i;for(;t=this._newline.exec(r);)this.comments&&(i=this._comment.exec(t[0]))&&n("comment",i[1],"",this._line,t[0].length),r=r.substr(t[0].length,r.length),o=r.length,this._line++;if(!t&&(t=this._whitespace.exec(r))&&(r=r.substr(t[0].length,r.length)),this._endOfFile.test(r))return e&&(this.comments&&(i=this._comment.exec(r))&&n("comment",i[1],"",this._line,r.length),r=null,n("eof","","",this._line,0)),this._input=r;const s=this._line,l=r[0];let d="",c="",p="",u=null,b=0,m=!1;switch(l){case"^":if(r.length<3)break;if("^"!==r[1]){this._n3Mode&&(b=1,d="^");break}if(this._previousMarker="^^",r=r.substr(2),"<"!==r[0]){m=!0;break}case"<":if(u=this._unescapedIri.exec(r))d="IRI",c=u[1];else if(u=this._iri.exec(r)){if(c=this._unescape(u[1]),null===c||Wt.test(c))return a(this);d="IRI"}else r.length>1&&"<"===r[1]?(d="<<",b=2):this._n3Mode&&r.length>1&&"="===r[1]&&(b=2,this._isImpliedBy?(d="abbreviation",c="<"):(d="inverse",c=">"));break;case">":r.length>1&&">"===r[1]&&(d=">>",b=2);break;case"_":((u=this._blank.exec(r))||e&&(u=this._blank.exec(`${r} `)))&&(d="blank",p="_",c=u[1]);break;case'"':if(u=this._simpleQuotedString.exec(r))c=u[1];else if(({value:c,matchLength:b}=this._parseLiteral(r)),null===c)return a(this);null===u&&0===b||(d="literal",this._literalClosingPos=0);break;case"'":if(!this._lineMode){if(u=this._simpleApostropheString.exec(r))c=u[1];else if(({value:c,matchLength:b}=this._parseLiteral(r)),null===c)return a(this);null===u&&0===b||(d="literal",this._literalClosingPos=0)}break;case"?":this._n3Mode&&(u=this._variable.exec(r))&&(d="var",c=u[0]);break;case"@":"literal"===this._previousMarker&&(u=this._langcode.exec(r))?(d="langcode",c=u[1]):(u=this._keyword.exec(r))&&(d=u[0]);break;case".":if(1===r.length?e:r[1]<"0"||r[1]>"9"){d=".",b=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(u=this._number.exec(r)||e&&(u=this._number.exec(`${r} `)))&&(d="literal",c=u[0],p="string"==typeof u[1]?Ut.double:"string"==typeof u[2]?Ut.decimal:Ut.integer);break;case"B":case"b":case"p":case"P":case"G":case"g":(u=this._sparqlKeyword.exec(r))?d=u[0].toUpperCase():m=!0;break;case"f":case"t":(u=this._boolean.exec(r))?(d="literal",c=u[0],p=Ut.boolean):m=!0;break;case"a":(u=this._shortPredicates.exec(r))?(d="abbreviation",c="a"):m=!0;break;case"=":this._n3Mode&&r.length>1&&(d="abbreviation",">"!==r[1]?(b=1,c="="):(b=2,c=">"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"}":this._lineMode||(b=1,d=l);break;case"{":!this._lineMode&&r.length>=2&&("|"===r[1]?(d="{|",b=2):(d=l,b=1));break;case"|":r.length>=2&&"}"===r[1]&&(d="|}",b=2);break;default:m=!0}if(m&&("@prefix"!==this._previousMarker&&"PREFIX"!==this._previousMarker||!(u=this._prefix.exec(r))?((u=this._prefixed.exec(r))||e&&(u=this._prefixed.exec(`${r} `)))&&(d="prefixed",p=u[1]||"",c=this._unescape(u[2])):(d="prefix",c=u[1]||"")),"^^"===this._previousMarker)switch(d){case"prefixed":d="type";break;case"IRI":d="typeIRI";break;default:d=""}if(!d)return e||!/^'''|^"""/.test(r)&&/\n|\r/.test(r)?a(this):this._input=r;const f=b||u[0].length,h=n(d,c,p,s,f);this.previousToken=h,this._previousMarker=d,r=r.substr(f,r.length)}function n(e,n,a,i,s){const l=r?o-r.length:o,d={type:e,value:n,prefix:a,line:i,start:l,end:l+s};return t(null,d),d}function a(e){t(e._syntaxError(/^\S*/.exec(r)[0]))}}_unescape(t){let e=!1;const r=t.replace(Ht,((t,r,o,n)=>{if("string"==typeof r)return String.fromCharCode(Number.parseInt(r,16));if("string"==typeof o){let t=Number.parseInt(o,16);return t<=65535?String.fromCharCode(Number.parseInt(o,16)):String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t))}return n in Vt?Vt[n]:(e=!0,"")}));return e?null:r}_parseLiteral(t){if(t.length>=3){const e=t.match(/^(?:"""|"|'''|'|)/)[0],r=e.length;let o=Math.max(this._literalClosingPos,r);for(;(o=t.indexOf(e,o))>0;){let e=0;for(;"\\"===t[o-e-1];)e++;if(e%2==0){const e=t.substring(r,o),n=e.split(/\r\n|\r|\n/).length-1,a=o+r;if(1===r&&0!==n||3===r&&this._lineMode)break;return this._line+=n,{value:this._unescape(e),matchLength:a}}o++}this._literalClosingPos=t.length-r+1}return{value:"",matchLength:0}}_syntaxError(t){this._input=null;const e=new Error(`Unexpected "${t}" on line ${this._line}.`);return e.context={token:void 0,line:this._line,previousToken:this.previousToken},e}_readStartingBom(t){return t.startsWith("\ufeff")?t.substr(1):t}tokenize(t,e){if(this._line=1,"string"==typeof t){if(this._input=this._readStartingBom(t),"function"!=typeof e){const t=[];let e;if(this._tokenizeToEnd(((r,o)=>r?e=r:t.push(o)),!0),e)throw e;return t}queueMicrotask((()=>this._tokenizeToEnd(e,!0)))}else this._pendingBuffer=null,"function"==typeof t.setEncoding&&t.setEncoding("utf8"),t.on("data",(t=>{null!==this._input&&0!==t.length&&(this._pendingBuffer&&(t=Gt.Buffer.concat([this._pendingBuffer,t]),this._pendingBuffer=null),128&t[t.length-1]?this._pendingBuffer=t:(void 0===this._input?this._input=this._readStartingBom("string"==typeof t?t:t.toString()):this._input+=t,this._tokenizeToEnd(e,!1)))})),t.on("end",(()=>{"string"==typeof this._input&&this._tokenizeToEnd(e,!0)})),t.on("error",e)}}let Yt=0;class Kt{constructor(t){this._contextStack=[],this._graph=null,t=t||{},this._setBase(t.baseIRI),t.factory&&te(this,t.factory);const e="string"==typeof t.format?t.format.match(/\w*$/)[0].toLowerCase():"",r=/turtle/.test(e),o=/trig/.test(e),n=/triple/.test(e),a=/quad/.test(e),i=this._n3Mode=/n3/.test(e),s=n||a;(this._supportsNamedGraphs=!(r||i))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(r||o||n||i),this._isImpliedBy=t.isImpliedBy,this._supportsRDFStar=""===e||/star|\*$/.test(e),s&&(this._resolveRelativeIRI=t=>null),this._blankNodePrefix="string"!=typeof t.blankNodePrefix?"":t.blankNodePrefix.replace(/^(?!_:)/,"_:"),this._lexer=t.lexer||new Xt({lineMode:s,n3:i,isImpliedBy:this._isImpliedBy}),this._explicitQuantifiers=!!t.explicitQuantifiers}static _resetBlankNodePrefix(){Yt=0}_setBase(t){if(t){const e=t.indexOf("#");e>=0&&(t=t.substr(0,e)),this._base=t,this._basePath=t.indexOf("/")<0?t:t.replace(/[^\/?]*(?:\?.*)?$/,""),t=t.match(/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i),this._baseRoot=t[0],this._baseScheme=t[1]}else this._base="",this._basePath=""}_saveContext(t,e,r,o,n){const a=this._n3Mode;this._contextStack.push({type:t,subject:r,predicate:o,object:n,graph:e,inverse:!!a&&this._inversePredicate,blankPrefix:a?this._prefixes._:"",quantified:a?this._quantified:null}),a&&(this._inversePredicate=!1,this._prefixes._=this._graph?`${this._graph.value}.`:".",this._quantified=Object.create(this._quantified))}_restoreContext(t,e){const r=this._contextStack.pop();if(!r||r.type!==t)return this._error(`Unexpected ${e.type}`,e);this._subject=r.subject,this._predicate=r.predicate,this._object=r.object,this._graph=r.graph,this._n3Mode&&(this._inversePredicate=r.inverse,this._prefixes._=r.blankPrefix,this._quantified=r.quantified)}_readInTopContext(t){switch(t.type){case"eof":return null!==this._graph?this._error("Unclosed graph",t):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(t)}}_readEntity(t,e){let r;switch(t.type){case"IRI":case"typeIRI":const e=this._resolveIRI(t.value);if(null===e)return this._error("Invalid IRI",t);r=this._factory.namedNode(e);break;case"type":case"prefixed":const o=this._prefixes[t.prefix];if(void 0===o)return this._error(`Undefined prefix "${t.prefix}:"`,t);r=this._factory.namedNode(o+t.value);break;case"blank":r=this._factory.blankNode(this._prefixes[t.prefix]+t.value);break;case"var":r=this._factory.variable(t.value.substr(1));break;default:return this._error(`Expected entity but got ${t.type}`,t)}return!e&&this._n3Mode&&r.id in this._quantified&&(r=this._quantified[r.id]),r}_readSubject(t){switch(this._predicate=null,t.type){case"[":return this._saveContext("blank",this._graph,this._subject=this._factory.blankNode(),null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this.RDF_NIL,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph=this._factory.blankNode(),null,null),this._readSubject):this._error("Unexpected graph",t);case"}":return this._readPunctuation(t);case"@forSome":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORSOME,this._quantifier="blankNode",this._readQuantifierList):this._error('Unexpected "@forSome"',t);case"@forAll":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORALL,this._quantifier="variable",this._readQuantifierList):this._error('Unexpected "@forAll"',t);case"literal":if(!this._n3Mode)return this._error("Unexpected literal",t);if(0===t.prefix.length)return this._literalValue=t.value,this._completeSubjectLiteral;this._subject=this._factory.literal(t.value,this._factory.namedNode(t.prefix));break;case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,null,null,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",t);default:if(void 0===(this._subject=this._readEntity(t)))return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph}_readPredicate(t){const e=t.type;switch(e){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=this.ABBREVIATIONS[t.value];break;case".":case"]":case"}":return null===this._predicate?this._error(`Unexpected ${e}`,t):(this._subject=null,"]"===e?this._readBlankNodeTail(t):this._readPunctuation(t));case";":return null!==this._predicate?this._readPredicate:this._error("Expected predicate but got ;",t);case"[":if(this._n3Mode)return this._saveContext("blank",this._graph,this._subject,this._subject=this._factory.blankNode(),null),this._readBlankNodeHead;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",t);default:if(void 0===(this._predicate=this._readEntity(t)))return}return this._readObject}_readObject(t){switch(t.type){case"literal":if(0===t.prefix.length)return this._literalValue=t.value,this._readDataTypeOrLang;this._object=this._factory.literal(t.value,this._factory.namedNode(t.prefix));break;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject=this._factory.blankNode()),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,this.RDF_NIL),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",t);case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,this._subject,this._predicate,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",t);default:if(void 0===(this._object=this._readEntity(t)))return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()}_readPredicateOrNamedGraph(t){return"{"===t.type?this._readGraph(t):this._readPredicate(t)}_readGraph(t){return"{"!==t.type?this._error(`Expected graph but got ${t.type}`,t):(this._graph=this._subject,this._subject=null,this._readSubject)}_readBlankNodeHead(t){return"]"===t.type?(this._subject=null,this._readBlankNodeTail(t)):(this._predicate=null,this._readPredicate(t))}_readBlankNodeTail(t){if("]"!==t.type)return this._readBlankNodePunctuation(t);null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph);const e=null===this._predicate;return this._restoreContext("blank",t),null!==this._object?this._getContextEndReader():null!==this._predicate?this._readObject:e?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank}_readPredicateAfterBlank(t){switch(t.type){case".":case"}":return this._subject=null,this._readPunctuation(t);default:return this._readPredicate(t)}}_readListItem(t){let e=null,r=null,o=this._readListItem;const n=this._subject,a=this._contextStack,i=a[a.length-1];switch(t.type){case"[":this._saveContext("blank",this._graph,r=this._factory.blankNode(),this.RDF_FIRST,this._subject=e=this._factory.blankNode()),o=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,r=this._factory.blankNode(),this.RDF_FIRST,this.RDF_NIL),this._subject=null;break;case")":if(this._restoreContext("list",t),0!==a.length&&"list"===a[a.length-1].type&&this._emit(this._subject,this._predicate,this._object,this._graph),null===this._predicate){if(o=this._readPredicate,this._subject===this.RDF_NIL)return o}else if(o=this._getContextEndReader(),this._object===this.RDF_NIL)return o;r=this.RDF_NIL;break;case"literal":0===t.prefix.length?(this._literalValue=t.value,o=this._readListItemDataTypeOrLang):(e=this._factory.literal(t.value,this._factory.namedNode(t.prefix)),o=this._getContextEndReader());break;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",t);default:if(void 0===(e=this._readEntity(t)))return}if(null===r&&(this._subject=r=this._factory.blankNode()),null===n?null===i.predicate?i.subject=r:i.object=r:this._emit(n,this.RDF_REST,r,this._graph),null!==e){if(this._n3Mode&&("IRI"===t.type||"prefixed"===t.type))return this._saveContext("item",this._graph,r,this.RDF_FIRST,e),this._subject=e,this._predicate=null,this._getPathReader(this._readListItem);this._emit(r,this.RDF_FIRST,e,this._graph)}return o}_readDataTypeOrLang(t){return this._completeObjectLiteral(t,!1)}_readListItemDataTypeOrLang(t){return this._completeObjectLiteral(t,!0)}_completeLiteral(t){let e=this._factory.literal(this._literalValue);switch(t.type){case"type":case"typeIRI":const r=this._readEntity(t);if(void 0===r)return;e=this._factory.literal(this._literalValue,r),t=null;break;case"langcode":e=this._factory.literal(this._literalValue,t.value),t=null}return{token:t,literal:e}}_completeSubjectLiteral(t){return this._subject=this._completeLiteral(t).literal,this._readPredicateOrNamedGraph}_completeObjectLiteral(t,e){const r=this._completeLiteral(t);if(r)return this._object=r.literal,e&&this._emit(this._subject,this.RDF_FIRST,this._object,this._graph),null===r.token?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(r.token))}_readFormulaTail(t){return"}"!==t.type?this._readPunctuation(t):(null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph),this._restoreContext("formula",t),null===this._object?this._readPredicate:this._getContextEndReader())}_readPunctuation(t){let e,r=this._graph;const o=this._subject,n=this._inversePredicate;switch(t.type){case"}":if(null===this._graph)return this._error("Unexpected graph closing",t);if(this._n3Mode)return this._readFormulaTail(t);this._graph=null;case".":this._subject=null,e=this._contextStack.length?this._readSubject:this._readInTopContext,n&&(this._inversePredicate=!1);break;case";":e=this._readPredicate;break;case",":e=this._readObject;break;case"{|":if(!this._supportsRDFStar)return this._error("Unexpected RDF-star syntax",t);const a=this._predicate,i=this._object;this._subject=this._factory.quad(o,a,i,this.DEFAULTGRAPH),e=this._readPredicate;break;case"|}":if("Quad"!==this._subject.termType)return this._error("Unexpected asserted triple closing",t);this._subject=null,e=this._readPunctuation;break;default:if(this._supportsQuads&&null===this._graph&&void 0!==(r=this._readEntity(t))){e=this._readQuadPunctuation;break}return this._error(`Expected punctuation to follow "${this._object.id}"`,t)}if(null!==o){const t=this._predicate,e=this._object;n?this._emit(e,t,o,r):this._emit(o,t,e,r)}return e}_readBlankNodePunctuation(t){let e;switch(t.type){case";":e=this._readPredicate;break;case",":e=this._readObject;break;default:return this._error(`Expected punctuation to follow "${this._object.id}"`,t)}return this._emit(this._subject,this._predicate,this._object,this._graph),e}_readQuadPunctuation(t){return"."!==t.type?this._error("Expected dot to follow quad",t):this._readInTopContext}_readPrefix(t){return"prefix"!==t.type?this._error("Expected prefix to follow @prefix",t):(this._prefix=t.value,this._readPrefixIRI)}_readPrefixIRI(t){if("IRI"!==t.type)return this._error(`Expected IRI to follow prefix "${this._prefix}:"`,t);const e=this._readEntity(t);return this._prefixes[this._prefix]=e.value,this._prefixCallback(this._prefix,e),this._readDeclarationPunctuation}_readBaseIRI(t){const e="IRI"===t.type&&this._resolveIRI(t.value);return e?(this._setBase(e),this._readDeclarationPunctuation):this._error("Expected valid IRI to follow base declaration",t)}_readNamedGraphLabel(t){switch(t.type){case"IRI":case"blank":case"prefixed":return this._readSubject(t),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",t)}}_readNamedGraphBlankLabel(t){return"]"!==t.type?this._error("Invalid graph label",t):(this._subject=this._factory.blankNode(),this._readGraph)}_readDeclarationPunctuation(t){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(t)):"."!==t.type?this._error("Expected declaration to end with a dot",t):this._readInTopContext}_readQuantifierList(t){let e;switch(t.type){case"IRI":case"prefixed":if(void 0!==(e=this._readEntity(t,!0)))break;default:return this._error(`Unexpected ${t.type}`,t)}return this._explicitQuantifiers?(null===this._subject?this._emit(this._graph||this.DEFAULTGRAPH,this._predicate,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH):this._emit(this._subject,this.RDF_REST,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH),this._emit(this._subject,this.RDF_FIRST,e,this.QUANTIFIERS_GRAPH)):this._quantified[e.id]=this._factory[this._quantifier](this._factory.blankNode().value),this._readQuantifierPunctuation}_readQuantifierPunctuation(t){return","===t.type?this._readQuantifierList:(this._explicitQuantifiers&&(this._emit(this._subject,this.RDF_REST,this.RDF_NIL,this.QUANTIFIERS_GRAPH),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(t))}_getPathReader(t){return this._afterPath=t,this._readPath}_readPath(t){switch(t.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:const e=this._contextStack,r=e.length&&e[e.length-1];if(r&&"item"===r.type){const e=this._subject;this._restoreContext("item",t),this._emit(this._subject,this.RDF_FIRST,e,this._graph)}return this._afterPath(t)}}_readForwardPath(t){let e,r;const o=this._factory.blankNode();if(void 0!==(r=this._readEntity(t)))return null===this._predicate?(e=this._subject,this._subject=o):(e=this._object,this._object=o),this._emit(e,r,o,this._graph),this._readPath}_readBackwardPath(t){const e=this._factory.blankNode();let r,o;if(void 0!==(r=this._readEntity(t)))return null===this._predicate?(o=this._subject,this._subject=e):(o=this._object,this._object=e),this._emit(e,r,o,this._graph),this._readPath}_readRDFStarTailOrGraph(t){return">>"!==t.type?this._supportsQuads&&null===this._graph&&void 0!==(this._graph=this._readEntity(t))?this._readRDFStarTail:this._error(`Expected >> to follow "${this._object.id}"`,t):this._readRDFStarTail(t)}_readRDFStarTail(t){if(">>"!==t.type)return this._error(`Expected >> but got ${t.type}`,t);const e=this._factory.quad(this._subject,this._predicate,this._object,this._graph||this.DEFAULTGRAPH);return this._restoreContext("<<",t),null===this._subject?(this._subject=e,this._readPredicate):(this._object=e,this._getContextEndReader())}_getContextEndReader(){const t=this._contextStack;if(!t.length)return this._readPunctuation;switch(t[t.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail;case"<<":return this._readRDFStarTailOrGraph}}_emit(t,e,r,o){this._callback(null,this._factory.quad(t,e,r,o||this.DEFAULTGRAPH))}_error(t,e){const r=new Error(`${t} on line ${e.line}.`);r.context={token:e,line:e.line,previousToken:this._lexer.previousToken},this._callback(r),this._callback=Zt}_resolveIRI(t){return/^[a-z][a-z0-9+.-]*:/i.test(t)?t:this._resolveRelativeIRI(t)}_resolveRelativeIRI(t){if(!t.length)return this._base;switch(t[0]){case"#":return this._base+t;case"?":return this._base.replace(/(?:\?.*)?$/,t);case"/":return("/"===t[1]?this._baseScheme:this._baseRoot)+this._removeDotSegments(t);default:return/^[^/:]*:/.test(t)?null:this._removeDotSegments(this._basePath+t)}}_removeDotSegments(t){if(!/(^|\/)\.\.?($|[/#?])/.test(t))return t;const e=t.length;let r="",o=-1,n=-1,a=0,i="/";for(;o<e;){switch(i){case":":if(n<0&&"/"===t[++o]&&"/"===t[++o])for(;(n=o+1)<e&&"/"!==t[n];)o=n;break;case"?":case"#":o=e;break;case"/":if("."===t[o+1])switch(i=t[1+ ++o],i){case"/":r+=t.substring(a,o-1),a=o+1;break;case void 0:case"?":case"#":return r+t.substring(a,o)+t.substr(o+1);case".":if(i=t[1+ ++o],void 0===i||"/"===i||"?"===i||"#"===i){if(r+=t.substring(a,o-2),(a=r.lastIndexOf("/"))>=n&&(r=r.substr(0,a)),"/"!==i)return`${r}/${t.substr(o+1)}`;a=o+1}}}i=t[++o]}return r+t.substring(a)}parse(t,e,r){let o,n,a;if(e&&(e.onQuad||e.onPrefix||e.onComment)?(o=e.onQuad,n=e.onPrefix,a=e.onComment):(o=e,n=r),this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix?this._blankNodePrefix.substr(2):`b${Yt++}_`,this._prefixCallback=n||Zt,this._inversePredicate=!1,this._quantified=Object.create(null),!o){const e=[];let r;if(this._callback=(t,o)=>{t?r=t:o&&e.push(o)},this._lexer.tokenize(t).every((t=>this._readCallback=this._readCallback(t))),r)throw r;return e}let i=(t,e)=>{null!==t?(this._callback(t),this._callback=Zt):this._readCallback&&(this._readCallback=this._readCallback(e))};a&&(this._lexer.comments=!0,i=(t,e)=>{null!==t?(this._callback(t),this._callback=Zt):this._readCallback&&("comment"===e.type?a(e.value):this._readCallback=this._readCallback(e))}),this._callback=o,this._lexer.tokenize(t,i)}}function Zt(){}function te(t,e){t._factory=e,t.DEFAULTGRAPH=e.defaultGraph(),t.RDF_FIRST=e.namedNode(s.rdf.first),t.RDF_REST=e.namedNode(s.rdf.rest),t.RDF_NIL=e.namedNode(s.rdf.nil),t.N3_FORALL=e.namedNode(s.r.forAll),t.N3_FORSOME=e.namedNode(s.r.forSome),t.ABBREVIATIONS={a:e.namedNode(s.rdf.type),"=":e.namedNode(s.owl.sameAs),">":e.namedNode(s.log.implies),"<":e.namedNode(s.log.isImpliedBy)},t.QUANTIFIERS_GRAPH=e.namedNode("urn:n3:quantifiers")}te(Kt.prototype,b);var ee=r(4841),re=function(t,e,r,o){return new(r||(r=Promise))((function(n,a){function i(t){try{l(o.next(t))}catch(t){a(t)}}function s(t){try{l(o.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(i,s)}l((o=o.apply(t,e||[])).next())}))};const oe={},ne={};let ae;class ie{constructor(t){this.loadedExternalUrls=[],this.loadedClasses=[],this.config=t}loadGraphs(){return re(this,void 0,void 0,(function*(){this.loadedExternalUrls=[],this.loadedClasses=[];let t=ae;const e=new $t;this.config.prefixes={};const r=[this.importRDF(this.config.attributes.values?this.config.attributes.values:this.config.attributes.valuesUrl?this.fetchRDF(this.config.attributes.valuesUrl):"",e,void 0,new Kt({blankNodePrefix:""}))];if(t||(t=new $t,r.push(this.importRDF(this.config.attributes.shapes?this.config.attributes.shapes:this.config.attributes.shapesUrl?this.fetchRDF(this.config.attributes.shapesUrl):"",t,M))),yield Promise.all(r),!ae&&0==(null==t?void 0:t.size)&&this.config.attributes.valuesSubject){const r=[...e.getObjects(this.config.attributes.valuesSubject,P,null),...e.getObjects(this.config.attributes.valuesSubject,B,null)],o=[];for(const e of r){const r=this.toURL(e.value);r&&this.loadedExternalUrls.indexOf(r)<0&&(this.loadedExternalUrls.push(r),o.push(this.importRDF(this.fetchRDF(r),t,M)))}try{yield Promise.allSettled(o)}catch(t){console.warn(t)}}this.config.shapesGraph=t,this.config.dataGraph=e}))}importRDF(t,e,r,o){return re(this,void 0,void 0,(function*(){const n=o||new Kt,a=t=>re(this,void 0,void 0,(function*(){const a=[];yield new Promise(((i,s)=>{n.parse(t,((t,n,l)=>{if(t)return console.warn("failed parsing graph",r,t.message),s(t);if(n){if(e.add(new x(n.subject,n.predicate,n.object,r)),null===this.config.attributes.ignoreOwlImports&&q.equals(n.predicate)){const t=this.toURL(n.object.value);t&&this.loadedExternalUrls.indexOf(t)<0&&(this.loadedExternalUrls.push(t),a.push(this.importRDF(this.fetchRDF(t),e,b.namedNode(t),o)))}if(this.config.classInstanceProvider&&V.equals(n.predicate)){const t=n.object.value;if(this.loadedClasses.indexOf(t)<0){let n;t in ne?n=ne[t]:(n=this.config.classInstanceProvider(t),ne[t]=n),this.loadedClasses.push(t),a.push(this.importRDF(n,e,r,o))}}}else l&&this.config.registerPrefixes(l),i(null)}))}));try{yield Promise.allSettled(a)}catch(t){console.warn(t)}}));if(t instanceof Promise&&(t=yield t),t){try{t=yield(0,ee.toRDF)(JSON.parse(t),{format:"application/n-quads"})}catch(t){}yield a(t)}}))}fetchRDF(t){return re(this,void 0,void 0,(function*(){if(t in oe)return oe[t];const e=fetch(t,{headers:{Accept:"text/turtle, application/trig, application/n-triples, application/n-quads, text/n3, application/ld+json"}}).then((t=>t.text()));return oe[t]=e,e}))}toURL(t){if(et(t))return t;if(this.config.prefixes){const e=t.split(":");if(2===e.length){const r=this.config.prefixes[e[0]];if(r&&et(t=t.replace(`${e[0]}:`,r)))return t}}return null}}function se(t){ae=t}class le{constructor(){this.shapes=null,this.shapesUrl=null,this.shapeSubject=null,this.values=null,this.valuesUrl=null,this.valueSubject=null,this.valuesSubject=null,this.valuesNamespace="",this.valuesGraph=null,this.view=null,this.language=null,this.loading="Loading…",this.ignoreOwlImports=null,this.collapse=null,this.submitButton=null,this.generateNodeShapeReference=null,this.showNodeIds=null}}class de{constructor(t,e){this.attributes=new le,this.loader=new ie(this),this.prefixes={},this.editMode=!0,this.dataGraph=new $t,this.lists={},this.groups=[],this.renderedNodes=new Set,this._shapesGraph=new $t,this.theme=t,this.form=e,this.languages=[...new Set(navigator.languages.flatMap((t=>t.length>2?[t.toLocaleLowerCase(),t.substring(0,2)]:t))),""]}updateAttributes(t){const e=new le;if(Object.keys(e).forEach((r=>{const o=t.dataset[r];void 0!==o&&(e[r]=o)})),this.editMode=null===e.view,this.attributes=e,this.attributes.valueSubject&&!this.attributes.valuesSubject&&(this.attributes.valuesSubject=this.attributes.valueSubject),e.language){const t=this.languages.indexOf(e.language);t>-1&&this.languages.splice(t,1),this.languages.unshift(e.language)}this.valuesGraph=e.valuesGraph?b.namedNode(e.valuesGraph):void 0}static dataAttributes(){const t=new le;return Object.keys(t).map((t=>"data-"+t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))))}get shapesGraph(){return this._shapesGraph}set shapesGraph(t){this._shapesGraph=t,this.lists=t.extractLists(),this.groups=[],t.forSubjects((t=>{this.groups.push(t.id)}),P,`${R}PropertyGroup`,null)}registerPrefixes(t){for(const e in t)e&&(this.prefixes[e]=t[e])}}const ce=function(t){return"<"+t.value+">"},pe=/["\\\\\n\r]/,ue=/["\\\\\n\r]/g,be={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r"};function me(t){return be[t]}const fe=function t(e){if(!e)return null;if("BlankNode"===e.termType)return function(t){return"_:"+t.value}(e);if("DefaultGraph"===e.termType)return"";if("Literal"===e.termType)return function(t){const e=(r=t.value,pe.test(r)?r.replace(ue,me):r);var r;return"http://www.w3.org/2001/XMLSchema#string"===t.datatype.value?'"'+e+'"':"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"===t.datatype.value?'"'+e+'"@'+t.language:'"'+e+'"^^'+ce(t.datatype)}(e);if("NamedNode"===e.termType)return ce(e);if("Quad"===e.termType||e.subject&&e.predicate&&e.object&&e.graph)return function(t,e){const r=e(t.subject),o=e(t.predicate),n=e(t.object),a=e(t.graph);return`${r} ${o} ${n} ${a?a+" ":""}.`}(e,t);if("Variable"===e.termType)return function(t){return"?"+t.value}(e);if(e[Symbol.iterator])return function(t,e){return[...t].map((t=>e(t))).join("\n")+"\n"}(e,t);throw new Error(`unknown termType ${e.termType}`)};class he{constructor(t){if(this.index=new Map,t)for(const[e,r]of t)this.set(e,r)}get size(){return this.index.size}clear(){this.index.clear()}delete(t){return this.index.delete(fe(t))}*entries(){for(const[,{term:t,value:e}]of this.index)yield[t,e]}forEach(t,e){for(const r of this.entries())t.call(e,r[1],r[0],this)}get(t){const e=this.index.get(fe(t));return e&&e.value}has(t){return this.index.has(fe(t))}*keys(){for(const[,{term:t}]of this.index)yield t}set(t,e){const r=fe(t);return this.index.set(r,{term:t,value:e}),this}*values(){for(const[,{value:t}]of this.index)yield t}[Symbol.iterator](){return this.entries()[Symbol.iterator]()}}const ge=he;function ve(t){try{return fe(t)}catch(t){return null}}class ye{constructor(t){if(this.index=new Map,t)for(const e of t)this.add(e)}get size(){return this.index.size}add(t){const e=fe(t);return this.index.has(e)||this.index.set(e,t),this}clear(){this.index.clear()}delete(t){return!!t&&this.index.delete(ve(t))}entries(){return this.values().entries()}forEach(t,e){return this.values().forEach(t,e)}has(t){return!!t&&this.index.has(ve(t))}values(){return new Set(this.index.values())}keys(){return this.values()}[Symbol.iterator](){return this.index.values()}}const we=ye,xe=class{constructor({dataset:t,end:e,quad:r,start:o}){this.dataset=t,this.end=e,this.quad=r,this.start=o}get term(){return this.quad[this.end]}get graph(){return this.quad.graph}get startTerm(){return this.quad[this.start]}};class _e{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}_e.prototype.termType="BlankNode";const ke=_e;class je{equals(t){return!!t&&t.termType===this.termType}}je.prototype.termType="DefaultGraph",je.prototype.value="";const Se=je,Ie=function(t,e){if(!e)return null;if("BlankNode"===e.termType)return t.blankNode(e.value);if("DefaultGraph"===e.termType)return t.defaultGraph();if("Literal"===e.termType)return t.literal(e.value,e.language||t.namedNode(e.datatype.value));if("NamedNode"===e.termType)return t.namedNode(e.value);if("Quad"===e.termType){const r=t.fromTerm(e.subject),o=t.fromTerm(e.predicate),n=t.fromTerm(e.object),a=t.fromTerm(e.graph);return t.quad(r,o,n,a)}if("Variable"===e.termType)return t.variable(e.value);throw new Error(`unknown termType ${e.termType}`)};class Ee{constructor(t,e,r){this.value=t,this.language=e,this.datatype=r}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value&&t.language===this.language&&t.datatype.equals(this.datatype)}}Ee.prototype.termType="Literal";const Ne=Ee;class Re{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}Re.prototype.termType="NamedNode";const Te=Re;class Oe{constructor(t,e,r,o){this.subject=t,this.predicate=e,this.object=r,this.graph=o}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&t.subject.equals(this.subject)&&t.predicate.equals(this.predicate)&&t.object.equals(this.object)&&t.graph.equals(this.graph)}}Oe.prototype.termType="Quad",Oe.prototype.value="";const Ae=Oe;class Le{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}Le.prototype.termType="Variable";const Ce=Le,De=new Te("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),Me=new Te("http://www.w3.org/2001/XMLSchema#string");class Pe{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new Se}}namedNode(t){return new Te(t)}blankNode(t){return t=t||"b"+ ++this._data.blankNodeCounter,new ke(t)}literal(t,e){return"string"==typeof e?new Ne(t,e,De):new Ne(t,"",e||Me)}variable(t){return new Ce(t)}defaultGraph(){return this._data.defaultGraph}quad(t,e,r,o=this.defaultGraph()){return new Ae(t,e,r,o)}fromTerm(t){return Ie(this,t)}fromQuad(t){return Ie(this,t)}}Pe.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const Be=new Pe,ze={apply:(t,e,r)=>t(r[0]),get:(t,e)=>t(e)},$e=function(t,{factory:e=Be}={}){const r=(r="")=>e.namedNode(`${t}${r.raw||r}`);return"undefined"==typeof Proxy?r:new Proxy(r,ze)},qe=($e("http://www.w3.org/2001/XMLSchema#"),$e("http://www.w3.org/1999/02/22-rdf-syntax-ns#"));$e("http://www.w3.org/2000/01/rdf-schema#");class Fe{static add({ptr:t,start:e,end:r,subjects:o=[null],predicates:n=[null],objects:a=[null],graphs:i,callback:s}={}){if(!t.factory)throw new Error("add operation requires a factory");let l=()=>{};s&&(l=o=>{s(new xe({dataset:t.dataset,start:e,end:r,quad:o}))});for(const r of o)for(const o of n)for(const n of a)for(const a of i){const i={subject:r,predicate:o,object:n,graph:a};i[e]=t.term;const s=t.factory.quad(i.subject,i.predicate,i.object,i.graph);t.dataset.add(s),l(s)}return t}static addList({ptr:t,predicates:e,items:r,graphs:o}){if(t.isAny())throw new Error("can't attach a list to an any ptr");for(const n of e)for(const e of o){const o=r.map((()=>t.factory.blankNode()));t.dataset.add(t.factory.quad(t.term,n,o[0]||qe.nil,e));for(let n=0;n<o.length;n++)t.dataset.add(t.factory.quad(o[n],qe.first,r[n],e)),t.dataset.add(t.factory.quad(o[n],qe.rest,o[n+1]||qe.nil,e))}return t}static delete({ptr:t,start:e,subjects:r=[null],predicates:o=[null],objects:n=[null]}){for(const a of r)for(const r of o)for(const o of n){const n={subject:a,predicate:r,object:o};n[e]=t.term;const i=t.dataset.match(n.subject,n.predicate,n.object);for(const e of i)t.dataset.delete(e)}return t}static deleteList({ptr:t,predicates:e}){const r=[];for(const o of e)for(const e of t.dataset.match(t.term,o)){let o=e.object;for(r.push(e);!qe.nil.equals(o);){o=r[r.length-1].object;const e=t.dataset.match(o);if(0===e.size)break;for(const t of e)r.push(t)}}for(const e of r)t.dataset.delete(e);return t}static execute({ptr:t,operation:e="traverse",quantifier:r,start:o,end:n,subjects:a,predicates:i,objects:s,graphs:l,items:d,callback:c}={}){if("add"===e)return Fe.add({ptr:t,start:o,end:n,subjects:a,predicates:i,objects:s,graphs:l,callback:c});if("addList"===e)return Fe.addList({ptr:t,predicates:i,items:d,graphs:l});if("delete"===e)return Fe.delete({ptr:t,start:o,subjects:a,predicates:i,objects:s});if("deleteList"===e)return Fe.deleteList({ptr:t,predicates:i});if("isList"===e)return Fe.isList({ptr:t});if("list"===e)return Fe.list({ptr:t});if("traverse"===e)return Fe.traverse({ptr:t,quantifier:r,start:o,end:n,subjects:a,predicates:i,objects:s,graphs:l});throw new Error(`unknown operation ${e}`)}static isList({ptr:t}){return!t.isAny()&&(!!qe.nil.equals(t.term)||1===Fe.traverse({ptr:t,predicates:[qe.first]}).length)}static list({ptr:t}){if(t.isList())return{*[Symbol.iterator](){for(;t&&!t.term.equals(qe.nil);){const e=t.out([qe.first]);if(1!==e.length)throw new Error(`Invalid list: rdf:first count not equals one on ${t.value}`);const r=t.out([qe.rest]);if(1!==r.length)throw new Error(`Invalid list: rdf:rest count not equals one on ${t.value}`);yield e[0],t=r[0]}}}}static traverse({ptr:t,quantifier:e="one",start:r="subject",end:o="object",subjects:n=[null],predicates:a=[null],objects:i=[null],graphs:s=[null],callback:l}){if("one"===e)return Fe.traverseOne({ptr:t,start:r,end:o,subjects:n,predicates:a,objects:i,graphs:s,callback:l});if("oneOrMore"===e){const e=Fe.traverse({ptr:t,end:o,start:r,subjects:n,predicates:a,objects:i,graphs:s,callback:l});return Fe.traverseMore({ptrs:e,end:o,start:r,subjects:n,predicates:a,objects:i,graphs:s,callback:l})}if("zeroOrMore"===e)return Fe.traverseMore({ptrs:[t],end:o,start:r,subjects:n,predicates:a,objects:i,graphs:s,callback:l});if("zeroOrOne"===e)return[t,...Fe.traverse({ptr:t,end:o,start:r,subjects:n,predicates:a,objects:i,graphs:s,callback:l})];throw new Error(`unknown quantifier ${e}`)}static traverseMore({ptrs:t,end:e,start:r,subjects:o,predicates:n,objects:a,graphs:i,callback:s}={}){let l,d,c=[...t];do{l=[];for(const d of t)l=[...l,...Fe.traverseOne({ptr:d,end:e,start:r,subjects:o,predicates:n,objects:a,graphs:i,callback:s})];d&&(l=l.filter((t=>!d.has(t.term)))),t=l,c=[...c,...l],d=new we(c.map((t=>t.term)))}while(l.length>0);return c}static traverseOne({ptr:t,start:e,end:r,subjects:o,predicates:n,objects:a,graphs:i,callback:s=(t,e)=>e.extend(t)}={}){const l=[];for(const d of o)for(const o of n)for(const n of a)for(const a of i){const i={subject:d,predicate:o,object:n,graph:a};i[e]=t.term;for(const o of t.dataset.match(i.subject,i.predicate,i.object,i.graph))l.push(s(new xe({dataset:t.dataset,end:r,quad:o,start:e}),t))}return l}}const Ge=Fe;function Ue(t,e){return e?r=>e(t.extend(r)):()=>{}}const He=class{constructor({dataset:t,edges:e=[],factory:r,graph:o,term:n}){if(!t&&0===e.length)throw new Error("dataset or edges is required");if(0===e.length&&void 0===n)throw new Error("edges or term must be given");if(e.length>0&&n)throw new Error("edges or term must be given");this.dataset=t||e[e.length-1].dataset,this.edges=e,this.factory=r,this._graph=o,0===e.length&&(this._term=n)}get edge(){return this.edges[this.edges.length-1]}get graph(){return"object"==typeof this._graph?this._graph:this.edge&&this.edge.graph}get length(){return void 0!==this._term?1:this.edges.length+1}get startTerm(){return this._term||this.edges[0].startTerm}get term(){return void 0!==this._term?this._term:this.edge.term}get value(){const t=this.term;return null===t?void 0:t.value}addIn(t,e,r){return Ge.add({ptr:this,start:"object",end:"subject",subjects:e,predicates:t,graphs:[this.graph||this.factory.defaultGraph()],callback:Ue(this,r)})}addList(t,e){return Ge.addList({ptr:this,predicates:t,graphs:[this.graph||this.factory.defaultGraph()],items:e})}addOut(t,e,r){return Ge.add({ptr:this,start:"subject",end:"object",predicates:t,objects:e,graphs:[this.graph||this.factory.defaultGraph()],callback:Ue(this,r)})}deleteIn(t,e){return Ge.delete({ptr:this,start:"object",subjects:e,predicates:t})}deleteList(t){return Ge.deleteList({ptr:this,predicates:t})}deleteOut(t,e){return Ge.delete({ptr:this,start:"subject",predicates:t,objects:e})}execute({operation:t,quantifier:e,start:r,end:o,subjects:n,predicates:a,objects:i,graphs:s,items:l,callback:d}){return Ge.execute({ptr:this,operation:t,quantifier:e,start:r,end:o,subjects:n,predicates:a,objects:i,graphs:s,items:l,callback:d})}extend(t){return new this.constructor({dataset:this.dataset,edges:[...this.edges,t],factory:this.factory,graph:this._graph})}hasIn(t,e){return Ge.traverse({ptr:this,start:"object",end:"object",subjects:e,predicates:t,graphs:[this.graph]})}hasOut(t,e){return Ge.traverse({ptr:this,start:"subject",end:"subject",predicates:t,objects:e,graphs:[this.graph]})}in(t,e){return Ge.traverse({ptr:this,start:"object",end:"subject",subjects:e,predicates:t,graphs:[this.graph]})}isAny(){return!this.term}isList(){return Ge.isList({ptr:this})}list(){return Ge.list({ptr:this})}nodes(){const t=this,e=t=>void 0!==this._term?{dataset:this.dataset,term:this._term}:this.edges.length>t?{dataset:this.edges[t].dataset,term:this.edges[t].startTerm}:this.edges.length===t?{dataset:this.edges[t-1].dataset,term:this.edges[t-1].term}:void 0;return{*[Symbol.iterator](){for(let r=0;r<t.length;r++)yield e(r)}}}out(t,e){return Ge.traverse({ptr:this,predicates:t,objects:e,graphs:[this.graph]})}quads(){const t=this;return{*[Symbol.iterator](){for(const e of t.edges)yield e.quad}}}trim(){return new this.constructor({dataset:this.dataset,factory:this.factory,graph:this.graph,term:this.term})}},Ve=function(t,e){return t?t.equals(e):t===e};function We(t,e){return e?r=>e(new t.constructor({factory:t.factory,ptrs:[r]})):()=>{}}class Je{constructor({dataset:t,factory:e,ptrs:r,terms:o,graphs:n}){if(this.factory=e,r)this.ptrs=[...r];else{this.ptrs=[];for(const r of o||[null])for(const o of n||[null])this.ptrs.push(new He({dataset:t,factory:e,graph:o,term:r}))}}get dataset(){const t=new Set(this.datasets);return 1!==t.size?null:t[Symbol.iterator]().next().value}get datasets(){return this.ptrs.map((t=>t.dataset))}get term(){const t=new we(this.terms);if(1===t.size)return t[Symbol.iterator]().next().value}get terms(){return this.ptrs.map((t=>t.term))}get value(){const t=this.term;return null==t?void 0:t.value}get values(){return this.ptrs.map((t=>t.value))}addIn(t,e,r){const o=We(this,r);for(const r of this.ptrs)r.addIn(t,e,o);return this}addList(t,e){if(this.isAny())throw new Error("can't attach a list to an any ptr");for(const r of this.ptrs)r.addList(t,e);return this}addOut(t,e,r){const o=We(this,r);for(const r of this.ptrs)r.addOut(t,e,o);return this}clone(t){return new this.constructor({factory:this.factory,ptrs:this.ptrs,...t})}deleteIn(t,e){for(const r of this.ptrs)r.deleteIn(t,e);return this}deleteList(t){for(const e of this.ptrs)e.deleteList(t);return this}deleteOut(t,e){for(const r of this.ptrs)r.deleteOut(t,e);return this}distinct(){const t=this.ptrs.reduce(((t,e)=>(t.some((t=>{return o=e,(r=t).dataset===o.dataset&&!!Ve(r.graph,o.graph)&&!!Ve(r.term,o.term);var r,o}))||t.push(e.trim()),t)),[]);return this.clone({ptrs:t})}execute(t){return this.clone({ptrs:this.ptrs.flatMap((e=>e.execute(t)))})}executeAll(t){let e=this;for(const r of t)e=e.execute(r);return e}filter(t){return this.clone({ptrs:[...this].filter(t).map((t=>t.ptrs[0]))})}hasIn(t,e){return this.clone({ptrs:this.ptrs.flatMap((r=>r.hasIn(t,e)))})}hasOut(t,e){return this.clone({ptrs:this.ptrs.flatMap((r=>r.hasOut(t,e)))})}in(t,e){return this.clone({ptrs:this.ptrs.flatMap((r=>r.in(t,e)))})}isAny(){return this.ptrs.length>0&&this.ptrs.some((t=>t.isAny()))}isList(){return 1===this.ptrs.length&&this.ptrs[0].isList()}list(){if(!this.isList())return;const t=this.ptrs[0].list()[Symbol.iterator](),e=()=>{const{done:e,value:r}=t.next();return e?{done:!0}:{done:!1,value:this.clone({ptrs:[r]})}};return{[Symbol.iterator]:()=>({next:e})}}map(t){return[...this].map(t)}node(t){const e=this.dataset,r=[...t].map((t=>new He({dataset:e,factory:this.factory,term:t})));return this.clone({ptrs:r})}out(t,e){return this.clone({ptrs:this.ptrs.flatMap((r=>r.out(t,e)))})}quads(){const t=this;return{*[Symbol.iterator](){for(const e of t.ptrs)for(const t of e.edges)yield t.quad}}}trim(){return this.clone({ptrs:this.ptrs.map((t=>t.trim()))})}*[Symbol.iterator](){for(const t of this.ptrs)yield this.clone({ptrs:[t]})}}const Qe=Je;$e("http://www.w3.org/2002/07/owl#");const Xe=$e("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),Ye=$e("http://www.w3.org/2000/01/rdf-schema#"),Ke=$e("http://www.w3.org/ns/shacl#"),Ze=$e("https://schemas.link/shacl-next#"),tr=$e("http://www.w3.org/2001/XMLSchema#");var er=r(8059);const rr=class{constructor({details:t,factory:e,options:r,results:o=[]}={}){this.details=t,this.factory=e,this.options=r,this.results=o,this._conforms=er((()=>!this.results.some((t=>t.severity.equals(Ke.Info)||t.severity.equals(Ke.Violation)||t.severity.equals(Ke.Warning))))),this._ptr=er((()=>this.build()))}get conforms(){return this._conforms()}get dataset(){return this.ptr.dataset}get ptr(){return this._ptr()}get term(){return this.ptr.term}build(){const t=new Qe({dataset:this.factory.dataset(),factory:this.factory,terms:[this.factory.blankNode()]});t.addOut([Xe.type],[Ke.ValidationReport]).addOut([Ke.conforms],[this.factory.literal(this.conforms.toString(),tr.boolean)]);for(const e of this.results)t.addOut([Ke.result],[this.factory.blankNode()],(t=>{e.build(t,this.options)}));return t}coverage(){return this.results.flatMap((t=>t.coverage()))}},or=class{constructor({args:t={},constraintComponent:e,factory:r,focusNode:o,message:n=[],path:a,results:i=[],severity:s,shape:l,source:d=[],value:c,valuePaths:p=[]}={}){this.args=t,this.constraintComponent=e,this.factory=r,this.focusNode=o,this.path=a||l.path,this.results=i,this.severity=s,this.shape=l,this.source=d,this.value=c,this.valuePaths=p,this._message=er((()=>(this.shape.message.length>0&&(n=this.shape.message),0===n.length&&(n=this.shape.ptr.node([this.constraintComponent]).out([Ke.message]).terms),n.map((e=>r.literal(function(t,e){return Object.entries(e).reduce(((t,[e,r])=>(r&&r.termType&&(r=fe(r)),t.replace(`{$${e}}`,r).replace(`{?${e}}`,r))),t)}(e.value,t),e.language||null))))))}get message(){return this._message()}build(t,{details:e}={}){t.addOut([Xe.type],[Ke.ValidationResult]).addOut([Ke.focusNode],this.focusNode.terms).addOut([Ke.resultSeverity],[this.severity]).addOut([Ke.sourceConstraint],this.source).addOut([Ke.sourceConstraintComponent],[this.constraintComponent]).addOut([Ke.sourceShape],this.shape.ptr.terms),this.message&&t.addOut([Ke.resultMessage],this.message);const r=e=>"one"===e.quantifier?e.predicates.length>1?t.node([this.factory.blankNode()]).addList([Ke.alternativePath],e.predicates):"object"===e.start?t.node([this.factory.blankNode()]).addOut([Ke.inversePath],[e.predicates[0]]):t.node([e.predicates[0]]):"oneOrMore"===e.quantifier?t.node([this.factory.blankNode()]).addOut([Ke.oneOrMorePath],[e.predicates[0]]):"zeroOrMore"===e.quantifier?t.node([this.factory.blankNode()]).addOut([Ke.zeroOrMorePath],[e.predicates[0]]):"zeroOrOne"===e.quantifier?t.node([this.factory.blankNode()]).addOut([Ke.zeroOrOnePath],[e.predicates[0]]):void 0;if(this.path&&(1===this.path.length?t.addOut([Ke.resultPath],r(this.path[0]).terms):t.addList([Ke.resultPath],this.path.map((t=>r(t).term)))),void 0!==this.value&&t.addOut([Ke.value],this.value.terms),e)for(const r of this.results)t.addOut([Ke.detail],[this.factory.blankNode()],(t=>{r.build(t,{details:e})}))}coverage(){return[...this.valuePaths.flatMap((t=>[...t.quads()])),...this.results.flatMap((t=>t.coverage()))]}};class nr{constructor({factory:t,focusNode:e,options:r={debug:!1,details:!1},processed:o=new Set,report:n=new rr({factory:t,options:r}),results:a=new Map,shape:i,value:s,valueOrNode:l,valuePaths:d,values:c}={}){this.factory=t,this.focusNode=e,this.options=r,this.processed=o,this.report=n,this.results=a,this.shape=i,this.value=s,this.valuePaths=d,this.valueOrNode=l,this.values=c}create({child:t,focusNode:e=this.focusNode,shape:r=this.shape,value:o=this.value,valueOrNode:n=this.valueOrNode,valuePaths:a=this.valuePaths,values:i=this.values}={}){return new nr({factory:this.factory,focusNode:e,options:this.options,processed:this.processed,report:t?new rr({factory:this.factory,options:this.options}):this.report,results:this.results,shape:r,value:o,valueOrNode:n,valuePaths:a,values:i})}id({shape:t=this.shape}={}){return`${fe(t.ptr.term)} - ${fe(this.focusNode.term)} - ${e=this.valuePaths,e?`{${e.map((t=>function(t){return t?`{${[...t.quads()].map((t=>fe(t))).join(" ")}}`:"{}"}(t))).join(" ")}}`:"{}"}`;var e}result(t){const e=new or({factory:this.factory,focusNode:this.focusNode,shape:this.shape,value:this.value,valuePaths:this.valuePaths,...t}),r=this.id();this.results.has(r)?this.results.get(r).add(e):this.results.set(r,new Set([e])),this.report.results.push(e)}debug(t,e){this.options.debug&&this.result({severity:Ze.Debug,constraintComponent:t,...e})}trace(t,e){this.options.trace&&this.result({severity:Ze.Trace,constraintComponent:t,...e})}test(t,e,r){t?this.debug(e,r):this.violation(e,r)}violation(t,e){this.result({constraintComponent:t,severity:this.shape.severity||Ke.Violation,...e})}}const ar=nr;function ir(){return{generic:t=>{t.trace(Ze.TraversalConstraintComponent,{args:{},message:[t.factory.literal("Traversal")],value:t.valueOrNode})}}}const sr=class{constructor(t){this.validations=new ge(t)}compile(t){const e=t.validator.options.coverage;if(t.deactivated)return[];let r=!1;const o=new Set;for(const e of t.ptr.execute({start:"subject",end:"predicate"})){const t=this.validations.get(e.term);t&&(o.add(t),e.term.equals(Ke.property)&&(r=!0))}return e&&t.isPropertyShape&&!r&&o.add(ir),[...o].map((e=>e(t))).filter(Boolean)}};var lr=r(9349);function dr(t){if("BlankNode"!==t.term.termType)return{quantifier:"one",start:"subject",end:"object",predicates:[t.term]};const e=t.out([Ke.alternativePath]);if(1===e.ptrs.length&&e.ptrs[0].isList())return{quantifier:"one",start:"subject",end:"object",predicates:[...e.list()].map((t=>t.term))};const r=t.out([Ke.inversePath]);if(r.term)return{quantifier:"one",start:"object",end:"subject",predicates:[r.term]};const o=t.out([Ke.oneOrMorePath]);if(o.term)return{quantifier:"oneOrMore",start:"subject",end:"object",predicates:[o.term]};const n=t.out([Ke.zeroOrMorePath]);if(n.term)return{quantifier:"zeroOrMore",start:"subject",end:"object",predicates:[n.term]};const a=t.out([Ke.zeroOrOnePath]);return a.term?{quantifier:"zeroOrOne",start:"subject",end:"object",predicates:[a.term]}:void 0}const cr=class{constructor(t){this.shape=t,this._compiled=er((()=>this.shape.validator.registry.compile(t)))}get compiled(){return this._compiled()}async validate(t){return 0===t.focusNode.dataset.size||(this.shape.isPropertyShape?await this.validateProperty(t):await this.validateNode(t)),t}async validateNode(t){const e=t.create({shape:this.shape,valueOrNode:t.value||t.focusNode});for(const t of this.compiled)t.node&&await t.node(e),t.generic&&await t.generic(e)}async validateProperty(t){let e;e=this.shape.isSparqlShape?t.focusNode:t.focusNode.executeAll(this.shape.path);const r=e.node(new we(e.terms)),o=[...e].reduce(((t,r)=>{const o=r.term,n=e.node([o]);return t.has(o)||t.set(o,{value:n,valuePaths:[]}),t.get(o).valuePaths.push(r),t}),new ge).values(),n=t.create({shape:this.shape,values:r});for(const t of this.compiled)t.property&&await t.property(n);for(const{value:e,valuePaths:r}of o){const o=t.create({shape:this.shape,value:e,valueOrNode:e,valuePaths:r});for(const t of this.compiled)t.generic&&await t.generic(o)}}},pr=function(t){const e=new we,r=new Qe({dataset:t.dataset,terms:t.terms}).execute({quantifier:"zeroOrMore",start:"object",end:"subject",predicates:[Ye.subClassOf]});for(const t of r.ptrs)for(const{term:r}of t.nodes())e.add(r);return e},ur=class{constructor(t){this.targetClass=new we([...pr(t.hasOut([Xe.type],[Ke.NodeShape])),...pr(t.out([Ke.targetClass]))]),this.targetNode=t.out([Ke.targetNode]).terms,this.targetObjectsOf=t.out([Ke.targetObjectsOf]).terms,this.targetSubjectsOf=t.out([Ke.targetSubjectsOf]).terms}resolve(t){const e=t.focusNode.node([null]),r=[...t.focusNode.hasOut([Xe.type],this.targetClass).ptrs,...t.focusNode.node(this.targetNode).ptrs,...e.execute({start:"object",end:"object",predicates:this.targetObjectsOf}).ptrs,...e.execute({start:"subject",end:"subject",predicates:this.targetSubjectsOf}).ptrs],o=t.focusNode.clone({ptrs:r});return o.node([...new we(o.terms)])}},br=class{constructor(t,{validator:e}){this.ptr=t,this.validator=e,this._deactivated=er((()=>{const t=this.ptr.out([Ke.deactivated]).term;return t&&(0,lr.fromRdf)(t)})),this._message=er((()=>this.ptr.out([Ke.message]).terms)),this._path=er((()=>function(t){return 0===t.terms.length?null:t.ptrs[0].isList()?[...t.list()].map((t=>dr(t))):[dr(t)]}(this.ptr.out([Ke.path])))),this._severity=er((()=>this.ptr.out([Ke.severity]).term)),this._shapeValidator=er((()=>new cr(this))),this._sparql=er((()=>this.ptr.out([Ke.sparql]))),this._targetResolver=er((()=>new ur(this.ptr)))}get deactivated(){return this._deactivated()}get isPropertyShape(){return Boolean(this.path)}get isSparqlShape(){return this.sparql.terms.length>0}get path(){return this._path()}get targetResolver(){return this._targetResolver()}get message(){return this._message()}get severity(){return this._severity()}get shapeValidator(){return this._shapeValidator()}get sparql(){return this._sparql()}resolveTargets(t){return this.targetResolver.resolve(t)}async validate(t){const e=t.id({shape:this});if(t.processed.has(e)){if(t.results.has(e))for(const r of t.results.get(e))t.report.results.push(r);return t}return t.processed.add(e),this.shapeValidator.validate(t)}};async function mr(t,e){return Promise.all(t.map(e))}function fr(t){return e=>{e.test(t.equals(e.valueOrNode.term),Ke.HasValueConstraintComponent,{args:{hasValue:t},message:[e.factory.literal("Value must be {$hasValue}")]})}}function hr(t){return e=>{const r=[...e.values].some((e=>t.equals(e.term)));e.test(r,Ke.HasValueConstraintComponent,{args:{hasValue:t},message:[e.factory.literal("Missing expected value {$hasValue}")]})}}function gr(t){return tr.dateTime.equals(t.datatype)&&/^.*(((\+|-)\d{2}:\d{2})|Z)$/.test(t.value)}const vr=function(t,e){if(!t||"Literal"!==t.termType)return null;if(!e||"Literal"!==e.termType)return null;if(gr(t)!==gr(e))return null;const r=(0,lr.fromRdf)(t),o=(0,lr.fromRdf)(e);return typeof r!=typeof o?null:"string"==typeof r?r.localeCompare(o):r-o};function yr(t){return e=>{const r=e.focusNode.out([t]),o=r.filter((t=>!t.term.equals(e.focusNode.term))),n=0!==r.terms.length&&0===o.terms.length;e.test(n,Ke.EqualsConstraintComponent,{args:{equals:t},message:[e.factory.literal("Must have same values as {$equals}")],value:o.terms[0]&&e.focusNode.node([o.terms[0]])||e.focusNode})}}function wr(t){return e=>{const r=new we(e.focusNode.out([t]).terms),o=new we(e.values.terms),n=[...[...o].filter((t=>!r.has(t))),...[...r].filter((t=>!o.has(t)))];for(const r of n)e.violation(Ke.EqualsConstraintComponent,{args:{equals:t},message:[e.factory.literal("Must have same values as {$equals}")],value:e.focusNode.node([r])});0===n.length&&e.debug(Ke.EqualsConstraintComponent,{args:{equals:t},message:[e.factory.literal("Must have same values as {$equals}")]})}}function xr(t,e,r,o){return async n=>{const a=[];let i=[];e&&(i=new Set(n.shape.ptr.in([Ke.property]).out([Ke.property]).out([Ke.qualifiedValueShape]).filter((e=>!e.term.equals(t.ptr.term))).map((t=>n.shape.validator.shape(t)))));const s=(await async function(e){return(await Promise.all(e.map((e=>(async e=>{const r=(await t.validate(n.create({child:!0,focusNode:e}))).report;if(a.push(r.results),!r.conforms)return!1;if(0===i.length)return!0;if(n.options.debug||n.options.details){const t=await mr([...i],(async t=>(await t.validate(n.create({child:!0,focusNode:e}))).report));return a.push(t.flatMap((t=>t.results))),!t.every((t=>t.conforms))}return!await async function(t,e){for(const r of t)if(!await e(r))return!1;return!0}([...i],(async t=>(await t.validate(n.create({child:!0,focusNode:e}))).report.conforms))})(e))))).filter(Boolean)}(n.values)).length;null!==r&&n.test(s<=r,Ke.QualifiedMaxCountConstraintComponent,{args:{qualifiedMaxCount:r,qualifiedValueShape:t.ptr.term,qualifiedValueShapesDisjoint:e},message:[n.factory.literal("More than {$qualifiedMaxCount} values have shape {$qualifiedValueShape}")],results:a.flat()}),null!==o&&n.test(s>=o,Ke.QualifiedMinCountConstraintComponent,{args:{qualifiedMinCount:o,qualifiedValueShape:t.ptr.term,qualifiedValueShapesDisjoint:e},message:[n.factory.literal("Less than {$qualifiedMinCount} values have shape {$qualifiedValueShape}")],results:a.flat()})}}function _r(t,e,r){return o=>{o.test(r.test(o.valueOrNode.term.value),Ke.PatternConstraintComponent,{args:{flags:e,pattern:t},message:[o.factory.literal('Value does not match pattern "{$pattern}"')],value:o.valueOrNode})}}const kr=$e("http://www.w3.org/ns/shacl#"),jr=$e("https://schemas.link/shacl-next#"),Sr=class{constructor({results:t=[]}={}){this.results=t}get conforms(){return!this.results.some((t=>t.severity.equals(kr.Info)||t.severity.equals(kr.Violation)||t.severity.equals(kr.Warning)))}},Ir=class{constructor({args:t={},factory:e,message:r=[],severity:o=kr.Violation}={}){this.severity=o,this.message=r.map((r=>e.literal(function(t,e){return Object.entries(e).reduce(((t,[e,r])=>(r&&r.termType&&(r=fe(r)),t.replace(`{$${e}}`,r).replace(`{?${e}}`,r))),t)}(r.value,t),r.language||null)))}};class Er{constructor({factory:t=Be}={}){this.factory=t}clone({factory:t}={}){return new Er({factory:t||this.factory})}validate(){return new Sr}validateSimple(){return!0}}const Nr=Er;class Rr extends Nr{constructor({datatypes:t,factory:e}={}){super({factory:e}),this.datatypes=[];for(const e of Array.isArray(t)?t:[t])e&&this.datatypes.push(this.factory.fromTerm(e))}clone({factory:t}={}){return new Rr({datatypes:this.datatypes,factory:t||this.factory})}}const Tr=Rr,Or=class{constructor({factory:t=Be,validations:e}={}){if(this.factory=t,this.validations=new ge,e)for(const t of Object.values(e)){const e=t.clone({factory:this.factory});for(const t of e.datatypes)this.validations.set(t,e)}}validate(t){const e=this.validations.get(t.datatype);return e?e.validate(t):new Sr}validateSimple(t){const e=this.validations.get(t.datatype);return!e||e.validateSimple(t)}};class Ar extends Tr{constructor(t,e,{factory:r}={}){super({datatypes:e,factory:r}),this.message=[this.factory.literal("term value {$this} matches pattern {$pattern}")],this.patterns=Array.isArray(t)?t:[t]}clone({factory:t}={}){return new Ar(this.patterns,this.datatypes,{factory:t||this.factory})}validate(t){const e=this.patterns.map((e=>{let r;e.test(t.value)&&(r=jr.Debug);const o={pattern:this.factory.literal(e.toString()),this:t};return new Ir({args:o,factory:this.factory,message:this.message,severity:r})}));return new Sr({results:e})}validateSimple(t){return this.patterns.every((e=>e.test(t.value)))}}const Lr=Ar,Cr=/^([-+]?[0-9]+)$/;class Dr extends Lr{constructor(t=null,e=null,r,{factory:o}={}){super(Cr,r,{factory:o}),this.maxInclusive=null,this.minInclusive=null,"string"==typeof e&&(this.maxInclusive=BigInt(e)),"string"==typeof t&&(this.minInclusive=BigInt(t))}clone({factory:t}={}){return new Dr(this.minInclusive?.toString(),this.maxInclusive?.toString(),this.datatypes,{factory:t||this.factory})}validate(t){const e=super.validate(t).results;if(!jr.Debug.equals(e[0].severity))return new Sr({results:e});const r=BigInt(t.value);if(null!==this.minInclusive&&r<this.minInclusive){const r=`term value "${t.value}" is less than "${this.minInclusive.toString()}"`,o=[this.factory.literal(r)];e.push(new Ir({factory:this.factory,message:o}))}if(null!==this.maxInclusive&&r>this.maxInclusive){const r=`term value "${t.value}" is greater than "${this.maxInclusive.toString()}"`,o=[this.factory.literal(r)];e.push(new Ir({factory:this.factory,message:o}))}return new Sr({results:e})}validateSimple(t){if(!super.validateSimple(t))return!1;const e=BigInt(t.value);return!(null!==this.minInclusive&&e<this.minInclusive||null!==this.maxInclusive&&e>this.maxInclusive)}}const Mr=Dr;class Pr extends Tr{constructor(t,e,{factory:r}={}){super({datatypes:e,factory:r}),this.values=new Set(t)}clone({factory:t}={}){return new Pr(this.values,this.datatypes,{factory:t||this.factory})}validate(t){const e=[];if(!this.values.has(t.value)){const r=`term value "${t.value}" is not included in the list: ${[...this.values].join(",")}`,o=[this.factory.literal(r)];e.push(new Ir({factory:this.factory,message:o}))}return new Sr({results:e})}validateSimple(t){return this.values.has(t.value)}}const Br=Pr,zr={xsd:$e("http://www.w3.org/2001/XMLSchema#")},$r=new Tr({datatypes:zr.xsd.anySimpleType}),qr=new Tr({datatypes:zr.xsd.anyAtomicType}),Fr=/^([^\ud8ff-\udfff\ufffe-\uffff]*)$/,Gr=/^((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee](\+|-)?[0-9]+)?|(\+|-)?INF|NaN)$/,Ur=/^(-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\.[0-9]+)?S)?|([0-9]+(\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\.[0-9]+)?S)?|([0-9]+(\.[0-9]+)?S)))))$/,Hr=/^(-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,Vr=new Lr(Fr,zr.xsd.string),Wr=new Br(["1","true","0","false"],zr.xsd.boolean),Jr=new Lr(/^((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+))$/,zr.xsd.decimal),Qr=new Lr(Gr,zr.xsd.float),Xr=new Lr(Gr,zr.xsd.double),Yr=new Lr(Ur,zr.xsd.duration),Kr=new Lr(Hr,zr.xsd.dateTime),Zr=new Lr(/^((([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,zr.xsd.time),to=new Lr(/^(-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,zr.xsd.date),eo=new Lr(/^(-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,zr.xsd.gYearMonth),ro=new Lr(/^(-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,zr.xsd.gYear),oo=new Lr(/^(--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,zr.xsd.gMonthDay),no=new Lr(/^(---(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,zr.xsd.gDay),ao=new Lr(/^(--(0[1-9]|1[0-2])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,zr.xsd.gMonth),io=new Lr(/^(([0-9a-fA-F]{2})*)$/,zr.xsd.hexBinary),so=new Lr(/^(((([A-Za-z0-9+/] ?){4})*(([A-Za-z0-9+/] ?){3}[A-Za-z0-9+/]|([A-Za-z0-9+/] ?){2}[AEIMQUYcgkosw048] ?=|[A-Za-z0-9+/] ?[AQgw] ?= ?=))?)$/,zr.xsd.base64Binary),lo=new Lr(Fr,zr.xsd.anyURI),co=/^([^\u000d\u000a\u0009]*)$/,po=new Lr([Fr,co],zr.xsd.normalizedString),uo=new Lr([Fr,co,/^([^ ]+( [^ ]+)*)*$/],zr.xsd.token),bo=new Lr(/^([a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*)$/,zr.xsd.language),mo=new Mr(null,null,zr.xsd.integer),fo=new Mr(null,"0",zr.xsd.nonPositiveInteger),ho=new Mr(null,"-1",zr.xsd.negativeInteger),go=new Mr("-9223372036854775808","9223372036854775807",zr.xsd.long),vo=new Mr("-2147483648","2147483647",zr.xsd.int),yo=new Mr("-32768","32767",zr.xsd.short),wo=new Mr("-128","127",zr.xsd.byte),xo=new Mr("0",null,zr.xsd.nonNegativeInteger),_o=new Mr("0","18446744073709551615",zr.xsd.unsignedLong),ko=new Mr("0","4294967295",zr.xsd.unsignedInt),jo=new Mr("0","65535",zr.xsd.unsignedShort),So=new Mr("0","255",zr.xsd.unsignedByte),Io=new Mr("1",null,zr.xsd.positiveInteger),Eo=new Lr([Ur,/^([^DT]*)$/],zr.xsd.yearMonthDuration),No=new Lr([Ur,/^([^YM]*[DT].*)$/],zr.xsd.dayTimeDuration),Ro=new Lr([Hr,/^(.*(Z|(\+|-)[0-9][0-9]:[0-9][0-9]))$/],zr.xsd.dateTimeStamp),To=class extends Or{constructor({factory:t}={}){super({factory:t,validations:{...o}})}},Oo=new ge([[Ke.BlankNode,new Set(["BlankNode"])],[Ke.BlankNodeOrIRI,new Set(["BlankNode","NamedNode"])],[Ke.BlankNodeOrLiteral,new Set(["BlankNode","Literal"])],[Ke.IRI,new Set(["NamedNode"])],[Ke.IRIOrLiteral,new Set(["NamedNode","Literal"])],[Ke.Literal,new Set(["Literal"])]]);function Ao(t,e){return r=>{r.test(e.has(r.valueOrNode.term.termType),Ke.NodeKindConstraintComponent,{args:{nodeKind:t},message:[r.factory.literal("Value does not have node kind {$nodeKind}")],value:r.valueOrNode})}}const Lo=new ge([[Ke.maxCount,function(t){return{property:(e=parseInt(t.ptr.out([Ke.maxCount]).value),t=>{t.test(t.values.terms.length<=e,Ke.MaxCountConstraintComponent,{args:{maxCount:e},message:[t.factory.literal("More than {$maxCount} values")]})})};var e}],[Ke.minCount,function(t){return{property:(e=parseInt(t.ptr.out([Ke.minCount]).value),t=>{t.test(t.values.terms.length>=e,Ke.MinCountConstraintComponent,{args:{minCount:e},message:[t.factory.literal("Less than {$minCount} values")]})})};var e}],[Ke.and,function(t){return{generic:(e=[...t.ptr.out([Ke.and])].flatMap((t=>[...t.list()])).map((e=>t.validator.shape(e))),async t=>{const r=await mr(e,(async e=>(await e.validate(t.create({child:!0,focusNode:t.valueOrNode}))).report)),o=r.every((t=>t.conforms));t.test(o,Ke.AndConstraintComponent,{results:r.flatMap((t=>t.results)),value:t.valueOrNode})})};var e}],[Ke.not,function(t){return{generic:(e=t.validator.shape(t.ptr.out([Ke.not])),async t=>{const r=(await e.validate(t.create({child:!0,focusNode:t.valueOrNode}))).report,o=!r.conforms;t.test(o,Ke.NotConstraintComponent,{args:{not:e.ptr.term},message:[t.factory.literal("Value does have shape {$not}")],results:r.results,value:t.valueOrNode})})};var e}],[Ke.or,function(t){return{generic:(e=[...t.ptr.out([Ke.or])].flatMap((t=>[...t.list()])).map((e=>t.validator.shape(e))),async t=>{let r,o=[];if(t.options.debug||t.options.details){const n=await mr(e,(async e=>(await e.validate(t.create({child:!0,focusNode:t.valueOrNode}))).report));o=n.flatMap((t=>t.results)),r=n.some((t=>t.conforms))}else r=await async function(t,e){for(const r of t)if(await e(r))return!0;return!1}(e,(async e=>(await e.validate(t.create({child:!0,focusNode:t.valueOrNode}))).report.conforms));t.test(r,Ke.OrConstraintComponent,{results:o,value:t.valueOrNode})})};var e}],[Ke.xone,function(t){return{generic:(e=[...t.ptr.out([Ke.xone])].flatMap((t=>[...t.list()])).map((e=>t.validator.shape(e))),async t=>{const r=await mr(e,(async e=>(await e.validate(t.create({child:!0,focusNode:t.valueOrNode}))).report)),o=1===r.filter((t=>t.conforms)).length;t.test(o,Ke.XoneConstraintComponent,{results:r.flatMap((t=>t.results)),value:t.valueOrNode})})};var e}],[Ke.closed,function(t){if(!(0,lr.fromRdf)(t.ptr.out([Ke.closed]).term))return null;const e=t.ptr.out([Ke.property]).map((e=>t.validator.shape(e)));return{node:(r=new we(e.filter((t=>!t.deactivated)).map((t=>t.path[0].predicates[0]))),o=new we([...t.ptr.out([Ke.ignoredProperties]).list()||[]].map((t=>t.term))),t=>{const e=t.focusNode.execute({start:"subject",end:"predicate"}).filter((t=>!o.has(t.term)&&!r.has(t.term)));if(e.ptrs.length>0)for(const r of e)t.violation(Ke.ClosedConstraintComponent,{message:[t.factory.literal("Predicate is not allowed (closed shape)")],path:[{quantifier:"one",start:"subject",end:"object",predicates:[r.term]}],value:t.focusNode.node([[...r.quads()][0].object])});else t.debug(Ke.ClosedConstraintComponent)})};var r,o}],[Ke.hasValue,function(t){const e=t.ptr.out([Ke.hasValue]).term;return{node:fr(e),property:hr(e)}}],[Ke.in,function(t){return{generic:(e=new we([...t.ptr.out([Ke.in]).list()].map((t=>t.term))),t=>{t.test(e.has(t.valueOrNode.term),Ke.InConstraintComponent,{args:{in:[...e].map((t=>t.value)).join(", ")},message:[t.factory.literal("Value is not in {$in}")],value:t.valueOrNode})})};var e}],[Ke.disjoint,function(t){return{generic:(e=t.ptr.out([Ke.disjoint]).term,t=>{const r=t.focusNode.dataset.match(t.focusNode.term,e,t.valueOrNode.term);t.test(0===r.size,Ke.DisjointConstraintComponent,{args:{disjoint:e},message:[t.factory.literal("Value node must not also be one of the values of {$disjoint}")],value:t.valueOrNode})})};var e}],[Ke.equals,function(t){const e=t.ptr.out([Ke.equals]).term;return{node:yr(e),property:wr(e)}}],[Ke.lessThan,function(t){return{property:(e=t.ptr.out([Ke.lessThan]).term,t=>{const r=t.focusNode.out([e]).terms;for(const o of t.values)for(const n of r){const r=vr(o.term,n);null===r||r>=0?t.violation(Ke.LessThanConstraintComponent,{args:{lessThan:e},message:[t.factory.literal("Value is not less than value of {$lessThan}")],value:o}):t.debug(Ke.LessThanConstraintComponent,{args:{lessThan:e},message:[t.factory.literal("Value is not less than value of {$lessThan}")],value:o})}})};var e}],[Ke.lessThanOrEquals,function(t){return{property:(e=t.ptr.out([Ke.lessThanOrEquals]).term,t=>{const r=t.focusNode.out([e]).terms;for(const o of t.values)for(const n of r){const r=vr(o.term,n);null===r||r>0?t.violation(Ke.LessThanOrEqualsConstraintComponent,{args:{lessThanOrEquals:e},message:[t.factory.literal("Value is not less than or equal to value of {$lessThanOrEquals}")],value:o}):t.debug(Ke.LessThanOrEqualsConstraintComponent,{args:{lessThanOrEquals:e},message:[t.factory.literal("Value is not less than or equal to value of {$lessThanOrEquals}")],value:o})}})};var e}],[Ke.maxExclusive,function(t){return{generic:(e=t.ptr.out([Ke.maxExclusive]).term,t=>{const r=vr(t.valueOrNode.term,e);t.test(null!==r&&r<0,Ke.MaxExclusiveConstraintComponent,{args:{maxExclusive:e},message:[t.factory.literal("Value is not less than {$maxExclusive}")],value:t.valueOrNode})})};var e}],[Ke.maxInclusive,function(t){return{generic:(e=t.ptr.out([Ke.maxInclusive]).term,t=>{const r=vr(t.valueOrNode.term,e);t.test(null!==r&&r<=0,Ke.MaxInclusiveConstraintComponent,{args:{maxInclusive:e},message:[t.factory.literal("Value is not less than or equal to {$maxInclusive}")],value:t.valueOrNode})})};var e}],[Ke.minExclusive,function(t){return{generic:(e=t.ptr.out([Ke.minExclusive]).term,t=>{const r=vr(t.valueOrNode.term,e);t.test(null!==r&&r>0,Ke.MinExclusiveConstraintComponent,{args:{minExclusive:e},message:[t.factory.literal("Value is not greater than {$minExclusive}")],value:t.valueOrNode})})};var e}],[Ke.minInclusive,function(t){return{generic:(e=t.ptr.out([Ke.minInclusive]).term,t=>{const r=vr(t.valueOrNode.term,e);t.test(null!==r&&r>=0,Ke.MinInclusiveConstraintComponent,{args:{minInclusive:e},message:[t.factory.literal("Value is not greater than or equal to {$minInclusive}")],value:t.valueOrNode})})};var e}],[Ke.node,function(t){return{generic:(e=[...t.ptr.out([Ke.node])].map((e=>t.validator.shape(e))),async t=>{for(const r of e){const e=await r.validate(t.create({child:!0,focusNode:t.valueOrNode}));t.test(e.report.conforms,Ke.NodeConstraintComponent,{args:{node:r.ptr.term},message:[t.factory.literal("Value does not have shape {$node}")],results:e.report.results,value:t.valueOrNode})}})};var e}],[Ke.property,function(t){return{generic:(e=[...t.ptr.out([Ke.property])].map((e=>t.validator.shape(e))),async t=>{const r=t.create({focusNode:t.valueOrNode});for(const t of e)await t.validate(r)})};var e}],[Ke.qualifiedValueShape,function(t){const e=t.validator.shape(t.ptr.out([Ke.qualifiedValueShape])),r=t.ptr.out([Ke.qualifiedValueShapesDisjoint]).term,o=!!r&&(0,lr.fromRdf)(r),n=t.ptr.out([Ke.qualifiedMaxCount]).term,a=n?parseInt(n.value):null,i=t.ptr.out([Ke.qualifiedMinCount]).term;return{property:xr(e,o,a,i?parseInt(i.value):null)}}],[Ke.languageIn,function(t){return{generic:(e=[...new Set([...t.ptr.out([Ke.languageIn]).list()].map((t=>t.value)))],t=>{const r=e.some((e=>function(t,e){return!!e&&e.slice(0,t.length)===t}(e,t.valueOrNode.term.language)));t.test(r,Ke.LanguageInConstraintComponent,{args:{languageIn:e.join(", ")},message:[t.factory.literal("Language does not match any of {$languageIn}")],value:t.valueOrNode})})};var e}],[Ke.maxLength,function(t){return{generic:(e=parseInt(t.ptr.out([Ke.maxLength]).value),t=>{const r="BlankNode"!==t.valueOrNode.term.termType&&t.valueOrNode.value.length<=e;t.test(r,Ke.MaxLengthConstraintComponent,{args:{maxLength:e},message:[t.factory.literal("Value has more than {$maxLength} characters")],value:t.valueOrNode})})};var e}],[Ke.minLength,function(t){return{generic:(e=parseInt(t.ptr.out([Ke.minLength]).value),t=>{const r="BlankNode"!==t.valueOrNode.term.termType&&t.valueOrNode.value.length>=e;t.test(r,Ke.MinLengthConstraintComponent,{args:{minLength:e},message:[t.factory.literal("Value has less than {$minLength} characters")],value:t.valueOrNode})})};var e}],[Ke.pattern,function(t){const e=t.ptr.out([Ke.pattern]).value,r=t.ptr.out([Ke.flags]).value;return{generic:_r(e,r,new RegExp(e,r))}}],[Ke.uniqueLang,function(t){const e=t.ptr.out([Ke.uniqueLang]).term;return"true"===e.value&&tr.boolean.equals(e.datatype)?{property:t=>{const e=Object.entries(t.values.terms.reduce(((t,e)=>(e.language&&(t[e.language]=(t[e.language]||0)+1),t)),{})),r=e.filter((([,t])=>t>1));for(const[e]of r)t.violation(Ke.UniqueLangConstraintComponent,{args:{lang:e},message:[t.factory.literal('Language "{?lang}" used more than once')]});0===r.length&&t.debug(Ke.UniqueLangConstraintComponent)}}:null}],[Ke.class,function(t){return{generic:(e=t.ptr.out([Ke.class]).map((t=>pr(t))),t=>{const r=new we(t.valueOrNode.out([Xe.type]).terms);for(const o of e){const e=[...r].some((t=>o.has(t)));t.test(e,Ke.ClassConstraintComponent,{value:t.valueOrNode})}})};var e}],[Ke.datatype,function(t){return{generic:(e=t.ptr.out([Ke.datatype]).term,r=new To,t=>{const o=e.equals(t.valueOrNode.term.datatype)&&r.validateSimple(t.valueOrNode.term);t.test(o,Ke.DatatypeConstraintComponent,{args:{datatype:e},message:[t.factory.literal("Value does not have datatype {$datatype}")],value:t.valueOrNode})})};var e,r}],[Ke.nodeKind,function(t){const e=t.ptr.out([Ke.nodeKind]).term;return{generic:Ao(e,Oo.get(e))}}]]),Co=class{constructor(t,{factory:e,...r}){if(this.factory=e,this.options=r,this.registry=new sr(Lo),this.shapesPtr=new Qe({dataset:t,factory:e}),this.shapes=new ge,this.options.coverage&&(this.options.debug=!0,this.options.details=!0,this.options.trace=!0),this.options.validations)for(const[t,e]of this.options.validations)this.registry.validations.set(t,e);const o=[...this.shapesPtr.hasOut([Ke.targetClass]),...this.shapesPtr.hasOut([Ke.targetNode]),...this.shapesPtr.hasOut([Ke.targetObjectsOf]),...this.shapesPtr.hasOut([Ke.targetSubjectsOf]),...this.shapesPtr.hasOut([Xe.type],[Ke.NodeShape]),...this.shapesPtr.hasOut([Xe.type],[Ke.PropertyShape])];for(const t of o)this.shape(t)}shape(t){if(!t.term)return null;let e=this.shapes.get(t.term);return e||(e=new br(t,{validator:this}),this.shapes.set(t.term,e)),e}async validate(t,e){const r=new Qe({...t,factory:this.factory}),o=new ar({factory:this.factory,focusNode:r,options:this.options,validator:this});e=e?e.map((t=>this.shape(this.shapesPtr.node(t.terms)))):this.shapes.values();for(const t of e){const e=o.create({shape:t});let n;n=r.isAny()?t.resolveTargets(e):r;for(const r of n)await t.validate(e.create({focusNode:r}))}return o.report}};var Do=function(t,e,r,o){return new(r||(r=Promise))((function(n,a){function i(t){try{l(o.next(t))}catch(t){a(t)}}function s(t){try{l(o.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(i,s)}l((o=o.apply(t,e||[])).next())}))};class Mo extends HTMLElement{static get observedAttributes(){return de.dataAttributes()}constructor(t){super(),this.shape=null,this.attachShadow({mode:"open"}),this.form=document.createElement("form"),this.config=new de(t,this.form),this.form.addEventListener("change",(t=>{t.stopPropagation(),this.config.editMode&&this.validate(!0).then((t=>{this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!1,composed:!0,detail:{valid:t.conforms,report:t}}))})).catch((t=>{console.warn(t)}))}))}connectedCallback(){this.shadowRoot.prepend(this.form)}attributeChangedCallback(){this.config.updateAttributes(this),this.initialize()}initialize(){clearTimeout(this.initDebounceTimeout),this.initDebounceTimeout=setTimeout((()=>Do(this,void 0,void 0,(function*(){this.form.replaceChildren(document.createTextNode(this.config.attributes.loading));try{yield this.config.loader.loadGraphs(),this.form.replaceChildren(),this.config.renderedNodes.clear();const t=this.findRootShaclShapeSubject();if(t){this.form.classList.forEach((t=>{this.form.classList.remove(t)})),this.form.classList.toggle("mode-edit",this.config.editMode),this.form.classList.toggle("mode-view",!this.config.editMode),this.config.theme.apply(this.form);const e=[this.config.theme.stylesheet];for(const t of Object.entries(_t).map((t=>t[1])))t.stylesheet&&e.push(t.stylesheet);if(this.shadowRoot.adoptedStyleSheets=e,this.shape=new Lt(t,this.config,this.config.attributes.valuesSubject?b.namedNode(this.config.attributes.valuesSubject):void 0),this.form.appendChild(this.shape),this.config.editMode){if(null!==this.config.attributes.submitButton){const t=this.config.theme.createButton(this.config.attributes.submitButton||"Submit",!0);t.addEventListener("click",(t=>{t.preventDefault(),this.form.reportValidity()&&this.validate().then((t=>{var e;(null==t?void 0:t.conforms)?this.dispatchEvent(new Event("submit",{bubbles:!0,cancelable:!0})):null===(e=this.form.querySelector(":scope .invalid > .editor"))||void 0===e||e.focus()}))})),this.form.appendChild(t)}yield this.validate(!0)}}else if(this.config.shapesGraph.size>0)throw new Error("shacl root node shape not found")}catch(t){console.error(t);const e=document.createElement("div");e.innerText=String(t),this.form.replaceChildren(e)}}))),200)}serialize(t="text/turtle",e=this.toRDF()){return function(t,e,r){if("application/ld+json"===e)return function(t){const e=[];for(const r of t){const t={"@id":r.subject.id};if(r.predicate===P)t["@type"]=r.object.id;else{let e=r.object.value;r.object instanceof h?r.object.language?e={"@language":r.object.language,"@value":r.object.value}:r.object.datatype&&r.object.datatype.value!==`${O}#string`&&(e={"@type":r.object.datatype.value,"@value":r.object.value}):e={"@id":r.object.id},t[r.predicate.value]=e}e.push(t)}return JSON.stringify(e)}(t);{const o=new yt({format:e,prefixes:r});o.addQuads(t);let n="";return o.end(((t,e)=>{t&&console.error(t),n=e})),n}}(e.getQuads(null,null,null,null),t,this.config.prefixes)}toRDF(t=new $t){var e;return null===(e=this.shape)||void 0===e||e.toRDF(t),t}registerPlugin(t){kt(t),this.initialize()}setTheme(t){this.config.theme=t,this.initialize()}setSharedShapesGraph(t){se(t),this.initialize()}setClassInstanceProvider(t){this.config.classInstanceProvider=t,this.initialize()}validate(){return Do(this,arguments,void 0,(function*(t=!1){var e,r,o,n,a,i;for(const t of this.form.querySelectorAll(":scope .validation-error"))t.remove();for(const t of this.form.querySelectorAll(":scope .property-instance"))t.classList.remove("invalid"),(null===(e=t.querySelector(":scope > .editor"))||void 0===e?void 0:e.value)?t.classList.add("valid"):t.classList.remove("valid");this.config.shapesGraph.deleteGraph(""),null===(r=this.shape)||void 0===r||r.toRDF(this.config.shapesGraph),this.shape&&this.config.shapesGraph.add(new x(this.shape.shaclSubject,b.namedNode(R+"targetNode"),this.shape.nodeId,void 0));try{const e=this.config.shapesGraph,r=yield new Co(e,{details:!0,factory:b}).validate({dataset:e});for(const e of r.results)if(null===(n=null===(o=e.focusNode)||void 0===o?void 0:o.ptrs)||void 0===n?void 0:n.length)for(const r of e.focusNode.ptrs){const o=r._term;if(null===(a=e.path)||void 0===a?void 0:a.length){const r=e.path[0].predicates[0];let n=this.form.querySelectorAll(`:scope [data-node-id='${o.id}'] [data-path='${r.id}'] > .editor`);0===n.length&&(n=this.form.querySelectorAll(`:scope [data-node-id='${o.id}'] [data-path='${r.id}']`));for(const r of n)if(r.classList.contains("editor")){if(!t||r.value){let t=r.parentElement;t.classList.add("invalid"),t.classList.remove("valid"),t.appendChild(this.createValidationErrorDisplay(e));do{t.classList.contains("collapsible")&&t.classList.add("open"),t=t.parentElement}while(t)}}else t||(r.classList.add("invalid"),r.classList.remove("valid"),r.appendChild(this.createValidationErrorDisplay(e,"node")))}else t||null===(i=this.form.querySelector(`:scope [data-node-id='${o.id}']`))||void 0===i||i.prepend(this.createValidationErrorDisplay(e,"node"))}return r}catch(t){return console.error(t),!1}}))}createValidationErrorDisplay(t,e){var r,o;const n=document.createElement("span");if(n.classList.add("validation-error"),e&&n.classList.add(e),t)if((null===(r=t.message)||void 0===r?void 0:r.length)>0)for(const e of t.message)n.title+=e.value+"\n";else n.title=null===(o=t.sourceConstraintComponent)||void 0===o?void 0:o.value;return n}findRootShaclShapeSubject(){let t=null;if(this.config.attributes.shapeSubject){if(t=b.namedNode(this.config.attributes.shapeSubject),0===this.config.shapesGraph.getQuads(t,P,G,null).length)return void console.warn(`shapes graph does not contain requested root shape ${this.config.attributes.shapeSubject}`)}else if(this.config.attributes.valuesSubject&&this.config.dataGraph.size>0){const e=b.namedNode(this.config.attributes.valuesSubject),r=[...this.config.dataGraph.getQuads(e,P,null,null),...this.config.dataGraph.getQuads(e,B,null,null)];if(0===r.length)return void console.warn(`value subject '${this.config.attributes.valuesSubject}' has neither ${P.id} nor ${B.id} statement`);for(const e of r)if(this.config.shapesGraph.getQuads(e.object,P,G,null).length>0){t=e.object;break}if(!t){const e=this.config.shapesGraph.getQuads(null,W,r[0].object,null);if(0===e.length)return void console.error(`value subject '${this.config.attributes.valuesSubject}' has no shacl shape definition in the shapes graph`);if(e.length>1&&console.warn(`value subject '${this.config.attributes.valuesSubject}' has multiple shacl shape definitions in the shapes graph, choosing the first found (${e[0].subject})`),0===this.config.shapesGraph.getQuads(e[0].subject,P,G,null).length)return void console.error(`value subject '${this.config.attributes.valuesSubject}' references a shape which is not a NodeShape (${e[0].subject})`);t=e[0].subject}}else{const e=this.config.shapesGraph.getQuads(null,P,G,null);if(0==e.length)return void console.warn("shapes graph does not contain any root shapes");e.length>1&&(console.warn("shapes graph contains",e.length,"root shapes. choosing first found which is",e[0].subject.value),console.info('hint: set the shape to use with attribute "data-shape-subject"')),t=e[0].subject}return t}}class Po extends it{constructor(t){super(t||".editor:not([type='checkbox']) { border: 1px solid #DDD; padding: 2px 4px; }\n.property-instance label { display: inline-block; word-break: break-word; line-height: 1em; padding-top: 0.15em; padding-right: 1em; flex-shrink: 0; position: relative; }\n.property-instance:not(:first-child) > label { visibility: hidden; max-height: 0; }\n.mode-edit .property-instance label { width: var(--label-width); }\n"),this.idCtr=0}createDefaultTemplate(t,e,r,o,n){var a;o.id="e"+this.idCtr++,o.classList.add("editor"),(null==n?void 0:n.datatype)&&(o.shaclDatatype=n.datatype),void 0!==(null==n?void 0:n.minCount)&&(o.dataset.minCount=String(n.minCount)),(null==n?void 0:n.class)&&(o.dataset.class=n.class.value),(null==n?void 0:n.nodeKind)&&(o.dataset.nodeKind=n.nodeKind.value),((null==n?void 0:n.hasValue)||(null==n?void 0:n.readonly))&&(o.disabled=!0),o.value=(null==e?void 0:e.value)||(null===(a=null==n?void 0:n.defaultValue)||void 0===a?void 0:a.value)||"";const i=document.createElement("label");i.htmlFor=o.id,i.innerText=t,(null==n?void 0:n.description)&&i.setAttribute("title",n.description.value);const s=(null==n?void 0:n.description)?n.description.value:(null==n?void 0:n.pattern)?n.pattern:null;s&&o.setAttribute("placeholder",s),r&&(o.setAttribute("required","true"),i.classList.add("required"));const l=document.createElement("div");return l.appendChild(i),l.appendChild(o),l}createDateEditor(t,e,r,o){var n,a;const i=document.createElement("input");(null===(n=o.datatype)||void 0===n?void 0:n.value)===O+"dateTime"?(i.type="datetime-local",i.setAttribute("step","1")):i.type="date",i.classList.add("pr-0");const s=this.createDefaultTemplate(t,null,r,i,o);if(e)try{let t=new Date(e.value).toISOString();t=(null===(a=o.datatype)||void 0===a?void 0:a.value)===O+"dateTime"?t.slice(0,19):t.slice(0,10),i.value=t}catch(t){console.error(t,e)}return s}createTextEditor(t,e,r,o){let n;return!1===o.singleLine?(n=document.createElement("textarea"),n.rows=5):(n=document.createElement("input"),n.type="text",o.pattern&&(n.pattern=o.pattern)),o.minLength&&(n.minLength=o.minLength),o.maxLength&&(n.maxLength=o.maxLength),this.createDefaultTemplate(t,e,r,n,o)}createLangStringEditor(t,e,r,o){var n;const a=this.createTextEditor(t,e,r,o),i=a.querySelector(":scope .editor");let s;if(null===(n=o.languageIn)||void 0===n?void 0:n.length){s=document.createElement("select");for(const t of o.languageIn){const e=document.createElement("option");e.innerText=t.value,s.appendChild(e)}}else s=document.createElement("input"),s.maxLength=5,s.placeholder="lang?";return s.title="Language of the text",s.classList.add("lang-chooser"),s.addEventListener("change",(t=>{t.stopPropagation(),i&&(i.dataset.lang=s.value,i.dispatchEvent(new Event("change",{bubbles:!0})))})),e instanceof h&&(s.value=e.language),i.dataset.lang=s.value,i.after(s),a}createBooleanEditor(t,e,r,o){var n;const a=document.createElement("input");a.type="checkbox",a.classList.add("ml-0");const i=this.createDefaultTemplate(t,null,r,a,o);return a.removeAttribute("required"),null===(n=i.querySelector(":scope label"))||void 0===n||n.classList.remove("required"),e instanceof h&&(a.checked="true"===e.value),i}createFileEditor(t,e,r,o){const n=document.createElement("input");return n.type="file",n.addEventListener("change",(t=>{var e;if(null===(e=n.files)||void 0===e?void 0:e.length){t.stopPropagation();const e=new FileReader;e.readAsDataURL(n.files[0]),e.onload=()=>{var t;n.binaryData=btoa(e.result),null===(t=n.parentElement)||void 0===t||t.dispatchEvent(new Event("change",{bubbles:!0}))}}else n.binaryData=void 0})),this.createDefaultTemplate(t,e,r,n,o)}createNumberEditor(t,e,r,o){var n;const a=document.createElement("input");a.type="number",a.classList.add("pr-0");const i=void 0!==o.minInclusive?o.minInclusive:void 0!==o.minExclusive?o.minExclusive+1:void 0,s=void 0!==o.maxInclusive?o.maxInclusive:void 0!==o.maxExclusive?o.maxExclusive-1:void 0;return void 0!==i&&(a.min=String(i)),void 0!==s&&(a.max=String(s)),(null===(n=o.datatype)||void 0===n?void 0:n.value)!==O+"integer"&&(a.step="0.1"),this.createDefaultTemplate(t,e,r,a,o)}createListEditor(t,e,r,o,n){const a=document.createElement("select"),i=this.createDefaultTemplate(t,null,r,a,n);let s=!0;for(const t of o){const r=document.createElement("option"),o="string"==typeof t.value?t.value:t.value.value;if(r.innerHTML=t.label?t.label:o,r.value=o,t.indent)for(let e=0;e<t.indent;e++)r.innerHTML="  "+r.innerHTML;e&&e.value===o&&(r.selected=!0),""===o&&(s=!1),a.appendChild(r)}if(s){const t=document.createElement("option");t.value="",e||(t.selected=!0),a.prepend(t)}return e&&(a.value=e.value),i}createButton(t,e){const r=document.createElement("button");return r.type="button",r.innerHTML=t,r}}class Bo extends Po{constructor(){super("@charset \"UTF-8\";/*!\n * Bootstrap v5.3.7 (https://getbootstrap.com/)\n * Copyright 2011-2025 The Bootstrap Authors\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,\"Segoe UI\",Roboto,\"Helvetica Neue\",\"Noto Sans\",\"Liberation Sans\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;line-height:inherit;font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-weight:300;line-height:1.2;font-size:calc(1.625rem + 4.5vw)}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-weight:300;line-height:1.2;font-size:calc(1.575rem + 3.9vw)}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-weight:300;line-height:1.2;font-size:calc(1.525rem + 3.3vw)}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-weight:300;line-height:1.2;font-size:calc(1.475rem + 2.7vw)}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-weight:300;line-height:1.2;font-size:calc(1.425rem + 2.1vw)}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-weight:300;line-height:1.2;font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:\"— \"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size=\"1\"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e\")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e\")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e\");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e\")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e\")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;max-width:100%;height:100%;padding:1rem .75rem;overflow:hidden;color:rgba(var(--bs-body-color-rgb),.65);text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem;padding-left:.75rem}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>textarea:focus~label::after,.form-floating>textarea:not(:placeholder-shown)~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:\"\";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>textarea:disabled~label::after{background-color:var(--bs-secondary-bg)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(-1 * var(--bs-border-width));border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size=\"1\"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size=\"1\"]{--bs-form-select-bg-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e\");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size=\"1\"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size=\"1\"]{--bs-form-select-bg-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\"}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(-1 * var(--bs-border-width))}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(-1 * var(--bs-border-width))}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:nth-child(n+3),.btn-group-vertical>:not(.btn-check)+.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:0.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-grow:1;flex-basis:0;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-grow:1;flex-basis:100%;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, 0.55);--bs-navbar-hover-color:rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color:rgba(255, 255, 255, 0.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child)>.card-header,.card-group>.card:not(:last-child)>.card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child)>.card-footer,.card-group>.card:not(:last-child)>.card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child)>.card-header,.card-group>.card:not(:first-child)>.card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child)>.card-footer,.card-group>.card:not(:first-child)>.card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:\"\";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-collapse,.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e\");--bs-accordion-btn-active-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e\")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, \"/\")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(-1 * var(--bs-border-width))}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:var(--bs-progress-height)}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, \".\") \". \";counter-increment:section}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:not(.active):focus,.list-group-item-action:not(.active):hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:not(.active):active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e\");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;filter:var(--bs-btn-close-filter);border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{--bs-btn-close-filter:invert(1) grayscale(100%) brightness(200%)}:root,[data-bs-theme=light]{--bs-btn-close-filter: }[data-bs-theme=dark]{--bs-btn-close-filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color:var(--bs-body-color);--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transform:translate(0,-50px);transition:transform .3s ease-out}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin-top:calc(-.5 * var(--bs-modal-header-padding-y));margin-right:calc(-.5 * var(--bs-modal-header-padding-x));margin-bottom:calc(-.5 * var(--bs-modal-header-padding-y));margin-left:auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:\"\";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:\"\";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:\"\"}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;filter:var(--bs-carousel-control-icon-filter);border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e\")}.carousel-control-next-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e\")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:var(--bs-carousel-indicator-active-bg);background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:var(--bs-carousel-caption-color);text-align:center}.carousel-dark{--bs-carousel-indicator-active-bg:#000;--bs-carousel-caption-color:#000;--bs-carousel-control-icon-filter:invert(1) grayscale(100)}:root,[data-bs-theme=light]{--bs-carousel-indicator-active-bg:#fff;--bs-carousel-caption-color:#fff;--bs-carousel-control-icon-filter: }[data-bs-theme=dark]{--bs-carousel-indicator-active-bg:#000;--bs-carousel-caption-color:#000;--bs-carousel-control-icon-filter:invert(1) grayscale(100)}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform 0.3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y));margin-left:auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:\"\"}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:\"\"}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-underline-offset:0.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:\"\"}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.visually-hidden *,.visually-hidden-focusable:not(:focus):not(:focus-within) *{overflow:hidden!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:\"\"}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10{--bs-link-opacity:0.1}.link-opacity-10-hover:hover{--bs-link-opacity:0.1}.link-opacity-25{--bs-link-opacity:0.25}.link-opacity-25-hover:hover{--bs-link-opacity:0.25}.link-opacity-50{--bs-link-opacity:0.5}.link-opacity-50-hover:hover{--bs-link-opacity:0.5}.link-opacity-75{--bs-link-opacity:0.75}.link-opacity-75-hover:hover{--bs-link-opacity:0.75}.link-opacity-100{--bs-link-opacity:1}.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1{text-underline-offset:0.125em!important}.link-offset-1-hover:hover{text-underline-offset:0.125em!important}.link-offset-2{text-underline-offset:0.25em!important}.link-offset-2-hover:hover{text-underline-offset:0.25em!important}.link-offset-3{text-underline-offset:0.375em!important}.link-offset-3-hover:hover{text-underline-offset:0.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0{--bs-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10{--bs-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:0.1}.link-underline-opacity-25{--bs-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:0.25}.link-underline-opacity-50{--bs-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:0.5}.link-underline-opacity-75{--bs-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:0.75}.link-underline-opacity-100{--bs-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}\n/*# sourceMappingURL=bootstrap.min.css.map */\nform.mode-edit { --label-width: 0em; }\n.lang-chooser { right: 24px; font-size: 0.8em; }\n.property-instance[data-description]::after { content: attr(data-description); position: absolute; bottom: -12px; left: 13px; font-size: 12px; opacity: 0.7;}\n.property-instance { margin-bottom:14px; }\n.form-floating[data-description] { margin-bottom: 28px; }\n.remove-button { padding: 6px; }")}apply(t){super.apply(t),t.dataset.bsTheme="light"}createDefaultTemplate(t,e,r,o,n){const a=super.createDefaultTemplate(t,e,r,o,n);"checkbox"!==o.type&&(a.classList.add("form-floating"),"SELECT"===o.tagName?o.classList.add("form-select"):o.classList.add("form-control"));const i=a.querySelector("label");return null==i||i.classList.add("form-label"),(null==i?void 0:i.title)&&(a.dataset.description=i.title,i.removeAttribute("title")),a.prepend(o),a}createButton(t,e){const r=super.createButton(t,e);return r.classList.add("btn",e?"btn-primary":"btn-outline-secondary"),r}}class zo extends Mo{constructor(){super(new Bo)}}window.customElements.define("shacl-form",zo);export{de as Config,ie as Loader,jt as Plugin,zo as ShaclForm,at as ShaclPropertyTemplate,it as Theme,X as findLabel,kt as registerPlugin,se as setSharedShapesGraph};
|
|
1
|
+
var Zt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ec(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Ic(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}),t}var Vn={},hr={},ja;function Rc(){if(ja)return hr;ja=1,hr.byteLength=s,hr.toByteArray=d,hr.fromByteArray=v;for(var r=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=n.length;o<i;++o)r[o]=n[o],e[n.charCodeAt(o)]=o;e[45]=62,e[95]=63;function a(b){var g=b.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=b.indexOf("=");x===-1&&(x=g);var _=x===g?0:4-x%4;return[x,_]}function s(b){var g=a(b),x=g[0],_=g[1];return(x+_)*3/4-_}function l(b,g,x){return(g+x)*3/4-x}function d(b){var g,x=a(b),_=x[0],k=x[1],E=new t(l(b,_,k)),y=0,u=k>0?_-4:_,h;for(h=0;h<u;h+=4)g=e[b.charCodeAt(h)]<<18|e[b.charCodeAt(h+1)]<<12|e[b.charCodeAt(h+2)]<<6|e[b.charCodeAt(h+3)],E[y++]=g>>16&255,E[y++]=g>>8&255,E[y++]=g&255;return k===2&&(g=e[b.charCodeAt(h)]<<2|e[b.charCodeAt(h+1)]>>4,E[y++]=g&255),k===1&&(g=e[b.charCodeAt(h)]<<10|e[b.charCodeAt(h+1)]<<4|e[b.charCodeAt(h+2)]>>2,E[y++]=g>>8&255,E[y++]=g&255),E}function f(b){return r[b>>18&63]+r[b>>12&63]+r[b>>6&63]+r[b&63]}function m(b,g,x){for(var _,k=[],E=g;E<x;E+=3)_=(b[E]<<16&16711680)+(b[E+1]<<8&65280)+(b[E+2]&255),k.push(f(_));return k.join("")}function v(b){for(var g,x=b.length,_=x%3,k=[],E=16383,y=0,u=x-_;y<u;y+=E)k.push(m(b,y,y+E>u?u:y+E));return _===1?(g=b[x-1],k.push(r[g>>2]+r[g<<4&63]+"==")):_===2&&(g=(b[x-2]<<8)+b[x-1],k.push(r[g>>10]+r[g>>4&63]+r[g<<2&63]+"=")),k.join("")}return hr}var tn={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Ta;function Nc(){return Ta||(Ta=1,tn.read=function(r,e,t,n,o){var i,a,s=o*8-n-1,l=(1<<s)-1,d=l>>1,f=-7,m=t?o-1:0,v=t?-1:1,b=r[e+m];for(m+=v,i=b&(1<<-f)-1,b>>=-f,f+=s;f>0;i=i*256+r[e+m],m+=v,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=a*256+r[e+m],m+=v,f-=8);if(i===0)i=1-d;else{if(i===l)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),i=i-d}return(b?-1:1)*a*Math.pow(2,i-n)},tn.write=function(r,e,t,n,o,i){var a,s,l,d=i*8-o-1,f=(1<<d)-1,m=f>>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:i-1,g=n?1:-1,x=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+m>=1?e+=v/l:e+=v*Math.pow(2,1-m),e*l>=2&&(a++,l/=2),a+m>=f?(s=0,a=f):a+m>=1?(s=(e*l-1)*Math.pow(2,o),a=a+m):(s=e*Math.pow(2,m-1)*Math.pow(2,o),a=0));o>=8;r[t+b]=s&255,b+=g,s/=256,o-=8);for(a=a<<o|s,d+=o;d>0;r[t+b]=a&255,b+=g,a/=256,d-=8);r[t+b-g]|=x*128}),tn}/*!
|
|
2
|
+
* The buffer module from node.js, for the browser.
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/var Aa;function vt(){return Aa||(Aa=1,function(r){const e=Rc(),t=Nc(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=s,r.SlowBuffer=E,r.INSPECT_MAX_BYTES=50;const o=2147483647;r.kMaxLength=o,s.TYPED_ARRAY_SUPPORT=i(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const S=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(S,c),S.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function a(S){if(S>o)throw new RangeError('The value "'+S+'" is invalid for option "size"');const c=new Uint8Array(S);return Object.setPrototypeOf(c,s.prototype),c}function s(S,c,p){if(typeof S=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return m(S)}return l(S,c,p)}s.poolSize=8192;function l(S,c,p){if(typeof S=="string")return v(S,c);if(ArrayBuffer.isView(S))return g(S);if(S==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S);if(ie(S,ArrayBuffer)||S&&ie(S.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ie(S,SharedArrayBuffer)||S&&ie(S.buffer,SharedArrayBuffer)))return x(S,c,p);if(typeof S=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const $=S.valueOf&&S.valueOf();if($!=null&&$!==S)return s.from($,c,p);const J=_(S);if(J)return J;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof S[Symbol.toPrimitive]=="function")return s.from(S[Symbol.toPrimitive]("string"),c,p);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S)}s.from=function(S,c,p){return l(S,c,p)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function d(S){if(typeof S!="number")throw new TypeError('"size" argument must be of type number');if(S<0)throw new RangeError('The value "'+S+'" is invalid for option "size"')}function f(S,c,p){return d(S),S<=0?a(S):c!==void 0?typeof p=="string"?a(S).fill(c,p):a(S).fill(c):a(S)}s.alloc=function(S,c,p){return f(S,c,p)};function m(S){return d(S),a(S<0?0:k(S)|0)}s.allocUnsafe=function(S){return m(S)},s.allocUnsafeSlow=function(S){return m(S)};function v(S,c){if((typeof c!="string"||c==="")&&(c="utf8"),!s.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const p=y(S,c)|0;let $=a(p);const J=$.write(S,c);return J!==p&&($=$.slice(0,J)),$}function b(S){const c=S.length<0?0:k(S.length)|0,p=a(c);for(let $=0;$<c;$+=1)p[$]=S[$]&255;return p}function g(S){if(ie(S,Uint8Array)){const c=new Uint8Array(S);return x(c.buffer,c.byteOffset,c.byteLength)}return b(S)}function x(S,c,p){if(c<0||S.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(S.byteLength<c+(p||0))throw new RangeError('"length" is outside of buffer bounds');let $;return c===void 0&&p===void 0?$=new Uint8Array(S):p===void 0?$=new Uint8Array(S,c):$=new Uint8Array(S,c,p),Object.setPrototypeOf($,s.prototype),$}function _(S){if(s.isBuffer(S)){const c=k(S.length)|0,p=a(c);return p.length===0||S.copy(p,0,0,c),p}if(S.length!==void 0)return typeof S.length!="number"||Se(S.length)?a(0):b(S);if(S.type==="Buffer"&&Array.isArray(S.data))return b(S.data)}function k(S){if(S>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return S|0}function E(S){return+S!=S&&(S=0),s.alloc(+S)}s.isBuffer=function(c){return c!=null&&c._isBuffer===!0&&c!==s.prototype},s.compare=function(c,p){if(ie(c,Uint8Array)&&(c=s.from(c,c.offset,c.byteLength)),ie(p,Uint8Array)&&(p=s.from(p,p.offset,p.byteLength)),!s.isBuffer(c)||!s.isBuffer(p))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(c===p)return 0;let $=c.length,J=p.length;for(let oe=0,se=Math.min($,J);oe<se;++oe)if(c[oe]!==p[oe]){$=c[oe],J=p[oe];break}return $<J?-1:J<$?1:0},s.isEncoding=function(c){switch(String(c).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(c,p){if(!Array.isArray(c))throw new TypeError('"list" argument must be an Array of Buffers');if(c.length===0)return s.alloc(0);let $;if(p===void 0)for(p=0,$=0;$<c.length;++$)p+=c[$].length;const J=s.allocUnsafe(p);let oe=0;for($=0;$<c.length;++$){let se=c[$];if(ie(se,Uint8Array))oe+se.length>J.length?(s.isBuffer(se)||(se=s.from(se)),se.copy(J,oe)):Uint8Array.prototype.set.call(J,se,oe);else if(s.isBuffer(se))se.copy(J,oe);else throw new TypeError('"list" argument must be an Array of Buffers');oe+=se.length}return J};function y(S,c){if(s.isBuffer(S))return S.length;if(ArrayBuffer.isView(S)||ie(S,ArrayBuffer))return S.byteLength;if(typeof S!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof S);const p=S.length,$=arguments.length>2&&arguments[2]===!0;if(!$&&p===0)return 0;let J=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":return ue(S).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p*2;case"hex":return p>>>1;case"base64":return le(S).length;default:if(J)return $?-1:ue(S).length;c=(""+c).toLowerCase(),J=!0}}s.byteLength=y;function u(S,c,p){let $=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((p===void 0||p>this.length)&&(p=this.length),p<=0)||(p>>>=0,c>>>=0,p<=c))return"";for(S||(S="utf8");;)switch(S){case"hex":return K(this,c,p);case"utf8":case"utf-8":return A(this,c,p);case"ascii":return ee(this,c,p);case"latin1":case"binary":return C(this,c,p);case"base64":return j(this,c,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,c,p);default:if($)throw new TypeError("Unknown encoding: "+S);S=(S+"").toLowerCase(),$=!0}}s.prototype._isBuffer=!0;function h(S,c,p){const $=S[c];S[c]=S[p],S[p]=$}s.prototype.swap16=function(){const c=this.length;if(c%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let p=0;p<c;p+=2)h(this,p,p+1);return this},s.prototype.swap32=function(){const c=this.length;if(c%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let p=0;p<c;p+=4)h(this,p,p+3),h(this,p+1,p+2);return this},s.prototype.swap64=function(){const c=this.length;if(c%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let p=0;p<c;p+=8)h(this,p,p+7),h(this,p+1,p+6),h(this,p+2,p+5),h(this,p+3,p+4);return this},s.prototype.toString=function(){const c=this.length;return c===0?"":arguments.length===0?A(this,0,c):u.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(c){if(!s.isBuffer(c))throw new TypeError("Argument must be a Buffer");return this===c?!0:s.compare(this,c)===0},s.prototype.inspect=function(){let c="";const p=r.INSPECT_MAX_BYTES;return c=this.toString("hex",0,p).replace(/(.{2})/g,"$1 ").trim(),this.length>p&&(c+=" ... "),"<Buffer "+c+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(c,p,$,J,oe){if(ie(c,Uint8Array)&&(c=s.from(c,c.offset,c.byteLength)),!s.isBuffer(c))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof c);if(p===void 0&&(p=0),$===void 0&&($=c?c.length:0),J===void 0&&(J=0),oe===void 0&&(oe=this.length),p<0||$>c.length||J<0||oe>this.length)throw new RangeError("out of range index");if(J>=oe&&p>=$)return 0;if(J>=oe)return-1;if(p>=$)return 1;if(p>>>=0,$>>>=0,J>>>=0,oe>>>=0,this===c)return 0;let se=oe-J,ye=$-p;const Te=Math.min(se,ye),Ne=this.slice(J,oe),Ae=c.slice(p,$);for(let Ee=0;Ee<Te;++Ee)if(Ne[Ee]!==Ae[Ee]){se=Ne[Ee],ye=Ae[Ee];break}return se<ye?-1:ye<se?1:0};function R(S,c,p,$,J){if(S.length===0)return-1;if(typeof p=="string"?($=p,p=0):p>2147483647?p=2147483647:p<-2147483648&&(p=-2147483648),p=+p,Se(p)&&(p=J?0:S.length-1),p<0&&(p=S.length+p),p>=S.length){if(J)return-1;p=S.length-1}else if(p<0)if(J)p=0;else return-1;if(typeof c=="string"&&(c=s.from(c,$)),s.isBuffer(c))return c.length===0?-1:D(S,c,p,$,J);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?J?Uint8Array.prototype.indexOf.call(S,c,p):Uint8Array.prototype.lastIndexOf.call(S,c,p):D(S,[c],p,$,J);throw new TypeError("val must be string, number or Buffer")}function D(S,c,p,$,J){let oe=1,se=S.length,ye=c.length;if($!==void 0&&($=String($).toLowerCase(),$==="ucs2"||$==="ucs-2"||$==="utf16le"||$==="utf-16le")){if(S.length<2||c.length<2)return-1;oe=2,se/=2,ye/=2,p/=2}function Te(Ae,Ee){return oe===1?Ae[Ee]:Ae.readUInt16BE(Ee*oe)}let Ne;if(J){let Ae=-1;for(Ne=p;Ne<se;Ne++)if(Te(S,Ne)===Te(c,Ae===-1?0:Ne-Ae)){if(Ae===-1&&(Ae=Ne),Ne-Ae+1===ye)return Ae*oe}else Ae!==-1&&(Ne-=Ne-Ae),Ae=-1}else for(p+ye>se&&(p=se-ye),Ne=p;Ne>=0;Ne--){let Ae=!0;for(let Ee=0;Ee<ye;Ee++)if(Te(S,Ne+Ee)!==Te(c,Ee)){Ae=!1;break}if(Ae)return Ne}return-1}s.prototype.includes=function(c,p,$){return this.indexOf(c,p,$)!==-1},s.prototype.indexOf=function(c,p,$){return R(this,c,p,$,!0)},s.prototype.lastIndexOf=function(c,p,$){return R(this,c,p,$,!1)};function N(S,c,p,$){p=Number(p)||0;const J=S.length-p;$?($=Number($),$>J&&($=J)):$=J;const oe=c.length;$>oe/2&&($=oe/2);let se;for(se=0;se<$;++se){const ye=parseInt(c.substr(se*2,2),16);if(Se(ye))return se;S[p+se]=ye}return se}function B(S,c,p,$){return fe(ue(c,S.length-p),S,p,$)}function I(S,c,p,$){return fe(he(c),S,p,$)}function M(S,c,p,$){return fe(le(c),S,p,$)}function q(S,c,p,$){return fe(X(c,S.length-p),S,p,$)}s.prototype.write=function(c,p,$,J){if(p===void 0)J="utf8",$=this.length,p=0;else if($===void 0&&typeof p=="string")J=p,$=this.length,p=0;else if(isFinite(p))p=p>>>0,isFinite($)?($=$>>>0,J===void 0&&(J="utf8")):(J=$,$=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const oe=this.length-p;if(($===void 0||$>oe)&&($=oe),c.length>0&&($<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");J||(J="utf8");let se=!1;for(;;)switch(J){case"hex":return N(this,c,p,$);case"utf8":case"utf-8":return B(this,c,p,$);case"ascii":case"latin1":case"binary":return I(this,c,p,$);case"base64":return M(this,c,p,$);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,c,p,$);default:if(se)throw new TypeError("Unknown encoding: "+J);J=(""+J).toLowerCase(),se=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(S,c,p){return c===0&&p===S.length?e.fromByteArray(S):e.fromByteArray(S.slice(c,p))}function A(S,c,p){p=Math.min(S.length,p);const $=[];let J=c;for(;J<p;){const oe=S[J];let se=null,ye=oe>239?4:oe>223?3:oe>191?2:1;if(J+ye<=p){let Te,Ne,Ae,Ee;switch(ye){case 1:oe<128&&(se=oe);break;case 2:Te=S[J+1],(Te&192)===128&&(Ee=(oe&31)<<6|Te&63,Ee>127&&(se=Ee));break;case 3:Te=S[J+1],Ne=S[J+2],(Te&192)===128&&(Ne&192)===128&&(Ee=(oe&15)<<12|(Te&63)<<6|Ne&63,Ee>2047&&(Ee<55296||Ee>57343)&&(se=Ee));break;case 4:Te=S[J+1],Ne=S[J+2],Ae=S[J+3],(Te&192)===128&&(Ne&192)===128&&(Ae&192)===128&&(Ee=(oe&15)<<18|(Te&63)<<12|(Ne&63)<<6|Ae&63,Ee>65535&&Ee<1114112&&(se=Ee))}}se===null?(se=65533,ye=1):se>65535&&(se-=65536,$.push(se>>>10&1023|55296),se=56320|se&1023),$.push(se),J+=ye}return T($)}const Y=4096;function T(S){const c=S.length;if(c<=Y)return String.fromCharCode.apply(String,S);let p="",$=0;for(;$<c;)p+=String.fromCharCode.apply(String,S.slice($,$+=Y));return p}function ee(S,c,p){let $="";p=Math.min(S.length,p);for(let J=c;J<p;++J)$+=String.fromCharCode(S[J]&127);return $}function C(S,c,p){let $="";p=Math.min(S.length,p);for(let J=c;J<p;++J)$+=String.fromCharCode(S[J]);return $}function K(S,c,p){const $=S.length;(!c||c<0)&&(c=0),(!p||p<0||p>$)&&(p=$);let J="";for(let oe=c;oe<p;++oe)J+=qe[S[oe]];return J}function w(S,c,p){const $=S.slice(c,p);let J="";for(let oe=0;oe<$.length-1;oe+=2)J+=String.fromCharCode($[oe]+$[oe+1]*256);return J}s.prototype.slice=function(c,p){const $=this.length;c=~~c,p=p===void 0?$:~~p,c<0?(c+=$,c<0&&(c=0)):c>$&&(c=$),p<0?(p+=$,p<0&&(p=0)):p>$&&(p=$),p<c&&(p=c);const J=this.subarray(c,p);return Object.setPrototypeOf(J,s.prototype),J};function z(S,c,p){if(S%1!==0||S<0)throw new RangeError("offset is not uint");if(S+c>p)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(c,p,$){c=c>>>0,p=p>>>0,$||z(c,p,this.length);let J=this[c],oe=1,se=0;for(;++se<p&&(oe*=256);)J+=this[c+se]*oe;return J},s.prototype.readUintBE=s.prototype.readUIntBE=function(c,p,$){c=c>>>0,p=p>>>0,$||z(c,p,this.length);let J=this[c+--p],oe=1;for(;p>0&&(oe*=256);)J+=this[c+--p]*oe;return J},s.prototype.readUint8=s.prototype.readUInt8=function(c,p){return c=c>>>0,p||z(c,1,this.length),this[c]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(c,p){return c=c>>>0,p||z(c,2,this.length),this[c]|this[c+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(c,p){return c=c>>>0,p||z(c,2,this.length),this[c]<<8|this[c+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(c,p){return c=c>>>0,p||z(c,4,this.length),(this[c]|this[c+1]<<8|this[c+2]<<16)+this[c+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(c,p){return c=c>>>0,p||z(c,4,this.length),this[c]*16777216+(this[c+1]<<16|this[c+2]<<8|this[c+3])},s.prototype.readBigUInt64LE=we(function(c){c=c>>>0,L(c,"offset");const p=this[c],$=this[c+7];(p===void 0||$===void 0)&&G(c,this.length-8);const J=p+this[++c]*2**8+this[++c]*2**16+this[++c]*2**24,oe=this[++c]+this[++c]*2**8+this[++c]*2**16+$*2**24;return BigInt(J)+(BigInt(oe)<<BigInt(32))}),s.prototype.readBigUInt64BE=we(function(c){c=c>>>0,L(c,"offset");const p=this[c],$=this[c+7];(p===void 0||$===void 0)&&G(c,this.length-8);const J=p*2**24+this[++c]*2**16+this[++c]*2**8+this[++c],oe=this[++c]*2**24+this[++c]*2**16+this[++c]*2**8+$;return(BigInt(J)<<BigInt(32))+BigInt(oe)}),s.prototype.readIntLE=function(c,p,$){c=c>>>0,p=p>>>0,$||z(c,p,this.length);let J=this[c],oe=1,se=0;for(;++se<p&&(oe*=256);)J+=this[c+se]*oe;return oe*=128,J>=oe&&(J-=Math.pow(2,8*p)),J},s.prototype.readIntBE=function(c,p,$){c=c>>>0,p=p>>>0,$||z(c,p,this.length);let J=p,oe=1,se=this[c+--J];for(;J>0&&(oe*=256);)se+=this[c+--J]*oe;return oe*=128,se>=oe&&(se-=Math.pow(2,8*p)),se},s.prototype.readInt8=function(c,p){return c=c>>>0,p||z(c,1,this.length),this[c]&128?(255-this[c]+1)*-1:this[c]},s.prototype.readInt16LE=function(c,p){c=c>>>0,p||z(c,2,this.length);const $=this[c]|this[c+1]<<8;return $&32768?$|4294901760:$},s.prototype.readInt16BE=function(c,p){c=c>>>0,p||z(c,2,this.length);const $=this[c+1]|this[c]<<8;return $&32768?$|4294901760:$},s.prototype.readInt32LE=function(c,p){return c=c>>>0,p||z(c,4,this.length),this[c]|this[c+1]<<8|this[c+2]<<16|this[c+3]<<24},s.prototype.readInt32BE=function(c,p){return c=c>>>0,p||z(c,4,this.length),this[c]<<24|this[c+1]<<16|this[c+2]<<8|this[c+3]},s.prototype.readBigInt64LE=we(function(c){c=c>>>0,L(c,"offset");const p=this[c],$=this[c+7];(p===void 0||$===void 0)&&G(c,this.length-8);const J=this[c+4]+this[c+5]*2**8+this[c+6]*2**16+($<<24);return(BigInt(J)<<BigInt(32))+BigInt(p+this[++c]*2**8+this[++c]*2**16+this[++c]*2**24)}),s.prototype.readBigInt64BE=we(function(c){c=c>>>0,L(c,"offset");const p=this[c],$=this[c+7];(p===void 0||$===void 0)&&G(c,this.length-8);const J=(p<<24)+this[++c]*2**16+this[++c]*2**8+this[++c];return(BigInt(J)<<BigInt(32))+BigInt(this[++c]*2**24+this[++c]*2**16+this[++c]*2**8+$)}),s.prototype.readFloatLE=function(c,p){return c=c>>>0,p||z(c,4,this.length),t.read(this,c,!0,23,4)},s.prototype.readFloatBE=function(c,p){return c=c>>>0,p||z(c,4,this.length),t.read(this,c,!1,23,4)},s.prototype.readDoubleLE=function(c,p){return c=c>>>0,p||z(c,8,this.length),t.read(this,c,!0,52,8)},s.prototype.readDoubleBE=function(c,p){return c=c>>>0,p||z(c,8,this.length),t.read(this,c,!1,52,8)};function Q(S,c,p,$,J,oe){if(!s.isBuffer(S))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>J||c<oe)throw new RangeError('"value" argument is out of bounds');if(p+$>S.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(c,p,$,J){if(c=+c,p=p>>>0,$=$>>>0,!J){const ye=Math.pow(2,8*$)-1;Q(this,c,p,$,ye,0)}let oe=1,se=0;for(this[p]=c&255;++se<$&&(oe*=256);)this[p+se]=c/oe&255;return p+$},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(c,p,$,J){if(c=+c,p=p>>>0,$=$>>>0,!J){const ye=Math.pow(2,8*$)-1;Q(this,c,p,$,ye,0)}let oe=$-1,se=1;for(this[p+oe]=c&255;--oe>=0&&(se*=256);)this[p+oe]=c/se&255;return p+$},s.prototype.writeUint8=s.prototype.writeUInt8=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,1,255,0),this[p]=c&255,p+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,2,65535,0),this[p]=c&255,this[p+1]=c>>>8,p+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,2,65535,0),this[p]=c>>>8,this[p+1]=c&255,p+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,4,4294967295,0),this[p+3]=c>>>24,this[p+2]=c>>>16,this[p+1]=c>>>8,this[p]=c&255,p+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,4,4294967295,0),this[p]=c>>>24,this[p+1]=c>>>16,this[p+2]=c>>>8,this[p+3]=c&255,p+4};function W(S,c,p,$,J){pe(c,$,J,S,p,7);let oe=Number(c&BigInt(4294967295));S[p++]=oe,oe=oe>>8,S[p++]=oe,oe=oe>>8,S[p++]=oe,oe=oe>>8,S[p++]=oe;let se=Number(c>>BigInt(32)&BigInt(4294967295));return S[p++]=se,se=se>>8,S[p++]=se,se=se>>8,S[p++]=se,se=se>>8,S[p++]=se,p}function ae(S,c,p,$,J){pe(c,$,J,S,p,7);let oe=Number(c&BigInt(4294967295));S[p+7]=oe,oe=oe>>8,S[p+6]=oe,oe=oe>>8,S[p+5]=oe,oe=oe>>8,S[p+4]=oe;let se=Number(c>>BigInt(32)&BigInt(4294967295));return S[p+3]=se,se=se>>8,S[p+2]=se,se=se>>8,S[p+1]=se,se=se>>8,S[p]=se,p+8}s.prototype.writeBigUInt64LE=we(function(c,p=0){return W(this,c,p,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=we(function(c,p=0){return ae(this,c,p,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(c,p,$,J){if(c=+c,p=p>>>0,!J){const Te=Math.pow(2,8*$-1);Q(this,c,p,$,Te-1,-Te)}let oe=0,se=1,ye=0;for(this[p]=c&255;++oe<$&&(se*=256);)c<0&&ye===0&&this[p+oe-1]!==0&&(ye=1),this[p+oe]=(c/se>>0)-ye&255;return p+$},s.prototype.writeIntBE=function(c,p,$,J){if(c=+c,p=p>>>0,!J){const Te=Math.pow(2,8*$-1);Q(this,c,p,$,Te-1,-Te)}let oe=$-1,se=1,ye=0;for(this[p+oe]=c&255;--oe>=0&&(se*=256);)c<0&&ye===0&&this[p+oe+1]!==0&&(ye=1),this[p+oe]=(c/se>>0)-ye&255;return p+$},s.prototype.writeInt8=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,1,127,-128),c<0&&(c=255+c+1),this[p]=c&255,p+1},s.prototype.writeInt16LE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,2,32767,-32768),this[p]=c&255,this[p+1]=c>>>8,p+2},s.prototype.writeInt16BE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,2,32767,-32768),this[p]=c>>>8,this[p+1]=c&255,p+2},s.prototype.writeInt32LE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,4,2147483647,-2147483648),this[p]=c&255,this[p+1]=c>>>8,this[p+2]=c>>>16,this[p+3]=c>>>24,p+4},s.prototype.writeInt32BE=function(c,p,$){return c=+c,p=p>>>0,$||Q(this,c,p,4,2147483647,-2147483648),c<0&&(c=4294967295+c+1),this[p]=c>>>24,this[p+1]=c>>>16,this[p+2]=c>>>8,this[p+3]=c&255,p+4},s.prototype.writeBigInt64LE=we(function(c,p=0){return W(this,c,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=we(function(c,p=0){return ae(this,c,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function U(S,c,p,$,J,oe){if(p+$>S.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function H(S,c,p,$,J){return c=+c,p=p>>>0,J||U(S,c,p,4),t.write(S,c,p,$,23,4),p+4}s.prototype.writeFloatLE=function(c,p,$){return H(this,c,p,!0,$)},s.prototype.writeFloatBE=function(c,p,$){return H(this,c,p,!1,$)};function V(S,c,p,$,J){return c=+c,p=p>>>0,J||U(S,c,p,8),t.write(S,c,p,$,52,8),p+8}s.prototype.writeDoubleLE=function(c,p,$){return V(this,c,p,!0,$)},s.prototype.writeDoubleBE=function(c,p,$){return V(this,c,p,!1,$)},s.prototype.copy=function(c,p,$,J){if(!s.isBuffer(c))throw new TypeError("argument should be a Buffer");if($||($=0),!J&&J!==0&&(J=this.length),p>=c.length&&(p=c.length),p||(p=0),J>0&&J<$&&(J=$),J===$||c.length===0||this.length===0)return 0;if(p<0)throw new RangeError("targetStart out of bounds");if($<0||$>=this.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("sourceEnd out of bounds");J>this.length&&(J=this.length),c.length-p<J-$&&(J=c.length-p+$);const oe=J-$;return this===c&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(p,$,J):Uint8Array.prototype.set.call(c,this.subarray($,J),p),oe},s.prototype.fill=function(c,p,$,J){if(typeof c=="string"){if(typeof p=="string"?(J=p,p=0,$=this.length):typeof $=="string"&&(J=$,$=this.length),J!==void 0&&typeof J!="string")throw new TypeError("encoding must be a string");if(typeof J=="string"&&!s.isEncoding(J))throw new TypeError("Unknown encoding: "+J);if(c.length===1){const se=c.charCodeAt(0);(J==="utf8"&&se<128||J==="latin1")&&(c=se)}}else typeof c=="number"?c=c&255:typeof c=="boolean"&&(c=Number(c));if(p<0||this.length<p||this.length<$)throw new RangeError("Out of range index");if($<=p)return this;p=p>>>0,$=$===void 0?this.length:$>>>0,c||(c=0);let oe;if(typeof c=="number")for(oe=p;oe<$;++oe)this[oe]=c;else{const se=s.isBuffer(c)?c:s.from(c,J),ye=se.length;if(ye===0)throw new TypeError('The value "'+c+'" is invalid for argument "value"');for(oe=0;oe<$-p;++oe)this[oe+p]=se[oe%ye]}return this};const F={};function Z(S,c,p){F[S]=class extends p{constructor(){super(),Object.defineProperty(this,"message",{value:c.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${S}]`,this.stack,delete this.name}get code(){return S}set code(J){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:J,writable:!0})}toString(){return`${this.name} [${S}]: ${this.message}`}}}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(S){return S?`${S} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(S,c){return`The "${S}" argument must be of type number. Received type ${typeof c}`},TypeError),Z("ERR_OUT_OF_RANGE",function(S,c,p){let $=`The value of "${S}" is out of range.`,J=p;return Number.isInteger(p)&&Math.abs(p)>2**32?J=te(String(p)):typeof p=="bigint"&&(J=String(p),(p>BigInt(2)**BigInt(32)||p<-(BigInt(2)**BigInt(32)))&&(J=te(J)),J+="n"),$+=` It must be ${c}. Received ${J}`,$},RangeError);function te(S){let c="",p=S.length;const $=S[0]==="-"?1:0;for(;p>=$+4;p-=3)c=`_${S.slice(p-3,p)}${c}`;return`${S.slice(0,p)}${c}`}function ce(S,c,p){L(c,"offset"),(S[c]===void 0||S[c+p]===void 0)&&G(c,S.length-(p+1))}function pe(S,c,p,$,J,oe){if(S>p||S<c){const se=typeof c=="bigint"?"n":"";let ye;throw c===0||c===BigInt(0)?ye=`>= 0${se} and < 2${se} ** ${(oe+1)*8}${se}`:ye=`>= -(2${se} ** ${(oe+1)*8-1}${se}) and < 2 ** ${(oe+1)*8-1}${se}`,new F.ERR_OUT_OF_RANGE("value",ye,S)}ce($,J,oe)}function L(S,c){if(typeof S!="number")throw new F.ERR_INVALID_ARG_TYPE(c,"number",S)}function G(S,c,p){throw Math.floor(S)!==S?(L(S,p),new F.ERR_OUT_OF_RANGE("offset","an integer",S)):c<0?new F.ERR_BUFFER_OUT_OF_BOUNDS:new F.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${c}`,S)}const re=/[^+/0-9A-Za-z-_]/g;function de(S){if(S=S.split("=")[0],S=S.trim().replace(re,""),S.length<2)return"";for(;S.length%4!==0;)S=S+"=";return S}function ue(S,c){c=c||1/0;let p;const $=S.length;let J=null;const oe=[];for(let se=0;se<$;++se){if(p=S.charCodeAt(se),p>55295&&p<57344){if(!J){if(p>56319){(c-=3)>-1&&oe.push(239,191,189);continue}else if(se+1===$){(c-=3)>-1&&oe.push(239,191,189);continue}J=p;continue}if(p<56320){(c-=3)>-1&&oe.push(239,191,189),J=p;continue}p=(J-55296<<10|p-56320)+65536}else J&&(c-=3)>-1&&oe.push(239,191,189);if(J=null,p<128){if((c-=1)<0)break;oe.push(p)}else if(p<2048){if((c-=2)<0)break;oe.push(p>>6|192,p&63|128)}else if(p<65536){if((c-=3)<0)break;oe.push(p>>12|224,p>>6&63|128,p&63|128)}else if(p<1114112){if((c-=4)<0)break;oe.push(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}else throw new Error("Invalid code point")}return oe}function he(S){const c=[];for(let p=0;p<S.length;++p)c.push(S.charCodeAt(p)&255);return c}function X(S,c){let p,$,J;const oe=[];for(let se=0;se<S.length&&!((c-=2)<0);++se)p=S.charCodeAt(se),$=p>>8,J=p%256,oe.push(J),oe.push($);return oe}function le(S){return e.toByteArray(de(S))}function fe(S,c,p,$){let J;for(J=0;J<$&&!(J+p>=c.length||J>=S.length);++J)c[J+p]=S[J];return J}function ie(S,c){return S instanceof c||S!=null&&S.constructor!=null&&S.constructor.name!=null&&S.constructor.name===c.name}function Se(S){return S!==S}const qe=function(){const S="0123456789abcdef",c=new Array(256);for(let p=0;p<16;++p){const $=p*16;for(let J=0;J<16;++J)c[$+J]=S[p]+S[J]}return c}();function we(S){return typeof BigInt>"u"?Ue:S}function Ue(){throw new Error("BigInt not supported")}}(Vn)),Vn}var jc=vt();const br="http://www.w3.org/1999/02/22-rdf-syntax-ns#",mr="http://www.w3.org/2001/XMLSchema#",rn="http://www.w3.org/2000/10/swap/",Pe={xsd:{decimal:`${mr}decimal`,boolean:`${mr}boolean`,double:`${mr}double`,integer:`${mr}integer`,string:`${mr}string`},rdf:{type:`${br}type`,nil:`${br}nil`,first:`${br}first`,rest:`${br}rest`,langString:`${br}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${rn}reify#forSome`,forAll:`${rn}reify#forAll`},log:{implies:`${rn}log#implies`,isImpliedBy:`${rn}log#isImpliedBy`}},{xsd:nn}=Pe,Tc=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,La={"\\":"\\","'":"'",'"':'"',n:`
|
|
7
|
+
`,r:"\r",t:" ",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},Ac=/[\x00-\x20<>\\"\{\}\|\^\`]/,Lc={_iri:!0,_unescapedIri:!0,_simpleQuotedString:!0,_langcode:!0,_blank:!0,_newline:!0,_comment:!0,_whitespace:!0,_endOfFile:!0},Oc=/$0^/;class $c{constructor(e){if(this._iri=/^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/,this._unescapedIri=/^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/,this._simpleQuotedString=/^"([^"\\\r\n]*)"(?=[^"])/,this._simpleApostropheString=/^'([^'\\\r\n]*)'(?=[^'])/,this._langcode=/^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i,this._prefix=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/,this._prefixed=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<>]))/,this._variable=/^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<>])/,this._blank=/^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<>]))/,this._number=/^[\-+]?(?:(\d+\.\d*|\.?\d+)[eE][\-+]?|\d*(\.)?)\d+(?=\.?[,;:\s#()\[\]\{\}"'<>])/,this._boolean=/^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<>])/,this._keyword=/^@[a-z]+(?=[\s#<:])/i,this._sparqlKeyword=/^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i,this._shortPredicates=/^a(?=[\s#()\[\]\{\}"'<>])/,this._newline=/^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/,this._comment=/#([^\n\r]*)/,this._whitespace=/^[ \t]+/,this._endOfFile=/^(?:#[^\n\r]*)?$/,e=e||{},this._isImpliedBy=e.isImpliedBy,this._lineMode=!!e.lineMode){this._n3Mode=!1;for(const t in this)!(t in Lc)&&this[t]instanceof RegExp&&(this[t]=Oc)}else this._n3Mode=e.n3!==!1;this.comments=!!e.comments,this._literalClosingPos=0}_tokenizeToEnd(e,t){let n=this._input,o=n.length;for(;;){let s,l;for(;s=this._newline.exec(n);)this.comments&&(l=this._comment.exec(s[0]))&&i("comment",l[1],"",this._line,s[0].length),n=n.substr(s[0].length,n.length),o=n.length,this._line++;if(!s&&(s=this._whitespace.exec(n))&&(n=n.substr(s[0].length,n.length)),this._endOfFile.test(n))return t&&(this.comments&&(l=this._comment.exec(n))&&i("comment",l[1],"",this._line,n.length),n=null,i("eof","","",this._line,0)),this._input=n;const d=this._line,f=n[0];let m="",v="",b="",g=null,x=0,_=!1;switch(f){case"^":if(n.length<3)break;if(n[1]==="^"){if(this._previousMarker="^^",n=n.substr(2),n[0]!=="<"){_=!0;break}}else{this._n3Mode&&(x=1,m="^");break}case"<":if(g=this._unescapedIri.exec(n))m="IRI",v=g[1];else if(g=this._iri.exec(n)){if(v=this._unescape(g[1]),v===null||Ac.test(v))return a(this);m="IRI"}else n.length>1&&n[1]==="<"?(m="<<",x=2):this._n3Mode&&n.length>1&&n[1]==="="&&(x=2,this._isImpliedBy?(m="abbreviation",v="<"):(m="inverse",v=">"));break;case">":n.length>1&&n[1]===">"&&(m=">>",x=2);break;case"_":((g=this._blank.exec(n))||t&&(g=this._blank.exec(`${n} `)))&&(m="blank",b="_",v=g[1]);break;case'"':if(g=this._simpleQuotedString.exec(n))v=g[1];else if({value:v,matchLength:x}=this._parseLiteral(n),v===null)return a(this);(g!==null||x!==0)&&(m="literal",this._literalClosingPos=0);break;case"'":if(!this._lineMode){if(g=this._simpleApostropheString.exec(n))v=g[1];else if({value:v,matchLength:x}=this._parseLiteral(n),v===null)return a(this);(g!==null||x!==0)&&(m="literal",this._literalClosingPos=0)}break;case"?":this._n3Mode&&(g=this._variable.exec(n))&&(m="var",v=g[0]);break;case"@":this._previousMarker==="literal"&&(g=this._langcode.exec(n))?(m="langcode",v=g[1]):(g=this._keyword.exec(n))&&(m=g[0]);break;case".":if(n.length===1?t:n[1]<"0"||n[1]>"9"){m=".",x=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(g=this._number.exec(n)||t&&(g=this._number.exec(`${n} `)))&&(m="literal",v=g[0],b=typeof g[1]=="string"?nn.double:typeof g[2]=="string"?nn.decimal:nn.integer);break;case"B":case"b":case"p":case"P":case"G":case"g":(g=this._sparqlKeyword.exec(n))?m=g[0].toUpperCase():_=!0;break;case"f":case"t":(g=this._boolean.exec(n))?(m="literal",v=g[0],b=nn.boolean):_=!0;break;case"a":(g=this._shortPredicates.exec(n))?(m="abbreviation",v="a"):_=!0;break;case"=":this._n3Mode&&n.length>1&&(m="abbreviation",n[1]!==">"?(x=1,v="="):(x=2,v=">"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"}":this._lineMode||(x=1,m=f);break;case"{":!this._lineMode&&n.length>=2&&(n[1]==="|"?(m="{|",x=2):(m=f,x=1));break;case"|":n.length>=2&&n[1]==="}"&&(m="|}",x=2);break;default:_=!0}if(_&&((this._previousMarker==="@prefix"||this._previousMarker==="PREFIX")&&(g=this._prefix.exec(n))?(m="prefix",v=g[1]||""):((g=this._prefixed.exec(n))||t&&(g=this._prefixed.exec(`${n} `)))&&(m="prefixed",b=g[1]||"",v=this._unescape(g[2]))),this._previousMarker==="^^")switch(m){case"prefixed":m="type";break;case"IRI":m="typeIRI";break;default:m=""}if(!m)return t||!/^'''|^"""/.test(n)&&/\n|\r/.test(n)?a(this):this._input=n;const k=x||g[0].length,E=i(m,v,b,d,k);this.previousToken=E,this._previousMarker=m,n=n.substr(k,n.length)}function i(s,l,d,f,m){const v=n?o-n.length:o,b=v+m,g={type:s,value:l,prefix:d,line:f,start:v,end:b};return e(null,g),g}function a(s){e(s._syntaxError(/^\S*/.exec(n)[0]))}}_unescape(e){let t=!1;const n=e.replace(Tc,(o,i,a,s)=>{if(typeof i=="string")return String.fromCharCode(Number.parseInt(i,16));if(typeof a=="string"){let l=Number.parseInt(a,16);return l<=65535?String.fromCharCode(Number.parseInt(a,16)):String.fromCharCode(55296+((l-=65536)>>10),56320+(l&1023))}return s in La?La[s]:(t=!0,"")});return t?null:n}_parseLiteral(e){if(e.length>=3){const t=e.match(/^(?:"""|"|'''|'|)/)[0],n=t.length;let o=Math.max(this._literalClosingPos,n);for(;(o=e.indexOf(t,o))>0;){let i=0;for(;e[o-i-1]==="\\";)i++;if(i%2===0){const a=e.substring(n,o),s=a.split(/\r\n|\r|\n/).length-1,l=o+n;if(n===1&&s!==0||n===3&&this._lineMode)break;return this._line+=s,{value:this._unescape(a),matchLength:l}}o++}this._literalClosingPos=e.length-n+1}return{value:"",matchLength:0}}_syntaxError(e){this._input=null;const t=new Error(`Unexpected "${e}" on line ${this._line}.`);return t.context={token:void 0,line:this._line,previousToken:this.previousToken},t}_readStartingBom(e){return e.startsWith("\uFEFF")?e.substr(1):e}tokenize(e,t){if(this._line=1,typeof e=="string")if(this._input=this._readStartingBom(e),typeof t=="function")queueMicrotask(()=>this._tokenizeToEnd(t,!0));else{const n=[];let o;if(this._tokenizeToEnd((i,a)=>i?o=i:n.push(a),!0),o)throw o;return n}else this._pendingBuffer=null,typeof e.setEncoding=="function"&&e.setEncoding("utf8"),e.on("data",n=>{this._input!==null&&n.length!==0&&(this._pendingBuffer&&(n=jc.Buffer.concat([this._pendingBuffer,n]),this._pendingBuffer=null),n[n.length-1]&128?this._pendingBuffer=n:(typeof this._input>"u"?this._input=this._readStartingBom(typeof n=="string"?n:n.toString()):this._input+=n,this._tokenizeToEnd(t,!1)))}),e.on("end",()=>{typeof this._input=="string"&&this._tokenizeToEnd(t,!0)}),e.on("error",t)}}const{rdf:Dc,xsd:Mt}=Pe;let lr,Mc=0;const ke={namedNode:bd,blankNode:md,variable:vd,literal:gd,defaultGraph:qc,quad:Ai,triple:Ai,fromTerm:Mr,fromQuad:yd};class ot{constructor(e){this.id=e}get value(){return this.id}equals(e){return e instanceof ot?this.id===e.id:!!e&&this.termType===e.termType&&this.value===e.value}hashCode(){return 0}toJSON(){return{termType:this.termType,value:this.value}}}let Vi=class extends ot{get termType(){return"NamedNode"}},lt=class hd extends ot{get termType(){return"Literal"}get value(){return this.id.substring(1,this.id.lastIndexOf('"'))}get language(){const e=this.id;let t=e.lastIndexOf('"')+1;return t<e.length&&e[t++]==="@"?e.substr(t).toLowerCase():""}get datatype(){return new Vi(this.datatypeString)}get datatypeString(){const e=this.id,t=e.lastIndexOf('"')+1,n=t<e.length?e[t]:"";return n==="^"?e.substr(t+2):n!=="@"?Mt.string:Dc.langString}equals(e){return e instanceof hd?this.id===e.id:!!e&&!!e.datatype&&this.termType===e.termType&&this.value===e.value&&this.language===e.language&&this.datatype.value===e.datatype.value}toJSON(){return{termType:this.termType,value:this.value,language:this.language,datatype:{termType:"NamedNode",value:this.datatypeString}}}},Cc=class extends ot{constructor(e){super(`_:${e}`)}get termType(){return"BlankNode"}get value(){return this.id.substr(2)}},Pc=class extends ot{constructor(e){super(`?${e}`)}get termType(){return"Variable"}get value(){return this.id.substr(1)}},Bc=class extends ot{constructor(){return super(""),lr||this}get termType(){return"DefaultGraph"}equals(e){return this===e||!!e&&this.termType===e.termType}};lr=new Bc;function Dr(r,e,t){if(e=e||ke,!r)return e.defaultGraph();switch(r[0]){case"?":return e.variable(r.substr(1));case"_":return e.blankNode(r.substr(2));case'"':if(e===ke)return new lt(r);if(r[r.length-1]==='"')return e.literal(r.substr(1,r.length-2));const n=r.lastIndexOf('"',r.length-1);return e.literal(r.substr(1,n-1),r[n+1]==="@"?r.substr(n+2):e.namedNode(r.substr(n+3)));case"[":r=JSON.parse(r);break;default:if(!t||!Array.isArray(r))return e.namedNode(r)}return e.quad(Dr(r[0],e,!0),Dr(r[1],e,!0),Dr(r[2],e,!0),r[3]&&Dr(r[3],e,!0))}function er(r,e){if(typeof r=="string")return r;if(r instanceof ot&&r.termType!=="Quad")return r.id;if(!r)return lr.id;switch(r.termType){case"NamedNode":return r.value;case"BlankNode":return`_:${r.value}`;case"Variable":return`?${r.value}`;case"DefaultGraph":return"";case"Literal":return`"${r.value}"${r.language?`@${r.language}`:r.datatype&&r.datatype.value!==Mt.string?`^^${r.datatype.value}`:""}`;case"Quad":const t=[er(r.subject,!0),er(r.predicate,!0),er(r.object,!0)];return r.graph&&r.graph.termType!=="DefaultGraph"&&t.push(er(r.graph,!0)),e?t:JSON.stringify(t);default:throw new Error(`Unexpected termType: ${r.termType}`)}}let jn=class extends ot{constructor(e,t,n,o){super(""),this._subject=e,this._predicate=t,this._object=n,this._graph=o||lr}get termType(){return"Quad"}get subject(){return this._subject}get predicate(){return this._predicate}get object(){return this._object}get graph(){return this._graph}toJSON(){return{termType:this.termType,subject:this._subject.toJSON(),predicate:this._predicate.toJSON(),object:this._object.toJSON(),graph:this._graph.toJSON()}}equals(e){return!!e&&this._subject.equals(e.subject)&&this._predicate.equals(e.predicate)&&this._object.equals(e.object)&&this._graph.equals(e.graph)}};function bd(r){return new Vi(r)}function md(r){return new Cc(r||`n3-${Mc++}`)}function gd(r,e){if(typeof e=="string")return new lt(`"${r}"@${e.toLowerCase()}`);let t=e?e.value:"";return t===""&&(typeof r=="boolean"?t=Mt.boolean:typeof r=="number"&&(Number.isFinite(r)?t=Number.isInteger(r)?Mt.integer:Mt.double:(t=Mt.double,Number.isNaN(r)||(r=r>0?"INF":"-INF")))),t===""||t===Mt.string?new lt(`"${r}"`):new lt(`"${r}"^^${t}`)}function vd(r){return new Pc(r)}function qc(){return lr}function Ai(r,e,t,n){return new jn(r,e,t,n)}function Mr(r){if(r instanceof ot)return r;switch(r.termType){case"NamedNode":return bd(r.value);case"BlankNode":return md(r.value);case"Variable":return vd(r.value);case"DefaultGraph":return lr;case"Literal":return gd(r.value,r.language||r.datatype);case"Quad":return yd(r);default:throw new Error(`Unexpected termType: ${r.termType}`)}}function yd(r){if(r instanceof jn)return r;if(r.termType!=="Quad")throw new Error(`Unexpected termType: ${r.termType}`);return Ai(Mr(r.subject),Mr(r.predicate),Mr(r.object),Mr(r.graph))}let Oa=0;class Li{constructor(e){this._contextStack=[],this._graph=null,e=e||{},this._setBase(e.baseIRI),e.factory&&wd(this,e.factory);const t=typeof e.format=="string"?e.format.match(/\w*$/)[0].toLowerCase():"",n=/turtle/.test(t),o=/trig/.test(t),i=/triple/.test(t),a=/quad/.test(t),s=this._n3Mode=/n3/.test(t),l=i||a;(this._supportsNamedGraphs=!(n||s))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(n||o||i||s),this._isImpliedBy=e.isImpliedBy,this._supportsRDFStar=t===""||/star|\*$/.test(t),l&&(this._resolveRelativeIRI=d=>null),this._blankNodePrefix=typeof e.blankNodePrefix!="string"?"":e.blankNodePrefix.replace(/^(?!_:)/,"_:"),this._lexer=e.lexer||new $c({lineMode:l,n3:s,isImpliedBy:this._isImpliedBy}),this._explicitQuantifiers=!!e.explicitQuantifiers}static _resetBlankNodePrefix(){Oa=0}_setBase(e){if(!e)this._base="",this._basePath="";else{const t=e.indexOf("#");t>=0&&(e=e.substr(0,t)),this._base=e,this._basePath=e.indexOf("/")<0?e:e.replace(/[^\/?]*(?:\?.*)?$/,""),e=e.match(/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i),this._baseRoot=e[0],this._baseScheme=e[1]}}_saveContext(e,t,n,o,i){const a=this._n3Mode;this._contextStack.push({type:e,subject:n,predicate:o,object:i,graph:t,inverse:a?this._inversePredicate:!1,blankPrefix:a?this._prefixes._:"",quantified:a?this._quantified:null}),a&&(this._inversePredicate=!1,this._prefixes._=this._graph?`${this._graph.value}.`:".",this._quantified=Object.create(this._quantified))}_restoreContext(e,t){const n=this._contextStack.pop();if(!n||n.type!==e)return this._error(`Unexpected ${t.type}`,t);this._subject=n.subject,this._predicate=n.predicate,this._object=n.object,this._graph=n.graph,this._n3Mode&&(this._inversePredicate=n.inverse,this._prefixes._=n.blankPrefix,this._quantified=n.quantified)}_readInTopContext(e){switch(e.type){case"eof":return this._graph!==null?this._error("Unclosed graph",e):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(e)}}_readEntity(e,t){let n;switch(e.type){case"IRI":case"typeIRI":const o=this._resolveIRI(e.value);if(o===null)return this._error("Invalid IRI",e);n=this._factory.namedNode(o);break;case"type":case"prefixed":const i=this._prefixes[e.prefix];if(i===void 0)return this._error(`Undefined prefix "${e.prefix}:"`,e);n=this._factory.namedNode(i+e.value);break;case"blank":n=this._factory.blankNode(this._prefixes[e.prefix]+e.value);break;case"var":n=this._factory.variable(e.value.substr(1));break;default:return this._error(`Expected entity but got ${e.type}`,e)}return!t&&this._n3Mode&&n.id in this._quantified&&(n=this._quantified[n.id]),n}_readSubject(e){switch(this._predicate=null,e.type){case"[":return this._saveContext("blank",this._graph,this._subject=this._factory.blankNode(),null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this.RDF_NIL,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph=this._factory.blankNode(),null,null),this._readSubject):this._error("Unexpected graph",e);case"}":return this._readPunctuation(e);case"@forSome":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORSOME,this._quantifier="blankNode",this._readQuantifierList):this._error('Unexpected "@forSome"',e);case"@forAll":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORALL,this._quantifier="variable",this._readQuantifierList):this._error('Unexpected "@forAll"',e);case"literal":if(!this._n3Mode)return this._error("Unexpected literal",e);if(e.prefix.length===0)return this._literalValue=e.value,this._completeSubjectLiteral;this._subject=this._factory.literal(e.value,this._factory.namedNode(e.prefix));break;case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,null,null,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",e);default:if((this._subject=this._readEntity(e))===void 0)return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph}_readPredicate(e){const t=e.type;switch(t){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=this.ABBREVIATIONS[e.value];break;case".":case"]":case"}":return this._predicate===null?this._error(`Unexpected ${t}`,e):(this._subject=null,t==="]"?this._readBlankNodeTail(e):this._readPunctuation(e));case";":return this._predicate!==null?this._readPredicate:this._error("Expected predicate but got ;",e);case"[":if(this._n3Mode)return this._saveContext("blank",this._graph,this._subject,this._subject=this._factory.blankNode(),null),this._readBlankNodeHead;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",e);default:if((this._predicate=this._readEntity(e))===void 0)return}return this._readObject}_readObject(e){switch(e.type){case"literal":if(e.prefix.length===0)return this._literalValue=e.value,this._readDataTypeOrLang;this._object=this._factory.literal(e.value,this._factory.namedNode(e.prefix));break;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject=this._factory.blankNode()),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,this.RDF_NIL),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",e);case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,this._subject,this._predicate,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",e);default:if((this._object=this._readEntity(e))===void 0)return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()}_readPredicateOrNamedGraph(e){return e.type==="{"?this._readGraph(e):this._readPredicate(e)}_readGraph(e){return e.type!=="{"?this._error(`Expected graph but got ${e.type}`,e):(this._graph=this._subject,this._subject=null,this._readSubject)}_readBlankNodeHead(e){return e.type==="]"?(this._subject=null,this._readBlankNodeTail(e)):(this._predicate=null,this._readPredicate(e))}_readBlankNodeTail(e){if(e.type!=="]")return this._readBlankNodePunctuation(e);this._subject!==null&&this._emit(this._subject,this._predicate,this._object,this._graph);const t=this._predicate===null;return this._restoreContext("blank",e),this._object!==null?this._getContextEndReader():this._predicate!==null?this._readObject:t?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank}_readPredicateAfterBlank(e){switch(e.type){case".":case"}":return this._subject=null,this._readPunctuation(e);default:return this._readPredicate(e)}}_readListItem(e){let t=null,n=null,o=this._readListItem;const i=this._subject,a=this._contextStack,s=a[a.length-1];switch(e.type){case"[":this._saveContext("blank",this._graph,n=this._factory.blankNode(),this.RDF_FIRST,this._subject=t=this._factory.blankNode()),o=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,n=this._factory.blankNode(),this.RDF_FIRST,this.RDF_NIL),this._subject=null;break;case")":if(this._restoreContext("list",e),a.length!==0&&a[a.length-1].type==="list"&&this._emit(this._subject,this._predicate,this._object,this._graph),this._predicate===null){if(o=this._readPredicate,this._subject===this.RDF_NIL)return o}else if(o=this._getContextEndReader(),this._object===this.RDF_NIL)return o;n=this.RDF_NIL;break;case"literal":e.prefix.length===0?(this._literalValue=e.value,o=this._readListItemDataTypeOrLang):(t=this._factory.literal(e.value,this._factory.namedNode(e.prefix)),o=this._getContextEndReader());break;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",e);default:if((t=this._readEntity(e))===void 0)return}if(n===null&&(this._subject=n=this._factory.blankNode()),i===null?s.predicate===null?s.subject=n:s.object=n:this._emit(i,this.RDF_REST,n,this._graph),t!==null){if(this._n3Mode&&(e.type==="IRI"||e.type==="prefixed"))return this._saveContext("item",this._graph,n,this.RDF_FIRST,t),this._subject=t,this._predicate=null,this._getPathReader(this._readListItem);this._emit(n,this.RDF_FIRST,t,this._graph)}return o}_readDataTypeOrLang(e){return this._completeObjectLiteral(e,!1)}_readListItemDataTypeOrLang(e){return this._completeObjectLiteral(e,!0)}_completeLiteral(e){let t=this._factory.literal(this._literalValue);switch(e.type){case"type":case"typeIRI":const n=this._readEntity(e);if(n===void 0)return;t=this._factory.literal(this._literalValue,n),e=null;break;case"langcode":t=this._factory.literal(this._literalValue,e.value),e=null;break}return{token:e,literal:t}}_completeSubjectLiteral(e){return this._subject=this._completeLiteral(e).literal,this._readPredicateOrNamedGraph}_completeObjectLiteral(e,t){const n=this._completeLiteral(e);if(n)return this._object=n.literal,t&&this._emit(this._subject,this.RDF_FIRST,this._object,this._graph),n.token===null?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(n.token))}_readFormulaTail(e){return e.type!=="}"?this._readPunctuation(e):(this._subject!==null&&this._emit(this._subject,this._predicate,this._object,this._graph),this._restoreContext("formula",e),this._object===null?this._readPredicate:this._getContextEndReader())}_readPunctuation(e){let t,n=this._graph;const o=this._subject,i=this._inversePredicate;switch(e.type){case"}":if(this._graph===null)return this._error("Unexpected graph closing",e);if(this._n3Mode)return this._readFormulaTail(e);this._graph=null;case".":this._subject=null,t=this._contextStack.length?this._readSubject:this._readInTopContext,i&&(this._inversePredicate=!1);break;case";":t=this._readPredicate;break;case",":t=this._readObject;break;case"{|":if(!this._supportsRDFStar)return this._error("Unexpected RDF-star syntax",e);const a=this._predicate,s=this._object;this._subject=this._factory.quad(o,a,s,this.DEFAULTGRAPH),t=this._readPredicate;break;case"|}":if(this._subject.termType!=="Quad")return this._error("Unexpected asserted triple closing",e);this._subject=null,t=this._readPunctuation;break;default:if(this._supportsQuads&&this._graph===null&&(n=this._readEntity(e))!==void 0){t=this._readQuadPunctuation;break}return this._error(`Expected punctuation to follow "${this._object.id}"`,e)}if(o!==null){const a=this._predicate,s=this._object;i?this._emit(s,a,o,n):this._emit(o,a,s,n)}return t}_readBlankNodePunctuation(e){let t;switch(e.type){case";":t=this._readPredicate;break;case",":t=this._readObject;break;default:return this._error(`Expected punctuation to follow "${this._object.id}"`,e)}return this._emit(this._subject,this._predicate,this._object,this._graph),t}_readQuadPunctuation(e){return e.type!=="."?this._error("Expected dot to follow quad",e):this._readInTopContext}_readPrefix(e){return e.type!=="prefix"?this._error("Expected prefix to follow @prefix",e):(this._prefix=e.value,this._readPrefixIRI)}_readPrefixIRI(e){if(e.type!=="IRI")return this._error(`Expected IRI to follow prefix "${this._prefix}:"`,e);const t=this._readEntity(e);return this._prefixes[this._prefix]=t.value,this._prefixCallback(this._prefix,t),this._readDeclarationPunctuation}_readBaseIRI(e){const t=e.type==="IRI"&&this._resolveIRI(e.value);return t?(this._setBase(t),this._readDeclarationPunctuation):this._error("Expected valid IRI to follow base declaration",e)}_readNamedGraphLabel(e){switch(e.type){case"IRI":case"blank":case"prefixed":return this._readSubject(e),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",e)}}_readNamedGraphBlankLabel(e){return e.type!=="]"?this._error("Invalid graph label",e):(this._subject=this._factory.blankNode(),this._readGraph)}_readDeclarationPunctuation(e){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(e)):e.type!=="."?this._error("Expected declaration to end with a dot",e):this._readInTopContext}_readQuantifierList(e){let t;switch(e.type){case"IRI":case"prefixed":if((t=this._readEntity(e,!0))!==void 0)break;default:return this._error(`Unexpected ${e.type}`,e)}return this._explicitQuantifiers?(this._subject===null?this._emit(this._graph||this.DEFAULTGRAPH,this._predicate,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH):this._emit(this._subject,this.RDF_REST,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH),this._emit(this._subject,this.RDF_FIRST,t,this.QUANTIFIERS_GRAPH)):this._quantified[t.id]=this._factory[this._quantifier](this._factory.blankNode().value),this._readQuantifierPunctuation}_readQuantifierPunctuation(e){return e.type===","?this._readQuantifierList:(this._explicitQuantifiers&&(this._emit(this._subject,this.RDF_REST,this.RDF_NIL,this.QUANTIFIERS_GRAPH),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(e))}_getPathReader(e){return this._afterPath=e,this._readPath}_readPath(e){switch(e.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:const t=this._contextStack,n=t.length&&t[t.length-1];if(n&&n.type==="item"){const o=this._subject;this._restoreContext("item",e),this._emit(this._subject,this.RDF_FIRST,o,this._graph)}return this._afterPath(e)}}_readForwardPath(e){let t,n;const o=this._factory.blankNode();if((n=this._readEntity(e))!==void 0)return this._predicate===null?(t=this._subject,this._subject=o):(t=this._object,this._object=o),this._emit(t,n,o,this._graph),this._readPath}_readBackwardPath(e){const t=this._factory.blankNode();let n,o;if((n=this._readEntity(e))!==void 0)return this._predicate===null?(o=this._subject,this._subject=t):(o=this._object,this._object=t),this._emit(t,n,o,this._graph),this._readPath}_readRDFStarTailOrGraph(e){return e.type!==">>"?this._supportsQuads&&this._graph===null&&(this._graph=this._readEntity(e))!==void 0?this._readRDFStarTail:this._error(`Expected >> to follow "${this._object.id}"`,e):this._readRDFStarTail(e)}_readRDFStarTail(e){if(e.type!==">>")return this._error(`Expected >> but got ${e.type}`,e);const t=this._factory.quad(this._subject,this._predicate,this._object,this._graph||this.DEFAULTGRAPH);return this._restoreContext("<<",e),this._subject===null?(this._subject=t,this._readPredicate):(this._object=t,this._getContextEndReader())}_getContextEndReader(){const e=this._contextStack;if(!e.length)return this._readPunctuation;switch(e[e.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail;case"<<":return this._readRDFStarTailOrGraph}}_emit(e,t,n,o){this._callback(null,this._factory.quad(e,t,n,o||this.DEFAULTGRAPH))}_error(e,t){const n=new Error(`${e} on line ${t.line}.`);n.context={token:t,line:t.line,previousToken:this._lexer.previousToken},this._callback(n),this._callback=on}_resolveIRI(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)?e:this._resolveRelativeIRI(e)}_resolveRelativeIRI(e){if(!e.length)return this._base;switch(e[0]){case"#":return this._base+e;case"?":return this._base.replace(/(?:\?.*)?$/,e);case"/":return(e[1]==="/"?this._baseScheme:this._baseRoot)+this._removeDotSegments(e);default:return/^[^/:]*:/.test(e)?null:this._removeDotSegments(this._basePath+e)}}_removeDotSegments(e){if(!/(^|\/)\.\.?($|[/#?])/.test(e))return e;const t=e.length;let n="",o=-1,i=-1,a=0,s="/";for(;o<t;){switch(s){case":":if(i<0&&e[++o]==="/"&&e[++o]==="/")for(;(i=o+1)<t&&e[i]!=="/";)o=i;break;case"?":case"#":o=t;break;case"/":if(e[o+1]===".")switch(s=e[++o+1],s){case"/":n+=e.substring(a,o-1),a=o+1;break;case void 0:case"?":case"#":return n+e.substring(a,o)+e.substr(o+1);case".":if(s=e[++o+1],s===void 0||s==="/"||s==="?"||s==="#"){if(n+=e.substring(a,o-2),(a=n.lastIndexOf("/"))>=i&&(n=n.substr(0,a)),s!=="/")return`${n}/${e.substr(o+1)}`;a=o+1}}}s=e[++o]}return n+e.substring(a)}parse(e,t,n){let o,i,a;if(t&&(t.onQuad||t.onPrefix||t.onComment)?(o=t.onQuad,i=t.onPrefix,a=t.onComment):(o=t,i=n),this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix?this._blankNodePrefix.substr(2):`b${Oa++}_`,this._prefixCallback=i||on,this._inversePredicate=!1,this._quantified=Object.create(null),!o){const l=[];let d;if(this._callback=(f,m)=>{f?d=f:m&&l.push(m)},this._lexer.tokenize(e).every(f=>this._readCallback=this._readCallback(f)),d)throw d;return l}let s=(l,d)=>{l!==null?(this._callback(l),this._callback=on):this._readCallback&&(this._readCallback=this._readCallback(d))};a&&(this._lexer.comments=!0,s=(l,d)=>{l!==null?(this._callback(l),this._callback=on):this._readCallback&&(d.type==="comment"?a(d.value):this._readCallback=this._readCallback(d))}),this._callback=o,this._lexer.tokenize(e,s)}}function on(){}function wd(r,e){r._factory=e,r.DEFAULTGRAPH=e.defaultGraph(),r.RDF_FIRST=e.namedNode(Pe.rdf.first),r.RDF_REST=e.namedNode(Pe.rdf.rest),r.RDF_NIL=e.namedNode(Pe.rdf.nil),r.N3_FORALL=e.namedNode(Pe.r.forAll),r.N3_FORSOME=e.namedNode(Pe.r.forSome),r.ABBREVIATIONS={a:e.namedNode(Pe.rdf.type),"=":e.namedNode(Pe.owl.sameAs),">":e.namedNode(Pe.log.implies),"<":e.namedNode(Pe.log.isImpliedBy)},r.QUANTIFIERS_GRAPH=e.namedNode("urn:n3:quantifiers")}wd(Li.prototype,ke);function Oi(r){return!!r&&r.termType==="DefaultGraph"}function fn(r){return r.replace(/[\]\/\(\)\*\+\?\.\\\$]/g,"\\$&")}const Fc=/^:?[^:?#]*(?:[?#]|$)|^file:|^[^:]*:\/*[^?#]+?\/(?:\.\.?(?:\/|$)|\/)/i,zc=/^(?:(?:[^/?#]{3,}|\.?[^/?#.]\.?)(?:\/[^/?#]{3,}|\.?[^/?#.]\.?)*\/?)?(?:[?#]|$)/,$a="./",Uc="../",Wn="?",Da="#";class Wi{constructor(e){this.base=e,this._baseLength=0,this._baseMatcher=null,this._pathReplacements=new Array(e.length+1)}static supports(e){return!Fc.test(e)}_getBaseMatcher(){if(this._baseMatcher)return this._baseMatcher;if(!Wi.supports(this.base))return this._baseMatcher=/.^/;const e=/^[^:]*:\/*/.exec(this.base)[0],t=["^",fn(e)],n=[],o=[],i=/[^/?#]*([/?#])/y;let a,s=0,l=0,d=i.lastIndex=e.length;for(;!s&&!l&&(a=i.exec(this.base));)a[1]===Da?l=i.lastIndex-1:(t.push(fn(a[0]),"(?:"),n.push(")?"),a[1]!==Wn?o.push(d=i.lastIndex):(s=d=i.lastIndex,l=this.base.indexOf(Da,s),this._pathReplacements[s]=Wn));for(let f=0;f<o.length;f++)this._pathReplacements[o[f]]=Uc.repeat(o.length-f-1);return this._pathReplacements[o[o.length-1]]=$a,this._baseLength=l>0?l:this.base.length,t.push(fn(this.base.substring(d,this._baseLength)),s?"(?:#|$)":"(?:[?#]|$)"),this._baseMatcher=new RegExp([...t,...n].join(""))}toRelative(e){const t=this._getBaseMatcher().exec(e);if(!t)return e;const n=t[0].length;if(n===this._baseLength&&n===e.length)return"";const o=this._pathReplacements[n];if(o){const i=e.substring(n);return o!==Wn&&!zc.test(i)?e:o===$a&&/^[^?#]/.test(i)?i:o+i}return e.substring(n-1)}}const gr=ke.defaultGraph(),{rdf:Hc,xsd:Qt}=Pe,Ma=/["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,Ca=/["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g,Gc={"\\":"\\\\",'"':'\\"'," ":"\\t","\n":"\\n","\r":"\\r","\b":"\\b","\f":"\\f"};class vr extends ot{equals(e){return e===this}}class Ji{constructor(e,t){if(this._prefixRegex=/$0^/,e&&typeof e.write!="function"&&(t=e,e=null),t=t||{},this._lists=t.lists,e)this._outputStream=e,this._endStream=t.end===void 0?!0:!!t.end;else{let n="";this._outputStream={write(o,i,a){n+=o,a&&a()},end:o=>{o&&o(null,n)}},this._endStream=!0}this._subject=null,/triple|quad/i.test(t.format)?(this._lineMode=!0,this._writeQuad=this._writeQuadLine):(this._lineMode=!1,this._graph=gr,this._prefixIRIs=Object.create(null),t.prefixes&&this.addPrefixes(t.prefixes),t.baseIRI&&(this._baseIri=new Wi(t.baseIRI)))}get _inDefaultGraph(){return gr.equals(this._graph)}_write(e,t){this._outputStream.write(e,"utf8",t)}_writeQuad(e,t,n,o,i){try{o.equals(this._graph)||(this._write((this._subject===null?"":this._inDefaultGraph?`.
|
|
8
|
+
`:`
|
|
9
|
+
}
|
|
10
|
+
`)+(gr.equals(o)?"":`${this._encodeIriOrBlank(o)} {
|
|
11
|
+
`)),this._graph=o,this._subject=null),e.equals(this._subject)?t.equals(this._predicate)?this._write(`, ${this._encodeObject(n)}`,i):this._write(`;
|
|
12
|
+
${this._encodePredicate(this._predicate=t)} ${this._encodeObject(n)}`,i):this._write(`${(this._subject===null?"":`.
|
|
13
|
+
`)+this._encodeSubject(this._subject=e)} ${this._encodePredicate(this._predicate=t)} ${this._encodeObject(n)}`,i)}catch(a){i&&i(a)}}_writeQuadLine(e,t,n,o,i){delete this._prefixMatch,this._write(this.quadToString(e,t,n,o),i)}quadToString(e,t,n,o){return`${this._encodeSubject(e)} ${this._encodeIriOrBlank(t)} ${this._encodeObject(n)}${o&&o.value?` ${this._encodeIriOrBlank(o)} .
|
|
14
|
+
`:` .
|
|
15
|
+
`}`}quadsToString(e){let t="";for(const n of e)t+=this.quadToString(n.subject,n.predicate,n.object,n.graph);return t}_encodeSubject(e){return e.termType==="Quad"?this._encodeQuad(e):this._encodeIriOrBlank(e)}_encodeIriOrBlank(e){if(e.termType!=="NamedNode")return this._lists&&e.value in this._lists&&(e=this.list(this._lists[e.value])),"id"in e?e.id:`_:${e.value}`;let t=e.value;this._baseIri&&(t=this._baseIri.toRelative(t)),Ma.test(t)&&(t=t.replace(Ca,Pa));const n=this._prefixRegex.exec(t);return n?n[1]?this._prefixIRIs[n[1]]+n[2]:t:`<${t}>`}_encodeLiteral(e){let t=e.value;if(Ma.test(t)&&(t=t.replace(Ca,Pa)),e.language)return`"${t}"@${e.language}`;if(this._lineMode){if(e.datatype.value===Qt.string)return`"${t}"`}else switch(e.datatype.value){case Qt.string:return`"${t}"`;case Qt.boolean:if(t==="true"||t==="false")return t;break;case Qt.integer:if(/^[+-]?\d+$/.test(t))return t;break;case Qt.decimal:if(/^[+-]?\d*\.\d+$/.test(t))return t;break;case Qt.double:if(/^[+-]?(?:\d+\.\d*|\.?\d+)[eE][+-]?\d+$/.test(t))return t;break}return`"${t}"^^${this._encodeIriOrBlank(e.datatype)}`}_encodePredicate(e){return e.value===Hc.type?"a":this._encodeIriOrBlank(e)}_encodeObject(e){switch(e.termType){case"Quad":return this._encodeQuad(e);case"Literal":return this._encodeLiteral(e);default:return this._encodeIriOrBlank(e)}}_encodeQuad({subject:e,predicate:t,object:n,graph:o}){return`<<${this._encodeSubject(e)} ${this._encodePredicate(t)} ${this._encodeObject(n)}${Oi(o)?"":` ${this._encodeIriOrBlank(o)}`}>>`}_blockedWrite(){throw new Error("Cannot write because the writer has been closed.")}addQuad(e,t,n,o,i){n===void 0?this._writeQuad(e.subject,e.predicate,e.object,e.graph,t):typeof o=="function"?this._writeQuad(e,t,n,gr,o):this._writeQuad(e,t,n,o||gr,i)}addQuads(e){for(let t=0;t<e.length;t++)this.addQuad(e[t])}addPrefix(e,t,n){const o={};o[e]=t,this.addPrefixes(o,n)}addPrefixes(e,t){if(!this._prefixIRIs)return t&&t();let n=!1;for(let o in e){let i=e[o];typeof i!="string"&&(i=i.value),n=!0,this._subject!==null&&(this._write(this._inDefaultGraph?`.
|
|
16
|
+
`:`
|
|
17
|
+
}
|
|
18
|
+
`),this._subject=null,this._graph=""),this._prefixIRIs[i]=o+=":",this._write(`@prefix ${o} <${i}>.
|
|
19
|
+
`)}if(n){let o="",i="";for(const a in this._prefixIRIs)o+=o?`|${a}`:a,i+=(i?"|":"")+this._prefixIRIs[a];o=fn(o),this._prefixRegex=new RegExp(`^(?:${i})[^/]*$|^(${o})([_a-zA-Z0-9][\\-_a-zA-Z0-9]*)$`)}this._write(n?`
|
|
20
|
+
`:"",t)}blank(e,t){let n=e,o,i;switch(e===void 0?n=[]:e.termType?n=[{predicate:e,object:t}]:"length"in e||(n=[e]),i=n.length){case 0:return new vr("[]");case 1:if(o=n[0],!(o.object instanceof vr))return new vr(`[ ${this._encodePredicate(o.predicate)} ${this._encodeObject(o.object)} ]`);default:let a="[";for(let s=0;s<i;s++)o=n[s],o.predicate.equals(e)?a+=`, ${this._encodeObject(o.object)}`:(a+=`${(s?`;
|
|
21
|
+
`:`
|
|
22
|
+
`)+this._encodePredicate(o.predicate)} ${this._encodeObject(o.object)}`,e=o.predicate);return new vr(`${a}
|
|
23
|
+
]`)}}list(e){const t=e&&e.length||0,n=new Array(t);for(let o=0;o<t;o++)n[o]=this._encodeObject(e[o]);return new vr(`(${n.join(" ")})`)}end(e){this._subject!==null&&(this._write(this._inDefaultGraph?`.
|
|
24
|
+
`:`
|
|
25
|
+
}
|
|
26
|
+
`),this._subject=null),this._write=this._blockedWrite;let t=e&&((n,o)=>{t=null,e(n,o)});if(this._endStream)try{return this._outputStream.end(t)}catch{}t&&t()}}function Pa(r){let e=Gc[r];return e===void 0&&(r.length===1?(e=r.charCodeAt(0).toString(16),e="\\u0000".substr(0,6-e.length)+e):(e=((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)+9216).toString(16),e="\\U00000000".substr(0,10-e.length)+e)),e}var Jn={exports:{}},Qn={exports:{}},Xn,Ba;function Oe(){if(Ba)return Xn;Ba=1;class r extends Error{constructor(t){if(!Array.isArray(t))throw new TypeError(`Expected input to be an Array, got ${typeof t}`);let n="";for(let o=0;o<t.length;o++)n+=` ${t[o].stack}
|
|
27
|
+
`;super(n),this.name="AggregateError",this.errors=t}}return Xn={AggregateError:r,ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,n){return e.slice(t,n)},Error,FunctionPrototypeCall(e,t,...n){return e.call(t,...n)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,n){return Object.defineProperty(e,t,n)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,n){return e.then(t,n)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,n){return e.slice(t,n)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,n){return e.set(t,n)},Boolean,Uint8Array},Xn}var Kn={exports:{}},Yn,qa;function xd(){return qa||(qa=1,Yn={format(r,...e){return r.replace(/%([sdifj])/g,function(...[t,n]){const o=e.shift();return n==="f"?o.toFixed(6):n==="j"?JSON.stringify(o):n==="s"&&typeof o=="object"?`${o.constructor!==Object?o.constructor.name:""} {}`.trim():o.toString()})},inspect(r){switch(typeof r){case"string":if(r.includes("'"))if(r.includes('"')){if(!r.includes("`")&&!r.includes("${"))return`\`${r}\``}else return`"${r}"`;return`'${r}'`;case"number":return isNaN(r)?"NaN":Object.is(r,-0)?String(r):r;case"bigint":return`${String(r)}n`;case"boolean":case"undefined":return String(r);case"object":return"{}"}}}),Yn}var Zn,Fa;function He(){if(Fa)return Zn;Fa=1;const{format:r,inspect:e}=xd(),{AggregateError:t}=Oe(),n=globalThis.AggregateError||t,o=Symbol("kIsNodeError"),i=["string","function","number","object","Function","Object","boolean","bigint","symbol"],a=/^([A-Z][a-z0-9]*)+$/,s="__node_internal_",l={};function d(_,k){if(!_)throw new l.ERR_INTERNAL_ASSERTION(k)}function f(_){let k="",E=_.length;const y=_[0]==="-"?1:0;for(;E>=y+4;E-=3)k=`_${_.slice(E-3,E)}${k}`;return`${_.slice(0,E)}${k}`}function m(_,k,E){if(typeof k=="function")return d(k.length<=E.length,`Code: ${_}; The provided arguments length (${E.length}) does not match the required ones (${k.length}).`),k(...E);const y=(k.match(/%[dfijoOs]/g)||[]).length;return d(y===E.length,`Code: ${_}; The provided arguments length (${E.length}) does not match the required ones (${y}).`),E.length===0?k:r(k,...E)}function v(_,k,E){E||(E=Error);class y extends E{constructor(...h){super(m(_,k,h))}toString(){return`${this.name} [${_}]: ${this.message}`}}Object.defineProperties(y.prototype,{name:{value:E.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${_}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),y.prototype.code=_,y.prototype[o]=!0,l[_]=y}function b(_){const k=s+_.name;return Object.defineProperty(_,"name",{value:k}),_}function g(_,k){if(_&&k&&_!==k){if(Array.isArray(k.errors))return k.errors.push(_),k;const E=new n([k,_],k.message);return E.code=k.code,E}return _||k}class x extends Error{constructor(k="The operation was aborted",E=void 0){if(E!==void 0&&typeof E!="object")throw new l.ERR_INVALID_ARG_TYPE("options","Object",E);super(k,E),this.code="ABORT_ERR",this.name="AbortError"}}return v("ERR_ASSERTION","%s",Error),v("ERR_INVALID_ARG_TYPE",(_,k,E)=>{d(typeof _=="string","'name' must be a string"),Array.isArray(k)||(k=[k]);let y="The ";_.endsWith(" argument")?y+=`${_} `:y+=`"${_}" ${_.includes(".")?"property":"argument"} `,y+="must be ";const u=[],h=[],R=[];for(const N of k)d(typeof N=="string","All expected entries have to be of type string"),i.includes(N)?u.push(N.toLowerCase()):a.test(N)?h.push(N):(d(N!=="object",'The value "object" should be written as "Object"'),R.push(N));if(h.length>0){const N=u.indexOf("object");N!==-1&&(u.splice(u,N,1),h.push("Object"))}if(u.length>0){switch(u.length){case 1:y+=`of type ${u[0]}`;break;case 2:y+=`one of type ${u[0]} or ${u[1]}`;break;default:{const N=u.pop();y+=`one of type ${u.join(", ")}, or ${N}`}}(h.length>0||R.length>0)&&(y+=" or ")}if(h.length>0){switch(h.length){case 1:y+=`an instance of ${h[0]}`;break;case 2:y+=`an instance of ${h[0]} or ${h[1]}`;break;default:{const N=h.pop();y+=`an instance of ${h.join(", ")}, or ${N}`}}R.length>0&&(y+=" or ")}switch(R.length){case 0:break;case 1:R[0].toLowerCase()!==R[0]&&(y+="an "),y+=`${R[0]}`;break;case 2:y+=`one of ${R[0]} or ${R[1]}`;break;default:{const N=R.pop();y+=`one of ${R.join(", ")}, or ${N}`}}if(E==null)y+=`. Received ${E}`;else if(typeof E=="function"&&E.name)y+=`. Received function ${E.name}`;else if(typeof E=="object"){var D;if((D=E.constructor)!==null&&D!==void 0&&D.name)y+=`. Received an instance of ${E.constructor.name}`;else{const N=e(E,{depth:-1});y+=`. Received ${N}`}}else{let N=e(E,{colors:!1});N.length>25&&(N=`${N.slice(0,25)}...`),y+=`. Received type ${typeof E} (${N})`}return y},TypeError),v("ERR_INVALID_ARG_VALUE",(_,k,E="is invalid")=>{let y=e(k);return y.length>128&&(y=y.slice(0,128)+"..."),`The ${_.includes(".")?"property":"argument"} '${_}' ${E}. Received ${y}`},TypeError),v("ERR_INVALID_RETURN_VALUE",(_,k,E)=>{var y;const u=E!=null&&(y=E.constructor)!==null&&y!==void 0&&y.name?`instance of ${E.constructor.name}`:`type ${typeof E}`;return`Expected ${_} to be returned from the "${k}" function but got ${u}.`},TypeError),v("ERR_MISSING_ARGS",(..._)=>{d(_.length>0,"At least one arg needs to be specified");let k;const E=_.length;switch(_=(Array.isArray(_)?_:[_]).map(y=>`"${y}"`).join(" or "),E){case 1:k+=`The ${_[0]} argument`;break;case 2:k+=`The ${_[0]} and ${_[1]} arguments`;break;default:{const y=_.pop();k+=`The ${_.join(", ")}, and ${y} arguments`}break}return`${k} must be specified`},TypeError),v("ERR_OUT_OF_RANGE",(_,k,E)=>{d(k,'Missing "range" argument');let y;if(Number.isInteger(E)&&Math.abs(E)>2**32)y=f(String(E));else if(typeof E=="bigint"){y=String(E);const u=BigInt(2)**BigInt(32);(E>u||E<-u)&&(y=f(y)),y+="n"}else y=e(E);return`The value of "${_}" is out of range. It must be ${k}. Received ${y}`},RangeError),v("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),v("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),v("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),v("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),v("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),v("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),v("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),v("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),v("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),v("ERR_STREAM_WRITE_AFTER_END","write after end",Error),v("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),Zn={AbortError:x,aggregateTwoErrors:b(g),hideStackFrames:b,codes:l},Zn}var yr={exports:{}},za;function Vr(){if(za)return yr.exports;za=1;const{AbortController:r,AbortSignal:e}=typeof self<"u"?self:typeof window<"u"?window:void 0;return yr.exports=r,yr.exports.AbortSignal=e,yr.exports.default=r,yr.exports}var an={exports:{}},Ua;function Tn(){if(Ua)return an.exports;Ua=1;var r=typeof Reflect=="object"?Reflect:null,e=r&&typeof r.apply=="function"?r.apply:function(h,R,D){return Function.prototype.apply.call(h,R,D)},t;r&&typeof r.ownKeys=="function"?t=r.ownKeys:Object.getOwnPropertySymbols?t=function(h){return Object.getOwnPropertyNames(h).concat(Object.getOwnPropertySymbols(h))}:t=function(h){return Object.getOwnPropertyNames(h)};function n(u){console&&console.warn&&console.warn(u)}var o=Number.isNaN||function(h){return h!==h};function i(){i.init.call(this)}an.exports=i,an.exports.once=k,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function s(u){if(typeof u!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof u)}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(u){if(typeof u!="number"||u<0||o(u))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+u+".");a=u}}),i.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(h){if(typeof h!="number"||h<0||o(h))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+h+".");return this._maxListeners=h,this};function l(u){return u._maxListeners===void 0?i.defaultMaxListeners:u._maxListeners}i.prototype.getMaxListeners=function(){return l(this)},i.prototype.emit=function(h){for(var R=[],D=1;D<arguments.length;D++)R.push(arguments[D]);var N=h==="error",B=this._events;if(B!==void 0)N=N&&B.error===void 0;else if(!N)return!1;if(N){var I;if(R.length>0&&(I=R[0]),I instanceof Error)throw I;var M=new Error("Unhandled error."+(I?" ("+I.message+")":""));throw M.context=I,M}var q=B[h];if(q===void 0)return!1;if(typeof q=="function")e(q,this,R);else for(var j=q.length,A=g(q,j),D=0;D<j;++D)e(A[D],this,R);return!0};function d(u,h,R,D){var N,B,I;if(s(R),B=u._events,B===void 0?(B=u._events=Object.create(null),u._eventsCount=0):(B.newListener!==void 0&&(u.emit("newListener",h,R.listener?R.listener:R),B=u._events),I=B[h]),I===void 0)I=B[h]=R,++u._eventsCount;else if(typeof I=="function"?I=B[h]=D?[R,I]:[I,R]:D?I.unshift(R):I.push(R),N=l(u),N>0&&I.length>N&&!I.warned){I.warned=!0;var M=new Error("Possible EventEmitter memory leak detected. "+I.length+" "+String(h)+" listeners added. Use emitter.setMaxListeners() to increase limit");M.name="MaxListenersExceededWarning",M.emitter=u,M.type=h,M.count=I.length,n(M)}return u}i.prototype.addListener=function(h,R){return d(this,h,R,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(h,R){return d(this,h,R,!0)};function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(u,h,R){var D={fired:!1,wrapFn:void 0,target:u,type:h,listener:R},N=f.bind(D);return N.listener=R,D.wrapFn=N,N}i.prototype.once=function(h,R){return s(R),this.on(h,m(this,h,R)),this},i.prototype.prependOnceListener=function(h,R){return s(R),this.prependListener(h,m(this,h,R)),this},i.prototype.removeListener=function(h,R){var D,N,B,I,M;if(s(R),N=this._events,N===void 0)return this;if(D=N[h],D===void 0)return this;if(D===R||D.listener===R)--this._eventsCount===0?this._events=Object.create(null):(delete N[h],N.removeListener&&this.emit("removeListener",h,D.listener||R));else if(typeof D!="function"){for(B=-1,I=D.length-1;I>=0;I--)if(D[I]===R||D[I].listener===R){M=D[I].listener,B=I;break}if(B<0)return this;B===0?D.shift():x(D,B),D.length===1&&(N[h]=D[0]),N.removeListener!==void 0&&this.emit("removeListener",h,M||R)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(h){var R,D,N;if(D=this._events,D===void 0)return this;if(D.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):D[h]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete D[h]),this;if(arguments.length===0){var B=Object.keys(D),I;for(N=0;N<B.length;++N)I=B[N],I!=="removeListener"&&this.removeAllListeners(I);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(R=D[h],typeof R=="function")this.removeListener(h,R);else if(R!==void 0)for(N=R.length-1;N>=0;N--)this.removeListener(h,R[N]);return this};function v(u,h,R){var D=u._events;if(D===void 0)return[];var N=D[h];return N===void 0?[]:typeof N=="function"?R?[N.listener||N]:[N]:R?_(N):g(N,N.length)}i.prototype.listeners=function(h){return v(this,h,!0)},i.prototype.rawListeners=function(h){return v(this,h,!1)},i.listenerCount=function(u,h){return typeof u.listenerCount=="function"?u.listenerCount(h):b.call(u,h)},i.prototype.listenerCount=b;function b(u){var h=this._events;if(h!==void 0){var R=h[u];if(typeof R=="function")return 1;if(R!==void 0)return R.length}return 0}i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function g(u,h){for(var R=new Array(h),D=0;D<h;++D)R[D]=u[D];return R}function x(u,h){for(;h+1<u.length;h++)u[h]=u[h+1];u.pop()}function _(u){for(var h=new Array(u.length),R=0;R<h.length;++R)h[R]=u[R].listener||u[R];return h}function k(u,h){return new Promise(function(R,D){function N(I){u.removeListener(h,B),D(I)}function B(){typeof u.removeListener=="function"&&u.removeListener("error",N),R([].slice.call(arguments))}y(u,h,B,{once:!0}),h!=="error"&&E(u,N,{once:!0})})}function E(u,h,R){typeof u.on=="function"&&y(u,"error",h,R)}function y(u,h,R,D){if(typeof u.on=="function")D.once?u.once(h,R):u.on(h,R);else if(typeof u.addEventListener=="function")u.addEventListener(h,function N(B){D.once&&u.removeEventListener(h,N),R(B)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof u)}return an.exports}var Ha;function We(){return Ha||(Ha=1,function(r){const e=vt(),{format:t,inspect:n}=xd(),{codes:{ERR_INVALID_ARG_TYPE:o}}=He(),{kResistStopPropagation:i,AggregateError:a,SymbolDispose:s}=Oe(),l=globalThis.AbortSignal||Vr().AbortSignal,d=globalThis.AbortController||Vr().AbortController,f=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||e.Blob,v=typeof m<"u"?function(_){return _ instanceof m}:function(_){return!1},b=(x,_)=>{if(x!==void 0&&(x===null||typeof x!="object"||!("aborted"in x)))throw new o(_,"AbortSignal",x)},g=(x,_)=>{if(typeof x!="function")throw new o(_,"Function",x)};r.exports={AggregateError:a,kEmptyObject:Object.freeze({}),once(x){let _=!1;return function(...k){_||(_=!0,x.apply(this,k))}},createDeferredPromise:function(){let x,_;return{promise:new Promise((E,y)=>{x=E,_=y}),resolve:x,reject:_}},promisify(x){return new Promise((_,k)=>{x((E,...y)=>E?k(E):_(...y))})},debuglog(){return function(){}},format:t,inspect:n,types:{isAsyncFunction(x){return x instanceof f},isArrayBufferView(x){return ArrayBuffer.isView(x)}},isBlob:v,deprecate(x,_){return x},addAbortListener:Tn().addAbortListener||function(_,k){if(_===void 0)throw new o("signal","AbortSignal",_);b(_,"signal"),g(k,"listener");let E;return _.aborted?queueMicrotask(()=>k()):(_.addEventListener("abort",k,{__proto__:null,once:!0,[i]:!0}),E=()=>{_.removeEventListener("abort",k)}),{__proto__:null,[s](){var y;(y=E)===null||y===void 0||y()}}},AbortSignalAny:l.any||function(_){if(_.length===1)return _[0];const k=new d,E=()=>k.abort();return _.forEach(y=>{b(y,"signals"),y.addEventListener("abort",E,{once:!0})}),k.signal.addEventListener("abort",()=>{_.forEach(y=>y.removeEventListener("abort",E))},{once:!0}),k.signal}},r.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}(Kn)),Kn.exports}var sn={},eo,Ga;function Yr(){if(Ga)return eo;Ga=1;const{ArrayIsArray:r,ArrayPrototypeIncludes:e,ArrayPrototypeJoin:t,ArrayPrototypeMap:n,NumberIsInteger:o,NumberIsNaN:i,NumberMAX_SAFE_INTEGER:a,NumberMIN_SAFE_INTEGER:s,NumberParseInt:l,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:f,String:m,StringPrototypeToUpperCase:v,StringPrototypeTrim:b}=Oe(),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:x,ERR_INVALID_ARG_TYPE:_,ERR_INVALID_ARG_VALUE:k,ERR_OUT_OF_RANGE:E,ERR_UNKNOWN_SIGNAL:y}}=He(),{normalizeEncoding:u}=We(),{isAsyncFunction:h,isArrayBufferView:R}=We().types,D={};function N(X){return X===(X|0)}function B(X){return X===X>>>0}const I=/^[0-7]+$/,M="must be a 32-bit unsigned integer or an octal string";function q(X,le,fe){if(typeof X>"u"&&(X=fe),typeof X=="string"){if(f(I,X)===null)throw new k(le,X,M);X=l(X,8)}return Y(X,le),X}const j=g((X,le,fe=s,ie=a)=>{if(typeof X!="number")throw new _(le,"number",X);if(!o(X))throw new E(le,"an integer",X);if(X<fe||X>ie)throw new E(le,`>= ${fe} && <= ${ie}`,X)}),A=g((X,le,fe=-2147483648,ie=2147483647)=>{if(typeof X!="number")throw new _(le,"number",X);if(!o(X))throw new E(le,"an integer",X);if(X<fe||X>ie)throw new E(le,`>= ${fe} && <= ${ie}`,X)}),Y=g((X,le,fe=!1)=>{if(typeof X!="number")throw new _(le,"number",X);if(!o(X))throw new E(le,"an integer",X);const ie=fe?1:0,Se=4294967295;if(X<ie||X>Se)throw new E(le,`>= ${ie} && <= ${Se}`,X)});function T(X,le){if(typeof X!="string")throw new _(le,"string",X)}function ee(X,le,fe=void 0,ie){if(typeof X!="number")throw new _(le,"number",X);if(fe!=null&&X<fe||ie!=null&&X>ie||(fe!=null||ie!=null)&&i(X))throw new E(le,`${fe!=null?`>= ${fe}`:""}${fe!=null&&ie!=null?" && ":""}${ie!=null?`<= ${ie}`:""}`,X)}const C=g((X,le,fe)=>{if(!e(fe,X)){const Se="must be one of: "+t(n(fe,qe=>typeof qe=="string"?`'${qe}'`:m(qe)),", ");throw new k(le,X,Se)}});function K(X,le){if(typeof X!="boolean")throw new _(le,"boolean",X)}function w(X,le,fe){return X==null||!d(X,le)?fe:X[le]}const z=g((X,le,fe=null)=>{const ie=w(fe,"allowArray",!1),Se=w(fe,"allowFunction",!1);if(!w(fe,"nullable",!1)&&X===null||!ie&&r(X)||typeof X!="object"&&(!Se||typeof X!="function"))throw new _(le,"Object",X)}),Q=g((X,le)=>{if(X!=null&&typeof X!="object"&&typeof X!="function")throw new _(le,"a dictionary",X)}),W=g((X,le,fe=0)=>{if(!r(X))throw new _(le,"Array",X);if(X.length<fe){const ie=`must be longer than ${fe}`;throw new k(le,X,ie)}});function ae(X,le){W(X,le);for(let fe=0;fe<X.length;fe++)T(X[fe],`${le}[${fe}]`)}function U(X,le){W(X,le);for(let fe=0;fe<X.length;fe++)K(X[fe],`${le}[${fe}]`)}function H(X,le){W(X,le);for(let fe=0;fe<X.length;fe++){const ie=X[fe],Se=`${le}[${fe}]`;if(ie==null)throw new _(Se,"AbortSignal",ie);ce(ie,Se)}}function V(X,le="signal"){if(T(X,le),D[X]===void 0)throw D[v(X)]!==void 0?new y(X+" (signals must use all capital letters)"):new y(X)}const F=g((X,le="buffer")=>{if(!R(X))throw new _(le,["Buffer","TypedArray","DataView"],X)});function Z(X,le){const fe=u(le),ie=X.length;if(fe==="hex"&&ie%2!==0)throw new k("encoding",le,`is invalid for data of length ${ie}`)}function te(X,le="Port",fe=!0){if(typeof X!="number"&&typeof X!="string"||typeof X=="string"&&b(X).length===0||+X!==+X>>>0||X>65535||X===0&&!fe)throw new x(le,X,fe);return X|0}const ce=g((X,le)=>{if(X!==void 0&&(X===null||typeof X!="object"||!("aborted"in X)))throw new _(le,"AbortSignal",X)}),pe=g((X,le)=>{if(typeof X!="function")throw new _(le,"Function",X)}),L=g((X,le)=>{if(typeof X!="function"||h(X))throw new _(le,"Function",X)}),G=g((X,le)=>{if(X!==void 0)throw new _(le,"undefined",X)});function re(X,le,fe){if(!e(fe,X))throw new _(le,`('${t(fe,"|")}')`,X)}const de=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function ue(X,le){if(typeof X>"u"||!f(de,X))throw new k(le,X,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function he(X){if(typeof X=="string")return ue(X,"hints"),X;if(r(X)){const le=X.length;let fe="";if(le===0)return fe;for(let ie=0;ie<le;ie++){const Se=X[ie];ue(Se,"hints"),fe+=Se,ie!==le-1&&(fe+=", ")}return fe}throw new k("hints",X,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}return eo={isInt32:N,isUint32:B,parseFileMode:q,validateArray:W,validateStringArray:ae,validateBooleanArray:U,validateAbortSignalArray:H,validateBoolean:K,validateBuffer:F,validateDictionary:Q,validateEncoding:Z,validateFunction:pe,validateInt32:A,validateInteger:j,validateNumber:ee,validateObject:z,validateOneOf:C,validatePlainFunction:L,validatePort:te,validateSignalName:V,validateString:T,validateUint32:Y,validateUndefined:G,validateUnion:re,validateAbortSignal:ce,validateLinkHeaderValue:he},eo}var ln={exports:{}},to={exports:{}},Va;function Ht(){if(Va)return to.exports;Va=1;var r=to.exports={},e,t;function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=n}catch{e=n}try{typeof clearTimeout=="function"?t=clearTimeout:t=o}catch{t=o}})();function i(x){if(e===setTimeout)return setTimeout(x,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(x,0);try{return e(x,0)}catch{try{return e.call(null,x,0)}catch{return e.call(this,x,0)}}}function a(x){if(t===clearTimeout)return clearTimeout(x);if((t===o||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(x);try{return t(x)}catch{try{return t.call(null,x)}catch{return t.call(this,x)}}}var s=[],l=!1,d,f=-1;function m(){!l||!d||(l=!1,d.length?s=d.concat(s):f=-1,s.length&&v())}function v(){if(!l){var x=i(m);l=!0;for(var _=s.length;_;){for(d=s,s=[];++f<_;)d&&d[f].run();f=-1,_=s.length}d=null,l=!1,a(x)}}r.nextTick=function(x){var _=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)_[k-1]=arguments[k];s.push(new b(x,_)),s.length===1&&!l&&i(v)};function b(x,_){this.fun=x,this.array=_}b.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={};function g(){}return r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(x){return[]},r.binding=function(x){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(x){throw new Error("process.chdir is not supported")},r.umask=function(){return 0},to.exports}var ro,Wa;function yt(){if(Wa)return ro;Wa=1;const{SymbolAsyncIterator:r,SymbolIterator:e,SymbolFor:t}=Oe(),n=t("nodejs.stream.destroyed"),o=t("nodejs.stream.errored"),i=t("nodejs.stream.readable"),a=t("nodejs.stream.writable"),s=t("nodejs.stream.disturbed"),l=t("nodejs.webstream.isClosedPromise"),d=t("nodejs.webstream.controllerErrorFunction");function f(w,z=!1){var Q;return!!(w&&typeof w.pipe=="function"&&typeof w.on=="function"&&(!z||typeof w.pause=="function"&&typeof w.resume=="function")&&(!w._writableState||((Q=w._readableState)===null||Q===void 0?void 0:Q.readable)!==!1)&&(!w._writableState||w._readableState))}function m(w){var z;return!!(w&&typeof w.write=="function"&&typeof w.on=="function"&&(!w._readableState||((z=w._writableState)===null||z===void 0?void 0:z.writable)!==!1))}function v(w){return!!(w&&typeof w.pipe=="function"&&w._readableState&&typeof w.on=="function"&&typeof w.write=="function")}function b(w){return w&&(w._readableState||w._writableState||typeof w.write=="function"&&typeof w.on=="function"||typeof w.pipe=="function"&&typeof w.on=="function")}function g(w){return!!(w&&!b(w)&&typeof w.pipeThrough=="function"&&typeof w.getReader=="function"&&typeof w.cancel=="function")}function x(w){return!!(w&&!b(w)&&typeof w.getWriter=="function"&&typeof w.abort=="function")}function _(w){return!!(w&&!b(w)&&typeof w.readable=="object"&&typeof w.writable=="object")}function k(w){return g(w)||x(w)||_(w)}function E(w,z){return w==null?!1:z===!0?typeof w[r]=="function":z===!1?typeof w[e]=="function":typeof w[r]=="function"||typeof w[e]=="function"}function y(w){if(!b(w))return null;const z=w._writableState,Q=w._readableState,W=z||Q;return!!(w.destroyed||w[n]||W!=null&&W.destroyed)}function u(w){if(!m(w))return null;if(w.writableEnded===!0)return!0;const z=w._writableState;return z!=null&&z.errored?!1:typeof(z==null?void 0:z.ended)!="boolean"?null:z.ended}function h(w,z){if(!m(w))return null;if(w.writableFinished===!0)return!0;const Q=w._writableState;return Q!=null&&Q.errored?!1:typeof(Q==null?void 0:Q.finished)!="boolean"?null:!!(Q.finished||z===!1&&Q.ended===!0&&Q.length===0)}function R(w){if(!f(w))return null;if(w.readableEnded===!0)return!0;const z=w._readableState;return!z||z.errored?!1:typeof(z==null?void 0:z.ended)!="boolean"?null:z.ended}function D(w,z){if(!f(w))return null;const Q=w._readableState;return Q!=null&&Q.errored?!1:typeof(Q==null?void 0:Q.endEmitted)!="boolean"?null:!!(Q.endEmitted||z===!1&&Q.ended===!0&&Q.length===0)}function N(w){return w&&w[i]!=null?w[i]:typeof(w==null?void 0:w.readable)!="boolean"?null:y(w)?!1:f(w)&&w.readable&&!D(w)}function B(w){return w&&w[a]!=null?w[a]:typeof(w==null?void 0:w.writable)!="boolean"?null:y(w)?!1:m(w)&&w.writable&&!u(w)}function I(w,z){return b(w)?y(w)?!0:!((z==null?void 0:z.readable)!==!1&&N(w)||(z==null?void 0:z.writable)!==!1&&B(w)):null}function M(w){var z,Q;return b(w)?w.writableErrored?w.writableErrored:(z=(Q=w._writableState)===null||Q===void 0?void 0:Q.errored)!==null&&z!==void 0?z:null:null}function q(w){var z,Q;return b(w)?w.readableErrored?w.readableErrored:(z=(Q=w._readableState)===null||Q===void 0?void 0:Q.errored)!==null&&z!==void 0?z:null:null}function j(w){if(!b(w))return null;if(typeof w.closed=="boolean")return w.closed;const z=w._writableState,Q=w._readableState;return typeof(z==null?void 0:z.closed)=="boolean"||typeof(Q==null?void 0:Q.closed)=="boolean"?(z==null?void 0:z.closed)||(Q==null?void 0:Q.closed):typeof w._closed=="boolean"&&A(w)?w._closed:null}function A(w){return typeof w._closed=="boolean"&&typeof w._defaultKeepAlive=="boolean"&&typeof w._removedConnection=="boolean"&&typeof w._removedContLen=="boolean"}function Y(w){return typeof w._sent100=="boolean"&&A(w)}function T(w){var z;return typeof w._consuming=="boolean"&&typeof w._dumped=="boolean"&&((z=w.req)===null||z===void 0?void 0:z.upgradeOrConnect)===void 0}function ee(w){if(!b(w))return null;const z=w._writableState,Q=w._readableState,W=z||Q;return!W&&Y(w)||!!(W&&W.autoDestroy&&W.emitClose&&W.closed===!1)}function C(w){var z;return!!(w&&((z=w[s])!==null&&z!==void 0?z:w.readableDidRead||w.readableAborted))}function K(w){var z,Q,W,ae,U,H,V,F,Z,te;return!!(w&&((z=(Q=(W=(ae=(U=(H=w[o])!==null&&H!==void 0?H:w.readableErrored)!==null&&U!==void 0?U:w.writableErrored)!==null&&ae!==void 0?ae:(V=w._readableState)===null||V===void 0?void 0:V.errorEmitted)!==null&&W!==void 0?W:(F=w._writableState)===null||F===void 0?void 0:F.errorEmitted)!==null&&Q!==void 0?Q:(Z=w._readableState)===null||Z===void 0?void 0:Z.errored)!==null&&z!==void 0?z:!((te=w._writableState)===null||te===void 0)&&te.errored))}return ro={isDestroyed:y,kIsDestroyed:n,isDisturbed:C,kIsDisturbed:s,isErrored:K,kIsErrored:o,isReadable:N,kIsReadable:i,kIsClosedPromise:l,kControllerErrorFunction:d,kIsWritable:a,isClosed:j,isDuplexNodeStream:v,isFinished:I,isIterable:E,isReadableNodeStream:f,isReadableStream:g,isReadableEnded:R,isReadableFinished:D,isReadableErrored:q,isNodeStream:b,isWebStream:k,isWritable:B,isWritableNodeStream:m,isWritableStream:x,isWritableEnded:u,isWritableFinished:h,isWritableErrored:M,isServerRequest:T,isServerResponse:Y,willEmitClose:ee,isTransformStream:_},ro}var Ja;function Nt(){if(Ja)return ln.exports;Ja=1;const r=Ht(),{AbortError:e,codes:t}=He(),{ERR_INVALID_ARG_TYPE:n,ERR_STREAM_PREMATURE_CLOSE:o}=t,{kEmptyObject:i,once:a}=We(),{validateAbortSignal:s,validateFunction:l,validateObject:d,validateBoolean:f}=Yr(),{Promise:m,PromisePrototypeThen:v,SymbolDispose:b}=Oe(),{isClosed:g,isReadable:x,isReadableNodeStream:_,isReadableStream:k,isReadableFinished:E,isReadableErrored:y,isWritable:u,isWritableNodeStream:h,isWritableStream:R,isWritableFinished:D,isWritableErrored:N,isNodeStream:B,willEmitClose:I,kIsClosedPromise:M}=yt();let q;function j(C){return C.setHeader&&typeof C.abort=="function"}const A=()=>{};function Y(C,K,w){var z,Q;if(arguments.length===2?(w=K,K=i):K==null?K=i:d(K,"options"),l(w,"callback"),s(K.signal,"options.signal"),w=a(w),k(C)||R(C))return T(C,K,w);if(!B(C))throw new n("stream",["ReadableStream","WritableStream","Stream"],C);const W=(z=K.readable)!==null&&z!==void 0?z:_(C),ae=(Q=K.writable)!==null&&Q!==void 0?Q:h(C),U=C._writableState,H=C._readableState,V=()=>{C.writable||te()};let F=I(C)&&_(C)===W&&h(C)===ae,Z=D(C,!1);const te=()=>{Z=!0,C.destroyed&&(F=!1),!(F&&(!C.readable||W))&&(!W||ce)&&w.call(C)};let ce=E(C,!1);const pe=()=>{ce=!0,C.destroyed&&(F=!1),!(F&&(!C.writable||ae))&&(!ae||Z)&&w.call(C)},L=X=>{w.call(C,X)};let G=g(C);const re=()=>{G=!0;const X=N(C)||y(C);if(X&&typeof X!="boolean")return w.call(C,X);if(W&&!ce&&_(C,!0)&&!E(C,!1))return w.call(C,new o);if(ae&&!Z&&!D(C,!1))return w.call(C,new o);w.call(C)},de=()=>{G=!0;const X=N(C)||y(C);if(X&&typeof X!="boolean")return w.call(C,X);w.call(C)},ue=()=>{C.req.on("finish",te)};j(C)?(C.on("complete",te),F||C.on("abort",re),C.req?ue():C.on("request",ue)):ae&&!U&&(C.on("end",V),C.on("close",V)),!F&&typeof C.aborted=="boolean"&&C.on("aborted",re),C.on("end",pe),C.on("finish",te),K.error!==!1&&C.on("error",L),C.on("close",re),G?r.nextTick(re):U!=null&&U.errorEmitted||H!=null&&H.errorEmitted?F||r.nextTick(de):(!W&&(!F||x(C))&&(Z||u(C)===!1)||!ae&&(!F||u(C))&&(ce||x(C)===!1)||H&&C.req&&C.aborted)&&r.nextTick(de);const he=()=>{w=A,C.removeListener("aborted",re),C.removeListener("complete",te),C.removeListener("abort",re),C.removeListener("request",ue),C.req&&C.req.removeListener("finish",te),C.removeListener("end",V),C.removeListener("close",V),C.removeListener("finish",te),C.removeListener("end",pe),C.removeListener("error",L),C.removeListener("close",re)};if(K.signal&&!G){const X=()=>{const le=w;he(),le.call(C,new e(void 0,{cause:K.signal.reason}))};if(K.signal.aborted)r.nextTick(X);else{q=q||We().addAbortListener;const le=q(K.signal,X),fe=w;w=a((...ie)=>{le[b](),fe.apply(C,ie)})}}return he}function T(C,K,w){let z=!1,Q=A;if(K.signal)if(Q=()=>{z=!0,w.call(C,new e(void 0,{cause:K.signal.reason}))},K.signal.aborted)r.nextTick(Q);else{q=q||We().addAbortListener;const ae=q(K.signal,Q),U=w;w=a((...H)=>{ae[b](),U.apply(C,H)})}const W=(...ae)=>{z||r.nextTick(()=>w.apply(C,ae))};return v(C[M].promise,W,W),A}function ee(C,K){var w;let z=!1;return K===null&&(K=i),(w=K)!==null&&w!==void 0&&w.cleanup&&(f(K.cleanup,"cleanup"),z=K.cleanup),new m((Q,W)=>{const ae=Y(C,K,U=>{z&&ae(),U?W(U):Q()})})}return ln.exports=Y,ln.exports.finished=ee,ln.exports}var no,Qa;function dr(){if(Qa)return no;Qa=1;const r=Ht(),{aggregateTwoErrors:e,codes:{ERR_MULTIPLE_CALLBACK:t},AbortError:n}=He(),{Symbol:o}=Oe(),{kIsDestroyed:i,isDestroyed:a,isFinished:s,isServerRequest:l}=yt(),d=o("kDestroy"),f=o("kConstruct");function m(I,M,q){I&&(I.stack,M&&!M.errored&&(M.errored=I),q&&!q.errored&&(q.errored=I))}function v(I,M){const q=this._readableState,j=this._writableState,A=j||q;return j!=null&&j.destroyed||q!=null&&q.destroyed?(typeof M=="function"&&M(),this):(m(I,j,q),j&&(j.destroyed=!0),q&&(q.destroyed=!0),A.constructed?b(this,I,M):this.once(d,function(Y){b(this,e(Y,I),M)}),this)}function b(I,M,q){let j=!1;function A(Y){if(j)return;j=!0;const T=I._readableState,ee=I._writableState;m(Y,ee,T),ee&&(ee.closed=!0),T&&(T.closed=!0),typeof q=="function"&&q(Y),Y?r.nextTick(g,I,Y):r.nextTick(x,I)}try{I._destroy(M||null,A)}catch(Y){A(Y)}}function g(I,M){_(I,M),x(I)}function x(I){const M=I._readableState,q=I._writableState;q&&(q.closeEmitted=!0),M&&(M.closeEmitted=!0),(q!=null&&q.emitClose||M!=null&&M.emitClose)&&I.emit("close")}function _(I,M){const q=I._readableState,j=I._writableState;j!=null&&j.errorEmitted||q!=null&&q.errorEmitted||(j&&(j.errorEmitted=!0),q&&(q.errorEmitted=!0),I.emit("error",M))}function k(){const I=this._readableState,M=this._writableState;I&&(I.constructed=!0,I.closed=!1,I.closeEmitted=!1,I.destroyed=!1,I.errored=null,I.errorEmitted=!1,I.reading=!1,I.ended=I.readable===!1,I.endEmitted=I.readable===!1),M&&(M.constructed=!0,M.destroyed=!1,M.closed=!1,M.closeEmitted=!1,M.errored=null,M.errorEmitted=!1,M.finalCalled=!1,M.prefinished=!1,M.ended=M.writable===!1,M.ending=M.writable===!1,M.finished=M.writable===!1)}function E(I,M,q){const j=I._readableState,A=I._writableState;if(A!=null&&A.destroyed||j!=null&&j.destroyed)return this;j!=null&&j.autoDestroy||A!=null&&A.autoDestroy?I.destroy(M):M&&(M.stack,A&&!A.errored&&(A.errored=M),j&&!j.errored&&(j.errored=M),q?r.nextTick(_,I,M):_(I,M))}function y(I,M){if(typeof I._construct!="function")return;const q=I._readableState,j=I._writableState;q&&(q.constructed=!1),j&&(j.constructed=!1),I.once(f,M),!(I.listenerCount(f)>1)&&r.nextTick(u,I)}function u(I){let M=!1;function q(j){if(M){E(I,j??new t);return}M=!0;const A=I._readableState,Y=I._writableState,T=Y||A;A&&(A.constructed=!0),Y&&(Y.constructed=!0),T.destroyed?I.emit(d,j):j?E(I,j,!0):r.nextTick(h,I)}try{I._construct(j=>{r.nextTick(q,j)})}catch(j){r.nextTick(q,j)}}function h(I){I.emit(f)}function R(I){return(I==null?void 0:I.setHeader)&&typeof I.abort=="function"}function D(I){I.emit("close")}function N(I,M){I.emit("error",M),r.nextTick(D,I)}function B(I,M){!I||a(I)||(!M&&!s(I)&&(M=new n),l(I)?(I.socket=null,I.destroy(M)):R(I)?I.abort():R(I.req)?I.req.abort():typeof I.destroy=="function"?I.destroy(M):typeof I.close=="function"?I.close():M?r.nextTick(N,I,M):r.nextTick(D,I),I.destroyed||(I[i]=!0))}return no={construct:y,destroyer:B,destroy:v,undestroy:k,errorOrDestroy:E},no}var oo,Xa;function Qi(){if(Xa)return oo;Xa=1;const{ArrayIsArray:r,ObjectSetPrototypeOf:e}=Oe(),{EventEmitter:t}=Tn();function n(i){t.call(this,i)}e(n.prototype,t.prototype),e(n,t),n.prototype.pipe=function(i,a){const s=this;function l(x){i.writable&&i.write(x)===!1&&s.pause&&s.pause()}s.on("data",l);function d(){s.readable&&s.resume&&s.resume()}i.on("drain",d),!i._isStdio&&(!a||a.end!==!1)&&(s.on("end",m),s.on("close",v));let f=!1;function m(){f||(f=!0,i.end())}function v(){f||(f=!0,typeof i.destroy=="function"&&i.destroy())}function b(x){g(),t.listenerCount(this,"error")===0&&this.emit("error",x)}o(s,"error",b),o(i,"error",b);function g(){s.removeListener("data",l),i.removeListener("drain",d),s.removeListener("end",m),s.removeListener("close",v),s.removeListener("error",b),i.removeListener("error",b),s.removeListener("end",g),s.removeListener("close",g),i.removeListener("close",g)}return s.on("end",g),s.on("close",g),i.on("close",g),i.emit("pipe",s),i};function o(i,a,s){if(typeof i.prependListener=="function")return i.prependListener(a,s);!i._events||!i._events[a]?i.on(a,s):r(i._events[a])?i._events[a].unshift(s):i._events[a]=[s,i._events[a]]}return oo={Stream:n,prependListener:o},oo}var io={exports:{}},Ka;function An(){return Ka||(Ka=1,function(r){const{SymbolDispose:e}=Oe(),{AbortError:t,codes:n}=He(),{isNodeStream:o,isWebStream:i,kControllerErrorFunction:a}=yt(),s=Nt(),{ERR_INVALID_ARG_TYPE:l}=n;let d;const f=(m,v)=>{if(typeof m!="object"||!("aborted"in m))throw new l(v,"AbortSignal",m)};r.exports.addAbortSignal=function(v,b){if(f(v,"signal"),!o(b)&&!i(b))throw new l("stream",["ReadableStream","WritableStream","Stream"],b);return r.exports.addAbortSignalNoValidate(v,b)},r.exports.addAbortSignalNoValidate=function(m,v){if(typeof m!="object"||!("aborted"in m))return v;const b=o(v)?()=>{v.destroy(new t(void 0,{cause:m.reason}))}:()=>{v[a](new t(void 0,{cause:m.reason}))};if(m.aborted)b();else{d=d||We().addAbortListener;const g=d(m,b);s(v,g[e])}return v}}(io)),io.exports}var ao,Ya;function Vc(){if(Ya)return ao;Ya=1;const{StringPrototypeSlice:r,SymbolIterator:e,TypedArrayPrototypeSet:t,Uint8Array:n}=Oe(),{Buffer:o}=vt(),{inspect:i}=We();return ao=class{constructor(){this.head=null,this.tail=null,this.length=0}push(s){const l={data:s,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length}unshift(s){const l={data:s,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length}shift(){if(this.length===0)return;const s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}clear(){this.head=this.tail=null,this.length=0}join(s){if(this.length===0)return"";let l=this.head,d=""+l.data;for(;(l=l.next)!==null;)d+=s+l.data;return d}concat(s){if(this.length===0)return o.alloc(0);const l=o.allocUnsafe(s>>>0);let d=this.head,f=0;for(;d;)t(l,d.data,f),f+=d.data.length,d=d.next;return l}consume(s,l){const d=this.head.data;if(s<d.length){const f=d.slice(0,s);return this.head.data=d.slice(s),f}return s===d.length?this.shift():l?this._getString(s):this._getBuffer(s)}first(){return this.head.data}*[e](){for(let s=this.head;s;s=s.next)yield s.data}_getString(s){let l="",d=this.head,f=0;do{const m=d.data;if(s>m.length)l+=m,s-=m.length;else{s===m.length?(l+=m,++f,d.next?this.head=d.next:this.head=this.tail=null):(l+=r(m,0,s),this.head=d,d.data=r(m,s));break}++f}while((d=d.next)!==null);return this.length-=f,l}_getBuffer(s){const l=o.allocUnsafe(s),d=s;let f=this.head,m=0;do{const v=f.data;if(s>v.length)t(l,v,d-s),s-=v.length;else{s===v.length?(t(l,v,d-s),++m,f.next?this.head=f.next:this.head=this.tail=null):(t(l,new n(v.buffer,v.byteOffset,s),d-s),this.head=f,f.data=v.slice(s));break}++m}while((f=f.next)!==null);return this.length-=m,l}[Symbol.for("nodejs.util.inspect.custom")](s,l){return i(this,{...l,depth:0,customInspect:!1})}},ao}var so,Za;function Ln(){if(Za)return so;Za=1;const{MathFloor:r,NumberIsInteger:e}=Oe(),{validateInteger:t}=Yr(),{ERR_INVALID_ARG_VALUE:n}=He().codes;let o=16*1024,i=16;function a(f,m,v){return f.highWaterMark!=null?f.highWaterMark:m?f[v]:null}function s(f){return f?i:o}function l(f,m){t(m,"value",0),f?i=m:o=m}function d(f,m,v,b){const g=a(m,b,v);if(g!=null){if(!e(g)||g<0){const x=b?`options.${v}`:"options.highWaterMark";throw new n(x,g)}return r(g)}return s(f.objectMode)}return so={getHighWaterMark:d,getDefaultHighWaterMark:s,setDefaultHighWaterMark:l},so}var lo={},dn={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var es;function Wc(){return es||(es=1,function(r,e){var t=vt(),n=t.Buffer;function o(a,s){for(var l in a)s[l]=a[l]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(o(t,e),e.Buffer=i);function i(a,s,l){return n(a,s,l)}i.prototype=Object.create(n.prototype),o(n,i),i.from=function(a,s,l){if(typeof a=="number")throw new TypeError("Argument must not be a number");return n(a,s,l)},i.alloc=function(a,s,l){if(typeof a!="number")throw new TypeError("Argument must be a number");var d=n(a);return s!==void 0?typeof l=="string"?d.fill(s,l):d.fill(s):d.fill(0),d},i.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n(a)},i.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(a)}}(dn,dn.exports)),dn.exports}var ts;function Jc(){if(ts)return lo;ts=1;var r=Wc().Buffer,e=r.isEncoding||function(k){switch(k=""+k,k&&k.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(k){if(!k)return"utf8";for(var E;;)switch(k){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return k;default:if(E)return;k=(""+k).toLowerCase(),E=!0}}function n(k){var E=t(k);if(typeof E!="string"&&(r.isEncoding===e||!e(k)))throw new Error("Unknown encoding: "+k);return E||k}lo.StringDecoder=o;function o(k){this.encoding=n(k);var E;switch(this.encoding){case"utf16le":this.text=m,this.end=v,E=4;break;case"utf8":this.fillLast=l,E=4;break;case"base64":this.text=b,this.end=g,E=3;break;default:this.write=x,this.end=_;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(E)}o.prototype.write=function(k){if(k.length===0)return"";var E,y;if(this.lastNeed){if(E=this.fillLast(k),E===void 0)return"";y=this.lastNeed,this.lastNeed=0}else y=0;return y<k.length?E?E+this.text(k,y):this.text(k,y):E||""},o.prototype.end=f,o.prototype.text=d,o.prototype.fillLast=function(k){if(this.lastNeed<=k.length)return k.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);k.copy(this.lastChar,this.lastTotal-this.lastNeed,0,k.length),this.lastNeed-=k.length};function i(k){return k<=127?0:k>>5===6?2:k>>4===14?3:k>>3===30?4:k>>6===2?-1:-2}function a(k,E,y){var u=E.length-1;if(u<y)return 0;var h=i(E[u]);return h>=0?(h>0&&(k.lastNeed=h-1),h):--u<y||h===-2?0:(h=i(E[u]),h>=0?(h>0&&(k.lastNeed=h-2),h):--u<y||h===-2?0:(h=i(E[u]),h>=0?(h>0&&(h===2?h=0:k.lastNeed=h-3),h):0))}function s(k,E,y){if((E[0]&192)!==128)return k.lastNeed=0,"�";if(k.lastNeed>1&&E.length>1){if((E[1]&192)!==128)return k.lastNeed=1,"�";if(k.lastNeed>2&&E.length>2&&(E[2]&192)!==128)return k.lastNeed=2,"�"}}function l(k){var E=this.lastTotal-this.lastNeed,y=s(this,k);if(y!==void 0)return y;if(this.lastNeed<=k.length)return k.copy(this.lastChar,E,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);k.copy(this.lastChar,E,0,k.length),this.lastNeed-=k.length}function d(k,E){var y=a(this,k,E);if(!this.lastNeed)return k.toString("utf8",E);this.lastTotal=y;var u=k.length-(y-this.lastNeed);return k.copy(this.lastChar,0,u),k.toString("utf8",E,u)}function f(k){var E=k&&k.length?this.write(k):"";return this.lastNeed?E+"�":E}function m(k,E){if((k.length-E)%2===0){var y=k.toString("utf16le",E);if(y){var u=y.charCodeAt(y.length-1);if(u>=55296&&u<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=k[k.length-2],this.lastChar[1]=k[k.length-1],y.slice(0,-1)}return y}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=k[k.length-1],k.toString("utf16le",E,k.length-1)}function v(k){var E=k&&k.length?this.write(k):"";if(this.lastNeed){var y=this.lastTotal-this.lastNeed;return E+this.lastChar.toString("utf16le",0,y)}return E}function b(k,E){var y=(k.length-E)%3;return y===0?k.toString("base64",E):(this.lastNeed=3-y,this.lastTotal=3,y===1?this.lastChar[0]=k[k.length-1]:(this.lastChar[0]=k[k.length-2],this.lastChar[1]=k[k.length-1]),k.toString("base64",E,k.length-y))}function g(k){var E=k&&k.length?this.write(k):"";return this.lastNeed?E+this.lastChar.toString("base64",0,3-this.lastNeed):E}function x(k){return k.toString(this.encoding)}function _(k){return k&&k.length?this.write(k):""}return lo}var co,rs;function _d(){if(rs)return co;rs=1;const r=Ht(),{PromisePrototypeThen:e,SymbolAsyncIterator:t,SymbolIterator:n}=Oe(),{Buffer:o}=vt(),{ERR_INVALID_ARG_TYPE:i,ERR_STREAM_NULL_VALUES:a}=He().codes;function s(l,d,f){let m;if(typeof d=="string"||d instanceof o)return new l({objectMode:!0,...f,read(){this.push(d),this.push(null)}});let v;if(d&&d[t])v=!0,m=d[t]();else if(d&&d[n])v=!1,m=d[n]();else throw new i("iterable",["Iterable"],d);const b=new l({objectMode:!0,highWaterMark:1,...f});let g=!1;b._read=function(){g||(g=!0,_())},b._destroy=function(k,E){e(x(k),()=>r.nextTick(E,k),y=>r.nextTick(E,y||k))};async function x(k){const E=k!=null,y=typeof m.throw=="function";if(E&&y){const{value:u,done:h}=await m.throw(k);if(await u,h)return}if(typeof m.return=="function"){const{value:u}=await m.return();await u}}async function _(){for(;;){try{const{value:k,done:E}=v?await m.next():m.next();if(E)b.push(null);else{const y=k&&typeof k.then=="function"?await k:k;if(y===null)throw g=!1,new a;if(b.push(y))continue;g=!1}}catch(k){b.destroy(k)}break}}return b}return co=s,co}var uo,ns;function On(){if(ns)return uo;ns=1;const r=Ht(),{ArrayPrototypeIndexOf:e,NumberIsInteger:t,NumberIsNaN:n,NumberParseInt:o,ObjectDefineProperties:i,ObjectKeys:a,ObjectSetPrototypeOf:s,Promise:l,SafeSet:d,SymbolAsyncDispose:f,SymbolAsyncIterator:m,Symbol:v}=Oe();uo=ie,ie.ReadableState=fe;const{EventEmitter:b}=Tn(),{Stream:g,prependListener:x}=Qi(),{Buffer:_}=vt(),{addAbortSignal:k}=An(),E=Nt();let y=We().debuglog("stream",O=>{y=O});const u=Vc(),h=dr(),{getHighWaterMark:R,getDefaultHighWaterMark:D}=Ln(),{aggregateTwoErrors:N,codes:{ERR_INVALID_ARG_TYPE:B,ERR_METHOD_NOT_IMPLEMENTED:I,ERR_OUT_OF_RANGE:M,ERR_STREAM_PUSH_AFTER_EOF:q,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:j},AbortError:A}=He(),{validateObject:Y}=Yr(),T=v("kPaused"),{StringDecoder:ee}=Jc(),C=_d();s(ie.prototype,g.prototype),s(ie,g);const K=()=>{},{errorOrDestroy:w}=h,z=1,Q=2,W=4,ae=8,U=16,H=32,V=64,F=128,Z=256,te=512,ce=1024,pe=2048,L=4096,G=8192,re=16384,de=32768,ue=65536,he=1<<17,X=1<<18;function le(O){return{enumerable:!1,get(){return(this.state&O)!==0},set(P){P?this.state|=O:this.state&=~O}}}i(fe.prototype,{objectMode:le(z),ended:le(Q),endEmitted:le(W),reading:le(ae),constructed:le(U),sync:le(H),needReadable:le(V),emittedReadable:le(F),readableListening:le(Z),resumeScheduled:le(te),errorEmitted:le(ce),emitClose:le(pe),autoDestroy:le(L),destroyed:le(G),closed:le(re),closeEmitted:le(de),multiAwaitDrain:le(ue),readingMore:le(he),dataEmitted:le(X)});function fe(O,P,be){typeof be!="boolean"&&(be=P instanceof bt()),this.state=pe|L|U|H,O&&O.objectMode&&(this.state|=z),be&&O&&O.readableObjectMode&&(this.state|=z),this.highWaterMark=O?R(this,O,"readableHighWaterMark",be):D(!1),this.buffer=new u,this.length=0,this.pipes=[],this.flowing=null,this[T]=null,O&&O.emitClose===!1&&(this.state&=~pe),O&&O.autoDestroy===!1&&(this.state&=~L),this.errored=null,this.defaultEncoding=O&&O.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,O&&O.encoding&&(this.decoder=new ee(O.encoding),this.encoding=O.encoding)}function ie(O){if(!(this instanceof ie))return new ie(O);const P=this instanceof bt();this._readableState=new fe(O,this,P),O&&(typeof O.read=="function"&&(this._read=O.read),typeof O.destroy=="function"&&(this._destroy=O.destroy),typeof O.construct=="function"&&(this._construct=O.construct),O.signal&&!P&&k(O.signal,this)),g.call(this,O),h.construct(this,()=>{this._readableState.needReadable&&J(this,this._readableState)})}ie.prototype.destroy=h.destroy,ie.prototype._undestroy=h.undestroy,ie.prototype._destroy=function(O,P){P(O)},ie.prototype[b.captureRejectionSymbol]=function(O){this.destroy(O)},ie.prototype[f]=function(){let O;return this.destroyed||(O=this.readableEnded?null:new A,this.destroy(O)),new l((P,be)=>E(this,me=>me&&me!==O?be(me):P(null)))},ie.prototype.push=function(O,P){return Se(this,O,P,!1)},ie.prototype.unshift=function(O,P){return Se(this,O,P,!0)};function Se(O,P,be,me){y("readableAddChunk",P);const ge=O._readableState;let Fe;if((ge.state&z)===0&&(typeof P=="string"?(be=be||ge.defaultEncoding,ge.encoding!==be&&(me&&ge.encoding?P=_.from(P,be).toString(ge.encoding):(P=_.from(P,be),be=""))):P instanceof _?be="":g._isUint8Array(P)?(P=g._uint8ArrayToBuffer(P),be=""):P!=null&&(Fe=new B("chunk",["string","Buffer","Uint8Array"],P))),Fe)w(O,Fe);else if(P===null)ge.state&=~ae,c(O,ge);else if((ge.state&z)!==0||P&&P.length>0)if(me)if((ge.state&W)!==0)w(O,new j);else{if(ge.destroyed||ge.errored)return!1;qe(O,ge,P,!0)}else if(ge.ended)w(O,new q);else{if(ge.destroyed||ge.errored)return!1;ge.state&=~ae,ge.decoder&&!be?(P=ge.decoder.write(P),ge.objectMode||P.length!==0?qe(O,ge,P,!1):J(O,ge)):qe(O,ge,P,!1)}else me||(ge.state&=~ae,J(O,ge));return!ge.ended&&(ge.length<ge.highWaterMark||ge.length===0)}function qe(O,P,be,me){P.flowing&&P.length===0&&!P.sync&&O.listenerCount("data")>0?((P.state&ue)!==0?P.awaitDrainWriters.clear():P.awaitDrainWriters=null,P.dataEmitted=!0,O.emit("data",be)):(P.length+=P.objectMode?1:be.length,me?P.buffer.unshift(be):P.buffer.push(be),(P.state&V)!==0&&p(O)),J(O,P)}ie.prototype.isPaused=function(){const O=this._readableState;return O[T]===!0||O.flowing===!1},ie.prototype.setEncoding=function(O){const P=new ee(O);this._readableState.decoder=P,this._readableState.encoding=this._readableState.decoder.encoding;const be=this._readableState.buffer;let me="";for(const ge of be)me+=P.write(ge);return be.clear(),me!==""&&be.push(me),this._readableState.length=me.length,this};const we=1073741824;function Ue(O){if(O>we)throw new M("size","<= 1GiB",O);return O--,O|=O>>>1,O|=O>>>2,O|=O>>>4,O|=O>>>8,O|=O>>>16,O++,O}function S(O,P){return O<=0||P.length===0&&P.ended?0:(P.state&z)!==0?1:n(O)?P.flowing&&P.length?P.buffer.first().length:P.length:O<=P.length?O:P.ended?P.length:0}ie.prototype.read=function(O){y("read",O),O===void 0?O=NaN:t(O)||(O=o(O,10));const P=this._readableState,be=O;if(O>P.highWaterMark&&(P.highWaterMark=Ue(O)),O!==0&&(P.state&=~F),O===0&&P.needReadable&&((P.highWaterMark!==0?P.length>=P.highWaterMark:P.length>0)||P.ended))return y("read: emitReadable",P.length,P.ended),P.length===0&&P.ended?Fn(this):p(this),null;if(O=S(O,P),O===0&&P.ended)return P.length===0&&Fn(this),null;let me=(P.state&V)!==0;if(y("need readable",me),(P.length===0||P.length-O<P.highWaterMark)&&(me=!0,y("length less than watermark",me)),P.ended||P.reading||P.destroyed||P.errored||!P.constructed)me=!1,y("reading, ended or constructing",me);else if(me){y("do read"),P.state|=ae|H,P.length===0&&(P.state|=V);try{this._read(P.highWaterMark)}catch(Fe){w(this,Fe)}P.state&=~H,P.reading||(O=S(be,P))}let ge;return O>0?ge=ka(O,P):ge=null,ge===null?(P.needReadable=P.length<=P.highWaterMark,O=0):(P.length-=O,P.multiAwaitDrain?P.awaitDrainWriters.clear():P.awaitDrainWriters=null),P.length===0&&(P.ended||(P.needReadable=!0),be!==O&&P.ended&&Fn(this)),ge!==null&&!P.errorEmitted&&!P.closeEmitted&&(P.dataEmitted=!0,this.emit("data",ge)),ge};function c(O,P){if(y("onEofChunk"),!P.ended){if(P.decoder){const be=P.decoder.end();be&&be.length&&(P.buffer.push(be),P.length+=P.objectMode?1:be.length)}P.ended=!0,P.sync?p(O):(P.needReadable=!1,P.emittedReadable=!0,$(O))}}function p(O){const P=O._readableState;y("emitReadable",P.needReadable,P.emittedReadable),P.needReadable=!1,P.emittedReadable||(y("emitReadable",P.flowing),P.emittedReadable=!0,r.nextTick($,O))}function $(O){const P=O._readableState;y("emitReadable_",P.destroyed,P.length,P.ended),!P.destroyed&&!P.errored&&(P.length||P.ended)&&(O.emit("readable"),P.emittedReadable=!1),P.needReadable=!P.flowing&&!P.ended&&P.length<=P.highWaterMark,Ee(O)}function J(O,P){!P.readingMore&&P.constructed&&(P.readingMore=!0,r.nextTick(oe,O,P))}function oe(O,P){for(;!P.reading&&!P.ended&&(P.length<P.highWaterMark||P.flowing&&P.length===0);){const be=P.length;if(y("maybeReadMore read 0"),O.read(0),be===P.length)break}P.readingMore=!1}ie.prototype._read=function(O){throw new I("_read()")},ie.prototype.pipe=function(O,P){const be=this,me=this._readableState;me.pipes.length===1&&(me.multiAwaitDrain||(me.multiAwaitDrain=!0,me.awaitDrainWriters=new d(me.awaitDrainWriters?[me.awaitDrainWriters]:[]))),me.pipes.push(O),y("pipe count=%d opts=%j",me.pipes.length,P);const Fe=(!P||P.end!==!1)&&O!==r.stdout&&O!==r.stderr?Ea:fr;me.endEmitted?r.nextTick(Fe):be.once("end",Fe),O.on("unpipe",Ke);function Ke(At,ft){y("onunpipe"),At===be&&ft&&ft.hasUnpiped===!1&&(ft.hasUnpiped=!0,Sc())}function Ea(){y("onend"),O.end()}let Tt,Ia=!1;function Sc(){y("cleanup"),O.removeListener("close",Hn),O.removeListener("finish",Gn),Tt&&O.removeListener("drain",Tt),O.removeListener("error",Un),O.removeListener("unpipe",Ke),be.removeListener("end",Ea),be.removeListener("end",fr),be.removeListener("data",Na),Ia=!0,Tt&&me.awaitDrainWriters&&(!O._writableState||O._writableState.needDrain)&&Tt()}function Ra(){Ia||(me.pipes.length===1&&me.pipes[0]===O?(y("false write response, pause",0),me.awaitDrainWriters=O,me.multiAwaitDrain=!1):me.pipes.length>1&&me.pipes.includes(O)&&(y("false write response, pause",me.awaitDrainWriters.size),me.awaitDrainWriters.add(O)),be.pause()),Tt||(Tt=se(be,O),O.on("drain",Tt))}be.on("data",Na);function Na(At){y("ondata");const ft=O.write(At);y("dest.write",ft),ft===!1&&Ra()}function Un(At){if(y("onerror",At),fr(),O.removeListener("error",Un),O.listenerCount("error")===0){const ft=O._writableState||O._readableState;ft&&!ft.errorEmitted?w(O,At):O.emit("error",At)}}x(O,"error",Un);function Hn(){O.removeListener("finish",Gn),fr()}O.once("close",Hn);function Gn(){y("onfinish"),O.removeListener("close",Hn),fr()}O.once("finish",Gn);function fr(){y("unpipe"),be.unpipe(O)}return O.emit("pipe",be),O.writableNeedDrain===!0?Ra():me.flowing||(y("pipe resume"),be.resume()),O};function se(O,P){return function(){const me=O._readableState;me.awaitDrainWriters===P?(y("pipeOnDrain",1),me.awaitDrainWriters=null):me.multiAwaitDrain&&(y("pipeOnDrain",me.awaitDrainWriters.size),me.awaitDrainWriters.delete(P)),(!me.awaitDrainWriters||me.awaitDrainWriters.size===0)&&O.listenerCount("data")&&O.resume()}}ie.prototype.unpipe=function(O){const P=this._readableState,be={hasUnpiped:!1};if(P.pipes.length===0)return this;if(!O){const ge=P.pipes;P.pipes=[],this.pause();for(let Fe=0;Fe<ge.length;Fe++)ge[Fe].emit("unpipe",this,{hasUnpiped:!1});return this}const me=e(P.pipes,O);return me===-1?this:(P.pipes.splice(me,1),P.pipes.length===0&&this.pause(),O.emit("unpipe",this,be),this)},ie.prototype.on=function(O,P){const be=g.prototype.on.call(this,O,P),me=this._readableState;return O==="data"?(me.readableListening=this.listenerCount("readable")>0,me.flowing!==!1&&this.resume()):O==="readable"&&!me.endEmitted&&!me.readableListening&&(me.readableListening=me.needReadable=!0,me.flowing=!1,me.emittedReadable=!1,y("on readable",me.length,me.reading),me.length?p(this):me.reading||r.nextTick(Te,this)),be},ie.prototype.addListener=ie.prototype.on,ie.prototype.removeListener=function(O,P){const be=g.prototype.removeListener.call(this,O,P);return O==="readable"&&r.nextTick(ye,this),be},ie.prototype.off=ie.prototype.removeListener,ie.prototype.removeAllListeners=function(O){const P=g.prototype.removeAllListeners.apply(this,arguments);return(O==="readable"||O===void 0)&&r.nextTick(ye,this),P};function ye(O){const P=O._readableState;P.readableListening=O.listenerCount("readable")>0,P.resumeScheduled&&P[T]===!1?P.flowing=!0:O.listenerCount("data")>0?O.resume():P.readableListening||(P.flowing=null)}function Te(O){y("readable nexttick read 0"),O.read(0)}ie.prototype.resume=function(){const O=this._readableState;return O.flowing||(y("resume"),O.flowing=!O.readableListening,Ne(this,O)),O[T]=!1,this};function Ne(O,P){P.resumeScheduled||(P.resumeScheduled=!0,r.nextTick(Ae,O,P))}function Ae(O,P){y("resume",P.reading),P.reading||O.read(0),P.resumeScheduled=!1,O.emit("resume"),Ee(O),P.flowing&&!P.reading&&O.read(0)}ie.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[T]=!0,this};function Ee(O){const P=O._readableState;for(y("flow",P.flowing);P.flowing&&O.read()!==null;);}ie.prototype.wrap=function(O){let P=!1;O.on("data",me=>{!this.push(me)&&O.pause&&(P=!0,O.pause())}),O.on("end",()=>{this.push(null)}),O.on("error",me=>{w(this,me)}),O.on("close",()=>{this.destroy()}),O.on("destroy",()=>{this.destroy()}),this._read=()=>{P&&O.resume&&(P=!1,O.resume())};const be=a(O);for(let me=1;me<be.length;me++){const ge=be[me];this[ge]===void 0&&typeof O[ge]=="function"&&(this[ge]=O[ge].bind(O))}return this},ie.prototype[m]=function(){return _a(this)},ie.prototype.iterator=function(O){return O!==void 0&&Y(O,"options"),_a(this,O)};function _a(O,P){typeof O.read!="function"&&(O=ie.wrap(O,{objectMode:!0}));const be=xc(O,P);return be.stream=O,be}async function*xc(O,P){let be=K;function me(Ke){this===O?(be(),be=K):be=Ke}O.on("readable",me);let ge;const Fe=E(O,{writable:!1},Ke=>{ge=Ke?N(ge,Ke):null,be(),be=K});try{for(;;){const Ke=O.destroyed?null:O.read();if(Ke!==null)yield Ke;else{if(ge)throw ge;if(ge===null)return;await new l(me)}}}catch(Ke){throw ge=N(ge,Ke),ge}finally{(ge||(P==null?void 0:P.destroyOnReturn)!==!1)&&(ge===void 0||O._readableState.autoDestroy)?h.destroyer(O,null):(O.off("readable",me),Fe())}}i(ie.prototype,{readable:{__proto__:null,get(){const O=this._readableState;return!!O&&O.readable!==!1&&!O.destroyed&&!O.errorEmitted&&!O.endEmitted},set(O){this._readableState&&(this._readableState.readable=!!O)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(O){this._readableState&&(this._readableState.flowing=O)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(O){this._readableState&&(this._readableState.destroyed=O)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),i(fe.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[T]!==!1},set(O){this[T]=!!O}}}),ie._fromList=ka;function ka(O,P){if(P.length===0)return null;let be;return P.objectMode?be=P.buffer.shift():!O||O>=P.length?(P.decoder?be=P.buffer.join(""):P.buffer.length===1?be=P.buffer.first():be=P.buffer.concat(P.length),P.buffer.clear()):be=P.buffer.consume(O,P.decoder),be}function Fn(O){const P=O._readableState;y("endReadable",P.endEmitted),P.endEmitted||(P.ended=!0,r.nextTick(_c,P,O))}function _c(O,P){if(y("endReadableNT",O.endEmitted,O.length),!O.errored&&!O.closeEmitted&&!O.endEmitted&&O.length===0){if(O.endEmitted=!0,P.emit("end"),P.writable&&P.allowHalfOpen===!1)r.nextTick(kc,P);else if(O.autoDestroy){const be=P._writableState;(!be||be.autoDestroy&&(be.finished||be.writable===!1))&&P.destroy()}}}function kc(O){O.writable&&!O.writableEnded&&!O.destroyed&&O.end()}ie.from=function(O,P){return C(ie,O,P)};let zn;function Sa(){return zn===void 0&&(zn={}),zn}return ie.fromWeb=function(O,P){return Sa().newStreamReadableFromReadableStream(O,P)},ie.toWeb=function(O,P){return Sa().newReadableStreamFromStreamReadable(O,P)},ie.wrap=function(O,P){var be,me;return new ie({objectMode:(be=(me=O.readableObjectMode)!==null&&me!==void 0?me:O.objectMode)!==null&&be!==void 0?be:!0,...P,destroy(ge,Fe){h.destroyer(O,ge),Fe(ge)}}).wrap(O)},uo}var po,os;function Xi(){if(os)return po;os=1;const r=Ht(),{ArrayPrototypeSlice:e,Error:t,FunctionPrototypeSymbolHasInstance:n,ObjectDefineProperty:o,ObjectDefineProperties:i,ObjectSetPrototypeOf:a,StringPrototypeToLowerCase:s,Symbol:l,SymbolHasInstance:d}=Oe();po=Y,Y.WritableState=j;const{EventEmitter:f}=Tn(),m=Qi().Stream,{Buffer:v}=vt(),b=dr(),{addAbortSignal:g}=An(),{getHighWaterMark:x,getDefaultHighWaterMark:_}=Ln(),{ERR_INVALID_ARG_TYPE:k,ERR_METHOD_NOT_IMPLEMENTED:E,ERR_MULTIPLE_CALLBACK:y,ERR_STREAM_CANNOT_PIPE:u,ERR_STREAM_DESTROYED:h,ERR_STREAM_ALREADY_FINISHED:R,ERR_STREAM_NULL_VALUES:D,ERR_STREAM_WRITE_AFTER_END:N,ERR_UNKNOWN_ENCODING:B}=He().codes,{errorOrDestroy:I}=b;a(Y.prototype,m.prototype),a(Y,m);function M(){}const q=l("kOnFinished");function j(L,G,re){typeof re!="boolean"&&(re=G instanceof bt()),this.objectMode=!!(L&&L.objectMode),re&&(this.objectMode=this.objectMode||!!(L&&L.writableObjectMode)),this.highWaterMark=L?x(this,L,"writableHighWaterMark",re):_(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const de=!!(L&&L.decodeStrings===!1);this.decodeStrings=!de,this.defaultEncoding=L&&L.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=w.bind(void 0,G),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,A(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!L||L.emitClose!==!1,this.autoDestroy=!L||L.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[q]=[]}function A(L){L.buffered=[],L.bufferedIndex=0,L.allBuffers=!0,L.allNoop=!0}j.prototype.getBuffer=function(){return e(this.buffered,this.bufferedIndex)},o(j.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Y(L){const G=this instanceof bt();if(!G&&!n(Y,this))return new Y(L);this._writableState=new j(L,this,G),L&&(typeof L.write=="function"&&(this._write=L.write),typeof L.writev=="function"&&(this._writev=L.writev),typeof L.destroy=="function"&&(this._destroy=L.destroy),typeof L.final=="function"&&(this._final=L.final),typeof L.construct=="function"&&(this._construct=L.construct),L.signal&&g(L.signal,this)),m.call(this,L),b.construct(this,()=>{const re=this._writableState;re.writing||ae(this,re),F(this,re)})}o(Y,d,{__proto__:null,value:function(L){return n(this,L)?!0:this!==Y?!1:L&&L._writableState instanceof j}}),Y.prototype.pipe=function(){I(this,new u)};function T(L,G,re,de){const ue=L._writableState;if(typeof re=="function")de=re,re=ue.defaultEncoding;else{if(!re)re=ue.defaultEncoding;else if(re!=="buffer"&&!v.isEncoding(re))throw new B(re);typeof de!="function"&&(de=M)}if(G===null)throw new D;if(!ue.objectMode)if(typeof G=="string")ue.decodeStrings!==!1&&(G=v.from(G,re),re="buffer");else if(G instanceof v)re="buffer";else if(m._isUint8Array(G))G=m._uint8ArrayToBuffer(G),re="buffer";else throw new k("chunk",["string","Buffer","Uint8Array"],G);let he;return ue.ending?he=new N:ue.destroyed&&(he=new h("write")),he?(r.nextTick(de,he),I(L,he,!0),he):(ue.pendingcb++,ee(L,ue,G,re,de))}Y.prototype.write=function(L,G,re){return T(this,L,G,re)===!0},Y.prototype.cork=function(){this._writableState.corked++},Y.prototype.uncork=function(){const L=this._writableState;L.corked&&(L.corked--,L.writing||ae(this,L))},Y.prototype.setDefaultEncoding=function(G){if(typeof G=="string"&&(G=s(G)),!v.isEncoding(G))throw new B(G);return this._writableState.defaultEncoding=G,this};function ee(L,G,re,de,ue){const he=G.objectMode?1:re.length;G.length+=he;const X=G.length<G.highWaterMark;return X||(G.needDrain=!0),G.writing||G.corked||G.errored||!G.constructed?(G.buffered.push({chunk:re,encoding:de,callback:ue}),G.allBuffers&&de!=="buffer"&&(G.allBuffers=!1),G.allNoop&&ue!==M&&(G.allNoop=!1)):(G.writelen=he,G.writecb=ue,G.writing=!0,G.sync=!0,L._write(re,de,G.onwrite),G.sync=!1),X&&!G.errored&&!G.destroyed}function C(L,G,re,de,ue,he,X){G.writelen=de,G.writecb=X,G.writing=!0,G.sync=!0,G.destroyed?G.onwrite(new h("write")):re?L._writev(ue,G.onwrite):L._write(ue,he,G.onwrite),G.sync=!1}function K(L,G,re,de){--G.pendingcb,de(re),W(G),I(L,re)}function w(L,G){const re=L._writableState,de=re.sync,ue=re.writecb;if(typeof ue!="function"){I(L,new y);return}re.writing=!1,re.writecb=null,re.length-=re.writelen,re.writelen=0,G?(G.stack,re.errored||(re.errored=G),L._readableState&&!L._readableState.errored&&(L._readableState.errored=G),de?r.nextTick(K,L,re,G,ue):K(L,re,G,ue)):(re.buffered.length>re.bufferedIndex&&ae(L,re),de?re.afterWriteTickInfo!==null&&re.afterWriteTickInfo.cb===ue?re.afterWriteTickInfo.count++:(re.afterWriteTickInfo={count:1,cb:ue,stream:L,state:re},r.nextTick(z,re.afterWriteTickInfo)):Q(L,re,1,ue))}function z({stream:L,state:G,count:re,cb:de}){return G.afterWriteTickInfo=null,Q(L,G,re,de)}function Q(L,G,re,de){for(!G.ending&&!L.destroyed&&G.length===0&&G.needDrain&&(G.needDrain=!1,L.emit("drain"));re-- >0;)G.pendingcb--,de();G.destroyed&&W(G),F(L,G)}function W(L){if(L.writing)return;for(let ue=L.bufferedIndex;ue<L.buffered.length;++ue){var G;const{chunk:he,callback:X}=L.buffered[ue],le=L.objectMode?1:he.length;L.length-=le,X((G=L.errored)!==null&&G!==void 0?G:new h("write"))}const re=L[q].splice(0);for(let ue=0;ue<re.length;ue++){var de;re[ue]((de=L.errored)!==null&&de!==void 0?de:new h("end"))}A(L)}function ae(L,G){if(G.corked||G.bufferProcessing||G.destroyed||!G.constructed)return;const{buffered:re,bufferedIndex:de,objectMode:ue}=G,he=re.length-de;if(!he)return;let X=de;if(G.bufferProcessing=!0,he>1&&L._writev){G.pendingcb-=he-1;const le=G.allNoop?M:ie=>{for(let Se=X;Se<re.length;++Se)re[Se].callback(ie)},fe=G.allNoop&&X===0?re:e(re,X);fe.allBuffers=G.allBuffers,C(L,G,!0,G.length,fe,"",le),A(G)}else{do{const{chunk:le,encoding:fe,callback:ie}=re[X];re[X++]=null;const Se=ue?1:le.length;C(L,G,!1,Se,le,fe,ie)}while(X<re.length&&!G.writing);X===re.length?A(G):X>256?(re.splice(0,X),G.bufferedIndex=0):G.bufferedIndex=X}G.bufferProcessing=!1}Y.prototype._write=function(L,G,re){if(this._writev)this._writev([{chunk:L,encoding:G}],re);else throw new E("_write()")},Y.prototype._writev=null,Y.prototype.end=function(L,G,re){const de=this._writableState;typeof L=="function"?(re=L,L=null,G=null):typeof G=="function"&&(re=G,G=null);let ue;if(L!=null){const he=T(this,L,G);he instanceof t&&(ue=he)}return de.corked&&(de.corked=1,this.uncork()),ue||(!de.errored&&!de.ending?(de.ending=!0,F(this,de,!0),de.ended=!0):de.finished?ue=new R("end"):de.destroyed&&(ue=new h("end"))),typeof re=="function"&&(ue||de.finished?r.nextTick(re,ue):de[q].push(re)),this};function U(L){return L.ending&&!L.destroyed&&L.constructed&&L.length===0&&!L.errored&&L.buffered.length===0&&!L.finished&&!L.writing&&!L.errorEmitted&&!L.closeEmitted}function H(L,G){let re=!1;function de(ue){if(re){I(L,ue??y());return}if(re=!0,G.pendingcb--,ue){const he=G[q].splice(0);for(let X=0;X<he.length;X++)he[X](ue);I(L,ue,G.sync)}else U(G)&&(G.prefinished=!0,L.emit("prefinish"),G.pendingcb++,r.nextTick(Z,L,G))}G.sync=!0,G.pendingcb++;try{L._final(de)}catch(ue){de(ue)}G.sync=!1}function V(L,G){!G.prefinished&&!G.finalCalled&&(typeof L._final=="function"&&!G.destroyed?(G.finalCalled=!0,H(L,G)):(G.prefinished=!0,L.emit("prefinish")))}function F(L,G,re){U(G)&&(V(L,G),G.pendingcb===0&&(re?(G.pendingcb++,r.nextTick((de,ue)=>{U(ue)?Z(de,ue):ue.pendingcb--},L,G)):U(G)&&(G.pendingcb++,Z(L,G))))}function Z(L,G){G.pendingcb--,G.finished=!0;const re=G[q].splice(0);for(let de=0;de<re.length;de++)re[de]();if(L.emit("finish"),G.autoDestroy){const de=L._readableState;(!de||de.autoDestroy&&(de.endEmitted||de.readable===!1))&&L.destroy()}}i(Y.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(L){this._writableState&&(this._writableState.destroyed=L)}},writable:{__proto__:null,get(){const L=this._writableState;return!!L&&L.writable!==!1&&!L.destroyed&&!L.errored&&!L.ending&&!L.ended},set(L){this._writableState&&(this._writableState.writable=!!L)}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){const L=this._writableState;return L?!L.destroyed&&!L.ending&&L.needDrain:!1}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});const te=b.destroy;Y.prototype.destroy=function(L,G){const re=this._writableState;return!re.destroyed&&(re.bufferedIndex<re.buffered.length||re[q].length)&&r.nextTick(W,re),te.call(this,L,G),this},Y.prototype._undestroy=b.undestroy,Y.prototype._destroy=function(L,G){G(L)},Y.prototype[f.captureRejectionSymbol]=function(L){this.destroy(L)};let ce;function pe(){return ce===void 0&&(ce={}),ce}return Y.fromWeb=function(L,G){return pe().newStreamWritableFromWritableStream(L,G)},Y.toWeb=function(L){return pe().newWritableStreamFromStreamWritable(L)},po}var fo,is;function Qc(){if(is)return fo;is=1;const r=Ht(),e=vt(),{isReadable:t,isWritable:n,isIterable:o,isNodeStream:i,isReadableNodeStream:a,isWritableNodeStream:s,isDuplexNodeStream:l,isReadableStream:d,isWritableStream:f}=yt(),m=Nt(),{AbortError:v,codes:{ERR_INVALID_ARG_TYPE:b,ERR_INVALID_RETURN_VALUE:g}}=He(),{destroyer:x}=dr(),_=bt(),k=On(),E=Xi(),{createDeferredPromise:y}=We(),u=_d(),h=globalThis.Blob||e.Blob,R=typeof h<"u"?function(j){return j instanceof h}:function(j){return!1},D=globalThis.AbortController||Vr().AbortController,{FunctionPrototypeCall:N}=Oe();class B extends _{constructor(j){super(j),(j==null?void 0:j.readable)===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),(j==null?void 0:j.writable)===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}fo=function q(j,A){if(l(j))return j;if(a(j))return M({readable:j});if(s(j))return M({writable:j});if(i(j))return M({writable:!1,readable:!1});if(d(j))return M({readable:k.fromWeb(j)});if(f(j))return M({writable:E.fromWeb(j)});if(typeof j=="function"){const{value:T,write:ee,final:C,destroy:K}=I(j);if(o(T))return u(B,T,{objectMode:!0,write:ee,final:C,destroy:K});const w=T==null?void 0:T.then;if(typeof w=="function"){let z;const Q=N(w,T,W=>{if(W!=null)throw new g("nully","body",W)},W=>{x(z,W)});return z=new B({objectMode:!0,readable:!1,write:ee,final(W){C(async()=>{try{await Q,r.nextTick(W,null)}catch(ae){r.nextTick(W,ae)}})},destroy:K})}throw new g("Iterable, AsyncIterable or AsyncFunction",A,T)}if(R(j))return q(j.arrayBuffer());if(o(j))return u(B,j,{objectMode:!0,writable:!1});if(d(j==null?void 0:j.readable)&&f(j==null?void 0:j.writable))return B.fromWeb(j);if(typeof(j==null?void 0:j.writable)=="object"||typeof(j==null?void 0:j.readable)=="object"){const T=j!=null&&j.readable?a(j==null?void 0:j.readable)?j==null?void 0:j.readable:q(j.readable):void 0,ee=j!=null&&j.writable?s(j==null?void 0:j.writable)?j==null?void 0:j.writable:q(j.writable):void 0;return M({readable:T,writable:ee})}const Y=j==null?void 0:j.then;if(typeof Y=="function"){let T;return N(Y,j,ee=>{ee!=null&&T.push(ee),T.push(null)},ee=>{x(T,ee)}),T=new B({objectMode:!0,writable:!1,read(){}})}throw new b(A,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],j)};function I(q){let{promise:j,resolve:A}=y();const Y=new D,T=Y.signal;return{value:q(async function*(){for(;;){const C=j;j=null;const{chunk:K,done:w,cb:z}=await C;if(r.nextTick(z),w)return;if(T.aborted)throw new v(void 0,{cause:T.reason});({promise:j,resolve:A}=y()),yield K}}(),{signal:T}),write(C,K,w){const z=A;A=null,z({chunk:C,done:!1,cb:w})},final(C){const K=A;A=null,K({done:!0,cb:C})},destroy(C,K){Y.abort(),K(C)}}}function M(q){const j=q.readable&&typeof q.readable.read!="function"?k.wrap(q.readable):q.readable,A=q.writable;let Y=!!t(j),T=!!n(A),ee,C,K,w,z;function Q(W){const ae=w;w=null,ae?ae(W):W&&z.destroy(W)}return z=new B({readableObjectMode:!!(j!=null&&j.readableObjectMode),writableObjectMode:!!(A!=null&&A.writableObjectMode),readable:Y,writable:T}),T&&(m(A,W=>{T=!1,W&&x(j,W),Q(W)}),z._write=function(W,ae,U){A.write(W,ae)?U():ee=U},z._final=function(W){A.end(),C=W},A.on("drain",function(){if(ee){const W=ee;ee=null,W()}}),A.on("finish",function(){if(C){const W=C;C=null,W()}})),Y&&(m(j,W=>{Y=!1,W&&x(j,W),Q(W)}),j.on("readable",function(){if(K){const W=K;K=null,W()}}),j.on("end",function(){z.push(null)}),z._read=function(){for(;;){const W=j.read();if(W===null){K=z._read;return}if(!z.push(W))return}}),z._destroy=function(W,ae){!W&&w!==null&&(W=new v),K=null,ee=null,C=null,w===null?ae(W):(w=ae,x(A,W),x(j,W))},z}return fo}var ho,as;function bt(){if(as)return ho;as=1;const{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:e,ObjectKeys:t,ObjectSetPrototypeOf:n}=Oe();ho=a;const o=On(),i=Xi();n(a.prototype,o.prototype),n(a,o);{const f=t(i.prototype);for(let m=0;m<f.length;m++){const v=f[m];a.prototype[v]||(a.prototype[v]=i.prototype[v])}}function a(f){if(!(this instanceof a))return new a(f);o.call(this,f),i.call(this,f),f?(this.allowHalfOpen=f.allowHalfOpen!==!1,f.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),f.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}r(a.prototype,{writable:{__proto__:null,...e(i.prototype,"writable")},writableHighWaterMark:{__proto__:null,...e(i.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...e(i.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...e(i.prototype,"writableBuffer")},writableLength:{__proto__:null,...e(i.prototype,"writableLength")},writableFinished:{__proto__:null,...e(i.prototype,"writableFinished")},writableCorked:{__proto__:null,...e(i.prototype,"writableCorked")},writableEnded:{__proto__:null,...e(i.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...e(i.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set(f){this._readableState&&this._writableState&&(this._readableState.destroyed=f,this._writableState.destroyed=f)}}});let s;function l(){return s===void 0&&(s={}),s}a.fromWeb=function(f,m){return l().newStreamDuplexFromReadableWritablePair(f,m)},a.toWeb=function(f){return l().newReadableWritablePairFromDuplex(f)};let d;return a.from=function(f){return d||(d=Qc()),d(f,"body")},ho}var bo,ss;function kd(){if(ss)return bo;ss=1;const{ObjectSetPrototypeOf:r,Symbol:e}=Oe();bo=a;const{ERR_METHOD_NOT_IMPLEMENTED:t}=He().codes,n=bt(),{getHighWaterMark:o}=Ln();r(a.prototype,n.prototype),r(a,n);const i=e("kCallback");function a(d){if(!(this instanceof a))return new a(d);const f=d?o(this,d,"readableHighWaterMark",!0):null;f===0&&(d={...d,highWaterMark:null,readableHighWaterMark:f,writableHighWaterMark:d.writableHighWaterMark||0}),n.call(this,d),this._readableState.sync=!1,this[i]=null,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",l)}function s(d){typeof this._flush=="function"&&!this.destroyed?this._flush((f,m)=>{if(f){d?d(f):this.destroy(f);return}m!=null&&this.push(m),this.push(null),d&&d()}):(this.push(null),d&&d())}function l(){this._final!==s&&s.call(this)}return a.prototype._final=s,a.prototype._transform=function(d,f,m){throw new t("_transform()")},a.prototype._write=function(d,f,m){const v=this._readableState,b=this._writableState,g=v.length;this._transform(d,f,(x,_)=>{if(x){m(x);return}_!=null&&this.push(_),b.ended||g===v.length||v.length<v.highWaterMark?m():this[i]=m})},a.prototype._read=function(){if(this[i]){const d=this[i];this[i]=null,d()}},bo}var mo,ls;function Sd(){if(ls)return mo;ls=1;const{ObjectSetPrototypeOf:r}=Oe();mo=t;const e=kd();r(t.prototype,e.prototype),r(t,e);function t(n){if(!(this instanceof t))return new t(n);e.call(this,n)}return t.prototype._transform=function(n,o,i){i(null,n)},mo}var go,ds;function Ki(){if(ds)return go;ds=1;const r=Ht(),{ArrayIsArray:e,Promise:t,SymbolAsyncIterator:n,SymbolDispose:o}=Oe(),i=Nt(),{once:a}=We(),s=dr(),l=bt(),{aggregateTwoErrors:d,codes:{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_RETURN_VALUE:m,ERR_MISSING_ARGS:v,ERR_STREAM_DESTROYED:b,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:x}=He(),{validateFunction:_,validateAbortSignal:k}=Yr(),{isIterable:E,isReadable:y,isReadableNodeStream:u,isNodeStream:h,isTransformStream:R,isWebStream:D,isReadableStream:N,isReadableFinished:B}=yt(),I=globalThis.AbortController||Vr().AbortController;let M,q,j;function A(W,ae,U){let H=!1;W.on("close",()=>{H=!0});const V=i(W,{readable:ae,writable:U},F=>{H=!F});return{destroy:F=>{H||(H=!0,s.destroyer(W,F||new b("pipe")))},cleanup:V}}function Y(W){return _(W[W.length-1],"streams[stream.length - 1]"),W.pop()}function T(W){if(E(W))return W;if(u(W))return ee(W);throw new f("val",["Readable","Iterable","AsyncIterable"],W)}async function*ee(W){q||(q=On()),yield*q.prototype[n].call(W)}async function C(W,ae,U,{end:H}){let V,F=null;const Z=pe=>{if(pe&&(V=pe),F){const L=F;F=null,L()}},te=()=>new t((pe,L)=>{V?L(V):F=()=>{V?L(V):pe()}});ae.on("drain",Z);const ce=i(ae,{readable:!1},Z);try{ae.writableNeedDrain&&await te();for await(const pe of W)ae.write(pe)||await te();H&&(ae.end(),await te()),U()}catch(pe){U(V!==pe?d(V,pe):pe)}finally{ce(),ae.off("drain",Z)}}async function K(W,ae,U,{end:H}){R(ae)&&(ae=ae.writable);const V=ae.getWriter();try{for await(const F of W)await V.ready,V.write(F).catch(()=>{});await V.ready,H&&await V.close(),U()}catch(F){try{await V.abort(F),U(F)}catch(Z){U(Z)}}}function w(...W){return z(W,a(Y(W)))}function z(W,ae,U){if(W.length===1&&e(W[0])&&(W=W[0]),W.length<2)throw new v("streams");const H=new I,V=H.signal,F=U==null?void 0:U.signal,Z=[];k(F,"options.signal");function te(){ue(new x)}j=j||We().addAbortListener;let ce;F&&(ce=j(F,te));let pe,L;const G=[];let re=0;function de(fe){ue(fe,--re===0)}function ue(fe,ie){var Se;if(fe&&(!pe||pe.code==="ERR_STREAM_PREMATURE_CLOSE")&&(pe=fe),!(!pe&&!ie)){for(;G.length;)G.shift()(pe);(Se=ce)===null||Se===void 0||Se[o](),H.abort(),ie&&(pe||Z.forEach(qe=>qe()),r.nextTick(ae,pe,L))}}let he;for(let fe=0;fe<W.length;fe++){const ie=W[fe],Se=fe<W.length-1,qe=fe>0,we=Se||(U==null?void 0:U.end)!==!1,Ue=fe===W.length-1;if(h(ie)){let S=function(c){c&&c.name!=="AbortError"&&c.code!=="ERR_STREAM_PREMATURE_CLOSE"&&de(c)};if(we){const{destroy:c,cleanup:p}=A(ie,Se,qe);G.push(c),y(ie)&&Ue&&Z.push(p)}ie.on("error",S),y(ie)&&Ue&&Z.push(()=>{ie.removeListener("error",S)})}if(fe===0)if(typeof ie=="function"){if(he=ie({signal:V}),!E(he))throw new m("Iterable, AsyncIterable or Stream","source",he)}else E(ie)||u(ie)||R(ie)?he=ie:he=l.from(ie);else if(typeof ie=="function"){if(R(he)){var X;he=T((X=he)===null||X===void 0?void 0:X.readable)}else he=T(he);if(he=ie(he,{signal:V}),Se){if(!E(he,!0))throw new m("AsyncIterable",`transform[${fe-1}]`,he)}else{var le;M||(M=Sd());const S=new M({objectMode:!0}),c=(le=he)===null||le===void 0?void 0:le.then;if(typeof c=="function")re++,c.call(he,J=>{L=J,J!=null&&S.write(J),we&&S.end(),r.nextTick(de)},J=>{S.destroy(J),r.nextTick(de,J)});else if(E(he,!0))re++,C(he,S,de,{end:we});else if(N(he)||R(he)){const J=he.readable||he;re++,C(J,S,de,{end:we})}else throw new m("AsyncIterable or Promise","destination",he);he=S;const{destroy:p,cleanup:$}=A(he,!1,!0);G.push(p),Ue&&Z.push($)}}else if(h(ie)){if(u(he)){re+=2;const S=Q(he,ie,de,{end:we});y(ie)&&Ue&&Z.push(S)}else if(R(he)||N(he)){const S=he.readable||he;re++,C(S,ie,de,{end:we})}else if(E(he))re++,C(he,ie,de,{end:we});else throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],he);he=ie}else if(D(ie)){if(u(he))re++,K(T(he),ie,de,{end:we});else if(N(he)||E(he))re++,K(he,ie,de,{end:we});else if(R(he))re++,K(he.readable,ie,de,{end:we});else throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],he);he=ie}else he=l.from(ie)}return(V!=null&&V.aborted||F!=null&&F.aborted)&&r.nextTick(te),he}function Q(W,ae,U,{end:H}){let V=!1;if(ae.on("close",()=>{V||U(new g)}),W.pipe(ae,{end:!1}),H){let F=function(){V=!0,ae.end()};B(W)?r.nextTick(F):W.once("end",F)}else U();return i(W,{readable:!0,writable:!1},F=>{const Z=W._readableState;F&&F.code==="ERR_STREAM_PREMATURE_CLOSE"&&Z&&Z.ended&&!Z.errored&&!Z.errorEmitted?W.once("end",U).once("error",U):U(F)}),i(ae,{readable:!1,writable:!0},U)}return go={pipelineImpl:z,pipeline:w},go}var vo,cs;function Ed(){if(cs)return vo;cs=1;const{pipeline:r}=Ki(),e=bt(),{destroyer:t}=dr(),{isNodeStream:n,isReadable:o,isWritable:i,isWebStream:a,isTransformStream:s,isWritableStream:l,isReadableStream:d}=yt(),{AbortError:f,codes:{ERR_INVALID_ARG_VALUE:m,ERR_MISSING_ARGS:v}}=He(),b=Nt();return vo=function(...x){if(x.length===0)throw new v("streams");if(x.length===1)return e.from(x[0]);const _=[...x];if(typeof x[0]=="function"&&(x[0]=e.from(x[0])),typeof x[x.length-1]=="function"){const M=x.length-1;x[M]=e.from(x[M])}for(let M=0;M<x.length;++M)if(!(!n(x[M])&&!a(x[M]))){if(M<x.length-1&&!(o(x[M])||d(x[M])||s(x[M])))throw new m(`streams[${M}]`,_[M],"must be readable");if(M>0&&!(i(x[M])||l(x[M])||s(x[M])))throw new m(`streams[${M}]`,_[M],"must be writable")}let k,E,y,u,h;function R(M){const q=u;u=null,q?q(M):M?h.destroy(M):!I&&!B&&h.destroy()}const D=x[0],N=r(x,R),B=!!(i(D)||l(D)||s(D)),I=!!(o(N)||d(N)||s(N));if(h=new e({writableObjectMode:!!(D!=null&&D.writableObjectMode),readableObjectMode:!!(N!=null&&N.readableObjectMode),writable:B,readable:I}),B){if(n(D))h._write=function(q,j,A){D.write(q,j)?A():k=A},h._final=function(q){D.end(),E=q},D.on("drain",function(){if(k){const q=k;k=null,q()}});else if(a(D)){const j=(s(D)?D.writable:D).getWriter();h._write=async function(A,Y,T){try{await j.ready,j.write(A).catch(()=>{}),T()}catch(ee){T(ee)}},h._final=async function(A){try{await j.ready,j.close().catch(()=>{}),E=A}catch(Y){A(Y)}}}const M=s(N)?N.readable:N;b(M,()=>{if(E){const q=E;E=null,q()}})}if(I){if(n(N))N.on("readable",function(){if(y){const M=y;y=null,M()}}),N.on("end",function(){h.push(null)}),h._read=function(){for(;;){const M=N.read();if(M===null){y=h._read;return}if(!h.push(M))return}};else if(a(N)){const q=(s(N)?N.readable:N).getReader();h._read=async function(){for(;;)try{const{value:j,done:A}=await q.read();if(!h.push(j))return;if(A){h.push(null);return}}catch{return}}}}return h._destroy=function(M,q){!M&&u!==null&&(M=new f),y=null,k=null,E=null,u===null?q(M):(u=q,n(N)&&t(N,M))},h},vo}var us;function Xc(){if(us)return sn;us=1;const r=globalThis.AbortController||Vr().AbortController,{codes:{ERR_INVALID_ARG_VALUE:e,ERR_INVALID_ARG_TYPE:t,ERR_MISSING_ARGS:n,ERR_OUT_OF_RANGE:o},AbortError:i}=He(),{validateAbortSignal:a,validateInteger:s,validateObject:l}=Yr(),d=Oe().Symbol("kWeak"),f=Oe().Symbol("kResistStopPropagation"),{finished:m}=Nt(),v=Ed(),{addAbortSignalNoValidate:b}=An(),{isWritable:g,isNodeStream:x}=yt(),{deprecate:_}=We(),{ArrayPrototypePush:k,Boolean:E,MathFloor:y,Number:u,NumberIsNaN:h,Promise:R,PromiseReject:D,PromiseResolve:N,PromisePrototypeThen:B,Symbol:I}=Oe(),M=I("kEmpty"),q=I("kEof");function j(F,Z){if(Z!=null&&l(Z,"options"),(Z==null?void 0:Z.signal)!=null&&a(Z.signal,"options.signal"),x(F)&&!g(F))throw new e("stream",F,"must be writable");const te=v(this,F);return Z!=null&&Z.signal&&b(Z.signal,te),te}function A(F,Z){if(typeof F!="function")throw new t("fn",["Function","AsyncFunction"],F);Z!=null&&l(Z,"options"),(Z==null?void 0:Z.signal)!=null&&a(Z.signal,"options.signal");let te=1;(Z==null?void 0:Z.concurrency)!=null&&(te=y(Z.concurrency));let ce=te-1;return(Z==null?void 0:Z.highWaterMark)!=null&&(ce=y(Z.highWaterMark)),s(te,"options.concurrency",1),s(ce,"options.highWaterMark",0),ce+=te,(async function*(){const L=We().AbortSignalAny([Z==null?void 0:Z.signal].filter(E)),G=this,re=[],de={signal:L};let ue,he,X=!1,le=0;function fe(){X=!0,ie()}function ie(){le-=1,Se()}function Se(){he&&!X&&le<te&&re.length<ce&&(he(),he=null)}async function qe(){try{for await(let we of G){if(X)return;if(L.aborted)throw new i;try{if(we=F(we,de),we===M)continue;we=N(we)}catch(Ue){we=D(Ue)}le+=1,B(we,ie,fe),re.push(we),ue&&(ue(),ue=null),!X&&(re.length>=ce||le>=te)&&await new R(Ue=>{he=Ue})}re.push(q)}catch(we){const Ue=D(we);B(Ue,ie,fe),re.push(Ue)}finally{X=!0,ue&&(ue(),ue=null)}}qe();try{for(;;){for(;re.length>0;){const we=await re[0];if(we===q)return;if(L.aborted)throw new i;we!==M&&(yield we),re.shift(),Se()}await new R(we=>{ue=we})}}finally{X=!0,he&&(he(),he=null)}}).call(this)}function Y(F=void 0){return F!=null&&l(F,"options"),(F==null?void 0:F.signal)!=null&&a(F.signal,"options.signal"),(async function*(){let te=0;for await(const pe of this){var ce;if(F!=null&&(ce=F.signal)!==null&&ce!==void 0&&ce.aborted)throw new i({cause:F.signal.reason});yield[te++,pe]}}).call(this)}async function T(F,Z=void 0){for await(const te of w.call(this,F,Z))return!0;return!1}async function ee(F,Z=void 0){if(typeof F!="function")throw new t("fn",["Function","AsyncFunction"],F);return!await T.call(this,async(...te)=>!await F(...te),Z)}async function C(F,Z){for await(const te of w.call(this,F,Z))return te}async function K(F,Z){if(typeof F!="function")throw new t("fn",["Function","AsyncFunction"],F);async function te(ce,pe){return await F(ce,pe),M}for await(const ce of A.call(this,te,Z));}function w(F,Z){if(typeof F!="function")throw new t("fn",["Function","AsyncFunction"],F);async function te(ce,pe){return await F(ce,pe)?ce:M}return A.call(this,te,Z)}class z extends n{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function Q(F,Z,te){var ce;if(typeof F!="function")throw new t("reducer",["Function","AsyncFunction"],F);te!=null&&l(te,"options"),(te==null?void 0:te.signal)!=null&&a(te.signal,"options.signal");let pe=arguments.length>1;if(te!=null&&(ce=te.signal)!==null&&ce!==void 0&&ce.aborted){const ue=new i(void 0,{cause:te.signal.reason});throw this.once("error",()=>{}),await m(this.destroy(ue)),ue}const L=new r,G=L.signal;if(te!=null&&te.signal){const ue={once:!0,[d]:this,[f]:!0};te.signal.addEventListener("abort",()=>L.abort(),ue)}let re=!1;try{for await(const ue of this){var de;if(re=!0,te!=null&&(de=te.signal)!==null&&de!==void 0&&de.aborted)throw new i;pe?Z=await F(Z,ue,{signal:G}):(Z=ue,pe=!0)}if(!re&&!pe)throw new z}finally{L.abort()}return Z}async function W(F){F!=null&&l(F,"options"),(F==null?void 0:F.signal)!=null&&a(F.signal,"options.signal");const Z=[];for await(const ce of this){var te;if(F!=null&&(te=F.signal)!==null&&te!==void 0&&te.aborted)throw new i(void 0,{cause:F.signal.reason});k(Z,ce)}return Z}function ae(F,Z){const te=A.call(this,F,Z);return(async function*(){for await(const pe of te)yield*pe}).call(this)}function U(F){if(F=u(F),h(F))return 0;if(F<0)throw new o("number",">= 0",F);return F}function H(F,Z=void 0){return Z!=null&&l(Z,"options"),(Z==null?void 0:Z.signal)!=null&&a(Z.signal,"options.signal"),F=U(F),(async function*(){var ce;if(Z!=null&&(ce=Z.signal)!==null&&ce!==void 0&&ce.aborted)throw new i;for await(const L of this){var pe;if(Z!=null&&(pe=Z.signal)!==null&&pe!==void 0&&pe.aborted)throw new i;F--<=0&&(yield L)}}).call(this)}function V(F,Z=void 0){return Z!=null&&l(Z,"options"),(Z==null?void 0:Z.signal)!=null&&a(Z.signal,"options.signal"),F=U(F),(async function*(){var ce;if(Z!=null&&(ce=Z.signal)!==null&&ce!==void 0&&ce.aborted)throw new i;for await(const L of this){var pe;if(Z!=null&&(pe=Z.signal)!==null&&pe!==void 0&&pe.aborted)throw new i;if(F-- >0&&(yield L),F<=0)return}}).call(this)}return sn.streamReturningOperators={asIndexedPairs:_(Y,"readable.asIndexedPairs will be removed in a future version."),drop:H,filter:w,flatMap:ae,map:A,take:V,compose:j},sn.promiseReturningOperators={every:ee,forEach:K,reduce:Q,toArray:W,some:T,find:C},sn}var yo,ps;function Id(){if(ps)return yo;ps=1;const{ArrayPrototypePop:r,Promise:e}=Oe(),{isIterable:t,isNodeStream:n,isWebStream:o}=yt(),{pipelineImpl:i}=Ki(),{finished:a}=Nt();Rd();function s(...l){return new e((d,f)=>{let m,v;const b=l[l.length-1];if(b&&typeof b=="object"&&!n(b)&&!t(b)&&!o(b)){const g=r(l);m=g.signal,v=g.end}i(l,(g,x)=>{g?f(g):d(x)},{signal:m,end:v})})}return yo={finished:a,pipeline:s},yo}var fs;function Rd(){if(fs)return Qn.exports;fs=1;const{Buffer:r}=vt(),{ObjectDefineProperty:e,ObjectKeys:t,ReflectApply:n}=Oe(),{promisify:{custom:o}}=We(),{streamReturningOperators:i,promiseReturningOperators:a}=Xc(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:s}}=He(),l=Ed(),{setDefaultHighWaterMark:d,getDefaultHighWaterMark:f}=Ln(),{pipeline:m}=Ki(),{destroyer:v}=dr(),b=Nt(),g=Id(),x=yt(),_=Qn.exports=Qi().Stream;_.isDestroyed=x.isDestroyed,_.isDisturbed=x.isDisturbed,_.isErrored=x.isErrored,_.isReadable=x.isReadable,_.isWritable=x.isWritable,_.Readable=On();for(const E of t(i)){let u=function(...h){if(new.target)throw s();return _.Readable.from(n(y,this,h))};const y=i[E];e(u,"name",{__proto__:null,value:y.name}),e(u,"length",{__proto__:null,value:y.length}),e(_.Readable.prototype,E,{__proto__:null,value:u,enumerable:!1,configurable:!0,writable:!0})}for(const E of t(a)){let u=function(...h){if(new.target)throw s();return n(y,this,h)};const y=a[E];e(u,"name",{__proto__:null,value:y.name}),e(u,"length",{__proto__:null,value:y.length}),e(_.Readable.prototype,E,{__proto__:null,value:u,enumerable:!1,configurable:!0,writable:!0})}_.Writable=Xi(),_.Duplex=bt(),_.Transform=kd(),_.PassThrough=Sd(),_.pipeline=m;const{addAbortSignal:k}=An();return _.addAbortSignal=k,_.finished=b,_.destroy=v,_.compose=l,_.setDefaultHighWaterMark=d,_.getDefaultHighWaterMark=f,e(_,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return g}}),e(m,o,{__proto__:null,enumerable:!0,get(){return g.pipeline}}),e(b,o,{__proto__:null,enumerable:!0,get(){return g.finished}}),_.Stream=_,_._isUint8Array=function(y){return y instanceof Uint8Array},_._uint8ArrayToBuffer=function(y){return r.from(y.buffer,y.byteOffset,y.byteLength)},Qn.exports}var hs;function Kc(){return hs||(hs=1,function(r){const e=Rd(),t=Id(),n=e.Readable.destroy;r.exports=e.Readable,r.exports._uint8ArrayToBuffer=e._uint8ArrayToBuffer,r.exports._isUint8Array=e._isUint8Array,r.exports.isDisturbed=e.isDisturbed,r.exports.isErrored=e.isErrored,r.exports.isReadable=e.isReadable,r.exports.Readable=e.Readable,r.exports.Writable=e.Writable,r.exports.Duplex=e.Duplex,r.exports.Transform=e.Transform,r.exports.PassThrough=e.PassThrough,r.exports.addAbortSignal=e.addAbortSignal,r.exports.finished=e.finished,r.exports.destroy=e.destroy,r.exports.destroy=n,r.exports.pipeline=e.pipeline,r.exports.compose=e.compose,Object.defineProperty(e,"promises",{configurable:!0,enumerable:!0,get(){return t}}),r.exports.Stream=e.Stream,r.exports.default=r.exports}(Jn)),Jn.exports}var Nd=Kc();const wo=Symbol("iter");function qr(r,e,t=4){if(t===0)return Object.assign(r,e);for(const n in e)r[n]=qr(r[n]||Object.create(null),e[n],t-1);return r}function jd(r,e,t=4){let n=!1;for(const o in r)if(o in e){const i=t===0?null:jd(r[o],e[o],t-1);if(i!==!1)n=n||Object.create(null),n[o]=i;else if(t===3)return!1}return n}function Td(r,e,t=4){let n=!1;for(const o in r)if(!(o in e))n=n||Object.create(null),n[o]=t===0?null:qr({},r[o],t-1);else if(t!==0){const i=Td(r[o],e[o],t-1);if(i!==!1)n=n||Object.create(null),n[o]=i;else if(t===3)return!1}return n}class Yc{constructor(e={}){this._id=1,this._ids=Object.create(null),this._ids[""]=1,this._entities=Object.create(null),this._entities[1]="",this._blankNodeIndex=0,this._factory=e.factory||ke}_termFromId(e){if(e[0]==="."){const t=this._entities,n=e.split(".");return this._factory.quad(this._termFromId(t[n[1]]),this._termFromId(t[n[2]]),this._termFromId(t[n[3]]),n[4]&&this._termFromId(t[n[4]]))}return Dr(e,this._factory)}_termToNumericId(e){if(e.termType==="Quad"){const t=this._termToNumericId(e.subject),n=this._termToNumericId(e.predicate),o=this._termToNumericId(e.object);let i;return t&&n&&o&&(Oi(e.graph)||(i=this._termToNumericId(e.graph)))&&this._ids[i?`.${t}.${n}.${o}.${i}`:`.${t}.${n}.${o}`]}return this._ids[er(e)]}_termToNewNumericId(e){const t=e&&e.termType==="Quad"?`.${this._termToNewNumericId(e.subject)}.${this._termToNewNumericId(e.predicate)}.${this._termToNewNumericId(e.object)}${Oi(e.graph)?"":`.${this._termToNewNumericId(e.graph)}`}`:er(e);return this._ids[t]||(this._ids[this._entities[++this._id]=t]=this._id)}createBlankNode(e){let t,n;if(e)for(t=e=`_:${e}`,n=1;this._ids[t];)t=e+n++;else do t=`_:b${this._blankNodeIndex++}`;while(this._ids[t]);return this._ids[t]=++this._id,this._entities[this._id]=t,this._factory.blankNode(t.substr(2))}}class ze{constructor(e,t){this._size=0,this._graphs=Object.create(null),!t&&e&&!e[0]&&typeof e.match!="function"&&(t=e,e=null),t=t||{},this._factory=t.factory||ke,this._entityIndex=t.entityIndex||new Yc({factory:this._factory}),this._entities=this._entityIndex._entities,this._termFromId=this._entityIndex._termFromId.bind(this._entityIndex),this._termToNumericId=this._entityIndex._termToNumericId.bind(this._entityIndex),this._termToNewNumericId=this._entityIndex._termToNewNumericId.bind(this._entityIndex),e&&this.addAll(e)}get size(){let e=this._size;if(e!==null)return e;e=0;const t=this._graphs;let n,o;for(const i in t)for(const a in n=t[i].subjects)for(const s in o=n[a])e+=Object.keys(o[s]).length;return this._size=e}_addToIndex(e,t,n,o){const i=e[t]||(e[t]={}),a=i[n]||(i[n]={}),s=o in a;return s||(a[o]=null),!s}_removeFromIndex(e,t,n,o){const i=e[t],a=i[n];delete a[o];for(const s in a)return;delete i[n];for(const s in i)return;delete e[t]}*_findInIndex(e,t,n,o,i,a,s,l){let d,f,m;const v=this._entities,b=this._termFromId(v[l]),g={subject:null,predicate:null,object:null};t&&((d=e,e={})[t]=d[t]);for(const x in e)if(f=e[x]){g[i]=this._termFromId(v[x]),n&&((d=f,f={})[n]=d[n]);for(const _ in f)if(m=f[_]){g[a]=this._termFromId(v[_]);const k=o?o in m?[o]:[]:Object.keys(m);for(let E=0;E<k.length;E++)g[s]=this._termFromId(v[k[E]]),yield this._factory.quad(g.subject,g.predicate,g.object,b)}}}_loop(e,t){for(const n in e)t(n)}_loopByKey0(e,t,n){let o,i;if(o=e[t])for(i in o)n(i)}_loopByKey1(e,t,n){let o,i;for(o in e)i=e[o],i[t]&&n(o)}_loopBy2Keys(e,t,n,o){let i,a,s;if((i=e[t])&&(a=i[n]))for(s in a)o(s)}_countInIndex(e,t,n,o){let i=0,a,s,l;t&&((a=e,e={})[t]=a[t]);for(const d in e)if(s=e[d]){n&&((a=s,s={})[n]=a[n]);for(const f in s)(l=s[f])&&(o?o in l&&i++:i+=Object.keys(l).length)}return i}_getGraphs(e){return e=e===""?1:e&&(this._termToNumericId(e)||-1),typeof e!="number"?this._graphs:{[e]:this._graphs[e]}}_uniqueEntities(e){const t=Object.create(null);return n=>{n in t||(t[n]=!0,e(this._termFromId(this._entities[n],this._factory)))}}add(e){return this.addQuad(e),this}addQuad(e,t,n,o){t||(o=e.graph,n=e.object,t=e.predicate,e=e.subject),o=o?this._termToNewNumericId(o):1;let i=this._graphs[o];return i||(i=this._graphs[o]={subjects:{},predicates:{},objects:{}},Object.freeze(i)),e=this._termToNewNumericId(e),t=this._termToNewNumericId(t),n=this._termToNewNumericId(n),this._addToIndex(i.subjects,e,t,n)?(this._addToIndex(i.predicates,t,n,e),this._addToIndex(i.objects,n,e,t),this._size=null,!0):!1}addQuads(e){for(let t=0;t<e.length;t++)this.addQuad(e[t])}delete(e){return this.removeQuad(e),this}has(e,t,n,o){return e&&e.subject&&({subject:e,predicate:t,object:n,graph:o}=e),!this.readQuads(e,t,n,o).next().done}import(e){return e.on("data",t=>{this.addQuad(t)}),e}removeQuad(e,t,n,o){t||({subject:e,predicate:t,object:n,graph:o}=e),o=o?this._termToNumericId(o):1;const i=this._graphs;let a,s,l;if(!(e=e&&this._termToNumericId(e))||!(t=t&&this._termToNumericId(t))||!(n=n&&this._termToNumericId(n))||!(a=i[o])||!(s=a.subjects[e])||!(l=s[t])||!(n in l))return!1;this._removeFromIndex(a.subjects,e,t,n),this._removeFromIndex(a.predicates,t,n,e),this._removeFromIndex(a.objects,n,e,t),this._size!==null&&this._size--;for(e in a.subjects)return!0;return delete i[o],!0}removeQuads(e){for(let t=0;t<e.length;t++)this.removeQuad(e[t])}remove(e){return e.on("data",t=>{this.removeQuad(t)}),e}removeMatches(e,t,n,o){const i=new Nd.Readable({objectMode:!0}),a=this.readQuads(e,t,n,o);return i._read=s=>{for(;--s>=0;){const{done:l,value:d}=a.next();if(l){i.push(null);return}i.push(d)}},this.remove(i)}deleteGraph(e){return this.removeMatches(null,null,null,e)}getQuads(e,t,n,o){return[...this.readQuads(e,t,n,o)]}*readQuads(e,t,n,o){const i=this._getGraphs(o);let a,s,l,d;if(!(e&&!(s=this._termToNumericId(e))||t&&!(l=this._termToNumericId(t))||n&&!(d=this._termToNumericId(n))))for(const f in i)(a=i[f])&&(s?d?yield*this._findInIndex(a.objects,d,s,l,"object","subject","predicate",f):yield*this._findInIndex(a.subjects,s,l,null,"subject","predicate","object",f):l?yield*this._findInIndex(a.predicates,l,d,null,"predicate","object","subject",f):d?yield*this._findInIndex(a.objects,d,null,null,"object","subject","predicate",f):yield*this._findInIndex(a.subjects,null,null,null,"subject","predicate","object",f))}match(e,t,n,o){return new kt(this,e,t,n,o,{entityIndex:this._entityIndex})}countQuads(e,t,n,o){const i=this._getGraphs(o);let a=0,s,l,d,f;if(e&&!(l=this._termToNumericId(e))||t&&!(d=this._termToNumericId(t))||n&&!(f=this._termToNumericId(n)))return 0;for(const m in i)(s=i[m])&&(e?n?a+=this._countInIndex(s.objects,f,l,d):a+=this._countInIndex(s.subjects,l,d,f):t?a+=this._countInIndex(s.predicates,d,f,l):a+=this._countInIndex(s.objects,f,l,d));return a}forEach(e,t,n,o,i){this.some(a=>(e(a,this),!1),t,n,o,i)}every(e,t,n,o,i){return!this.some(a=>!e(a,this),t,n,o,i)}some(e,t,n,o,i){for(const a of this.readQuads(t,n,o,i))if(e(a,this))return!0;return!1}getSubjects(e,t,n){const o=[];return this.forSubjects(i=>{o.push(i)},e,t,n),o}forSubjects(e,t,n,o){const i=this._getGraphs(o);let a,s,l;if(e=this._uniqueEntities(e),!(t&&!(s=this._termToNumericId(t))||n&&!(l=this._termToNumericId(n))))for(o in i)(a=i[o])&&(s?l?this._loopBy2Keys(a.predicates,s,l,e):this._loopByKey1(a.subjects,s,e):l?this._loopByKey0(a.objects,l,e):this._loop(a.subjects,e))}getPredicates(e,t,n){const o=[];return this.forPredicates(i=>{o.push(i)},e,t,n),o}forPredicates(e,t,n,o){const i=this._getGraphs(o);let a,s,l;if(e=this._uniqueEntities(e),!(t&&!(s=this._termToNumericId(t))||n&&!(l=this._termToNumericId(n))))for(o in i)(a=i[o])&&(s?l?this._loopBy2Keys(a.objects,l,s,e):this._loopByKey0(a.subjects,s,e):l?this._loopByKey1(a.predicates,l,e):this._loop(a.predicates,e))}getObjects(e,t,n){const o=[];return this.forObjects(i=>{o.push(i)},e,t,n),o}forObjects(e,t,n,o){const i=this._getGraphs(o);let a,s,l;if(e=this._uniqueEntities(e),!(t&&!(s=this._termToNumericId(t))||n&&!(l=this._termToNumericId(n))))for(o in i)(a=i[o])&&(s?l?this._loopBy2Keys(a.subjects,s,l,e):this._loopByKey1(a.objects,s,e):l?this._loopByKey0(a.predicates,l,e):this._loop(a.objects,e))}getGraphs(e,t,n){const o=[];return this.forGraphs(i=>{o.push(i)},e,t,n),o}forGraphs(e,t,n,o){for(const i in this._graphs)this.some(a=>(e(a.graph),!0),t,n,o,this._termFromId(this._entities[i]))}createBlankNode(e){return this._entityIndex.createBlankNode(e)}extractLists({remove:e=!1,ignoreErrors:t=!1}={}){const n={},o=t?()=>!0:(s,l)=>{throw new Error(`${s.value} ${l}`)},i=this.getQuads(null,Pe.rdf.rest,Pe.rdf.nil,null),a=e?[...i]:[];return i.forEach(s=>{const l=[];let d=!1,f,m;const v=s.graph;let b=s.subject;for(;b&&!d;){const g=this.getQuads(null,null,b,null),x=this.getQuads(b,null,null,null);let _,k=null,E=null,y=null;for(let u=0;u<x.length&&!d;u++)_=x[u],_.graph.equals(v)?f?d=o(b,"has non-list arcs out"):_.predicate.value===Pe.rdf.first?k?d=o(b,"has multiple rdf:first arcs"):a.push(k=_):_.predicate.value===Pe.rdf.rest?E?d=o(b,"has multiple rdf:rest arcs"):a.push(E=_):g.length?d=o(b,"can't be subject and object"):(f=_,m="subject"):d=o(b,"not confined to single graph");for(let u=0;u<g.length&&!d;++u)_=g[u],f?d=o(b,"can't have coreferences"):_.predicate.value===Pe.rdf.rest?y?d=o(b,"has incoming rdf:rest arcs"):y=_:(f=_,m="object");k?l.unshift(k.object):d=o(b,"has no list head"),b=y&&y.subject}d?e=!1:f&&(n[f[m].value]=l)}),e&&this.removeQuads(a),n}addAll(e){if(e instanceof kt&&(e=e.filtered),Array.isArray(e))this.addQuads(e);else if(e instanceof ze&&e._entityIndex===this._entityIndex)e._size!==0&&(this._graphs=qr(this._graphs,e._graphs),this._size=null);else for(const t of e)this.add(t);return this}contains(e){if(e instanceof kt&&(e=e.filtered),e===this)return!0;if(!(e instanceof ze)||this._entityIndex!==e._entityIndex)return e.every(d=>this.has(d));const t=this._graphs,n=e._graphs;let o,i,a,s,l;for(const d in n){if(!(o=t[d]))return!1;o=o.subjects;for(const f in i=n[d].subjects){if(!(a=o[f]))return!1;for(const m in s=i[f]){if(!(l=a[m]))return!1;for(const v in s[m])if(!(v in l))return!1}}}return!0}deleteMatches(e,t,n,o){for(const i of this.match(e,t,n,o))this.removeQuad(i);return this}difference(e){if(e&&e instanceof kt&&(e=e.filtered),e===this)return new ze({entityIndex:this._entityIndex});if(e instanceof ze&&e._entityIndex===this._entityIndex){const t=new ze({entityIndex:this._entityIndex}),n=Td(this._graphs,e._graphs);return n&&(t._graphs=n,t._size=null),t}return this.filter(t=>!e.has(t))}equals(e){return e instanceof kt&&(e=e.filtered),e===this||this.size===e.size&&this.contains(e)}filter(e){const t=new ze({entityIndex:this._entityIndex});for(const n of this)e(n,this)&&t.add(n);return t}intersection(e){if(e instanceof kt&&(e=e.filtered),e===this){const t=new ze({entityIndex:this._entityIndex});return t._graphs=qr(Object.create(null),this._graphs),t._size=this._size,t}else if(e instanceof ze&&this._entityIndex===e._entityIndex){const t=new ze({entityIndex:this._entityIndex}),n=jd(e._graphs,this._graphs);return n&&(t._graphs=n,t._size=null),t}return this.filter(t=>e.has(t))}map(e){const t=new ze({entityIndex:this._entityIndex});for(const n of this)t.add(e(n,this));return t}reduce(e,t){const n=this.readQuads();let o=t===void 0?n.next().value:t;for(const i of n)o=e(o,i,this);return o}toArray(){return this.getQuads()}toCanonical(){throw new Error("not implemented")}toStream(){return this.match()}toString(){return new Ji().quadsToString(this)}union(e){const t=new ze({entityIndex:this._entityIndex});return t._graphs=qr(Object.create(null),this._graphs),t._size=this._size,t.addAll(e),t}*[Symbol.iterator](){yield*this.readQuads()}}function at(r,e,t=0){const n=e[t];if(n&&!(n in r))return!1;let o=!1;for(const i in n?{[n]:r[n]}:r){const a=t===2?null:at(r[i],e,t+1);a!==!1&&(o=o||Object.create(null),o[i]=a)}return o}class kt extends Nd.Readable{constructor(e,t,n,o,i,a){super({objectMode:!0}),Object.assign(this,{n3Store:e,subject:t,predicate:n,object:o,graph:i,options:a})}get filtered(){if(!this._filtered){const{n3Store:e,graph:t,object:n,predicate:o,subject:i}=this,a=this._filtered=new ze({factory:e._factory,entityIndex:this.options.entityIndex});let s,l,d;if(i&&!(s=a._termToNumericId(i))||o&&!(l=a._termToNumericId(o))||n&&!(d=a._termToNumericId(n)))return a;const f=e._getGraphs(t);for(const m in f){let v,b,g,x;(x=f[m])&&(!s&&l?(b=at(x.predicates,[l,d,s]))&&(v=at(x.subjects,[s,l,d]),g=at(x.objects,[d,s,l])):d?(g=at(x.objects,[d,s,l]))&&(v=at(x.subjects,[s,l,d]),b=at(x.predicates,[l,d,s])):(v=at(x.subjects,[s,l,d]))&&(b=at(x.predicates,[l,d,s]),g=at(x.objects,[d,s,l])),v&&(a._graphs[m]={subjects:v,predicates:b,objects:g}))}a._size=null}return this._filtered}get size(){return this.filtered.size}_read(e){e>0&&!this[wo]&&(this[wo]=this[Symbol.iterator]());const t=this[wo];for(;--e>=0;){const{done:n,value:o}=t.next();if(n){this.push(null);return}this.push(o)}}addAll(e){return this.filtered.addAll(e)}contains(e){return this.filtered.contains(e)}deleteMatches(e,t,n,o){return this.filtered.deleteMatches(e,t,n,o)}difference(e){return this.filtered.difference(e)}equals(e){return this.filtered.equals(e)}every(e,t,n,o,i){return this.filtered.every(e,t,n,o,i)}filter(e){return this.filtered.filter(e)}forEach(e,t,n,o,i){return this.filtered.forEach(e,t,n,o,i)}import(e){return this.filtered.import(e)}intersection(e){return this.filtered.intersection(e)}map(e){return this.filtered.map(e)}some(e,t,n,o,i){return this.filtered.some(e,t,n,o,i)}toCanonical(){return this.filtered.toCanonical()}toStream(){return this._filtered?this._filtered.toStream():this.n3Store.match(this.subject,this.predicate,this.object,this.graph)}union(e){return this._filtered?this._filtered.union(e):this.n3Store.match(this.subject,this.predicate,this.object,this.graph).addAll(e)}toArray(){return this._filtered?this._filtered.toArray():this.n3Store.getQuads(this.subject,this.predicate,this.object,this.graph)}reduce(e,t){return this.filtered.reduce(e,t)}toString(){return new Ji().quadsToString(this)}add(e){return this.filtered.add(e)}delete(e){return this.filtered.delete(e)}has(e){return this.filtered.has(e)}match(e,t,n,o){return new kt(this.filtered,e,t,n,o,this.options)}*[Symbol.iterator](){yield*this._filtered||this.n3Store.readQuads(this.subject,this.predicate,this.object,this.graph)}}const ve="http://www.w3.org/ns/shacl#",bs="http://datashapes.org/dash#",Pt="http://www.w3.org/2001/XMLSchema#",Yi="http://www.w3.org/1999/02/22-rdf-syntax-ns#",Zi="http://www.w3.org/2000/01/rdf-schema#",Ad="http://www.w3.org/2004/02/skos/core#",Ld="http://www.w3.org/2002/07/owl#",Zc="http://www.w3.org/ns/oa#",eu="http://purl.org/dc/terms/",tu="http://xmlns.com/foaf/0.1/",xn=ke.namedNode("loaded-shapes"),st=ke.namedNode("loaded-data"),Be=ke.namedNode(Yi+"type"),$i=ke.namedNode(eu+"conformsTo"),ru=ke.namedNode(Zi+"subClassOf"),nu=ke.namedNode(Ad+"broader"),ea=ke.namedNode(Ld+"imports"),ou=ke.namedNode(Ld+"NamedIndividual"),cn=ke.namedNode(ve+"NodeShape"),iu=ke.namedNode(ve+"IRI"),_n=ke.namedNode(ve+"property"),ta=ke.namedNode(ve+"class"),Wr=ke.namedNode(ve+"targetClass"),au=ke.namedNode(ve+"nodeKind");function Fr(r,e,t=ve,n){let o="";const i=su(r,e,t,n);return i&&(o=i.value),o}function su(r,e,t=ve,n){let o;const i=t+e;if(n!=null&&n.length){for(const a of n)for(const s of r)if(s.predicate.value===i){if(s.object.id.endsWith(`@${a}`))return s.object;s.object.id.indexOf("@")<0?o=s.object:o||(o=s.object)}}else for(const a of r)if(a.predicate.value===i)return a.object;return o}function lu(r){var e;(e=r.querySelector("input,select,textarea"))==null||e.focus()}function $n(r,e){return Fr(r,"prefLabel",Ad,e)||Fr(r,"label",Zi,e)||Fr(r,"name",tu,e)}function Di(r,e,t,n){const o=[];for(const i of r)o.push({value:i,label:$n(e.getQuads(i,null,null,null),t),indent:n});return o}function Mi(r,e){for(const t in e)r=r.replace(e[t],"");return r}function Od(r,e,t,n,o=new Set){for(const i of e.owlImports)o.has(i.id)||(o.add(i.id),n.push(...t.getSubjects(Be,r,i)));e.parent&&Od(r,e.parent,t,n,o)}function kn(r,e,t=0){let n;if(e.shaclIn){const i=e.config.lists[e.shaclIn];n=i!=null&&i.length?i:[]}else n=e.config.store.getSubjects(Be,r,xn),n.push(...e.config.store.getSubjects(Be,r,st)),Od(r,e,e.config.store,n);const o=Di(n,e.config.store,e.config.languages,t);if(e.shaclIn===void 0){for(const i of e.config.store.getSubjects(ru,r,null))o.push(...kn(i,e,t+1));if(e.config.store.getQuads(r,Be,ou,null).length>0){o.push(...Di([r],e.config.store,e.config.languages,t));for(const i of e.config.store.getSubjects(nu,r,null))o.push(...kn(i,e,t+1))}}return o}function Ci(r){let e;try{e=new URL(r)}catch{return!1}return e.protocol==="http:"||e.protocol==="https:"}function ms(r,e,t){if(e===void 0)return t;if(t===void 0)return e;const n=r.indexOf(e.language);if(n<0)return t;const o=r.indexOf(t.language);return o<0||o>n?e:t}function $d(r,e,t){const n=document.createElement("div");n.classList.add("shacl-or-constraint");const o=[];if(o.push({label:"--- please choose ---",value:""}),e instanceof Rt){const i=[];let a=!1;r.length&&(a=t.store.countQuads(r[0],_n,null,null)>0);for(let d=0;d<r.length;d++)if(a){const f=t.store.getObjects(r[d],_n,null),m=[];let v="";for(const b of f){const g=new In(b,e,t);m.push(g),v+=(v.length>1?" / ":"")+g.template.label}i.push(m),o.push({label:v,value:d.toString()})}else{const f=new In(r[d],e,t);i.push([f]),o.push({label:f.template.label,value:d.toString()})}const s=t.theme.createListEditor("Please choose",null,!1,o),l=s.querySelector(".editor");l.onchange=()=>{if(l.value){const d=i[parseInt(l.value)];let f;d.length&&(f=d[0],n.replaceWith(d[0]));for(let m=1;m<d.length;m++)f.after(d[m]),f=d[m]}},n.appendChild(s)}else{const i=[];for(let l=0;l<r.length;l++){const d=t.store.getQuads(r[l],null,null,null);d.length&&(i.push(d),o.push({label:$n(d,t.languages)||Mi(d[0].predicate.value,t.prefixes)+" = "+Mi(d[0].object.value,t.prefixes),value:l.toString()}))}const a=t.theme.createListEditor(e.template.label+"?",null,!1,o,e.template),s=a.querySelector(".editor");s.onchange=()=>{s.value&&n.replaceWith(gn(e.template.clone().merge(i[parseInt(s.value)]),void 0,!0))},n.appendChild(a)}return n}function du(r,e,t){if(e instanceof lt){const n=e.datatype;for(const o of r){const i=t.store.getQuads(o,null,null,null);for(const a of i)if(a.predicate.value===`${ve}datatype`&&a.object.equals(n))return i}}else{const n=t.store.getObjects(e,Be,null);for(const o of r){const i=t.store.getQuads(o,null,null,null);for(const a of i)if(n.length>0){if(a.predicate.value===`${ve}node`){for(const s of n)if(t.store.getQuads(a.object,Wr,s,null).length>0)return i}if(a.predicate.equals(ta)){for(const s of n)if(a.object.equals(s))return i}}else if(a.predicate.equals(au)&&a.object.equals(iu))return i}}return console.error("couldn't resolve sh:or/sh:xone on property for value",e),[]}function cu(r,e,t){for(const n of r){let o=!1;const i=t.store.getObjects(n,_n,null);for(const a of i){const s=t.store.getObjects(a,`${ve}path`,null);for(const l of s)if(o=t.store.countQuads(e,l,null,null)>0,o)break}if(o)return i}return console.error("couldn't resolve sh:or/sh:xone on node for value",e),[]}const uu={[`${ve}name`]:(r,e)=>{const t=e;r.name=ms(r.config.languages,r.name,t)},[`${ve}description`]:(r,e)=>{const t=e;r.description=ms(r.config.languages,r.description,t)},[`${ve}path`]:(r,e)=>{r.path=e.value},[`${ve}node`]:(r,e)=>{r.node=e},[`${ve}datatype`]:(r,e)=>{r.datatype=e},[`${ve}nodeKind`]:(r,e)=>{r.nodeKind=e},[`${ve}minCount`]:(r,e)=>{r.minCount=parseInt(e.value)},[`${ve}maxCount`]:(r,e)=>{r.maxCount=parseInt(e.value)},[`${ve}minLength`]:(r,e)=>{r.minLength=parseInt(e.value)},[`${ve}maxLength`]:(r,e)=>{r.maxLength=parseInt(e.value)},[`${ve}minInclusive`]:(r,e)=>{r.minInclusive=parseInt(e.value)},[`${ve}maxInclusive`]:(r,e)=>{r.maxInclusive=parseInt(e.value)},[`${ve}minExclusive`]:(r,e)=>{r.minExclusive=parseInt(e.value)},[`${ve}maxExclusive`]:(r,e)=>{r.maxExclusive=parseInt(e.value)},[`${ve}pattern`]:(r,e)=>{r.pattern=e.value},[`${ve}order`]:(r,e)=>{r.order=parseInt(e.value)},[`${bs}singleLine`]:(r,e)=>{r.singleLine=e.value==="true"},[`${bs}readonly`]:(r,e)=>{r.readonly=e.value==="true"},[`${Zc}styleClass`]:(r,e)=>{r.cssClass=e.value},[`${ve}and`]:(r,e)=>{r.shaclAnd=e.value},[`${ve}in`]:(r,e)=>{r.shaclIn=e.value},[`${ve}languageIn`]:(r,e)=>{r.languageIn=r.config.lists[e.value],r.datatype=ke.namedNode(Yi+"langString")},[`${ve}defaultValue`]:(r,e)=>{r.defaultValue=e},[`${ve}hasValue`]:(r,e)=>{r.hasValue=e},[`${ve}qualifiedValueShape`]:(r,e)=>{r.qualifiedValueShape=e},[`${ve}qualifiedMinCount`]:(r,e)=>{r.minCount=parseInt(e.value)},[`${ve}qualifiedMaxCount`]:(r,e)=>{r.maxCount=parseInt(e.value)},[ea.id]:(r,e)=>{r.owlImports.push(e)},[ta.id]:(r,e)=>{r.class=e;const t=r.config.store.getSubjects(Wr,e,null);t.length>0&&(r.node=t[0])},[`${ve}or`]:(r,e)=>{const t=r.config.lists[e.value];t!=null&&t.length?r.shaclOr=t:console.error("list for sh:or not found:",e.value,"existing lists:",r.config.lists)},[`${ve}xone`]:(r,e)=>{const t=r.config.lists[e.value];t!=null&&t.length?r.shaclXone=t:console.error("list for sh:xone not found:",e.value,"existing lists:",r.config.lists)}};class pu{constructor(e,t,n){this.label="",this.owlImports=[],this.extendedShapes=[],this.parent=t,this.config=n,this.merge(e),this.qualifiedValueShape&&this.merge(n.store.getQuads(this.qualifiedValueShape,null,null,null))}merge(e){var t,n;for(const o of e)(t=uu[o.predicate.id])==null||t.call(this,this,o.object);if(this.label=((n=this.name)==null?void 0:n.value)||$n(e,this.config.languages),!this.label&&!this.shaclAnd&&(this.label=this.path?Mi(this.path,this.config.prefixes):"unknown"),(this.node||this.shaclAnd)&&(this.node&&this.extendedShapes.push(this.node),this.shaclAnd)){const o=this.config.lists[this.shaclAnd];if(o!=null&&o.length)for(const i of o)this.extendedShapes.push(i)}return this}clone(){const e=Object.assign({},this);return e.owlImports=[...this.owlImports],this.languageIn&&(e.languageIn=[...this.languageIn]),this.shaclOr&&(e.shaclOr=[...this.shaclOr]),this.shaclXone&&(e.shaclXone=[...this.shaclXone]),e.merge=this.merge.bind(e),e.clone=this.clone.bind(e),e}}const fu=`form { box-sizing: border-box; display:block; --label-width: 8em; --caret-size: 10px; }
|
|
28
|
+
form.mode-edit { padding-left: 1em; }
|
|
29
|
+
form *, form ::after, form ::before { box-sizing: inherit; }
|
|
30
|
+
shacl-node, .shacl-group { display: flex; flex-direction: column; width: 100%; position: relative; }
|
|
31
|
+
shacl-node .remove-button { margin-left: 4px; margin-top: 1px; }
|
|
32
|
+
shacl-node .add-button { color: #555; background-color: transparent; margin: 4px 24px 0 0; border: 0; }
|
|
33
|
+
shacl-node .add-button:hover { color:#222; }
|
|
34
|
+
shacl-node .add-button:focus { box-shadow: none; }
|
|
35
|
+
shacl-node h1 { font-size: 1.1rem; border-bottom: 1px solid; margin-top: 4px; color: #555; }
|
|
36
|
+
shacl-property { display: flex; flex-direction: column; align-items: end; position: relative; }
|
|
37
|
+
shacl-property:not(.may-add) > .add-button { display: none; }
|
|
38
|
+
shacl-property:not(.may-remove) > .property-instance > .remove-button:not(.persistent) { visibility: hidden; }
|
|
39
|
+
shacl-property:not(.may-remove) > .shacl-or-constraint > .remove-button:not(.persistent) { visibility: hidden; }
|
|
40
|
+
.mode-view .shacl-group:not(:has(shacl-property)) { display: none; }
|
|
41
|
+
.property-instance, .shacl-or-constraint { display: flex; align-items: flex-start; padding: 4px 0; width: 100%; position: relative; }
|
|
42
|
+
.shacl-or-constraint label { display: inline-block; word-break: break-word; width: var(--label-width); line-height: 1em; padding-top: 0.15em; padding-right: 1em; flex-shrink: 0; position: relative; }
|
|
43
|
+
.property-instance label[title] { cursor: help; text-decoration: underline dashed #AAA; }
|
|
44
|
+
.property-instance.linked label:after, label.linked:after { content: '\\1F517'; font-size: 0.6em; padding-left: 6px; }
|
|
45
|
+
.mode-edit .property-instance label.required::before { color: red; content: '\\2736'; font-size: 0.6rem; position: absolute; left: -1.4em; top: 0.15rem; }
|
|
46
|
+
.property-instance.valid::before { position: absolute; left: calc(var(--label-width) - 1em); top: 3px; color: green; content: '\\2713'; }
|
|
47
|
+
.editor:not([type='checkbox']), .shacl-or-constraint select { flex-grow: 1; }
|
|
48
|
+
.shacl-or-constraint select { border: 1px solid #DDD; padding: 2px 4px; }
|
|
49
|
+
select { overflow: hidden; text-overflow: ellipsis; }
|
|
50
|
+
textarea.editor { resize: vertical; }
|
|
51
|
+
.lang-chooser { position: absolute; top: 6px; right: 26px; border: 0; background-color: #e9e9ed; padding: 2px 4px; max-width: 40px; width: 40px; box-sizing: content-box; }
|
|
52
|
+
.lang-chooser+.editor { padding-right: 55px; }
|
|
53
|
+
.validation-error { position: absolute; left: calc(var(--label-width) - 1em); top: 3px; color: red; cursor: help; }
|
|
54
|
+
.validation-error::before { content: '\\26a0' }
|
|
55
|
+
.validation-error.node { left: -1em; }
|
|
56
|
+
.invalid > .editor { border-color: red !important; }
|
|
57
|
+
.ml-0 { margin-left: 0 !important; }
|
|
58
|
+
.pr-0 { padding-right: 0 !important; }
|
|
59
|
+
.mode-view .property-instance:not(:first-child) > label { visibility: hidden; }
|
|
60
|
+
.mode-view .property-instance label { width: var(--label-width); }
|
|
61
|
+
|
|
62
|
+
.d-flex { display: flex; }
|
|
63
|
+
.lang { opacity: 0.65; font-size: 0.6em; }
|
|
64
|
+
a, a:visited { color: inherit; }
|
|
65
|
+
|
|
66
|
+
.fadeIn, .fadeOut { animation: fadeIn 0.2s ease-out; }
|
|
67
|
+
.fadeOut { animation-direction: reverse; animation-timing-function: ease-out;}
|
|
68
|
+
@keyframes fadeIn {
|
|
69
|
+
0% { opacity: 0; transform: scaleY(0.8); }
|
|
70
|
+
100% { opacity: 1; transform: scaleY(1); }
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.collapsible > .activator { display: flex; justify-content: space-between; align-items: center; cursor: pointer; width: 100%; border: 0; padding: 8px 0; transition: 0.2s; }
|
|
74
|
+
.collapsible > .activator:hover, .collapsible.open > .activator { background-color: #F5F5F5; }
|
|
75
|
+
.collapsible > .activator::after { content:''; width: var(--caret-size); height: var(--caret-size); border-style: none solid solid none; border-width: calc(0.3 * var(--caret-size)); transform: rotate(45deg); transition: transform .15s ease-out; margin-right: calc(0.5 * var(--caret-size)); }
|
|
76
|
+
.collapsible.open > .activator::after { transform: rotate(225deg); }
|
|
77
|
+
.collapsible > *:not(.activator) { transition: all 0.2s ease-out; opacity: 1; }
|
|
78
|
+
.collapsible:not(.open) > *:not(.activator) { max-height: 0; padding: 0; opacity: 0; overflow: hidden; }
|
|
79
|
+
.collapsible > .property-instance > shacl-node > h1 { display: none; }
|
|
80
|
+
.collapsible.open > .property-instance:nth-child(odd) { background-color: #F5F5F5; }
|
|
81
|
+
.ref-link { cursor: pointer; }
|
|
82
|
+
.ref-link:hover { text-decoration: underline; }
|
|
83
|
+
.node-id-display { color: #999; font-size: 11px; }`;class hu{constructor(e){let t=fu;e&&(t+=`
|
|
84
|
+
`+e),this.stylesheet=new CSSStyleSheet,this.stylesheet.replaceSync(t)}apply(e){}createViewer(e,t,n){const o=document.createElement("div"),i=document.createElement("label");i.innerHTML=e+":",n.description&&i.setAttribute("title",n.description.value),o.appendChild(i);let a=t.value,s=null;if(t instanceof Vi){const d=n.config.store.getQuads(a,null,null,null);if(d.length){const f=$n(d,n.config.languages);f&&(a=f)}}else t instanceof lt&&(t.language?(s=document.createElement("span"),s.classList.add("lang"),s.innerText=`@${t.language}`):t.datatype.value===`${Pt}date`?a=new Date(Date.parse(t.value)).toDateString():t.datatype.value===`${Pt}dateTime`&&(a=new Date(Date.parse(t.value)).toLocaleString()));let l;return Ci(t.value)?(l=document.createElement("a"),l.setAttribute("href",t.value)):l=document.createElement("div"),l.classList.add("d-flex"),l.innerText=a,s&&l.appendChild(s),o.appendChild(l),o}}function bu(r,e,t){var n,o,i;if(t){const a=r.minCount!==void 0&&r.minCount>0;if(r.class)return r.config.theme.createListEditor(r.label,e,a,kn(r.class,r),r);if(r.shaclIn){const s=r.config.lists[r.shaclIn];if(s!=null&&s.length){const l=Di(s,r.config.store,r.config.languages);return r.config.theme.createListEditor(r.label,e,a,l,r)}else console.error("list not found:",r.shaclIn,"existing lists:",r.config.lists)}if(((n=r.datatype)==null?void 0:n.value)===`${Yi}langString`||(o=r.languageIn)!=null&&o.length)return r.config.theme.createLangStringEditor(r.label,e,a,r);switch((i=r.datatype)==null?void 0:i.value.replace(Pt,"")){case"integer":case"float":case"double":case"decimal":return r.config.theme.createNumberEditor(r.label,e,a,r);case"date":case"dateTime":return r.config.theme.createDateEditor(r.label,e,a,r);case"boolean":return r.config.theme.createBooleanEditor(r.label,e,a,r);case"base64Binary":return r.config.theme.createFileEditor(r.label,e,a,r)}return r.config.theme.createTextEditor(r.label,e,a,r)}else{if(e)return r.config.theme.createViewer(r.label,e,r);const a=document.createElement("div");return a.innerHTML="No value",a}}function mu(r,e,t){if(e==="application/ld+json")return gu(r);{const n=new Ji({format:e,prefixes:t});n.addQuads(r);let o="";return n.end((i,a)=>{i&&console.error(i),o=a}),o}}function gu(r){const e=[];for(const t of r){const n={"@id":t.subject.id};if(t.predicate===Be)n["@type"]=t.object.id;else{let o=t.object.value;t.object instanceof lt?t.object.language?o={"@language":t.object.language,"@value":t.object.value}:t.object.datatype&&t.object.datatype.value!==`${Pt}#string`&&(o={"@type":t.object.datatype.value,"@value":t.object.value}):o={"@id":t.object.id},n[t.predicate.value]=o}e.push(n)}return JSON.stringify(e)}function vu(r){let e=r.shaclDatatype,t=r.value;if(t){if(r.dataset.class||r.dataset.nodeKind===ve+"IRI")return ke.namedNode(t);if(r.dataset.link)return JSON.parse(r.dataset.link);if(r.dataset.lang?e=r.dataset.lang:r.type==="number"?t=parseFloat(t):r.type==="file"&&r.binaryData?t=r.binaryData:r.type==="datetime-local"&&(t=new Date(t).toISOString().slice(0,19)),!e&&typeof t=="string"){const n=t.split("^^");n.length===2&&(n[0].startsWith('"')&&n[0].endsWith('"')||n[0].startsWith("'")&&n[0].endsWith("'"))&&n[1].split(":").length===2&&(t=n[0].substring(1,n[0].length-1),e=ke.namedNode(n[1]))}return ke.literal(t,e)}else if((r.type==="checkbox"||r.getAttribute("type")==="checkbox")&&(r.checked||parseInt(r.dataset.minCount||"0")>0))return ke.literal(r.checked?"true":"false",e)}const zr={};function yu(r){r.predicate===void 0&&r.datatype===void 0?console.warn('not registering plugin because it does neither define "predicate" nor "datatype"',r):zr[`${r.predicate}^${r.datatype}`]=r}function wu(){return Object.entries(zr).map(r=>r[1])}function xu(r,e){let t=zr[`${r}^${e}`];return t||(t=zr[`${r}^undefined`],t)?t:zr[`undefined^${e}`]}class _m{constructor(e,t){this.predicate=e.predicate,this.datatype=e.datatype,t&&(this.stylesheet=new CSSStyleSheet,this.stylesheet.replaceSync(t))}createViewer(e,t){return e.config.theme.createViewer(e.label,t,e)}}/**
|
|
85
|
+
* @license
|
|
86
|
+
* Copyright 2019 Google LLC
|
|
87
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
+
*/const hn=globalThis,ra=hn.ShadowRoot&&(hn.ShadyCSS===void 0||hn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,na=Symbol(),gs=new WeakMap;let Dd=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==na)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(ra&&e===void 0){const n=t!==void 0&&t.length===1;n&&(e=gs.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&gs.set(t,e))}return e}toString(){return this.cssText}};const _u=r=>new Dd(typeof r=="string"?r:r+"",void 0,na),wt=(r,...e)=>{const t=r.length===1?r[0]:e.reduce((n,o,i)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+r[i+1],r[0]);return new Dd(t,r,na)},ku=(r,e)=>{if(ra)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of e){const n=document.createElement("style"),o=hn.litNonce;o!==void 0&&n.setAttribute("nonce",o),n.textContent=t.cssText,r.appendChild(n)}},vs=ra?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return _u(t)})(r):r;/**
|
|
89
|
+
* @license
|
|
90
|
+
* Copyright 2017 Google LLC
|
|
91
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
92
|
+
*/const{is:Su,defineProperty:Eu,getOwnPropertyDescriptor:Iu,getOwnPropertyNames:Ru,getOwnPropertySymbols:Nu,getPrototypeOf:ju}=Object,It=globalThis,ys=It.trustedTypes,Tu=ys?ys.emptyScript:"",xo=It.reactiveElementPolyfillSupport,Ur=(r,e)=>r,Pi={toAttribute(r,e){switch(e){case Boolean:r=r?Tu:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},Md=(r,e)=>!Su(r,e),ws={attribute:!0,type:String,converter:Pi,reflect:!1,useDefault:!1,hasChanged:Md};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),It.litPropertyMetadata??(It.litPropertyMetadata=new WeakMap);let Xt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=ws){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),o=this.getPropertyDescriptor(e,n,t);o!==void 0&&Eu(this.prototype,e,o)}}static getPropertyDescriptor(e,t,n){const{get:o,set:i}=Iu(this.prototype,e)??{get(){return this[t]},set(a){this[t]=a}};return{get:o,set(a){const s=o==null?void 0:o.call(this);i==null||i.call(this,a),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ws}static _$Ei(){if(this.hasOwnProperty(Ur("elementProperties")))return;const e=ju(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ur("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ur("properties"))){const t=this.properties,n=[...Ru(t),...Nu(t)];for(const o of n)this.createProperty(o,t[o])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[n,o]of t)this.elementProperties.set(n,o)}this._$Eh=new Map;for(const[t,n]of this.elementProperties){const o=this._$Eu(t,n);o!==void 0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const o of n)t.unshift(vs(o))}else e!==void 0&&t.push(vs(e));return t}static _$Eu(e,t){const n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ku(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var n;return(n=t.hostConnected)==null?void 0:n.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var n;return(n=t.hostDisconnected)==null?void 0:n.call(t)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){var i;const n=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,n);if(o!==void 0&&n.reflect===!0){const a=(((i=n.converter)==null?void 0:i.toAttribute)!==void 0?n.converter:Pi).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$Em=null}}_$AK(e,t){var i,a;const n=this.constructor,o=n._$Eh.get(e);if(o!==void 0&&this._$Em!==o){const s=n.getPropertyOptions(o),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((i=s.converter)==null?void 0:i.fromAttribute)!==void 0?s.converter:Pi;this._$Em=o,this[o]=l.fromAttribute(t,s.type)??((a=this._$Ej)==null?void 0:a.get(o))??null,this._$Em=null}}requestUpdate(e,t,n){var o;if(e!==void 0){const i=this.constructor,a=this[e];if(n??(n=i.getPropertyOptions(e)),!((n.hasChanged??Md)(a,t)||n.useDefault&&n.reflect&&a===((o=this._$Ej)==null?void 0:o.get(e))&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:o,wrapped:i},a){n&&!(this._$Ej??(this._$Ej=new Map)).has(e)&&(this._$Ej.set(e,a??t??this[e]),i!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),o===!0&&this._$Em!==e&&(this._$Eq??(this._$Eq=new Set)).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,a]of o){const{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(n=this._$EO)==null||n.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(t)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(n=>{var o;return(o=n.hostUpdated)==null?void 0:o.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(e){}firstUpdated(e){}};Xt.elementStyles=[],Xt.shadowRootOptions={mode:"open"},Xt[Ur("elementProperties")]=new Map,Xt[Ur("finalized")]=new Map,xo==null||xo({ReactiveElement:Xt}),(It.reactiveElementVersions??(It.reactiveElementVersions=[])).push("2.1.0");/**
|
|
93
|
+
* @license
|
|
94
|
+
* Copyright 2017 Google LLC
|
|
95
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
96
|
+
*/const Hr=globalThis,Sn=Hr.trustedTypes,xs=Sn?Sn.createPolicy("lit-html",{createHTML:r=>r}):void 0,Cd="$lit$",St=`lit$${Math.random().toFixed(9).slice(2)}$`,Pd="?"+St,Au=`<${Pd}>`,Ft=document,Jr=()=>Ft.createComment(""),Qr=r=>r===null||typeof r!="object"&&typeof r!="function",oa=Array.isArray,Lu=r=>oa(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",_o=`[
|
|
97
|
+
\f\r]`,wr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_s=/-->/g,ks=/>/g,Lt=RegExp(`>|${_o}(?:([^\\s"'>=/]+)(${_o}*=${_o}*(?:[^
|
|
98
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ss=/'/g,Es=/"/g,Bd=/^(?:script|style|textarea|title)$/i,Ou=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),dt=Ou(1),tr=Symbol.for("lit-noChange"),$e=Symbol.for("lit-nothing"),Is=new WeakMap,Ct=Ft.createTreeWalker(Ft,129);function qd(r,e){if(!oa(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return xs!==void 0?xs.createHTML(e):e}const $u=(r,e)=>{const t=r.length-1,n=[];let o,i=e===2?"<svg>":e===3?"<math>":"",a=wr;for(let s=0;s<t;s++){const l=r[s];let d,f,m=-1,v=0;for(;v<l.length&&(a.lastIndex=v,f=a.exec(l),f!==null);)v=a.lastIndex,a===wr?f[1]==="!--"?a=_s:f[1]!==void 0?a=ks:f[2]!==void 0?(Bd.test(f[2])&&(o=RegExp("</"+f[2],"g")),a=Lt):f[3]!==void 0&&(a=Lt):a===Lt?f[0]===">"?(a=o??wr,m=-1):f[1]===void 0?m=-2:(m=a.lastIndex-f[2].length,d=f[1],a=f[3]===void 0?Lt:f[3]==='"'?Es:Ss):a===Es||a===Ss?a=Lt:a===_s||a===ks?a=wr:(a=Lt,o=void 0);const b=a===Lt&&r[s+1].startsWith("/>")?" ":"";i+=a===wr?l+Au:m>=0?(n.push(d),l.slice(0,m)+Cd+l.slice(m)+St+b):l+St+(m===-2?s:b)}return[qd(r,i+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]};let Bi=class Fd{constructor({strings:e,_$litType$:t},n){let o;this.parts=[];let i=0,a=0;const s=e.length-1,l=this.parts,[d,f]=$u(e,t);if(this.el=Fd.createElement(d,n),Ct.currentNode=this.el.content,t===2||t===3){const m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(o=Ct.nextNode())!==null&&l.length<s;){if(o.nodeType===1){if(o.hasAttributes())for(const m of o.getAttributeNames())if(m.endsWith(Cd)){const v=f[a++],b=o.getAttribute(m).split(St),g=/([.?@])?(.*)/.exec(v);l.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?Mu:g[1]==="?"?Cu:g[1]==="@"?Pu:Dn}),o.removeAttribute(m)}else m.startsWith(St)&&(l.push({type:6,index:i}),o.removeAttribute(m));if(Bd.test(o.tagName)){const m=o.textContent.split(St),v=m.length-1;if(v>0){o.textContent=Sn?Sn.emptyScript:"";for(let b=0;b<v;b++)o.append(m[b],Jr()),Ct.nextNode(),l.push({type:2,index:++i});o.append(m[v],Jr())}}}else if(o.nodeType===8)if(o.data===Pd)l.push({type:2,index:i});else{let m=-1;for(;(m=o.data.indexOf(St,m+1))!==-1;)l.push({type:7,index:i}),m+=St.length-1}i++}}static createElement(e,t){const n=Ft.createElement("template");return n.innerHTML=e,n}};function rr(r,e,t=r,n){var a,s;if(e===tr)return e;let o=n!==void 0?(a=t._$Co)==null?void 0:a[n]:t._$Cl;const i=Qr(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==i&&((s=o==null?void 0:o._$AO)==null||s.call(o,!1),i===void 0?o=void 0:(o=new i(r),o._$AT(r,t,n)),n!==void 0?(t._$Co??(t._$Co=[]))[n]=o:t._$Cl=o),o!==void 0&&(e=rr(r,o._$AS(r,e.values),o,n)),e}let Du=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:n}=this._$AD,o=((e==null?void 0:e.creationScope)??Ft).importNode(t,!0);Ct.currentNode=o;let i=Ct.nextNode(),a=0,s=0,l=n[0];for(;l!==void 0;){if(a===l.index){let d;l.type===2?d=new ia(i,i.nextSibling,this,e):l.type===1?d=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(d=new Bu(i,this,e)),this._$AV.push(d),l=n[++s]}a!==(l==null?void 0:l.index)&&(i=Ct.nextNode(),a++)}return Ct.currentNode=Ft,o}p(e){let t=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},ia=class zd{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,t,n,o){this.type=2,this._$AH=$e,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=rr(this,e,t),Qr(e)?e===$e||e==null||e===""?(this._$AH!==$e&&this._$AR(),this._$AH=$e):e!==this._$AH&&e!==tr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Lu(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==$e&&Qr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ft.createTextNode(e)),this._$AH=e}$(e){var i;const{values:t,_$litType$:n}=e,o=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Bi.createElement(qd(n.h,n.h[0]),this.options)),n);if(((i=this._$AH)==null?void 0:i._$AD)===o)this._$AH.p(t);else{const a=new Du(o,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(e){let t=Is.get(e.strings);return t===void 0&&Is.set(e.strings,t=new Bi(e)),t}k(e){oa(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,o=0;for(const i of e)o===t.length?t.push(n=new zd(this.O(Jr()),this.O(Jr()),this,this.options)):n=t[o],n._$AI(i),o++;o<t.length&&(this._$AR(n&&n._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,t);e&&e!==this._$AB;){const o=e.nextSibling;e.remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}},Dn=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,o,i){this.type=1,this._$AH=$e,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=$e}_$AI(e,t=this,n,o){const i=this.strings;let a=!1;if(i===void 0)e=rr(this,e,t,0),a=!Qr(e)||e!==this._$AH&&e!==tr,a&&(this._$AH=e);else{const s=e;let l,d;for(e=i[0],l=0;l<i.length-1;l++)d=rr(this,s[n+l],t,l),d===tr&&(d=this._$AH[l]),a||(a=!Qr(d)||d!==this._$AH[l]),d===$e?e=$e:e!==$e&&(e+=(d??"")+i[l+1]),this._$AH[l]=d}a&&!o&&this.j(e)}j(e){e===$e?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Mu=class extends Dn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$e?void 0:e}},Cu=class extends Dn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$e)}},Pu=class extends Dn{constructor(e,t,n,o,i){super(e,t,n,o,i),this.type=5}_$AI(e,t=this){if((e=rr(this,e,t,0)??$e)===tr)return;const n=this._$AH,o=e===$e&&n!==$e||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==$e&&(n===$e||o);o&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t;typeof this._$AH=="function"?this._$AH.call(((t=this.options)==null?void 0:t.host)??this.element,e):this._$AH.handleEvent(e)}},Bu=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){rr(this,e)}};const ko=Hr.litHtmlPolyfillSupport;ko==null||ko(Bi,ia),(Hr.litHtmlVersions??(Hr.litHtmlVersions=[])).push("3.3.0");const qu=(r,e,t)=>{const n=(t==null?void 0:t.renderBefore)??e;let o=n._$litPart$;if(o===void 0){const i=(t==null?void 0:t.renderBefore)??null;n._$litPart$=o=new ia(e.insertBefore(Jr(),i),i,void 0,t??{})}return o._$AI(r),o};/**
|
|
99
|
+
* @license
|
|
100
|
+
* Copyright 2017 Google LLC
|
|
101
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
102
|
+
*/const Bt=globalThis;class qt extends Xt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=qu(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return tr}}var fd;qt._$litElement$=!0,qt.finalized=!0,(fd=Bt.litElementHydrateSupport)==null||fd.call(Bt,{LitElement:qt});const So=Bt.litElementPolyfillSupport;So==null||So({LitElement:qt});(Bt.litElementVersions??(Bt.litElementVersions=[])).push("4.2.0");var Ud=r=>{throw TypeError(r)},Hd=(r,e,t)=>e.has(r)||Ud("Cannot "+t),_t=(r,e,t)=>(Hd(r,e,"read from private field"),t?t.call(r):e.get(r)),Fu=(r,e,t)=>e.has(r)?Ud("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),zu=(r,e,t,n)=>(Hd(r,e,"write to private field"),e.set(r,t),t);const Gt=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)},bn=globalThis,aa=bn.ShadowRoot&&(bn.ShadyCSS===void 0||bn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gd=Symbol(),Rs=new WeakMap;let Uu=class{constructor(r,e,t){if(this._$cssResult$=!0,t!==Gd)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=r,this.t=e}get styleSheet(){let r=this.o;const e=this.t;if(aa&&r===void 0){const t=e!==void 0&&e.length===1;t&&(r=Rs.get(e)),r===void 0&&((this.o=r=new CSSStyleSheet).replaceSync(this.cssText),t&&Rs.set(e,r))}return r}toString(){return this.cssText}};const Hu=r=>new Uu(typeof r=="string"?r:r+"",void 0,Gd),Gu=(r,e)=>{if(aa)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of e){const n=document.createElement("style"),o=bn.litNonce;o!==void 0&&n.setAttribute("nonce",o),n.textContent=t.cssText,r.appendChild(n)}},Ns=aa?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return Hu(t)})(r):r,{is:Vu,defineProperty:Wu,getOwnPropertyDescriptor:Ju,getOwnPropertyNames:Qu,getOwnPropertySymbols:Xu,getPrototypeOf:Ku}=Object,nr=globalThis,js=nr.trustedTypes,Yu=js?js.emptyScript:"",Ts=nr.reactiveElementPolyfillSupport,Gr=(r,e)=>r,En={toAttribute(r,e){switch(e){case Boolean:r=r?Yu:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},sa=(r,e)=>!Vu(r,e),As={attribute:!0,type:String,converter:En,reflect:!1,hasChanged:sa};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),nr.litPropertyMetadata??(nr.litPropertyMetadata=new WeakMap);class xr extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=As){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),o=this.getPropertyDescriptor(e,n,t);o!==void 0&&Wu(this.prototype,e,o)}}static getPropertyDescriptor(e,t,n){const{get:o,set:i}=Ju(this.prototype,e)??{get(){return this[t]},set(a){this[t]=a}};return{get(){return o==null?void 0:o.call(this)},set(a){const s=o==null?void 0:o.call(this);i.call(this,a),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??As}static _$Ei(){if(this.hasOwnProperty(Gr("elementProperties")))return;const e=Ku(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Gr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Gr("properties"))){const t=this.properties,n=[...Qu(t),...Xu(t)];for(const o of n)this.createProperty(o,t[o])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[n,o]of t)this.elementProperties.set(n,o)}this._$Eh=new Map;for(const[t,n]of this.elementProperties){const o=this._$Eu(t,n);o!==void 0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const o of n)t.unshift(Ns(o))}else e!==void 0&&t.push(Ns(e));return t}static _$Eu(e,t){const n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Gu(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var n;return(n=t.hostConnected)==null?void 0:n.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var n;return(n=t.hostDisconnected)==null?void 0:n.call(t)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EC(e,t){var n;const o=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,o);if(i!==void 0&&o.reflect===!0){const a=(((n=o.converter)==null?void 0:n.toAttribute)!==void 0?o.converter:En).toAttribute(t,o.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){var n;const o=this.constructor,i=o._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const a=o.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)==null?void 0:n.fromAttribute)!==void 0?a.converter:En;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??sa)(this[e],t))return;this.P(e,t,n)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,a]of o)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],a)}let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),(e=this._$EO)==null||e.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(n)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(n=>{var o;return(o=n.hostUpdated)==null?void 0:o.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}}xr.elementStyles=[],xr.shadowRootOptions={mode:"open"},xr[Gr("elementProperties")]=new Map,xr[Gr("finalized")]=new Map,Ts==null||Ts({ReactiveElement:xr}),(nr.reactiveElementVersions??(nr.reactiveElementVersions=[])).push("2.0.4");const Zu={attribute:!0,type:String,converter:En,reflect:!1,hasChanged:sa},ep=(r=Zu,e,t)=>{const{kind:n,metadata:o}=t;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(t.name,r),n==="accessor"){const{name:a}=t;return{set(s){const l=e.get.call(this);e.set.call(this,s),this.requestUpdate(a,l,r)},init(s){return s!==void 0&&this.P(a,void 0,r),s}}}if(n==="setter"){const{name:a}=t;return function(s){const l=this[a];e.call(this,s),this.requestUpdate(a,l,r)}}throw Error("Unsupported decorator location: "+n)};function xe(r){return(e,t)=>typeof t=="object"?ep(r,e,t):((n,o,i)=>{const a=o.hasOwnProperty(i);return o.constructor.createProperty(i,a?{...n,wrapped:!0}:n),a?Object.getOwnPropertyDescriptor(o,i):void 0})(r,e,t)}function la(r){return xe({...r,state:!0,attribute:!1})}const tp=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function ct(r,e){return(t,n,o)=>{const i=a=>{var s;return((s=a.renderRoot)==null?void 0:s.querySelector(r))??null};return tp(t,n,{get(){return i(this)}})}}var rp=Object.defineProperty,Vt=(r,e,t,n)=>{for(var o=void 0,i=r.length-1,a;i>=0;i--)(a=r[i])&&(o=a(e,t,o)||o);return o&&rp(e,t,o),o};const qi=class extends qt{constructor(){super(...arguments),this.dense=!1}};qi.shadowRootOptions={...qt.shadowRootOptions,delegatesFocus:!0},qi.styles=[wt`
|
|
103
|
+
:host {
|
|
104
|
+
color-scheme: light dark;
|
|
105
|
+
--rokit-primary-color-inner: var(--rokit-primary-color, #008877);
|
|
106
|
+
--rokit-primary-color-transparent-inner: color-mix(in srgb, var(--rokit-primary-color-inner) 20%, transparent);
|
|
107
|
+
--rokit-error-color-inner: var(--rokit-error-color, #F03333);
|
|
108
|
+
--rokit-background-color-inner: var(--rokit-background-color, #242424);
|
|
109
|
+
--rokit-light-background-color-inner: var(--rokit-light-background-color, color-mix(in srgb, var(--rokit-background-color-inner) 96%, currentColor));
|
|
110
|
+
--rokit-light-background-darker-color-inner: var(--rokit-light-background-darker-color, color-mix(in srgb, var(--rokit-light-background-color-inner) 80%, currentColor));
|
|
111
|
+
--rokit-shadow-color-inner: var(--rokit-shadow-color, color-mix(in srgb, currentColor 40%, transparent));
|
|
112
|
+
--rokit-list-indent-inner: var(--rokit-list-indent, 1em);
|
|
113
|
+
--rokit-list-max-height-inner: var(--rokit-list-max-height, 300);
|
|
114
|
+
--rokit-caret-size-inner: var(--rokit-caret-size, 0.5em);
|
|
115
|
+
--rokit-transition-duration-inner: var(--rokit-transition-duration, 0.2s);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (prefers-color-scheme: light) {
|
|
119
|
+
:host {
|
|
120
|
+
--rokit-background-color-inner: var(--rokit-background-color, #FFF);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
`];let Wt=qi;Vt([xe({type:Boolean,reflect:!0})],Wt.prototype,"dense");var rt;const Fi=class extends Wt{constructor(){super(),Fu(this,rt),this.value="",this.clearable=!1,this.required=!1,zu(this,rt,this.attachInternals())}checkValidity(){return _t(this,rt).checkValidity()}reportValidity(){const e=_t(this,rt).reportValidity();return this.classList.toggle("invalid",!e),e}get validity(){return _t(this,rt).validity}get validationMessage(){return _t(this,rt).validationMessage}setCustomValidity(e,t){e?_t(this,rt).setValidity({customError:!0},e,t):_t(this,rt).setValidity(void 0)}updateValidity(e,t,n){_t(this,rt).setValidity(e,t,n)}setFormValue(e,t){_t(this,rt).setFormValue(e,t)}};rt=new WeakMap,Fi.formAssociated=!0,Fi.styles=[...Wt.styles,wt`
|
|
124
|
+
:host { display: inline-flex; align-items: center; padding: 6px 8px; border-bottom: 2px solid var(--rokit-light-background-darker-color-inner); box-sizing: border-box; position: relative; }
|
|
125
|
+
:host(:focus) { border-color: var(--rokit-primary-color-inner); }
|
|
126
|
+
:host(.invalid) { border-color: var(--rokit-error-color-inner); }
|
|
127
|
+
`];let ut=Fi;Vt([xe()],ut.prototype,"name");Vt([xe()],ut.prototype,"value");Vt([xe({type:Boolean})],ut.prototype,"clearable");Vt([xe({type:Boolean})],ut.prototype,"required");Vt([xe()],ut.prototype,"label");Vt([xe()],ut.prototype,"placeholder");function np(r){const e=parseFloat(r),t=r.match(/m?s/);let n=0;if(t)switch(t[0]){case"s":n=e*1e3;break;case"ms":n=e;break;default:n=0;break}return n}var op=(r,e,t,n)=>{for(var o=e,i=r.length-1,a;i>=0;i--)(a=r[i])&&(o=a(o)||o);return o};let Xr=class extends Wt{render(){return dt`<a part="link"><slot><slot></a>`}};Xr.styles=[...Wt.styles,wt`
|
|
128
|
+
:host a { display: flex; min-width: 1em; height: 1em; padding: 0.5em; cursor: pointer; border-radius: 1em; align-items: center; justify-content: center; }
|
|
129
|
+
:host a:hover { font-weight: 600; background-color: var(--rokit-light-background-darker-color-inner); }
|
|
130
|
+
:host([dense]) { font-size: 0.65em; }
|
|
131
|
+
:host(.clear) a:before { content: '\u2715'; }
|
|
132
|
+
:host(.caret) a:before { content:''; width: var(--rokit-caret-size-inner); height: var(--rokit-caret-size-inner); border-style: none solid solid none; border-width: calc(0.3 * var(--rokit-caret-size-inner)); transform: translate(0.15em, -0.15em) rotate(45deg); transition: transform var(--rokit-transition-duration-inner) ease-out; margin-right: calc(0.5 * var(--rokit-caret-size-inner)); }
|
|
133
|
+
:host(.caret.down) a:before { transform: translate(0.15em, 0.15em) rotate(225deg); }
|
|
134
|
+
:host(.caret.right) a:before { transform: translate(0em, 0em) rotate(-45deg); }
|
|
135
|
+
`];Xr=op([Gt("rokit-button")],Xr);var ip=Object.defineProperty,ap=Object.getOwnPropertyDescriptor,Jt=(r,e,t,n)=>{for(var o=n>1?void 0:n?ap(e,t):e,i=r.length-1,a;i>=0;i--)(a=r[i])&&(o=(n?a(e,t,o):a(o))||o);return n&&o&&ip(e,t,o),o};let mt=class extends Wt{constructor(){super(...arguments),this.open=!1,this.transitioning=!1,this.closedBeforeTransition=!1}firstUpdated(){const r=this.shadowRoot.querySelector("header");r.addEventListener("mousedown",()=>{this.closedBeforeTransition=!this.open&&!this.transitioning}),r.addEventListener("click",()=>{this.toggle(this.closedBeforeTransition)}),this.transitionDuration=np(getComputedStyle(this).getPropertyValue("--rokit-transition-duration-inner"))}updated(r){r.has("transitioning")&&this.classList.toggle("transitioning",this.transitioning)}updateContentHeight(){this.content.style.maxHeight=(this.maxHeight!==void 0?Math.min(this.maxHeight,this.content.scrollHeight):this.content.scrollHeight)+"px",this.classList.toggle("has-content",this.content.style.maxHeight!=="0px")}toggle(r=!this.open){this.open||this.updateContentHeight(),this.transitioning=!0,this.open=r,this.toggleButton.classList.toggle("down",r),setTimeout(()=>{this.transitioning=!1,this.open&&this.content.scrollIntoView({block:"nearest"})},this.transitionDuration)}render(){return dt`
|
|
136
|
+
<header part="header">
|
|
137
|
+
<slot name="prefix" part="prefix"></slot>
|
|
138
|
+
<span class="label"><slot name="label" part="label">${this.label}</slot></span>
|
|
139
|
+
<slot name="pre-suffix" part="suffix"></slot>
|
|
140
|
+
<rokit-button id="toggle" part="toggle" class="caret" ?dense="${this.dense}" title="${this.open?"Collapse":"Expand"}"></rokit-button>
|
|
141
|
+
<slot name="suffix" part="suffix"></slot>
|
|
142
|
+
</header>
|
|
143
|
+
<div id="content" part="content">
|
|
144
|
+
<slot @slotchange=${this.updateContentHeight}></slot>
|
|
145
|
+
</div>
|
|
146
|
+
`}};mt.styles=[...Wt.styles,wt`
|
|
147
|
+
:host { display: flex; flex-direction: column; align-items: stretch; border-bottom: 2px solid var(--rokit-light-background-darker-color-inner); }
|
|
148
|
+
:host header { cursor: pointer; }
|
|
149
|
+
:host([dense]) header { padding: 2px 4px; }
|
|
150
|
+
:host([maxheight]) #content { overflow:auto }
|
|
151
|
+
:host(:not([open])) #content { max-height: 0 !important; }
|
|
152
|
+
:host(:not([open])) #content, :host(.transitioning) #content { overflow: hidden !important; }
|
|
153
|
+
header { display: flex; align-items: center; padding: 6px 8px; background-color: var(--rokit-light-background-color-inner); user-select: none; }
|
|
154
|
+
.label { flex-grow: 1; }
|
|
155
|
+
#content { display: flex; transition: max-height var(--rokit-transition-duration-inner) ease-in-out; position: relative; scrollbar-width: thin; }
|
|
156
|
+
#toggle { margin-left: 3px; }
|
|
157
|
+
`];Jt([xe({type:Boolean,reflect:!0})],mt.prototype,"open",2);Jt([xe()],mt.prototype,"label",2);Jt([xe({reflect:!0})],mt.prototype,"maxHeight",2);Jt([ct("#content")],mt.prototype,"content",2);Jt([ct("#toggle")],mt.prototype,"toggleButton",2);Jt([la()],mt.prototype,"transitioning",2);mt=Jt([Gt("rokit-collapsible")],mt);var sp=Object.defineProperty,lp=Object.getOwnPropertyDescriptor,Vd=r=>{throw TypeError(r)},Qe=(r,e,t,n)=>{for(var o=n>1?void 0:n?lp(e,t):e,i=r.length-1,a;i>=0;i--)(a=r[i])&&(o=(n?a(e,t,o):a(o))||o);return n&&o&&sp(e,t,o),o},Wd=(r,e,t)=>e.has(r)||Vd("Cannot "+t),dp=(r,e,t)=>(Wd(r,e,"read from private field"),e.get(r)),cp=(r,e,t)=>e.has(r)?Vd("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),Ls=(r,e,t,n)=>(Wd(r,e,"write to private field"),e.set(r,t),t),Cr;let De=class extends ut{constructor(){super(),this.type="text",this.disabled=!1,this.readonly=!1,this.sticky=!1,this.minWidth=80,cp(this,Cr,""),this.addEventListener("keydown",r=>{r.code==="Escape"&&this.blur()}),this.addEventListener("focus",()=>{this.classList.add("has-focus")}),this.addEventListener("blur",()=>{this.inputElement.scrollLeft=0,this.classList.remove("has-focus")})}firstUpdated(){var r,e;Ls(this,Cr,this.value),this.inputElement.addEventListener("change",()=>{this.value=this.inputElement.value});const t=((e=(r=this.shadowRoot)==null?void 0:r.querySelector("label"))==null?void 0:e.scrollWidth)||0,n=this.shadowRoot.querySelector(".wrapper");n.style.minWidth=`${this.minWidth>t?this.minWidth:t}px`}updated(r){r.has("label")&&this.classList.toggle("has-label",this.label!==void 0),r.has("min")&&(this.inputElement.min=this.min||""),r.has("max")&&(this.inputElement.max=this.max||""),r.has("step")&&(this.inputElement.step=this.step||""),r.has("placeholder")&&(this.inputElement.placeholder=this.placeholder||""),r.has("pattern")&&(this.inputElement.pattern=this.pattern||""),r.has("minLength")&&(this.inputElement.minLength=this.minLength===void 0?-1:this.minLength),r.has("maxLength")&&(this.inputElement.maxLength=this.maxLength===void 0?-1:this.maxLength),r.has("value")&&(this.classList.toggle("has-value",this.value!==""),this.setFormValue(this.value),this.updateValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement),this.value!==dp(this,Cr)&&(Ls(this,Cr,this.value),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))))}clear(){this.inputElement.value="",this.value="",this.blur()}renderInput(){return dt`<input id="input" part="input" size="1" name="${this.name}" type="${this.type}" autocomplete="off" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" .value="${this.type==="file"?"":this.value}">`}render(){return dt`
|
|
158
|
+
<slot name="prefix" part="prefix"></slot>
|
|
159
|
+
<div class="wrapper">
|
|
160
|
+
<label for="input" part="label">${this.label}</label>
|
|
161
|
+
${this.renderInput()}
|
|
162
|
+
${this.clearable?dt`
|
|
163
|
+
<rokit-button class="clear" ?dense="${this.dense}" @click="${r=>{r.stopPropagation(),this.clear()}}" title="Clear"></rokit-button>
|
|
164
|
+
`:$e}
|
|
165
|
+
</div>
|
|
166
|
+
<slot name="suffix" part="suffix"></slot>
|
|
167
|
+
`}};Cr=new WeakMap;De.styles=[...ut.styles,wt`
|
|
168
|
+
:host { background-color: var(--rokit-light-background-color-inner); user-select: none; }
|
|
169
|
+
:host([dense]) { padding: 2px 4px; }
|
|
170
|
+
:host(.has-focus:not([readonly])) label, :host(.has-value) label, :host([sticky]) label { font-size: 0.75em; top: 0.5em; font-weight: 600; }
|
|
171
|
+
:host(.has-focus) label { color: var(--rokit-primary-color-inner); }
|
|
172
|
+
.wrapper { display: flex; position: relative; flex-grow: 1; align-items: center; }
|
|
173
|
+
label { position: absolute; top: 50%; transform: translate(0, -50%); transition-property: top, font-size; transition-duration: var(--rokit-transition-duration-inner); max-width: 100%; overflow: hidden; pointer-events: none; white-space: nowrap; }
|
|
174
|
+
#input { height: 1.3em; border: 0; outline: 0; flex-grow: 1; font-size: 1em; background: none; padding: 0; color: currentColor; font-family: inherit; text-overflow: ellipsis; }
|
|
175
|
+
#input[type='file'] { padding-bottom: 3px; }
|
|
176
|
+
#input[readonly] { caret-color: transparent; }
|
|
177
|
+
#input[readonly]::placeholder { color: transparent; }
|
|
178
|
+
:host(.has-label) #input { margin-top: 0.9em; }
|
|
179
|
+
:host(.has-label:not(.has-focus):not(.has-value):not([sticky])) #input { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
|
|
180
|
+
:host(:not(.has-value)) .clear { visibility: hidden; }
|
|
181
|
+
`];Qe([xe()],De.prototype,"type",2);Qe([xe({type:Boolean})],De.prototype,"disabled",2);Qe([xe({type:Boolean,reflect:!0})],De.prototype,"readonly",2);Qe([xe({type:Boolean,reflect:!0})],De.prototype,"sticky",2);Qe([xe()],De.prototype,"pattern",2);Qe([xe()],De.prototype,"minLength",2);Qe([xe()],De.prototype,"maxLength",2);Qe([xe()],De.prototype,"min",2);Qe([xe()],De.prototype,"max",2);Qe([xe()],De.prototype,"step",2);Qe([xe()],De.prototype,"minWidth",2);Qe([ct("#input")],De.prototype,"inputElement",2);De=Qe([Gt("rokit-input")],De);var up=Object.defineProperty,pp=Object.getOwnPropertyDescriptor,Jd=r=>{throw TypeError(r)},Ge=(r,e,t,n)=>{for(var o=n>1?void 0:n?pp(e,t):e,i=r.length-1,a;i>=0;i--)(a=r[i])&&(o=(n?a(e,t,o):a(o))||o);return n&&o&&up(e,t,o),o},Qd=(r,e,t)=>e.has(r)||Jd("Cannot "+t),Os=(r,e,t)=>(Qd(r,e,"read from private field"),t?t.call(r):e.get(r)),$s=(r,e,t)=>e.has(r)?Jd("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),un=(r,e,t,n)=>(Qd(r,e,"write to private field"),e.set(r,t),t),Kt,mn;let Me=class extends ut{constructor(){super(),this.emptyMessage="Nothing to select",this.collapsibleOrientationLeft="0",this.collapsibleOrientationRight="0",this.collapsibleWidth="",this.collapse=!1,this.filterableThreshold=15,this.itemCount=0,$s(this,Kt,""),$s(this,mn,""),this.addEventListener("focus",()=>{this.collapsible.toggle(!0)}),this.addEventListener("blur",()=>{this.checkInputValue(),this.collapsible.toggle(!1)})}firstUpdated(){un(this,Kt,this.value),un(this,mn,getComputedStyle(this).getPropertyValue("--rokit-list-indent-inner")),this.input.placeholder=this.placeholder===void 0?"Type to filter list...":this.placeholder,this.input.label=this.label,this.inputMinWidth!==void 0&&(this.input.minWidth=this.inputMinWidth),setTimeout(()=>{this.collapsible.maxHeight=parseInt(this.collapsibleMaxHeight!==void 0?this.collapsibleMaxHeight:getComputedStyle(this).getPropertyValue("--rokit-list-max-height-inner")),this.collapsible.content.style.width=this.collapsibleWidth,this.collapsible.content.style.left=this.collapsibleOrientationLeft,this.collapsible.content.style.right=this.collapsibleOrientationRight})}updated(r){var e;if(r.has("selectedItem")){const t=this.value;this.value=this.selectedItem?this.itemValue(this.selectedItem):"",this.input.value=this.selectedItem?this.itemText(this.selectedItem):this.value,this.input.title=this.input.value,this.classList.toggle("has-value",this.value!==""),this.setFormValue(this.value),this.required&&this.value===""?this.updateValidity({valueMissing:!0},"Please select a value",this.listContainer):this.updateValidity(),t!==this.value&&this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}r.has("value")&&this.selectItem(this.findItem(this.value)),(r.has("filterableThreshold")||r.has("itemCount"))&&(this.input.readonly=this.filterableThreshold<0||this.itemCount<this.filterableThreshold),(e=this.collapsible)!=null&&e.toggleButton&&(this.collapsible.toggleButton.style.display=this.listContainer.childElementCount===0?"none":"")}checkInputValue(r=!0){if(this.input.value){const e=this.findItem(this.input.value);if(e){this.selectItem(e);return}}r&&(this.input.value="",this.input.title="",un(this,Kt,""),this.selectItem(null,!1))}filter(r){var e,t,n;r=r.toLowerCase();let o=!0;for(const i of this.listContainer.querySelectorAll("li"))if(i.id!=="noresult"){const a=this.itemText(i).toLowerCase().indexOf(r)==-1;i.classList.toggle("hidden",a),this.collapse&&(i.classList.remove("open"),(e=i.querySelector("ul"))==null||e.classList.remove("open")),a||(o=!1)}for(const i of this.listContainer.querySelectorAll("li:has(li:not(.hidden))"))i.classList.remove("hidden"),r&&this.collapse&&(i.classList.add("open"),(t=i.querySelector("ul"))==null||t.classList.add("open")),o=!1;this.highlightItem(null),(n=this.listContainer.querySelector("#noresult"))==null||n.classList.toggle("hidden",!o)}selectItem(r,e=!0){(r==null?void 0:r.getAttribute("disabled"))!==null&&(r=null),this.selectedItem=r,this.filter(""),this.highlightItem(r,!1),e&&this.value&&un(this,Kt,this.value),setTimeout(()=>this.blur())}findItem(r){if(r){for(const e of this.listContainer.querySelectorAll("li"))if(this.itemValue(e)===r||this.itemText(e)===r)return e}return null}highlightItem(r,e=!0){var t,n;if((t=this.listContainer.querySelector("li.active"))==null||t.classList.remove("active"),r){if(e&&this.listContainer.focus(),r.classList.add("active"),this.collapse)for(let o=r.closest("ul");o;o=o.parentElement.closest("ul"))o.classList.add("open"),(n=o.closest("li"))==null||n.classList.add("open");r.scrollIntoView({block:"nearest"})}}highlightNextItem(){const r=this.listContainer.querySelector("li.active");let e=r;const t=this.listContainer.querySelectorAll("ul.open > li:not([disabled]):not(.hidden):not(.divider)");if(r){for(let n=0;n<t.length;n++)if(t[n]===r&&n<t.length-1){e=t[n+1];break}}else t.length>0&&(e=t[0]);this.highlightItem(e)}highlightPreviousItem(){const r=this.listContainer.querySelector("li.active");let e=null;if(r){const t=this.listContainer.querySelectorAll("ul.open > li:not([disabled]):not(.hidden):not(.divider)");for(let n=0;n<t.length;n++)if(t[n]===r&&n>0){e=t[n-1];break}}this.highlightItem(e),e||this.input.focus()}itemValue(r){return r.dataset.value||this.itemText(r)||""}itemText(r){var e;return((e=r.querySelector("div > div"))==null?void 0:e.innerText)||""}elementText(r){var e;let t="";for(const n of r.childNodes)n.nodeType==3&&(t+=(e=n.nodeValue)==null?void 0:e.trim());return t}onSlotChange(){this.listContainer.replaceChildren(),this.itemCount=0;let r=null;const e=this.shadowRoot.querySelector("#list-container-slot").assignedElements();if((e==null?void 0:e.length)===1&&(r=Array.prototype.slice.call(e[0].querySelectorAll(":scope > li")),this.copyItems(r,this.listContainer)),this.emptyMessage){const t=document.createElement("li");t.id="noresult",t.setAttribute("disabled",""),t.innerText=this.emptyMessage,this.listContainer.appendChild(t),r&&r.length>0&&t.classList.add("hidden")}this.value=this.value||Os(this,Kt),this.selectItem(this.findItem(this.value))}copyItems(r,e,t=0){if(this.sort!==void 0){const o=this.sort||"asc";r=r.sort((i,a)=>o==="desc"?(this.elementText(a)||this.itemValue(a)).localeCompare(this.elementText(i)||this.itemValue(i)):(this.elementText(i)||this.itemValue(i)).localeCompare(this.elementText(a)||this.itemValue(a)))}let n="";t>0&&(n=`calc(0.3em + ${t}*${Os(this,mn)})`);for(const o of r){const i=o.cloneNode();i.replaceChildren();const a=document.createElement("div");n&&(a.style.paddingLeft=n);const s=document.createElement("div");a.appendChild(s);for(const d of o.childNodes)if(d.nodeName!=="UL"){const f=d.cloneNode(!0);f.nodeType===3&&f.nodeValue&&(f.nodeValue=f.nodeValue.trim()),s.appendChild(f)}i.appendChild(a),i.title=i.title||this.itemText(i);const l=o.querySelector("ul");if(l!=null&&l.childElementCount){const d=document.createElement("ul");if(i.appendChild(d),this.copyItems(Array.prototype.slice.call(l.children),d,t+1),this.collapse){const f=new Xr;f.title="Open",f.dense=!0,f.classList.add("toggle-node","caret"),f.addEventListener("click",m=>{m.stopPropagation(),i.classList.toggle("open"),d.classList.toggle("open"),f.title=i.classList.contains("open")?"Close":"Open"}),a.prepend(f)}else d.classList.add("open")}e.appendChild(i),this.itemCount++}}render(){return dt`
|
|
182
|
+
<rokit-collapsible ?dense="${this.dense}" part="collapsible">
|
|
183
|
+
<slot name="prefix" part="prefix" slot="prefix"></slot>
|
|
184
|
+
<slot name="suffix" part="suffix" slot="suffix"></slot>
|
|
185
|
+
<rokit-input id="input" slot="label"
|
|
186
|
+
?clearable="${this.clearable}"
|
|
187
|
+
?dense="${this.dense}"
|
|
188
|
+
@change="${()=>{this.checkInputValue(this.input.inputElement.value===""||!this.collapsible.open)}}"
|
|
189
|
+
@input="${()=>{this.filter(this.input.inputElement.value)}}"
|
|
190
|
+
@click="${()=>{this.collapsible.toggle(!0)}}"
|
|
191
|
+
@keydown="${r=>{switch(r.code){case"ArrowDown":r.preventDefault(),this.highlightNextItem();break;case"Enter":{const e=this.findItem(this.input.value);e?this.selectItem(e):this.filter(this.input.value);break}}}}"
|
|
192
|
+
></rokit-input>
|
|
193
|
+
<ul id="list-container" tabindex="-1" part="list" class="open"
|
|
194
|
+
@mousedown="${r=>{r.preventDefault()}}"
|
|
195
|
+
@click="${r=>{const e=r.target.closest("li");e&&e.getAttribute("disabled")===null&&!e.classList.contains("divider")&&this.selectItem(e)}}"
|
|
196
|
+
@keydown="${r=>{var e,t;switch(r.code){case"Enter":this.selectItem(this.listContainer.querySelector("li.active"));break;case"ArrowDown":r.preventDefault(),this.highlightNextItem();break;case"ArrowUp":r.preventDefault(),this.highlightPreviousItem();break;case"ArrowRight":if(this.collapse){const n=this.listContainer.querySelector("li.active");n&&(r.preventDefault(),n.classList.add("open"),(e=n.querySelector("ul"))==null||e.classList.add("open"))}break;case"ArrowLeft":if(this.collapse){const n=this.listContainer.querySelector("li.active");n&&(r.preventDefault(),n.classList.remove("open"),(t=n.querySelector("ul"))==null||t.classList.remove("open"))}break;case"Escape":this.listContainer.blur();break}}}">
|
|
197
|
+
</ul>
|
|
198
|
+
<slot id="list-container-slot" @slotchange=${this.onSlotChange}></slot>
|
|
199
|
+
</rokit-collapsible>
|
|
200
|
+
`}};Kt=new WeakMap;mn=new WeakMap;Me.styles=[...ut.styles,wt`
|
|
201
|
+
:host { background-color: var(--rokit-light-background-color-inner); user-select: none; padding: 0; }
|
|
202
|
+
:host([dense]) li > div { padding: 4px 2px; }
|
|
203
|
+
:host([dense]) li.large > div, :host([dense]) li.header > div { padding-top: 6px; padding-bottom: 6px; }
|
|
204
|
+
#input { padding: 0; background-color: inherit; }
|
|
205
|
+
rokit-collapsible, #input { display: flex; flex-grow: 1; border: 0; }
|
|
206
|
+
rokit-collapsible::part(content) { display: flex; flex-direction: column; outline: 0; z-index: 1000; position: absolute; top: calc(100% + 2px); background-color: var(--rokit-background-color-inner); }
|
|
207
|
+
rokit-collapsible::part(header) { background-color: inherit !important; }
|
|
208
|
+
rokit-collapsible[open].has-content::part(content), rokit-collapsible.has-content.transitioning::part(content) { border: 2px solid var(--rokit-primary-color-transparent-inner); box-shadow: 0 0 10px var(--rokit-shadow-color-inner); clip-path: inset(0 -13px -13px 0); }
|
|
209
|
+
#list-container { outline: 0; }
|
|
210
|
+
#list-container-slot { display: none; }
|
|
211
|
+
ul { list-style-type: none; margin: 0; padding: 0; width: 100%; box-sizing: border-box; }
|
|
212
|
+
li > div, #noresult { display: flex; align-items:center; line-height: 1em; padding: 8px; white-space: nowrap; transition: all calc(0.5 * var(--rokit-transition-duration-inner)); }
|
|
213
|
+
li:not([disabled]):not(.divider) { cursor: pointer }
|
|
214
|
+
li:not([disabled]):not(.divider) > div:hover { background-color: var(--rokit-light-background-color-inner); }
|
|
215
|
+
li.active > div { color: var(--rokit-primary-color-inner); background-color: var(--rokit-light-background-color-inner); }
|
|
216
|
+
li.divider { border-top: 1px solid var(--rokit-light-background-darker-color-inner); height: 0; padding: 0; }
|
|
217
|
+
li.divider, li.header { pointer-events: none; }
|
|
218
|
+
li.header > div { font-size: 0.7rem; font-weight: bold; padding-top: 8px; }
|
|
219
|
+
li.large > div { padding-top: 10px; padding-bottom: 10px; }
|
|
220
|
+
.hidden { display: none !important; }
|
|
221
|
+
:host([collapse]) li > div { padding-left: 0; }
|
|
222
|
+
:host([collapse]) .toggle-node { position: absolute }
|
|
223
|
+
:host([collapse]) li > div > div { padding-left: 1.8em; }
|
|
224
|
+
:host([collapse]) ul:not(.open) { display: none; }
|
|
225
|
+
:host([collapse]) li:not(.open) > div > .toggle-node::part(link):before { transform: translate(0em, 0em) rotate(-45deg); }
|
|
226
|
+
`];Ge([xe()],Me.prototype,"emptyMessage",2);Ge([xe()],Me.prototype,"sort",2);Ge([xe()],Me.prototype,"collapsibleMaxHeight",2);Ge([xe()],Me.prototype,"collapsibleOrientationLeft",2);Ge([xe()],Me.prototype,"collapsibleOrientationRight",2);Ge([xe()],Me.prototype,"collapsibleWidth",2);Ge([xe()],Me.prototype,"inputMinWidth",2);Ge([xe({type:Boolean})],Me.prototype,"collapse",2);Ge([xe()],Me.prototype,"filterableThreshold",2);Ge([ct("rokit-collapsible")],Me.prototype,"collapsible",2);Ge([ct("#input")],Me.prototype,"input",2);Ge([ct("#list-container")],Me.prototype,"listContainer",2);Ge([la()],Me.prototype,"selectedItem",2);Ge([la()],Me.prototype,"itemCount",2);Me=Ge([Gt("rokit-select")],Me);var fp=Object.defineProperty,hp=Object.getOwnPropertyDescriptor,Mn=(r,e,t,n)=>{for(var o=n>1?void 0:n?hp(e,t):e,i=r.length-1,a;i>=0;i--)(a=r[i])&&(o=(n?a(e,t,o):a(o))||o);return n&&o&&fp(e,t,o),o};let or=class extends De{constructor(){super(...arguments),this.resize="none",this.rows=3}firstUpdated(){super.firstUpdated(),this.inputElement.rows=this.rows,this.cols!==void 0&&(this.inputElement.cols=this.cols),this.resize==="auto"?(this.inputElement.style.resize="none",this.inputElement.addEventListener("input",()=>this.autoResize())):this.inputElement.style.resize=this.resize}updated(r){super.updated(r),this.resize==="auto"&&r.has("value")&&this.autoResize()}autoResize(){this.inputElement.style.height="",this.inputElement.style.height=this.inputElement.scrollHeight+"px"}onSlotChange(){const r=this.shadowRoot.querySelector("#content").assignedNodes().map(e=>e.textContent).join("");r.trim()!==""&&(this.value=r)}renderInput(){return dt`
|
|
227
|
+
<textarea id="input" part="input" autocomplete="off" name="${this.name}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" .value="${this.value}"></textarea>
|
|
228
|
+
<slot id="content" @slotchange=${this.onSlotChange}></slot>
|
|
229
|
+
`}};or.styles=[...De.styles,wt`
|
|
230
|
+
:host { align-items: last baseline; }
|
|
231
|
+
#input { height: initial; }
|
|
232
|
+
#content { display: none; }
|
|
233
|
+
.wrapper { align-items: flex-start; }
|
|
234
|
+
`];Mn([xe()],or.prototype,"resize",2);Mn([xe()],or.prototype,"rows",2);Mn([xe()],or.prototype,"cols",2);or=Mn([Gt("rokit-textarea")],or);var bp=Object.defineProperty,mp=Object.getOwnPropertyDescriptor,Xd=r=>{throw TypeError(r)},pt=(r,e,t,n)=>{for(var o=n>1?void 0:n?mp(e,t):e,i=r.length-1,a;i>=0;i--)(a=r[i])&&(o=(n?a(e,t,o):a(o))||o);return n&&o&&bp(e,t,o),o},Kd=(r,e,t)=>e.has(r)||Xd("Cannot "+t),Ie=(r,e,t)=>(Kd(r,e,"read from private field"),t?t.call(r):e.get(r)),Eo=(r,e,t)=>e.has(r)?Xd("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),pn=(r,e,t,n)=>(Kd(r,e,"write to private field"),e.set(r,t),t),Le,ht,Yt;const Et=18;let gt=class extends De{constructor(){super(...arguments),this.labelFormatter=r=>String(r),Eo(this,Le,[0,1]),Eo(this,ht,[Ie(this,Le)[0],Ie(this,Le)[1]]),Eo(this,Yt)}firstUpdated(){super.firstUpdated(),this.sliderElement.addEventListener("mousedown",r=>this.onKnobDrag(r)),this.sliderElement.addEventListener("touchstart",r=>this.onKnobDrag(r)),new ResizeObserver(()=>{this.updateKnobPositions()}).observe(this.sliderElement)}updated(r){if(super.updated(r),r.has("min")&&(Ie(this,Le)[0]=parseFloat(this.min||"0"),Ie(this,Le)[1]=Math.max(Ie(this,Le)[0],Ie(this,Le)[1])),r.has("max")&&(Ie(this,Le)[1]=parseFloat(this.max||"1"),Ie(this,Le)[0]=Math.min(Ie(this,Le)[0],Ie(this,Le)[1])),r.has("step")&&pn(this,Yt,this.step?parseFloat(this.step):void 0),r.has("value")||r.has("min")||r.has("max"))if(this.value)if(this.range!==void 0){const e=JSON.parse(this.value);pn(this,ht,[this.applyConstraints(e[0]),this.applyConstraints(e[1])])}else pn(this,ht,[this.applyConstraints(parseFloat(this.value))]);else pn(this,ht,[Ie(this,Le)[0],Ie(this,Le)[1]]);this.updateKnobPositions()}updateValidity(r,e){super.updateValidity(r,e,this.sliderElement)}chooseKnob(r){if(!this.endKnob)return this.startKnob;let e=Math.abs(r-this.startKnob.offsetLeft)<Math.abs(r-this.endKnob.offsetLeft)?this.startKnob:this.endKnob;return this.startKnob.value===this.endKnob.value&&(e.id==="start"&&e.value===Ie(this,Le)[0]?e=this.endKnob:e.id==="end"&&e.value===Ie(this,Le)[1]&&(e=this.startKnob)),e}toScreenSpace(r){return(r-Ie(this,Le)[0])/(Ie(this,Le)[1]-Ie(this,Le)[0])*this.track.offsetWidth}toValueSpace(r){return r/this.track.offsetWidth*(Ie(this,Le)[1]-Ie(this,Le)[0])+Ie(this,Le)[0]}applyConstraints(r,e){let t=Math.min(Math.max(r,Ie(this,Le)[0]),Ie(this,Le)[1]);return Ie(this,Yt)&&(t=Math.round(t/Ie(this,Yt))*Ie(this,Yt)),e!==void 0&&this.endKnob&&(t=e?Math.min(t,this.endKnob.value):Math.max(t,this.startKnob.value)),t}updateKnob(r,e){r.value=e,r.offset=this.toScreenSpace(e),r.label=this.labelFormatter(e),this.endKnob&&(r.id==="start"?this.track.style.borderLeftWidth=r.offset+"px":this.track.style.borderRightWidth=this.track.offsetWidth-r.offset+"px")}updateKnobPositions(){this.updateKnob(this.startKnob,Ie(this,ht)[0]),this.endKnob&&this.updateKnob(this.endKnob,Ie(this,ht)[1])}onKnobDrag(r){if(r.target instanceof ir||this.classList.contains("has-value")||this.classList.contains("has-focus")){let e;const t=o=>{let i=0;o.type==="touchmove"||o.type==="touchstart"?i=o.touches[0].clientX:i=o.clientX,i=i-this.track.getBoundingClientRect().left,e||(e=this.chooseKnob(i),e.classList.add("focus")),this.updateKnob(e,this.applyConstraints(this.toValueSpace(i),e.id==="start"))},n=()=>{document.removeEventListener("mousemove",t),document.removeEventListener("touchmove",t),document.removeEventListener("mouseup",n),document.removeEventListener("touchend",n),e&&(e.classList.remove("focus"),this.range!==void 0?e.id==="end"?this.value=JSON.stringify([Ie(this,ht)[0],e.value]):this.value=JSON.stringify([e.value,Ie(this,ht)[1]]):this.value=String(e.value)),e=void 0};this.sliderElement.focus(),document.addEventListener("mousemove",t),document.addEventListener("touchmove",t),document.addEventListener("mouseup",n),document.addEventListener("touchend",n),t(r)}}renderInput(){return dt`
|
|
235
|
+
${super.renderInput()}
|
|
236
|
+
<div id="slider" part="slider" tabindex="0" ?range="${this.range!==void 0}">
|
|
237
|
+
<div id="track"></div>
|
|
238
|
+
<rokit-slider-knob id="start"></rokit-slider-knob>
|
|
239
|
+
${this.range===void 0?$e:dt`
|
|
240
|
+
<rokit-slider-knob id="end"></rokit-slider-knob>
|
|
241
|
+
`}
|
|
242
|
+
</div>
|
|
243
|
+
`}};Le=new WeakMap;ht=new WeakMap;Yt=new WeakMap;gt.styles=[...De.styles,wt`
|
|
244
|
+
:host(.has-label:not(:focus):not(.has-value):not([sticky])) #slider > * { visibility: hidden; }
|
|
245
|
+
:host(.has-label) .wrapper { padding-top: 1em; }
|
|
246
|
+
:host([sticky]) #slider { margin-top: ${.25*Et+22}px; }
|
|
247
|
+
#input { display: none; }
|
|
248
|
+
#slider { display: flex; position: relative; align-items: center; width: 100%; height: ${Et}px; padding: 0 ${Et/2}px; outline: 0; }
|
|
249
|
+
:host(:not([sticky])) #slider:not(:focus) rokit-slider-knob::part(label) { color: transparent; background-color: transparent; border-color: transparent; top: 0; }
|
|
250
|
+
#track { height: 2px; flex-grow: 1; background-color: #CCC; }
|
|
251
|
+
#slider[range] #track { background-color: color-mix(in srgb, var(--rokit-primary-color-inner) 60%, transparent); border-width: 0; border-color: #CCC; border-style: solid; }
|
|
252
|
+
`];pt([xe()],gt.prototype,"range",2);pt([xe()],gt.prototype,"labelFormatter",2);pt([ct("#slider")],gt.prototype,"sliderElement",2);pt([ct("#track")],gt.prototype,"track",2);pt([ct("#start")],gt.prototype,"startKnob",2);pt([ct("#end")],gt.prototype,"endKnob",2);gt=pt([Gt("rokit-slider")],gt);let ir=class extends qt{constructor(){super(...arguments),this.offset=0,this.label="",this.value=0}updated(r){r.has("offset")&&(this.style.left=this.offset+"px")}render(){return dt`<label part="label">${this.label}</label>`}};ir.styles=[wt`
|
|
253
|
+
:host { position: absolute; width: ${Et}px; height: ${Et}px; border-radius: ${Et}px; background-color: var(--rokit-primary-color-inner); }
|
|
254
|
+
:host(.focus), :host(:hover) { box-shadow: 0 0 0 ${Et/2}px var(--rokit-primary-color-transparent-inner); z-index: 1; }
|
|
255
|
+
label {
|
|
256
|
+
position: absolute;
|
|
257
|
+
top: calc(-2em - ${Et/4}px);
|
|
258
|
+
left: 50%;
|
|
259
|
+
transform: translate(-50%, 0);
|
|
260
|
+
white-space: nowrap;
|
|
261
|
+
font-size: 0.75em;
|
|
262
|
+
font-weight: 500;
|
|
263
|
+
transition-property: top color background-color;
|
|
264
|
+
transition-duration: var(--rokit-transition-duration-inner);
|
|
265
|
+
pointer-events: none;
|
|
266
|
+
color: white;
|
|
267
|
+
background-color: var(--rokit-primary-color-inner);
|
|
268
|
+
padding: 0 4px;
|
|
269
|
+
border-radius: 3px;
|
|
270
|
+
}
|
|
271
|
+
label:after {
|
|
272
|
+
content: '';
|
|
273
|
+
width: 10px;
|
|
274
|
+
height: 10px;
|
|
275
|
+
position: absolute;
|
|
276
|
+
left: 50%;
|
|
277
|
+
bottom: -4px;
|
|
278
|
+
transform: translate(-50%, 0);
|
|
279
|
+
background-color: inherit;
|
|
280
|
+
clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0 50%);
|
|
281
|
+
}
|
|
282
|
+
`];pt([xe()],ir.prototype,"offset",2);pt([xe()],ir.prototype,"label",2);ir=pt([Gt("rokit-slider-knob")],ir);class In extends HTMLElement{constructor(e,t,n,o){if(super(),this.template=new pu(n.store.getQuads(e,null,null,null),t,n),this.template.order!==void 0&&(this.style.order=`${this.template.order}`),this.template.cssClass&&this.classList.add(this.template.cssClass),n.editMode&&!t.linked&&(this.addButton=this.createAddButton(),this.appendChild(this.addButton)),this.template.path){let i=[];o&&(t.linked?i=n.store.getQuads(o,this.template.path,null,null):i=n.store.getQuads(o,this.template.path,null,st));let a=!1;for(const s of i)this.isValueValid(s.object)&&(this.addPropertyInstance(s.object),this.template.hasValue&&s.object.equals(this.template.hasValue)&&(a=!0));n.editMode&&this.template.hasValue&&!a&&!t.linked&&this.addPropertyInstance(this.template.hasValue)}if(n.editMode&&!t.linked&&(this.addEventListener("change",()=>{this.updateControls()}),this.updateControls()),this.template.extendedShapes.length&&this.template.config.attributes.collapse!==null&&(!this.template.maxCount||this.template.maxCount>1)&&(n.editMode&&!t.linked||this.childElementCount>0)){const i=this;i.classList.add("collapsible"),this.template.config.attributes.collapse==="open"&&i.classList.add("open");const a=document.createElement("h1");a.classList.add("activator"),a.innerText=this.template.label,a.addEventListener("click",()=>{i.classList.toggle("open")}),this.prepend(a)}}addPropertyInstance(e){var n,o,i;let t;if((n=this.template.shaclOr)!=null&&n.length||(o=this.template.shaclXone)!=null&&o.length){const a=(i=this.template.shaclOr)!=null&&i.length?this.template.shaclOr:this.template.shaclXone;let s=!1;if(e){const l=du(a,e,this.template.config);l.length&&(t=gn(this.template.clone().merge(l),e,!0),s=!0)}s||(t=$d(a,this,this.template.config),Yd(t,""))}else{let a=!1;if(e){const s=this.getRdfClassToLinkOrCreate();s&&this.template.config.store.countQuads(e,Be,s,st)===0&&(a=!0)}t=gn(this.template,e,void 0,a||this.template.parent.linked)}return this.addButton?this.insertBefore(t,this.addButton):this.appendChild(t),t}updateControls(){let e=this.querySelectorAll(":scope > .property-instance, :scope > .shacl-or-constraint, :scope > shacl-node").length;e===0&&(!this.template.extendedShapes.length||this.template.minCount!==void 0&&this.template.minCount>0)&&(this.addPropertyInstance(),e=this.querySelectorAll(":scope > .property-instance, :scope > .shacl-or-constraint, :scope > shacl-node").length);let t;this.template.minCount!==void 0?t=e>this.template.minCount:t=this.template.extendedShapes.length>0||e>1;const n=this.template.maxCount===void 0||e<this.template.maxCount;this.classList.toggle("may-remove",t),this.classList.toggle("may-add",n)}toRDF(e,t){for(const n of this.querySelectorAll(":scope > .property-instance")){const o=ke.namedNode(n.dataset.path);if(n.firstChild instanceof Rt){const i=n.firstChild.toRDF(e);e.addQuad(t,o,i,this.template.config.valuesGraphId)}else for(const i of n.querySelectorAll(":scope > .editor")){const a=vu(i);a&&e.addQuad(t,o,a,this.template.config.valuesGraphId)}}}getRdfClassToLinkOrCreate(){if(this.template.class&&this.template.node)return this.template.class;for(const e of this.template.extendedShapes){const t=this.template.config.store.getObjects(e,Wr,null);if(t.length>0)return t[0]}}isValueValid(e){if(!this.template.extendedShapes.length)return!0;for(const t of this.template.extendedShapes){const n=this.template.config.store.getObjects(t,Wr,null);for(const o of n)if(this.template.config.store.countQuads(e,Be,o,null)>0)return!0}return!1}createAddButton(){const e=new Me;e.dense=!0,e.label="+ "+this.template.label,e.title="Add "+this.template.label,e.classList.add("add-button");let t=[],n=this.getRdfClassToLinkOrCreate();if(n&&(t=kn(n,this.template)),t.length===0)e.emptyMessage="",e.inputMinWidth=0,e.addEventListener("click",o=>{e.blur();const i=this.addPropertyInstance();i.classList.add("fadeIn"),this.updateControls(),setTimeout(()=>{lu(i),i.classList.remove("fadeIn")},200)});else{const o=document.createElement("ul"),i=document.createElement("li");i.innerHTML="+ Create new "+this.template.label+"...",i.dataset.value="new",i.classList.add("large"),o.appendChild(i);const a=document.createElement("li");a.classList.add("divider"),o.appendChild(a);const s=document.createElement("li");s.classList.add("header"),s.innerText="Or link existing:",o.appendChild(s);for(const l of t){const d=document.createElement("li"),f=typeof l.value=="string"?l.value:l.value.value;d.innerText=l.label?l.label:f,d.dataset.value=JSON.stringify(l.value),o.appendChild(d)}e.appendChild(o),e.collapsibleWidth="250px",e.collapsibleOrientationLeft="",e.addEventListener("change",()=>{if(e.value==="new")this.addPropertyInstance();else{const l=JSON.parse(e.value);this.insertBefore(gn(this.template,l,!0,!0),e)}e.value=""})}return e}}function gn(r,e,t=!1,n=!1){var i;let o;if(r.extendedShapes.length){o=document.createElement("div"),o.classList.add("property-instance");for(const a of r.extendedShapes)o.appendChild(new Rt(a,r.config,e,r.parent,r.nodeKind,r.label,n))}else{const a=xu(r.path,(i=r.datatype)==null?void 0:i.value);a?r.config.editMode&&!n?o=a.createEditor(r,e):o=a.createViewer(r,e):o=bu(r,e||null,r.config.editMode&&!n),o.classList.add("property-instance"),n&&o.classList.add("linked")}return r.config.editMode&&Yd(o,r.label,t),o.dataset.path=r.path,o}function Yd(r,e,t=!1){const n=new Xr;n.classList.add("remove-button","clear"),n.title="Remove "+e,n.dense=!0,n.addEventListener("click",o=>{r.classList.remove("fadeIn"),r.classList.add("fadeOut"),setTimeout(()=>{const i=r.parentElement;r.remove(),i==null||i.dispatchEvent(new Event("change",{bubbles:!0,cancelable:!0}))},200)}),t&&n.classList.add("persistent"),r.appendChild(n)}window.customElements.define("shacl-property",In);function gp(r,e){const t=document.createElement("div");t.dataset.subject=r,t.classList.add("shacl-group");let n=r;const o=e.store.getQuads(r,null,null,null),i=Fr(o,"label",Zi,e.languages);i&&(n=i);const a=Fr(o,"order");a&&(t.style.order=a);const s=document.createElement("h1");return s.innerText=n,t.appendChild(s),e.attributes.collapse!==null&&(t.classList.add("collapsible"),e.attributes.collapse==="open"&&t.classList.add("open"),s.classList.add("activator"),s.addEventListener("click",()=>{t.classList.toggle("open")})),t}const Ce=[];for(let r=0;r<256;++r)Ce.push((r+256).toString(16).slice(1));function vp(r,e=0){return(Ce[r[e+0]]+Ce[r[e+1]]+Ce[r[e+2]]+Ce[r[e+3]]+"-"+Ce[r[e+4]]+Ce[r[e+5]]+"-"+Ce[r[e+6]]+Ce[r[e+7]]+"-"+Ce[r[e+8]]+Ce[r[e+9]]+"-"+Ce[r[e+10]]+Ce[r[e+11]]+Ce[r[e+12]]+Ce[r[e+13]]+Ce[r[e+14]]+Ce[r[e+15]]).toLowerCase()}let Io;const yp=new Uint8Array(16);function wp(){if(!Io){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Io=crypto.getRandomValues.bind(crypto)}return Io(yp)}const xp=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ds={randomUUID:xp};function Ms(r,e,t){var o;if(Ds.randomUUID&&!r)return Ds.randomUUID();r=r||{};const n=r.random??((o=r.rng)==null?void 0:o.call(r))??wp();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,vp(n)}class Rt extends HTMLElement{constructor(e,t,n,o,i,a,s){super(),this.owlImports=[],this.parent=o,this.config=t,this.shaclSubject=e,this.linked=s||!1;let l=n;if(!l){if(!i){const f=t.store.getObjects(e,`${ve}nodeKind`,null);f.length&&(i=f[0])}i===void 0&&t.attributes.valuesNamespace||(i==null?void 0:i.value)===`${ve}IRI`?l=ke.namedNode(t.attributes.valuesNamespace+Ms()):l=ke.blankNode(Ms())}this.nodeId=l;const d=JSON.stringify([e,n]);if(n&&t.renderedNodes.has(d)){a=a||"Link";const f=document.createElement("label");f.innerText=a,f.classList.add("linked"),this.appendChild(f);const m=document.createElement("a");let v=n.termType==="BlankNode"?"_:"+n.value:n.value;m.innerText=v,m.classList.add("ref-link"),m.onclick=()=>{var b;(b=this.config.form.querySelector(`shacl-node[data-node-id='${v}']`))==null||b.scrollIntoView()},this.appendChild(m),this.style.flexDirection="row"}else{if(n&&t.renderedNodes.add(d),this.dataset.nodeId=this.nodeId.id,this.config.attributes.showNodeIds!==null){const f=document.createElement("div");f.innerText=`id: ${this.nodeId.id}`,f.classList.add("node-id-display"),this.appendChild(f)}for(const f of t.store.getQuads(e,ea,null,null))this.owlImports.push(f.object);for(const f of t.store.getQuads(e,null,null,null))switch(f.predicate.id){case _n.id:this.addPropertyInstance(f.object,t,n);break;case`${ve}and`:const m=t.lists[f.object.value];if(m!=null&&m.length)for(const v of m)this.prepend(new Rt(v,t,n,this));else console.error("list not found:",f.object.value,"existing lists:",t.lists);break;case`${ve}node`:this.prepend(new Rt(f.object,t,n,this));break;case`${ve}targetClass`:this.targetClass=f.object;break;case`${ve}or`:this.tryResolve(f.object,n,t);break;case`${ve}xone`:this.tryResolve(f.object,n,t);break}if(a){const f=document.createElement("h1");f.innerText=a,this.prepend(f)}}}toRDF(e,t){if(t||(t=this.nodeId),!this.linked){for(const n of this.querySelectorAll(":scope > shacl-node, :scope > .shacl-group > shacl-node, :scope > shacl-property, :scope > .shacl-group > shacl-property"))n.toRDF(e,t);this.targetClass&&e.addQuad(t,Be,this.targetClass,this.config.valuesGraphId),this.config.attributes.generateNodeShapeReference&&!this.parent&&e.addQuad(t,ke.namedNode(this.config.attributes.generateNodeShapeReference),this.shaclSubject,this.config.valuesGraphId)}return t}addPropertyInstance(e,t,n){let o=this;const i=t.store.getQuads(e,`${ve}group`,null,null);if(i.length>0){const s=i[0].object.value;if(t.groups.indexOf(s)>-1){let l=this.querySelector(`:scope > .shacl-group[data-subject='${s}']`);l||(l=gp(s,t),this.appendChild(l)),o=l}else console.warn("ignoring unknown group reference",i[0],"existing groups:",t.groups)}const a=new In(e,this,t,n);a.childElementCount>0&&o.appendChild(a)}tryResolve(e,t,n){const o=n.lists[e.value];if(o!=null&&o.length){let i=!1;if(t){const a=cu(o,t,n);if(a.length){for(const s of a)this.addPropertyInstance(s,n,t);i=!0}}i||this.appendChild($d(o,this,n))}else console.error("list for sh:or/sh:xone not found:",e,"existing lists:",n.lists)}}window.customElements.define("shacl-node",Rt);var Ro={},No,Cs;function da(){return Cs||(Cs=1,No=class Zd{constructor(e,t=new Map,n=0){this.prefix=e,this._existing=t,this.counter=n}clone(){const{prefix:e,_existing:t,counter:n}=this;return new Zd(e,new Map(t),n)}getId(e){const t=e&&this._existing.get(e);if(t)return t;const n=this.prefix+this.counter;return this.counter++,e&&this._existing.set(e,n),n}hasId(e){return this._existing.has(e)}getOldIds(){return[...this._existing.keys()]}}),No}var jo={},Ps;function _p(){return Ps||(Ps=1,function(r,e){if(r.setImmediate)return;var t=1,n={},o=!1,i=r.document,a;function s(E){typeof E!="function"&&(E=new Function(""+E));for(var y=new Array(arguments.length-1),u=0;u<y.length;u++)y[u]=arguments[u+1];var h={callback:E,args:y};return n[t]=h,a(t),t++}function l(E){delete n[E]}function d(E){var y=E.callback,u=E.args;switch(u.length){case 0:y();break;case 1:y(u[0]);break;case 2:y(u[0],u[1]);break;case 3:y(u[0],u[1],u[2]);break;default:y.apply(e,u);break}}function f(E){if(o)setTimeout(f,0,E);else{var y=n[E];if(y){o=!0;try{d(y)}finally{l(E),o=!1}}}}function m(){a=function(E){process.nextTick(function(){f(E)})}}function v(){if(r.postMessage&&!r.importScripts){var E=!0,y=r.onmessage;return r.onmessage=function(){E=!1},r.postMessage("","*"),r.onmessage=y,E}}function b(){var E="setImmediate$"+Math.random()+"$",y=function(u){u.source===r&&typeof u.data=="string"&&u.data.indexOf(E)===0&&f(+u.data.slice(E.length))};r.addEventListener?r.addEventListener("message",y,!1):r.attachEvent("onmessage",y),a=function(u){r.postMessage(E+u,"*")}}function g(){var E=new MessageChannel;E.port1.onmessage=function(y){var u=y.data;f(u)},a=function(y){E.port2.postMessage(y)}}function x(){var E=i.documentElement;a=function(y){var u=i.createElement("script");u.onreadystatechange=function(){f(y),u.onreadystatechange=null,E.removeChild(u),u=null},E.appendChild(u)}}function _(){a=function(E){setTimeout(f,0,E)}}var k=Object.getPrototypeOf&&Object.getPrototypeOf(r);k=k&&k.setTimeout?k:r,{}.toString.call(r.process)==="[object process]"?m():v()?b():r.MessageChannel?g():i&&"onreadystatechange"in i.createElement("script")?x():_(),k.setImmediate=s,k.clearImmediate=l}(typeof self>"u"?typeof Zt>"u"?jo:Zt:self)),jo}/*!
|
|
283
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
284
|
+
*/var To,Bs;function Cn(){if(Bs)return To;Bs=1,_p();const r=self.crypto||self.msCrypto;return To=class{constructor(t){if(!(r&&r.subtle))throw new Error("crypto.subtle not found.");if(t==="sha256")this.algorithm={name:"SHA-256"};else if(t==="sha1")this.algorithm={name:"SHA-1"};else throw new Error(`Unsupported algorithm "${t}".`);this._content=""}update(t){this._content+=t}async digest(){const t=new TextEncoder().encode(this._content),n=new Uint8Array(await r.subtle.digest(this.algorithm,t));let o="";for(let i=0;i<n.length;++i)o+=n[i].toString(16).padStart(2,"0");return o}},To}/*!
|
|
285
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
286
|
+
*/var Ao,qs;function ec(){return qs||(qs=1,Ao=class{constructor(e){this.current=e.sort(),this.done=!1,this.dir=new Map;for(let t=0;t<e.length;++t)this.dir.set(e[t],!0)}hasNext(){return!this.done}next(){const{current:e,dir:t}=this,n=e.slice();let o=null,i=0;const a=e.length;for(let s=0;s<a;++s){const l=e[s],d=t.get(l);(o===null||l>o)&&(d&&s>0&&l>e[s-1]||!d&&s<a-1&&l>e[s+1])&&(o=l,i=s)}if(o===null)this.done=!0;else{const s=t.get(o)?i-1:i+1;e[i]=e[s],e[s]=o;for(const l of e)l>o&&t.set(l,!t.get(l))}return n}}),Ao}/*!
|
|
287
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
288
|
+
*/var Lo,Fs;function ca(){if(Fs)return Lo;Fs=1;const e="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+"langString",t="http://www.w3.org/2001/XMLSchema#string",n="NamedNode",o="BlankNode",i="Literal",a="DefaultGraph",s={};(()=>{const b="(?:<([^:]+:[^>]*)>)",x="A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�"+"_",_=x+"0-9-·̀-ͯ‿-⁀",E="(_:(?:["+x+"0-9])(?:(?:["+_+".])*(?:["+_+"]))?)",y='"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"',u="(?:\\^\\^"+b+")",R="(?:"+y+"(?:"+u+"|"+"(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))"+")?)",D="[ \\t]+",N="[ \\t]*",B="(?:"+b+"|"+E+")"+D,I=b+D,M="(?:"+b+"|"+E+"|"+R+")"+N,q="(?:\\.|(?:(?:"+b+"|"+E+")"+N+"\\.))";s.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,s.empty=new RegExp("^"+N+"$"),s.quad=new RegExp("^"+N+B+I+M+q+N+"$")})(),Lo=class vn{static parse(g){const x=[],_={},k=g.split(s.eoln);let E=0;for(const y of k){if(E++,s.empty.test(y))continue;const u=y.match(s.quad);if(u===null)throw new Error("N-Quads parse error on line "+E+".");const h={subject:null,predicate:null,object:null,graph:null};if(u[1]!==void 0?h.subject={termType:n,value:u[1]}:h.subject={termType:o,value:u[2]},h.predicate={termType:n,value:u[3]},u[4]!==void 0?h.object={termType:n,value:u[4]}:u[5]!==void 0?h.object={termType:o,value:u[5]}:(h.object={termType:i,value:void 0,datatype:{termType:n}},u[7]!==void 0?h.object.datatype.value=u[7]:u[8]!==void 0?(h.object.datatype.value=e,h.object.language=u[8]):h.object.datatype.value=t,h.object.value=v(u[6])),u[9]!==void 0?h.graph={termType:n,value:u[9]}:u[10]!==void 0?h.graph={termType:o,value:u[10]}:h.graph={termType:a,value:""},!(h.graph.value in _))_[h.graph.value]=[h],x.push(h);else{let R=!0;const D=_[h.graph.value];for(const N of D)if(l(N,h)){R=!1;break}R&&(D.push(h),x.push(h))}}return x}static serialize(g){Array.isArray(g)||(g=vn.legacyDatasetToQuads(g));const x=[];for(const _ of g)x.push(vn.serializeQuad(_));return x.sort().join("")}static serializeQuadComponents(g,x,_,k){let E="";return g.termType===n?E+=`<${g.value}>`:E+=`${g.value}`,E+=` <${x.value}> `,_.termType===n?E+=`<${_.value}>`:_.termType===o?E+=_.value:(E+=`"${f(_.value)}"`,_.datatype.value===e?_.language&&(E+=`@${_.language}`):_.datatype.value!==t&&(E+=`^^<${_.datatype.value}>`)),k.termType===n?E+=` <${k.value}>`:k.termType===o&&(E+=` ${k.value}`),E+=` .
|
|
289
|
+
`,E}static serializeQuad(g){return vn.serializeQuadComponents(g.subject,g.predicate,g.object,g.graph)}static legacyDatasetToQuads(g){const x=[],_={"blank node":o,IRI:n,literal:i};for(const k in g)g[k].forEach(y=>{const u={};for(const h in y){const R=y[h],D={termType:_[R.type],value:R.value};D.termType===i&&(D.datatype={termType:n},"datatype"in R&&(D.datatype.value=R.datatype),"language"in R?("datatype"in R||(D.datatype.value=e),D.language=R.language):"datatype"in R||(D.datatype.value=t)),u[h]=D}k==="@default"?u.graph={termType:a,value:""}:u.graph={termType:k.startsWith("_:")?o:n,value:k},x.push(u)});return x}};function l(b,g){return!(b.subject.termType===g.subject.termType&&b.object.termType===g.object.termType)||!(b.subject.value===g.subject.value&&b.predicate.value===g.predicate.value&&b.object.value===g.object.value)?!1:b.object.termType!==i?!0:b.object.datatype.termType===g.object.datatype.termType&&b.object.language===g.object.language&&b.object.datatype.value===g.object.datatype.value}const d=/["\\\n\r]/g;function f(b){return b.replace(d,function(g){switch(g){case'"':return'\\"';case"\\":return"\\\\";case`
|
|
290
|
+
`:return"\\n";case"\r":return"\\r"}})}const m=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g;function v(b){return b.replace(m,function(g,x,_,k){if(x)switch(x){case"t":return" ";case"b":return"\b";case"n":return`
|
|
291
|
+
`;case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(_)return String.fromCharCode(parseInt(_,16));if(k)throw new Error("Unsupported U escape")})}return Lo}/*!
|
|
292
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
293
|
+
*/var Oo,zs;function tc(){if(zs)return Oo;zs=1;const r=da(),e=Cn(),t=ec(),n=ca();Oo=class{constructor({createMessageDigest:a=()=>new e("sha256"),canonicalIdMap:s=new Map,maxDeepIterations:l=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new r("_:c14n",s),this.createMessageDigest=a,this.maxDeepIterations=l,this.quads=null,this.deepIterations=null}async main(a){this.deepIterations=new Map,this.quads=a;for(const b of a)this._addBlankNodeQuadInfo({quad:b,component:b.subject}),this._addBlankNodeQuadInfo({quad:b,component:b.object}),this._addBlankNodeQuadInfo({quad:b,component:b.graph});const s=new Map,l=[...this.blankNodeInfo.keys()];let d=0;for(const b of l)++d%100===0&&await this._yield(),await this._hashAndTrackBlankNode({id:b,hashToBlankNodes:s});const f=[...s.keys()].sort(),m=[];for(const b of f){const g=s.get(b);if(g.length>1){m.push(g);continue}const x=g[0];this.canonicalIssuer.getId(x)}for(const b of m){const g=[];for(const x of b){if(this.canonicalIssuer.hasId(x))continue;const _=new r("_:b");_.getId(x);const k=await this.hashNDegreeQuads(x,_);g.push(k)}g.sort(o);for(const x of g){const _=x.issuer.getOldIds();for(const k of _)this.canonicalIssuer.getId(k)}}const v=[];for(const b of this.quads){const g=n.serializeQuadComponents(this._componentWithCanonicalId(b.subject),b.predicate,this._componentWithCanonicalId(b.object),this._componentWithCanonicalId(b.graph));v.push(g)}return v.sort(),v.join("")}async hashFirstDegreeQuads(a){const s=[],l=this.blankNodeInfo.get(a),d=l.quads;for(const m of d){const v={subject:null,predicate:m.predicate,object:null,graph:null};v.subject=this.modifyFirstDegreeComponent(a,m.subject,"subject"),v.object=this.modifyFirstDegreeComponent(a,m.object,"object"),v.graph=this.modifyFirstDegreeComponent(a,m.graph,"graph"),s.push(n.serializeQuad(v))}s.sort();const f=this.createMessageDigest();for(const m of s)f.update(m);return l.hash=await f.digest(),l.hash}async hashRelatedBlankNode(a,s,l,d){let f;this.canonicalIssuer.hasId(a)?f=this.canonicalIssuer.getId(a):l.hasId(a)?f=l.getId(a):f=this.blankNodeInfo.get(a).hash;const m=this.createMessageDigest();return m.update(d),d!=="g"&&m.update(this.getRelatedPredicate(s)),m.update(f),m.digest()}async hashNDegreeQuads(a,s){const l=this.deepIterations.get(a)||0;if(l>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(a,l+1);const d=this.createMessageDigest(),f=await this.createHashToRelated(a,s),m=[...f.keys()].sort();for(const v of m){d.update(v);let b="",g;const x=new t(f.get(v));let _=0;for(;x.hasNext();){const k=x.next();++_%3===0&&await this._yield();let E=s.clone(),y="";const u=[];let h=!1;for(const R of k)if(this.canonicalIssuer.hasId(R)?y+=this.canonicalIssuer.getId(R):(E.hasId(R)||u.push(R),y+=E.getId(R)),b.length!==0&&y>b){h=!0;break}if(!h){for(const R of u){const D=await this.hashNDegreeQuads(R,E);if(y+=E.getId(R),y+=`<${D.hash}>`,E=D.issuer,b.length!==0&&y>b){h=!0;break}}h||(b.length===0||y<b)&&(b=y,g=E)}}d.update(b),s=g}return{hash:await d.digest(),issuer:s}}modifyFirstDegreeComponent(a,s){return s.termType!=="BlankNode"?s:{termType:"BlankNode",value:s.value===a?"_:a":"_:z"}}getRelatedPredicate(a){return`<${a.predicate.value}>`}async createHashToRelated(a,s){const l=new Map,d=this.blankNodeInfo.get(a).quads;let f=0;for(const m of d)++f%100===0&&await this._yield(),await Promise.all([this._addRelatedBlankNodeHash({quad:m,component:m.subject,position:"s",id:a,issuer:s,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:m,component:m.object,position:"o",id:a,issuer:s,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:m,component:m.graph,position:"g",id:a,issuer:s,hashToRelated:l})]);return l}async _hashAndTrackBlankNode({id:a,hashToBlankNodes:s}){const l=await this.hashFirstDegreeQuads(a),d=s.get(l);d?d.push(a):s.set(l,[a])}_addBlankNodeQuadInfo({quad:a,component:s}){if(s.termType!=="BlankNode")return;const l=s.value,d=this.blankNodeInfo.get(l);d?d.quads.add(a):this.blankNodeInfo.set(l,{quads:new Set([a]),hash:null})}async _addRelatedBlankNodeHash({quad:a,component:s,position:l,id:d,issuer:f,hashToRelated:m}){if(!(s.termType==="BlankNode"&&s.value!==d))return;const v=s.value,b=await this.hashRelatedBlankNode(v,a,f,l),g=m.get(b);g?g.push(v):m.set(b,[v])}_componentWithCanonicalId(a){return a.termType==="BlankNode"&&!a.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(a.value)}:a}async _yield(){return new Promise(a=>setImmediate(a))}};function o(i,a){return i.hash<a.hash?-1:i.hash>a.hash?1:0}return Oo}/*!
|
|
294
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
295
|
+
*/var $o,Us;function kp(){if(Us)return $o;Us=1;const r=Cn(),e=tc();return $o=class extends e{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new r("sha1")}modifyFirstDegreeComponent(n,o,i){return o.termType!=="BlankNode"?o:i==="graph"?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:o.value===n?"_:a":"_:z"}}getRelatedPredicate(n){return n.predicate.value}async createHashToRelated(n,o){const i=new Map,a=this.blankNodeInfo.get(n).quads;let s=0;for(const l of a){let d,f;if(l.subject.termType==="BlankNode"&&l.subject.value!==n)f=l.subject.value,d="p";else if(l.object.termType==="BlankNode"&&l.object.value!==n)f=l.object.value,d="r";else continue;++s%100===0&&await this._yield();const m=await this.hashRelatedBlankNode(f,l,o,d),v=i.get(m);v?v.push(f):i.set(m,[f])}return i}},$o}/*!
|
|
296
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
297
|
+
*/var Do,Hs;function rc(){if(Hs)return Do;Hs=1;const r=da(),e=Cn(),t=ec(),n=ca();Do=class{constructor({createMessageDigest:a=()=>new e("sha256"),canonicalIdMap:s=new Map,maxDeepIterations:l=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new r("_:c14n",s),this.createMessageDigest=a,this.maxDeepIterations=l,this.quads=null,this.deepIterations=null}main(a){this.deepIterations=new Map,this.quads=a;for(const v of a)this._addBlankNodeQuadInfo({quad:v,component:v.subject}),this._addBlankNodeQuadInfo({quad:v,component:v.object}),this._addBlankNodeQuadInfo({quad:v,component:v.graph});const s=new Map,l=[...this.blankNodeInfo.keys()];for(const v of l)this._hashAndTrackBlankNode({id:v,hashToBlankNodes:s});const d=[...s.keys()].sort(),f=[];for(const v of d){const b=s.get(v);if(b.length>1){f.push(b);continue}const g=b[0];this.canonicalIssuer.getId(g)}for(const v of f){const b=[];for(const g of v){if(this.canonicalIssuer.hasId(g))continue;const x=new r("_:b");x.getId(g);const _=this.hashNDegreeQuads(g,x);b.push(_)}b.sort(o);for(const g of b){const x=g.issuer.getOldIds();for(const _ of x)this.canonicalIssuer.getId(_)}}const m=[];for(const v of this.quads){const b=n.serializeQuadComponents(this._componentWithCanonicalId({component:v.subject}),v.predicate,this._componentWithCanonicalId({component:v.object}),this._componentWithCanonicalId({component:v.graph}));m.push(b)}return m.sort(),m.join("")}hashFirstDegreeQuads(a){const s=[],l=this.blankNodeInfo.get(a),d=l.quads;for(const m of d){const v={subject:null,predicate:m.predicate,object:null,graph:null};v.subject=this.modifyFirstDegreeComponent(a,m.subject,"subject"),v.object=this.modifyFirstDegreeComponent(a,m.object,"object"),v.graph=this.modifyFirstDegreeComponent(a,m.graph,"graph"),s.push(n.serializeQuad(v))}s.sort();const f=this.createMessageDigest();for(const m of s)f.update(m);return l.hash=f.digest(),l.hash}hashRelatedBlankNode(a,s,l,d){let f;this.canonicalIssuer.hasId(a)?f=this.canonicalIssuer.getId(a):l.hasId(a)?f=l.getId(a):f=this.blankNodeInfo.get(a).hash;const m=this.createMessageDigest();return m.update(d),d!=="g"&&m.update(this.getRelatedPredicate(s)),m.update(f),m.digest()}hashNDegreeQuads(a,s){const l=this.deepIterations.get(a)||0;if(l>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(a,l+1);const d=this.createMessageDigest(),f=this.createHashToRelated(a,s),m=[...f.keys()].sort();for(const v of m){d.update(v);let b="",g;const x=new t(f.get(v));for(;x.hasNext();){const _=x.next();let k=s.clone(),E="";const y=[];let u=!1;for(const h of _)if(this.canonicalIssuer.hasId(h)?E+=this.canonicalIssuer.getId(h):(k.hasId(h)||y.push(h),E+=k.getId(h)),b.length!==0&&E>b){u=!0;break}if(!u){for(const h of y){const R=this.hashNDegreeQuads(h,k);if(E+=k.getId(h),E+=`<${R.hash}>`,k=R.issuer,b.length!==0&&E>b){u=!0;break}}u||(b.length===0||E<b)&&(b=E,g=k)}}d.update(b),s=g}return{hash:d.digest(),issuer:s}}modifyFirstDegreeComponent(a,s){return s.termType!=="BlankNode"?s:{termType:"BlankNode",value:s.value===a?"_:a":"_:z"}}getRelatedPredicate(a){return`<${a.predicate.value}>`}createHashToRelated(a,s){const l=new Map,d=this.blankNodeInfo.get(a).quads;for(const f of d)this._addRelatedBlankNodeHash({quad:f,component:f.subject,position:"s",id:a,issuer:s,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:f,component:f.object,position:"o",id:a,issuer:s,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:f,component:f.graph,position:"g",id:a,issuer:s,hashToRelated:l});return l}_hashAndTrackBlankNode({id:a,hashToBlankNodes:s}){const l=this.hashFirstDegreeQuads(a),d=s.get(l);d?d.push(a):s.set(l,[a])}_addBlankNodeQuadInfo({quad:a,component:s}){if(s.termType!=="BlankNode")return;const l=s.value,d=this.blankNodeInfo.get(l);d?d.quads.add(a):this.blankNodeInfo.set(l,{quads:new Set([a]),hash:null})}_addRelatedBlankNodeHash({quad:a,component:s,position:l,id:d,issuer:f,hashToRelated:m}){if(!(s.termType==="BlankNode"&&s.value!==d))return;const v=s.value,b=this.hashRelatedBlankNode(v,a,f,l),g=m.get(b);g?g.push(v):m.set(b,[v])}_componentWithCanonicalId({component:a}){return a.termType==="BlankNode"&&!a.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(a.value)}:a}};function o(i,a){return i.hash<a.hash?-1:i.hash>a.hash?1:0}return Do}/*!
|
|
298
|
+
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
|
|
299
|
+
*/var Mo,Gs;function Sp(){if(Gs)return Mo;Gs=1;const r=Cn(),e=rc();return Mo=class extends e{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new r("sha1")}modifyFirstDegreeComponent(n,o,i){return o.termType!=="BlankNode"?o:i==="graph"?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:o.value===n?"_:a":"_:z"}}getRelatedPredicate(n){return n.predicate.value}createHashToRelated(n,o){const i=new Map,a=this.blankNodeInfo.get(n).quads;for(const s of a){let l,d;if(s.subject.termType==="BlankNode"&&s.subject.value!==n)d=s.subject.value,l="p";else if(s.object.termType==="BlankNode"&&s.object.value!==n)d=s.object.value,l="r";else continue;const f=this.hashRelatedBlankNode(d,s,o,l),m=i.get(f);m?m.push(d):i.set(f,[d])}return i}},Mo}const Ep={},Ip=Object.freeze(Object.defineProperty({__proto__:null,default:Ep},Symbol.toStringTag,{value:"Module"})),Rp=Ic(Ip);var Vs;function Np(){return Vs||(Vs=1,function(r){const e=tc(),t=kp(),n=rc(),o=Sp();let i;try{i=Rp}catch{}function a(s){return Array.isArray(s)?s:r.NQuads.legacyDatasetToQuads(s)}r.NQuads=ca(),r.IdentifierIssuer=da(),r._rdfCanonizeNative=function(s){return s&&(i=s),i},r.canonize=async function(s,l){const d=a(s);if(l.useNative){if(!i)throw new Error("rdf-canonize-native not available");if(l.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return new Promise((f,m)=>i.canonize(d,l,(v,b)=>v?m(v):f(b)))}if(l.algorithm==="URDNA2015")return new e(l).main(d);if(l.algorithm==="URGNA2012"){if(l.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new t(l).main(d)}throw"algorithm"in l?new Error("Invalid RDF Dataset Canonicalization algorithm: "+l.algorithm):new Error("No RDF Dataset Canonicalization algorithm specified.")},r._canonizeSync=function(s,l){const d=a(s);if(l.useNative){if(!i)throw new Error("rdf-canonize-native not available");if(l.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return i.canonizeSync(d,l)}if(l.algorithm==="URDNA2015")return new n(l).main(d);if(l.algorithm==="URGNA2012"){if(l.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new o(l).main(d)}throw"algorithm"in l?new Error("Invalid RDF Dataset Canonicalization algorithm: "+l.algorithm):new Error("No RDF Dataset Canonicalization algorithm specified.")}}(Ro)),Ro}var Co,Ws;function ua(){return Ws||(Ws=1,Co=Np()),Co}var Po,Js;function Xe(){if(Js)return Po;Js=1;const r={};return Po=r,r.isArray=Array.isArray,r.isBoolean=e=>typeof e=="boolean"||Object.prototype.toString.call(e)==="[object Boolean]",r.isDouble=e=>r.isNumber(e)&&(String(e).indexOf(".")!==-1||Math.abs(e)>=1e21),r.isEmptyObject=e=>r.isObject(e)&&Object.keys(e).length===0,r.isNumber=e=>typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]",r.isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),r.isObject=e=>Object.prototype.toString.call(e)==="[object Object]",r.isString=e=>typeof e=="string"||Object.prototype.toString.call(e)==="[object String]",r.isUndefined=e=>typeof e>"u",Po}var Bo,Qs;function xt(){if(Qs)return Bo;Qs=1;const r=Xe(),e={};return Bo=e,e.isSubject=t=>r.isObject(t)&&!("@value"in t||"@set"in t||"@list"in t)?Object.keys(t).length>1||!("@id"in t):!1,e.isSubjectReference=t=>r.isObject(t)&&Object.keys(t).length===1&&"@id"in t,e.isValue=t=>r.isObject(t)&&"@value"in t,e.isList=t=>r.isObject(t)&&"@list"in t,e.isGraph=t=>r.isObject(t)&&"@graph"in t&&Object.keys(t).filter(n=>n!=="@id"&&n!=="@index").length===1,e.isSimpleGraph=t=>e.isGraph(t)&&!("@id"in t),e.isBlankNode=t=>{if(r.isObject(t)){if("@id"in t){const n=t["@id"];return!r.isString(n)||n.indexOf("_:")===0}return Object.keys(t).length===0||!("@value"in t||"@set"in t||"@list"in t)}return!1},Bo}var qo,Xs;function et(){return Xs||(Xs=1,qo=class extends Error{constructor(e="An unspecified JSON-LD error occurred.",t="jsonld.Error",n={}){super(e),this.name=t,this.message=e,this.details=n}}),qo}var Fo,Ks;function Ye(){if(Ks)return Fo;Ks=1;const r=xt(),e=Xe(),t=ua().IdentifierIssuer,n=et(),o=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,i=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,a=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,s=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,l=/^@[a-zA-Z]+$/,d={headers:{accept:"application/ld+json, application/json"}},f={};Fo=f,f.IdentifierIssuer=t,f.REGEX_BCP47=o,f.REGEX_KEYWORD=l,f.clone=function(v){if(v&&typeof v=="object"){let b;if(e.isArray(v)){b=[];for(let g=0;g<v.length;++g)b[g]=f.clone(v[g])}else if(v instanceof Map){b=new Map;for(const[g,x]of v)b.set(g,f.clone(x))}else if(v instanceof Set){b=new Set;for(const g of v)b.add(f.clone(g))}else if(e.isObject(v)){b={};for(const g in v)b[g]=f.clone(v[g])}else b=v.toString();return b}return v},f.asArray=function(v){return Array.isArray(v)?v:[v]},f.buildHeaders=(v={})=>{if(Object.keys(v).some(g=>g.toLowerCase()==="accept"))throw new RangeError('Accept header may not be specified; only "'+d.headers.accept+'" is supported.');return Object.assign({Accept:d.headers.accept},v)},f.parseLinkHeader=v=>{const b={},g=v.match(i);for(let x=0;x<g.length;++x){let _=g[x].match(a);if(!_)continue;const k={target:_[1]},E=_[2];for(;_=s.exec(E);)k[_[1]]=_[2]===void 0?_[3]:_[2];const y=k.rel||"";Array.isArray(b[y])?b[y].push(k):b.hasOwnProperty(y)?b[y]=[b[y],k]:b[y]=k}return b},f.validateTypeValue=(v,b)=>{if(!e.isString(v)&&!(e.isArray(v)&&v.every(g=>e.isString(g)))){if(b&&e.isObject(v))switch(Object.keys(v).length){case 0:return;case 1:if("@default"in v&&f.asArray(v["@default"]).every(g=>e.isString(g)))return}throw new n('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:v})}},f.hasProperty=(v,b)=>{if(v.hasOwnProperty(b)){const g=v[b];return!e.isArray(g)||g.length>0}return!1},f.hasValue=(v,b,g)=>{if(f.hasProperty(v,b)){let x=v[b];const _=r.isList(x);if(e.isArray(x)||_){_&&(x=x["@list"]);for(let k=0;k<x.length;++k)if(f.compareValues(g,x[k]))return!0}else if(!e.isArray(g))return f.compareValues(g,x)}return!1},f.addValue=(v,b,g,x)=>{if(x=x||{},"propertyIsArray"in x||(x.propertyIsArray=!1),"valueIsArray"in x||(x.valueIsArray=!1),"allowDuplicate"in x||(x.allowDuplicate=!0),"prependValue"in x||(x.prependValue=!1),x.valueIsArray)v[b]=g;else if(e.isArray(g)){g.length===0&&x.propertyIsArray&&!v.hasOwnProperty(b)&&(v[b]=[]),x.prependValue&&(g=g.concat(v[b]),v[b]=[]);for(let _=0;_<g.length;++_)f.addValue(v,b,g[_],x)}else if(v.hasOwnProperty(b)){const _=!x.allowDuplicate&&f.hasValue(v,b,g);!e.isArray(v[b])&&(!_||x.propertyIsArray)&&(v[b]=[v[b]]),_||(x.prependValue?v[b].unshift(g):v[b].push(g))}else v[b]=x.propertyIsArray?[g]:g},f.getValues=(v,b)=>[].concat(v[b]||[]),f.removeProperty=(v,b)=>{delete v[b]},f.removeValue=(v,b,g,x)=>{x=x||{},"propertyIsArray"in x||(x.propertyIsArray=!1);const _=f.getValues(v,b).filter(k=>!f.compareValues(k,g));_.length===0?f.removeProperty(v,b):_.length===1&&!x.propertyIsArray?v[b]=_[0]:v[b]=_},f.relabelBlankNodes=(v,b)=>{b=b||{};const g=b.issuer||new t("_:b");return m(g,v)},f.compareValues=(v,b)=>v===b||r.isValue(v)&&r.isValue(b)&&v["@value"]===b["@value"]&&v["@type"]===b["@type"]&&v["@language"]===b["@language"]&&v["@index"]===b["@index"]?!0:e.isObject(v)&&"@id"in v&&e.isObject(b)&&"@id"in b?v["@id"]===b["@id"]:!1,f.compareShortestLeast=(v,b)=>v.length<b.length?-1:b.length<v.length?1:v===b?0:v<b?-1:1;function m(v,b){if(e.isArray(b))for(let g=0;g<b.length;++g)b[g]=m(v,b[g]);else if(r.isList(b))b["@list"]=m(v,b["@list"]);else if(e.isObject(b)){r.isBlankNode(b)&&(b["@id"]=v.getId(b["@id"]));const g=Object.keys(b).sort();for(let x=0;x<g.length;++x){const _=g[x];_!=="@id"&&(b[_]=m(v,b[_]))}}return b}return Fo}var zo,Ys;function pa(){if(Ys)return zo;Ys=1;const r="http://www.w3.org/1999/02/22-rdf-syntax-ns#",e="http://www.w3.org/2001/XMLSchema#";return zo={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",LINK_HEADER_CONTEXT:"http://www.w3.org/ns/json-ld#context",RDF:r,RDF_LIST:r+"List",RDF_FIRST:r+"first",RDF_REST:r+"rest",RDF_NIL:r+"nil",RDF_TYPE:r+"type",RDF_PLAIN_LITERAL:r+"PlainLiteral",RDF_XML_LITERAL:r+"XMLLiteral",RDF_JSON_LITERAL:r+"JSON",RDF_OBJECT:r+"object",RDF_LANGSTRING:r+"langString",XSD:e,XSD_BOOLEAN:e+"boolean",XSD_DOUBLE:e+"double",XSD_INTEGER:e+"integer",XSD_STRING:e+"string"},zo}var Uo,Zs;function nc(){return Zs||(Zs=1,Uo=class{constructor(){this._requests={}}wrapLoader(e){const t=this;return t._loader=e,function(){return t.add.apply(t,arguments)}}async add(e){let t=this._requests[e];if(t)return Promise.resolve(t);t=this._requests[e]=this._loader(e);try{return await t}finally{delete this._requests[e]}}}),Uo}var Ho,el;function jt(){if(el)return Ho;el=1;const r=Xe(),e={};Ho=e,e.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([a-zA-Z][a-zA-Z0-9+-.]*):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}},e.parse=(n,o)=>{const i={},a=e.parsers[o||"full"],s=a.regex.exec(n);let l=a.keys.length;for(;l--;)i[a.keys[l]]=s[l]===void 0?null:s[l];return(i.scheme==="https"&&i.port==="443"||i.scheme==="http"&&i.port==="80")&&(i.href=i.href.replace(":"+i.port,""),i.authority=i.authority.replace(":"+i.port,""),i.port=null),i.normalizedPath=e.removeDotSegments(i.path),i},e.prependBase=(n,o)=>{if(n===null||e.isAbsolute(o))return o;(!n||r.isString(n))&&(n=e.parse(n||""));const i=e.parse(o),a={protocol:n.protocol||""};if(i.authority!==null)a.authority=i.authority,a.path=i.path,a.query=i.query;else if(a.authority=n.authority,i.path==="")a.path=n.path,i.query!==null?a.query=i.query:a.query=n.query;else{if(i.path.indexOf("/")===0)a.path=i.path;else{let l=n.path;l=l.substr(0,l.lastIndexOf("/")+1),(l.length>0||n.authority)&&l.substr(-1)!=="/"&&(l+="/"),l+=i.path,a.path=l}a.query=i.query}i.path!==""&&(a.path=e.removeDotSegments(a.path));let s=a.protocol;return a.authority!==null&&(s+="//"+a.authority),s+=a.path,a.query!==null&&(s+="?"+a.query),i.fragment!==null&&(s+="#"+i.fragment),s===""&&(s="./"),s},e.removeBase=(n,o)=>{if(n===null)return o;(!n||r.isString(n))&&(n=e.parse(n||""));let i="";if(n.href!==""?i+=(n.protocol||"")+"//"+(n.authority||""):o.indexOf("//")&&(i+="//"),o.indexOf(i)!==0)return o;const a=e.parse(o.substr(i.length)),s=n.normalizedPath.split("/"),l=a.normalizedPath.split("/"),d=a.fragment||a.query?0:1;for(;s.length>0&&l.length>d&&s[0]===l[0];)s.shift(),l.shift();let f="";if(s.length>0){s.pop();for(let m=0;m<s.length;++m)f+="../"}return f+=l.join("/"),a.query!==null&&(f+="?"+a.query),a.fragment!==null&&(f+="#"+a.fragment),f===""&&(f="./"),f},e.removeDotSegments=n=>{if(n.length===0)return"";const o=n.split("/"),i=[];for(;o.length>0;){const a=o.shift(),s=o.length===0;if(a==="."){s&&i.push("");continue}if(a===".."){i.pop(),s&&i.push("");continue}i.push(a)}return n[0]==="/"&&i.length>0&&i[0]!==""&&i.unshift(""),i.length===1&&i[0]===""?"/":i.join("/")};const t=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;return e.isAbsolute=n=>r.isString(n)&&t.test(n),e.isRelative=n=>r.isString(n),Ho}var Go,tl;function jp(){if(tl)return Go;tl=1;const{parseLinkHeader:r,buildHeaders:e}=Ye(),{LINK_HEADER_CONTEXT:t}=pa(),n=et(),o=nc(),{prependBase:i}=jt(),a=/(^|(\r\n))link:/i;Go=({secure:l,headers:d={},xhr:f}={headers:{}})=>{return d=e(d),new o().wrapLoader(v);async function v(b){if(b.indexOf("http:")!==0&&b.indexOf("https:")!==0)throw new n('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:b});if(l&&b.indexOf("https")!==0)throw new n(`URL could not be dereferenced; secure mode is enabled and the URL's scheme is not "https".`,"jsonld.InvalidUrl",{code:"loading document failed",url:b});let g;try{g=await s(f,b,d)}catch(y){throw new n("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:b,cause:y})}if(g.status>=400)throw new n("URL could not be dereferenced: "+g.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:b,httpStatusCode:g.status});let x={contextUrl:null,documentUrl:b,document:g.response},_=null;const k=g.getResponseHeader("Content-Type");let E;if(a.test(g.getAllResponseHeaders())&&(E=g.getResponseHeader("Link")),E&&k!=="application/ld+json"){const y=r(E),u=y[t];if(Array.isArray(u))throw new n("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:b});u&&(x.contextUrl=u.target),_=y.alternate,_&&_.type=="application/ld+json"&&!(k||"").match(/^application\/(\w*\+)?json$/)&&(x=await v(i(b,_.target)))}return x}};function s(l,d,f){l=l||XMLHttpRequest;const m=new l;return new Promise((v,b)=>{m.onload=()=>v(m),m.onerror=g=>b(g),m.open("GET",d,!0);for(const g in f)m.setRequestHeader(g,f[g]);m.send()})}return Go}var Vo,rl;function Tp(){if(rl)return Vo;rl=1;const r=jp(),e={};return Vo=e,e.setupDocumentLoaders=function(t){typeof XMLHttpRequest<"u"&&(t.documentLoaders.xhr=r,t.useDocumentLoader("xhr"))},e.setupGlobals=function(t){typeof globalThis.JsonLdProcessor>"u"&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:t.JsonLdProcessor})},Vo}var Wo,nl;function Ap(){return nl||(nl=1,Wo=function(r){r.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}),Wo}var Jo,ol;function Lp(){if(ol)return Jo;ol=1,Jo=r,r.Node=o,r.create=r;function r(i){var a=this;if(a instanceof r||(a=new r),a.tail=null,a.head=null,a.length=0,i&&typeof i.forEach=="function")i.forEach(function(d){a.push(d)});else if(arguments.length>0)for(var s=0,l=arguments.length;s<l;s++)a.push(arguments[s]);return a}r.prototype.removeNode=function(i){if(i.list!==this)throw new Error("removing node which does not belong to this list");var a=i.next,s=i.prev;return a&&(a.prev=s),s&&(s.next=a),i===this.head&&(this.head=a),i===this.tail&&(this.tail=s),i.list.length--,i.next=null,i.prev=null,i.list=null,a},r.prototype.unshiftNode=function(i){if(i!==this.head){i.list&&i.list.removeNode(i);var a=this.head;i.list=this,i.next=a,a&&(a.prev=i),this.head=i,this.tail||(this.tail=i),this.length++}},r.prototype.pushNode=function(i){if(i!==this.tail){i.list&&i.list.removeNode(i);var a=this.tail;i.list=this,i.prev=a,a&&(a.next=i),this.tail=i,this.head||(this.head=i),this.length++}},r.prototype.push=function(){for(var i=0,a=arguments.length;i<a;i++)t(this,arguments[i]);return this.length},r.prototype.unshift=function(){for(var i=0,a=arguments.length;i<a;i++)n(this,arguments[i]);return this.length},r.prototype.pop=function(){if(this.tail){var i=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,i}},r.prototype.shift=function(){if(this.head){var i=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,i}},r.prototype.forEach=function(i,a){a=a||this;for(var s=this.head,l=0;s!==null;l++)i.call(a,s.value,l,this),s=s.next},r.prototype.forEachReverse=function(i,a){a=a||this;for(var s=this.tail,l=this.length-1;s!==null;l--)i.call(a,s.value,l,this),s=s.prev},r.prototype.get=function(i){for(var a=0,s=this.head;s!==null&&a<i;a++)s=s.next;if(a===i&&s!==null)return s.value},r.prototype.getReverse=function(i){for(var a=0,s=this.tail;s!==null&&a<i;a++)s=s.prev;if(a===i&&s!==null)return s.value},r.prototype.map=function(i,a){a=a||this;for(var s=new r,l=this.head;l!==null;)s.push(i.call(a,l.value,this)),l=l.next;return s},r.prototype.mapReverse=function(i,a){a=a||this;for(var s=new r,l=this.tail;l!==null;)s.push(i.call(a,l.value,this)),l=l.prev;return s},r.prototype.reduce=function(i,a){var s,l=this.head;if(arguments.length>1)s=a;else if(this.head)l=this.head.next,s=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var d=0;l!==null;d++)s=i(s,l.value,d),l=l.next;return s},r.prototype.reduceReverse=function(i,a){var s,l=this.tail;if(arguments.length>1)s=a;else if(this.tail)l=this.tail.prev,s=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var d=this.length-1;l!==null;d--)s=i(s,l.value,d),l=l.prev;return s},r.prototype.toArray=function(){for(var i=new Array(this.length),a=0,s=this.head;s!==null;a++)i[a]=s.value,s=s.next;return i},r.prototype.toArrayReverse=function(){for(var i=new Array(this.length),a=0,s=this.tail;s!==null;a++)i[a]=s.value,s=s.prev;return i},r.prototype.slice=function(i,a){a=a||this.length,a<0&&(a+=this.length),i=i||0,i<0&&(i+=this.length);var s=new r;if(a<i||a<0)return s;i<0&&(i=0),a>this.length&&(a=this.length);for(var l=0,d=this.head;d!==null&&l<i;l++)d=d.next;for(;d!==null&&l<a;l++,d=d.next)s.push(d.value);return s},r.prototype.sliceReverse=function(i,a){a=a||this.length,a<0&&(a+=this.length),i=i||0,i<0&&(i+=this.length);var s=new r;if(a<i||a<0)return s;i<0&&(i=0),a>this.length&&(a=this.length);for(var l=this.length,d=this.tail;d!==null&&l>a;l--)d=d.prev;for(;d!==null&&l>i;l--,d=d.prev)s.push(d.value);return s},r.prototype.splice=function(i,a,...s){i>this.length&&(i=this.length-1),i<0&&(i=this.length+i);for(var l=0,d=this.head;d!==null&&l<i;l++)d=d.next;for(var f=[],l=0;d&&l<a;l++)f.push(d.value),d=this.removeNode(d);d===null&&(d=this.tail),d!==this.head&&d!==this.tail&&(d=d.prev);for(var l=0;l<s.length;l++)d=e(this,d,s[l]);return f},r.prototype.reverse=function(){for(var i=this.head,a=this.tail,s=i;s!==null;s=s.prev){var l=s.prev;s.prev=s.next,s.next=l}return this.head=a,this.tail=i,this};function e(i,a,s){var l=a===i.head?new o(s,null,a,i):new o(s,a,a.next,i);return l.next===null&&(i.tail=l),l.prev===null&&(i.head=l),i.length++,l}function t(i,a){i.tail=new o(a,i.tail,null,i),i.head||(i.head=i.tail),i.length++}function n(i,a){i.head=new o(a,null,i.head,i),i.tail||(i.tail=i.head),i.length++}function o(i,a,s,l){if(!(this instanceof o))return new o(i,a,s,l);this.list=l,this.value=i,a?(a.next=this,this.prev=a):this.prev=null,s?(s.prev=this,this.next=s):this.next=null}try{Ap()(r)}catch{}return Jo}var Qo,il;function oc(){if(il)return Qo;il=1;const r=Lp(),e=Symbol("max"),t=Symbol("length"),n=Symbol("lengthCalculator"),o=Symbol("allowStale"),i=Symbol("maxAge"),a=Symbol("dispose"),s=Symbol("noDisposeOnSet"),l=Symbol("lruList"),d=Symbol("cache"),f=Symbol("updateAgeOnGet"),m=()=>1;class v{constructor(u){if(typeof u=="number"&&(u={max:u}),u||(u={}),u.max&&(typeof u.max!="number"||u.max<0))throw new TypeError("max must be a non-negative number");this[e]=u.max||1/0;const h=u.length||m;if(this[n]=typeof h!="function"?m:h,this[o]=u.stale||!1,u.maxAge&&typeof u.maxAge!="number")throw new TypeError("maxAge must be a number");this[i]=u.maxAge||0,this[a]=u.dispose,this[s]=u.noDisposeOnSet||!1,this[f]=u.updateAgeOnGet||!1,this.reset()}set max(u){if(typeof u!="number"||u<0)throw new TypeError("max must be a non-negative number");this[e]=u||1/0,x(this)}get max(){return this[e]}set allowStale(u){this[o]=!!u}get allowStale(){return this[o]}set maxAge(u){if(typeof u!="number")throw new TypeError("maxAge must be a non-negative number");this[i]=u,x(this)}get maxAge(){return this[i]}set lengthCalculator(u){typeof u!="function"&&(u=m),u!==this[n]&&(this[n]=u,this[t]=0,this[l].forEach(h=>{h.length=this[n](h.value,h.key),this[t]+=h.length})),x(this)}get lengthCalculator(){return this[n]}get length(){return this[t]}get itemCount(){return this[l].length}rforEach(u,h){h=h||this;for(let R=this[l].tail;R!==null;){const D=R.prev;E(this,u,R,h),R=D}}forEach(u,h){h=h||this;for(let R=this[l].head;R!==null;){const D=R.next;E(this,u,R,h),R=D}}keys(){return this[l].toArray().map(u=>u.key)}values(){return this[l].toArray().map(u=>u.value)}reset(){this[a]&&this[l]&&this[l].length&&this[l].forEach(u=>this[a](u.key,u.value)),this[d]=new Map,this[l]=new r,this[t]=0}dump(){return this[l].map(u=>g(this,u)?!1:{k:u.key,v:u.value,e:u.now+(u.maxAge||0)}).toArray().filter(u=>u)}dumpLru(){return this[l]}set(u,h,R){if(R=R||this[i],R&&typeof R!="number")throw new TypeError("maxAge must be a number");const D=R?Date.now():0,N=this[n](h,u);if(this[d].has(u)){if(N>this[e])return _(this,this[d].get(u)),!1;const M=this[d].get(u).value;return this[a]&&(this[s]||this[a](u,M.value)),M.now=D,M.maxAge=R,M.value=h,this[t]+=N-M.length,M.length=N,this.get(u),x(this),!0}const B=new k(u,h,N,D,R);return B.length>this[e]?(this[a]&&this[a](u,h),!1):(this[t]+=B.length,this[l].unshift(B),this[d].set(u,this[l].head),x(this),!0)}has(u){if(!this[d].has(u))return!1;const h=this[d].get(u).value;return!g(this,h)}get(u){return b(this,u,!0)}peek(u){return b(this,u,!1)}pop(){const u=this[l].tail;return u?(_(this,u),u.value):null}del(u){_(this,this[d].get(u))}load(u){this.reset();const h=Date.now();for(let R=u.length-1;R>=0;R--){const D=u[R],N=D.e||0;if(N===0)this.set(D.k,D.v);else{const B=N-h;B>0&&this.set(D.k,D.v,B)}}}prune(){this[d].forEach((u,h)=>b(this,h,!1))}}const b=(y,u,h)=>{const R=y[d].get(u);if(R){const D=R.value;if(g(y,D)){if(_(y,R),!y[o])return}else h&&(y[f]&&(R.value.now=Date.now()),y[l].unshiftNode(R));return D.value}},g=(y,u)=>{if(!u||!u.maxAge&&!y[i])return!1;const h=Date.now()-u.now;return u.maxAge?h>u.maxAge:y[i]&&h>y[i]},x=y=>{if(y[t]>y[e])for(let u=y[l].tail;y[t]>y[e]&&u!==null;){const h=u.prev;_(y,u),u=h}},_=(y,u)=>{if(u){const h=u.value;y[a]&&y[a](h.key,h.value),y[t]-=h.length,y[d].delete(h.key),y[l].removeNode(u)}};class k{constructor(u,h,R,D,N){this.key=u,this.value=h,this.length=R,this.now=D,this.maxAge=N||0}}const E=(y,u,h,R)=>{let D=h.value;g(y,D)&&(_(y,h),y[o]||(D=void 0)),D&&u.call(R,D.value,D.key,y)};return Qo=v,Qo}var Xo,al;function Op(){if(al)return Xo;al=1;const r=oc(),e=10;return Xo=class{constructor({document:n}){this.document=n,this.cache=new r({max:e})}getProcessed(n){return this.cache.get(n)}setProcessed(n,o){this.cache.set(n,o)}},Xo}var Ko,sl;function $p(){if(sl)return Ko;sl=1;const{isArray:r,isObject:e,isString:t}=Xe(),{asArray:n}=Ye(),{prependBase:o}=jt(),i=et(),a=Op(),s=10;Ko=class{constructor({sharedCache:m}){this.perOpCache=new Map,this.sharedCache=m}async resolve({activeCtx:m,context:v,documentLoader:b,base:g,cycles:x=new Set}){v&&e(v)&&v["@context"]&&(v=v["@context"]),v=n(v);const _=[];for(const k of v){if(t(k)){let u=this._get(k);u||(u=await this._resolveRemoteContext({activeCtx:m,url:k,documentLoader:b,base:g,cycles:x})),r(u)?_.push(...u):_.push(u);continue}if(k===null){_.push(new a({document:null}));continue}e(k)||l(v);const E=JSON.stringify(k);let y=this._get(E);y||(y=new a({document:k}),this._cacheResolvedContext({key:E,resolved:y,tag:"static"})),_.push(y)}return _}_get(m){let v=this.perOpCache.get(m);if(!v){const b=this.sharedCache.get(m);b&&(v=b.get("static"),v&&this.perOpCache.set(m,v))}return v}_cacheResolvedContext({key:m,resolved:v,tag:b}){if(this.perOpCache.set(m,v),b!==void 0){let g=this.sharedCache.get(m);g||(g=new Map,this.sharedCache.set(m,g)),g.set(b,v)}return v}async _resolveRemoteContext({activeCtx:m,url:v,documentLoader:b,base:g,cycles:x}){v=o(g,v);const{context:_,remoteDoc:k}=await this._fetchContext({activeCtx:m,url:v,documentLoader:b,cycles:x});g=k.documentUrl||v,d({context:_,base:g});const E=await this.resolve({activeCtx:m,context:_,documentLoader:b,base:g,cycles:x});return this._cacheResolvedContext({key:v,resolved:E,tag:k.tag}),E}async _fetchContext({activeCtx:m,url:v,documentLoader:b,cycles:g}){if(g.size>s)throw new i("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:m.processingMode==="json-ld-1.0"?"loading remote context failed":"context overflow",max:s});if(g.has(v))throw new i("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:m.processingMode==="json-ld-1.0"?"recursive context inclusion":"context overflow",url:v});g.add(v);let x,_;try{_=await b(v),x=_.document||null,t(x)&&(x=JSON.parse(x))}catch(k){throw new i(`Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context. URL: "${v}".`,"jsonld.InvalidUrl",{code:"loading remote context failed",url:v,cause:k})}if(!e(x))throw new i(`Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object. URL: "${v}".`,"jsonld.InvalidUrl",{code:"invalid remote context",url:v});return"@context"in x?x={"@context":x["@context"]}:x={"@context":{}},_.contextUrl&&(r(x["@context"])||(x["@context"]=[x["@context"]]),x["@context"].push(_.contextUrl)),{context:x,remoteDoc:_}}};function l(f){throw new i("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:f})}function d({context:f,base:m}){if(!f)return;const v=f["@context"];if(t(v)){f["@context"]=o(m,v);return}if(r(v)){for(let b=0;b<v.length;++b){const g=v[b];if(t(g)){v[b]=o(m,g);continue}e(g)&&d({context:{"@context":g},base:m})}return}if(e(v))for(const b in v)d({context:v[b],base:m})}return Ko}var Yo,ll;function Dp(){return ll||(ll=1,Yo=ua().NQuads),Yo}var Zo,dl;function Zr(){if(dl)return Zo;dl=1;const r=et(),{isArray:e}=Xe(),{asArray:t}=Ye(),n={};Zo=n,n.defaultEventHandler=null,n.setupEventHandler=({options:a={}})=>{const s=[].concat(a.safe?n.safeEventHandler:[],a.eventHandler?t(a.eventHandler):[],n.defaultEventHandler?n.defaultEventHandler:[]);return s.length===0?null:s},n.handleEvent=({event:a,options:s})=>{o({event:a,handlers:s.eventHandler})};function o({event:a,handlers:s}){let l=!0;for(let d=0;l&&d<s.length;++d){l=!1;const f=s[d];if(e(f))l=o({event:a,handlers:f});else if(typeof f=="function")f({event:a,next:()=>{l=!0}});else if(typeof f=="object")a.code in f?f[a.code]({event:a,next:()=>{l=!0}}):l=!0;else throw new r("Invalid event handler.","jsonld.InvalidEventHandler",{event:a})}return l}const i=new Set(["empty object","free-floating scalar","invalid @language value","invalid property","null @id value","null @value value","object with only @id","object with only @language","object with only @list","object with only @value","relative @id reference","relative @type reference","relative @vocab reference","reserved @id value","reserved @reverse value","reserved term","blank node predicate","relative graph reference","relative object reference","relative predicate reference","relative subject reference","rdfDirection not set"]);return n.safeEventHandler=function({event:s,next:l}){if(s.level==="warning"&&i.has(s.code))throw new r("Safe mode validation error.","jsonld.ValidationError",{event:s});l()},n.logEventHandler=function({event:s,next:l}){console.log(`EVENT: ${s.message}`,{event:s}),l()},n.logWarningEventHandler=function({event:s,next:l}){s.level==="warning"&&console.warn(`WARNING: ${s.message}`,{event:s}),l()},n.unhandledEventHandler=function({event:s}){throw new r("No handler for event.","jsonld.UnhandledEvent",{event:s})},n.setDefaultEventHandler=function({eventHandler:a}={}){n.defaultEventHandler=a?t(a):null},Zo}var ei,cl;function zt(){if(cl)return ei;cl=1;const r=Ye(),e=et(),{isArray:t,isObject:n,isString:o,isUndefined:i}=Xe(),{isAbsolute:a,isRelative:s,prependBase:l}=jt(),{handleEvent:d}=Zr(),{REGEX_BCP47:f,REGEX_KEYWORD:m,asArray:v,compareShortestLeast:b}=Ye(),g=new Map,x=1e4,_={};ei=_,_.process=async({activeCtx:y,localCtx:u,options:h,propagate:R=!0,overrideProtected:D=!1,cycles:N=new Set})=>{if(n(u)&&"@context"in u&&t(u["@context"])&&(u=u["@context"]),v(u).length===0)return y;const I=[],M=[({event:Y,next:T})=>{I.push(Y),T()}];h.eventHandler&&M.push(h.eventHandler);const q=h;h={...h,eventHandler:M};const j=await h.contextResolver.resolve({activeCtx:y,context:u,documentLoader:h.documentLoader,base:h.base});n(j[0].document)&&typeof j[0].document["@propagate"]=="boolean"&&(R=j[0].document["@propagate"]);let A=y;!R&&!A.previousContext&&(A=A.clone(),A.previousContext=y);for(const Y of j){let{document:T}=Y;if(y=A,T===null){if(!D&&Object.keys(y.protected).length!==0)throw new e("Tried to nullify a context with protected terms outside of a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"});A=y=_.getInitialContext(h).clone();continue}const ee=Y.getProcessed(y);if(ee){if(q.eventHandler)for(const K of ee.events)d({event:K,options:q});A=y=ee.context;continue}if(n(T)&&"@context"in T&&(T=T["@context"]),!n(T))throw new e("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:T});A=A.clone();const C=new Map;if("@version"in T){if(T["@version"]!==1.1)throw new e("Unsupported JSON-LD version: "+T["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:T});if(y.processingMode&&y.processingMode==="json-ld-1.0")throw new e("@version: "+T["@version"]+" not compatible with "+y.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:T});A.processingMode="json-ld-1.1",A["@version"]=T["@version"],C.set("@version",!0)}if(A.processingMode=A.processingMode||y.processingMode,"@base"in T){let K=T["@base"];if(!(K===null||a(K)))if(s(K))K=l(A["@base"],K);else throw new e('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI, a relative IRI, or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:T});A["@base"]=K,C.set("@base",!0)}if("@vocab"in T){const K=T["@vocab"];if(K===null)delete A["@vocab"];else if(o(K)){if(!a(K)&&_.processingMode(A,1))throw new e('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:T});{const w=k(A,K,{vocab:!0,base:!0},void 0,void 0,h);a(w)||h.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative @vocab reference",level:"warning",message:"Relative @vocab reference found.",details:{vocab:w}},options:h}),A["@vocab"]=w}}else throw new e('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:T});C.set("@vocab",!0)}if("@language"in T){const K=T["@language"];if(K===null)delete A["@language"];else if(o(K))K.match(f)||h.eventHandler&&d({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:K}},options:h}),A["@language"]=K.toLowerCase();else throw new e('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:T});C.set("@language",!0)}if("@direction"in T){const K=T["@direction"];if(y.processingMode==="json-ld-1.0")throw new e("Invalid JSON-LD syntax; @direction not compatible with "+y.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:T});if(K===null)delete A["@direction"];else{if(K!=="ltr"&&K!=="rtl")throw new e('Invalid JSON-LD syntax; the value of "@direction" in a @context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:T});A["@direction"]=K}C.set("@direction",!0)}if("@propagate"in T){const K=T["@propagate"];if(y.processingMode==="json-ld-1.0")throw new e("Invalid JSON-LD syntax; @propagate not compatible with "+y.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:T});if(typeof K!="boolean")throw new e("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:u});C.set("@propagate",!0)}if("@import"in T){const K=T["@import"];if(y.processingMode==="json-ld-1.0")throw new e("Invalid JSON-LD syntax; @import not compatible with "+y.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:T});if(!o(K))throw new e("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:u});const w=await h.contextResolver.resolve({activeCtx:y,context:K,documentLoader:h.documentLoader,base:h.base});if(w.length!==1)throw new e("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:u});const z=w[0].getProcessed(y);if(z)T=z;else{const Q=w[0].document;if("@import"in Q)throw new e("Invalid JSON-LD syntax: imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:u});for(const W in Q)T.hasOwnProperty(W)||(T[W]=Q[W]);w[0].setProcessed(y,T)}C.set("@import",!0)}C.set("@protected",T["@protected"]||!1);for(const K in T)if(_.createTermDefinition({activeCtx:A,localCtx:T,term:K,defined:C,options:h,overrideProtected:D}),n(T[K])&&"@context"in T[K]){const w=T[K]["@context"];let z=!0;if(o(w)){const Q=l(h.base,w);N.has(Q)?z=!1:N.add(Q)}if(z)try{await _.process({activeCtx:A.clone(),localCtx:T[K]["@context"],overrideProtected:!0,options:h,cycles:N})}catch{throw new e("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:T[K]["@context"],term:K})}}Y.setProcessed(y,{context:A,events:I})}return A},_.createTermDefinition=({activeCtx:y,localCtx:u,term:h,defined:R,options:D,overrideProtected:N=!1})=>{if(R.has(h)){if(R.get(h))return;throw new e("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:u,term:h})}R.set(h,!1);let B;if(u.hasOwnProperty(h)&&(B=u[h]),h==="@type"&&n(B)&&(B["@container"]||"@set")==="@set"&&_.processingMode(y,1.1)){const T=["@container","@id","@protected"],ee=Object.keys(B);if(ee.length===0||ee.some(C=>!T.includes(C)))throw new e("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:u,term:h})}else{if(_.isKeyword(h))throw new e("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:u,term:h});if(h.match(m)){D.eventHandler&&d({event:{type:["JsonLdEvent"],code:"reserved term",level:"warning",message:'Terms beginning with "@" are reserved for future use and dropped.',details:{term:h}},options:D});return}else if(h==="")throw new e("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:u})}const I=y.mappings.get(h);y.mappings.has(h)&&y.mappings.delete(h);let M=!1;if((o(B)||B===null)&&(M=!0,B={"@id":B}),!n(B))throw new e("Invalid JSON-LD syntax; @context term values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:u});const q={};y.mappings.set(h,q),q.reverse=!1;const j=["@container","@id","@language","@reverse","@type"];_.processingMode(y,1.1)&&j.push("@context","@direction","@index","@nest","@prefix","@protected");for(const T in B)if(!j.includes(T))throw new e("Invalid JSON-LD syntax; a term definition must not contain "+T,"jsonld.SyntaxError",{code:"invalid term definition",context:u});const A=h.indexOf(":");if(q._termHasColon=A>0,"@reverse"in B){if("@id"in B)throw new e("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:u});if("@nest"in B)throw new e("Invalid JSON-LD syntax; a @reverse term definition must not contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:u});const T=B["@reverse"];if(!o(T))throw new e("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:u});if(T.match(m)){D.eventHandler&&d({event:{type:["JsonLdEvent"],code:"reserved @reverse value",level:"warning",message:'@reverse values beginning with "@" are reserved for future use and dropped.',details:{reverse:T}},options:D}),I?y.mappings.set(h,I):y.mappings.delete(h);return}const ee=k(y,T,{vocab:!0,base:!1},u,R,D);if(!a(ee))throw new e("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:u});q["@id"]=ee,q.reverse=!0}else if("@id"in B){let T=B["@id"];if(T&&!o(T))throw new e("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:u});if(T===null)q["@id"]=null;else if(!_.isKeyword(T)&&T.match(m)){D.eventHandler&&d({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:'@id values beginning with "@" are reserved for future use and dropped.',details:{id:T}},options:D}),I?y.mappings.set(h,I):y.mappings.delete(h);return}else if(T!==h){if(T=k(y,T,{vocab:!0,base:!1},u,R,D),!a(T)&&!_.isKeyword(T))throw new e("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:u});if(h.match(/(?::[^:])|\//)){const ee=new Map(R).set(h,!0);if(k(y,h,{vocab:!0,base:!1},u,ee,D)!==T)throw new e("Invalid JSON-LD syntax; term in form of IRI must expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:u})}q["@id"]=T,q._prefix=M&&!q._termHasColon&&T.match(/[:\/\?#\[\]@]$/)!==null}}if(!("@id"in q))if(q._termHasColon){const T=h.substr(0,A);if(u.hasOwnProperty(T)&&_.createTermDefinition({activeCtx:y,localCtx:u,term:T,defined:R,options:D}),y.mappings.has(T)){const ee=h.substr(A+1);q["@id"]=y.mappings.get(T)["@id"]+ee}else q["@id"]=h}else if(h==="@type")q["@id"]=h;else{if(!("@vocab"in y))throw new e("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:u,term:h});q["@id"]=y["@vocab"]+h}if((B["@protected"]===!0||R.get("@protected")===!0&&B["@protected"]!==!1)&&(y.protected[h]=!0,q.protected=!0),R.set(h,!0),"@type"in B){let T=B["@type"];if(!o(T))throw new e("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:u});if(T==="@json"||T==="@none"){if(_.processingMode(y,1))throw new e(`Invalid JSON-LD syntax; an @context @type value must not be "${T}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:u})}else if(T!=="@id"&&T!=="@vocab"){if(T=k(y,T,{vocab:!0,base:!1},u,R,D),!a(T))throw new e("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:u});if(T.indexOf("_:")===0)throw new e("Invalid JSON-LD syntax; an @context @type value must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:u})}q["@type"]=T}if("@container"in B){const T=o(B["@container"])?[B["@container"]]:B["@container"]||[],ee=["@list","@set","@index","@language"];let C=!0;const K=T.includes("@set");if(_.processingMode(y,1.1)){if(ee.push("@graph","@id","@type"),T.includes("@list")){if(T.length!==1)throw new e("Invalid JSON-LD syntax; @context @container with @list must have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:u})}else if(T.includes("@graph")){if(T.some(w=>w!=="@graph"&&w!=="@id"&&w!=="@index"&&w!=="@set"))throw new e("Invalid JSON-LD syntax; @context @container with @graph must have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:u})}else C&=T.length<=(K?2:1);if(T.includes("@type")&&(q["@type"]=q["@type"]||"@id",!["@id","@vocab"].includes(q["@type"])))throw new e("Invalid JSON-LD syntax; container: @type requires @type to be @id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:u})}else C&=!t(B["@container"]),C&=T.length<=1;if(C&=T.every(w=>ee.includes(w)),C&=!(K&&T.includes("@list")),!C)throw new e("Invalid JSON-LD syntax; @context @container value must be one of the following: "+ee.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:u});if(q.reverse&&!T.every(w=>["@index","@set"].includes(w)))throw new e("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:u});q["@container"]=T}if("@index"in B){if(!("@container"in B)||!q["@container"].includes("@index"))throw new e(`Invalid JSON-LD syntax; @index without @index in @container: "${B["@index"]}" on term "${h}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:u});if(!o(B["@index"])||B["@index"].indexOf("@")===0)throw new e(`Invalid JSON-LD syntax; @index must expand to an IRI: "${B["@index"]}" on term "${h}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:u});q["@index"]=B["@index"]}if("@context"in B&&(q["@context"]=B["@context"]),"@language"in B&&!("@type"in B)){let T=B["@language"];if(T!==null&&!o(T))throw new e("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:u});T!==null&&(T=T.toLowerCase()),q["@language"]=T}if("@prefix"in B){if(h.match(/:|\//))throw new e("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:u});if(_.isKeyword(q["@id"]))throw new e("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:u});if(typeof B["@prefix"]=="boolean")q._prefix=B["@prefix"]===!0;else throw new e("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:u})}if("@direction"in B){const T=B["@direction"];if(T!==null&&T!=="ltr"&&T!=="rtl")throw new e('Invalid JSON-LD syntax; @direction value must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:u});q["@direction"]=T}if("@nest"in B){const T=B["@nest"];if(!o(T)||T!=="@nest"&&T.indexOf("@")===0)throw new e("Invalid JSON-LD syntax; @context @nest value must be a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:u});q["@nest"]=T}// disallow aliasing @context and @preserve
|
|
300
|
+
const Y=q["@id"];if(Y==="@context"||Y==="@preserve")throw new e("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:u});if(I&&I.protected&&!N&&(y.protected[h]=!0,q.protected=!0,!E(I,q)))throw new e("Invalid JSON-LD syntax; tried to redefine a protected term.","jsonld.SyntaxError",{code:"protected term redefinition",context:u,term:h})},_.expandIri=(y,u,h,R)=>k(y,u,h,void 0,void 0,R);function k(y,u,h,R,D,N){if(u===null||!o(u)||_.isKeyword(u))return u;if(u.match(m))return null;if(R&&R.hasOwnProperty(u)&&D.get(u)!==!0&&_.createTermDefinition({activeCtx:y,localCtx:R,term:u,defined:D,options:N}),h=h||{},h.vocab){const I=y.mappings.get(u);if(I===null)return null;if(n(I)&&"@id"in I)return I["@id"]}const B=u.indexOf(":");if(B>0){const I=u.substr(0,B),M=u.substr(B+1);if(I==="_"||M.indexOf("//")===0)return u;R&&R.hasOwnProperty(I)&&_.createTermDefinition({activeCtx:y,localCtx:R,term:I,defined:D,options:N});const q=y.mappings.get(I);if(q&&q._prefix)return q["@id"]+M;if(a(u))return u}if(h.vocab&&"@vocab"in y)u=y["@vocab"]+u;else if(h.base){let I,M;"@base"in y?y["@base"]?(M=l(N.base,y["@base"]),I=l(M,u)):(M=y["@base"],I=u):(M=N.base,I=l(N.base,u)),u=I}return u}_.getInitialContext=y=>{const u=JSON.stringify({processingMode:y.processingMode}),h=g.get(u);if(h)return h;const R={processingMode:y.processingMode,mappings:new Map,inverse:null,getInverse:D,clone:I,revertToPreviousContext:M,protected:{}};return g.size===x&&g.clear(),g.set(u,R),R;function D(){const q=this;if(q.inverse)return q.inverse;const j=q.inverse={},A=q.fastCurieMap={},Y={},T=(q["@language"]||"@none").toLowerCase(),ee=q["@direction"],C=q.mappings,K=[...C.keys()].sort(b);for(const w of K){const z=C.get(w);if(z===null)continue;let Q=z["@container"]||"@none";if(Q=[].concat(Q).sort().join(""),z["@id"]===null)continue;const W=v(z["@id"]);for(const ae of W){let U=j[ae];const H=_.isKeyword(ae);if(U)!H&&!z._termHasColon&&Y[ae].push(w);else if(j[ae]=U={},!H&&!z._termHasColon){Y[ae]=[w];const V={iri:ae,terms:Y[ae]};ae[0]in A?A[ae[0]].push(V):A[ae[0]]=[V]}if(U[Q]||(U[Q]={"@language":{},"@type":{},"@any":{}}),U=U[Q],B(w,U["@any"],"@none"),z.reverse)B(w,U["@type"],"@reverse");else if(z["@type"]==="@none")B(w,U["@any"],"@none"),B(w,U["@language"],"@none"),B(w,U["@type"],"@none");else if("@type"in z)B(w,U["@type"],z["@type"]);else if("@language"in z&&"@direction"in z){const V=z["@language"],F=z["@direction"];V&&F?B(w,U["@language"],`${V}_${F}`.toLowerCase()):V?B(w,U["@language"],V.toLowerCase()):F?B(w,U["@language"],`_${F}`):B(w,U["@language"],"@null")}else"@language"in z?B(w,U["@language"],(z["@language"]||"@null").toLowerCase()):"@direction"in z?z["@direction"]?B(w,U["@language"],`_${z["@direction"]}`):B(w,U["@language"],"@none"):ee?(B(w,U["@language"],`_${ee}`),B(w,U["@language"],"@none"),B(w,U["@type"],"@none")):(B(w,U["@language"],T),B(w,U["@language"],"@none"),B(w,U["@type"],"@none"))}}for(const w in A)N(A,w,1);return j}function N(q,j,A){const Y=q[j],T=q[j]={};let ee,C;for(const K of Y)ee=K.iri,A>=ee.length?C="":C=ee[A],C in T?T[C].push(K):T[C]=[K];for(const K in T)K!==""&&N(T,K,A+1)}function B(q,j,A){j.hasOwnProperty(A)||(j[A]=q)}function I(){const q={};return q.mappings=r.clone(this.mappings),q.clone=this.clone,q.inverse=null,q.getInverse=this.getInverse,q.protected=r.clone(this.protected),this.previousContext&&(q.previousContext=this.previousContext.clone()),q.revertToPreviousContext=this.revertToPreviousContext,"@base"in this&&(q["@base"]=this["@base"]),"@language"in this&&(q["@language"]=this["@language"]),"@vocab"in this&&(q["@vocab"]=this["@vocab"]),q}function M(){return this.previousContext?this.previousContext.clone():this}},_.getContextValue=(y,u,h)=>{if(u===null)return h==="@context"?void 0:null;if(y.mappings.has(u)){const R=y.mappings.get(u);if(i(h))return R;if(R.hasOwnProperty(h))return R[h]}if(h==="@language"&&h in y||h==="@direction"&&h in y)return y[h];if(h!=="@context")return null},_.processingMode=(y,u)=>u.toString()>="1.1"?!y.processingMode||y.processingMode>="json-ld-"+u.toString():y.processingMode==="json-ld-1.0",_.isKeyword=y=>{if(!o(y)||y[0]!=="@")return!1;switch(y){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return!0}return!1};function E(y,u){if(!(y&&typeof y=="object")||!(u&&typeof u=="object"))return y===u;const h=Array.isArray(y);if(h!==Array.isArray(u))return!1;if(h){if(y.length!==u.length)return!1;for(let N=0;N<y.length;++N)if(!E(y[N],u[N]))return!1;return!0}const R=Object.keys(y),D=Object.keys(u);if(R.length!==D.length)return!1;for(const N in y){let B=y[N],I=u[N];if(N==="@container"&&Array.isArray(B)&&Array.isArray(I)&&(B=B.slice().sort(),I=I.slice().sort()),!E(B,I))return!1}return!0}return ei}var ti,ul;function Mp(){if(ul)return ti;ul=1;const r=et(),{isArray:e,isObject:t,isEmptyObject:n,isString:o,isUndefined:i}=Xe(),{isList:a,isValue:s,isGraph:l,isSubject:d}=xt(),{expandIri:f,getContextValue:m,isKeyword:v,process:b,processingMode:g}=zt(),{isAbsolute:x}=jt(),{REGEX_BCP47:_,REGEX_KEYWORD:k,addValue:E,asArray:y,getValues:u,validateTypeValue:h}=Ye(),{handleEvent:R}=Zr(),D={};ti=D,D.expand=async({activeCtx:j,activeProperty:A=null,element:Y,options:T={},insideList:ee=!1,insideIndex:C=!1,typeScopedContext:K=null})=>{if(Y==null)return null;if(A==="@default"&&(T=Object.assign({},T,{isFrame:!1})),!e(Y)&&!t(Y))return!ee&&(A===null||f(j,A,{vocab:!0},T)==="@graph")?(T.eventHandler&&R({event:{type:["JsonLdEvent"],code:"free-floating scalar",level:"warning",message:"Dropping free-floating scalar not in a list.",details:{value:Y}},options:T}),null):I({activeCtx:j,activeProperty:A,value:Y,options:T});if(e(Y)){let V=[];const F=m(j,A,"@container")||[];ee=ee||F.includes("@list");for(let Z=0;Z<Y.length;++Z){let te=await D.expand({activeCtx:j,activeProperty:A,element:Y[Z],options:T,insideIndex:C,typeScopedContext:K});ee&&e(te)&&(te={"@list":te}),te!==null&&(e(te)?V=V.concat(te):V.push(te))}return V}const w=f(j,A,{vocab:!0},T),z=m(j,A,"@context");K=K||(j.previousContext?j:null);let Q=Object.keys(Y).sort(),W=!C;if(W&&K&&Q.length<=2&&!Q.includes("@context"))for(const V of Q){const F=f(K,V,{vocab:!0},T);if(F==="@value"){W=!1,j=K;break}if(F==="@id"&&Q.length===1){W=!1;break}}W&&(j=j.revertToPreviousContext()),i(z)||(j=await b({activeCtx:j,localCtx:z,propagate:!0,overrideProtected:!0,options:T})),"@context"in Y&&(j=await b({activeCtx:j,localCtx:Y["@context"],options:T})),K=j;let ae=null;for(const V of Q)if(f(j,V,{vocab:!0},T)==="@type"){ae=ae||V;const Z=Y[V],te=Array.isArray(Z)?Z.length>1?Z.slice().sort():Z:[Z];for(const ce of te){const pe=m(K,ce,"@context");i(pe)||(j=await b({activeCtx:j,localCtx:pe,options:T,propagate:!1}))}}let U={};await B({activeCtx:j,activeProperty:A,expandedActiveProperty:w,element:Y,expandedParent:U,options:T,insideList:ee,typeKey:ae,typeScopedContext:K}),Q=Object.keys(U);let H=Q.length;if("@value"in U){if("@type"in U&&("@language"in U||"@direction"in U))throw new r('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:U});let V=H-1;if("@type"in U&&(V-=1),"@index"in U&&(V-=1),"@language"in U&&(V-=1),"@direction"in U&&(V-=1),V!==0)throw new r('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:U});const F=U["@value"]===null?[]:y(U["@value"]),Z=u(U,"@type");if(!(g(j,1.1)&&Z.includes("@json")&&Z.length===1))if(F.length===0)T.eventHandler&&R({event:{type:["JsonLdEvent"],code:"null @value value",level:"warning",message:"Dropping null @value value.",details:{value:U}},options:T}),U=null;else{if(!F.every(te=>o(te)||n(te))&&"@language"in U)throw new r("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:U});if(!Z.every(te=>x(te)&&!(o(te)&&te.indexOf("_:")===0)||n(te)))throw new r('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:U})}}else if("@type"in U&&!e(U["@type"]))U["@type"]=[U["@type"]];else if("@set"in U||"@list"in U){if(H>1&&!(H===2&&"@index"in U))throw new r('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:U});"@set"in U&&(U=U["@set"],Q=Object.keys(U),H=Q.length)}else H===1&&"@language"in U&&(T.eventHandler&&R({event:{type:["JsonLdEvent"],code:"object with only @language",level:"warning",message:"Dropping object with only @language.",details:{value:U}},options:T}),U=null);return t(U)&&!T.keepFreeFloatingNodes&&!ee&&(A===null||w==="@graph"||(m(j,A,"@container")||[]).includes("@graph"))&&(U=N({value:U,count:H,options:T})),U};function N({value:j,count:A,options:Y}){if(A===0||"@value"in j||"@list"in j||A===1&&"@id"in j){if(Y.eventHandler){let T,ee;A===0?(T="empty object",ee="Dropping empty object."):"@value"in j?(T="object with only @value",ee="Dropping object with only @value."):"@list"in j?(T="object with only @list",ee="Dropping object with only @list."):A===1&&"@id"in j&&(T="object with only @id",ee="Dropping object with only @id."),R({event:{type:["JsonLdEvent"],code:T,level:"warning",message:ee,details:{value:j}},options:Y})}return null}return j}async function B({activeCtx:j,activeProperty:A,expandedActiveProperty:Y,element:T,expandedParent:ee,options:C={},insideList:K,typeKey:w,typeScopedContext:z}){const Q=Object.keys(T).sort(),W=[];let ae;const U=T[w]&&f(j,e(T[w])?T[w][0]:T[w],{vocab:!0},{...C,typeExpansion:!0})==="@json";for(const H of Q){let V=T[H],F;if(H==="@context")continue;const Z=f(j,H,{vocab:!0},C);if(Z===null||!(x(Z)||v(Z))){C.eventHandler&&R({event:{type:["JsonLdEvent"],code:"invalid property",level:"warning",message:"Dropping property that did not expand into an absolute IRI or keyword.",details:{property:H,expandedProperty:Z}},options:C});continue}if(v(Z)){if(Y==="@reverse")throw new r("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:V});if(Z in ee&&Z!=="@included"&&Z!=="@type")throw new r("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:Z})}if(Z==="@id"){if(!o(V)){if(!C.isFrame)throw new r('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:V});if(t(V)){if(!n(V))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:V})}else if(e(V)){if(!V.every(L=>o(L)))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:V})}else throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:V})}E(ee,"@id",y(V).map(L=>{if(o(L)){const G=f(j,L,{base:!0},C);return C.eventHandler&&(G===null?R(L===null?{event:{type:["JsonLdEvent"],code:"null @id value",level:"warning",message:"Null @id found.",details:{id:L}},options:C}:{event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:L}},options:C}):x(G)||R({event:{type:["JsonLdEvent"],code:"relative @id reference",level:"warning",message:"Relative @id reference found.",details:{id:L,expandedId:G}},options:C})),G}return L}),{propertyIsArray:C.isFrame});continue}if(Z==="@type"){t(V)&&(V=Object.fromEntries(Object.entries(V).map(([L,G])=>[f(z,L,{vocab:!0}),y(G).map(re=>f(z,re,{base:!0,vocab:!0},{...C,typeExpansion:!0}))]))),h(V,C.isFrame),E(ee,"@type",y(V).map(L=>{if(o(L)){const G=f(z,L,{base:!0,vocab:!0},{...C,typeExpansion:!0});return G!=="@json"&&!x(G)&&C.eventHandler&&R({event:{type:["JsonLdEvent"],code:"relative @type reference",level:"warning",message:"Relative @type reference found.",details:{type:L}},options:C}),G}return L}),{propertyIsArray:!!C.isFrame});continue}if(Z==="@included"&&g(j,1.1)){const L=y(await D.expand({activeCtx:j,activeProperty:A,element:V,options:C}));if(!L.every(G=>d(G)))throw new r("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:V});E(ee,"@included",L,{propertyIsArray:!0});continue}if(Z==="@graph"&&!(t(V)||e(V)))throw new r('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:V});if(Z==="@value"){ae=V,U&&g(j,1.1)?ee["@value"]=V:E(ee,"@value",V,{propertyIsArray:C.isFrame});continue}if(Z==="@language"){if(V===null)continue;if(!o(V)&&!C.isFrame)throw new r('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:V});V=y(V).map(L=>o(L)?L.toLowerCase():L);for(const L of V)o(L)&&!L.match(_)&&C.eventHandler&&R({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:L}},options:C});E(ee,"@language",V,{propertyIsArray:C.isFrame});continue}if(Z==="@direction"){if(!o(V)&&!C.isFrame)throw new r('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:V});V=y(V);for(const L of V)if(o(L)&&L!=="ltr"&&L!=="rtl")throw new r('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:V});E(ee,"@direction",V,{propertyIsArray:C.isFrame});continue}if(Z==="@index"){if(!o(V))throw new r('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:V});E(ee,"@index",V);continue}if(Z==="@reverse"){if(!t(V))throw new r('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:V});if(F=await D.expand({activeCtx:j,activeProperty:"@reverse",element:V,options:C}),"@reverse"in F)for(const G in F["@reverse"])E(ee,G,F["@reverse"][G],{propertyIsArray:!0});let L=ee["@reverse"]||null;for(const G in F){if(G==="@reverse")continue;L===null&&(L=ee["@reverse"]={}),E(L,G,[],{propertyIsArray:!0});const re=F[G];for(let de=0;de<re.length;++de){const ue=re[de];if(s(ue)||a(ue))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:F});E(L,G,ue,{propertyIsArray:!0})}}continue}if(Z==="@nest"){W.push(H);continue}let te=j;const ce=m(j,H,"@context");i(ce)||(te=await b({activeCtx:j,localCtx:ce,propagate:!0,overrideProtected:!0,options:C}));const pe=m(j,H,"@container")||[];if(pe.includes("@language")&&t(V)){const L=m(te,H,"@direction");F=M(te,V,L,C)}else if(pe.includes("@index")&&t(V)){const L=pe.includes("@graph"),G=m(te,H,"@index")||"@index",re=G!=="@index"&&f(j,G,{vocab:!0},C);F=await q({activeCtx:te,options:C,activeProperty:H,value:V,asGraph:L,indexKey:G,propertyIndex:re})}else if(pe.includes("@id")&&t(V)){const L=pe.includes("@graph");F=await q({activeCtx:te,options:C,activeProperty:H,value:V,asGraph:L,indexKey:"@id"})}else if(pe.includes("@type")&&t(V))F=await q({activeCtx:te.revertToPreviousContext(),options:C,activeProperty:H,value:V,asGraph:!1,indexKey:"@type"});else{const L=Z==="@list";if(L||Z==="@set"){let G=A;L&&Y==="@graph"&&(G=null),F=await D.expand({activeCtx:te,activeProperty:G,element:V,options:C,insideList:L})}else m(j,H,"@type")==="@json"?F={"@type":"@json","@value":V}:F=await D.expand({activeCtx:te,activeProperty:H,element:V,options:C,insideList:!1})}if(!(F===null&&Z!=="@value")){if(Z!=="@list"&&!a(F)&&pe.includes("@list")&&(F={"@list":y(F)}),pe.includes("@graph")&&!pe.some(L=>L==="@id"||L==="@index")){if(F=y(F),C.isFrame||(F=F.filter(L=>{const G=Object.keys(L).length;return N({value:L,count:G,options:C})!==null})),F.length===0)continue;F=F.map(L=>({"@graph":y(L)}))}if(te.mappings.has(H)&&te.mappings.get(H).reverse){const L=ee["@reverse"]=ee["@reverse"]||{};F=y(F);for(let G=0;G<F.length;++G){const re=F[G];if(s(re)||a(re))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:F});E(L,Z,re,{propertyIsArray:!0})}continue}E(ee,Z,F,{propertyIsArray:!0})}}if("@value"in ee&&!(ee["@type"]==="@json"&&g(j,1.1))){if((t(ae)||e(ae))&&!C.isFrame)throw new r('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:ae})}for(const H of W){const V=e(T[H])?T[H]:[T[H]];for(const F of V){if(!t(F)||Object.keys(F).some(Z=>f(j,Z,{vocab:!0},C)==="@value"))throw new r("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:F});await B({activeCtx:j,activeProperty:A,expandedActiveProperty:Y,element:F,expandedParent:ee,options:C,insideList:K,typeScopedContext:z,typeKey:w})}}}function I({activeCtx:j,activeProperty:A,value:Y,options:T}){if(Y==null)return null;const ee=f(j,A,{vocab:!0},T);if(ee==="@id")return f(j,Y,{base:!0},T);if(ee==="@type")return f(j,Y,{vocab:!0,base:!0},{...T,typeExpansion:!0});const C=m(j,A,"@type");if((C==="@id"||ee==="@graph")&&o(Y)){const w=f(j,Y,{base:!0},T);return w===null&&Y.match(k)&&T.eventHandler&&R({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:A}},options:T}),{"@id":w}}if(C==="@vocab"&&o(Y))return{"@id":f(j,Y,{vocab:!0,base:!0},T)};if(v(ee))return Y;const K={};if(C&&!["@id","@vocab","@none"].includes(C))K["@type"]=C;else if(o(Y)){const w=m(j,A,"@language");w!==null&&(K["@language"]=w);const z=m(j,A,"@direction");z!==null&&(K["@direction"]=z)}return["boolean","number","string"].includes(typeof Y)||(Y=Y.toString()),K["@value"]=Y,K}function M(j,A,Y,T){const ee=[],C=Object.keys(A).sort();for(const K of C){const w=f(j,K,{vocab:!0},T);let z=A[K];e(z)||(z=[z]);for(const Q of z){if(Q===null)continue;if(!o(Q))throw new r("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:A});const W={"@value":Q};w!=="@none"&&(K.match(_)||T.eventHandler&&R({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:K}},options:T}),W["@language"]=K.toLowerCase()),Y&&(W["@direction"]=Y),ee.push(W)}}return ee}async function q({activeCtx:j,options:A,activeProperty:Y,value:T,asGraph:ee,indexKey:C,propertyIndex:K}){const w=[],z=Object.keys(T).sort(),Q=C==="@type";for(let W of z){if(Q){const H=m(j,W,"@context");i(H)||(j=await b({activeCtx:j,localCtx:H,propagate:!1,options:A}))}let ae=T[W];e(ae)||(ae=[ae]),ae=await D.expand({activeCtx:j,activeProperty:Y,element:ae,options:A,insideList:!1,insideIndex:!0});let U;K?W==="@none"?U="@none":U=I({activeCtx:j,activeProperty:C,value:W,options:A}):U=f(j,W,{vocab:!0},A),C==="@id"?W=f(j,W,{base:!0},A):Q&&(W=U);for(let H of ae){if(ee&&!l(H)&&(H={"@graph":[H]}),C==="@type")U==="@none"||(H["@type"]?H["@type"]=[W].concat(H["@type"]):H["@type"]=[W]);else{if(s(H)&&!["@language","@type","@index"].includes(C))throw new r(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${C}".`,"jsonld.SyntaxError",{code:"invalid value object",value:H});K?U!=="@none"&&E(H,K,U,{propertyIsArray:!0,prependValue:!0}):U!=="@none"&&!(C in H)&&(H[C]=W)}w.push(H)}}return w}return ti}var ri,pl;function Pn(){if(pl)return ri;pl=1;const{isKeyword:r}=zt(),e=xt(),t=Xe(),n=Ye(),o=et(),i={};return ri=i,i.createMergedNodeMap=(a,s)=>{s=s||{};const l=s.issuer||new n.IdentifierIssuer("_:b"),d={"@default":{}};return i.createNodeMap(a,d,"@default",l),i.mergeNodeMaps(d)},i.createNodeMap=(a,s,l,d,f,m)=>{if(t.isArray(a)){for(const x of a)i.createNodeMap(x,s,l,d,void 0,m);return}if(!t.isObject(a)){m&&m.push(a);return}if(e.isValue(a)){if("@type"in a){let x=a["@type"];x.indexOf("_:")===0&&(a["@type"]=x=d.getId(x))}m&&m.push(a);return}else if(m&&e.isList(a)){const x=[];i.createNodeMap(a["@list"],s,l,d,f,x),m.push({"@list":x});return}if("@type"in a){const x=a["@type"];for(const _ of x)_.indexOf("_:")===0&&d.getId(_)}t.isUndefined(f)&&(f=e.isBlankNode(a)?d.getId(a["@id"]):a["@id"]),m&&m.push({"@id":f});const v=s[l],b=v[f]=v[f]||{};b["@id"]=f;const g=Object.keys(a).sort();for(let x of g){if(x==="@id")continue;if(x==="@reverse"){const k={"@id":f},E=a["@reverse"];for(const y in E){const u=E[y];for(const h of u){let R=h["@id"];e.isBlankNode(h)&&(R=d.getId(R)),i.createNodeMap(h,s,l,d,R),n.addValue(v[R],y,k,{propertyIsArray:!0,allowDuplicate:!1})}}continue}if(x==="@graph"){f in s||(s[f]={}),i.createNodeMap(a[x],s,f,d);continue}if(x==="@included"){i.createNodeMap(a[x],s,l,d);continue}if(x!=="@type"&&r(x)){if(x==="@index"&&x in b&&(a[x]!==b[x]||a[x]["@id"]!==b[x]["@id"]))throw new o("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:b});b[x]=a[x];continue}const _=a[x];if(x.indexOf("_:")===0&&(x=d.getId(x)),_.length===0){n.addValue(b,x,[],{propertyIsArray:!0});continue}for(let k of _)if(x==="@type"&&(k=k.indexOf("_:")===0?d.getId(k):k),e.isSubject(k)||e.isSubjectReference(k)){if("@id"in k&&!k["@id"])continue;const E=e.isBlankNode(k)?d.getId(k["@id"]):k["@id"];n.addValue(b,x,{"@id":E},{propertyIsArray:!0,allowDuplicate:!1}),i.createNodeMap(k,s,l,d,E)}else if(e.isValue(k))n.addValue(b,x,k,{propertyIsArray:!0,allowDuplicate:!1});else if(e.isList(k)){const E=[];i.createNodeMap(k["@list"],s,l,d,f,E),k={"@list":E},n.addValue(b,x,k,{propertyIsArray:!0,allowDuplicate:!1})}else i.createNodeMap(k,s,l,d,f),n.addValue(b,x,k,{propertyIsArray:!0,allowDuplicate:!1})}},i.mergeNodeMapGraphs=a=>{const s={};for(const l of Object.keys(a).sort())for(const d of Object.keys(a[l]).sort()){const f=a[l][d];d in s||(s[d]={"@id":d});const m=s[d];for(const v of Object.keys(f).sort())if(r(v)&&v!=="@type")m[v]=n.clone(f[v]);else for(const b of f[v])n.addValue(m,v,n.clone(b),{propertyIsArray:!0,allowDuplicate:!1})}return s},i.mergeNodeMaps=a=>{const s=a["@default"],l=Object.keys(a).sort();for(const d of l){if(d==="@default")continue;const f=a[d];let m=s[d];m?"@graph"in m||(m["@graph"]=[]):s[d]=m={"@id":d,"@graph":[]};const v=m["@graph"];for(const b of Object.keys(f).sort()){const g=f[b];e.isSubjectReference(g)||v.push(g)}}return s},ri}var ni,fl;function Cp(){if(fl)return ni;fl=1;const{isSubjectReference:r}=xt(),{createMergedNodeMap:e}=Pn(),t={};return ni=t,t.flatten=n=>{const o=e(n),i=[],a=Object.keys(o).sort();for(let s=0;s<a.length;++s){const l=o[a[s]];r(l)||i.push(l)}return i},ni}var oi,hl;function Pp(){if(hl)return oi;hl=1;const r=et(),e=xt(),t=Xe(),{REGEX_BCP47:n,addValue:o}=Ye(),{handleEvent:i}=Zr(),{RDF_LIST:a,RDF_FIRST:s,RDF_REST:l,RDF_NIL:d,RDF_TYPE:f,RDF_JSON_LITERAL:m,XSD_BOOLEAN:v,XSD_DOUBLE:b,XSD_INTEGER:g,XSD_STRING:x}=pa(),_={};oi=_,_.fromRDF=async(E,y)=>{const{useRdfType:u=!1,useNativeTypes:h=!1,rdfDirection:R=null}=y,D={},N={"@default":D},B={};if(R){if(R==="compound-literal")throw new r("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:R});if(R!=="i18n-datatype")throw new r("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:R})}for(const q of E){const j=q.graph.termType==="DefaultGraph"?"@default":q.graph.value;j in N||(N[j]={}),j!=="@default"&&!(j in D)&&(D[j]={"@id":j});const A=N[j],Y=q.subject.value,T=q.predicate.value,ee=q.object;Y in A||(A[Y]={"@id":Y});const C=A[Y],K=ee.termType.endsWith("Node");if(K&&!(ee.value in A)&&(A[ee.value]={"@id":ee.value}),T===f&&!u&&K){o(C,"@type",ee.value,{propertyIsArray:!0});continue}const w=k(ee,h,R,y);if(o(C,T,w,{propertyIsArray:!0}),K)if(ee.value===d){const z=A[ee.value];"usages"in z||(z.usages=[]),z.usages.push({node:C,property:T,value:w})}else ee.value in B?B[ee.value]=!1:B[ee.value]={node:C,property:T,value:w}}for(const q in N){const j=N[q];if(!(d in j))continue;const A=j[d];if(A.usages){for(let Y of A.usages){let T=Y.node,ee=Y.property,C=Y.value;const K=[],w=[];let z=Object.keys(T).length;for(;ee===l&&t.isObject(B[T["@id"]])&&t.isArray(T[s])&&T[s].length===1&&t.isArray(T[l])&&T[l].length===1&&(z===3||z===4&&t.isArray(T["@type"])&&T["@type"].length===1&&T["@type"][0]===a)&&(K.push(T[s][0]),w.push(T["@id"]),Y=B[T["@id"]],T=Y.node,ee=Y.property,C=Y.value,z=Object.keys(T).length,!!e.isBlankNode(T)););delete C["@id"],C["@list"]=K.reverse();for(const Q of w)delete j[Q]}delete A.usages}}const I=[],M=Object.keys(D).sort();for(const q of M){const j=D[q];if(q in N){const A=j["@graph"]=[],Y=N[q],T=Object.keys(Y).sort();for(const ee of T){const C=Y[ee];e.isSubjectReference(C)||A.push(C)}}e.isSubjectReference(j)||I.push(j)}return I};function k(E,y,u,h){if(E.termType.endsWith("Node"))return{"@id":E.value};const R={"@value":E.value};if(E.language)E.language.match(n)||h.eventHandler&&i({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:E.language}},options:h}),R["@language"]=E.language;else{let D=E.datatype.value;if(D||(D=x),D===m){D="@json";try{R["@value"]=JSON.parse(R["@value"])}catch(N){throw new r("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:R["@value"],cause:N})}}if(y){if(D===v)R["@value"]==="true"?R["@value"]=!0:R["@value"]==="false"&&(R["@value"]=!1);else if(t.isNumeric(R["@value"]))if(D===g){const N=parseInt(R["@value"],10);N.toFixed(0)===R["@value"]&&(R["@value"]=N)}else D===b&&(R["@value"]=parseFloat(R["@value"]));[v,g,b,x].includes(D)||(R["@type"]=D)}else if(u==="i18n-datatype"&&D.startsWith("https://www.w3.org/ns/i18n#")){const[,N,B]=D.split(/[#_]/);N.length>0&&(R["@language"]=N,N.match(n)||h.eventHandler&&i({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:N}},options:h})),R["@direction"]=B}else D!==x&&(R["@type"]=D)}return R}return oi}var ii,bl;function Bp(){return bl||(bl=1,ii=function r(e){return e===null||typeof e!="object"||e.toJSON!=null?JSON.stringify(e):Array.isArray(e)?"["+e.reduce((t,n,o)=>{const i=o===0?"":",",a=n===void 0||typeof n=="symbol"?null:n;return t+i+r(a)},"")+"]":"{"+Object.keys(e).sort().reduce((t,n,o)=>{if(e[n]===void 0||typeof e[n]=="symbol")return t;const i=t.length===0?"":",";return t+i+r(n)+":"+r(e[n])},"")+"}"}),ii}var ai,ml;function qp(){if(ml)return ai;ml=1;const{createNodeMap:r}=Pn(),{isKeyword:e}=zt(),t=xt(),n=Bp(),o=et(),i=Xe(),a=Ye(),{handleEvent:s}=Zr(),{RDF_FIRST:l,RDF_REST:d,RDF_NIL:f,RDF_TYPE:m,RDF_JSON_LITERAL:v,RDF_LANGSTRING:b,XSD_BOOLEAN:g,XSD_DOUBLE:x,XSD_INTEGER:_,XSD_STRING:k}=pa(),{isAbsolute:E}=jt(),y={};ai=y,y.toRDF=(D,N)=>{const B=new a.IdentifierIssuer("_:b"),I={"@default":{}};r(D,I,"@default",B);const M=[],q=Object.keys(I).sort();for(const j of q){let A;if(j==="@default")A={termType:"DefaultGraph",value:""};else if(E(j))j.startsWith("_:")?A={termType:"BlankNode"}:A={termType:"NamedNode"},A.value=j;else{N.eventHandler&&s({event:{type:["JsonLdEvent"],code:"relative graph reference",level:"warning",message:"Relative graph reference found.",details:{graph:j}},options:N});continue}u(M,I[j],A,B,N)}return M};function u(D,N,B,I,M){const q=Object.keys(N).sort();for(const j of q){const A=N[j],Y=Object.keys(A).sort();for(let T of Y){const ee=A[T];if(T==="@type")T=m;else if(e(T))continue;for(const C of ee){const K={termType:j.startsWith("_:")?"BlankNode":"NamedNode",value:j};if(!E(j)){M.eventHandler&&s({event:{type:["JsonLdEvent"],code:"relative subject reference",level:"warning",message:"Relative subject reference found.",details:{subject:j}},options:M});continue}const w={termType:T.startsWith("_:")?"BlankNode":"NamedNode",value:T};if(!E(T)){M.eventHandler&&s({event:{type:["JsonLdEvent"],code:"relative predicate reference",level:"warning",message:"Relative predicate reference found.",details:{predicate:T}},options:M});continue}if(w.termType==="BlankNode"&&!M.produceGeneralizedRdf){M.eventHandler&&s({event:{type:["JsonLdEvent"],code:"blank node predicate",level:"warning",message:"Dropping blank node predicate.",details:{property:I.getOldIds().find(Q=>I.getId(Q)===T)}},options:M});continue}const z=R(C,I,D,B,M.rdfDirection,M);z&&D.push({subject:K,predicate:w,object:z,graph:B})}}}}function h(D,N,B,I,M,q){const j={termType:"NamedNode",value:l},A={termType:"NamedNode",value:d},Y={termType:"NamedNode",value:f},T=D.pop(),ee=T?{termType:"BlankNode",value:N.getId()}:Y;let C=ee;for(const K of D){const w=R(K,N,B,I,M,q),z={termType:"BlankNode",value:N.getId()};B.push({subject:C,predicate:j,object:w,graph:I}),B.push({subject:C,predicate:A,object:z,graph:I}),C=z}if(T){const K=R(T,N,B,I,M,q);B.push({subject:C,predicate:j,object:K,graph:I}),B.push({subject:C,predicate:A,object:Y,graph:I})}return ee}function R(D,N,B,I,M,q){const j={};if(t.isValue(D)){j.termType="Literal",j.value=void 0,j.datatype={termType:"NamedNode"};let A=D["@value"];const Y=D["@type"]||null;if(Y==="@json")j.value=n(A),j.datatype.value=v;else if(i.isBoolean(A))j.value=A.toString(),j.datatype.value=Y||g;else if(i.isDouble(A)||Y===x)i.isDouble(A)||(A=parseFloat(A)),j.value=A.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),j.datatype.value=Y||x;else if(i.isNumber(A))j.value=A.toFixed(0),j.datatype.value=Y||_;else if("@direction"in D&&M==="i18n-datatype"){const T=(D["@language"]||"").toLowerCase(),ee=D["@direction"],C=`https://www.w3.org/ns/i18n#${T}_${ee}`;j.datatype.value=C,j.value=A}else{if("@direction"in D&&M==="compound-literal")throw new o("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:M});if("@direction"in D&&M)throw new o("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:M});"@language"in D?("@direction"in D&&!M&&q.eventHandler&&s({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:j.value}},options:q}),j.value=A,j.datatype.value=Y||b,j.language=D["@language"]):("@direction"in D&&!M&&q.eventHandler&&s({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:j.value}},options:q}),j.value=A,j.datatype.value=Y||k)}}else if(t.isList(D)){const A=h(D["@list"],N,B,I,M,q);j.termType=A.termType,j.value=A.value}else{const A=i.isObject(D)?D["@id"]:D;j.termType=A.startsWith("_:")?"BlankNode":"NamedNode",j.value=A}return j.termType==="NamedNode"&&!E(j.value)?(q.eventHandler&&s({event:{type:["JsonLdEvent"],code:"relative object reference",level:"warning",message:"Relative object reference found.",details:{object:j.value}},options:q}),null):j}return ai}var si,gl;function Fp(){if(gl)return si;gl=1;const{isKeyword:r}=zt(),e=xt(),t=Xe(),n=Ye(),o=jt(),i=et(),{createNodeMap:a,mergeNodeMapGraphs:s}=Pn(),l={};si=l,l.frameMergedOrDefault=(u,h,R)=>{const D={options:R,embedded:!1,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}},N=new n.IdentifierIssuer("_:b");a(u,D.graphMap,"@default",N),R.merged&&(D.graphMap["@merged"]=s(D.graphMap),D.graph="@merged"),D.subjects=D.graphMap[D.graph];const B=[];l.frame(D,Object.keys(D.subjects).sort(),h,B),R.pruneBlankNodeIdentifiers&&(R.bnodesToClear=Object.keys(D.bnodeMap).filter(I=>D.bnodeMap[I].length===1));// remove @preserve from results
|
|
301
|
+
return R.link={},_(B,R)},l.frame=(u,h,R,D,N=null)=>{v(R),R=R[0];const B=u.options,I={embed:m(R,B,"embed"),explicit:m(R,B,"explicit"),requireAll:m(R,B,"requireAll")};u.link.hasOwnProperty(u.graph)||(u.link[u.graph]={});const M=u.link[u.graph],q=b(u,h,R,I),j=Object.keys(q).sort();for(const A of j){const Y=q[A];if(N===null?u.uniqueEmbeds={[u.graph]:{}}:u.uniqueEmbeds[u.graph]=u.uniqueEmbeds[u.graph]||{},I.embed==="@link"&&A in M){k(D,N,M[A]);continue}const T={"@id":A};if(A.indexOf("_:")===0&&n.addValue(u.bnodeMap,A,T,{propertyIsArray:!0}),M[A]=T,(I.embed==="@first"||I.embed==="@last")&&u.is11)throw new i("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:R});if(!(!u.embedded&&u.uniqueEmbeds[u.graph].hasOwnProperty(A))){if(u.embedded&&(I.embed==="@never"||f(Y,u.graph,u.subjectStack))){k(D,N,T);continue}if(u.embedded&&(I.embed=="@first"||I.embed=="@once")&&u.uniqueEmbeds[u.graph].hasOwnProperty(A)){k(D,N,T);continue}if(I.embed==="@last"&&A in u.uniqueEmbeds[u.graph]&&x(u,A),u.uniqueEmbeds[u.graph][A]={parent:D,property:N},u.subjectStack.push({subject:Y,graph:u.graph}),A in u.graphMap){let ee=!1,C=null;"@graph"in R?(C=R["@graph"][0],ee=!(A==="@merged"||A==="@default"),t.isObject(C)||(C={})):(ee=u.graph!=="@merged",C={}),ee&&l.frame({...u,graph:A,embedded:!1},Object.keys(u.graphMap[A]).sort(),[C],T,"@graph")}"@included"in R&&l.frame({...u,embedded:!1},h,R["@included"],T,"@included");for(const ee of Object.keys(Y).sort()){if(r(ee)){if(T[ee]=n.clone(Y[ee]),ee==="@type")for(const C of Y["@type"])C.indexOf("_:")===0&&n.addValue(u.bnodeMap,C,T,{propertyIsArray:!0});continue}if(!(I.explicit&&!(ee in R)))for(const C of Y[ee]){const K=ee in R?R[ee]:d(I);if(e.isList(C)){const w=R[ee]&&R[ee][0]&&R[ee][0]["@list"]?R[ee][0]["@list"]:d(I),z={"@list":[]};k(T,ee,z);const Q=C["@list"];for(const W of Q)e.isSubjectReference(W)?l.frame({...u,embedded:!0},[W["@id"]],w,z,"@list"):k(z,"@list",n.clone(W))}else e.isSubjectReference(C)?l.frame({...u,embedded:!0},[C["@id"]],K,T,ee):y(K[0],C)&&k(T,ee,n.clone(C))}}for(const ee of Object.keys(R).sort()){if(ee==="@type"){if(!t.isObject(R[ee][0])||!("@default"in R[ee][0]))continue}else if(r(ee))continue;const C=R[ee][0]||{};if(!m(C,B,"omitDefault")&&!(ee in T)){let w="@null";"@default"in C&&(w=n.clone(C["@default"])),t.isArray(w)||(w=[w]),T[ee]=[{"@preserve":w}]}}for(const ee of Object.keys(R["@reverse"]||{}).sort()){const C=R["@reverse"][ee];for(const K of Object.keys(u.subjects))n.getValues(u.subjects[K],ee).some(z=>z["@id"]===A)&&(T["@reverse"]=T["@reverse"]||{},n.addValue(T["@reverse"],ee,[],{propertyIsArray:!0}),l.frame({...u,embedded:!0},[K],C,T["@reverse"][ee],N))}k(D,N,T),u.subjectStack.pop()}}},l.cleanupNull=(u,h)=>{if(t.isArray(u))return u.map(D=>l.cleanupNull(D,h)).filter(D=>D);if(u==="@null")return null;if(t.isObject(u)){if("@id"in u){const R=u["@id"];if(h.link.hasOwnProperty(R)){const D=h.link[R].indexOf(u);if(D!==-1)return h.link[R][D];h.link[R].push(u)}else h.link[R]=[u]}for(const R in u)u[R]=l.cleanupNull(u[R],h)}return u};function d(u){const h={};for(const R in u)u[R]!==void 0&&(h["@"+R]=[u[R]]);return[h]}function f(u,h,R){for(let D=R.length-1;D>=0;--D){const N=R[D];if(N.graph===h&&N.subject["@id"]===u["@id"])return!0}return!1}function m(u,h,R){const D="@"+R;let N=D in u?u[D][0]:h[R];if(R==="embed"){if(N===!0)N="@once";else if(N===!1)N="@never";else if(N!=="@always"&&N!=="@never"&&N!=="@link"&&N!=="@first"&&N!=="@last"&&N!=="@once")throw new i("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:u})}return N}function v(u){if(!t.isArray(u)||u.length!==1||!t.isObject(u[0]))throw new i("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:u});if("@id"in u[0]){for(const h of n.asArray(u[0]["@id"]))if(!(t.isObject(h)||o.isAbsolute(h))||t.isString(h)&&h.indexOf("_:")===0)throw new i("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:u})}if("@type"in u[0]){for(const h of n.asArray(u[0]["@type"]))if(!(t.isObject(h)||o.isAbsolute(h)||h==="@json")||t.isString(h)&&h.indexOf("_:")===0)throw new i("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:u})}}function b(u,h,R,D){const N={};for(const B of h){const I=u.graphMap[u.graph][B];g(u,I,R,D)&&(N[B]=I)}return N}function g(u,h,R,D){let N=!0,B=!1;for(const I in R){let M=!1;const q=n.getValues(h,I),j=n.getValues(R,I).length===0;if(I==="@id"){if(t.isEmptyObject(R["@id"][0]||{})?M=!0:R["@id"].length>=0&&(M=R["@id"].includes(q[0])),!D.requireAll)return M}else if(I==="@type"){if(N=!1,j){if(q.length>0)return!1;M=!0}else if(R["@type"].length===1&&t.isEmptyObject(R["@type"][0]))M=q.length>0;else for(const A of R["@type"])t.isObject(A)&&"@default"in A?M=!0:M=M||q.some(Y=>Y===A);if(!D.requireAll)return M}else{if(r(I))continue;{const A=n.getValues(R,I)[0];let Y=!1;if(A&&(v([A]),Y="@default"in A),N=!1,q.length===0&&Y)continue;if(q.length>0&&j)return!1;if(A===void 0){if(q.length>0)return!1;M=!0}else if(e.isList(A)){const T=A["@list"][0];if(e.isList(q[0])){const ee=q[0]["@list"];e.isValue(T)?M=ee.some(C=>y(T,C)):(e.isSubject(T)||e.isSubjectReference(T))&&(M=ee.some(C=>E(u,T,C,D)))}}else e.isValue(A)?M=q.some(T=>y(A,T)):e.isSubjectReference(A)?M=q.some(T=>E(u,A,T,D)):t.isObject(A)?M=q.length>0:M=!1}}if(!M&&D.requireAll)return!1;B=B||M}return N||B}function x(u,h){const R=u.uniqueEmbeds[u.graph],D=R[h],N=D.parent,B=D.property,I={"@id":h};if(t.isArray(N)){for(let q=0;q<N.length;++q)if(n.compareValues(N[q],I)){N[q]=I;break}}else{const q=t.isArray(N[B]);n.removeValue(N,B,I,{propertyIsArray:q}),n.addValue(N,B,I,{propertyIsArray:q})}const M=q=>{const j=Object.keys(R);for(const A of j)A in R&&t.isObject(R[A].parent)&&R[A].parent["@id"]===q&&(delete R[A],M(A))};M(h)}/**
|
|
302
|
+
* Removes the @preserve keywords from expanded result of framing.
|
|
303
|
+
*
|
|
304
|
+
* @param input the framed, framed output.
|
|
305
|
+
* @param options the framing options used.
|
|
306
|
+
*
|
|
307
|
+
* @return the resulting output.
|
|
308
|
+
*/function _(u,h){if(t.isArray(u))return u.map(R=>_(R,h));if(t.isObject(u)){// remove @preserve
|
|
309
|
+
if("@preserve"in u)return u["@preserve"][0];if(e.isValue(u))return u;if(e.isList(u))return u["@list"]=_(u["@list"],h),u;if("@id"in u){const R=u["@id"];if(h.link.hasOwnProperty(R)){const D=h.link[R].indexOf(u);if(D!==-1)return h.link[R][D];h.link[R].push(u)}else h.link[R]=[u]}for(const R in u){if(R==="@id"&&h.bnodesToClear.includes(u[R])){delete u["@id"];continue}u[R]=_(u[R],h)}}return u}function k(u,h,R){t.isObject(u)?n.addValue(u,h,R,{propertyIsArray:!0}):u.push(R)}function E(u,h,R,D){if(!("@id"in R))return!1;const N=u.subjects[R["@id"]];return N&&g(u,N,h,D)}function y(u,h){const R=h["@value"],D=h["@type"],N=h["@language"],B=u["@value"]?t.isArray(u["@value"])?u["@value"]:[u["@value"]]:[],I=u["@type"]?t.isArray(u["@type"])?u["@type"]:[u["@type"]]:[],M=u["@language"]?t.isArray(u["@language"])?u["@language"]:[u["@language"]]:[];return B.length===0&&I.length===0&&M.length===0?!0:!(!(B.includes(R)||t.isEmptyObject(B[0]))||!(!D&&I.length===0||I.includes(D)||D&&t.isEmptyObject(I[0]))||!(!N&&M.length===0||M.includes(N)||N&&t.isEmptyObject(M[0])))}return si}var li,vl;function zp(){if(vl)return li;vl=1;const r=et(),{isArray:e,isObject:t,isString:n,isUndefined:o}=Xe(),{isList:i,isValue:a,isGraph:s,isSimpleGraph:l,isSubjectReference:d}=xt(),{expandIri:f,getContextValue:m,isKeyword:v,process:b,processingMode:g}=zt(),{removeBase:x,prependBase:_}=jt(),{REGEX_KEYWORD:k,addValue:E,asArray:y,compareShortestLeast:u}=Ye(),h={};li=h,h.compact=async({activeCtx:N,activeProperty:B=null,element:I,options:M={}})=>{if(e(I)){let j=[];for(let A=0;A<I.length;++A){const Y=await h.compact({activeCtx:N,activeProperty:B,element:I[A],options:M});Y!==null&&j.push(Y)}return M.compactArrays&&j.length===1&&(m(N,B,"@container")||[]).length===0&&(j=j[0]),j}const q=m(N,B,"@context");if(o(q)||(N=await b({activeCtx:N,localCtx:q,propagate:!0,overrideProtected:!0,options:M})),t(I)){if(M.link&&"@id"in I&&M.link.hasOwnProperty(I["@id"])){const w=M.link[I["@id"]];for(let z=0;z<w.length;++z)if(w[z].expanded===I)return w[z].compacted}if(a(I)||d(I)){const w=h.compactValue({activeCtx:N,activeProperty:B,value:I,options:M});return M.link&&d(I)&&(M.link.hasOwnProperty(I["@id"])||(M.link[I["@id"]]=[]),M.link[I["@id"]].push({expanded:I,compacted:w})),w}if(i(I)&&(m(N,B,"@container")||[]).includes("@list"))return h.compact({activeCtx:N,activeProperty:B,element:I["@list"],options:M});const j=B==="@reverse",A={},Y=N;!a(I)&&!d(I)&&(N=N.revertToPreviousContext());const T=m(Y,B,"@context");o(T)||(N=await b({activeCtx:N,localCtx:T,propagate:!0,overrideProtected:!0,options:M})),M.link&&"@id"in I&&(M.link.hasOwnProperty(I["@id"])||(M.link[I["@id"]]=[]),M.link[I["@id"]].push({expanded:I,compacted:A}));let ee=I["@type"]||[];ee.length>1&&(ee=Array.from(ee).sort());const C=N;for(const w of ee){const z=h.compactIri({activeCtx:C,iri:w,relativeTo:{vocab:!0}}),Q=m(Y,z,"@context");o(Q)||(N=await b({activeCtx:N,localCtx:Q,options:M,propagate:!1}))}const K=Object.keys(I).sort();for(const w of K){const z=I[w];if(w==="@id"){let Q=y(z).map(ae=>h.compactIri({activeCtx:N,iri:ae,relativeTo:{vocab:!1},base:M.base}));Q.length===1&&(Q=Q[0]);const W=h.compactIri({activeCtx:N,iri:"@id",relativeTo:{vocab:!0}});A[W]=Q;continue}if(w==="@type"){let Q=y(z).map(V=>h.compactIri({activeCtx:Y,iri:V,relativeTo:{vocab:!0}}));Q.length===1&&(Q=Q[0]);const W=h.compactIri({activeCtx:N,iri:"@type",relativeTo:{vocab:!0}}),H=(m(N,W,"@container")||[]).includes("@set")&&g(N,1.1)||e(Q)&&z.length===0;E(A,W,Q,{propertyIsArray:H});continue}if(w==="@reverse"){const Q=await h.compact({activeCtx:N,activeProperty:"@reverse",element:z,options:M});for(const W in Q)if(N.mappings.has(W)&&N.mappings.get(W).reverse){const ae=Q[W],H=(m(N,W,"@container")||[]).includes("@set")||!M.compactArrays;E(A,W,ae,{propertyIsArray:H}),delete Q[W]}if(Object.keys(Q).length>0){const W=h.compactIri({activeCtx:N,iri:w,relativeTo:{vocab:!0}});E(A,W,Q)}continue}if(w==="@preserve"){const Q=await h.compact({activeCtx:N,activeProperty:B,element:z,options:M});e(Q)&&Q.length===0||E(A,w,Q);continue}if(w==="@index"){if((m(N,B,"@container")||[]).includes("@index"))continue;const W=h.compactIri({activeCtx:N,iri:w,relativeTo:{vocab:!0}});E(A,W,z);continue}if(w!=="@graph"&&w!=="@list"&&w!=="@included"&&v(w)){const Q=h.compactIri({activeCtx:N,iri:w,relativeTo:{vocab:!0}});E(A,Q,z);continue}if(!e(z))throw new r("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError");if(z.length===0){const Q=h.compactIri({activeCtx:N,iri:w,value:z,relativeTo:{vocab:!0},reverse:j}),W=N.mappings.has(Q)?N.mappings.get(Q)["@nest"]:null;let ae=A;W&&(D(N,W,M),t(A[W])||(A[W]={}),ae=A[W]),E(ae,Q,z,{propertyIsArray:!0})}for(const Q of z){const W=h.compactIri({activeCtx:N,iri:w,value:Q,relativeTo:{vocab:!0},reverse:j}),ae=N.mappings.has(W)?N.mappings.get(W)["@nest"]:null;let U=A;ae&&(D(N,ae,M),t(A[ae])||(A[ae]={}),U=A[ae]);const H=m(N,W,"@container")||[],V=s(Q),F=i(Q);let Z;F?Z=Q["@list"]:V&&(Z=Q["@graph"]);let te=await h.compact({activeCtx:N,activeProperty:W,element:F||V?Z:Q,options:M});if(F)if(e(te)||(te=[te]),!H.includes("@list"))te={[h.compactIri({activeCtx:N,iri:"@list",relativeTo:{vocab:!0}})]:te},"@index"in Q&&(te[h.compactIri({activeCtx:N,iri:"@index",relativeTo:{vocab:!0}})]=Q["@index"]);else{E(U,W,te,{valueIsArray:!0,allowDuplicate:!0});continue}if(V)if(H.includes("@graph")&&(H.includes("@id")||H.includes("@index")&&l(Q))){let ce;U.hasOwnProperty(W)?ce=U[W]:U[W]=ce={};const pe=(H.includes("@id")?Q["@id"]:Q["@index"])||h.compactIri({activeCtx:N,iri:"@none",relativeTo:{vocab:!0}});E(ce,pe,te,{propertyIsArray:!M.compactArrays||H.includes("@set")})}else H.includes("@graph")&&l(Q)?(e(te)&&te.length>1&&(te={"@included":te}),E(U,W,te,{propertyIsArray:!M.compactArrays||H.includes("@set")})):(e(te)&&te.length===1&&M.compactArrays&&(te=te[0]),te={[h.compactIri({activeCtx:N,iri:"@graph",relativeTo:{vocab:!0}})]:te},"@id"in Q&&(te[h.compactIri({activeCtx:N,iri:"@id",relativeTo:{vocab:!0}})]=Q["@id"]),"@index"in Q&&(te[h.compactIri({activeCtx:N,iri:"@index",relativeTo:{vocab:!0}})]=Q["@index"]),E(U,W,te,{propertyIsArray:!M.compactArrays||H.includes("@set")}));else if(H.includes("@language")||H.includes("@index")||H.includes("@id")||H.includes("@type")){let ce;U.hasOwnProperty(W)?ce=U[W]:U[W]=ce={};let pe;if(H.includes("@language"))a(te)&&(te=te["@value"]),pe=Q["@language"];else if(H.includes("@index")){const L=m(N,W,"@index")||"@index",G=h.compactIri({activeCtx:N,iri:L,relativeTo:{vocab:!0}});if(L==="@index")pe=Q["@index"],delete te[G];else{let re;if([pe,...re]=y(te[L]||[]),!n(pe))pe=null;else switch(re.length){case 0:delete te[L];break;case 1:te[L]=re[0];break;default:te[L]=re;break}}}else if(H.includes("@id")){const L=h.compactIri({activeCtx:N,iri:"@id",relativeTo:{vocab:!0}});pe=te[L],delete te[L]}else if(H.includes("@type")){const L=h.compactIri({activeCtx:N,iri:"@type",relativeTo:{vocab:!0}});let G;switch([pe,...G]=y(te[L]||[]),G.length){case 0:delete te[L];break;case 1:te[L]=G[0];break;default:te[L]=G;break}Object.keys(te).length===1&&"@id"in Q&&(te=await h.compact({activeCtx:N,activeProperty:W,element:{"@id":Q["@id"]},options:M}))}pe||(pe=h.compactIri({activeCtx:N,iri:"@none",relativeTo:{vocab:!0}})),E(ce,pe,te,{propertyIsArray:H.includes("@set")})}else{const ce=!M.compactArrays||H.includes("@set")||H.includes("@list")||e(te)&&te.length===0||w==="@list"||w==="@graph";E(U,W,te,{propertyIsArray:ce})}}}return A}return I},h.compactIri=({activeCtx:N,iri:B,value:I=null,relativeTo:M={vocab:!1},reverse:q=!1,base:j=null})=>{if(B===null)return B;N.isPropertyTermScoped&&N.previousContext&&(N=N.previousContext);const A=N.getInverse();if(v(B)&&B in A&&"@none"in A[B]&&"@type"in A[B]["@none"]&&"@none"in A[B]["@none"]["@type"])return A[B]["@none"]["@type"]["@none"];if(M.vocab&&B in A){const K=N["@language"]||"@none",w=[];t(I)&&"@index"in I&&!("@graph"in I)&&w.push("@index","@index@set"),t(I)&&"@preserve"in I&&(I=I["@preserve"][0]),s(I)?("@index"in I&&w.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in I&&w.push("@graph@id","@graph@id@set"),w.push("@graph","@graph@set","@set"),"@index"in I||w.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in I||w.push("@graph@id","@graph@id@set")):t(I)&&!a(I)&&w.push("@id","@id@set","@type","@set@type");let z="@language",Q="@null";if(q)z="@type",Q="@reverse",w.push("@set");else if(i(I)){"@index"in I||w.push("@list");const ae=I["@list"];if(ae.length===0)z="@any",Q="@none";else{let U=ae.length===0?K:null,H=null;for(let V=0;V<ae.length;++V){const F=ae[V];let Z="@none",te="@none";if(a(F))if("@direction"in F){const ce=(F["@language"]||"").toLowerCase(),pe=F["@direction"];Z=`${ce}_${pe}`}else"@language"in F?Z=F["@language"].toLowerCase():"@type"in F?te=F["@type"]:Z="@null";else te="@id";if(U===null?U=Z:Z!==U&&a(F)&&(U="@none"),H===null?H=te:te!==H&&(H="@none"),U==="@none"&&H==="@none")break}U=U||"@none",H=H||"@none",H!=="@none"?(z="@type",Q=H):Q=U}}else{if(a(I))if("@language"in I&&!("@index"in I)){w.push("@language","@language@set"),Q=I["@language"];const ae=I["@direction"];ae&&(Q=`${Q}_${ae}`)}else"@direction"in I&&!("@index"in I)?Q=`_${I["@direction"]}`:"@type"in I&&(z="@type",Q=I["@type"]);else z="@type",Q="@id";w.push("@set")}w.push("@none"),t(I)&&!("@index"in I)&&w.push("@index","@index@set"),a(I)&&Object.keys(I).length===1&&w.push("@language","@language@set");const W=R(N,B,I,w,z,Q);if(W!==null)return W}if(M.vocab&&"@vocab"in N){const K=N["@vocab"];if(B.indexOf(K)===0&&B!==K){const w=B.substr(K.length);if(!N.mappings.has(w))return w}}let Y=null;const T=[];let ee=N.fastCurieMap;const C=B.length-1;for(let K=0;K<C&&B[K]in ee;++K)ee=ee[B[K]],""in ee&&T.push(ee[""][0]);for(let K=T.length-1;K>=0;--K){const w=T[K],z=w.terms;for(const Q of z){const W=Q+":"+B.substr(w.iri.length);N.mappings.get(Q)._prefix&&(!N.mappings.has(W)||I===null&&N.mappings.get(W)["@id"]===B)&&(Y===null||u(W,Y)<0)&&(Y=W)}}if(Y!==null)return Y;for(const[K,w]of N.mappings)if(w&&w._prefix&&B.startsWith(K+":"))throw new r(`Absolute IRI "${B}" confused with prefix "${K}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:N});if(!M.vocab)if("@base"in N)if(N["@base"]){const K=x(_(j,N["@base"]),B);return k.test(K)?`./${K}`:K}else return B;else return x(j,B);return B},h.compactValue=({activeCtx:N,activeProperty:B,value:I,options:M})=>{if(a(I)){const Y=m(N,B,"@type"),T=m(N,B,"@language"),ee=m(N,B,"@direction"),C=m(N,B,"@container")||[],K="@index"in I&&!C.includes("@index");if(!K&&Y!=="@none"&&(I["@type"]===Y||"@language"in I&&I["@language"]===T&&"@direction"in I&&I["@direction"]===ee||"@language"in I&&I["@language"]===T||"@direction"in I&&I["@direction"]===ee))return I["@value"];const w=Object.keys(I).length,z=w===1||w===2&&"@index"in I&&!K,Q="@language"in N,W=n(I["@value"]),ae=N.mappings.has(B)&&N.mappings.get(B)["@language"]===null;if(z&&Y!=="@none"&&(!Q||!W||ae))return I["@value"];const U={};return K&&(U[h.compactIri({activeCtx:N,iri:"@index",relativeTo:{vocab:!0}})]=I["@index"]),"@type"in I?U[h.compactIri({activeCtx:N,iri:"@type",relativeTo:{vocab:!0}})]=h.compactIri({activeCtx:N,iri:I["@type"],relativeTo:{vocab:!0}}):"@language"in I&&(U[h.compactIri({activeCtx:N,iri:"@language",relativeTo:{vocab:!0}})]=I["@language"]),"@direction"in I&&(U[h.compactIri({activeCtx:N,iri:"@direction",relativeTo:{vocab:!0}})]=I["@direction"]),U[h.compactIri({activeCtx:N,iri:"@value",relativeTo:{vocab:!0}})]=I["@value"],U}const q=f(N,B,{vocab:!0},M),j=m(N,B,"@type"),A=h.compactIri({activeCtx:N,iri:I["@id"],relativeTo:{vocab:j==="@vocab"},base:M.base});return j==="@id"||j==="@vocab"||q==="@graph"?A:{[h.compactIri({activeCtx:N,iri:"@id",relativeTo:{vocab:!0}})]:A}};function R(N,B,I,M,q,j){j===null&&(j="@null");const A=[];if((j==="@id"||j==="@reverse")&&t(I)&&"@id"in I){j==="@reverse"&&A.push("@reverse");const T=h.compactIri({activeCtx:N,iri:I["@id"],relativeTo:{vocab:!0}});N.mappings.has(T)&&N.mappings.get(T)&&N.mappings.get(T)["@id"]===I["@id"]?A.push.apply(A,["@vocab","@id"]):A.push.apply(A,["@id","@vocab"])}else{A.push(j);const T=A.find(ee=>ee.includes("_"));T&&A.push(T.replace(/^[^_]+_/,"_"))}A.push("@none");const Y=N.inverse[B];for(const T of M){if(!(T in Y))continue;const ee=Y[T][q];for(const C of A)if(C in ee)return ee[C]}return null}function D(N,B,I){if(f(N,B,{vocab:!0},I)!=="@nest")throw new r("JSON-LD compact error; nested property must have an @nest value resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}return li}var di,yl;function Up(){return yl||(yl=1,di=r=>{class e{toString(){return"[object JsonLdProcessor]"}}return Object.defineProperty(e,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(e.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:e}),e.compact=function(t,n){return arguments.length<2?Promise.reject(new TypeError("Could not compact, too few arguments.")):r.compact(t,n)},e.expand=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not expand, too few arguments.")):r.expand(t)},e.flatten=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not flatten, too few arguments.")):r.flatten(t)},e}),di}/**
|
|
310
|
+
* A JavaScript implementation of the JSON-LD API.
|
|
311
|
+
*
|
|
312
|
+
* @author Dave Longley
|
|
313
|
+
*
|
|
314
|
+
* @license BSD 3-Clause License
|
|
315
|
+
* Copyright (c) 2011-2022 Digital Bazaar, Inc.
|
|
316
|
+
* All rights reserved.
|
|
317
|
+
*
|
|
318
|
+
* Redistribution and use in source and binary forms, with or without
|
|
319
|
+
* modification, are permitted provided that the following conditions are met:
|
|
320
|
+
*
|
|
321
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
322
|
+
* this list of conditions and the following disclaimer.
|
|
323
|
+
*
|
|
324
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
325
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
326
|
+
* documentation and/or other materials provided with the distribution.
|
|
327
|
+
*
|
|
328
|
+
* Neither the name of the Digital Bazaar, Inc. nor the names of its
|
|
329
|
+
* contributors may be used to endorse or promote products derived from
|
|
330
|
+
* this software without specific prior written permission.
|
|
331
|
+
*
|
|
332
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
333
|
+
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
334
|
+
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
335
|
+
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
336
|
+
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
337
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
338
|
+
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
339
|
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
340
|
+
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
341
|
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
342
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
343
|
+
*/var ci,wl;function Hp(){if(wl)return ci;wl=1;const r=ua(),e=Tp(),t=Ye(),n=$p(),o=t.IdentifierIssuer,i=et(),a=oc(),s=Dp(),{expand:l}=Mp(),{flatten:d}=Cp(),{fromRDF:f}=Pp(),{toRDF:m}=qp(),{frameMergedOrDefault:v,cleanupNull:b}=Fp(),{isArray:g,isObject:x,isString:_}=Xe(),{isSubjectReference:k}=xt(),{expandIri:E,getInitialContext:y,process:u,processingMode:h}=zt(),{compact:R,compactIri:D}=zp(),{createNodeMap:N,createMergedNodeMap:B,mergeNodeMaps:I}=Pn(),{logEventHandler:M,logWarningEventHandler:q,safeEventHandler:j,setDefaultEventHandler:A,setupEventHandler:Y,strictEventHandler:T,unhandledEventHandler:ee}=Zr(),C=function(w){const z={},W=new a({max:100});w.compact=async function(U,H,V){if(arguments.length<2)throw new TypeError("Could not compact, too few arguments.");if(H===null)throw new i("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"});if(U===null)return null;V=ae(V,{base:_(U)?U:"",compactArrays:!0,compactToRelative:!0,graph:!1,skipExpansion:!1,link:!1,issuer:new o("_:b"),contextResolver:new n({sharedCache:W})}),V.link&&(V.skipExpansion=!0),V.compactToRelative||delete V.base;let F;V.skipExpansion?F=U:F=await w.expand(U,V);const Z=await w.processContext(y(V),H,V);let te=await R({activeCtx:Z,element:F,options:V});V.compactArrays&&!V.graph&&g(te)?te.length===1?te=te[0]:te.length===0&&(te={}):V.graph&&x(te)&&(te=[te]),x(H)&&"@context"in H&&(H=H["@context"]),H=t.clone(H),g(H)||(H=[H]);const ce=H;H=[];for(let L=0;L<ce.length;++L)(!x(ce[L])||Object.keys(ce[L]).length>0)&&H.push(ce[L]);const pe=H.length>0;if(H.length===1&&(H=H[0]),g(te)){const L=D({activeCtx:Z,iri:"@graph",relativeTo:{vocab:!0}}),G=te;te={},pe&&(te["@context"]=H),te[L]=G}else if(x(te)&&pe){const L=te;te={"@context":H};for(const G in L)te[G]=L[G]}return te},w.expand=async function(U,H){if(arguments.length<1)throw new TypeError("Could not expand, too few arguments.");H=ae(H,{keepFreeFloatingNodes:!1,contextResolver:new n({sharedCache:W})});const V={},F=[];if("expandContext"in H){const pe=t.clone(H.expandContext);x(pe)&&"@context"in pe?V.expandContext=pe:V.expandContext={"@context":pe},F.push(V.expandContext)}let Z;if(!_(U))V.input=t.clone(U);else{const pe=await w.get(U,H);Z=pe.documentUrl,V.input=pe.document,pe.contextUrl&&(V.remoteContext={"@context":pe.contextUrl},F.push(V.remoteContext))}"base"in H||(H.base=Z||"");let te=y(H);for(const pe of F)te=await u({activeCtx:te,localCtx:pe,options:H});let ce=await l({activeCtx:te,element:V.input,options:H});return x(ce)&&"@graph"in ce&&Object.keys(ce).length===1?ce=ce["@graph"]:ce===null&&(ce=[]),g(ce)||(ce=[ce]),ce},w.flatten=async function(U,H,V){if(arguments.length<1)return new TypeError("Could not flatten, too few arguments.");typeof H=="function"?H=null:H=H||null,V=ae(V,{base:_(U)?U:"",contextResolver:new n({sharedCache:W})});const F=await w.expand(U,V),Z=d(F);return H===null?Z:(V.graph=!0,V.skipExpansion=!0,await w.compact(Z,H,V))},w.frame=async function(U,H,V){if(arguments.length<2)throw new TypeError("Could not frame, too few arguments.");if(V=ae(V,{base:_(U)?U:"",embed:"@once",explicit:!1,requireAll:!1,omitDefault:!1,bnodesToClear:[],contextResolver:new n({sharedCache:W})}),_(H)){const de=await w.get(H,V);if(H=de.document,de.contextUrl){let ue=H["@context"];ue?g(ue)?ue.push(de.contextUrl):ue=[ue,de.contextUrl]:ue=de.contextUrl,H["@context"]=ue}}const F=H?H["@context"]||{}:{},Z=await w.processContext(y(V),F,V);V.hasOwnProperty("omitGraph")||(V.omitGraph=h(Z,1.1)),V.hasOwnProperty("pruneBlankNodeIdentifiers")||(V.pruneBlankNodeIdentifiers=h(Z,1.1));const te=await w.expand(U,V),ce={...V};ce.isFrame=!0,ce.keepFreeFloatingNodes=!0;const pe=await w.expand(H,ce),L=Object.keys(H).map(de=>E(Z,de,{vocab:!0}));ce.merged=!L.includes("@graph"),ce.is11=h(Z,1.1);const G=v(te,pe,ce);ce.graph=!V.omitGraph,ce.skipExpansion=!0,ce.link={},ce.framing=!0;let re=await w.compact(G,F,ce);return ce.link={},re=b(re,ce),re},w.link=async function(U,H,V){const F={};return H&&(F["@context"]=H),F["@embed"]="@link",w.frame(U,F,V)},w.normalize=w.canonize=async function(U,H){if(arguments.length<1)throw new TypeError("Could not canonize, too few arguments.");if(H=ae(H,{base:_(U)?U:null,algorithm:"URDNA2015",skipExpansion:!1,safe:!0,contextResolver:new n({sharedCache:W})}),"inputFormat"in H){if(H.inputFormat!=="application/n-quads"&&H.inputFormat!=="application/nquads")throw new i("Unknown canonicalization input format.","jsonld.CanonizeError");const Z=s.parse(U);return r.canonize(Z,H)}const V={...H};delete V.format,V.produceGeneralizedRdf=!1;const F=await w.toRDF(U,V);return r.canonize(F,H)},w.fromRDF=async function(U,H){if(arguments.length<1)throw new TypeError("Could not convert from RDF, too few arguments.");H=ae(H,{format:_(U)?"application/n-quads":void 0});const{format:V}=H;let{rdfParser:F}=H;if(V){if(F=F||z[V],!F)throw new i("Unknown input format.","jsonld.UnknownFormat",{format:V})}else F=()=>U;const Z=await F(U);return f(Z,H)},w.toRDF=async function(U,H){if(arguments.length<1)throw new TypeError("Could not convert to RDF, too few arguments.");H=ae(H,{base:_(U)?U:"",skipExpansion:!1,contextResolver:new n({sharedCache:W})});let V;H.skipExpansion?V=U:V=await w.expand(U,H);const F=m(V,H);if(H.format){if(H.format==="application/n-quads"||H.format==="application/nquads")return s.serialize(F);throw new i("Unknown output format.","jsonld.UnknownFormat",{format:H.format})}return F},w.createNodeMap=async function(U,H){if(arguments.length<1)throw new TypeError("Could not create node map, too few arguments.");H=ae(H,{base:_(U)?U:"",contextResolver:new n({sharedCache:W})});const V=await w.expand(U,H);return B(V,H)},w.merge=async function(U,H,V){if(arguments.length<1)throw new TypeError("Could not merge, too few arguments.");if(!g(U))throw new TypeError('Could not merge, "docs" must be an array.');typeof H=="function"?H=null:H=H||null,V=ae(V,{contextResolver:new n({sharedCache:W})});const F=await Promise.all(U.map(de=>{const ue={...V};return w.expand(de,ue)}));let Z=!0;"mergeNodes"in V&&(Z=V.mergeNodes);const te=V.issuer||new o("_:b"),ce={"@default":{}};for(let de=0;de<F.length;++de){const ue=t.relabelBlankNodes(F[de],{issuer:new o("_:b"+de+"-")}),he=Z||de===0?ce:{"@default":{}};if(N(ue,he,"@default",te),he!==ce)for(const X in he){const le=he[X];if(!(X in ce)){ce[X]=le;continue}const fe=ce[X];for(const ie in le)ie in fe||(fe[ie]=le[ie])}}const pe=I(ce),L=[],G=Object.keys(pe).sort();for(let de=0;de<G.length;++de){const ue=pe[G[de]];k(ue)||L.push(ue)}return H===null?L:(V.graph=!0,V.skipExpansion=!0,await w.compact(L,H,V))},Object.defineProperty(w,"documentLoader",{get:()=>w._documentLoader,set:U=>w._documentLoader=U}),w.documentLoader=async U=>{throw new i("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:U})},w.get=async function(U,H){let V;typeof H.documentLoader=="function"?V=H.documentLoader:V=w.documentLoader;const F=await V(U);try{if(!F.document)throw new i("No remote document found at the given URL.","jsonld.NullRemoteDocument");_(F.document)&&(F.document=JSON.parse(F.document))}catch(Z){throw new i("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:Z,remoteDoc:F})}return F},w.processContext=async function(U,H,V){return V=ae(V,{base:"",contextResolver:new n({sharedCache:W})}),H===null?y(V):(H=t.clone(H),x(H)&&"@context"in H||(H={"@context":H}),u({activeCtx:U,localCtx:H,options:V}))},w.getContextValue=zt().getContextValue,w.documentLoaders={},w.useDocumentLoader=function(U){if(!(U in w.documentLoaders))throw new i('Unknown document loader type: "'+U+'"',"jsonld.UnknownDocumentLoader",{type:U});w.documentLoader=w.documentLoaders[U].apply(w,Array.prototype.slice.call(arguments,1))},w.registerRDFParser=function(U,H){z[U]=H},w.unregisterRDFParser=function(U){delete z[U]},w.registerRDFParser("application/n-quads",s.parse),w.registerRDFParser("application/nquads",s.parse),w.url=jt(),w.logEventHandler=M,w.logWarningEventHandler=q,w.safeEventHandler=j,w.setDefaultEventHandler=A,w.strictEventHandler=T,w.unhandledEventHandler=ee,w.util=t,Object.assign(w,t),w.promises=w,w.RequestQueue=nc(),w.JsonLdProcessor=Up()(w),e.setupGlobals(w),e.setupDocumentLoaders(w);function ae(U,{documentLoader:H=w.documentLoader,...V}){if(U&&"compactionMap"in U)throw new i('"compactionMap" not supported.',"jsonld.OptionsError");if(U&&"expansionMap"in U)throw new i('"expansionMap" not supported.',"jsonld.OptionsError");return Object.assign({},{documentLoader:H},V,U,{eventHandler:Y({options:U})})}return w},K=function(){return C(function(){return K()})};return C(K),ci=K,ci}var Gp=Hp();const ui={},pi={};let zi;class Vp{constructor(e){this.loadedExternalUrls=[],this.loadedClasses=[],this.config=e}async loadGraphs(){this.loadedExternalUrls=[],this.loadedClasses=[];let e=zi;this.config.prefixes={};const t=[];if(e||(e=new ze,t.push(this.importRDF(this.config.attributes.shapes?this.config.attributes.shapes:this.config.attributes.shapesUrl?this.fetchRDF(this.config.attributes.shapesUrl):"",e,xn))),t.push(this.importRDF(this.config.attributes.values?this.config.attributes.values:this.config.attributes.valuesUrl?this.fetchRDF(this.config.attributes.valuesUrl):"",e,st,new Li({blankNodePrefix:""}))),await Promise.all(t),!zi&&(e==null?void 0:e.size)==0&&this.config.attributes.valuesSubject){const n=[...e.getObjects(this.config.attributes.valuesSubject,Be,st),...e.getObjects(this.config.attributes.valuesSubject,$i,st)],o=[];for(const i of n){const a=this.toURL(i.value);a&&this.loadedExternalUrls.indexOf(a)<0&&(this.loadedExternalUrls.push(a),o.push(this.importRDF(this.fetchRDF(a),e,xn)))}try{await Promise.allSettled(o)}catch(i){console.warn(i)}}this.config.store=e}async importRDF(e,t,n,o){const i=o||new Li,a=async s=>{const l=[];await new Promise((d,f)=>{i.parse(s,(m,v,b)=>{if(m)return console.warn("failed parsing graph",n,m.message),f(m);if(v){if(t.add(new jn(v.subject,v.predicate,v.object,n)),this.config.attributes.ignoreOwlImports===null&&ea.equals(v.predicate)){const g=this.toURL(v.object.value);g&&this.loadedExternalUrls.indexOf(g)<0&&(this.loadedExternalUrls.push(g),l.push(this.importRDF(this.fetchRDF(g),t,ke.namedNode(g),o)))}if(this.config.classInstanceProvider&&ta.equals(v.predicate)){const g=v.object.value;if(this.loadedClasses.indexOf(g)<0){let x;g in pi?x=pi[g]:(x=this.config.classInstanceProvider(g),pi[g]=x),this.loadedClasses.push(g),l.push(this.importRDF(x,t,n,o))}}return}b&&this.config.registerPrefixes(b),d(null)})});try{await Promise.allSettled(l)}catch(d){console.warn(d)}};if(e instanceof Promise&&(e=await e),e){try{e=await Gp.toRDF(JSON.parse(e),{format:"application/n-quads"})}catch{}await a(e)}}async fetchRDF(e){if(e in ui)return ui[e];const t=fetch(e,{headers:{Accept:"text/turtle, application/trig, application/n-triples, application/n-quads, text/n3, application/ld+json"}}).then(n=>n.text());return ui[e]=t,t}toURL(e){if(Ci(e))return e;if(this.config.prefixes){const t=e.split(":");if(t.length===2){const n=this.config.prefixes[t[0]];if(n&&(e=e.replace(`${t[0]}:`,n),Ci(e)))return e}}return null}}function Wp(r){zi=r}class fi{constructor(){this.shapes=null,this.shapesUrl=null,this.shapeSubject=null,this.values=null,this.valuesUrl=null,this.valueSubject=null,this.valuesSubject=null,this.valuesNamespace="",this.valuesGraph=null,this.view=null,this.language=null,this.loading="Loading…",this.ignoreOwlImports=null,this.collapse=null,this.submitButton=null,this.generateNodeShapeReference=null,this.showNodeIds=null}}class xl{constructor(e,t){this.attributes=new fi,this.loader=new Vp(this),this.prefixes={},this.editMode=!0,this.lists={},this.groups=[],this.renderedNodes=new Set,this._store=new ze,this.theme=e,this.form=t,this.languages=[...new Set(navigator.languages.flatMap(n=>n.length>2?[n.toLocaleLowerCase(),n.substring(0,2)]:n)),""]}updateAttributes(e){const t=new fi;if(Object.keys(t).forEach(n=>{const o=e.dataset[n];o!==void 0&&(t[n]=o)}),this.editMode=t.view===null,this.attributes=t,this.attributes.valueSubject&&!this.attributes.valuesSubject&&(this.attributes.valuesSubject=this.attributes.valueSubject),t.language){const n=this.languages.indexOf(t.language);n>-1&&this.languages.splice(n,1),this.languages.unshift(t.language)}t.valuesGraph&&(this.valuesGraphId=ke.namedNode(t.valuesGraph))}static dataAttributes(){const e=new fi;return Object.keys(e).map(t=>(t=t.replace(/[A-Z]/g,n=>"-"+n.toLowerCase()),"data-"+t))}get store(){return this._store}set store(e){this._store=e,this.lists=e.extractLists(),this.groups=[],e.forSubjects(t=>{this.groups.push(t.id)},Be,`${ve}PropertyGroup`,null)}registerPrefixes(e){for(const t in e)t&&(this.prefixes[t]=e[t])}}function Jp(r){return"_:"+r.value}function Qp(r,e){return[...r].map(t=>e(t)).join(`
|
|
344
|
+
`)+`
|
|
345
|
+
`}function Xp(){return""}function ic(r){return"<"+r.value+">"}const Kp=/["\\\\\n\r]/,Yp=/["\\\\\n\r]/g,Zp={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r"};function ef(r){return Zp[r]}function tf(r){return Kp.test(r)?r.replace(Yp,ef):r}function rf(r){const e=tf(r.value);return r.datatype.value==="http://www.w3.org/2001/XMLSchema#string"?'"'+e+'"':r.datatype.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"?'"'+e+'"@'+r.language:'"'+e+'"^^'+ic(r.datatype)}function nf(r,e){const t=e(r.subject),n=e(r.predicate),o=e(r.object),i=e(r.graph);return`${t} ${n} ${o} ${i?i+" ":""}.`}function of(r){return"?"+r.value}function Je(r){if(!r)return null;if(r.termType==="BlankNode")return Jp(r);if(r.termType==="DefaultGraph")return Xp();if(r.termType==="Literal")return rf(r);if(r.termType==="NamedNode")return ic(r);if(r.termType==="Quad"||r.subject&&r.predicate&&r.object&&r.graph)return nf(r,Je);if(r.termType==="Variable")return of(r);if(r[Symbol.iterator])return Qp(r,Je);throw new Error(`unknown termType ${r.termType}`)}class cr{constructor(e){if(this.index=new Map,e)for(const[t,n]of e)this.set(t,n)}get size(){return this.index.size}clear(){this.index.clear()}delete(e){return this.index.delete(Je(e))}*entries(){for(const[,{term:e,value:t}]of this.index)yield[e,t]}forEach(e,t){for(const n of this.entries())e.call(t,n[1],n[0],this)}get(e){const t=this.index.get(Je(e));return t&&t.value}has(e){return this.index.has(Je(e))}*keys(){for(const[,{term:e}]of this.index)yield e}set(e,t){const n=Je(e);return this.index.set(n,{term:e,value:t}),this}*values(){for(const[,{value:e}]of this.index)yield e}[Symbol.iterator](){return this.entries()[Symbol.iterator]()}}class _l{constructor({dataset:e,end:t,quad:n,start:o}){this.dataset=e,this.end=t,this.quad=n,this.start=o}get term(){return this.quad[this.end]}get graph(){return this.quad.graph}get startTerm(){return this.quad[this.start]}}function kl(r){try{return Je(r)}catch{return null}}class Ze{constructor(e){if(this.index=new Map,e)for(const t of e)this.add(t)}get size(){return this.index.size}add(e){const t=Je(e);return this.index.has(t)||this.index.set(t,e),this}clear(){this.index.clear()}delete(e){return e?this.index.delete(kl(e)):!1}entries(){return this.values().entries()}forEach(e,t){return this.values().forEach(e,t)}has(e){return e?this.index.has(kl(e)):!1}values(){return new Set(this.index.values())}keys(){return this.values()}[Symbol.iterator](){return this.index.values()}}let ac=class{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}};ac.prototype.termType="BlankNode";let fa=class{equals(e){return!!e&&e.termType===this.termType}};fa.prototype.termType="DefaultGraph";fa.prototype.value="";function Sl(r,e){if(!e)return null;if(e.termType==="BlankNode")return r.blankNode(e.value);if(e.termType==="DefaultGraph")return r.defaultGraph();if(e.termType==="Literal")return r.literal(e.value,e.language||r.namedNode(e.datatype.value));if(e.termType==="NamedNode")return r.namedNode(e.value);if(e.termType==="Quad"){const t=r.fromTerm(e.subject),n=r.fromTerm(e.predicate),o=r.fromTerm(e.object),i=r.fromTerm(e.graph);return r.quad(t,n,o,i)}if(e.termType==="Variable")return r.variable(e.value);throw new Error(`unknown termType ${e.termType}`)}let yn=class{constructor(e,t,n,o=""){this.value=e,this.language=t,this.datatype=n,this.direction=o}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value&&e.language===this.language&&e.datatype.equals(this.datatype)&&(e.direction||"")===this.direction}};yn.prototype.termType="Literal";let en=class{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}};en.prototype.termType="NamedNode";let ha=class{constructor(e,t,n,o){this.subject=e,this.predicate=t,this.object=n,this.graph=o}equals(e){return!!e&&(e.termType==="Quad"||!e.termType)&&e.subject.equals(this.subject)&&e.predicate.equals(this.predicate)&&e.object.equals(this.object)&&e.graph.equals(this.graph)}};ha.prototype.termType="Quad";ha.prototype.value="";let sc=class{constructor(e){this.value=e}equals(e){return!!e&&e.termType===this.termType&&e.value===this.value}};sc.prototype.termType="Variable";const af=new en("http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString"),El=new en("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),sf=new en("http://www.w3.org/2001/XMLSchema#string");let lc=class{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new fa}}namedNode(e){return new en(e)}blankNode(e){return e=e||"b"+ ++this._data.blankNodeCounter,new ac(e)}literal(e,t){return typeof t=="string"?new yn(e,t,El):typeof(t==null?void 0:t.language)=="string"?new yn(e,t.language,t.direction?af:El,t.direction):new yn(e,"",t||sf)}variable(e){return new sc(e)}defaultGraph(){return this._data.defaultGraph}quad(e,t,n,o=this.defaultGraph()){return new ha(e,t,n,o)}fromTerm(e){return Sl(this,e)}fromQuad(e){return Sl(this,e)}};lc.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const ba=new lc,lf={apply:(r,e,t)=>r(t[0]),get:(r,e)=>r(e)};function tt(r,{factory:e=ba}={}){const t=(n="")=>e.namedNode(`${r}${n.raw||n}`);return typeof Proxy>"u"?t:new Proxy(t,lf)}tt("http://www.w3.org/2001/XMLSchema#");const it=tt("http://www.w3.org/1999/02/22-rdf-syntax-ns#");tt("http://www.w3.org/2000/01/rdf-schema#");class Re{static add({ptr:e,start:t,end:n,subjects:o=[null],predicates:i=[null],objects:a=[null],graphs:s,callback:l}={}){if(!e.factory)throw new Error("add operation requires a factory");let d=()=>{};l&&(d=f=>{l(new _l({dataset:e.dataset,start:t,end:n,quad:f}))});for(const f of o)for(const m of i)for(const v of a)for(const b of s){const g={subject:f,predicate:m,object:v,graph:b};g[t]=e.term;const x=e.factory.quad(g.subject,g.predicate,g.object,g.graph);e.dataset.add(x),d(x)}return e}static addList({ptr:e,predicates:t,items:n,graphs:o}){if(e.isAny())throw new Error("can't attach a list to an any ptr");for(const i of t)for(const a of o){const s=n.map(()=>e.factory.blankNode());e.dataset.add(e.factory.quad(e.term,i,s[0]||it.nil,a));for(let l=0;l<s.length;l++)e.dataset.add(e.factory.quad(s[l],it.first,n[l],a)),e.dataset.add(e.factory.quad(s[l],it.rest,s[l+1]||it.nil,a))}return e}static delete({ptr:e,start:t,subjects:n=[null],predicates:o=[null],objects:i=[null]}){for(const a of n)for(const s of o)for(const l of i){const d={subject:a,predicate:s,object:l};d[t]=e.term;const f=e.dataset.match(d.subject,d.predicate,d.object);for(const m of f)e.dataset.delete(m)}return e}static deleteList({ptr:e,predicates:t}){const n=[];for(const o of t)for(const i of e.dataset.match(e.term,o)){let a=i.object;for(n.push(i);!it.nil.equals(a);){a=n[n.length-1].object;const s=e.dataset.match(a);if(s.size===0)break;for(const l of s)n.push(l)}}for(const o of n)e.dataset.delete(o);return e}static execute({ptr:e,operation:t="traverse",quantifier:n,start:o,end:i,subjects:a,predicates:s,objects:l,graphs:d,items:f,callback:m}={}){if(t==="add")return Re.add({ptr:e,start:o,end:i,subjects:a,predicates:s,objects:l,graphs:d,callback:m});if(t==="addList")return Re.addList({ptr:e,predicates:s,items:f,graphs:d});if(t==="delete")return Re.delete({ptr:e,start:o,subjects:a,predicates:s,objects:l});if(t==="deleteList")return Re.deleteList({ptr:e,predicates:s});if(t==="isList")return Re.isList({ptr:e});if(t==="list")return Re.list({ptr:e});if(t==="traverse")return Re.traverse({ptr:e,quantifier:n,start:o,end:i,subjects:a,predicates:s,objects:l,graphs:d});throw new Error(`unknown operation ${t}`)}static isList({ptr:e}){return e.isAny()?!1:!!(it.nil.equals(e.term)||Re.traverse({ptr:e,predicates:[it.first]}).length===1)}static list({ptr:e}){if(e.isList())return{*[Symbol.iterator](){for(;e&&!e.term.equals(it.nil);){const t=e.out([it.first]);if(t.length!==1)throw new Error(`Invalid list: rdf:first count not equals one on ${e.value}`);const n=e.out([it.rest]);if(n.length!==1)throw new Error(`Invalid list: rdf:rest count not equals one on ${e.value}`);yield t[0],e=n[0]}}}}static traverse({ptr:e,quantifier:t="one",start:n="subject",end:o="object",subjects:i=[null],predicates:a=[null],objects:s=[null],graphs:l=[null],callback:d}){if(t==="one")return Re.traverseOne({ptr:e,start:n,end:o,subjects:i,predicates:a,objects:s,graphs:l,callback:d});if(t==="oneOrMore"){const f=Re.traverse({ptr:e,end:o,start:n,subjects:i,predicates:a,objects:s,graphs:l,callback:d});return Re.traverseMore({ptrs:f,end:o,start:n,subjects:i,predicates:a,objects:s,graphs:l,callback:d})}if(t==="zeroOrMore")return Re.traverseMore({ptrs:[e],end:o,start:n,subjects:i,predicates:a,objects:s,graphs:l,callback:d});if(t==="zeroOrOne")return[e,...Re.traverse({ptr:e,end:o,start:n,subjects:i,predicates:a,objects:s,graphs:l,callback:d})];throw new Error(`unknown quantifier ${t}`)}static traverseMore({ptrs:e,end:t,start:n,subjects:o,predicates:i,objects:a,graphs:s,callback:l}={}){let d=[...e],f,m;do{f=[];for(const v of e)f=[...f,...Re.traverseOne({ptr:v,end:t,start:n,subjects:o,predicates:i,objects:a,graphs:s,callback:l})];m&&(f=f.filter(v=>!m.has(v.term))),e=f,d=[...d,...f],m=new Ze(d.map(v=>v.term))}while(f.length>0);return d}static traverseOne({ptr:e,start:t,end:n,subjects:o,predicates:i,objects:a,graphs:s,callback:l=(d,f)=>f.extend(d)}={}){const d=[];for(const f of o)for(const m of i)for(const v of a)for(const b of s){const g={subject:f,predicate:m,object:v,graph:b};g[t]=e.term;for(const x of e.dataset.match(g.subject,g.predicate,g.object,g.graph))d.push(l(new _l({dataset:e.dataset,end:n,quad:x,start:t}),e))}return d}}function Il(r,e){return e?t=>e(r.extend(t)):()=>{}}class Rl{constructor({dataset:e,edges:t=[],factory:n,graph:o,term:i}){if(!e&&t.length===0)throw new Error("dataset or edges is required");if(t.length===0&&typeof i>"u")throw new Error("edges or term must be given");if(t.length>0&&i)throw new Error("edges or term must be given");this.dataset=e||t[t.length-1].dataset,this.edges=t,this.factory=n,this._graph=o,t.length===0&&(this._term=i)}get edge(){return this.edges[this.edges.length-1]}get graph(){return typeof this._graph=="object"?this._graph:this.edge&&this.edge.graph}get length(){return this._term!==void 0?1:this.edges.length+1}get startTerm(){return this._term||this.edges[0].startTerm}get term(){return this._term!==void 0?this._term:this.edge.term}get value(){const e=this.term;return e===null?void 0:e.value}addIn(e,t,n){return Re.add({ptr:this,start:"object",end:"subject",subjects:t,predicates:e,graphs:[this.graph||this.factory.defaultGraph()],callback:Il(this,n)})}addList(e,t){return Re.addList({ptr:this,predicates:e,graphs:[this.graph||this.factory.defaultGraph()],items:t})}addOut(e,t,n){return Re.add({ptr:this,start:"subject",end:"object",predicates:e,objects:t,graphs:[this.graph||this.factory.defaultGraph()],callback:Il(this,n)})}deleteIn(e,t){return Re.delete({ptr:this,start:"object",subjects:t,predicates:e})}deleteList(e){return Re.deleteList({ptr:this,predicates:e})}deleteOut(e,t){return Re.delete({ptr:this,start:"subject",predicates:e,objects:t})}execute({operation:e,quantifier:t,start:n,end:o,subjects:i,predicates:a,objects:s,graphs:l,items:d,callback:f}){return Re.execute({ptr:this,operation:e,quantifier:t,start:n,end:o,subjects:i,predicates:a,objects:s,graphs:l,items:d,callback:f})}extend(e){return new this.constructor({dataset:this.dataset,edges:[...this.edges,e],factory:this.factory,graph:this._graph})}hasIn(e,t){return Re.traverse({ptr:this,start:"object",end:"object",subjects:t,predicates:e,graphs:[this.graph]})}hasOut(e,t){return Re.traverse({ptr:this,start:"subject",end:"subject",predicates:e,objects:t,graphs:[this.graph]})}in(e,t){return Re.traverse({ptr:this,start:"object",end:"subject",subjects:t,predicates:e,graphs:[this.graph]})}isAny(){return!this.term}isList(){return Re.isList({ptr:this})}list(){return Re.list({ptr:this})}*nodes(){for(let e=0;e<this.length;e++)this._term!==void 0?yield{dataset:this.dataset,term:this._term}:this.edges.length>e?yield{dataset:this.edges[e].dataset,term:this.edges[e].startTerm}:this.edges.length===e&&(yield{dataset:this.edges[e-1].dataset,term:this.edges[e-1].term})}out(e,t){return Re.traverse({ptr:this,predicates:e,objects:t,graphs:[this.graph]})}*quads(){for(const{quad:e}of this.edges)yield e}trim(){return new this.constructor({dataset:this.dataset,factory:this.factory,graph:this.graph,term:this.term})}}function Nl(r,e){return r?r.equals(e):r===e}function df(r,e){return!(r.dataset!==e.dataset||!Nl(r.graph,e.graph)||!Nl(r.term,e.term))}function jl(r,e){return e?t=>e(new r.constructor({factory:r.factory,ptrs:[t]})):()=>{}}class Rn{constructor({dataset:e,factory:t,ptrs:n,terms:o,graphs:i}){if(this.factory=t,n)this.ptrs=[...n];else{this.ptrs=[];for(const a of o||[null])for(const s of i||[null])this.ptrs.push(new Rl({dataset:e,factory:t,graph:s,term:a}))}}get dataset(){const e=new Set(this.datasets);return e.size!==1?null:e[Symbol.iterator]().next().value}get datasets(){return this.ptrs.map(e=>e.dataset)}get term(){const e=new Ze(this.terms);if(e.size===1)return e[Symbol.iterator]().next().value}get terms(){return this.ptrs.map(e=>e.term)}get value(){const e=this.term;return e==null?void 0:e.value}get values(){return this.ptrs.map(e=>e.value)}addIn(e,t,n){const o=jl(this,n);for(const i of this.ptrs)i.addIn(e,t,o);return this}addList(e,t){if(this.isAny())throw new Error("can't attach a list to an any ptr");for(const n of this.ptrs)n.addList(e,t);return this}addOut(e,t,n){const o=jl(this,n);for(const i of this.ptrs)i.addOut(e,t,o);return this}clone(e){return new this.constructor({factory:this.factory,ptrs:this.ptrs,...e})}deleteIn(e,t){for(const n of this.ptrs)n.deleteIn(e,t);return this}deleteList(e){for(const t of this.ptrs)t.deleteList(e);return this}deleteOut(e,t){for(const n of this.ptrs)n.deleteOut(e,t);return this}distinct(){const e=this.ptrs.reduce((t,n)=>(t.some(o=>df(o,n))||t.push(n.trim()),t),[]);return this.clone({ptrs:e})}execute(e){return this.clone({ptrs:this.ptrs.flatMap(t=>t.execute(e))})}executeAll(e){let t=this;for(const n of e)t=t.execute(n);return t}filter(e){return this.clone({ptrs:[...this].filter(e).map(t=>t.ptrs[0])})}hasIn(e,t){return this.clone({ptrs:this.ptrs.flatMap(n=>n.hasIn(e,t))})}hasOut(e,t){return this.clone({ptrs:this.ptrs.flatMap(n=>n.hasOut(e,t))})}in(e,t){return this.clone({ptrs:this.ptrs.flatMap(n=>n.in(e,t))})}isAny(){return this.ptrs.length>0&&this.ptrs.some(e=>e.isAny())}isList(){return this.ptrs.length!==1?!1:this.ptrs[0].isList()}list(){if(!this.isList())return;const e=this.ptrs[0].list(),t=this;return function*(){for(const n of e)yield t.clone({ptrs:[n]})}()}map(e){return[...this].map(e)}node(e){const t=this.dataset,n=[...e].map(o=>new Rl({dataset:t,factory:this.factory,term:o}));return this.clone({ptrs:n})}out(e,t){return this.clone({ptrs:this.ptrs.flatMap(n=>n.out(e,t))})}*quads(){for(const{edges:e}of this.ptrs)for(const{quad:t}of e)yield t}trim(){return this.clone({ptrs:this.ptrs.map(e=>e.trim())})}*[Symbol.iterator](){for(const e of this.ptrs)yield this.clone({ptrs:[e]})}}tt("http://www.w3.org/2002/07/owl#");const Ut=tt("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),cf=tt("http://www.w3.org/2000/01/rdf-schema#"),ne=tt("http://www.w3.org/ns/shacl#"),Ui=tt("https://schemas.link/shacl-next#"),ma=tt("http://www.w3.org/2001/XMLSchema#");function uf(r){return r?`{${[...r.quads()].map(e=>Je(e)).join(" ")}}`:"{}"}function pf(r){return r?`{${r.map(e=>uf(e)).join(" ")}}`:"{}"}var hi,Tl;function ff(){if(Tl)return hi;Tl=1;var r=/\s/;function e(t){for(var n=t.length;n--&&r.test(t.charAt(n)););return n}return hi=e,hi}var bi,Al;function hf(){if(Al)return bi;Al=1;var r=ff(),e=/^\s+/;function t(n){return n&&n.slice(0,r(n)+1).replace(e,"")}return bi=t,bi}var mi,Ll;function bf(){if(Ll)return mi;Ll=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return mi=r,mi}var gi,Ol;function mf(){if(Ol)return gi;Ol=1;var r=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt;return gi=r,gi}var vi,$l;function gf(){if($l)return vi;$l=1;var r=mf(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return vi=t,vi}var yi,Dl;function dc(){if(Dl)return yi;Dl=1;var r=gf(),e=r.Symbol;return yi=e,yi}var wi,Ml;function vf(){if(Ml)return wi;Ml=1;var r=dc(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,o=r?r.toStringTag:void 0;function i(a){var s=t.call(a,o),l=a[o];try{a[o]=void 0;var d=!0}catch{}var f=n.call(a);return d&&(s?a[o]=l:delete a[o]),f}return wi=i,wi}var xi,Cl;function yf(){if(Cl)return xi;Cl=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return xi=t,xi}var _i,Pl;function wf(){if(Pl)return _i;Pl=1;var r=dc(),e=vf(),t=yf(),n="[object Null]",o="[object Undefined]",i=r?r.toStringTag:void 0;function a(s){return s==null?s===void 0?o:n:i&&i in Object(s)?e(s):t(s)}return _i=a,_i}var ki,Bl;function xf(){if(Bl)return ki;Bl=1;function r(e){return e!=null&&typeof e=="object"}return ki=r,ki}var Si,ql;function _f(){if(ql)return Si;ql=1;var r=wf(),e=xf(),t="[object Symbol]";function n(o){return typeof o=="symbol"||e(o)&&r(o)==t}return Si=n,Si}var Ei,Fl;function kf(){if(Fl)return Ei;Fl=1;var r=hf(),e=bf(),t=_f(),n=NaN,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt;function l(d){if(typeof d=="number")return d;if(t(d))return n;if(e(d)){var f=typeof d.valueOf=="function"?d.valueOf():d;d=e(f)?f+"":f}if(typeof d!="string")return d===0?d:+d;d=r(d);var m=i.test(d);return m||a.test(d)?s(d.slice(2),m?2:8):o.test(d)?n:+d}return Ei=l,Ei}var Ii,zl;function Sf(){if(zl)return Ii;zl=1;var r=kf(),e=1/0,t=17976931348623157e292;function n(o){if(!o)return o===0?o:0;if(o=r(o),o===e||o===-e){var i=o<0?-1:1;return i*t}return o===o?o:0}return Ii=n,Ii}var Ri,Ul;function Ef(){if(Ul)return Ri;Ul=1;var r=Sf();function e(t){var n=r(t),o=n%1;return n===n?o?n-o:n:0}return Ri=e,Ri}var Ni,Hl;function If(){if(Hl)return Ni;Hl=1;var r=Ef(),e="Expected a function";function t(n,o){var i;if(typeof o!="function")throw new TypeError(e);return n=r(n),function(){return--n>0&&(i=o.apply(this,arguments)),n<=1&&(o=void 0),i}}return Ni=t,Ni}var ji,Gl;function Rf(){if(Gl)return ji;Gl=1;var r=If();function e(t){return r(2,t)}return ji=e,ji}var Nf=Rf();const nt=Ec(Nf);let Vl=class{constructor({details:e,factory:t,options:n,results:o=[]}={}){this.details=e,this.factory=t,this.options=n,this.results=o,this._conforms=nt(()=>!this.results.some(i=>i.severity.equals(ne.Info)||i.severity.equals(ne.Violation)||i.severity.equals(ne.Warning))),this._ptr=nt(()=>this.build())}get conforms(){return this._conforms()}get dataset(){return this.ptr.dataset}get ptr(){return this._ptr()}get term(){return this.ptr.term}build(){const e=new Rn({dataset:this.factory.dataset(),factory:this.factory,terms:[this.factory.blankNode()]});e.addOut([Ut.type],[ne.ValidationReport]).addOut([ne.conforms],[this.factory.literal(this.conforms.toString(),ma.boolean)]);for(const t of this.results)e.addOut([ne.result],[this.factory.blankNode()],n=>{t.build(n,this.options)});return e}coverage(){return this.results.flatMap(e=>e.coverage())}};function jf(r,e){return Object.entries(e).reduce((t,[n,o])=>(o&&o.termType&&(o=Je(o)),t.replace(`{$${n}}`,o).replace(`{?${n}}`,o)),r)}let Tf=class{constructor({args:e={},constraintComponent:t,factory:n,focusNode:o,message:i=[],path:a,results:s=[],severity:l,shape:d,source:f=[],value:m,valuePaths:v=[]}={}){this.args=e,this.constraintComponent=t,this.factory=n,this.focusNode=o,this.path=a||d.path,this.results=s,this.severity=l,this.shape=d,this.source=f,this.value=m,this.valuePaths=v,this._message=nt(()=>(this.shape.message.length>0&&(i=this.shape.message),i.length===0&&(i=this.shape.ptr.node([this.constraintComponent]).out([ne.message]).terms),i.map(b=>n.literal(jf(b.value,e),b.language||null))))}get message(){return this._message()}build(e,{details:t}={}){e.addOut([Ut.type],[ne.ValidationResult]).addOut([ne.focusNode],this.focusNode.terms).addOut([ne.resultSeverity],[this.severity]).addOut([ne.sourceConstraint],this.source).addOut([ne.sourceConstraintComponent],[this.constraintComponent]).addOut([ne.sourceShape],this.shape.ptr.terms),this.message&&e.addOut([ne.resultMessage],this.message);const n=o=>{if(o.quantifier==="one")return o.predicates.length>1?e.node([this.factory.blankNode()]).addList([ne.alternativePath],o.predicates):o.start==="object"?e.node([this.factory.blankNode()]).addOut([ne.inversePath],[o.predicates[0]]):e.node([o.predicates[0]]);if(o.quantifier==="oneOrMore")return e.node([this.factory.blankNode()]).addOut([ne.oneOrMorePath],[o.predicates[0]]);if(o.quantifier==="zeroOrMore")return e.node([this.factory.blankNode()]).addOut([ne.zeroOrMorePath],[o.predicates[0]]);if(o.quantifier==="zeroOrOne")return e.node([this.factory.blankNode()]).addOut([ne.zeroOrOnePath],[o.predicates[0]])};if(this.path&&(this.path.length===1?e.addOut([ne.resultPath],n(this.path[0]).terms):e.addList([ne.resultPath],this.path.map(o=>n(o).term))),typeof this.value<"u"&&e.addOut([ne.value],this.value.terms),t)for(const o of this.results)e.addOut([ne.detail],[this.factory.blankNode()],i=>{o.build(i,{details:t})})}coverage(){return[...this.valuePaths.flatMap(e=>[...e.quads()]),...this.results.flatMap(e=>e.coverage())]}};class ga{constructor({factory:e,focusNode:t,options:n={debug:!1,details:!1},processed:o=new Set,report:i=new Vl({factory:e,options:n}),results:a=new Map,shape:s,value:l,valueOrNode:d,valuePaths:f,values:m}={}){this.factory=e,this.focusNode=t,this.options=n,this.processed=o,this.report=i,this.results=a,this.shape=s,this.value=l,this.valuePaths=f,this.valueOrNode=d,this.values=m}create({child:e,focusNode:t=this.focusNode,shape:n=this.shape,value:o=this.value,valueOrNode:i=this.valueOrNode,valuePaths:a=this.valuePaths,values:s=this.values}={}){return new ga({factory:this.factory,focusNode:t,options:this.options,processed:this.processed,report:e?new Vl({factory:this.factory,options:this.options}):this.report,results:this.results,shape:n,value:o,valueOrNode:i,valuePaths:a,values:s})}id({shape:e=this.shape}={}){return`${Je(e.ptr.term)} - ${Je(this.focusNode.term)} - ${pf(this.valuePaths)}`}result(e){const t=new Tf({factory:this.factory,focusNode:this.focusNode,shape:this.shape,value:this.value,valuePaths:this.valuePaths,...e}),n=this.id();this.results.has(n)?this.results.get(n).add(t):this.results.set(n,new Set([t])),this.report.results.push(t)}debug(e,t){this.options.debug&&this.result({severity:Ui.Debug,constraintComponent:e,...t})}trace(e,t){this.options.trace&&this.result({severity:Ui.Trace,constraintComponent:e,...t})}test(e,t,n){e?this.debug(t,n):this.violation(t,n)}violation(e,t){this.result({constraintComponent:e,severity:this.shape.severity||ne.Violation,...t})}}function Af(){return{generic:Lf()}}function Lf(){return r=>{r.trace(Ui.TraversalConstraintComponent,{args:{},message:[r.factory.literal("Traversal")],value:r.valueOrNode})}}class Of{constructor(e){this.validations=new cr(e)}compile(e){const t=e.validator.options.coverage;if(e.deactivated)return[];let n=!1;const o=new Set;for(const i of e.ptr.execute({start:"subject",end:"predicate"})){const a=this.validations.get(i.term);a&&(o.add(a),i.term.equals(ne.property)&&(n=!0))}return t&&e.isPropertyShape&&!n&&o.add(Af),[...o].map(i=>i(e)).filter(Boolean)}}var Ot={},$t={},_r={},Wl;function cc(){if(Wl)return _r;Wl=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.BlankNode=void 0;let r=class{constructor(t){this.termType="BlankNode",this.value=t}equals(t){return!!t&&t.termType==="BlankNode"&&t.value===this.value}};return _r.BlankNode=r,_r}var kr={},Sr={},Jl;function uc(){if(Jl)return Sr;Jl=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.DefaultGraph=void 0;let r=class{constructor(){this.termType="DefaultGraph",this.value=""}equals(t){return!!t&&t.termType==="DefaultGraph"}};return Sr.DefaultGraph=r,r.INSTANCE=new r,Sr}var Er={},Ir={},Ql;function va(){if(Ql)return Ir;Ql=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.NamedNode=void 0;let r=class{constructor(t){this.termType="NamedNode",this.value=t}equals(t){return!!t&&t.termType==="NamedNode"&&t.value===this.value}};return Ir.NamedNode=r,Ir}var Xl;function pc(){if(Xl)return Er;Xl=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.Literal=void 0;const r=va();let e=class Pr{constructor(n,o){this.termType="Literal",this.value=n,typeof o=="string"?(this.language=o,this.datatype=Pr.RDF_LANGUAGE_STRING,this.direction=""):o?"termType"in o?(this.language="",this.datatype=o,this.direction=""):(this.language=o.language,this.datatype=o.direction?Pr.RDF_DIRECTIONAL_LANGUAGE_STRING:Pr.RDF_LANGUAGE_STRING,this.direction=o.direction||""):(this.language="",this.datatype=Pr.XSD_STRING,this.direction="")}equals(n){return!!n&&n.termType==="Literal"&&n.value===this.value&&n.language===this.language&&(n.direction===this.direction||!n.direction&&this.direction==="")&&this.datatype.equals(n.datatype)}};return Er.Literal=e,e.RDF_LANGUAGE_STRING=new r.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),e.RDF_DIRECTIONAL_LANGUAGE_STRING=new r.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString"),e.XSD_STRING=new r.NamedNode("http://www.w3.org/2001/XMLSchema#string"),Er}var Rr={},Kl;function fc(){if(Kl)return Rr;Kl=1,Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.Quad=void 0;let r=class{constructor(t,n,o,i){this.termType="Quad",this.value="",this.subject=t,this.predicate=n,this.object=o,this.graph=i}equals(t){return!!t&&(t.termType==="Quad"||!t.termType)&&this.subject.equals(t.subject)&&this.predicate.equals(t.predicate)&&this.object.equals(t.object)&&this.graph.equals(t.graph)}};return Rr.Quad=r,Rr}var Nr={},Yl;function hc(){if(Yl)return Nr;Yl=1,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.Variable=void 0;let r=class{constructor(t){this.termType="Variable",this.value=t}equals(t){return!!t&&t.termType==="Variable"&&t.value===this.value}};return Nr.Variable=r,Nr}var Zl;function $f(){if(Zl)return kr;Zl=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.DataFactory=void 0;const r=cc(),e=uc(),t=pc(),n=va(),o=fc(),i=hc();let a=0,s=class{constructor(d){this.blankNodeCounter=0,d=d||{},this.blankNodePrefix=d.blankNodePrefix||`df_${a++}_`}namedNode(d){return new n.NamedNode(d)}blankNode(d){return new r.BlankNode(d||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(d,f){return new t.Literal(d,f)}variable(d){return new i.Variable(d)}defaultGraph(){return e.DefaultGraph.INSTANCE}quad(d,f,m,v){return new o.Quad(d,f,m,v||this.defaultGraph())}fromTerm(d){switch(d.termType){case"NamedNode":return this.namedNode(d.value);case"BlankNode":return this.blankNode(d.value);case"Literal":return d.language?this.literal(d.value,d.language):d.datatype.equals(t.Literal.XSD_STRING)?this.literal(d.value):this.literal(d.value,this.fromTerm(d.datatype));case"Variable":return this.variable(d.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(d.subject),this.fromTerm(d.predicate),this.fromTerm(d.object),this.fromTerm(d.graph))}}fromQuad(d){return this.fromTerm(d)}resetBlankNodeCounter(){this.blankNodeCounter=0}};return kr.DataFactory=s,kr}var ed;function Df(){return ed||(ed=1,function(r){var e=$t&&$t.__createBinding||(Object.create?function(n,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(n,a,s)}:function(n,o,i,a){a===void 0&&(a=i),n[a]=o[i]}),t=$t&&$t.__exportStar||function(n,o){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&e(o,n,i)};Object.defineProperty(r,"__esModule",{value:!0}),t(cc(),r),t($f(),r),t(uc(),r),t(pc(),r),t(va(),r),t(fc(),r),t(hc(),r)}($t)),$t}var Dt={},jr={},Tr={},td;function ar(){if(td)return Tr;td=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.Translator=void 0;let r=class{constructor(){this.supportedRdfDatatypes=[],this.fromRdfHandlers={},this.toRdfHandlers={}}static incorrectRdfDataType(t){throw new Error(`Invalid RDF ${t.datatype.value} value: '${t.value}'`)}registerHandler(t,n,o){for(const i of n)this.supportedRdfDatatypes.push(i),this.fromRdfHandlers[i.value]=t;for(const i of o){let a=this.toRdfHandlers[i];a||(this.toRdfHandlers[i]=a=[]),a.push(t)}}fromRdf(t,n){const o=this.fromRdfHandlers[t.datatype.value];return o?o.fromRdf(t,n):t.value}toRdf(t,n){const o=this.toRdfHandlers[typeof t];if(o)for(const i of o){const a=i.toRdf(t,n);if(a)return a}throw new Error(`Invalid JavaScript value: '${t}'`)}getSupportedRdfDatatypes(){return this.supportedRdfDatatypes}getSupportedJavaScriptPrimitives(){return Object.keys(this.toRdfHandlers)}};return Tr.Translator=r,Tr}var rd;function Mf(){if(rd)return jr;rd=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.TypeHandlerBoolean=void 0;const r=ar();let e=class bc{fromRdf(n,o){switch(n.value){case"true":return!0;case"false":return!1;case"1":return!0;case"0":return!1}return o&&r.Translator.incorrectRdfDataType(n),!1}toRdf(n,{datatype:o,dataFactory:i}){return i.literal(n?"true":"false",o||i.namedNode(bc.TYPE))}};return jr.TypeHandlerBoolean=e,e.TYPE="http://www.w3.org/2001/XMLSchema#boolean",jr}var Ar={},nd;function Cf(){if(nd)return Ar;nd=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.TypeHandlerDate=void 0;const r=ar();let e=class Hi{fromRdf(n,o){switch(o&&!n.value.match(Hi.VALIDATORS[n.datatype.value.substr(33,n.datatype.value.length)])&&r.Translator.incorrectRdfDataType(n),n.datatype.value){case"http://www.w3.org/2001/XMLSchema#gDay":return new Date(0,0,parseInt(n.value,10));case"http://www.w3.org/2001/XMLSchema#gMonthDay":const i=n.value.split("-");return new Date(0,parseInt(i[0],10)-1,parseInt(i[1],10));case"http://www.w3.org/2001/XMLSchema#gYear":return new Date(n.value+"-01-01");case"http://www.w3.org/2001/XMLSchema#gYearMonth":return new Date(n.value+"-01");default:return new Date(n.value)}}toRdf(n,{datatype:o,dataFactory:i}){if(o=o||i.namedNode(Hi.TYPES[0]),!(n instanceof Date))return null;const a=n;let s;switch(o.value){case"http://www.w3.org/2001/XMLSchema#gDay":s=String(a.getUTCDate());break;case"http://www.w3.org/2001/XMLSchema#gMonthDay":s=a.getUTCMonth()+1+"-"+a.getUTCDate();break;case"http://www.w3.org/2001/XMLSchema#gYear":s=String(a.getUTCFullYear());break;case"http://www.w3.org/2001/XMLSchema#gYearMonth":s=a.getUTCFullYear()+"-"+(a.getUTCMonth()+1);break;case"http://www.w3.org/2001/XMLSchema#date":s=a.toISOString().replace(/T.*$/,"");break;default:s=a.toISOString()}return i.literal(s,o)}};return Ar.TypeHandlerDate=e,e.TYPES=["http://www.w3.org/2001/XMLSchema#dateTime","http://www.w3.org/2001/XMLSchema#date","http://www.w3.org/2001/XMLSchema#gDay","http://www.w3.org/2001/XMLSchema#gMonthDay","http://www.w3.org/2001/XMLSchema#gYear","http://www.w3.org/2001/XMLSchema#gYearMonth"],e.VALIDATORS={date:/^[0-9]+-[0-9][0-9]-[0-9][0-9]Z?$/,dateTime:/^[0-9]+-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9](\.[0-9][0-9][0-9])?((Z?)|([\+-][0-9][0-9]:[0-9][0-9]))$/,gDay:/^[0-9]+$/,gMonthDay:/^[0-9]+-[0-9][0-9]$/,gYear:/^[0-9]+$/,gYearMonth:/^[0-9]+-[0-9][0-9]$/},Ar}var Lr={},od;function Pf(){if(od)return Lr;od=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.TypeHandlerNumberDouble=void 0;const r=ar();let e=class mc{fromRdf(n,o){const i=parseFloat(n.value);return o&&isNaN(i)&&r.Translator.incorrectRdfDataType(n),i}toRdf(n,{datatype:o,dataFactory:i}){return o=o||i.namedNode(mc.TYPES[0]),isNaN(n)?i.literal("NaN",o):isFinite(n)?n%1===0?null:i.literal(n.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),o):i.literal(n>0?"INF":"-INF",o)}};return Lr.TypeHandlerNumberDouble=e,e.TYPES=["http://www.w3.org/2001/XMLSchema#double","http://www.w3.org/2001/XMLSchema#decimal","http://www.w3.org/2001/XMLSchema#float"],Lr}var Or={},id;function Bf(){if(id)return Or;id=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.TypeHandlerNumberInteger=void 0;const r=ar();let e=class Br{fromRdf(n,o){const i=parseInt(n.value,10);return o&&(isNaN(i)||n.value.indexOf(".")>=0)&&r.Translator.incorrectRdfDataType(n),i}toRdf(n,{datatype:o,dataFactory:i}){return i.literal(String(n),o||(n<=Br.MAX_INT&&n>=Br.MIN_INT?i.namedNode(Br.TYPES[0]):i.namedNode(Br.TYPES[1])))}};return Or.TypeHandlerNumberInteger=e,e.TYPES=["http://www.w3.org/2001/XMLSchema#integer","http://www.w3.org/2001/XMLSchema#long","http://www.w3.org/2001/XMLSchema#int","http://www.w3.org/2001/XMLSchema#byte","http://www.w3.org/2001/XMLSchema#short","http://www.w3.org/2001/XMLSchema#negativeInteger","http://www.w3.org/2001/XMLSchema#nonNegativeInteger","http://www.w3.org/2001/XMLSchema#nonPositiveInteger","http://www.w3.org/2001/XMLSchema#positiveInteger","http://www.w3.org/2001/XMLSchema#unsignedByte","http://www.w3.org/2001/XMLSchema#unsignedInt","http://www.w3.org/2001/XMLSchema#unsignedLong","http://www.w3.org/2001/XMLSchema#unsignedShort"],e.MAX_INT=2147483647,e.MIN_INT=-2147483648,Or}var $r={},ad;function qf(){if(ad)return $r;ad=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.TypeHandlerString=void 0;let r=class{fromRdf(t){return t.value}toRdf(t,{datatype:n,dataFactory:o}){return o.literal(t,n)}};return $r.TypeHandlerString=r,r.TYPES=["http://www.w3.org/2001/XMLSchema#string","http://www.w3.org/2001/XMLSchema#normalizedString","http://www.w3.org/2001/XMLSchema#anyURI","http://www.w3.org/2001/XMLSchema#base64Binary","http://www.w3.org/2001/XMLSchema#language","http://www.w3.org/2001/XMLSchema#Name","http://www.w3.org/2001/XMLSchema#NCName","http://www.w3.org/2001/XMLSchema#NMTOKEN","http://www.w3.org/2001/XMLSchema#token","http://www.w3.org/2001/XMLSchema#hexBinary","http://www.w3.org/1999/02/22-rdf-syntax-ns#langString","http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString","http://www.w3.org/2001/XMLSchema#time","http://www.w3.org/2001/XMLSchema#duration"],$r}var sd;function ld(){return sd||(sd=1,function(r){var e=Dt&&Dt.__createBinding||(Object.create?function(n,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(n,a,s)}:function(n,o,i,a){a===void 0&&(a=i),n[a]=o[i]}),t=Dt&&Dt.__exportStar||function(n,o){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&e(o,n,i)};Object.defineProperty(r,"__esModule",{value:!0}),t(Mf(),r),t(Cf(),r),t(Pf(),r),t(Bf(),r),t(qf(),r)}(Dt)),Dt}var Ti={},dd;function Ff(){return dd||(dd=1,Object.defineProperty(Ti,"__esModule",{value:!0})),Ti}var cd;function zf(){return cd||(cd=1,function(r){var e=Ot&&Ot.__createBinding||(Object.create?function(b,g,x,_){_===void 0&&(_=x);var k=Object.getOwnPropertyDescriptor(g,x);(!k||("get"in k?!g.__esModule:k.writable||k.configurable))&&(k={enumerable:!0,get:function(){return g[x]}}),Object.defineProperty(b,_,k)}:function(b,g,x,_){_===void 0&&(_=x),b[_]=g[x]}),t=Ot&&Ot.__exportStar||function(b,g){for(var x in b)x!=="default"&&!Object.prototype.hasOwnProperty.call(g,x)&&e(g,b,x)};Object.defineProperty(r,"__esModule",{value:!0}),r.fromRdf=l,r.toRdf=d,r.getTermRaw=f,r.getSupportedRdfDatatypes=m,r.getSupportedJavaScriptPrimitives=v;const n=Df(),o=ld(),i=ar();t(ld(),r),t(Ff(),r),t(ar(),r);const a=new n.DataFactory,s=new i.Translator;s.registerHandler(new o.TypeHandlerString,o.TypeHandlerString.TYPES.map(b=>a.namedNode(b)),["string"]),s.registerHandler(new o.TypeHandlerBoolean,[o.TypeHandlerBoolean.TYPE].map(b=>a.namedNode(b)),["boolean"]),s.registerHandler(new o.TypeHandlerNumberDouble,o.TypeHandlerNumberDouble.TYPES.map(b=>a.namedNode(b)),["number"]),s.registerHandler(new o.TypeHandlerNumberInteger,o.TypeHandlerNumberInteger.TYPES.map(b=>a.namedNode(b)),["number"]),s.registerHandler(new o.TypeHandlerDate,o.TypeHandlerDate.TYPES.map(b=>a.namedNode(b)),["object"]);function l(b,g){return s.fromRdf(b,g)}function d(b,g){return g&&"namedNode"in g&&(g={dataFactory:g}),g=g||{},g&&!g.dataFactory&&(g.dataFactory=a),s.toRdf(b,g)}function f(b,g){return b.termType==="Literal"?l(b,g):b.value}function m(){return s.getSupportedRdfDatatypes()}function v(){return s.getSupportedJavaScriptPrimitives()}}(Ot)),Ot}var Kr=zf();function ud(r){if(r.term.termType!=="BlankNode")return{quantifier:"one",start:"subject",end:"object",predicates:[r.term]};const e=r.out([ne.alternativePath]);if(e.ptrs.length===1&&e.ptrs[0].isList())return{quantifier:"one",start:"subject",end:"object",predicates:[...e.list()].map(a=>a.term)};const t=r.out([ne.inversePath]);if(t.term)return{quantifier:"one",start:"object",end:"subject",predicates:[t.term]};const n=r.out([ne.oneOrMorePath]);if(n.term)return{quantifier:"oneOrMore",start:"subject",end:"object",predicates:[n.term]};const o=r.out([ne.zeroOrMorePath]);if(o.term)return{quantifier:"zeroOrMore",start:"subject",end:"object",predicates:[o.term]};const i=r.out([ne.zeroOrOnePath]);if(i.term)return{quantifier:"zeroOrOne",start:"subject",end:"object",predicates:[i.term]}}function Uf(r){return r.terms.length===0?null:r.ptrs[0].isList()?[...r.list()].map(e=>ud(e)):[ud(r)]}class Hf{constructor(e){this.shape=e,this._compiled=nt(()=>this.shape.validator.registry.compile(e))}get compiled(){return this._compiled()}async validate(e){return e.focusNode.dataset.size===0||(this.shape.isPropertyShape?await this.validateProperty(e):await this.validateNode(e)),e}async validateNode(e){const t=e.create({shape:this.shape,valueOrNode:e.value||e.focusNode});for(const n of this.compiled)n.node&&await n.node(t),n.generic&&await n.generic(t)}async validateProperty(e){let t;this.shape.isSparqlShape?t=e.focusNode:t=e.focusNode.executeAll(this.shape.path);const n=t.node(new Ze(t.terms)),o=[...t].reduce((a,s)=>{const l=s.term,d=t.node([l]);return a.has(l)||a.set(l,{value:d,valuePaths:[]}),a.get(l).valuePaths.push(s),a},new cr).values(),i=e.create({shape:this.shape,values:n});for(const a of this.compiled)a.property&&await a.property(i);for(const{value:a,valuePaths:s}of o){const l=e.create({shape:this.shape,value:a,valueOrNode:a,valuePaths:s});for(const d of this.compiled)d.generic&&await d.generic(l)}}}function Gi(r){const e=new Ze,n=new Rn({dataset:r.dataset,terms:r.terms}).execute({quantifier:"zeroOrMore",start:"object",end:"subject",predicates:[cf.subClassOf]});for(const o of n.ptrs)for(const{term:i}of o.nodes())e.add(i);return e}class Gf{constructor(e){this.targetClass=new Ze([...Gi(e.hasOut([Ut.type],[ne.NodeShape])),...Gi(e.out([ne.targetClass]))]),this.targetNode=e.out([ne.targetNode]).terms,this.targetObjectsOf=e.out([ne.targetObjectsOf]).terms,this.targetSubjectsOf=e.out([ne.targetSubjectsOf]).terms}resolve(e){const t=e.focusNode.node([null]),n=[...e.focusNode.hasOut([Ut.type],this.targetClass).ptrs,...e.focusNode.node(this.targetNode).ptrs,...t.execute({start:"object",end:"object",predicates:this.targetObjectsOf}).ptrs,...t.execute({start:"subject",end:"subject",predicates:this.targetSubjectsOf}).ptrs],o=e.focusNode.clone({ptrs:n});return o.node([...new Ze(o.terms)])}}class Vf{constructor(e,{validator:t}){this.ptr=e,this.validator=t,this._deactivated=nt(()=>{const n=this.ptr.out([ne.deactivated]).term;return n&&Kr.fromRdf(n)}),this._message=nt(()=>this.ptr.out([ne.message]).terms),this._path=nt(()=>Uf(this.ptr.out([ne.path]))),this._severity=nt(()=>this.ptr.out([ne.severity]).term),this._shapeValidator=nt(()=>new Hf(this)),this._sparql=nt(()=>this.ptr.out([ne.sparql])),this._targetResolver=nt(()=>new Gf(this.ptr))}get deactivated(){return this._deactivated()}get isPropertyShape(){return!!this.path}get isSparqlShape(){return this.sparql.terms.length>0}get path(){return this._path()}get targetResolver(){return this._targetResolver()}get message(){return this._message()}get severity(){return this._severity()}get shapeValidator(){return this._shapeValidator()}get sparql(){return this._sparql()}resolveTargets(e){return this.targetResolver.resolve(e)}async validate(e){const t=e.id({shape:this});if(e.processed.has(t)){if(e.results.has(t))for(const n of e.results.get(t))e.report.results.push(n);return e}return e.processed.add(t),this.shapeValidator.validate(e)}}function Wf(r){const e=parseInt(r.ptr.out([ne.maxCount]).value);return{property:Jf(e)}}function Jf(r){return e=>{e.test(e.values.terms.length<=r,ne.MaxCountConstraintComponent,{args:{maxCount:r},message:[e.factory.literal("More than {$maxCount} values")]})}}function Qf(r){const e=parseInt(r.ptr.out([ne.minCount]).value);return{property:Xf(e)}}function Xf(r){return e=>{e.test(e.values.terms.length>=r,ne.MinCountConstraintComponent,{args:{minCount:r},message:[e.factory.literal("Less than {$minCount} values")]})}}async function Kf(r,e){for(const t of r)if(!await e(t))return!1;return!0}async function Yf(r,e){return(await Promise.all(r.map(t=>e(t)))).filter(Boolean)}async function Bn(r,e){return Promise.all(r.map(e))}async function Zf(r,e){for(const t of r)if(await e(t))return!0;return!1}function eh(r){const e=[...r.ptr.out([ne.and])].flatMap(t=>[...t.list()]).map(t=>r.validator.shape(t));return{generic:th(e)}}function th(r){return async e=>{const t=await Bn(r,async o=>(await o.validate(e.create({child:!0,focusNode:e.valueOrNode}))).report),n=t.every(o=>o.conforms);e.test(n,ne.AndConstraintComponent,{results:t.flatMap(o=>o.results),value:e.valueOrNode})}}function rh(r){const e=r.validator.shape(r.ptr.out([ne.not]));return{generic:nh(e)}}function nh(r){return async e=>{const t=(await r.validate(e.create({child:!0,focusNode:e.valueOrNode}))).report,n=!t.conforms;e.test(n,ne.NotConstraintComponent,{args:{not:r.ptr.term},message:[e.factory.literal("Value does have shape {$not}")],results:t.results,value:e.valueOrNode})}}function oh(r){const e=[...r.ptr.out([ne.or])].flatMap(t=>[...t.list()]).map(t=>r.validator.shape(t));return{generic:ih(e)}}function ih(r){return async e=>{let t=[],n;if(e.options.debug||e.options.details){const o=await Bn(r,async i=>(await i.validate(e.create({child:!0,focusNode:e.valueOrNode}))).report);t=o.flatMap(i=>i.results),n=o.some(i=>i.conforms)}else n=await Zf(r,async o=>(await o.validate(e.create({child:!0,focusNode:e.valueOrNode}))).report.conforms);e.test(n,ne.OrConstraintComponent,{results:t,value:e.valueOrNode})}}function ah(r){const e=[...r.ptr.out([ne.xone])].flatMap(t=>[...t.list()]).map(t=>r.validator.shape(t));return{generic:sh(e)}}function sh(r){return async e=>{const t=await Bn(r,async o=>(await o.validate(e.create({child:!0,focusNode:e.valueOrNode}))).report),n=t.filter(o=>o.conforms).length===1;e.test(n,ne.XoneConstraintComponent,{results:t.flatMap(o=>o.results),value:e.valueOrNode})}}function lh(r){if(!Kr.fromRdf(r.ptr.out([ne.closed]).term))return null;const t=r.ptr.out([ne.property]).map(i=>r.validator.shape(i)),n=new Ze(t.filter(i=>!i.deactivated).map(i=>i.path[0].predicates[0])),o=new Ze([...r.ptr.out([ne.ignoredProperties]).list()||[]].map(i=>i.term));return{node:dh(n,o)}}function dh(r,e){return t=>{const n=t.focusNode.execute({start:"subject",end:"predicate"}).filter(o=>e.has(o.term)?!1:!r.has(o.term));if(n.ptrs.length>0)for(const o of n)t.violation(ne.ClosedConstraintComponent,{message:[t.factory.literal("Predicate is not allowed (closed shape)")],path:[{quantifier:"one",start:"subject",end:"object",predicates:[o.term]}],value:t.focusNode.node([[...o.quads()][0].object])});else t.debug(ne.ClosedConstraintComponent)}}function ch(r){const e=r.ptr.out([ne.hasValue]).term;return{node:uh(e),property:ph(e)}}function uh(r){return e=>{e.test(r.equals(e.valueOrNode.term),ne.HasValueConstraintComponent,{args:{hasValue:r},message:[e.factory.literal("Value must be {$hasValue}")]})}}function ph(r){return e=>{const t=[...e.values].some(n=>r.equals(n.term));e.test(t,ne.HasValueConstraintComponent,{args:{hasValue:r},message:[e.factory.literal("Missing expected value {$hasValue}")]})}}function fh(r){const e=new Ze([...r.ptr.out([ne.in]).list()].map(t=>t.term));return{generic:hh(e)}}function hh(r){return e=>{e.test(r.has(e.valueOrNode.term),ne.InConstraintComponent,{args:{in:[...r].map(t=>t.value).join(", ")},message:[e.factory.literal("Value is not in {$in}")],value:e.valueOrNode})}}function ur(r,e){if(!r||r.termType!=="Literal"||!e||e.termType!=="Literal"||pd(r)!==pd(e))return null;const t=Kr.fromRdf(r),n=Kr.fromRdf(e);return typeof t!=typeof n?null:typeof t=="string"?t.localeCompare(n):t-n}function pd(r){const e=/^.*(((\+|-)\d{2}:\d{2})|Z)$/;return ma.dateTime.equals(r.datatype)&&e.test(r.value)}function bh(r){const e=r.ptr.out([ne.disjoint]).term;return{generic:mh(e)}}function mh(r){return e=>{const t=e.focusNode.dataset.match(e.focusNode.term,r,e.valueOrNode.term);e.test(t.size===0,ne.DisjointConstraintComponent,{args:{disjoint:r},message:[e.factory.literal("Value node must not also be one of the values of {$disjoint}")],value:e.valueOrNode})}}function gh(r){const e=r.ptr.out([ne.equals]).term;return{node:vh(e),property:yh(e)}}function vh(r){return e=>{const t=e.focusNode.out([r]),n=t.filter(i=>!i.term.equals(e.focusNode.term)),o=t.terms.length!==0&&n.terms.length===0;e.test(o,ne.EqualsConstraintComponent,{args:{equals:r},message:[e.factory.literal("Must have same values as {$equals}")],value:n.terms[0]&&e.focusNode.node([n.terms[0]])||e.focusNode})}}function yh(r){return e=>{const t=new Ze(e.focusNode.out([r]).terms),n=new Ze(e.values.terms),o=[...n].filter(s=>!t.has(s)),i=[...t].filter(s=>!n.has(s)),a=[...o,...i];for(const s of a)e.violation(ne.EqualsConstraintComponent,{args:{equals:r},message:[e.factory.literal("Must have same values as {$equals}")],value:e.focusNode.node([s])});a.length===0&&e.debug(ne.EqualsConstraintComponent,{args:{equals:r},message:[e.factory.literal("Must have same values as {$equals}")]})}}function wh(r){const e=r.ptr.out([ne.lessThan]).term;return{property:xh(e)}}function xh(r){return e=>{const t=e.focusNode.out([r]).terms;for(const n of e.values)for(const o of t){const i=ur(n.term,o);i===null||i>=0?e.violation(ne.LessThanConstraintComponent,{args:{lessThan:r},message:[e.factory.literal("Value is not less than value of {$lessThan}")],value:n}):e.debug(ne.LessThanConstraintComponent,{args:{lessThan:r},message:[e.factory.literal("Value is not less than value of {$lessThan}")],value:n})}}}function _h(r){const e=r.ptr.out([ne.lessThanOrEquals]).term;return{property:kh(e)}}function kh(r){return e=>{const t=e.focusNode.out([r]).terms;for(const n of e.values)for(const o of t){const i=ur(n.term,o);i===null||i>0?e.violation(ne.LessThanOrEqualsConstraintComponent,{args:{lessThanOrEquals:r},message:[e.factory.literal("Value is not less than or equal to value of {$lessThanOrEquals}")],value:n}):e.debug(ne.LessThanOrEqualsConstraintComponent,{args:{lessThanOrEquals:r},message:[e.factory.literal("Value is not less than or equal to value of {$lessThanOrEquals}")],value:n})}}}function Sh(r){const e=r.ptr.out([ne.maxExclusive]).term;return{generic:Eh(e)}}function Eh(r){return e=>{const t=ur(e.valueOrNode.term,r);e.test(t!==null&&t<0,ne.MaxExclusiveConstraintComponent,{args:{maxExclusive:r},message:[e.factory.literal("Value is not less than {$maxExclusive}")],value:e.valueOrNode})}}function Ih(r){const e=r.ptr.out([ne.maxInclusive]).term;return{generic:Rh(e)}}function Rh(r){return e=>{const t=ur(e.valueOrNode.term,r);e.test(t!==null&&t<=0,ne.MaxInclusiveConstraintComponent,{args:{maxInclusive:r},message:[e.factory.literal("Value is not less than or equal to {$maxInclusive}")],value:e.valueOrNode})}}function Nh(r){const e=r.ptr.out([ne.minExclusive]).term;return{generic:jh(e)}}function jh(r){return e=>{const t=ur(e.valueOrNode.term,r);e.test(t!==null&&t>0,ne.MinExclusiveConstraintComponent,{args:{minExclusive:r},message:[e.factory.literal("Value is not greater than {$minExclusive}")],value:e.valueOrNode})}}function Th(r){const e=r.ptr.out([ne.minInclusive]).term;return{generic:Ah(e)}}function Ah(r){return e=>{const t=ur(e.valueOrNode.term,r);e.test(t!==null&&t>=0,ne.MinInclusiveConstraintComponent,{args:{minInclusive:r},message:[e.factory.literal("Value is not greater than or equal to {$minInclusive}")],value:e.valueOrNode})}}function Lh(r){const e=[...r.ptr.out([ne.node])].map(t=>r.validator.shape(t));return{generic:Oh(e)}}function Oh(r){return async e=>{for(const t of r){const n=await t.validate(e.create({child:!0,focusNode:e.valueOrNode}));e.test(n.report.conforms,ne.NodeConstraintComponent,{args:{node:t.ptr.term},message:[e.factory.literal("Value does not have shape {$node}")],results:n.report.results,value:e.valueOrNode})}}}function $h(r){const e=[...r.ptr.out([ne.property])].map(t=>r.validator.shape(t));return{generic:Dh(e)}}function Dh(r){return async e=>{const t=e.create({focusNode:e.valueOrNode});for(const n of r)await n.validate(t)}}function Mh(r){const e=r.validator.shape(r.ptr.out([ne.qualifiedValueShape])),t=r.ptr.out([ne.qualifiedValueShapesDisjoint]).term,n=t?Kr.fromRdf(t):!1,o=r.ptr.out([ne.qualifiedMaxCount]).term,i=o?parseInt(o.value):null,a=r.ptr.out([ne.qualifiedMinCount]).term,s=a?parseInt(a.value):null;return{property:Ch(e,n,i,s)}}function Ch(r,e,t,n){return async o=>{const i=[];let a=[];e&&(a=new Set(o.shape.ptr.in([ne.property]).out([ne.property]).out([ne.qualifiedValueShape]).filter(l=>!l.term.equals(r.ptr.term)).map(l=>o.shape.validator.shape(l))));const s=(await Yf(o.values,async l=>{const d=(await r.validate(o.create({child:!0,focusNode:l}))).report;if(i.push(d.results),!d.conforms)return!1;if(a.length===0)return!0;if(o.options.debug||o.options.details){const f=await Bn([...a],async m=>(await m.validate(o.create({child:!0,focusNode:l}))).report);return i.push(f.flatMap(m=>m.results)),!f.every(m=>m.conforms)}else return!await Kf([...a],async f=>(await f.validate(o.create({child:!0,focusNode:l}))).report.conforms)})).length;t!==null&&o.test(s<=t,ne.QualifiedMaxCountConstraintComponent,{args:{qualifiedMaxCount:t,qualifiedValueShape:r.ptr.term,qualifiedValueShapesDisjoint:e},message:[o.factory.literal("More than {$qualifiedMaxCount} values have shape {$qualifiedValueShape}")],results:i.flat()}),n!==null&&o.test(s>=n,ne.QualifiedMinCountConstraintComponent,{args:{qualifiedMinCount:n,qualifiedValueShape:r.ptr.term,qualifiedValueShapesDisjoint:e},message:[o.factory.literal("Less than {$qualifiedMinCount} values have shape {$qualifiedValueShape}")],results:i.flat()})}}function Ph(r,e){return e?e.slice(0,r.length)===r:!1}function Bh(r){const e=[...new Set([...r.ptr.out([ne.languageIn]).list()].map(t=>t.value))];return{generic:qh(e)}}function qh(r){return e=>{const t=r.some(n=>Ph(n,e.valueOrNode.term.language));e.test(t,ne.LanguageInConstraintComponent,{args:{languageIn:r.join(", ")},message:[e.factory.literal("Language does not match any of {$languageIn}")],value:e.valueOrNode})}}function Fh(r){const e=parseInt(r.ptr.out([ne.maxLength]).value);return{generic:zh(e)}}function zh(r){return e=>{const t=e.valueOrNode.term.termType!=="BlankNode"&&e.valueOrNode.value.length<=r;e.test(t,ne.MaxLengthConstraintComponent,{args:{maxLength:r},message:[e.factory.literal("Value has more than {$maxLength} characters")],value:e.valueOrNode})}}function Uh(r){const e=parseInt(r.ptr.out([ne.minLength]).value);return{generic:Hh(e)}}function Hh(r){return e=>{const t=e.valueOrNode.term.termType!=="BlankNode"&&e.valueOrNode.value.length>=r;e.test(t,ne.MinLengthConstraintComponent,{args:{minLength:r},message:[e.factory.literal("Value has less than {$minLength} characters")],value:e.valueOrNode})}}function Gh(r){const e=r.ptr.out([ne.pattern]).value,t=r.ptr.out([ne.flags]).value,n=new RegExp(e,t);return{generic:Vh(e,t,n)}}function Vh(r,e,t){return n=>{n.test(t.test(n.valueOrNode.term.value),ne.PatternConstraintComponent,{args:{flags:e,pattern:r},message:[n.factory.literal('Value does not match pattern "{$pattern}"')],value:n.valueOrNode})}}function Wh(r){const e=r.ptr.out([ne.uniqueLang]).term;return e.value==="true"&&ma.boolean.equals(e.datatype)?{property:Jh()}:null}function Jh(){return r=>{const t=Object.entries(r.values.terms.reduce((n,o)=>(o.language&&(n[o.language]=(n[o.language]||0)+1),n),{})).filter(([,n])=>n>1);for(const[n]of t)r.violation(ne.UniqueLangConstraintComponent,{args:{lang:n},message:[r.factory.literal('Language "{?lang}" used more than once')]});t.length===0&&r.debug(ne.UniqueLangConstraintComponent)}}const wn=tt("http://www.w3.org/ns/shacl#"),gc=tt("https://schemas.link/shacl-next#");class sr{constructor({results:e=[]}={}){this.results=e}get conforms(){return!this.results.some(e=>e.severity.equals(wn.Info)||e.severity.equals(wn.Violation)||e.severity.equals(wn.Warning))}}function Qh(r,e){return Object.entries(e).reduce((t,[n,o])=>(o&&o.termType&&(o=Je(o)),t.replace(`{$${n}}`,o).replace(`{?${n}}`,o)),r)}class Nn{constructor({args:e={},factory:t,message:n=[],severity:o=wn.Violation}={}){this.severity=o,this.message=n.map(i=>t.literal(Qh(i.value,e),i.language||null))}}class ya{constructor({factory:e=ba}={}){this.factory=e}clone({factory:e}={}){return new ya({factory:e||this.factory})}validate(){return new sr}validateSimple(){return!0}}class pr extends ya{constructor({datatypes:e,factory:t}={}){super({factory:t}),this.datatypes=[];for(const n of Array.isArray(e)?e:[e])n&&this.datatypes.push(this.factory.fromTerm(n))}clone({factory:e}={}){return new pr({datatypes:this.datatypes,factory:e||this.factory})}}class Xh{constructor({factory:e=ba,validations:t}={}){if(this.factory=e,this.validations=new cr,t)for(const n of Object.values(t)){const o=n.clone({factory:this.factory});for(const i of o.datatypes)this.validations.set(i,o)}}validate(e){const t=this.validations.get(e.datatype);return t?t.validate(e):new sr}validateSimple(e){const t=this.validations.get(e.datatype);return t?t.validateSimple(e):!0}}class je extends pr{constructor(e,t,{factory:n}={}){super({datatypes:t,factory:n}),this.message=[this.factory.literal("term value {$this} matches pattern {$pattern}")],this.patterns=Array.isArray(e)?e:[e]}clone({factory:e}={}){return new je(this.patterns,this.datatypes,{factory:e||this.factory})}validate(e){const t=this.patterns.map(n=>{let o;n.test(e.value)&&(o=gc.Debug);const i={pattern:this.factory.literal(n.toString()),this:e};return new Nn({args:i,factory:this.factory,message:this.message,severity:o})});return new sr({results:t})}validateSimple(e){return this.patterns.every(t=>t.test(e.value))}}const Kh=/^([-+]?[0-9]+)$/;class Ve extends je{constructor(e=null,t=null,n,{factory:o}={}){super(Kh,n,{factory:o}),this.maxInclusive=null,this.minInclusive=null,typeof t=="string"&&(this.maxInclusive=BigInt(t)),typeof e=="string"&&(this.minInclusive=BigInt(e))}clone({factory:e}={}){var t,n;return new Ve((t=this.minInclusive)==null?void 0:t.toString(),(n=this.maxInclusive)==null?void 0:n.toString(),this.datatypes,{factory:e||this.factory})}validate(e){const t=super.validate(e).results;if(!gc.Debug.equals(t[0].severity))return new sr({results:t});const n=BigInt(e.value);if(this.minInclusive!==null&&n<this.minInclusive){const o=`term value "${e.value}" is less than "${this.minInclusive.toString()}"`,i=[this.factory.literal(o)];t.push(new Nn({factory:this.factory,message:i}))}if(this.maxInclusive!==null&&n>this.maxInclusive){const o=`term value "${e.value}" is greater than "${this.maxInclusive.toString()}"`,i=[this.factory.literal(o)];t.push(new Nn({factory:this.factory,message:i}))}return new sr({results:t})}validateSimple(e){if(!super.validateSimple(e))return!1;const t=BigInt(e.value);return!(this.minInclusive!==null&&t<this.minInclusive||this.maxInclusive!==null&&t>this.maxInclusive)}}class wa extends pr{constructor(e,t,{factory:n}={}){super({datatypes:t,factory:n}),this.values=new Set(e)}clone({factory:e}={}){return new wa(this.values,this.datatypes,{factory:e||this.factory})}validate(e){const t=[];if(!this.values.has(e.value)){const n=`term value "${e.value}" is not included in the list: ${[...this.values].join(",")}`,o=[this.factory.literal(n)];t.push(new Nn({factory:this.factory,message:o}))}return new sr({results:t})}validateSimple(e){return this.values.has(e.value)}}const _e={xsd:tt("http://www.w3.org/2001/XMLSchema#")},Yh=new pr({datatypes:_e.xsd.anySimpleType}),Zh=new pr({datatypes:_e.xsd.anyAtomicType}),qn=/^([^\ud8ff-\udfff\ufffe-\uffff]*)$/,eb=/^((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+))$/,vc=/^((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee](\+|-)?[0-9]+)?|(\+|-)?INF|NaN)$/,xa=/^(-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\.[0-9]+)?S)?|([0-9]+(\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\.[0-9]+)?S)?|([0-9]+(\.[0-9]+)?S)))))$/,yc=/^(-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,tb=/^((([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,rb=/^(-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,nb=/^(-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,ob=/^(-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,ib=/^(--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,ab=/^(---(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,sb=/^(--(0[1-9]|1[0-2])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?)$/,lb=/^(([0-9a-fA-F]{2})*)$/,db=/^(((([A-Za-z0-9+/] ?){4})*(([A-Za-z0-9+/] ?){3}[A-Za-z0-9+/]|([A-Za-z0-9+/] ?){2}[AEIMQUYcgkosw048] ?=|[A-Za-z0-9+/] ?[AQgw] ?= ?=))?)$/,cb=new je(qn,_e.xsd.string),ub=new wa(["1","true","0","false"],_e.xsd.boolean),pb=new je(eb,_e.xsd.decimal),fb=new je(vc,_e.xsd.float),hb=new je(vc,_e.xsd.double),bb=new je(xa,_e.xsd.duration),mb=new je(yc,_e.xsd.dateTime),gb=new je(tb,_e.xsd.time),vb=new je(rb,_e.xsd.date),yb=new je(nb,_e.xsd.gYearMonth),wb=new je(ob,_e.xsd.gYear),xb=new je(ib,_e.xsd.gMonthDay),_b=new je(ab,_e.xsd.gDay),kb=new je(sb,_e.xsd.gMonth),Sb=new je(lb,_e.xsd.hexBinary),Eb=new je(db,_e.xsd.base64Binary),Ib=new je(qn,_e.xsd.anyURI),wc=/^([^\u000d\u000a\u0009]*)$/,Rb=/^([^ ]+( [^ ]+)*)*$/,Nb=/^([a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*)$/,jb=/^([^DT]*)$/,Tb=/^([^YM]*[DT].*)$/,Ab=/^(.*(Z|(\+|-)[0-9][0-9]:[0-9][0-9]))$/,Lb=new je([qn,wc],_e.xsd.normalizedString),Ob=new je([qn,wc,Rb],_e.xsd.token),$b=new je(Nb,_e.xsd.language),Db=new Ve(null,null,_e.xsd.integer),Mb=new Ve(null,"0",_e.xsd.nonPositiveInteger),Cb=new Ve(null,"-1",_e.xsd.negativeInteger),Pb=new Ve("-9223372036854775808","9223372036854775807",_e.xsd.long),Bb=new Ve("-2147483648","2147483647",_e.xsd.int),qb=new Ve("-32768","32767",_e.xsd.short),Fb=new Ve("-128","127",_e.xsd.byte),zb=new Ve("0",null,_e.xsd.nonNegativeInteger),Ub=new Ve("0","18446744073709551615",_e.xsd.unsignedLong),Hb=new Ve("0","4294967295",_e.xsd.unsignedInt),Gb=new Ve("0","65535",_e.xsd.unsignedShort),Vb=new Ve("0","255",_e.xsd.unsignedByte),Wb=new Ve("1",null,_e.xsd.positiveInteger),Jb=new je([xa,jb],_e.xsd.yearMonthDuration),Qb=new je([xa,Tb],_e.xsd.dayTimeDuration),Xb=new je([yc,Ab],_e.xsd.dateTimeStamp),Kb=Object.freeze(Object.defineProperty({__proto__:null,anyAtomicType:Zh,anySimpleType:Yh,anyURI:Ib,base64Binary:Eb,boolean:ub,byte:Fb,date:vb,dateTime:mb,dateTimeStamp:Xb,dayTimeDuration:Qb,decimal:pb,double:hb,duration:bb,float:fb,gDay:_b,gMonth:kb,gMonthDay:xb,gYear:wb,gYearMonth:yb,hexBinary:Sb,int:Bb,integer:Db,language:$b,long:Pb,negativeInteger:Cb,nonNegativeInteger:zb,nonPositiveInteger:Mb,normalizedString:Lb,positiveInteger:Wb,short:qb,string:cb,time:gb,token:Ob,unsignedByte:Vb,unsignedInt:Hb,unsignedLong:Ub,unsignedShort:Gb,yearMonthDuration:Jb},Symbol.toStringTag,{value:"Module"}));class Yb extends Xh{constructor({factory:e}={}){super({factory:e,validations:{...Kb}})}}const Zb=new cr([[ne.BlankNode,new Set(["BlankNode"])],[ne.BlankNodeOrIRI,new Set(["BlankNode","NamedNode"])],[ne.BlankNodeOrLiteral,new Set(["BlankNode","Literal"])],[ne.IRI,new Set(["NamedNode"])],[ne.IRIOrLiteral,new Set(["NamedNode","Literal"])],[ne.Literal,new Set(["Literal"])]]);function em(r){const e=r.ptr.out([ne.class]).map(t=>Gi(t));return{generic:tm(e)}}function tm(r){return e=>{const t=new Ze(e.valueOrNode.out([Ut.type]).terms);for(const n of r){const o=[...t].some(i=>n.has(i));e.test(o,ne.ClassConstraintComponent,{value:e.valueOrNode})}}}function rm(r){const e=r.ptr.out([ne.datatype]).term,t=new Yb;return{generic:nm(e,t)}}function nm(r,e){return t=>{const n=r.equals(t.valueOrNode.term.datatype)&&e.validateSimple(t.valueOrNode.term);t.test(n,ne.DatatypeConstraintComponent,{args:{datatype:r},message:[t.factory.literal("Value does not have datatype {$datatype}")],value:t.valueOrNode})}}function om(r){const e=r.ptr.out([ne.nodeKind]).term,t=Zb.get(e);return{generic:im(e,t)}}function im(r,e){return t=>{t.test(e.has(t.valueOrNode.term.termType),ne.NodeKindConstraintComponent,{args:{nodeKind:r},message:[t.factory.literal("Value does not have node kind {$nodeKind}")],value:t.valueOrNode})}}const am=new cr([[ne.maxCount,Wf],[ne.minCount,Qf],[ne.and,eh],[ne.not,rh],[ne.or,oh],[ne.xone,ah],[ne.closed,lh],[ne.hasValue,ch],[ne.in,fh],[ne.disjoint,bh],[ne.equals,gh],[ne.lessThan,wh],[ne.lessThanOrEquals,_h],[ne.maxExclusive,Sh],[ne.maxInclusive,Ih],[ne.minExclusive,Nh],[ne.minInclusive,Th],[ne.node,Lh],[ne.property,$h],[ne.qualifiedValueShape,Mh],[ne.languageIn,Bh],[ne.maxLength,Fh],[ne.minLength,Uh],[ne.pattern,Gh],[ne.uniqueLang,Wh],[ne.class,em],[ne.datatype,rm],[ne.nodeKind,om]]);class sm{constructor(e,{factory:t,...n}){if(this.factory=t,this.options=n,this.registry=new Of(am),this.shapesPtr=new Rn({dataset:e,factory:t}),this.shapes=new cr,this.options.coverage&&(this.options.debug=!0,this.options.details=!0,this.options.trace=!0),this.options.validations)for(const[i,a]of this.options.validations)this.registry.validations.set(i,a);const o=[...this.shapesPtr.hasOut([ne.targetClass]),...this.shapesPtr.hasOut([ne.targetNode]),...this.shapesPtr.hasOut([ne.targetObjectsOf]),...this.shapesPtr.hasOut([ne.targetSubjectsOf]),...this.shapesPtr.hasOut([Ut.type],[ne.NodeShape]),...this.shapesPtr.hasOut([Ut.type],[ne.PropertyShape])];for(const i of o)this.shape(i)}shape(e){if(!e.term)return null;let t=this.shapes.get(e.term);return t||(t=new Vf(e,{validator:this}),this.shapes.set(e.term,t)),t}async validate(e,t){const n=new Rn({...e,factory:this.factory}),o=new ga({factory:this.factory,focusNode:n,options:this.options,validator:this});t?t=t.map(i=>this.shape(this.shapesPtr.node(i.terms))):t=this.shapes.values();for(const i of t){const a=o.create({shape:i});let s;n.isAny()?s=i.resolveTargets(a):s=n;for(const l of s)await i.validate(a.create({focusNode:l}))}return o.report}}let lm=class extends HTMLElement{constructor(e){super(),this.shape=null,this.attachShadow({mode:"open"}),this.form=document.createElement("form"),this.config=new xl(e,this.form),this.form.addEventListener("change",t=>{t.stopPropagation(),this.config.editMode&&this.validate(!0).then(n=>{this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!1,composed:!0,detail:{valid:n.conforms,report:n}}))}).catch(n=>{console.warn(n)})})}static get observedAttributes(){return xl.dataAttributes()}connectedCallback(){this.shadowRoot.prepend(this.form)}attributeChangedCallback(){this.config.updateAttributes(this),this.initialize()}initialize(){clearTimeout(this.initDebounceTimeout),this.initDebounceTimeout=setTimeout(async()=>{this.form.replaceChildren(document.createTextNode(this.config.attributes.loading));try{await this.config.loader.loadGraphs(),this.form.replaceChildren(),this.config.renderedNodes.clear();const e=this.findRootShaclShapeSubject();if(e){this.form.classList.forEach(n=>{this.form.classList.remove(n)}),this.form.classList.toggle("mode-edit",this.config.editMode),this.form.classList.toggle("mode-view",!this.config.editMode),this.config.theme.apply(this.form);const t=[this.config.theme.stylesheet];for(const n of wu())n.stylesheet&&t.push(n.stylesheet);if(this.shadowRoot.adoptedStyleSheets=t,this.shape=new Rt(e,this.config,this.config.attributes.valuesSubject?ke.namedNode(this.config.attributes.valuesSubject):void 0),this.form.appendChild(this.shape),this.config.editMode){if(this.config.attributes.submitButton!==null){const n=this.config.theme.createButton(this.config.attributes.submitButton||"Submit",!0);n.addEventListener("click",o=>{o.preventDefault(),this.form.reportValidity()&&this.validate().then(i=>{var a;i!=null&&i.conforms?this.dispatchEvent(new Event("submit",{bubbles:!0,cancelable:!0})):(a=this.form.querySelector(":scope .invalid > .editor"))==null||a.focus()})}),this.form.appendChild(n)}this.config.attributes.valuesSubject&&this.removeFromDataGraph(ke.namedNode(this.config.attributes.valuesSubject)),await this.validate(!0)}}else if(this.config.store.countQuads(null,null,null,xn)>0)throw new Error("shacl root node shape not found")}catch(e){console.error(e);const t=document.createElement("div");t.innerText=String(e),this.form.replaceChildren(t)}},200)}serialize(e="text/turtle",t=this.toRDF()){const n=t.getQuads(null,null,null,null);return mu(n,e,this.config.prefixes)}toRDF(e=new ze){var t;return(t=this.shape)==null||t.toRDF(e),e}registerPlugin(e){yu(e),this.initialize()}setTheme(e){this.config.theme=e,this.initialize()}setSharedShapesGraph(e){Wp(e),this.initialize()}setClassInstanceProvider(e){this.config.classInstanceProvider=e,this.initialize()}async validate(e=!1){var t,n,o,i,a,s;for(const l of this.form.querySelectorAll(":scope .validation-error"))l.remove();for(const l of this.form.querySelectorAll(":scope .property-instance"))l.classList.remove("invalid"),(t=l.querySelector(":scope > .editor"))!=null&&t.value?l.classList.add("valid"):l.classList.remove("valid");this.config.store.deleteGraph(this.config.valuesGraphId||""),(n=this.shape)==null||n.toRDF(this.config.store),this.shape&&this.config.store.add(new jn(this.shape.shaclSubject,ke.namedNode(ve+"targetNode"),this.shape.nodeId,this.config.valuesGraphId));try{const l=this.config.store,d=await new sm(l,{details:!0,factory:ke}).validate({dataset:l});for(const f of d.results)if((i=(o=f.focusNode)==null?void 0:o.ptrs)!=null&&i.length)for(const m of f.focusNode.ptrs){const v=m._term;if((a=f.path)!=null&&a.length){const b=f.path[0].predicates[0];let g=this.form.querySelectorAll(`:scope shacl-node[data-node-id='${v.id}'] > shacl-property > .property-instance[data-path='${b.id}'] > .editor, :scope shacl-node[data-node-id='${v.id}'] > .shacl-group > shacl-property > .property-instance[data-path='${b.id}'] > .editor`);g.length===0&&(g=this.form.querySelectorAll(`:scope [data-node-id='${v.id}'] > * > [data-path='${b.id}']`));for(const x of g)if(x.classList.contains("editor")){if(!e||x.value){let _=x.parentElement;_.classList.add("invalid"),_.classList.remove("valid"),_.appendChild(this.createValidationErrorDisplay(f));do _.classList.contains("collapsible")&&_.classList.add("open"),_=_.parentElement;while(_)}}else e||(x.classList.add("invalid"),x.classList.remove("valid"),x.appendChild(this.createValidationErrorDisplay(f,"node")))}else e||(s=this.form.querySelector(`:scope [data-node-id='${v.id}']`))==null||s.prepend(this.createValidationErrorDisplay(f,"node"))}return d}catch(l){return console.error(l),!1}}createValidationErrorDisplay(e,t){var o,i;const n=document.createElement("span");if(n.classList.add("validation-error"),t&&n.classList.add(t),e)if(((o=e.message)==null?void 0:o.length)>0)for(const a of e.message)n.title+=a.value+`
|
|
346
|
+
`;else n.title=(i=e.sourceConstraintComponent)==null?void 0:i.value;return n}findRootShaclShapeSubject(){let e=null;if(this.config.attributes.shapeSubject){if(e=ke.namedNode(this.config.attributes.shapeSubject),this.config.store.getQuads(e,Be,cn,null).length===0){console.warn(`shapes graph does not contain requested root shape ${this.config.attributes.shapeSubject}`);return}}else if(this.config.attributes.valuesSubject&&this.config.store.countQuads(null,null,null,st)>0){const t=ke.namedNode(this.config.attributes.valuesSubject),n=[...this.config.store.getQuads(t,Be,null,st),...this.config.store.getQuads(t,$i,null,st)];if(n.length===0){console.warn(`value subject '${this.config.attributes.valuesSubject}' has neither ${Be.id} nor ${$i.id} statement`);return}for(const o of n)if(this.config.store.getQuads(o.object,Be,cn,null).length>0){e=o.object;break}if(!e){const o=this.config.store.getQuads(null,Wr,n[0].object,null);if(o.length===0){console.error(`value subject '${this.config.attributes.valuesSubject}' has no shacl shape definition in the shapes graph`);return}if(o.length>1&&console.warn(`value subject '${this.config.attributes.valuesSubject}' has multiple shacl shape definitions in the shapes graph, choosing the first found (${o[0].subject})`),this.config.store.getQuads(o[0].subject,Be,cn,null).length===0){console.error(`value subject '${this.config.attributes.valuesSubject}' references a shape which is not a NodeShape (${o[0].subject})`);return}e=o[0].subject}}else{const t=this.config.store.getQuads(null,Be,cn,null);if(t.length==0){console.warn("shapes graph does not contain any root shapes");return}t.length>1&&(console.warn("shapes graph contains",t.length,"root shapes. choosing first found which is",t[0].subject.value),console.info('hint: set the shape to use with attribute "data-shape-subject"')),e=t[0].subject}return e}removeFromDataGraph(e){this.config.attributes.valuesSubject;for(const t of this.config.store.getQuads(e,null,null,st))this.config.store.delete(t),(t.object.termType==="NamedNode"||t.object.termType==="BlankNode")&&this.removeFromDataGraph(t.object)}};const dm=`.editor:not([type='checkbox']) { border: 1px solid #DDD; padding: 2px 4px; }
|
|
347
|
+
.property-instance label { display: inline-flex; word-break: break-word; line-height: 1em; padding-top: 0.15em; padding-right: 1em; flex-shrink: 0; position: relative; }
|
|
348
|
+
.property-instance:not(:first-child) > label:not(.persistent) { visibility: hidden; max-height: 0; }
|
|
349
|
+
.mode-edit .property-instance label { width: var(--label-width); }
|
|
350
|
+
`;class cm extends hu{constructor(e){super(e||dm),this.idCtr=0}createDefaultTemplate(e,t,n,o,i){var d;o.id=`e${this.idCtr++}`,o.classList.add("editor"),i!=null&&i.datatype?o.shaclDatatype=i.datatype:t instanceof lt&&(o.shaclDatatype=t.datatype),(i==null?void 0:i.minCount)!==void 0&&(o.dataset.minCount=String(i.minCount)),i!=null&&i.class&&(o.dataset.class=i.class.value),i!=null&&i.nodeKind&&(o.dataset.nodeKind=i.nodeKind.value),(i!=null&&i.hasValue||i!=null&&i.readonly)&&(o.disabled=!0),o.value=(t==null?void 0:t.value)||((d=i==null?void 0:i.defaultValue)==null?void 0:d.value)||"";const a=document.createElement("label");a.htmlFor=o.id,a.innerText=e,i!=null&&i.description&&a.setAttribute("title",i.description.value);const s=i!=null&&i.description?i.description.value:i!=null&&i.pattern?i.pattern:null;s&&o.setAttribute("placeholder",s),n&&(o.setAttribute("required","true"),a.classList.add("required"));const l=document.createElement("div");return l.appendChild(a),l.appendChild(o),l}createDateEditor(e,t,n,o){var s,l;const i=document.createElement("input");((s=o.datatype)==null?void 0:s.value)===Pt+"dateTime"?(i.type="datetime-local",i.setAttribute("step","1")):i.type="date",i.classList.add("pr-0");const a=this.createDefaultTemplate(e,null,n,i,o);if(t)try{let d=new Date(t.value).toISOString();((l=o.datatype)==null?void 0:l.value)===Pt+"dateTime"?d=d.slice(0,19):d=d.slice(0,10),i.value=d}catch(d){console.error(d,t)}return a}createTextEditor(e,t,n,o){let i;return o.singleLine===!1?(i=document.createElement("textarea"),i.rows=5):(i=document.createElement("input"),i.type="text",o.pattern&&(i.pattern=o.pattern)),o.minLength&&(i.minLength=o.minLength),o.maxLength&&(i.maxLength=o.maxLength),this.createDefaultTemplate(e,t,n,i,o)}createLangStringEditor(e,t,n,o){var l;const i=this.createTextEditor(e,t,n,o),a=i.querySelector(":scope .editor");let s;if((l=o.languageIn)!=null&&l.length){s=document.createElement("select");for(const d of o.languageIn){const f=document.createElement("option");f.innerText=d.value,s.appendChild(f)}}else s=document.createElement("input"),s.maxLength=5,s.placeholder="lang?";return s.title="Language of the text",s.classList.add("lang-chooser"),s.addEventListener("change",d=>{d.stopPropagation(),a&&(a.dataset.lang=s.value,a.dispatchEvent(new Event("change",{bubbles:!0})))}),t instanceof lt&&(s.value=t.language),a.dataset.lang=s.value,a.after(s),i}createBooleanEditor(e,t,n,o){var s;const i=document.createElement("input");i.type="checkbox",i.classList.add("ml-0");const a=this.createDefaultTemplate(e,null,n,i,o);return i.removeAttribute("required"),(s=a.querySelector(":scope label"))==null||s.classList.remove("required"),t instanceof lt&&(i.checked=t.value==="true"),a}createFileEditor(e,t,n,o){const i=document.createElement("input");return i.type="file",i.addEventListener("change",a=>{var s;if((s=i.files)!=null&&s.length){a.stopPropagation();const l=new FileReader;l.readAsDataURL(i.files[0]),l.onload=()=>{var d;i.binaryData=btoa(l.result),(d=i.parentElement)==null||d.dispatchEvent(new Event("change",{bubbles:!0}))}}else i.binaryData=void 0}),this.createDefaultTemplate(e,t,n,i,o)}createNumberEditor(e,t,n,o){var l;const i=document.createElement("input");i.type="number",i.classList.add("pr-0");const a=o.minInclusive!==void 0?o.minInclusive:o.minExclusive!==void 0?o.minExclusive+1:void 0,s=o.maxInclusive!==void 0?o.maxInclusive:o.maxExclusive!==void 0?o.maxExclusive-1:void 0;return a!==void 0&&(i.min=String(a)),s!==void 0&&(i.max=String(s)),((l=o.datatype)==null?void 0:l.value)!==Pt+"integer"&&(i.step="0.1"),this.createDefaultTemplate(e,t,n,i,o)}createListEditor(e,t,n,o,i){const a=document.createElement("select"),s=this.createDefaultTemplate(e,null,n,a,i);let l=!0;for(const d of o){const f=document.createElement("option");let m="";if(typeof d.value=="string"?m=d.value:m=d.value.id,f.innerHTML=d.label?d.label:m,f.value=m,d.indent)for(let v=0;v<d.indent;v++)f.innerHTML="  "+f.innerHTML;t&&t.value===m&&(f.selected=!0),m===""&&(l=!1),a.appendChild(f)}if(l){const d=document.createElement("option");d.value="",t||(d.selected=!0),a.prepend(d)}return t&&(a.value=t.value),s}createButton(e,t){const n=document.createElement("button");return n.type="button",n.innerHTML=e,n}}const um=`@charset "UTF-8";/*!
|
|
351
|
+
* Bootstrap v5.3.7 (https://getbootstrap.com/)
|
|
352
|
+
* Copyright 2011-2025 The Bootstrap Authors
|
|
353
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
354
|
+
*/:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;line-height:inherit;font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-weight:300;line-height:1.2;font-size:calc(1.625rem + 4.5vw)}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-weight:300;line-height:1.2;font-size:calc(1.575rem + 3.9vw)}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-weight:300;line-height:1.2;font-size:calc(1.525rem + 3.3vw)}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-weight:300;line-height:1.2;font-size:calc(1.475rem + 2.7vw)}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-weight:300;line-height:1.2;font-size:calc(1.425rem + 2.1vw)}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-weight:300;line-height:1.2;font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;max-width:100%;height:100%;padding:1rem .75rem;overflow:hidden;color:rgba(var(--bs-body-color-rgb),.65);text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem;padding-left:.75rem}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>textarea:focus~label::after,.form-floating>textarea:not(:placeholder-shown)~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>textarea:disabled~label::after{background-color:var(--bs-secondary-bg)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(-1 * var(--bs-border-width));border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(-1 * var(--bs-border-width))}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(-1 * var(--bs-border-width))}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:nth-child(n+3),.btn-group-vertical>:not(.btn-check)+.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:0.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-grow:1;flex-basis:0;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-grow:1;flex-basis:100%;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, 0.55);--bs-navbar-hover-color:rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color:rgba(255, 255, 255, 0.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child)>.card-header,.card-group>.card:not(:last-child)>.card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child)>.card-footer,.card-group>.card:not(:last-child)>.card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child)>.card-header,.card-group>.card:not(:first-child)>.card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child)>.card-footer,.card-group>.card:not(:first-child)>.card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-collapse,.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(-1 * var(--bs-border-width))}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:var(--bs-progress-height)}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:not(.active):focus,.list-group-item-action:not(.active):hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:not(.active):active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;filter:var(--bs-btn-close-filter);border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{--bs-btn-close-filter:invert(1) grayscale(100%) brightness(200%)}:root,[data-bs-theme=light]{--bs-btn-close-filter: }[data-bs-theme=dark]{--bs-btn-close-filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color:var(--bs-body-color);--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transform:translate(0,-50px);transition:transform .3s ease-out}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin-top:calc(-.5 * var(--bs-modal-header-padding-y));margin-right:calc(-.5 * var(--bs-modal-header-padding-x));margin-bottom:calc(-.5 * var(--bs-modal-header-padding-y));margin-left:auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;filter:var(--bs-carousel-control-icon-filter);border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:var(--bs-carousel-indicator-active-bg);background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:var(--bs-carousel-caption-color);text-align:center}.carousel-dark{--bs-carousel-indicator-active-bg:#000;--bs-carousel-caption-color:#000;--bs-carousel-control-icon-filter:invert(1) grayscale(100)}:root,[data-bs-theme=light]{--bs-carousel-indicator-active-bg:#fff;--bs-carousel-caption-color:#fff;--bs-carousel-control-icon-filter: }[data-bs-theme=dark]{--bs-carousel-indicator-active-bg:#000;--bs-carousel-caption-color:#000;--bs-carousel-control-icon-filter:invert(1) grayscale(100)}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform 0.3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y));margin-left:auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-underline-offset:0.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.visually-hidden *,.visually-hidden-focusable:not(:focus):not(:focus-within) *{overflow:hidden!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10{--bs-link-opacity:0.1}.link-opacity-10-hover:hover{--bs-link-opacity:0.1}.link-opacity-25{--bs-link-opacity:0.25}.link-opacity-25-hover:hover{--bs-link-opacity:0.25}.link-opacity-50{--bs-link-opacity:0.5}.link-opacity-50-hover:hover{--bs-link-opacity:0.5}.link-opacity-75{--bs-link-opacity:0.75}.link-opacity-75-hover:hover{--bs-link-opacity:0.75}.link-opacity-100{--bs-link-opacity:1}.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1{text-underline-offset:0.125em!important}.link-offset-1-hover:hover{text-underline-offset:0.125em!important}.link-offset-2{text-underline-offset:0.25em!important}.link-offset-2-hover:hover{text-underline-offset:0.25em!important}.link-offset-3{text-underline-offset:0.375em!important}.link-offset-3-hover:hover{text-underline-offset:0.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0{--bs-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10{--bs-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:0.1}.link-underline-opacity-25{--bs-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:0.25}.link-underline-opacity-50{--bs-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:0.5}.link-underline-opacity-75{--bs-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:0.75}.link-underline-opacity-100{--bs-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}
|
|
355
|
+
/*# sourceMappingURL=bootstrap.min.css.map */`,pm=`form.mode-edit { --label-width: 0em; }
|
|
356
|
+
.lang-chooser { right: 24px; font-size: 0.8em; }
|
|
357
|
+
.property-instance[data-description]::after { content: attr(data-description); position: absolute; bottom: -12px; left: 13px; font-size: 12px; opacity: 0.7;}
|
|
358
|
+
.property-instance { margin-bottom:14px; }
|
|
359
|
+
.form-floating[data-description] { margin-bottom: 28px; }
|
|
360
|
+
.remove-button { padding: 6px; }`;class fm extends cm{constructor(){super(um+`
|
|
361
|
+
`+pm)}apply(e){super.apply(e),e.dataset.bsTheme="light"}createDefaultTemplate(e,t,n,o,i){const a=super.createDefaultTemplate(e,t,n,o,i);o.type!=="checkbox"&&(a.classList.add("form-floating"),o.tagName==="SELECT"?o.classList.add("form-select"):o.classList.add("form-control"));const s=a.querySelector("label");return s==null||s.classList.add("form-label"),s!=null&&s.title&&(a.dataset.description=s.title,s.removeAttribute("title")),a.prepend(o),a}createButton(e,t){const n=super.createButton(e,t);return n.classList.add("btn",t?"btn-primary":"btn-outline-secondary"),n}}class hm extends lm{constructor(){super(new fm)}}window.customElements.define("shacl-form",hm);export{xl as Config,Vp as Loader,_m as Plugin,hm as ShaclForm,pu as ShaclPropertyTemplate,hu as Theme,$n as findLabel,yu as registerPlugin,Wp as setSharedShapesGraph};
|