@qaecy/cue-ui 0.0.39 → 0.0.40
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/347.js +1 -1
- package/614.js +1 -1
- package/695.js +1 -1
- package/7.js +1 -1
- package/{957.js → 981.js} +1 -1
- package/README.md +29 -19
- package/index.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
package/{957.js → 981.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[957],{1294(wn){function Gt(Pt){return Promise.resolve().then(()=>{var E=new Error("Cannot find module '"+Pt+"'");throw E.code="MODULE_NOT_FOUND",E})}Gt.keys=()=>[],Gt.resolve=Gt,Gt.id=1294,wn.exports=Gt},8380(wn){function Gt(Pt){return Promise.resolve().then(()=>{var E=new Error("Cannot find module '"+Pt+"'");throw E.code="MODULE_NOT_FOUND",E})}Gt.keys=()=>[],Gt.resolve=Gt,Gt.id=8380,wn.exports=Gt},7814(wn,Gt,Pt){"use strict";Pt.d(Gt,{cY:()=>kn,FA:()=>pr,g:()=>nr,u:()=>wt,Uj:()=>ot,Fy:()=>hr,tD:()=>ee,bD:()=>Ge,T9:()=>Ze,yU:()=>de,XA:()=>Le,mS:()=>tt,Ku:()=>Me,ZQ:()=>fn,sr:()=>Fo,zJ:()=>kr,c1:()=>tn,zW:()=>dr,jZ:()=>Xr,lV:()=>eo,nr:()=>er,Ov:()=>Uo,gE:()=>Ai,Am:()=>bn,P1:()=>Cr,eX:()=>no});var E=Pt(467);const Ae=function(S){const T=[];let D=0;for(let nt=0;nt<S.length;nt++){let b=S.charCodeAt(nt);b<128?T[D++]=b:b<2048?(T[D++]=b>>6|192,T[D++]=63&b|128):55296==(64512&b)&&nt+1<S.length&&56320==(64512&S.charCodeAt(nt+1))?(b=65536+((1023&b)<<10)+(1023&S.charCodeAt(++nt)),T[D++]=b>>18|240,T[D++]=b>>12&63|128,T[D++]=b>>6&63|128,T[D++]=63&b|128):(T[D++]=b>>12|224,T[D++]=b>>6&63|128,T[D++]=63&b|128)}return T},Ve={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(S,T){if(!Array.isArray(S))throw Error("encodeByteArray takes an array as a parameter");this.init_();const D=T?this.byteToCharMapWebSafe_:this.byteToCharMap_,nt=[];for(let b=0;b<S.length;b+=3){const ht=S[b],Rt=b+1<S.length,Xt=Rt?S[b+1]:0,at=b+2<S.length,ce=at?S[b+2]:0;let X=(15&Xt)<<2|ce>>6,z=63&ce;at||(z=64,Rt||(X=64)),nt.push(D[ht>>2],D[(3&ht)<<4|Xt>>4],D[X],D[z])}return nt.join("")},encodeString(S,T){return this.HAS_NATIVE_SUPPORT&&!T?btoa(S):this.encodeByteArray(Ae(S),T)},decodeString(S,T){return this.HAS_NATIVE_SUPPORT&&!T?atob(S):function(S){const T=[];let D=0,nt=0;for(;D<S.length;){const b=S[D++];if(b<128)T[nt++]=String.fromCharCode(b);else if(b>191&&b<224){const ht=S[D++];T[nt++]=String.fromCharCode((31&b)<<6|63&ht)}else if(b>239&&b<365){const at=((7&b)<<18|(63&S[D++])<<12|(63&S[D++])<<6|63&S[D++])-65536;T[nt++]=String.fromCharCode(55296+(at>>10)),T[nt++]=String.fromCharCode(56320+(1023&at))}else{const ht=S[D++],Rt=S[D++];T[nt++]=String.fromCharCode((15&b)<<12|(63&ht)<<6|63&Rt)}}return T.join("")}(this.decodeStringToByteArray(S,T))},decodeStringToByteArray(S,T){this.init_();const D=T?this.charToByteMapWebSafe_:this.charToByteMap_,nt=[];for(let b=0;b<S.length;){const ht=D[S.charAt(b++)],Xt=b<S.length?D[S.charAt(b)]:0;++b;const ce=b<S.length?D[S.charAt(b)]:64;++b;const jt=b<S.length?D[S.charAt(b)]:64;if(++b,null==ht||null==Xt||null==ce||null==jt)throw new Ht;nt.push(ht<<2|Xt>>4),64!==ce&&(nt.push(Xt<<4&240|ce>>2),64!==jt&&nt.push(ce<<6&192|jt))}return nt},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let S=0;S<this.ENCODED_VALS.length;S++)this.byteToCharMap_[S]=this.ENCODED_VALS.charAt(S),this.charToByteMap_[this.byteToCharMap_[S]]=S,this.byteToCharMapWebSafe_[S]=this.ENCODED_VALS_WEBSAFE.charAt(S),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[S]]=S,S>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(S)]=S,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(S)]=S)}}};class Ht extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const ot=function(S){return function(S){const T=Ae(S);return Ve.encodeByteArray(T,!0)}(S).replace(/\./g,"")},wt=function(S){try{return Ve.decodeString(S,!0)}catch(T){console.error("base64Decode failed: ",T)}return null};function tt(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}const V=()=>{try{return tt().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const S=process.env.__FIREBASE_DEFAULTS__;return S?JSON.parse(S):void 0})()||(()=>{if(typeof document>"u")return;let S;try{S=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const T=S&&wt(S[1]);return T&&JSON.parse(T)})()}catch(S){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${S}`)}},de=S=>{const T=(S=>V()?.emulatorHosts?.[S])(S);if(!T)return;const D=T.lastIndexOf(":");if(D<=0||D+1===T.length)throw new Error(`Invalid host ${T} with no separate hostname and port!`);const nt=parseInt(T.substring(D+1),10);return"["===T[0]?[T.substring(1,D-1),nt]:[T.substring(0,D),nt]},Ze=()=>V()?.config,Le=S=>V()?.[`_${S}`];class kn{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((T,D)=>{this.resolve=T,this.reject=D})}wrapCallback(T){return(D,nt)=>{D?this.reject(D):this.resolve(nt),"function"==typeof T&&(this.promise.catch(()=>{}),1===T.length?T(D):T(D,nt))}}}function kr(S){try{return(S.startsWith("http://")||S.startsWith("https://")?new URL(S).hostname:S).endsWith(".cloudworkstations.dev")}catch{return!1}}function Ai(S){return Cn.apply(this,arguments)}function Cn(){return(Cn=(0,E.A)(function*(S){return(yield fetch(S,{credentials:"include"})).ok})).apply(this,arguments)}function hr(S,T){if(S.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const nt=T||"demo-project",b=S.iat||0,ht=S.sub||S.user_id;if(!ht)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const Rt={iss:`https://securetoken.google.com/${nt}`,aud:nt,iat:b,exp:b+3600,auth_time:b,sub:ht,user_id:ht,firebase:{sign_in_provider:"custom",identities:{}},...S};return[ot(JSON.stringify({alg:"none",type:"JWT"})),ot(JSON.stringify(Rt)),""].join(".")}const Dn={};let ve=!1;function Cr(S,T){if(typeof window>"u"||typeof document>"u"||!kr(window.location.host)||Dn[S]===T||Dn[S]||ve)return;function D(X){return`__firebase__banner__${X}`}Dn[S]=T;const nt="__firebase__banner",ht=function Kn(){const S={prod:[],emulator:[]};for(const T of Object.keys(Dn))Dn[T]?S.emulator.push(T):S.prod.push(T);return S}().prod.length>0;function jt(){const X=function Hn(S){let T=document.getElementById(S),D=!1;return T||(T=document.createElement("div"),T.setAttribute("id",S),D=!0),{created:D,element:T}}(nt),z=D("text"),it=document.getElementById(z)||document.createElement("span"),re=D("learnmore"),Ee=document.getElementById(re)||document.createElement("a"),wr=D("preprendIcon"),or=document.getElementById(wr)||document.createElementNS("http://www.w3.org/2000/svg","svg");if(X.created){const En=X.element;(function Xt(X){X.style.display="flex",X.style.background="#7faaf0",X.style.position="fixed",X.style.bottom="5px",X.style.left="5px",X.style.padding=".5em",X.style.borderRadius="5px",X.style.alignItems="center"})(En),function dt(X,z){X.setAttribute("id",z),X.innerText="Learn more",X.href="https://firebase.google.com/docs/studio/preview-apps#preview-backend",X.setAttribute("target","__blank"),X.style.paddingLeft="5px",X.style.textDecoration="underline"}(Ee,re);const co=function ce(){const X=document.createElement("span");return X.style.cursor="pointer",X.style.marginLeft="16px",X.style.fontSize="24px",X.innerHTML=" ×",X.onclick=()=>{ve=!0,function Rt(){const X=document.getElementById(nt);X&&X.remove()}()},X}();(function at(X,z){X.setAttribute("width","24"),X.setAttribute("id",z),X.setAttribute("height","24"),X.setAttribute("viewBox","0 0 24 24"),X.setAttribute("fill","none"),X.style.marginLeft="-6px"})(or,wr),En.append(or,it,Ee,co),document.body.appendChild(En)}ht?(it.innerText="Preview backend disconnected.",or.innerHTML='<g clip-path="url(#clip0_6013_33858)">\n<path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>\n</g>\n<defs>\n<clipPath id="clip0_6013_33858">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>'):(or.innerHTML='<g clip-path="url(#clip0_6083_34804)">\n<path d="M11.4 15.2H12.6V11.2H11.4V15.2ZM12 10C12.1667 10 12.3056 9.94444 12.4167 9.83333C12.5389 9.71111 12.6 9.56667 12.6 9.4C12.6 9.23333 12.5389 9.09444 12.4167 8.98333C12.3056 8.86111 12.1667 8.8 12 8.8C11.8333 8.8 11.6889 8.86111 11.5667 8.98333C11.4556 9.09444 11.4 9.23333 11.4 9.4C11.4 9.56667 11.4556 9.71111 11.5667 9.83333C11.6889 9.94444 11.8333 10 12 10ZM12 18.4C11.1222 18.4 10.2944 18.2333 9.51667 17.9C8.73889 17.5667 8.05556 17.1111 7.46667 16.5333C6.88889 15.9444 6.43333 15.2611 6.1 14.4833C5.76667 13.7056 5.6 12.8778 5.6 12C5.6 11.1111 5.76667 10.2833 6.1 9.51667C6.43333 8.73889 6.88889 8.06111 7.46667 7.48333C8.05556 6.89444 8.73889 6.43333 9.51667 6.1C10.2944 5.76667 11.1222 5.6 12 5.6C12.8889 5.6 13.7167 5.76667 14.4833 6.1C15.2611 6.43333 15.9389 6.89444 16.5167 7.48333C17.1056 8.06111 17.5667 8.73889 17.9 9.51667C18.2333 10.2833 18.4 11.1111 18.4 12C18.4 12.8778 18.2333 13.7056 17.9 14.4833C17.5667 15.2611 17.1056 15.9444 16.5167 16.5333C15.9389 17.1111 15.2611 17.5667 14.4833 17.9C13.7167 18.2333 12.8889 18.4 12 18.4ZM12 17.2C13.4444 17.2 14.6722 16.6944 15.6833 15.6833C16.6944 14.6722 17.2 13.4444 17.2 12C17.2 10.5556 16.6944 9.32778 15.6833 8.31667C14.6722 7.30555 13.4444 6.8 12 6.8C10.5556 6.8 9.32778 7.30555 8.31667 8.31667C7.30556 9.32778 6.8 10.5556 6.8 12C6.8 13.4444 7.30556 14.6722 8.31667 15.6833C9.32778 16.6944 10.5556 17.2 12 17.2Z" fill="#212121"/>\n</g>\n<defs>\n<clipPath id="clip0_6083_34804">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>',it.innerText="Preview backend running in this workspace."),it.setAttribute("id",z)}"loading"===document.readyState?window.addEventListener("DOMContentLoaded",jt):jt()}function fn(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Xr(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(fn())}function Yr(){const S=V()?.forceEnvironment;if("node"===S)return!0;if("browser"===S)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function tn(){return typeof navigator<"u"&&"Cloudflare-Workers"===navigator.userAgent}function Fo(){const S="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof S&&void 0!==S.id}function eo(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function er(){return!Yr()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function Uo(){return!Yr()&&!!navigator.userAgent&&(navigator.userAgent.includes("Safari")||navigator.userAgent.includes("WebKit"))&&!navigator.userAgent.includes("Chrome")}function dr(){try{return"object"==typeof indexedDB}catch{return!1}}function no(){return new Promise((S,T)=>{try{let D=!0;const nt="validate-browser-context-for-indexeddb-analytics-module",b=self.indexedDB.open(nt);b.onsuccess=()=>{b.result.close(),D||self.indexedDB.deleteDatabase(nt),S(!0)},b.onupgradeneeded=()=>{D=!1},b.onerror=()=>{T(b.error?.message||"")}}catch(D){T(D)}})}class nr extends Error{constructor(T,D,nt){super(D),this.code=T,this.customData=nt,this.name="FirebaseError",Object.setPrototypeOf(this,nr.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,pr.prototype.create)}}class pr{constructor(T,D,nt){this.service=T,this.serviceName=D,this.errors=nt}create(T,...D){const nt=D[0]||{},b=`${this.service}/${T}`,ht=this.errors[T],Rt=ht?function rr(S,T){return S.replace(qo,(D,nt)=>{const b=T[nt];return null!=b?String(b):`<${nt}?>`})}(ht,nt):"Error";return new nr(b,`${this.serviceName}: ${Rt} (${b}).`,nt)}}const qo=/\{\$([^}]+)}/g;function Ge(S,T){if(S===T)return!0;const D=Object.keys(S),nt=Object.keys(T);for(const b of D){if(!nt.includes(b))return!1;const ht=S[b],Rt=T[b];if(Ke(ht)&&Ke(Rt)){if(!Ge(ht,Rt))return!1}else if(ht!==Rt)return!1}for(const b of nt)if(!D.includes(b))return!1;return!0}function Ke(S){return null!==S&&"object"==typeof S}function bn(S){const T=[];for(const[D,nt]of Object.entries(S))Array.isArray(nt)?nt.forEach(b=>{T.push(encodeURIComponent(D)+"="+encodeURIComponent(b))}):T.push(encodeURIComponent(D)+"="+encodeURIComponent(nt));return T.length?"&"+T.join("&"):""}function ee(S,T){const D=new Qn(S,T);return D.subscribe.bind(D)}class Qn{constructor(T,D){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=D,this.task.then(()=>{T(this)}).catch(nt=>{this.error(nt)})}next(T){this.forEachObserver(D=>{D.next(T)})}error(T){this.forEachObserver(D=>{D.error(T)}),this.close(T)}complete(){this.forEachObserver(T=>{T.complete()}),this.close()}subscribe(T,D,nt){let b;if(void 0===T&&void 0===D&&void 0===nt)throw new Error("Missing Observer.");b=function vn(S,T){if("object"!=typeof S||null===S)return!1;for(const D of T)if(D in S&&"function"==typeof S[D])return!0;return!1}(T,["next","error","complete"])?T:{next:T,error:D,complete:nt},void 0===b.next&&(b.next=gr),void 0===b.error&&(b.error=gr),void 0===b.complete&&(b.complete=gr);const ht=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?b.error(this.finalError):b.complete()}catch{}}),this.observers.push(b),ht}unsubscribeOne(T){void 0===this.observers||void 0===this.observers[T]||(delete this.observers[T],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(T){if(!this.finalized)for(let D=0;D<this.observers.length;D++)this.sendOne(D,T)}sendOne(T,D){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[T])try{D(this.observers[T])}catch(nt){typeof console<"u"&&console.error&&console.error(nt)}})}close(T){this.finalized||(this.finalized=!0,void 0!==T&&(this.finalError=T),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function gr(){}function Me(S){return S&&S._delegate?S._delegate:S}},4556(wn){wn.exports=function(){"use strict";var E=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function mt(tt,H){var I=tt[0],A=tt[1],V=tt[2],N=tt[3];A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&V|~A&N)+H[0]-680876936|0)<<7|I>>>25)+A|0)&A|~I&V)+H[1]-389564586|0)<<12|N>>>20)+I|0)&I|~N&A)+H[2]+606105819|0)<<17|V>>>15)+N|0)&N|~V&I)+H[3]-1044525330|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&V|~A&N)+H[4]-176418897|0)<<7|I>>>25)+A|0)&A|~I&V)+H[5]+1200080426|0)<<12|N>>>20)+I|0)&I|~N&A)+H[6]-1473231341|0)<<17|V>>>15)+N|0)&N|~V&I)+H[7]-45705983|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&V|~A&N)+H[8]+1770035416|0)<<7|I>>>25)+A|0)&A|~I&V)+H[9]-1958414417|0)<<12|N>>>20)+I|0)&I|~N&A)+H[10]-42063|0)<<17|V>>>15)+N|0)&N|~V&I)+H[11]-1990404162|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&V|~A&N)+H[12]+1804603682|0)<<7|I>>>25)+A|0)&A|~I&V)+H[13]-40341101|0)<<12|N>>>20)+I|0)&I|~N&A)+H[14]-1502002290|0)<<17|V>>>15)+N|0)&N|~V&I)+H[15]+1236535329|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&N|V&~N)+H[1]-165796510|0)<<5|I>>>27)+A|0)&V|A&~V)+H[6]-1069501632|0)<<9|N>>>23)+I|0)&A|I&~A)+H[11]+643717713|0)<<14|V>>>18)+N|0)&I|N&~I)+H[0]-373897302|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&N|V&~N)+H[5]-701558691|0)<<5|I>>>27)+A|0)&V|A&~V)+H[10]+38016083|0)<<9|N>>>23)+I|0)&A|I&~A)+H[15]-660478335|0)<<14|V>>>18)+N|0)&I|N&~I)+H[4]-405537848|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&N|V&~N)+H[9]+568446438|0)<<5|I>>>27)+A|0)&V|A&~V)+H[14]-1019803690|0)<<9|N>>>23)+I|0)&A|I&~A)+H[3]-187363961|0)<<14|V>>>18)+N|0)&I|N&~I)+H[8]+1163531501|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A&N|V&~N)+H[13]-1444681467|0)<<5|I>>>27)+A|0)&V|A&~V)+H[2]-51403784|0)<<9|N>>>23)+I|0)&A|I&~A)+H[7]+1735328473|0)<<14|V>>>18)+N|0)&I|N&~I)+H[12]-1926607734|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A^V^N)+H[5]-378558|0)<<4|I>>>28)+A|0)^A^V)+H[8]-2022574463|0)<<11|N>>>21)+I|0)^I^A)+H[11]+1839030562|0)<<16|V>>>16)+N|0)^N^I)+H[14]-35309556|0)<<23|A>>>9)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A^V^N)+H[1]-1530992060|0)<<4|I>>>28)+A|0)^A^V)+H[4]+1272893353|0)<<11|N>>>21)+I|0)^I^A)+H[7]-155497632|0)<<16|V>>>16)+N|0)^N^I)+H[10]-1094730640|0)<<23|A>>>9)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A^V^N)+H[13]+681279174|0)<<4|I>>>28)+A|0)^A^V)+H[0]-358537222|0)<<11|N>>>21)+I|0)^I^A)+H[3]-722521979|0)<<16|V>>>16)+N|0)^N^I)+H[6]+76029189|0)<<23|A>>>9)+V|0,A=((A+=((V=((V+=((N=((N+=((I=((I+=(A^V^N)+H[9]-640364487|0)<<4|I>>>28)+A|0)^A^V)+H[12]-421815835|0)<<11|N>>>21)+I|0)^I^A)+H[15]+530742520|0)<<16|V>>>16)+N|0)^N^I)+H[2]-995338651|0)<<23|A>>>9)+V|0,A=((A+=((N=((N+=(A^((I=((I+=(V^(A|~N))+H[0]-198630844|0)<<6|I>>>26)+A|0)|~V))+H[7]+1126891415|0)<<10|N>>>22)+I|0)^((V=((V+=(I^(N|~A))+H[14]-1416354905|0)<<15|V>>>17)+N|0)|~I))+H[5]-57434055|0)<<21|A>>>11)+V|0,A=((A+=((N=((N+=(A^((I=((I+=(V^(A|~N))+H[12]+1700485571|0)<<6|I>>>26)+A|0)|~V))+H[3]-1894986606|0)<<10|N>>>22)+I|0)^((V=((V+=(I^(N|~A))+H[10]-1051523|0)<<15|V>>>17)+N|0)|~I))+H[1]-2054922799|0)<<21|A>>>11)+V|0,A=((A+=((N=((N+=(A^((I=((I+=(V^(A|~N))+H[8]+1873313359|0)<<6|I>>>26)+A|0)|~V))+H[15]-30611744|0)<<10|N>>>22)+I|0)^((V=((V+=(I^(N|~A))+H[6]-1560198380|0)<<15|V>>>17)+N|0)|~I))+H[13]+1309151649|0)<<21|A>>>11)+V|0,A=((A+=((N=((N+=(A^((I=((I+=(V^(A|~N))+H[4]-145523070|0)<<6|I>>>26)+A|0)|~V))+H[11]-1120210379|0)<<10|N>>>22)+I|0)^((V=((V+=(I^(N|~A))+H[2]+718787259|0)<<15|V>>>17)+N|0)|~I))+H[9]-343485551|0)<<21|A>>>11)+V|0,tt[0]=I+tt[0]|0,tt[1]=A+tt[1]|0,tt[2]=V+tt[2]|0,tt[3]=N+tt[3]|0}function Dt(tt){var I,H=[];for(I=0;I<64;I+=4)H[I>>2]=tt.charCodeAt(I)+(tt.charCodeAt(I+1)<<8)+(tt.charCodeAt(I+2)<<16)+(tt.charCodeAt(I+3)<<24);return H}function _e(tt){var I,H=[];for(I=0;I<64;I+=4)H[I>>2]=tt[I]+(tt[I+1]<<8)+(tt[I+2]<<16)+(tt[I+3]<<24);return H}function Ae(tt){var A,V,N,de,Ze,Le,H=tt.length,I=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=H;A+=64)mt(I,Dt(tt.substring(A-64,A)));for(V=(tt=tt.substring(A-64)).length,N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],A=0;A<V;A+=1)N[A>>2]|=tt.charCodeAt(A)<<(A%4<<3);if(N[A>>2]|=128<<(A%4<<3),A>55)for(mt(I,N),A=0;A<16;A+=1)N[A]=0;return de=(de=8*H).toString(16).match(/(.*?)(.{0,8})$/),Ze=parseInt(de[2],16),Le=parseInt(de[1],16)||0,N[14]=Ze,N[15]=Le,mt(I,N),I}function Ve(tt){var I,H="";for(I=0;I<4;I+=1)H+=E[tt>>8*I+4&15]+E[tt>>8*I&15];return H}function Ht(tt){var H;for(H=0;H<tt.length;H+=1)tt[H]=Ve(tt[H]);return tt.join("")}function Y(tt){return/[\u0080-\uFFFF]/.test(tt)&&(tt=unescape(encodeURIComponent(tt))),tt}function Ut(tt){var A,H=[],I=tt.length;for(A=0;A<I-1;A+=2)H.push(parseInt(tt.substr(A,2),16));return String.fromCharCode.apply(String,H)}function Ot(){this.reset()}return Ht(Ae("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function tt(H,I){return(H=0|H||0)<0?Math.max(H+I,0):Math.min(H,I)}ArrayBuffer.prototype.slice=function(H,I){var de,Ze,Le,kn,A=this.byteLength,V=tt(H,A),N=A;return void 0!==I&&(N=tt(I,A)),V>N?new ArrayBuffer(0):(de=N-V,Ze=new ArrayBuffer(de),Le=new Uint8Array(Ze),kn=new Uint8Array(this,V,de),Le.set(kn),Ze)}}(),Ot.prototype.append=function(tt){return this.appendBinary(Y(tt)),this},Ot.prototype.appendBinary=function(tt){this._buff+=tt,this._length+=tt.length;var I,H=this._buff.length;for(I=64;I<=H;I+=64)mt(this._hash,Dt(this._buff.substring(I-64,I)));return this._buff=this._buff.substring(I-64),this},Ot.prototype.end=function(tt){var A,N,H=this._buff,I=H.length,V=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(A=0;A<I;A+=1)V[A>>2]|=H.charCodeAt(A)<<(A%4<<3);return this._finish(V,I),N=Ht(this._hash),tt&&(N=Ut(N)),this.reset(),N},Ot.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ot.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Ot.prototype.setState=function(tt){return this._buff=tt.buff,this._length=tt.length,this._hash=tt.hash,this},Ot.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Ot.prototype._finish=function(tt,H){var A,V,N,I=H;if(tt[I>>2]|=128<<(I%4<<3),I>55)for(mt(this._hash,tt),I=0;I<16;I+=1)tt[I]=0;A=(A=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),V=parseInt(A[2],16),N=parseInt(A[1],16)||0,tt[14]=V,tt[15]=N,mt(this._hash,tt)},Ot.hash=function(tt,H){return Ot.hashBinary(Y(tt),H)},Ot.hashBinary=function(tt,H){var A=Ht(Ae(tt));return H?Ut(A):A},(Ot.ArrayBuffer=function(){this.reset()}).prototype.append=function(tt){var A,H=function Ct(tt,H,I){var A=new Uint8Array(tt.byteLength+H.byteLength);return A.set(new Uint8Array(tt)),A.set(new Uint8Array(H),tt.byteLength),I?A:A.buffer}(this._buff.buffer,tt,!0),I=H.length;for(this._length+=tt.byteLength,A=64;A<=I;A+=64)mt(this._hash,_e(H.subarray(A-64,A)));return this._buff=A-64<I?new Uint8Array(H.buffer.slice(A-64)):new Uint8Array(0),this},Ot.ArrayBuffer.prototype.end=function(tt){var V,N,H=this._buff,I=H.length,A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(V=0;V<I;V+=1)A[V>>2]|=H[V]<<(V%4<<3);return this._finish(A,I),N=Ht(this._hash),tt&&(N=Ut(N)),this.reset(),N},Ot.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ot.ArrayBuffer.prototype.getState=function(){var tt=Ot.prototype.getState.call(this);return tt.buff=function wt(tt){return String.fromCharCode.apply(null,new Uint8Array(tt))}(tt.buff),tt},Ot.ArrayBuffer.prototype.setState=function(tt){return tt.buff=function ot(tt,H){var N,I=tt.length,A=new ArrayBuffer(I),V=new Uint8Array(A);for(N=0;N<I;N+=1)V[N]=tt.charCodeAt(N);return H?V:A}(tt.buff,!0),Ot.prototype.setState.call(this,tt)},Ot.ArrayBuffer.prototype.destroy=Ot.prototype.destroy,Ot.ArrayBuffer.prototype._finish=Ot.prototype._finish,Ot.ArrayBuffer.hash=function(tt,H){var A=Ht(function be(tt){var A,V,N,de,Ze,Le,H=tt.length,I=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=H;A+=64)mt(I,_e(tt.subarray(A-64,A)));for(V=(tt=A-64<H?tt.subarray(A-64):new Uint8Array(0)).length,N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],A=0;A<V;A+=1)N[A>>2]|=tt[A]<<(A%4<<3);if(N[A>>2]|=128<<(A%4<<3),A>55)for(mt(I,N),A=0;A<16;A+=1)N[A]=0;return de=(de=8*H).toString(16).match(/(.*?)(.{0,8})$/),Ze=parseInt(de[2],16),Le=parseInt(de[1],16)||0,N[14]=Ze,N[15]=Le,mt(I,N),I}(new Uint8Array(tt)));return H?Ut(A):A},Ot}()},7573(wn,Gt,Pt){"use strict";Pt.d(Gt,{E:()=>E});const E={qcy:"https://dev.qaecy.com/ont#","qcy-e":"https://dev.qaecy.com/enum#","qcy-f":"https://dev.qaecy.com/functions#",obc:"https://w3id.org/obc#",dicc:"https://w3id.org/digitalconstruction/0.5/Contexts#",dicv:"https://w3id.org/digitalconstruction/0.5/Variables#",dice:"https://w3id.org/digitalconstruction/0.5/Entities#",dicp:"https://w3id.org/digitalconstruction/0.5/Processes#",dica:"https://w3id.org/digitalconstruction/0.5/Agents#",dici:"https://w3id.org/digitalconstruction/0.5/Information#",dicbm:"https://w3id.org/digitalconstruction/0.5/Materials#",dicob:"https://w3id.org/digitalconstruction/0.5/Occupancy#",dicl:"https://w3id.org/digitalconstruction/0.5/Lifecycle#",dices:"https://w3id.org/digitalconstruction/0.5/Energy#",dicu:"https://w3id.org/digitalconstruction/0.5/Units#",diclvl:"https://w3id.org/digitalconstruction/0.5/Levels#",dicstg:"https://w3id.org/digitalconstruction/0.5/Stages#"}},6561(wn,Gt,Pt){"use strict";Pt.d(Gt,{f$:()=>Hl,g8:()=>Og,Ug:()=>DE});var E=Pt(467),mt=(Pt(600),Pt(3659));(0,mt.KO)("firebase","12.8.0","app"),Pt(6702);const be="http://www.w3.org/1999/02/22-rdf-syntax-ns#",Ve="http://www.w3.org/2001/XMLSchema#",Ht="http://www.w3.org/2000/10/swap/",Y={xsd:{decimal:`${Ve}decimal`,boolean:`${Ve}boolean`,double:`${Ve}double`,integer:`${Ve}integer`,string:`${Ve}string`},rdf:{type:`${be}type`,nil:`${be}nil`,first:`${be}first`,rest:`${be}rest`,langString:`${be}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${Ht}reify#forSome`,forAll:`${Ht}reify#forAll`},log:{implies:`${Ht}log#implies`,isImpliedBy:`${Ht}log#isImpliedBy`}},{rdf:ot,xsd:wt}=Y;let Ct,Ut=0;const H={namedNode:hr,blankNode:Dn,variable:Hn,literal:Kn,defaultGraph:function ve(){return Ct},quad:Cr,triple:Cr,fromTerm:fn,fromQuad:Xr};class I{constructor(t){this.id=t}get value(){return this.id}equals(t){return t instanceof I?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 A extends I{get termType(){return"NamedNode"}}class V extends I{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 A(this.datatypeString)}get datatypeString(){const t=this.id,e=t.lastIndexOf('"')+1,n=e<t.length?t[e]:"";return"^"===n?t.substr(e+2):"@"!==n?wt.string:ot.langString}equals(t){return t instanceof V?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 N extends I{constructor(t){super(`_:${t}`)}get termType(){return"BlankNode"}get value(){return this.id.substr(2)}}class de extends I{constructor(t){super(`?${t}`)}get termType(){return"Variable"}get value(){return this.id.substr(1)}}Ct=new class Ze extends I{constructor(){return super(""),Ct||this}get termType(){return"DefaultGraph"}equals(t){return this===t||!!t&&this.termType===t.termType}};class kr extends I{constructor(t,e,n,o){super(""),this._subject=t,this._predicate=e,this._object=n,this._graph=o||Ct}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 hr(r){return new A(r)}function Dn(r){return new N(r||"n3-"+Ut++)}function Kn(r,t){if("string"==typeof t)return new V(`"${r}"@${t.toLowerCase()}`);let e=t?t.value:"";return""===e&&("boolean"==typeof r?e=wt.boolean:"number"==typeof r&&(Number.isFinite(r)?e=Number.isInteger(r)?wt.integer:wt.double:(e=wt.double,Number.isNaN(r)||(r=r>0?"INF":"-INF")))),new V(""===e||e===wt.string?`"${r}"`:`"${r}"^^${e}`)}function Hn(r){return new de(r)}function Cr(r,t,e,n){return new kr(r,t,e,n)}function fn(r){if(r instanceof I)return r;switch(r.termType){case"NamedNode":return hr(r.value);case"BlankNode":return Dn(r.value);case"Variable":return Hn(r.value);case"DefaultGraph":return Ct;case"Literal":return Kn(r.value,r.language||r.datatype);case"Quad":return Xr(r);default:throw new Error(`Unexpected termType: ${r.termType}`)}}function Xr(r){if(r instanceof kr)return r;if("Quad"!==r.termType)throw new Error(`Unexpected termType: ${r.termType}`);return Cr(fn(r.subject),fn(r.predicate),fn(r.object),fn(r.graph))}H.defaultGraph();var Ge,fr=Pt(2040),Et=Pt(7814),zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Go={};(function(){var r;function n(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.C=Array(this.blockSize),this.o=this.h=0,this.u()}function o(C,R,k){k||(k=0);const M=Array(16);if("string"==typeof R)for(var O=0;O<16;++O)M[O]=R.charCodeAt(k++)|R.charCodeAt(k++)<<8|R.charCodeAt(k++)<<16|R.charCodeAt(k++)<<24;else for(O=0;O<16;++O)M[O]=R[k++]|R[k++]<<8|R[k++]<<16|R[k++]<<24;let x,K=C.g[3];x=(R=C.g[0])+(K^(k=C.g[1])&((O=C.g[2])^K))+M[0]+3614090360&4294967295,x=K+(O^(R=k+(x<<7&4294967295|x>>>25))&(k^O))+M[1]+3905402710&4294967295,K=R+(x<<12&4294967295|x>>>20),x=O+(k^K&(R^k))+M[2]+606105819&4294967295,x=k+(R^(O=K+(x<<17&4294967295|x>>>15))&(K^R))+M[3]+3250441966&4294967295,x=R+(K^(k=O+(x<<22&4294967295|x>>>10))&(O^K))+M[4]+4118548399&4294967295,x=K+(O^(R=k+(x<<7&4294967295|x>>>25))&(k^O))+M[5]+1200080426&4294967295,K=R+(x<<12&4294967295|x>>>20),x=O+(k^K&(R^k))+M[6]+2821735955&4294967295,x=k+(R^(O=K+(x<<17&4294967295|x>>>15))&(K^R))+M[7]+4249261313&4294967295,x=R+(K^(k=O+(x<<22&4294967295|x>>>10))&(O^K))+M[8]+1770035416&4294967295,x=K+(O^(R=k+(x<<7&4294967295|x>>>25))&(k^O))+M[9]+2336552879&4294967295,K=R+(x<<12&4294967295|x>>>20),x=O+(k^K&(R^k))+M[10]+4294925233&4294967295,x=k+(R^(O=K+(x<<17&4294967295|x>>>15))&(K^R))+M[11]+2304563134&4294967295,x=R+(K^(k=O+(x<<22&4294967295|x>>>10))&(O^K))+M[12]+1804603682&4294967295,x=K+(O^(R=k+(x<<7&4294967295|x>>>25))&(k^O))+M[13]+4254626195&4294967295,K=R+(x<<12&4294967295|x>>>20),x=O+(k^K&(R^k))+M[14]+2792965006&4294967295,x=k+(R^(O=K+(x<<17&4294967295|x>>>15))&(K^R))+M[15]+1236535329&4294967295,x=R+(O^K&((k=O+(x<<22&4294967295|x>>>10))^O))+M[1]+4129170786&4294967295,x=K+(k^O&((R=k+(x<<5&4294967295|x>>>27))^k))+M[6]+3225465664&4294967295,K=R+(x<<9&4294967295|x>>>23),x=O+(R^k&(K^R))+M[11]+643717713&4294967295,x=k+(K^R&((O=K+(x<<14&4294967295|x>>>18))^K))+M[0]+3921069994&4294967295,x=R+(O^K&((k=O+(x<<20&4294967295|x>>>12))^O))+M[5]+3593408605&4294967295,x=K+(k^O&((R=k+(x<<5&4294967295|x>>>27))^k))+M[10]+38016083&4294967295,K=R+(x<<9&4294967295|x>>>23),x=O+(R^k&(K^R))+M[15]+3634488961&4294967295,x=k+(K^R&((O=K+(x<<14&4294967295|x>>>18))^K))+M[4]+3889429448&4294967295,x=R+(O^K&((k=O+(x<<20&4294967295|x>>>12))^O))+M[9]+568446438&4294967295,x=K+(k^O&((R=k+(x<<5&4294967295|x>>>27))^k))+M[14]+3275163606&4294967295,K=R+(x<<9&4294967295|x>>>23),x=O+(R^k&(K^R))+M[3]+4107603335&4294967295,x=k+(K^R&((O=K+(x<<14&4294967295|x>>>18))^K))+M[8]+1163531501&4294967295,x=R+(O^K&((k=O+(x<<20&4294967295|x>>>12))^O))+M[13]+2850285829&4294967295,x=K+(k^O&((R=k+(x<<5&4294967295|x>>>27))^k))+M[2]+4243563512&4294967295,K=R+(x<<9&4294967295|x>>>23),x=O+(R^k&(K^R))+M[7]+1735328473&4294967295,x=k+(K^R&((O=K+(x<<14&4294967295|x>>>18))^K))+M[12]+2368359562&4294967295,x=R+((k=O+(x<<20&4294967295|x>>>12))^O^K)+M[5]+4294588738&4294967295,x=K+((R=k+(x<<4&4294967295|x>>>28))^k^O)+M[8]+2272392833&4294967295,K=R+(x<<11&4294967295|x>>>21),x=O+(K^R^k)+M[11]+1839030562&4294967295,x=k+((O=K+(x<<16&4294967295|x>>>16))^K^R)+M[14]+4259657740&4294967295,x=R+((k=O+(x<<23&4294967295|x>>>9))^O^K)+M[1]+2763975236&4294967295,x=K+((R=k+(x<<4&4294967295|x>>>28))^k^O)+M[4]+1272893353&4294967295,K=R+(x<<11&4294967295|x>>>21),x=O+(K^R^k)+M[7]+4139469664&4294967295,x=k+((O=K+(x<<16&4294967295|x>>>16))^K^R)+M[10]+3200236656&4294967295,x=R+((k=O+(x<<23&4294967295|x>>>9))^O^K)+M[13]+681279174&4294967295,x=K+((R=k+(x<<4&4294967295|x>>>28))^k^O)+M[0]+3936430074&4294967295,K=R+(x<<11&4294967295|x>>>21),x=O+(K^R^k)+M[3]+3572445317&4294967295,x=k+((O=K+(x<<16&4294967295|x>>>16))^K^R)+M[6]+76029189&4294967295,x=R+((k=O+(x<<23&4294967295|x>>>9))^O^K)+M[9]+3654602809&4294967295,x=K+((R=k+(x<<4&4294967295|x>>>28))^k^O)+M[12]+3873151461&4294967295,K=R+(x<<11&4294967295|x>>>21),x=O+(K^R^k)+M[15]+530742520&4294967295,x=k+((O=K+(x<<16&4294967295|x>>>16))^K^R)+M[2]+3299628645&4294967295,x=R+(O^((k=O+(x<<23&4294967295|x>>>9))|~K))+M[0]+4096336452&4294967295,x=K+(k^((R=k+(x<<6&4294967295|x>>>26))|~O))+M[7]+1126891415&4294967295,K=R+(x<<10&4294967295|x>>>22),x=O+(R^(K|~k))+M[14]+2878612391&4294967295,x=k+(K^((O=K+(x<<15&4294967295|x>>>17))|~R))+M[5]+4237533241&4294967295,x=R+(O^((k=O+(x<<21&4294967295|x>>>11))|~K))+M[12]+1700485571&4294967295,x=K+(k^((R=k+(x<<6&4294967295|x>>>26))|~O))+M[3]+2399980690&4294967295,K=R+(x<<10&4294967295|x>>>22),x=O+(R^(K|~k))+M[10]+4293915773&4294967295,x=k+(K^((O=K+(x<<15&4294967295|x>>>17))|~R))+M[1]+2240044497&4294967295,x=R+(O^((k=O+(x<<21&4294967295|x>>>11))|~K))+M[8]+1873313359&4294967295,x=K+(k^((R=k+(x<<6&4294967295|x>>>26))|~O))+M[15]+4264355552&4294967295,K=R+(x<<10&4294967295|x>>>22),x=O+(R^(K|~k))+M[6]+2734768916&4294967295,x=k+(K^((O=K+(x<<15&4294967295|x>>>17))|~R))+M[13]+1309151649&4294967295,x=R+(O^((k=O+(x<<21&4294967295|x>>>11))|~K))+M[4]+4149444226&4294967295,x=K+(k^((R=k+(x<<6&4294967295|x>>>26))|~O))+M[11]+3174756917&4294967295,K=R+(x<<10&4294967295|x>>>22),x=O+(R^(K|~k))+M[2]+718787259&4294967295,x=k+(K^((O=K+(x<<15&4294967295|x>>>17))|~R))+M[9]+3951481745&4294967295,C.g[0]=C.g[0]+R&4294967295,C.g[1]=C.g[1]+(O+(x<<21&4294967295|x>>>11))&4294967295,C.g[2]=C.g[2]+O&4294967295,C.g[3]=C.g[3]+K&4294967295}function s(C,R){this.h=R;const k=[];let M=!0;for(let O=C.length-1;O>=0;O--){const K=0|C[O];M&&K==R||(k[O]=K,M=!1)}this.g=k}(function t(C,R){function k(){}k.prototype=R.prototype,C.F=R.prototype,C.prototype=new k,C.prototype.constructor=C,C.D=function(M,O,K){for(var x=Array(arguments.length-2),xn=2;xn<arguments.length;xn++)x[xn-2]=arguments[xn];return R.prototype[O].apply(M,x)}})(n,function e(){this.blockSize=-1}),n.prototype.u=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0},n.prototype.v=function(C,R){void 0===R&&(R=C.length);const k=R-this.blockSize,M=this.C;let O=this.h,K=0;for(;K<R;){if(0==O)for(;K<=k;)o(this,C,K),K+=this.blockSize;if("string"==typeof C){for(;K<R;)if(M[O++]=C.charCodeAt(K++),O==this.blockSize){o(this,M),O=0;break}}else for(;K<R;)if(M[O++]=C[K++],O==this.blockSize){o(this,M),O=0;break}}this.h=O,this.o+=R},n.prototype.A=function(){var C=Array((this.h<56?this.blockSize:2*this.blockSize)-this.h);C[0]=128;for(var R=1;R<C.length-8;++R)C[R]=0;R=8*this.o;for(var k=C.length-8;k<C.length;++k)C[k]=255&R,R/=256;for(this.v(C),C=Array(16),R=0,k=0;k<4;++k)for(let M=0;M<32;M+=8)C[R++]=this.g[k]>>>M&255;return C};var a={};function l(C){return-128<=C&&C<128?function i(C,R){var k=a;return Object.prototype.hasOwnProperty.call(k,C)?k[C]:k[C]=R(C)}(C,function(R){return new s([0|R],R<0?-1:0)}):new s([0|C],C<0?-1:0)}function u(C){if(isNaN(C)||!isFinite(C))return p;if(C<0)return rt(u(-C));const R=[];let k=1;for(let M=0;C>=k;M++)R[M]=C/k|0,k*=4294967296;return new s(R,0)}var p=l(0),_=l(1),v=l(16777216);function L(C){if(0!=C.h)return!1;for(let R=0;R<C.g.length;R++)if(0!=C.g[R])return!1;return!0}function G(C){return-1==C.h}function rt(C){const R=C.g.length,k=[];for(let M=0;M<R;M++)k[M]=~C.g[M];return new s(k,~C.h).add(_)}function et(C,R){return C.add(rt(R))}function vt(C,R){for(;(65535&C[R])!=C[R];)C[R+1]+=C[R]>>>16,C[R]&=65535,R++}function yt(C,R){this.g=C,this.h=R}function kt(C,R){if(L(R))throw Error("division by zero");if(L(C))return new yt(p,p);if(G(C))return R=kt(rt(C),R),new yt(rt(R.g),rt(R.h));if(G(R))return R=kt(C,rt(R)),new yt(rt(R.g),R.h);if(C.g.length>30){if(G(C)||G(R))throw Error("slowDivide_ only works with positive integers.");for(var k=_,M=R;M.l(C)<=0;)k=Bt(k),M=Bt(M);var O=At(k,1),K=At(M,1);for(M=At(M,2),k=At(k,2);!L(M);){var x=K.add(M);x.l(C)<=0&&(O=O.add(k),K=x),M=At(M,1),k=At(k,1)}return R=et(C,O.j(R)),new yt(O,R)}for(O=p;C.l(R)>=0;){for(k=Math.max(1,Math.floor(C.m()/R.m())),M=(M=Math.ceil(Math.log(k)/Math.LN2))<=48?1:Math.pow(2,M-48),x=(K=u(k)).j(R);G(x)||x.l(C)>0;)x=(K=u(k-=M)).j(R);L(K)&&(K=_),O=O.add(K),C=et(C,x)}return new yt(O,C)}function Bt(C){const R=C.g.length+1,k=[];for(let M=0;M<R;M++)k[M]=C.i(M)<<1|C.i(M-1)>>>31;return new s(k,C.h)}function At(C,R){const k=R>>5;R%=32;const M=C.g.length-k,O=[];for(let K=0;K<M;K++)O[K]=R>0?C.i(K+k)>>>R|C.i(K+k+1)<<32-R:C.i(K+k);return new s(O,C.h)}(r=s.prototype).m=function(){if(G(this))return-rt(this).m();let C=0,R=1;for(let k=0;k<this.g.length;k++){const M=this.i(k);C+=(M>=0?M:4294967296+M)*R,R*=4294967296}return C},r.toString=function(C){if((C=C||10)<2||36<C)throw Error("radix out of range: "+C);if(L(this))return"0";if(G(this))return"-"+rt(this).toString(C);const R=u(Math.pow(C,6));var k=this;let M="";for(;;){const O=kt(k,R).g;let K=(((k=et(k,O.j(R))).g.length>0?k.g[0]:k.h)>>>0).toString(C);if(L(k=O))return K+M;for(;K.length<6;)K="0"+K;M=K+M}},r.i=function(C){return C<0?0:C<this.g.length?this.g[C]:this.h},r.l=function(C){return G(C=et(this,C))?-1:L(C)?0:1},r.abs=function(){return G(this)?rt(this):this},r.add=function(C){const R=Math.max(this.g.length,C.g.length),k=[];let M=0;for(let O=0;O<=R;O++){let K=M+(65535&this.i(O))+(65535&C.i(O)),x=(K>>>16)+(this.i(O)>>>16)+(C.i(O)>>>16);M=x>>>16,K&=65535,x&=65535,k[O]=x<<16|K}return new s(k,-2147483648&k[k.length-1]?-1:0)},r.j=function(C){if(L(this)||L(C))return p;if(G(this))return G(C)?rt(this).j(rt(C)):rt(rt(this).j(C));if(G(C))return rt(this.j(rt(C)));if(this.l(v)<0&&C.l(v)<0)return u(this.m()*C.m());const R=this.g.length+C.g.length,k=[];for(var M=0;M<2*R;M++)k[M]=0;for(M=0;M<this.g.length;M++)for(let O=0;O<C.g.length;O++){const K=this.i(M)>>>16,x=65535&this.i(M),xn=C.i(O)>>>16,Co=65535&C.i(O);k[2*M+2*O]+=x*Co,vt(k,2*M+2*O),k[2*M+2*O+1]+=K*Co,vt(k,2*M+2*O+1),k[2*M+2*O+1]+=x*xn,vt(k,2*M+2*O+1),k[2*M+2*O+2]+=K*xn,vt(k,2*M+2*O+2)}for(C=0;C<R;C++)k[C]=k[2*C+1]<<16|k[2*C];for(C=R;C<2*R;C++)k[C]=0;return new s(k,0)},r.B=function(C){return kt(this,C).h},r.and=function(C){const R=Math.max(this.g.length,C.g.length),k=[];for(let M=0;M<R;M++)k[M]=this.i(M)&C.i(M);return new s(k,this.h&C.h)},r.or=function(C){const R=Math.max(this.g.length,C.g.length),k=[];for(let M=0;M<R;M++)k[M]=this.i(M)|C.i(M);return new s(k,this.h|C.h)},r.xor=function(C){const R=Math.max(this.g.length,C.g.length),k=[];for(let M=0;M<R;M++)k[M]=this.i(M)^C.i(M);return new s(k,this.h^C.h)},n.prototype.digest=n.prototype.A,n.prototype.reset=n.prototype.u,n.prototype.update=n.prototype.v,Go.Md5=n,s.prototype.add=s.prototype.add,s.prototype.multiply=s.prototype.j,s.prototype.modulo=s.prototype.B,s.prototype.compare=s.prototype.l,s.prototype.toNumber=s.prototype.m,s.prototype.toString=s.prototype.toString,s.prototype.getBits=s.prototype.i,s.fromNumber=u,s.fromString=function h(C,R){if(0==C.length)throw Error("number format error: empty string");if((R=R||10)<2||36<R)throw Error("radix out of range: "+R);if("-"==C.charAt(0))return rt(h(C.substring(1),R));if(C.indexOf("-")>=0)throw Error('number format error: interior "-" character');const k=u(Math.pow(R,8));let M=p;for(let K=0;K<C.length;K+=8){var O=Math.min(8,C.length-K);const x=parseInt(C.substring(K,K+O),R);O<8?(O=u(Math.pow(R,O)),M=M.j(O).add(u(x))):(M=M.j(k),M=M.add(u(x)))}return M},Ge=Go.Integer=s}).apply(typeof zo<"u"?zo:typeof self<"u"?self:typeof window<"u"?window:{});var Or,ee,Qn,oo,vn,gr,Ko,mr,ae=Pt(1919),bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},He={};(function(){var r,t=Object.defineProperty,n=function e(c){c=["object"==typeof globalThis&&globalThis,c,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof bn&&bn];for(var d=0;d<c.length;++d){var f=c[d];if(f&&f.Math==Math)return f}throw Error("Cannot find global object")}(this);function o(c,d){if(d)t:{var f=n;c=c.split(".");for(var y=0;y<c.length-1;y++){var $=c[y];if(!($ in f))break t;f=f[$]}(d=d(y=f[c=c[c.length-1]]))!=y&&null!=d&&t(f,c,{configurable:!0,writable:!0,value:d})}}o("Symbol.dispose",function(c){return c||Symbol("Symbol.dispose")}),o("Array.prototype.values",function(c){return c||function(){return this[Symbol.iterator]()}}),o("Object.entries",function(c){return c||function(d){var y,f=[];for(y in d)Object.prototype.hasOwnProperty.call(d,y)&&f.push([y,d[y]]);return f}});var i=i||{},s=this||self;function a(c){var d=typeof c;return"object"==d&&null!=c||"function"==d}function l(c,d,f){return c.call.apply(c.bind,arguments)}function u(c,d,f){return(u=l).apply(null,arguments)}function h(c,d){var f=Array.prototype.slice.call(arguments,1);return function(){var y=f.slice();return y.push.apply(y,arguments),c.apply(this,y)}}function p(c,d){function f(){}f.prototype=d.prototype,c.Z=d.prototype,c.prototype=new f,c.prototype.constructor=c,c.Ob=function(y,$,W){for(var ft=Array(arguments.length-2),Ft=2;Ft<arguments.length;Ft++)ft[Ft-2]=arguments[Ft];return d.prototype[$].apply(y,ft)}}var _=typeof AsyncContext<"u"&&"function"==typeof AsyncContext.Snapshot?c=>c&&AsyncContext.Snapshot.wrap(c):c=>c;function v(c){const d=c.length;if(d>0){const f=Array(d);for(let y=0;y<d;y++)f[y]=c[y];return f}return[]}function L(c,d){for(let y=1;y<arguments.length;y++){const $=arguments[y];var f=typeof $;if("array"==(f="object"!=f?f:$?Array.isArray($)?"array":f:"null")||"object"==f&&"number"==typeof $.length){const W=$.length||0;c.length=(f=c.length||0)+W;for(let ft=0;ft<W;ft++)c[f+ft]=$[ft]}else c.push($)}}function rt(c){s.setTimeout(()=>{throw c},0)}function et(){var c=C;let d=null;return c.g&&(d=c.g,c.g=c.g.next,c.g||(c.h=null),d.next=null),d}var yt=new class G{constructor(d,f){this.i=d,this.j=f,this.h=0,this.g=null}get(){let d;return this.h>0?(this.h--,d=this.g,this.g=d.next,d.next=null):d=this.i(),d}}(()=>new kt,c=>c.reset());class kt{constructor(){this.next=this.g=this.h=null}set(d,f){this.h=d,this.g=f,this.next=null}reset(){this.next=this.g=this.h=null}}let Bt,At=!1,C=new class vt{constructor(){this.h=this.g=null}add(d,f){const y=yt.get();y.set(d,f),this.h?this.h.next=y:this.g=y,this.h=y}},R=()=>{const c=Promise.resolve(void 0);Bt=()=>{c.then(k)}};function k(){for(var c;c=et();){try{c.h.call(c.g)}catch(f){rt(f)}var d=yt;d.j(c),d.h<100&&(d.h++,c.next=d.g,d.g=c)}At=!1}function M(){this.u=this.u,this.C=this.C}function O(c,d){this.type=c,this.g=this.target=d,this.defaultPrevented=!1}M.prototype.u=!1,M.prototype.dispose=function(){this.u||(this.u=!0,this.N())},M.prototype[Symbol.dispose]=function(){this.dispose()},M.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},O.prototype.h=function(){this.defaultPrevented=!0};var K=function(){if(!s.addEventListener||!Object.defineProperty)return!1;var c=!1,d=Object.defineProperty({},"passive",{get:function(){c=!0}});try{const f=()=>{};s.addEventListener("test",f,d),s.removeEventListener("test",f,d)}catch{}return c}();function x(c){return/^[\s\xa0]*$/.test(c)}function xn(c,d){O.call(this,c?c.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,c&&this.init(c,d)}p(xn,O),xn.prototype.init=function(c,d){const f=this.type=c.type,y=c.changedTouches&&c.changedTouches.length?c.changedTouches[0]:null;this.target=c.target||c.srcElement,this.g=d,(d=c.relatedTarget)||("mouseover"==f?d=c.fromElement:"mouseout"==f&&(d=c.toElement)),this.relatedTarget=d,y?(this.clientX=void 0!==y.clientX?y.clientX:y.pageX,this.clientY=void 0!==y.clientY?y.clientY:y.pageY,this.screenX=y.screenX||0,this.screenY=y.screenY||0):(this.clientX=void 0!==c.clientX?c.clientX:c.pageX,this.clientY=void 0!==c.clientY?c.clientY:c.pageY,this.screenX=c.screenX||0,this.screenY=c.screenY||0),this.button=c.button,this.key=c.key||"",this.ctrlKey=c.ctrlKey,this.altKey=c.altKey,this.shiftKey=c.shiftKey,this.metaKey=c.metaKey,this.pointerId=c.pointerId||0,this.pointerType=c.pointerType,this.state=c.state,this.i=c,c.defaultPrevented&&xn.Z.h.call(this)},xn.prototype.h=function(){xn.Z.h.call(this);const c=this.i;c.preventDefault?c.preventDefault():c.returnValue=!1};var Co="closure_listenable_"+(1e6*Math.random()|0),pC=0;function fC(c,d,f,y,$){this.listener=c,this.proxy=null,this.src=d,this.type=f,this.capture=!!y,this.ha=$,this.key=++pC,this.da=this.fa=!1}function Xl(c){c.da=!0,c.listener=null,c.proxy=null,c.src=null,c.ha=null}function Yl(c,d,f){for(const y in c)d.call(f,c[y],y,c)}function qE(c){const d={};for(const f in c)d[f]=c[f];return d}const BE="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function jE(c,d){let f,y;for(let $=1;$<arguments.length;$++){for(f in y=arguments[$],y)c[f]=y[f];for(let W=0;W<BE.length;W++)f=BE[W],Object.prototype.hasOwnProperty.call(y,f)&&(c[f]=y[f])}}function Zl(c){this.src=c,this.g={},this.h=0}function Gg(c,d){const f=d.type;if(f in c.g){var W,y=c.g[f],$=Array.prototype.indexOf.call(y,d,void 0);(W=$>=0)&&Array.prototype.splice.call(y,$,1),W&&(Xl(d),0==c.g[f].length&&(delete c.g[f],c.h--))}}function Kg(c,d,f,y){for(let $=0;$<c.length;++$){const W=c[$];if(!W.da&&W.listener==d&&W.capture==!!f&&W.ha==y)return $}return-1}Zl.prototype.add=function(c,d,f,y,$){const W=c.toString();(c=this.g[W])||(c=this.g[W]=[],this.h++);const ft=Kg(c,d,y,$);return ft>-1?(d=c[ft],f||(d.fa=!1)):((d=new fC(d,this.src,W,!!y,$)).fa=f,c.push(d)),d};var Hg="closure_lm_"+(1e6*Math.random()|0),Wg={};function $E(c,d,f,y,$){if(y&&y.once)return GE(c,d,f,y,$);if(Array.isArray(d)){for(let W=0;W<d.length;W++)$E(c,d[W],f,y,$);return null}return f=Yg(f),c&&c[Co]?c.J(d,f,a(y)?!!y.capture:!!y,$):zE(c,d,f,!1,y,$)}function zE(c,d,f,y,$,W){if(!d)throw Error("Invalid event type");const ft=a($)?!!$.capture:!!$;let Ft=Jg(c);if(Ft||(c[Hg]=Ft=new Zl(c)),(f=Ft.add(d,f,y,ft,W)).proxy)return f;if(y=function mC(){const d=_C;return function c(f){return d.call(c.src,c.listener,f)}}(),f.proxy=y,y.src=c,y.listener=f,c.addEventListener)K||($=ft),void 0===$&&($=!1),c.addEventListener(d.toString(),y,$);else if(c.attachEvent)c.attachEvent(HE(d.toString()),y);else{if(!c.addListener||!c.removeListener)throw Error("addEventListener and attachEvent are unavailable.");c.addListener(y)}return f}function GE(c,d,f,y,$){if(Array.isArray(d)){for(let W=0;W<d.length;W++)GE(c,d[W],f,y,$);return null}return f=Yg(f),c&&c[Co]?c.K(d,f,a(y)?!!y.capture:!!y,$):zE(c,d,f,!0,y,$)}function KE(c,d,f,y,$){if(Array.isArray(d))for(var W=0;W<d.length;W++)KE(c,d[W],f,y,$);else y=a(y)?!!y.capture:!!y,f=Yg(f),c&&c[Co]?(c=c.i,(W=String(d).toString())in c.g&&(f=Kg(d=c.g[W],f,y,$))>-1&&(Xl(d[f]),Array.prototype.splice.call(d,f,1),0==d.length&&(delete c.g[W],c.h--))):c&&(c=Jg(c))&&(d=c.g[d.toString()],c=-1,d&&(c=Kg(d,f,y,$)),(f=c>-1?d[c]:null)&&Qg(f))}function Qg(c){if("number"!=typeof c&&c&&!c.da){var d=c.src;if(d&&d[Co])Gg(d.i,c);else{var f=c.type,y=c.proxy;d.removeEventListener?d.removeEventListener(f,y,c.capture):d.detachEvent?d.detachEvent(HE(f),y):d.addListener&&d.removeListener&&d.removeListener(y),(f=Jg(d))?(Gg(f,c),0==f.h&&(f.src=null,d[Hg]=null)):Xl(c)}}}function HE(c){return c in Wg?Wg[c]:Wg[c]="on"+c}function _C(c,d){if(c.da)c=!0;else{d=new xn(d,this);const f=c.listener,y=c.ha||c.src;c.fa&&Qg(c),c=f.call(y,d)}return c}function Jg(c){return(c=c[Hg])instanceof Zl?c:null}var Xg="__closure_events_fn_"+(1e9*Math.random()>>>0);function Yg(c){return"function"==typeof c?c:(c[Xg]||(c[Xg]=function(d){return c.handleEvent(d)}),c[Xg])}function pn(){M.call(this),this.i=new Zl(this),this.M=this,this.G=null}function _n(c,d){var f,y=c.G;if(y)for(f=[];y;y=y.G)f.push(y);if(c=c.M,y=d.type||d,"string"==typeof d)d=new O(d,c);else if(d instanceof O)d.target=d.target||c;else{var $=d;jE(d=new O(y,c),$)}let W,ft;if($=!0,f)for(ft=f.length-1;ft>=0;ft--)W=d.g=f[ft],$=tu(W,y,!0,d)&&$;if(W=d.g=c,$=tu(W,y,!0,d)&&$,$=tu(W,y,!1,d)&&$,f)for(ft=0;ft<f.length;ft++)W=d.g=f[ft],$=tu(W,y,!1,d)&&$}function tu(c,d,f,y){if(!(d=c.i.g[String(d)]))return!0;d=d.concat();let $=!0;for(let W=0;W<d.length;++W){const ft=d[W];if(ft&&!ft.da&&ft.capture==f){const Ft=ft.listener,ze=ft.ha||ft.src;ft.fa&&Gg(c.i,ft),$=!1!==Ft.call(ze,y)&&$}}return $&&!y.defaultPrevented}function WE(c){c.g=function yC(c,d){if("function"!=typeof c){if(!c||"function"!=typeof c.handleEvent)throw Error("Invalid listener argument");c=u(c.handleEvent,c)}return Number(d)>2147483647?-1:s.setTimeout(c,d||0)}(()=>{c.g=null,c.i&&(c.i=!1,WE(c))},c.l);const d=c.h;c.h=null,c.m.apply(null,d)}p(pn,M),pn.prototype[Co]=!0,pn.prototype.removeEventListener=function(c,d,f,y){KE(this,c,d,f,y)},pn.prototype.N=function(){if(pn.Z.N.call(this),this.i){var c=this.i;for(const d in c.g){const f=c.g[d];for(let y=0;y<f.length;y++)Xl(f[y]);delete c.g[d],c.h--}}this.G=null},pn.prototype.J=function(c,d,f,y){return this.i.add(String(c),d,!1,f,y)},pn.prototype.K=function(c,d,f,y){return this.i.add(String(c),d,!0,f,y)};class wC extends M{constructor(d,f){super(),this.m=d,this.l=f,this.h=null,this.i=!1,this.g=null}j(d){this.h=arguments,this.g?this.i=!0:WE(this)}N(){super.N(),this.g&&(s.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function Ja(c){M.call(this),this.h=c,this.g={}}p(Ja,M);var QE=[];function JE(c){Yl(c.g,function(d,f){this.g.hasOwnProperty(f)&&Qg(d)},c),c.g={}}Ja.prototype.N=function(){Ja.Z.N.call(this),JE(this)},Ja.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var Zg=s.JSON.stringify,bC=s.JSON.parse,vC=class{stringify(c){return s.JSON.stringify(c,void 0)}parse(c){return s.JSON.parse(c,void 0)}};function XE(){}function YE(){}var Xa={OPEN:"a",hb:"b",ERROR:"c",tb:"d"};function tm(){O.call(this,"d")}function em(){O.call(this,"c")}p(tm,O),p(em,O);var bi={},ZE=null;function eu(){return ZE=ZE||new pn}function tI(c){O.call(this,bi.Ia,c)}function Ya(c){const d=eu();_n(d,new tI(d))}function eI(c,d){O.call(this,bi.STAT_EVENT,c),this.stat=d}function yn(c){const d=eu();_n(d,new eI(d,c))}function nI(c,d){O.call(this,bi.Ja,c),this.size=d}function Za(c,d){if("function"!=typeof c)throw Error("Fn must not be null and must be a function");return s.setTimeout(function(){c()},d)}function tc(){this.g=!0}function ws(c,d,f,y){c.info(function(){return"XMLHTTP TEXT ("+d+"): "+function AC(c,d){if(!c.g)return d;if(!d)return null;try{const W=JSON.parse(d);if(W)for(c=0;c<W.length;c++)if(Array.isArray(W[c])){var f=W[c];if(!(f.length<2)){var y=f[1];if(Array.isArray(y)&&!(y.length<1)){var $=y[0];if("noop"!=$&&"stop"!=$&&"close"!=$)for(let ft=1;ft<y.length;ft++)y[ft]=""}}}return Zg(W)}catch{return d}}(c,f)+(y?" "+y:"")})}bi.Ia="serverreachability",p(tI,O),bi.STAT_EVENT="statevent",p(eI,O),bi.Ja="timingevent",p(nI,O),tc.prototype.ua=function(){this.g=!1},tc.prototype.info=function(){};var oI,nu={NO_ERROR:0,cb:1,qb:2,pb:3,kb:4,ob:5,rb:6,Ga:7,TIMEOUT:8,ub:9},rI={ib:"complete",Fb:"success",ERROR:"error",Ga:"abort",xb:"ready",yb:"readystatechange",TIMEOUT:"timeout",sb:"incrementaldata",wb:"progress",lb:"downloadprogress",Nb:"uploadprogress"};function nm(){}function ec(c){return encodeURIComponent(String(c))}function RC(c){var d=1;c=c.split(":");const f=[];for(;d>0&&c.length;)f.push(c.shift()),d--;return c.length&&f.push(c.join(":")),f}function Do(c,d,f,y){this.j=c,this.i=d,this.l=f,this.S=y||1,this.V=new Ja(this),this.H=45e3,this.J=null,this.o=!1,this.u=this.B=this.A=this.M=this.F=this.T=this.D=null,this.G=[],this.g=null,this.C=0,this.m=this.v=null,this.X=-1,this.K=!1,this.P=0,this.O=null,this.W=this.L=this.U=this.R=!1,this.h=new iI}function iI(){this.i=null,this.g="",this.h=!1}p(nm,XE),nm.prototype.g=function(){return new XMLHttpRequest},oI=new nm;var sI={},rm={};function om(c,d,f){c.M=1,c.A=ou(Pr(d)),c.u=f,c.R=!0,aI(c,null)}function aI(c,d){c.F=Date.now(),ru(c),c.B=Pr(c.A);var f=c.B,y=c.S;Array.isArray(y)||(y=[String(y)]),bI(f.i,"t",y),c.C=0,f=c.j.L,c.h=new iI,c.g=FI(c.j,f?d:null,!c.u),c.P>0&&(c.O=new wC(u(c.Y,c,c.g),c.P)),d=c.V,f=c.g,y=c.ba;var $="readystatechange";Array.isArray($)||($&&(QE[0]=$.toString()),$=QE);for(let W=0;W<$.length;W++){const ft=$E(f,$[W],y||d.handleEvent,!1,d.h||d);if(!ft)break;d.g[ft.key]=ft}d=c.J?qE(c.J):{},c.u?(c.v||(c.v="POST"),d["Content-Type"]="application/x-www-form-urlencoded",c.g.ea(c.B,c.v,c.u,d)):(c.v="GET",c.g.ea(c.B,c.v,null,d)),Ya(),function EC(c,d,f,y,$,W){c.info(function(){if(c.g)if(W){var ft="",Ft=W.split("&");for(let se=0;se<Ft.length;se++){var ze=Ft[se].split("=");if(ze.length>1){const Ye=ze[0];ze=ze[1];const xr=Ye.split("_");ft=xr.length>=2&&"type"==xr[1]?ft+(Ye+"=")+ze+"&":ft+(Ye+"=redacted&")}}}else ft=null;else ft=W;return"XMLHTTP REQ ("+y+") [attempt "+$+"]: "+d+"\n"+f+"\n"+ft})}(c.i,c.v,c.B,c.l,c.S,c.u)}function cI(c){return!!c.g&&"GET"==c.v&&2!=c.M&&c.j.Aa}function PC(c,d){var f=c.C,y=d.indexOf("\n",f);return-1==y?rm:(f=Number(d.substring(f,y)),isNaN(f)?sI:(y+=1)+f>d.length?rm:(d=d.slice(y,y+f),c.C=y+f,d))}function ru(c){c.T=Date.now()+c.H,lI(c,c.H)}function lI(c,d){if(null!=c.D)throw Error("WatchDog timer not null");c.D=Za(u(c.aa,c),d)}function im(c){c.D&&(s.clearTimeout(c.D),c.D=null)}function nc(c){0==c.j.I||c.K||OI(c.j,c)}function vi(c){im(c);var d=c.O;d&&"function"==typeof d.dispose&&d.dispose(),c.O=null,JE(c.V),c.g&&(d=c.g,c.g=null,d.abort(),d.dispose())}function sm(c,d){try{var f=c.j;if(0!=f.I&&(f.g==c||am(f.h,c)))if(!c.L&&am(f.h,c)&&3==f.I){try{var y=f.Ba.g.parse(d)}catch{y=null}if(Array.isArray(y)&&3==y.length){var $=y;if(0==$[0]){t:if(!f.v){if(f.g){if(!(f.g.F+3e3<c.F))break t;uu(f),cu(f)}dm(f),yn(18)}}else f.xa=$[1],0<f.xa-f.K&&$[2]<37500&&f.F&&0==f.A&&!f.C&&(f.C=Za(u(f.Va,f),6e3));dI(f.h)<=1&&f.ta&&(f.ta=void 0)}else Ii(f,11)}else if((c.L||f.g==c)&&uu(f),!x(d))for($=f.Ba.g.parse(d),d=0;d<$.length;d++){let se=$[d];const Ye=se[0];if(!(Ye<=f.K))if(f.K=Ye,se=se[1],2==f.I)if("c"==se[0]){f.M=se[1],f.ba=se[2];const xr=se[3];null!=xr&&(f.ka=xr,f.j.info("VER="+f.ka));const Ti=se[4];null!=Ti&&(f.za=Ti,f.j.info("SVER="+f.za));const Lo=se[5];null!=Lo&&"number"==typeof Lo&&Lo>0&&(f.O=y=1.5*Lo,f.j.info("backChannelRequestTimeoutMs_="+y)),y=f;const Mo=c.g;if(Mo){const du=Mo.g?Mo.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(du){var W=y.h;W.g||-1==du.indexOf("spdy")&&-1==du.indexOf("quic")&&-1==du.indexOf("h2")||(W.j=W.l,W.g=new Set,W.h&&(cm(W,W.h),W.h=null))}if(y.G){const fm=Mo.g?Mo.g.getResponseHeader("X-HTTP-Session-Id"):null;fm&&(y.wa=fm,me(y.J,y.G,fm))}}f.I=3,f.l&&f.l.ra(),f.aa&&(f.T=Date.now()-c.F,f.j.info("Handshake RTT: "+f.T+"ms"));var ft=c;if((y=f).na=MI(y,y.L?y.ba:null,y.W),ft.L){pI(y.h,ft);var Ft=ft,ze=y.O;ze&&(Ft.H=ze),Ft.D&&(im(Ft),ru(Ft)),y.g=ft}else DI(y);f.i.length>0&&lu(f)}else"stop"!=se[0]&&"close"!=se[0]||Ii(f,7);else 3==f.I&&("stop"==se[0]||"close"==se[0]?"stop"==se[0]?Ii(f,7):hm(f):"noop"!=se[0]&&f.l&&f.l.qa(se),f.A=0)}Ya()}catch{}}Do.prototype.ba=function(c){c=c.target;const d=this.O;d&&3==Vo(c)?d.j():this.Y(c)},Do.prototype.Y=function(c){try{if(c==this.g)t:{const Ft=Vo(this.g),ze=this.g.ya();if(this.g.ca(),!(Ft<3)&&(3!=Ft||this.g&&(this.h.h||this.g.la()||SI(this.g)))){this.K||4!=Ft||7==ze||Ya(),im(this);var d=this.g.ca();this.X=d;var f=function SC(c){if(!cI(c))return c.g.la();const d=SI(c.g);if(""===d)return"";let f="";const y=d.length,$=4==Vo(c.g);if(!c.h.i){if(typeof TextDecoder>"u")return vi(c),nc(c),"";c.h.i=new s.TextDecoder}for(let W=0;W<y;W++)c.h.h=!0,f+=c.h.i.decode(d[W],{stream:!($&&W==y-1)});return d.length=0,c.h.g+=f,c.C=0,c.h.g}(this);if(this.o=200==d,function IC(c,d,f,y,$,W,ft){c.info(function(){return"XMLHTTP RESP ("+y+") [ attempt "+$+"]: "+d+"\n"+f+"\n"+W+" "+ft})}(this.i,this.v,this.B,this.l,this.S,Ft,d),this.o){if(this.U&&!this.L){e:{if(this.g){var y,$=this.g;if((y=$.g?$.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!x(y)){var W=y;break e}}W=null}if(!(c=W)){this.o=!1,this.m=3,yn(12),vi(this),nc(this);break t}ws(this.i,this.l,c,"Initial handshake response via X-HTTP-Initial-Response"),this.L=!0,sm(this,c)}if(this.R){let Ye;for(c=!0;!this.K&&this.C<f.length;){if(Ye=PC(this,f),Ye==rm){4==Ft&&(this.m=4,yn(14),c=!1),ws(this.i,this.l,null,"[Incomplete Response]");break}if(Ye==sI){this.m=4,yn(15),ws(this.i,this.l,f,"[Invalid Chunk]"),c=!1;break}ws(this.i,this.l,Ye,null),sm(this,Ye)}if(cI(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=Ft||0!=f.length||this.h.h||(this.m=1,yn(16),c=!1),this.o=this.o&&c,c){if(f.length>0&&!this.W){this.W=!0;var ft=this.j;ft.g==this&&ft.aa&&!ft.P&&(ft.j.info("Great, no buffering proxy detected. Bytes received: "+f.length),pm(ft),ft.P=!0,yn(11))}}else ws(this.i,this.l,f,"[Invalid Chunked Response]"),vi(this),nc(this)}else ws(this.i,this.l,f,null),sm(this,f);4==Ft&&vi(this),this.o&&!this.K&&(4==Ft?OI(this.j,this):(this.o=!1,ru(this)))}else(function jC(c){const d={};c=(c.g&&Vo(c)>=2&&c.g.getAllResponseHeaders()||"").split("\r\n");for(let y=0;y<c.length;y++){if(x(c[y]))continue;var f=RC(c[y]);const $=f[0];if("string"!=typeof(f=f[1]))continue;f=f.trim();const W=d[$]||[];d[$]=W,W.push(f)}!function gC(c,d){for(const f in c)d.call(void 0,c[f],f,c)}(d,function(y){return y.join(", ")})})(this.g),400==d&&f.indexOf("Unknown SID")>0?(this.m=3,yn(12)):(this.m=0,yn(13)),vi(this),nc(this)}}}catch{}},Do.prototype.cancel=function(){this.K=!0,vi(this)},Do.prototype.aa=function(){this.D=null;const c=Date.now();c-this.T>=0?(function TC(c,d){c.info(function(){return"TIMEOUT: "+d})}(this.i,this.B),2!=this.M&&(Ya(),yn(17)),vi(this),this.m=2,nc(this)):lI(this,this.T-c)};var xC=class{constructor(c,d){this.g=c,this.map=d}};function uI(c){this.l=c||10,c=s.PerformanceNavigationTiming?(c=s.performance.getEntriesByType("navigation")).length>0&&("hq"==c[0].nextHopProtocol||"h2"==c[0].nextHopProtocol):!!(s.chrome&&s.chrome.loadTimes&&s.chrome.loadTimes()&&s.chrome.loadTimes().wasFetchedViaSpdy),this.j=c?this.l:1,this.g=null,this.j>1&&(this.g=new Set),this.h=null,this.i=[]}function hI(c){return!!c.h||!!c.g&&c.g.size>=c.j}function dI(c){return c.h?1:c.g?c.g.size:0}function am(c,d){return c.h?c.h==d:!!c.g&&c.g.has(d)}function cm(c,d){c.g?c.g.add(d):c.h=d}function pI(c,d){c.h&&c.h==d?c.h=null:c.g&&c.g.has(d)&&c.g.delete(d)}function fI(c){if(null!=c.h)return c.i.concat(c.h.G);if(null!=c.g&&0!==c.g.size){let d=c.i;for(const f of c.g.values())d=d.concat(f.G);return d}return v(c.i)}uI.prototype.cancel=function(){if(this.i=fI(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(const c of this.g.values())c.cancel();this.g.clear()}};var gI=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function No(c){let d;this.g=this.o=this.j="",this.u=null,this.m=this.h="",this.l=!1,c instanceof No?(this.l=c.l,rc(this,c.j),this.o=c.o,this.g=c.g,oc(this,c.u),this.h=c.h,lm(this,vI(c.i)),this.m=c.m):c&&(d=String(c).match(gI))?(this.l=!1,rc(this,d[1]||"",!0),this.o=ic(d[2]||""),this.g=ic(d[3]||"",!0),oc(this,d[4]),this.h=ic(d[5]||"",!0),lm(this,d[6]||"",!0),this.m=ic(d[7]||"")):(this.l=!1,this.i=new ac(null,this.l))}function Pr(c){return new No(c)}function rc(c,d,f){c.j=f?ic(d,!0):d,c.j&&(c.j=c.j.replace(/:$/,""))}function oc(c,d){if(d){if(d=Number(d),isNaN(d)||d<0)throw Error("Bad port number "+d);c.u=d}else c.u=null}function lm(c,d,f){d instanceof ac?(c.i=d,function LC(c,d){d&&!c.j&&(Ei(c),c.i=null,c.g.forEach(function(f,y){const $=y.toLowerCase();y!=$&&(_I(this,y),bI(this,$,f))},c)),c.j=d}(c.i,c.l)):(f||(d=sc(d,OC)),c.i=new ac(d,c.l))}function me(c,d,f){c.i.set(d,f)}function ou(c){return me(c,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),c}function ic(c,d){return c?d?decodeURI(c.replace(/%25/g,"%2525")):decodeURIComponent(c):""}function sc(c,d,f){return"string"==typeof c?(c=encodeURI(c).replace(d,CC),f&&(c=c.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c):null}function CC(c){return"%"+((c=c.charCodeAt(0))>>4&15).toString(16)+(15&c).toString(16)}No.prototype.toString=function(){const c=[];var d=this.j;d&&c.push(sc(d,mI,!0),":");var f=this.g;return(f||"file"==d)&&(c.push("//"),(d=this.o)&&c.push(sc(d,mI,!0),"@"),c.push(ec(f).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(f=this.u)&&c.push(":",String(f))),(f=this.h)&&(this.g&&"/"!=f.charAt(0)&&c.push("/"),c.push(sc(f,"/"==f.charAt(0)?NC:DC,!0))),(f=this.i.toString())&&c.push("?",f),(f=this.m)&&c.push("#",sc(f,VC)),c.join("")},No.prototype.resolve=function(c){const d=Pr(this);let f=!!c.j;f?rc(d,c.j):f=!!c.o,f?d.o=c.o:f=!!c.g,f?d.g=c.g:f=null!=c.u;var y=c.h;if(f)oc(d,c.u);else if(f=!!c.h){if("/"!=y.charAt(0))if(this.g&&!this.h)y="/"+y;else{var $=d.h.lastIndexOf("/");-1!=$&&(y=d.h.slice(0,$+1)+y)}if(".."==($=y)||"."==$)y="";else if(-1!=$.indexOf("./")||-1!=$.indexOf("/.")){y=0==$.lastIndexOf("/",0),$=$.split("/");const W=[];for(let ft=0;ft<$.length;){const Ft=$[ft++];"."==Ft?y&&ft==$.length&&W.push(""):".."==Ft?((W.length>1||1==W.length&&""!=W[0])&&W.pop(),y&&ft==$.length&&W.push("")):(W.push(Ft),y=!0)}y=W.join("/")}else y=$}return f?d.h=y:f=""!==c.i.toString(),f?lm(d,vI(c.i)):f=!!c.m,f&&(d.m=c.m),d};var mI=/[#\/\?@]/g,DC=/[#\?:]/g,NC=/[#\?]/g,OC=/[#\?@]/g,VC=/#/g;function ac(c,d){this.h=this.g=null,this.i=c||null,this.j=!!d}function Ei(c){c.g||(c.g=new Map,c.h=0,c.i&&function kC(c,d){if(c){c=c.split("&");for(let f=0;f<c.length;f++){const y=c[f].indexOf("=");let $,W=null;y>=0?($=c[f].substring(0,y),W=c[f].substring(y+1)):$=c[f],d($,W?decodeURIComponent(W.replace(/\+/g," ")):"")}}}(c.i,function(d,f){c.add(decodeURIComponent(d.replace(/\+/g," ")),f)}))}function _I(c,d){Ei(c),d=bs(c,d),c.g.has(d)&&(c.i=null,c.h-=c.g.get(d).length,c.g.delete(d))}function yI(c,d){return Ei(c),d=bs(c,d),c.g.has(d)}function wI(c,d){Ei(c);let f=[];if("string"==typeof d)yI(c,d)&&(f=f.concat(c.g.get(bs(c,d))));else for(c=Array.from(c.g.values()),d=0;d<c.length;d++)f=f.concat(c[d]);return f}function bI(c,d,f){_I(c,d),f.length>0&&(c.i=null,c.g.set(bs(c,d),v(f)),c.h+=f.length)}function vI(c){const d=new ac;return d.i=c.i,c.g&&(d.g=new Map(c.g),d.h=c.h),d}function bs(c,d){return d=String(d),c.j&&(d=d.toLowerCase()),d}function Oo(c,d,f,y,$){try{$&&($.onload=null,$.onerror=null,$.onabort=null,$.ontimeout=null),y(f)}catch{}}function UC(){this.g=new vC}function iu(c){this.i=c.Sb||null,this.h=c.ab||!1}function su(c,d){pn.call(this),this.H=c,this.o=d,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.A=new Headers,this.h=null,this.F="GET",this.D="",this.g=!1,this.B=this.j=this.l=null,this.v=new AbortController}function EI(c){c.j.read().then(c.Ma.bind(c)).catch(c.ga.bind(c))}function cc(c){c.readyState=4,c.l=null,c.j=null,c.B=null,lc(c)}function lc(c){c.onreadystatechange&&c.onreadystatechange.call(c)}function II(c){let d="";return Yl(c,function(f,y){d+=y,d+=":",d+=f,d+="\r\n"}),d}function um(c,d,f){t:{for(y in f){var y=!1;break t}y=!0}y||(f=II(f),"string"==typeof c?null!=f&&ec(f):me(c,d,f))}function xe(c){pn.call(this),this.headers=new Map,this.L=c||null,this.h=!1,this.g=null,this.D="",this.o=0,this.l="",this.j=this.B=this.v=this.A=!1,this.m=null,this.F="",this.H=!1}(r=ac.prototype).add=function(c,d){Ei(this),this.i=null,c=bs(this,c);let f=this.g.get(c);return f||this.g.set(c,f=[]),f.push(d),this.h+=1,this},r.forEach=function(c,d){Ei(this),this.g.forEach(function(f,y){f.forEach(function($){c.call(d,$,y,this)},this)},this)},r.set=function(c,d){return Ei(this),this.i=null,yI(this,c=bs(this,c))&&(this.h-=this.g.get(c).length),this.g.set(c,[d]),this.h+=1,this},r.get=function(c,d){return c&&(c=wI(this,c)).length>0?String(c[0]):d},r.toString=function(){if(this.i)return this.i;if(!this.g)return"";const c=[],d=Array.from(this.g.keys());for(let y=0;y<d.length;y++){var f=d[y];const $=ec(f);f=wI(this,f);for(let W=0;W<f.length;W++){let ft=$;""!==f[W]&&(ft+="="+ec(f[W])),c.push(ft)}}return this.i=c.join("&")},p(iu,XE),iu.prototype.g=function(){return new su(this.i,this.h)},p(su,pn),(r=su.prototype).open=function(c,d){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.F=c,this.D=d,this.readyState=1,lc(this)},r.send=function(c){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");if(this.v.signal.aborted)throw this.abort(),Error("Request was aborted.");this.g=!0;const d={headers:this.A,method:this.F,credentials:this.m,cache:void 0,signal:this.v.signal};c&&(d.body=c),(this.H||s).fetch(new Request(this.D,d)).then(this.Pa.bind(this),this.ga.bind(this))},r.abort=function(){this.response=this.responseText="",this.A=new Headers,this.status=0,this.v.abort(),this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),this.readyState>=1&&this.g&&4!=this.readyState&&(this.g=!1,cc(this)),this.readyState=0},r.Pa=function(c){if(this.g&&(this.l=c,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=c.headers,this.readyState=2,lc(this)),this.g&&(this.readyState=3,lc(this),this.g)))if("arraybuffer"===this.responseType)c.arrayBuffer().then(this.Na.bind(this),this.ga.bind(this));else if(typeof s.ReadableStream<"u"&&"body"in c){if(this.j=c.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.B=new TextDecoder;EI(this)}else c.text().then(this.Oa.bind(this),this.ga.bind(this))},r.Ma=function(c){if(this.g){if(this.o&&c.value)this.response.push(c.value);else if(!this.o){var d=c.value?c.value:new Uint8Array(0);(d=this.B.decode(d,{stream:!c.done}))&&(this.response=this.responseText+=d)}c.done?cc(this):lc(this),3==this.readyState&&EI(this)}},r.Oa=function(c){this.g&&(this.response=this.responseText=c,cc(this))},r.Na=function(c){this.g&&(this.response=c,cc(this))},r.ga=function(){this.g&&cc(this)},r.setRequestHeader=function(c,d){this.A.append(c,d)},r.getResponseHeader=function(c){return this.h&&this.h.get(c.toLowerCase())||""},r.getAllResponseHeaders=function(){if(!this.h)return"";const c=[],d=this.h.entries();for(var f=d.next();!f.done;)c.push((f=f.value)[0]+": "+f[1]),f=d.next();return c.join("\r\n")},Object.defineProperty(su.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(c){this.m=c?"include":"same-origin"}}),p(xe,pn);var qC=/^https?$/i,BC=["POST","PUT"];function TI(c,d){c.h=!1,c.g&&(c.j=!0,c.g.abort(),c.j=!1),c.l=d,c.o=5,AI(c),au(c)}function AI(c){c.A||(c.A=!0,_n(c,"complete"),_n(c,"error"))}function RI(c){if(c.h&&typeof i<"u")if(c.v&&4==Vo(c))setTimeout(c.Ca.bind(c),0);else if(_n(c,"readystatechange"),4==Vo(c)){c.h=!1;try{const W=c.ca();t:switch(W){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var d=!0;break t;default:d=!1}var f;if(!(f=d)){var y;if(y=0===W){let ft=String(c.D).match(gI)[1]||null;!ft&&s.self&&s.self.location&&(ft=s.self.location.protocol.slice(0,-1)),y=!qC.test(ft?ft.toLowerCase():"")}f=y}if(f)_n(c,"complete"),_n(c,"success");else{c.o=6;try{var $=Vo(c)>2?c.g.statusText:""}catch{$=""}c.l=$+" ["+c.ca()+"]",AI(c)}}finally{au(c)}}}function au(c,d){if(c.g){c.m&&(clearTimeout(c.m),c.m=null);const f=c.g;c.g=null,d||_n(c,"ready");try{f.onreadystatechange=null}catch{}}}function Vo(c){return c.g?c.g.readyState:0}function SI(c){try{if(!c.g)return null;if("response"in c.g)return c.g.response;switch(c.F){case"":case"text":return c.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in c.g)return c.g.mozResponseArrayBuffer}return null}catch{return null}}function uc(c,d,f){return f&&f.internalChannelParams&&f.internalChannelParams[c]||d}function PI(c){this.za=0,this.i=[],this.j=new tc,this.ba=this.na=this.J=this.W=this.g=this.wa=this.G=this.H=this.u=this.U=this.o=null,this.Ya=this.V=0,this.Sa=uc("failFast",!1,c),this.F=this.C=this.v=this.m=this.l=null,this.X=!0,this.xa=this.K=-1,this.Y=this.A=this.D=0,this.Qa=uc("baseRetryDelayMs",5e3,c),this.Za=uc("retryDelaySeedMs",1e4,c),this.Ta=uc("forwardChannelMaxRetries",2,c),this.va=uc("forwardChannelRequestTimeoutMs",2e4,c),this.ma=c&&c.xmlHttpFactory||void 0,this.Ua=c&&c.Rb||void 0,this.Aa=c&&c.useFetchStreams||!1,this.O=void 0,this.L=c&&c.supportsCrossDomainXhr||!1,this.M="",this.h=new uI(c&&c.concurrentRequestLimit),this.Ba=new UC,this.S=c&&c.fastHandshake||!1,this.R=c&&c.encodeInitMessageHeaders||!1,this.S&&this.R&&(this.R=!1),this.Ra=c&&c.Pb||!1,c&&c.ua&&this.j.ua(),c&&c.forceLongPolling&&(this.X=!1),this.aa=!this.S&&this.X&&c&&c.detectBufferingProxy||!1,this.ia=void 0,c&&c.longPollingTimeout&&c.longPollingTimeout>0&&(this.ia=c.longPollingTimeout),this.ta=void 0,this.T=0,this.P=!1,this.ja=this.B=null}function hm(c){if(xI(c),3==c.I){var d=c.V++,f=Pr(c.J);if(me(f,"SID",c.M),me(f,"RID",d),me(f,"TYPE","terminate"),hc(c,f),(d=new Do(c,c.j,d)).M=2,d.A=ou(Pr(f)),f=!1,s.navigator&&s.navigator.sendBeacon)try{f=s.navigator.sendBeacon(d.A.toString(),"")}catch{}!f&&s.Image&&((new Image).src=d.A,f=!0),f||(d.g=FI(d.j,null),d.g.ea(d.A)),d.F=Date.now(),ru(d)}LI(c)}function cu(c){c.g&&(pm(c),c.g.cancel(),c.g=null)}function xI(c){cu(c),c.v&&(s.clearTimeout(c.v),c.v=null),uu(c),c.h.cancel(),c.m&&("number"==typeof c.m&&s.clearTimeout(c.m),c.m=null)}function lu(c){if(!hI(c.h)&&!c.m){c.m=!0;var d=c.Ea;Bt||R(),At||(Bt(),At=!0),C.add(d,c),c.D=0}}function kI(c,d){var f;f=d?d.l:c.V++;const y=Pr(c.J);me(y,"SID",c.M),me(y,"RID",f),me(y,"AID",c.K),hc(c,y),c.u&&c.o&&um(y,c.u,c.o),f=new Do(c,c.j,f,c.D+1),null===c.u&&(f.J=c.o),d&&(c.i=d.G.concat(c.i)),d=CI(c,f,1e3),f.H=Math.round(.5*c.va)+Math.round(.5*c.va*Math.random()),cm(c.h,f),om(f,y,d)}function hc(c,d){c.H&&Yl(c.H,function(f,y){me(d,y,f)}),c.l&&Yl({},function(f,y){me(d,y,f)})}function CI(c,d,f){f=Math.min(c.i.length,f);const y=c.l?u(c.l.Ka,c.l,c):null;t:{var $=c.i;let Ft=-1;for(;;){const ze=["count="+f];-1==Ft?f>0?(Ft=$[0].g,ze.push("ofs="+Ft)):Ft=0:ze.push("ofs="+Ft);let se=!0;for(let Ye=0;Ye<f;Ye++){var W=$[Ye].g;const xr=$[Ye].map;if((W-=Ft)<0)Ft=Math.max(0,$[Ye].g-100),se=!1;else try{W="req"+W+"_"||0;try{var ft=xr instanceof Map?xr:Object.entries(xr);for(const[Ti,Lo]of ft){let Mo=Lo;a(Lo)&&(Mo=Zg(Lo)),ze.push(W+Ti+"="+encodeURIComponent(Mo))}}catch(Ti){throw ze.push(W+"type="+encodeURIComponent("_badmap")),Ti}}catch{y&&y(xr)}}if(se){ft=ze.join("&");break t}}ft=void 0}return c=c.i.splice(0,f),d.G=c,ft}function DI(c){if(!c.g&&!c.v){c.Y=1;var d=c.Da;Bt||R(),At||(Bt(),At=!0),C.add(d,c),c.A=0}}function dm(c){return!(c.g||c.v||c.A>=3||(c.Y++,c.v=Za(u(c.Da,c),VI(c,c.A)),c.A++,0))}function pm(c){null!=c.B&&(s.clearTimeout(c.B),c.B=null)}function NI(c){c.g=new Do(c,c.j,"rpc",c.Y),null===c.u&&(c.g.J=c.o),c.g.P=0;var d=Pr(c.na);me(d,"RID","rpc"),me(d,"SID",c.M),me(d,"AID",c.K),me(d,"CI",c.F?"0":"1"),!c.F&&c.ia&&me(d,"TO",c.ia),me(d,"TYPE","xmlhttp"),hc(c,d),c.u&&c.o&&um(d,c.u,c.o),c.O&&(c.g.H=c.O);var f=c.g;c=c.ba,f.M=1,f.A=ou(Pr(d)),f.u=null,f.R=!0,aI(f,c)}function uu(c){null!=c.C&&(s.clearTimeout(c.C),c.C=null)}function OI(c,d){var f=null;if(c.g==d){uu(c),pm(c),c.g=null;var y=2}else{if(!am(c.h,d))return;f=d.G,pI(c.h,d),y=1}if(0!=c.I)if(d.o)if(1==y){f=d.u?d.u.length:0,d=Date.now()-d.F;var $=c.D;_n(y=eu(),new nI(y,f)),lu(c)}else DI(c);else if(3==($=d.m)||0==$&&d.X>0||!(1==y&&function $C(c,d){return!(dI(c.h)>=c.h.j-(c.m?1:0)||(c.m?(c.i=d.G.concat(c.i),0):1==c.I||2==c.I||c.D>=(c.Sa?0:c.Ta)||(c.m=Za(u(c.Ea,c,d),VI(c,c.D)),c.D++,0)))}(c,d)||2==y&&dm(c)))switch(f&&f.length>0&&(d=c.h,d.i=d.i.concat(f)),$){case 1:Ii(c,5);break;case 4:Ii(c,10);break;case 3:Ii(c,6);break;default:Ii(c,2)}}function VI(c,d){let f=c.Qa+Math.floor(Math.random()*c.Za);return c.isActive()||(f*=2),f*d}function Ii(c,d){if(c.j.info("Error code "+d),2==d){var f=u(c.bb,c),y=c.Ua;const $=!y;y=new No(y||"//www.google.com/images/cleardot.gif"),s.location&&"http"==s.location.protocol||rc(y,"https"),ou(y),$?function MC(c,d){const f=new tc;if(s.Image){const y=new Image;y.onload=h(Oo,f,"TestLoadImage: loaded",!0,d,y),y.onerror=h(Oo,f,"TestLoadImage: error",!1,d,y),y.onabort=h(Oo,f,"TestLoadImage: abort",!1,d,y),y.ontimeout=h(Oo,f,"TestLoadImage: timeout",!1,d,y),s.setTimeout(function(){y.ontimeout&&y.ontimeout()},1e4),y.src=c}else d(!1)}(y.toString(),f):function FC(c,d){new tc;const y=new AbortController,$=setTimeout(()=>{y.abort(),Oo(0,0,!1,d)},1e4);fetch(c,{signal:y.signal}).then(W=>{clearTimeout($),Oo(0,0,!!W.ok,d)}).catch(()=>{clearTimeout($),Oo(0,0,!1,d)})}(y.toString(),f)}else yn(2);c.I=0,c.l&&c.l.pa(d),LI(c),xI(c)}function LI(c){if(c.I=0,c.ja=[],c.l){const d=fI(c.h);(0!=d.length||0!=c.i.length)&&(L(c.ja,d),L(c.ja,c.i),c.h.i.length=0,v(c.i),c.i.length=0),c.l.oa()}}function MI(c,d,f){var y=f instanceof No?Pr(f):new No(f);if(""!=y.g)d&&(y.g=d+"."+y.g),oc(y,y.u);else{var $=s.location;y=$.protocol,d=d?d+"."+$.hostname:$.hostname,$=+$.port;const W=new No(null);y&&rc(W,y),d&&(W.g=d),$&&oc(W,$),f&&(W.h=f),y=W}return d=c.wa,(f=c.G)&&d&&me(y,f,d),me(y,"VER",c.ka),hc(c,y),y}function FI(c,d,f){if(d&&!c.L)throw Error("Can't create secondary domain capable XhrIo object.");return(d=new xe(c.Aa&&!c.ma?new iu({ab:f}):c.ma)).Fa(c.L),d}function UI(){}function hu(){}function Gn(c,d){pn.call(this),this.g=new PI(d),this.l=c,this.h=d&&d.messageUrlParams||null,c=d&&d.messageHeaders||null,d&&d.clientProtocolHeaderRequired&&(c?c["X-Client-Protocol"]="webchannel":c={"X-Client-Protocol":"webchannel"}),this.g.o=c,c=d&&d.initMessageHeaders||null,d&&d.messageContentType&&(c?c["X-WebChannel-Content-Type"]=d.messageContentType:c={"X-WebChannel-Content-Type":d.messageContentType}),d&&d.sa&&(c?c["X-WebChannel-Client-Profile"]=d.sa:c={"X-WebChannel-Client-Profile":d.sa}),this.g.U=c,(c=d&&d.Qb)&&!x(c)&&(this.g.u=c),this.A=d&&d.supportsCrossDomainXhr||!1,this.v=d&&d.sendRawJson||!1,(d=d&&d.httpSessionIdParam)&&!x(d)&&(this.g.G=d,null!==(c=this.h)&&d in c&&d in(c=this.h)&&delete c[d]),this.j=new vs(this)}function qI(c){tm.call(this),c.__headers__&&(this.headers=c.__headers__,this.statusCode=c.__status__,delete c.__headers__,delete c.__status__);var d=c.__sm__;if(d){t:{for(const f in d){c=f;break t}c=void 0}(this.i=c)&&(c=this.i,d=null!==d&&c in d?d[c]:void 0),this.data=d}else this.data=c}function BI(){em.call(this),this.status=1}function vs(c){this.g=c}(r=xe.prototype).Fa=function(c){this.H=c},r.ea=function(c,d,f,y){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+c);d=d?d.toUpperCase():"GET",this.D=c,this.l="",this.o=0,this.A=!1,this.h=!0,this.g=this.L?this.L.g():oI.g(),this.g.onreadystatechange=_(u(this.Ca,this));try{this.B=!0,this.g.open(d,String(c),!0),this.B=!1}catch(W){return void TI(this,W)}if(c=f||"",f=new Map(this.headers),y)if(Object.getPrototypeOf(y)===Object.prototype)for(var $ in y)f.set($,y[$]);else{if("function"!=typeof y.keys||"function"!=typeof y.get)throw Error("Unknown input type for opt_headers: "+String(y));for(const W of y.keys())f.set(W,y.get(W))}y=Array.from(f.keys()).find(W=>"content-type"==W.toLowerCase()),$=s.FormData&&c instanceof s.FormData,!(Array.prototype.indexOf.call(BC,d,void 0)>=0)||y||$||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[W,ft]of f)this.g.setRequestHeader(W,ft);this.F&&(this.g.responseType=this.F),"withCredentials"in this.g&&this.g.withCredentials!==this.H&&(this.g.withCredentials=this.H);try{this.m&&(clearTimeout(this.m),this.m=null),this.v=!0,this.g.send(c),this.v=!1}catch(W){TI(this,W)}},r.abort=function(c){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.o=c||7,_n(this,"complete"),_n(this,"abort"),au(this))},r.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),au(this,!0)),xe.Z.N.call(this)},r.Ca=function(){this.u||(this.B||this.v||this.j?RI(this):this.Xa())},r.Xa=function(){RI(this)},r.isActive=function(){return!!this.g},r.ca=function(){try{return Vo(this)>2?this.g.status:-1}catch{return-1}},r.la=function(){try{return this.g?this.g.responseText:""}catch{return""}},r.La=function(c){if(this.g){var d=this.g.responseText;return c&&0==d.indexOf(c)&&(d=d.substring(c.length)),bC(d)}},r.ya=function(){return this.o},r.Ha=function(){return"string"==typeof this.l?this.l:String(this.l)},(r=PI.prototype).ka=8,r.I=1,r.connect=function(c,d,f,y){yn(0),this.W=c,this.H=d||{},f&&void 0!==y&&(this.H.OSID=f,this.H.OAID=y),this.F=this.X,this.J=MI(this,null,this.W),lu(this)},r.Ea=function(c){if(this.m)if(this.m=null,1==this.I){if(!c){this.V=Math.floor(1e5*Math.random()),c=this.V++;const $=new Do(this,this.j,c);let W=this.o;if(this.U&&(W?(W=qE(W),jE(W,this.U)):W=this.U),null!==this.u||this.R||($.J=W,W=null),this.S)t:{for(var d=0,f=0;f<this.i.length;f++){var y=this.i[f];if(void 0===(y="__data__"in y.map&&"string"==typeof(y=y.map.__data__)?y.length:void 0))break;if((d+=y)>4096){d=f;break t}if(4096===d||f===this.i.length-1){d=f+1;break t}}d=1e3}else d=1e3;d=CI(this,$,d),me(f=Pr(this.J),"RID",c),me(f,"CVER",22),this.G&&me(f,"X-HTTP-Session-Id",this.G),hc(this,f),W&&(this.R?d="headers="+ec(II(W))+"&"+d:this.u&&um(f,this.u,W)),cm(this.h,$),this.Ra&&me(f,"TYPE","init"),this.S?(me(f,"$req",d),me(f,"SID","null"),$.U=!0,om($,f,null)):om($,f,d),this.I=2}}else 3==this.I&&(c?kI(this,c):0==this.i.length||hI(this.h)||kI(this))},r.Da=function(){if(this.v=null,NI(this),this.aa&&!(this.P||null==this.g||this.T<=0)){var c=4*this.T;this.j.info("BP detection timer enabled: "+c),this.B=Za(u(this.Wa,this),c)}},r.Wa=function(){this.B&&(this.B=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.P=!0,yn(10),cu(this),NI(this))},r.Va=function(){null!=this.C&&(this.C=null,cu(this),dm(this),yn(19))},r.bb=function(c){c?(this.j.info("Successfully pinged google.com"),yn(2)):(this.j.info("Failed to ping google.com"),yn(1))},r.isActive=function(){return!!this.l&&this.l.isActive(this)},(r=UI.prototype).ra=function(){},r.qa=function(){},r.pa=function(){},r.oa=function(){},r.isActive=function(){return!0},r.Ka=function(){},hu.prototype.g=function(c,d){return new Gn(c,d)},p(Gn,pn),Gn.prototype.m=function(){this.g.l=this.j,this.A&&(this.g.L=!0),this.g.connect(this.l,this.h||void 0)},Gn.prototype.close=function(){hm(this.g)},Gn.prototype.o=function(c){var d=this.g;if("string"==typeof c){var f={};f.__data__=c,c=f}else this.v&&((f={}).__data__=Zg(c),c=f);d.i.push(new xC(d.Ya++,c)),3==d.I&&lu(d)},Gn.prototype.N=function(){this.g.l=null,delete this.j,hm(this.g),delete this.g,Gn.Z.N.call(this)},p(qI,tm),p(BI,em),p(vs,UI),vs.prototype.ra=function(){_n(this.g,"a")},vs.prototype.qa=function(c){_n(this.g,new qI(c))},vs.prototype.pa=function(c){_n(this.g,new BI)},vs.prototype.oa=function(){_n(this.g,"b")},hu.prototype.createWebChannel=hu.prototype.g,Gn.prototype.send=Gn.prototype.o,Gn.prototype.open=Gn.prototype.m,Gn.prototype.close=Gn.prototype.close,mr=He.createWebChannelTransport=function(){return new hu},Ko=He.getStatEventTarget=function(){return eu()},gr=He.Event=bi,vn=He.Stat={jb:0,mb:1,nb:2,Hb:3,Mb:4,Jb:5,Kb:6,Ib:7,Gb:8,Lb:9,PROXY:10,NOPROXY:11,Eb:12,Ab:13,Bb:14,zb:15,Cb:16,Db:17,fb:18,eb:19,gb:20},nu.NO_ERROR=0,nu.TIMEOUT=8,nu.HTTP_ERROR=6,oo=He.ErrorCode=nu,rI.COMPLETE="complete",Qn=He.EventType=rI,YE.EventType=Xa,Xa.OPEN="a",Xa.CLOSE="b",Xa.ERROR="c",Xa.MESSAGE="d",pn.prototype.listen=pn.prototype.J,ee=He.WebChannel=YE,He.FetchXmlHttpFactory=iu,xe.prototype.listenOnce=xe.prototype.K,xe.prototype.getLastError=xe.prototype.Ha,xe.prototype.getLastErrorCode=xe.prototype.ya,xe.prototype.getStatus=xe.prototype.ca,xe.prototype.getResponseJson=xe.prototype.La,xe.prototype.getResponseText=xe.prototype.la,xe.prototype.send=xe.prototype.ea,xe.prototype.setWithCredentials=xe.prototype.Fa,Or=He.XhrIo=xe}).apply(typeof bn<"u"?bn:typeof self<"u"?self:typeof window<"u"?window:{});class Jt{constructor(t){this.uid=t}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(t){return t.uid===this.uid}}Jt.UNAUTHENTICATED=new Jt(null),Jt.GOOGLE_CREDENTIALS=new Jt("google-credentials-uid"),Jt.FIRST_PARTY=new Jt("first-party-uid"),Jt.MOCK_USER=new Jt("mock-user");let Me="12.8.0";const T=new ae.Vy("@firebase/firestore");function b(r,...t){if(T.logLevel<=ae.$b.DEBUG){const e=t.map(Xt);T.debug(`Firestore (${Me}): ${r}`,...e)}}function ht(r,...t){if(T.logLevel<=ae.$b.ERROR){const e=t.map(Xt);T.error(`Firestore (${Me}): ${r}`,...e)}}function Rt(r,...t){if(T.logLevel<=ae.$b.WARN){const e=t.map(Xt);T.warn(`Firestore (${Me}): ${r}`,...e)}}function Xt(r){if("string"==typeof r)return r;try{return JSON.stringify(r)}catch{return r}}function at(r,t,e){let n="Unexpected state";"string"==typeof t?n=t:e=t,ce(r,n,e)}function ce(r,t,e){let n=`FIRESTORE (${Me}) INTERNAL ASSERTION FAILED: ${t} (ID: ${r.toString(16)})`;if(void 0!==e)try{n+=" CONTEXT: "+JSON.stringify(e)}catch{n+=" CONTEXT: "+e}throw ht(n),new Error(n)}function dt(r,t,e,n){let o="Unexpected state";"string"==typeof e?o=e:n=e,r||ce(t,o,n)}const z={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class it extends Et.g{constructor(t,e){super(t,e),this.code=t,this.message=e,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}class re{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}class Ee{constructor(t,e){this.user=e,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${t}`)}}class wr{getToken(){return Promise.resolve(null)}invalidateToken(){}start(t,e){t.enqueueRetryable(()=>e(Jt.UNAUTHENTICATED))}shutdown(){}}class En{constructor(t){this.t=t,this.currentUser=Jt.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(t,e){var n=this;dt(void 0===this.o,42304);let o=this.i;const i=u=>this.i!==o?(o=this.i,e(u)):Promise.resolve();let s=new re;this.o=()=>{this.i++,this.currentUser=this.u(),s.resolve(),s=new re,t.enqueueRetryable(()=>i(this.currentUser))};const a=()=>{const u=s;t.enqueueRetryable((0,E.A)(function*(){yield u.promise,yield i(n.currentUser)}))},l=u=>{b("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=u,this.o&&(this.auth.addAuthTokenListener(this.o),a())};this.t.onInit(u=>l(u)),setTimeout(()=>{if(!this.auth){const u=this.t.getImmediate({optional:!0});u?l(u):(b("FirebaseAuthCredentialsProvider","Auth not yet detected"),s.resolve(),s=new re)}},0),a()}getToken(){const t=this.i,e=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(e).then(n=>this.i!==t?(b("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):n?(dt("string"==typeof n.accessToken,31837,{l:n}),new Ee(n.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const t=this.auth&&this.auth.getUid();return dt(null===t||"string"==typeof t,2055,{h:t}),new Jt(t)}}class co{constructor(t,e,n){this.P=t,this.T=e,this.I=n,this.type="FirstParty",this.user=Jt.FIRST_PARTY,this.R=new Map}A(){return this.I?this.I():null}get headers(){this.R.set("X-Goog-AuthUser",this.P);const t=this.A();return t&&this.R.set("Authorization",t),this.T&&this.R.set("X-Goog-Iam-Authorization-Token",this.T),this.R}}class j{constructor(t,e,n){this.P=t,this.T=e,this.I=n}getToken(){return Promise.resolve(new co(this.P,this.T,this.I))}start(t,e){t.enqueueRetryable(()=>e(Jt.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class U{constructor(t){this.value=t,this.type="AppCheck",this.headers=new Map,t&&t.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class Q{constructor(t,e){this.V=e,this.forceRefresh=!1,this.appCheck=null,this.m=null,this.p=null,(0,mt.xZ)(t)&&t.settings.appCheckToken&&(this.p=t.settings.appCheckToken)}start(t,e){dt(void 0===this.o,3512);const n=i=>{null!=i.error&&b("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${i.error.message}`);const s=i.token!==this.m;return this.m=i.token,b("FirebaseAppCheckTokenProvider",`Received ${s?"new":"existing"} token.`),s?e(i.token):Promise.resolve()};this.o=i=>{t.enqueueRetryable(()=>n(i))};const o=i=>{b("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=i,this.o&&this.appCheck.addTokenListener(this.o)};this.V.onInit(i=>o(i)),setTimeout(()=>{if(!this.appCheck){const i=this.V.getImmediate({optional:!0});i?o(i):b("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){if(this.p)return Promise.resolve(new U(this.p));const t=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(t).then(e=>e?(dt("string"==typeof e.token,44558,{tokenResult:e}),this.m=e.token,new U(e.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}function St(r){const t=typeof self<"u"&&(self.crypto||self.msCrypto),e=new Uint8Array(r);if(t&&"function"==typeof t.getRandomValues)t.getRandomValues(e);else for(let n=0;n<r;n++)e[n]=Math.floor(256*Math.random());return e}class Nt{static newId(){const e=62*Math.floor(4.129032258064516);let n="";for(;n.length<20;){const o=St(40);for(let i=0;i<o.length;++i)n.length<20&&o[i]<e&&(n+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(o[i]%62))}return n}}function lt(r,t){return r<t?-1:r>t?1:0}function Ln(r){const t=r.charCodeAt(0);return t>=55296&&t<=57343}const Is="__name__";class Mn{constructor(t,e,n){void 0===e?e=0:e>t.length&&at(637,{offset:e,range:t.length}),void 0===n?n=t.length-e:n>t.length-e&&at(1746,{length:n,range:t.length-e}),this.segments=t,this.offset=e,this.len=n}get length(){return this.len}isEqual(t){return 0===Mn.comparator(this,t)}child(t){const e=this.segments.slice(this.offset,this.limit());return t instanceof Mn?t.forEach(n=>{e.push(n)}):e.push(t),this.construct(e)}limit(){return this.offset+this.length}popFirst(t){return this.construct(this.segments,this.offset+(t=void 0===t?1:t),this.length-t)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(t){return this.segments[this.offset+t]}isEmpty(){return 0===this.length}isPrefixOf(t){if(t.length<this.length)return!1;for(let e=0;e<this.length;e++)if(this.get(e)!==t.get(e))return!1;return!0}isImmediateParentOf(t){if(this.length+1!==t.length)return!1;for(let e=0;e<this.length;e++)if(this.get(e)!==t.get(e))return!1;return!0}forEach(t){for(let e=this.offset,n=this.limit();e<n;e++)t(this.segments[e])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(t,e){const n=Math.min(t.length,e.length);for(let o=0;o<n;o++){const i=Mn.compareSegments(t.get(o),e.get(o));if(0!==i)return i}return lt(t.length,e.length)}static compareSegments(t,e){const n=Mn.isNumericId(t),o=Mn.isNumericId(e);return n&&!o?-1:!n&&o?1:n&&o?Mn.extractNumericId(t).compare(Mn.extractNumericId(e)):function Ce(r,t){const e=Math.min(r.length,t.length);for(let n=0;n<e;n++){const o=r.charAt(n),i=t.charAt(n);if(o!==i)return Ln(o)===Ln(i)?lt(o,i):Ln(o)?1:-1}return lt(r.length,t.length)}(t,e)}static isNumericId(t){return t.startsWith("__id")&&t.endsWith("__")}static extractNumericId(t){return Ge.fromString(t.substring(4,t.length-2))}}class Vt extends Mn{construct(t,e,n){return new Vt(t,e,n)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...t){const e=[];for(const n of t){if(n.indexOf("//")>=0)throw new it(z.INVALID_ARGUMENT,`Invalid segment (${n}). Paths must not contain // in them.`);e.push(...n.split("/").filter(o=>o.length>0))}return new Vt(e)}static emptyPath(){return new Vt([])}}const fc=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class ne extends Mn{construct(t,e,n){return new ne(t,e,n)}static isValidIdentifier(t){return fc.test(t)}canonicalString(){return this.toArray().map(t=>(t=t.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),ne.isValidIdentifier(t)||(t="`"+t+"`"),t)).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&this.get(0)===Is}static keyField(){return new ne([Is])}static fromServerFormat(t){const e=[];let n="",o=0;const i=()=>{if(0===n.length)throw new it(z.INVALID_ARGUMENT,`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);e.push(n),n=""};let s=!1;for(;o<t.length;){const a=t[o];if("\\"===a){if(o+1===t.length)throw new it(z.INVALID_ARGUMENT,"Path has trailing escape character: "+t);const l=t[o+1];if("\\"!==l&&"."!==l&&"`"!==l)throw new it(z.INVALID_ARGUMENT,"Path has invalid escape sequence: "+t);n+=l,o+=2}else"`"===a?(s=!s,o++):"."!==a||s?(n+=a,o++):(i(),o++)}if(i(),s)throw new it(z.INVALID_ARGUMENT,"Unterminated ` in path: "+t);return new ne(e)}static emptyPath(){return new ne([])}}class pt{constructor(t){this.path=t}static fromPath(t){return new pt(Vt.fromString(t))}static fromName(t){return new pt(Vt.fromString(t).popFirst(5))}static empty(){return new pt(Vt.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(t){return this.path.length>=2&&this.path.get(this.path.length-2)===t}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(t){return null!==t&&0===Vt.comparator(this.path,t.path)}toString(){return this.path.toString()}static comparator(t,e){return Vt.comparator(t.path,e.path)}static isDocumentKey(t){return t.length%2==0}static fromSegments(t){return new pt(new Vt(t.slice()))}}function Se(r,t){const e={typeString:r};return t&&(e.value=t),e}function Vr(r,t){if(!function Rs(r){return"object"==typeof r&&null!==r&&(Object.getPrototypeOf(r)===Object.prototype||null===Object.getPrototypeOf(r))}(r))throw new it(z.INVALID_ARGUMENT,"JSON must be an object");let e;for(const n in t)if(t[n]){const o=t[n].typeString,i="value"in t[n]?{value:t[n].value}:void 0;if(!(n in r)){e=`JSON missing required field: '${n}'`;break}const s=r[n];if(o&&typeof s!==o){e=`JSON field '${n}' must be a ${o}.`;break}if(void 0!==i&&s!==i.value){e=`Expected '${n}' field to equal '${i.value}'`;break}}if(e)throw new it(z.INVALID_ARGUMENT,e);return!0}const Ss=-62135596800;class Wt{static now(){return Wt.fromMillis(Date.now())}static fromDate(t){return Wt.fromMillis(t.getTime())}static fromMillis(t){const e=Math.floor(t/1e3),n=Math.floor(1e6*(t-1e3*e));return new Wt(e,n)}constructor(t,e){if(this.seconds=t,this.nanoseconds=e,e<0)throw new it(z.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(e>=1e9)throw new it(z.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(t<Ss)throw new it(z.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new it(z.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(t){return this.seconds===t.seconds?lt(this.nanoseconds,t.nanoseconds):lt(this.seconds,t.seconds)}isEqual(t){return t.seconds===this.seconds&&t.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{type:Wt._jsonSchemaVersion,seconds:this.seconds,nanoseconds:this.nanoseconds}}static fromJSON(t){if(Vr(t,Wt._jsonSchema))return new Wt(t.seconds,t.nanoseconds)}valueOf(){return String(this.seconds-Ss).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}Wt._jsonSchemaVersion="firestore/timestamp/1.0",Wt._jsonSchema={type:Se("string",Wt._jsonSchemaVersion),seconds:Se("number"),nanoseconds:Se("number")};const Vs="mutationQueues",ar="mutations",Di="documentMutations",Ls="remoteDocumentGlobal",Ni="targets",Oi="targetDocuments",Yo="targetGlobal",Ms="collectionParents",Vi="clientMetadata",Ic="bundles",Tc="namedQueries";class he{constructor(t,e){this.comparator=t,this.root=e||en.EMPTY}insert(t,e){return new he(this.comparator,this.root.insert(t,e,this.comparator).copy(null,null,en.BLACK,null,null))}remove(t){return new he(this.comparator,this.root.remove(t,this.comparator).copy(null,null,en.BLACK,null,null))}get(t){let e=this.root;for(;!e.isEmpty();){const n=this.comparator(t,e.key);if(0===n)return e.value;n<0?e=e.left:n>0&&(e=e.right)}return null}indexOf(t){let e=0,n=this.root;for(;!n.isEmpty();){const o=this.comparator(t,n.key);if(0===o)return e+n.left.size;o<0?n=n.left:(e+=n.left.size+1,n=n.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(t){return this.root.inorderTraversal(t)}forEach(t){this.inorderTraversal((e,n)=>(t(e,n),!1))}toString(){const t=[];return this.inorderTraversal((e,n)=>(t.push(`${e}:${n}`),!1)),`{${t.join(", ")}}`}reverseTraversal(t){return this.root.reverseTraversal(t)}getIterator(){return new Rc(this.root,null,this.comparator,!1)}getIteratorFrom(t){return new Rc(this.root,t,this.comparator,!1)}getReverseIterator(){return new Rc(this.root,null,this.comparator,!0)}getReverseIteratorFrom(t){return new Rc(this.root,t,this.comparator,!0)}}class Rc{constructor(t,e,n,o){this.isReverse=o,this.nodeStack=[];let i=1;for(;!t.isEmpty();)if(i=e?n(t.key,e):1,e&&o&&(i*=-1),i<0)t=this.isReverse?t.left:t.right;else{if(0===i){this.nodeStack.push(t);break}this.nodeStack.push(t),t=this.isReverse?t.right:t.left}}getNext(){let t=this.nodeStack.pop();const e={key:t.key,value:t.value};if(this.isReverse)for(t=t.left;!t.isEmpty();)this.nodeStack.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack.push(t),t=t.left;return e}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const t=this.nodeStack[this.nodeStack.length-1];return{key:t.key,value:t.value}}}class en{constructor(t,e,n,o,i){this.key=t,this.value=e,this.color=n??en.RED,this.left=o??en.EMPTY,this.right=i??en.EMPTY,this.size=this.left.size+1+this.right.size}copy(t,e,n,o,i){return new en(t??this.key,e??this.value,n??this.color,o??this.left,i??this.right)}isEmpty(){return!1}inorderTraversal(t){return this.left.inorderTraversal(t)||t(this.key,this.value)||this.right.inorderTraversal(t)}reverseTraversal(t){return this.right.reverseTraversal(t)||t(this.key,this.value)||this.left.reverseTraversal(t)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(t,e,n){let o=this;const i=n(t,o.key);return o=i<0?o.copy(null,null,null,o.left.insert(t,e,n),null):0===i?o.copy(null,e,null,null,null):o.copy(null,null,null,null,o.right.insert(t,e,n)),o.fixUp()}removeMin(){if(this.left.isEmpty())return en.EMPTY;let t=this;return t.left.isRed()||t.left.left.isRed()||(t=t.moveRedLeft()),t=t.copy(null,null,null,t.left.removeMin(),null),t.fixUp()}remove(t,e){let n,o=this;if(e(t,o.key)<0)o.left.isEmpty()||o.left.isRed()||o.left.left.isRed()||(o=o.moveRedLeft()),o=o.copy(null,null,null,o.left.remove(t,e),null);else{if(o.left.isRed()&&(o=o.rotateRight()),o.right.isEmpty()||o.right.isRed()||o.right.left.isRed()||(o=o.moveRedRight()),0===e(t,o.key)){if(o.right.isEmpty())return en.EMPTY;n=o.right.min(),o=o.copy(n.key,n.value,null,null,o.right.removeMin())}o=o.copy(null,null,null,null,o.right.remove(t,e))}return o.fixUp()}isRed(){return this.color}fixUp(){let t=this;return t.right.isRed()&&!t.left.isRed()&&(t=t.rotateLeft()),t.left.isRed()&&t.left.left.isRed()&&(t=t.rotateRight()),t.left.isRed()&&t.right.isRed()&&(t=t.colorFlip()),t}moveRedLeft(){let t=this.colorFlip();return t.right.left.isRed()&&(t=t.copy(null,null,null,null,t.right.rotateRight()),t=t.rotateLeft(),t=t.colorFlip()),t}moveRedRight(){let t=this.colorFlip();return t.left.left.isRed()&&(t=t.rotateRight(),t=t.colorFlip()),t}rotateLeft(){const t=this.copy(null,null,en.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)}rotateRight(){const t=this.copy(null,null,en.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)}colorFlip(){const t=this.left.copy(null,null,!this.left.color,null,null),e=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,t,e)}checkMaxDepth(){const t=this.check();return Math.pow(2,t)<=this.size+1}check(){if(this.isRed()&&this.left.isRed())throw at(43730,{key:this.key,value:this.value});if(this.right.isRed())throw at(14113,{key:this.key,value:this.value});const t=this.left.check();if(t!==this.right.check())throw at(27949);return t+(this.isRed()?0:1)}}en.EMPTY=null,en.RED=!0,en.BLACK=!1,en.EMPTY=new class{constructor(){this.size=0}get key(){throw at(57766)}get value(){throw at(16141)}get color(){throw at(16727)}get left(){throw at(29726)}get right(){throw at(36894)}copy(t,e,n,o,i){return this}insert(t,e,n){return new en(t,e)}remove(t,e){return this}isEmpty(){return!0}inorderTraversal(t){return!1}reverseTraversal(t){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class Zt{constructor(t){this.comparator=t,this.data=new he(this.comparator)}has(t){return null!==this.data.get(t)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(t){return this.data.indexOf(t)}forEach(t){this.data.inorderTraversal((e,n)=>(t(e),!1))}forEachInRange(t,e){const n=this.data.getIteratorFrom(t[0]);for(;n.hasNext();){const o=n.getNext();if(this.comparator(o.key,t[1])>=0)return;e(o.key)}}forEachWhile(t,e){let n;for(n=void 0!==e?this.data.getIteratorFrom(e):this.data.getIterator();n.hasNext();)if(!t(n.getNext().key))return}firstAfterOrEqual(t){const e=this.data.getIteratorFrom(t);return e.hasNext()?e.getNext().key:null}getIterator(){return new km(this.data.getIterator())}getIteratorFrom(t){return new km(this.data.getIteratorFrom(t))}add(t){return this.copy(this.data.remove(t).insert(t,!0))}delete(t){return this.has(t)?this.copy(this.data.remove(t)):this}isEmpty(){return this.data.isEmpty()}unionWith(t){let e=this;return e.size<t.size&&(e=t,t=this),t.forEach(n=>{e=e.add(n)}),e}isEqual(t){if(!(t instanceof Zt)||this.size!==t.size)return!1;const e=this.data.getIterator(),n=t.data.getIterator();for(;e.hasNext();){const o=e.getNext().key,i=n.getNext().key;if(0!==this.comparator(o,i))return!1}return!0}toArray(){const t=[];return this.forEach(e=>{t.push(e)}),t}toString(){const t=[];return this.forEach(e=>t.push(e)),"SortedSet("+t.toString()+")"}copy(t){const e=new Zt(this.comparator);return e.data=t,e}}class km{constructor(t){this.iter=t}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}class Cm extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}class Pe{constructor(t){this.binaryString=t}static fromBase64String(t){const e=function(o){try{return atob(o)}catch(i){throw typeof DOMException<"u"&&i instanceof DOMException?new Cm("Invalid base64 string: "+i):i}}(t);return new Pe(e)}static fromUint8Array(t){const e=function(o){let i="";for(let s=0;s<o.length;++s)i+=String.fromCharCode(o[s]);return i}(t);return new Pe(e)}[Symbol.iterator](){let t=0;return{next:()=>t<this.binaryString.length?{value:this.binaryString.charCodeAt(t++),done:!1}:{value:void 0,done:!0}}}toBase64(){return btoa(this.binaryString)}toUint8Array(){return function(e){const n=new Uint8Array(e.length);for(let o=0;o<e.length;o++)n[o]=e.charCodeAt(o);return n}(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(t){return lt(this.binaryString,t.binaryString)}isEqual(t){return this.binaryString===t.binaryString}}Pe.EMPTY_BYTE_STRING=new Pe("");const pT=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function ye(r){return"number"==typeof r?r:"string"==typeof r?Number(r):0}const Bs="(default)";class Zo{constructor(t,e){this.projectId=t,this.database=e||Bs}static empty(){return new Zo("","")}get isDefaultDatabase(){return this.database===Bs}isEqual(t){return t instanceof Zo&&t.projectId===this.projectId&&t.database===this.database}}class Ur{constructor(t,e=null,n=[],o=[],i=null,s="F",a=null,l=null){this.path=t,this.collectionGroup=e,this.explicitOrderBy=n,this.filters=o,this.limit=i,this.limitType=s,this.startAt=a,this.endAt=l,this.Ie=null,this.Ee=null,this.Re=null}}var Ue,Kt;new he(pt.comparator),new he(pt.comparator),new he(pt.comparator),new Zt(pt.comparator),new Zt(lt),(Kt=Ue||(Ue={}))[Kt.OK=0]="OK",Kt[Kt.CANCELLED=1]="CANCELLED",Kt[Kt.UNKNOWN=2]="UNKNOWN",Kt[Kt.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Kt[Kt.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Kt[Kt.NOT_FOUND=5]="NOT_FOUND",Kt[Kt.ALREADY_EXISTS=6]="ALREADY_EXISTS",Kt[Kt.PERMISSION_DENIED=7]="PERMISSION_DENIED",Kt[Kt.UNAUTHENTICATED=16]="UNAUTHENTICATED",Kt[Kt.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Kt[Kt.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Kt[Kt.ABORTED=10]="ABORTED",Kt[Kt.OUT_OF_RANGE=11]="OUT_OF_RANGE",Kt[Kt.UNIMPLEMENTED=12]="UNIMPLEMENTED",Kt[Kt.INTERNAL=13]="INTERNAL",Kt[Kt.UNAVAILABLE=14]="UNAVAILABLE",Kt[Kt.DATA_LOSS=15]="DATA_LOSS",new Ge([4294967295,4294967295],0),Error;class ai{constructor(){}Dt(t,e){this.Ct(t,e),e.vt()}Ct(t,e){if("nullValue"in t)this.Ft(e,5);else if("booleanValue"in t)this.Ft(e,10),e.Mt(t.booleanValue?1:0);else if("integerValue"in t)this.Ft(e,15),e.Mt(ye(t.integerValue));else if("doubleValue"in t){const n=ye(t.doubleValue);isNaN(n)?this.Ft(e,13):(this.Ft(e,15),function mn(r){return 0===r&&1/r==-1/0}(n)?e.Mt(0):e.Mt(n))}else if("timestampValue"in t){let n=t.timestampValue;this.Ft(e,20),"string"==typeof n&&(n=function Mr(r){if(dt(!!r,39018),"string"==typeof r){let t=0;const e=pT.exec(r);if(dt(!!e,46558,{timestamp:r}),e[1]){let o=e[1];o=(o+"000000000").substr(0,9),t=Number(o)}const n=new Date(r);return{seconds:Math.floor(n.getTime()/1e3),nanos:t}}return{seconds:ye(r.seconds),nanos:ye(r.nanos)}}(n)),e.xt(`${n.seconds||""}`),e.Mt(n.nanos||0)}else if("stringValue"in t)this.Ot(t.stringValue,e),this.Nt(e);else if("bytesValue"in t)this.Ft(e,30),e.Bt(function Fr(r){return"string"==typeof r?Pe.fromBase64String(r):Pe.fromUint8Array(r)}(t.bytesValue)),this.Nt(e);else if("referenceValue"in t)this.Lt(t.referenceValue,e);else if("geoPointValue"in t){const n=t.geoPointValue;this.Ft(e,45),e.Mt(n.latitude||0),e.Mt(n.longitude||0)}else"mapValue"in t?function Bm(r){return"__max__"===(((r.mapValue||{}).fields||{}).__type__||{}).stringValue}(t)?this.Ft(e,Number.MAX_SAFE_INTEGER):function Dc(r){return"__vector__"===(r?.mapValue?.fields||{}).__type__?.stringValue}(t)?this.kt(t.mapValue,e):(this.Kt(t.mapValue,e),this.Nt(e)):"arrayValue"in t?(this.qt(t.arrayValue,e),this.Nt(e)):at(19022,{Ut:t})}Ot(t,e){this.Ft(e,25),this.$t(t,e)}$t(t,e){e.xt(t)}Kt(t,e){const n=t.fields||{};this.Ft(e,55);for(const o of Object.keys(n))this.Ot(o,e),this.Ct(n[o],e)}kt(t,e){const n=t.fields||{};this.Ft(e,53);const o="value",i=n[o].arrayValue?.values?.length||0;this.Ft(e,15),e.Mt(ye(i)),this.Ot(o,e),this.Ct(n[o],e)}qt(t,e){const n=t.values||[];this.Ft(e,50);for(const o of n)this.Ct(o,e)}Lt(t,e){this.Ft(e,37),pt.fromName(t).path.forEach(n=>{this.Ft(e,60),this.$t(n,e)})}Ft(t,e){t.Mt(e)}Nt(t){t.Mt(2)}}ai.Wt=new ai,new Uint8Array(0);class un{static withCacheSize(t){return new un(t,un.DEFAULT_COLLECTION_PERCENTILE,un.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}constructor(t,e,n){this.cacheSizeCollectionThreshold=t,this.percentileToCollect=e,this.maximumSequenceNumbersToCollect=n}}un.DEFAULT_COLLECTION_PERCENTILE=10,un.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,un.DEFAULT=new un(41943040,un.DEFAULT_COLLECTION_PERCENTILE,un.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),un.DISABLED=new un(-1,0,0);let rl=null;function _h(){return null===rl?rl=268435456+Math.round(2147483648*Math.random()):rl++,"0x"+rl.toString(16)}const yh="RestConnection",F0={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery",ExecutePipeline:"executePipeline"};class U0{get Ko(){return!1}constructor(t){this.databaseInfo=t,this.databaseId=t.databaseId;const e=t.ssl?"https":"http",n=encodeURIComponent(this.databaseId.projectId),o=encodeURIComponent(this.databaseId.database);this.qo=e+"://"+t.host,this.Uo=`projects/${n}/databases/${o}`,this.$o=this.databaseId.database===Bs?`project_id=${n}`:`project_id=${n}&database_id=${o}`}Wo(t,e,n,o,i){const s=_h(),a=this.Qo(t,e.toUriEncodedString());b(yh,`Sending RPC '${t}' ${s}:`,a,n);const l={"google-cloud-resource-prefix":this.Uo,"x-goog-request-params":this.$o};this.Go(l,o,i);const{host:u}=new URL(a),h=(0,Et.zJ)(u);return this.zo(t,a,l,n,h).then(p=>(b(yh,`Received RPC '${t}' ${s}: `,p),p),p=>{throw Rt(yh,`RPC '${t}' ${s} failed with error: `,p,"url: ",a,"request:",n),p})}jo(t,e,n,o,i,s){return this.Wo(t,e,n,o,i)}Go(t,e,n){t["X-Goog-Api-Client"]="gl-js/ fire/"+Me,t["Content-Type"]="text/plain",this.databaseInfo.appId&&(t["X-Firebase-GMPID"]=this.databaseInfo.appId),e&&e.headers.forEach((o,i)=>t[i]=o),n&&n.headers.forEach((o,i)=>t[i]=o)}Qo(t,e){let o=`${this.qo}/v1/${e}:${F0[t]}`;return this.databaseInfo.apiKey&&(o=`${o}?key=${encodeURIComponent(this.databaseInfo.apiKey)}`),o}terminate(){}}class q0{constructor(t){this.Ho=t.Ho,this.Jo=t.Jo}Zo(t){this.Xo=t}Yo(t){this.e_=t}t_(t){this.n_=t}onMessage(t){this.r_=t}close(){this.Jo()}send(t){this.Ho(t)}i_(){this.Xo()}s_(){this.e_()}o_(t){this.n_(t)}__(t){this.r_(t)}}const hn="WebChannelConnection",pa=(r,t,e)=>{r.listen(t,n=>{try{e(n)}catch(o){setTimeout(()=>{throw o},0)}})};class ts extends U0{constructor(t){super(t),this.a_=[],this.forceLongPolling=t.forceLongPolling,this.autoDetectLongPolling=t.autoDetectLongPolling,this.useFetchStreams=t.useFetchStreams,this.longPollingOptions=t.longPollingOptions}static u_(){if(!ts.c_){const t=Ko();pa(t,gr.STAT_EVENT,e=>{e.stat===vn.PROXY?b(hn,"STAT_EVENT: detected buffering proxy"):e.stat===vn.NOPROXY&&b(hn,"STAT_EVENT: detected no buffering proxy")}),ts.c_=!0}}zo(t,e,n,o,i){const s=_h();return new Promise((a,l)=>{const u=new Or;u.setWithCredentials(!0),u.listenOnce(Qn.COMPLETE,()=>{try{switch(u.getLastErrorCode()){case oo.NO_ERROR:const p=u.getResponseJson();b(hn,`XHR for RPC '${t}' ${s} received:`,JSON.stringify(p)),a(p);break;case oo.TIMEOUT:b(hn,`RPC '${t}' ${s} timed out`),l(new it(z.DEADLINE_EXCEEDED,"Request time out"));break;case oo.HTTP_ERROR:const _=u.getStatus();if(b(hn,`RPC '${t}' ${s} failed with status:`,_,"response text:",u.getResponseText()),_>0){let v=u.getResponseJson();Array.isArray(v)&&(v=v[0]);const L=v?.error;if(L&&L.status&&L.message){const G=function(et){const vt=et.toLowerCase().replace(/_/g,"-");return Object.values(z).indexOf(vt)>=0?vt:z.UNKNOWN}(L.status);l(new it(G,L.message))}else l(new it(z.UNKNOWN,"Server responded with status "+u.getStatus()))}else l(new it(z.UNAVAILABLE,"Connection failed."));break;default:at(9055,{l_:t,streamId:s,h_:u.getLastErrorCode(),P_:u.getLastError()})}}finally{b(hn,`RPC '${t}' ${s} completed.`)}});const h=JSON.stringify(o);b(hn,`RPC '${t}' ${s} sending request:`,o),u.send(e,"POST",h,n,15)})}T_(t,e,n){const o=_h(),i=[this.qo,"/","google.firestore.v1.Firestore","/",t,"/channel"],s=this.createWebChannelTransport(),a={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},l=this.longPollingOptions.timeoutSeconds;void 0!==l&&(a.longPollingTimeout=Math.round(1e3*l)),this.useFetchStreams&&(a.useFetchStreams=!0),this.Go(a.initMessageHeaders,e,n),a.encodeInitMessageHeaders=!0;const u=i.join("");b(hn,`Creating RPC '${t}' stream ${o}: ${u}`,a);const h=s.createWebChannel(u,a);this.I_(h);let p=!1,_=!1;const v=new q0({Ho:L=>{_?b(hn,`Not sending because RPC '${t}' stream ${o} is closed:`,L):(p||(b(hn,`Opening RPC '${t}' stream ${o} transport.`),h.open(),p=!0),b(hn,`RPC '${t}' stream ${o} sending:`,L),h.send(L))},Jo:()=>h.close()});return pa(h,ee.EventType.OPEN,()=>{_||(b(hn,`RPC '${t}' stream ${o} transport opened.`),v.i_())}),pa(h,ee.EventType.CLOSE,()=>{_||(_=!0,b(hn,`RPC '${t}' stream ${o} transport closed`),v.o_(),this.E_(h))}),pa(h,ee.EventType.ERROR,L=>{_||(_=!0,Rt(hn,`RPC '${t}' stream ${o} transport errored. Name:`,L.name,"Message:",L.message),v.o_(new it(z.UNAVAILABLE,"The operation could not be completed")))}),pa(h,ee.EventType.MESSAGE,L=>{if(!_){const G=L.data[0];dt(!!G,16349);const rt=G,et=rt?.error||rt[0]?.error;if(et){b(hn,`RPC '${t}' stream ${o} received error:`,et);const vt=et.status;let yt=function(At){const C=Ue[At];if(void 0!==C)return function R_(r){if(void 0===r)return ht("GRPC error has no .code"),z.UNKNOWN;switch(r){case Ue.OK:return z.OK;case Ue.CANCELLED:return z.CANCELLED;case Ue.UNKNOWN:return z.UNKNOWN;case Ue.DEADLINE_EXCEEDED:return z.DEADLINE_EXCEEDED;case Ue.RESOURCE_EXHAUSTED:return z.RESOURCE_EXHAUSTED;case Ue.INTERNAL:return z.INTERNAL;case Ue.UNAVAILABLE:return z.UNAVAILABLE;case Ue.UNAUTHENTICATED:return z.UNAUTHENTICATED;case Ue.INVALID_ARGUMENT:return z.INVALID_ARGUMENT;case Ue.NOT_FOUND:return z.NOT_FOUND;case Ue.ALREADY_EXISTS:return z.ALREADY_EXISTS;case Ue.PERMISSION_DENIED:return z.PERMISSION_DENIED;case Ue.FAILED_PRECONDITION:return z.FAILED_PRECONDITION;case Ue.ABORTED:return z.ABORTED;case Ue.OUT_OF_RANGE:return z.OUT_OF_RANGE;case Ue.UNIMPLEMENTED:return z.UNIMPLEMENTED;case Ue.DATA_LOSS:return z.DATA_LOSS;default:return at(39323,{code:r})}}(C)}(vt),kt=et.message;void 0===yt&&(yt=z.INTERNAL,kt="Unknown error status: "+vt+" with message "+et.message),_=!0,v.o_(new it(yt,kt)),h.close()}else b(hn,`RPC '${t}' stream ${o} received:`,G),v.__(G)}}),ts.u_(),setTimeout(()=>{v.s_()},0),v}terminate(){this.a_.forEach(t=>t.close()),this.a_=[]}I_(t){this.a_.push(t)}E_(t){this.a_=this.a_.filter(e=>e===t)}Go(t,e,n){super.Go(t,e,n),this.databaseInfo.apiKey&&(t["x-goog-api-key"]=this.databaseInfo.apiKey)}createWebChannelTransport(){return mr()}}function ol(){return typeof document<"u"?document:null}ts.c_=!1;class wh{constructor(t,e,n=1e3,o=1.5,i=6e4){this.Ci=t,this.timerId=e,this.R_=n,this.A_=o,this.V_=i,this.d_=0,this.m_=null,this.f_=Date.now(),this.reset()}reset(){this.d_=0}g_(){this.d_=this.V_}p_(t){this.cancel();const e=Math.floor(this.d_+this.y_()),n=Math.max(0,Date.now()-this.f_),o=Math.max(0,e-n);o>0&&b("ExponentialBackoff",`Backing off for ${o} ms (base delay: ${this.d_} ms, delay with jitter: ${e} ms, last attempt: ${n} ms ago)`),this.m_=this.Ci.enqueueAfterDelay(this.timerId,o,()=>(this.f_=Date.now(),t())),this.d_*=this.A_,this.d_<this.R_&&(this.d_=this.R_),this.d_>this.V_&&(this.d_=this.V_)}w_(){null!==this.m_&&(this.m_.skipDelay(),this.m_=null)}cancel(){null!==this.m_&&(this.m_.cancel(),this.m_=null)}y_(){return(Math.random()-.5)*this.d_}}class Mh{constructor(t,e,n,o,i){this.asyncQueue=t,this.timerId=e,this.targetTimeMs=n,this.op=o,this.removalCallback=i,this.deferred=new re,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(s=>{})}get promise(){return this.deferred.promise}static createAndSchedule(t,e,n,o,i){const s=Date.now()+n,a=new Mh(t,e,s,o,i);return a.start(n),a}start(t){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),t)}skipDelay(){return this.handleDelayElapsed()}cancel(t){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new it(z.CANCELLED,"Operation cancelled"+(t?": "+t:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then(t=>this.deferred.resolve(t))):Promise.resolve())}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}var $h,ow;(ow=$h||($h={})).Ma="default",ow.Cache="cache";const _a=new Map;class Rw{constructor(t){if(void 0===t.host){if(void 0!==t.ssl)throw new it(z.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=t.host,this.ssl=t.ssl??!0;if(this.isUsingEmulator=void 0!==t.emulatorOptions,this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,this.localCache=t.localCache,void 0===t.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==t.cacheSizeBytes&&t.cacheSizeBytes<1048576)throw new it(z.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}(function pu(r,t,e,n){if(!0===t&&!0===n)throw new it(z.INVALID_ARGUMENT,`${r} and ${e} cannot be used together.`)})("experimentalForceLongPolling",t.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",t.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalAutoDetectLongPolling=!(this.experimentalForceLongPolling||void 0!==t.experimentalAutoDetectLongPolling&&!t.experimentalAutoDetectLongPolling),this.experimentalLongPollingOptions=function vw(r){const t={};return void 0!==r.timeoutSeconds&&(t.timeoutSeconds=r.timeoutSeconds),t}(t.experimentalLongPollingOptions??{}),function(n){if(void 0!==n.timeoutSeconds){if(isNaN(n.timeoutSeconds))throw new it(z.INVALID_ARGUMENT,`invalid long polling timeout: ${n.timeoutSeconds} (must not be NaN)`);if(n.timeoutSeconds<5)throw new it(z.INVALID_ARGUMENT,`invalid long polling timeout: ${n.timeoutSeconds} (minimum allowed value is 5)`);if(n.timeoutSeconds>30)throw new it(z.INVALID_ARGUMENT,`invalid long polling timeout: ${n.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!t.useFetchStreams}isEqual(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&this.experimentalLongPollingOptions.timeoutSeconds===t.experimentalLongPollingOptions.timeoutSeconds&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties&&this.useFetchStreams===t.useFetchStreams}}class ya{constructor(t,e,n,o){this._authCredentials=t,this._appCheckCredentials=e,this._databaseId=n,this._app=o,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new Rw({}),this._settingsFrozen=!1,this._emulatorOptions={},this._terminateTask="notTerminated"}get app(){if(!this._app)throw new it(z.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return"notTerminated"!==this._terminateTask}_setSettings(t){if(this._settingsFrozen)throw new it(z.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new Rw(t),this._emulatorOptions=t.emulatorOptions||{},void 0!==t.credentials&&(this._authCredentials=function(n){if(!n)return new wr;switch(n.type){case"firstParty":return new j(n.sessionIndex||"0",n.iamToken||null,n.authTokenFactory||null);case"provider":return n.client;default:throw new it(z.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(t.credentials))}_getSettings(){return this._settings}_getEmulatorOptions(){return this._emulatorOptions}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return"notTerminated"===this._terminateTask&&(this._terminateTask=this._terminate()),this._terminateTask}_restart(){var t=this;return(0,E.A)(function*(){"notTerminated"===t._terminateTask?yield t._terminate():t._terminateTask="notTerminated"})()}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(e){const n=_a.get(e);n&&(b("ComponentProvider","Removing Datastore"),_a.delete(e),n.terminate())}(this),Promise.resolve()}}class Un{constructor(t,e,n){this.converter=e,this._query=n,this.type="query",this.firestore=t}withConverter(t){return new Un(this.firestore,t,this._query)}}class Ne{constructor(t,e,n){this.converter=e,this._key=n,this.type="document",this.firestore=t}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new lr(this.firestore,this.converter,this._key.path.popLast())}withConverter(t){return new Ne(this.firestore,t,this._key)}toJSON(){return{type:Ne._jsonSchemaVersion,referencePath:this._key.toString()}}static fromJSON(t,e,n){if(Vr(e,Ne._jsonSchema))return new Ne(t,n||null,new pt(Vt.fromString(e.referencePath)))}}Ne._jsonSchemaVersion="firestore/documentReference/1.0",Ne._jsonSchema={type:Se("string",Ne._jsonSchemaVersion),referencePath:Se("string")};class lr extends Un{constructor(t,e,n){super(t,e,function Hs(r){return new Ur(r)}(n)),this._path=n,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const t=this._path.popLast();return t.isEmpty()?null:new Ne(this.firestore,null,new pt(t))}withConverter(t){return new lr(this.firestore,t,this._path)}}const Sw="AsyncQueue";class Pw{constructor(t=Promise.resolve()){this.Yu=[],this.ec=!1,this.tc=[],this.nc=null,this.rc=!1,this.sc=!1,this.oc=[],this.M_=new wh(this,"async_queue_retry"),this._c=()=>{const n=ol();n&&b(Sw,"Visibility state changed to "+n.visibilityState),this.M_.w_()},this.ac=t;const e=ol();e&&"function"==typeof e.addEventListener&&e.addEventListener("visibilitychange",this._c)}get isShuttingDown(){return this.ec}enqueueAndForget(t){this.enqueue(t)}enqueueAndForgetEvenWhileRestricted(t){this.uc(),this.cc(t)}enterRestrictedMode(t){if(!this.ec){this.ec=!0,this.sc=t||!1;const e=ol();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("visibilitychange",this._c)}}enqueue(t){if(this.uc(),this.ec)return new Promise(()=>{});const e=new re;return this.cc(()=>this.ec&&this.sc?Promise.resolve():(t().then(e.resolve,e.reject),e.promise)).then(()=>e.promise)}enqueueRetryable(t){this.enqueueAndForget(()=>(this.Yu.push(t),this.lc()))}lc(){var t=this;return(0,E.A)(function*(){if(0!==t.Yu.length){try{yield t.Yu[0](),t.Yu.shift(),t.M_.reset()}catch(e){if(!function st(r){return"IndexedDbTransactionError"===r.name}(e))throw e;b(Sw,"Operation failed with retryable error: "+e)}t.Yu.length>0&&t.M_.p_(()=>t.lc())}})()}cc(t){const e=this.ac.then(()=>(this.rc=!0,t().catch(n=>{throw this.nc=n,this.rc=!1,ht("INTERNAL UNHANDLED ERROR: ",xw(n)),n}).then(n=>(this.rc=!1,n))));return this.ac=e,e}enqueueAfterDelay(t,e,n){this.uc(),this.oc.indexOf(t)>-1&&(e=0);const o=Mh.createAndSchedule(this,t,e,n,i=>this.hc(i));return this.tc.push(o),o}uc(){this.nc&&at(47125,{Pc:xw(this.nc)})}verifyOperationInProgress(){}Tc(){var t=this;return(0,E.A)(function*(){let e;do{e=t.ac,yield e}while(e!==t.ac)})()}Ic(t){for(const e of this.tc)if(e.timerId===t)return!0;return!1}Ec(t){return this.Tc().then(()=>{this.tc.sort((e,n)=>e.targetTimeMs-n.targetTimeMs);for(const e of this.tc)if(e.skipDelay(),"all"!==t&&e.timerId===t)break;return this.Tc()})}Rc(t){this.oc.push(t)}hc(t){const e=this.tc.indexOf(t);this.tc.splice(e,1)}}function xw(r){let t=r.message||"";return r.stack&&(t=r.stack.includes(r.message)?r.stack:r.message+"\n"+r.stack),t}class Ar extends ya{constructor(t,e,n,o){super(t,e,n,o),this.type="firestore",this._queue=new Pw,this._persistenceKey=o?.name||"[DEFAULT]"}_terminate(){var t=this;return(0,E.A)(function*(){if(t._firestoreClient){const e=t._firestoreClient.terminate();t._queue=new Pw(e),t._firestoreClient=void 0,yield e}})()}}class qn{constructor(t){this._byteString=t}static fromBase64String(t){try{return new qn(Pe.fromBase64String(t))}catch(e){throw new it(z.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+e)}}static fromUint8Array(t){return new qn(Pe.fromUint8Array(t))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(t){return this._byteString.isEqual(t._byteString)}toJSON(){return{type:qn._jsonSchemaVersion,bytes:this.toBase64()}}static fromJSON(t){if(Vr(t,qn._jsonSchema))return qn.fromBase64String(t.bytes)}}qn._jsonSchemaVersion="firestore/bytes/1.0",qn._jsonSchema={type:Se("string",qn._jsonSchemaVersion),bytes:Se("string")};class ul{constructor(...t){for(let e=0;e<t.length;++e)if(0===t[e].length)throw new it(z.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new ne(t)}isEqual(t){return this._internalPath.isEqual(t._internalPath)}}class Rr{constructor(t,e){if(!isFinite(t)||t<-90||t>90)throw new it(z.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(e)||e<-180||e>180)throw new it(z.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+e);this._lat=t,this._long=e}get latitude(){return this._lat}get longitude(){return this._long}isEqual(t){return this._lat===t._lat&&this._long===t._long}_compareTo(t){return lt(this._lat,t._lat)||lt(this._long,t._long)}toJSON(){return{latitude:this._lat,longitude:this._long,type:Rr._jsonSchemaVersion}}static fromJSON(t){if(Vr(t,Rr._jsonSchema))return new Rr(t.latitude,t.longitude)}}Rr._jsonSchemaVersion="firestore/geoPoint/1.0",Rr._jsonSchema={type:Se("string",Rr._jsonSchemaVersion),latitude:Se("number"),longitude:Se("number")};class Jn{constructor(t){this._values=(t||[]).map(e=>e)}toArray(){return this._values.map(t=>t)}isEqual(t){return function(n,o){if(n.length!==o.length)return!1;for(let i=0;i<n.length;++i)if(n[i]!==o[i])return!1;return!0}(this._values,t._values)}toJSON(){return{type:Jn._jsonSchemaVersion,vectorValues:this._values}}static fromJSON(t){if(Vr(t,Jn._jsonSchema)){if(Array.isArray(t.vectorValues)&&t.vectorValues.every(e=>"number"==typeof e))return new Jn(t.vectorValues);throw new it(z.INVALID_ARGUMENT,"Expected 'vectorValues' field to be a number array")}}}function ba(r,t,e){if((t=(0,Et.Ku)(t))instanceof ul)return t._internalPath;if("string"==typeof t)return function Fw(r,t,e){if(t.search(WA)>=0)throw dl(`Invalid field path (${t}). Paths must not contain '~', '*', '/', '[', or ']'`,r,!1,void 0,e);try{return new ul(...t.split("."))._internalPath}catch{throw dl(`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,r,!1,void 0,e)}}(r,t);throw dl("Field path arguments must be of type string or ",r,!1,void 0,e)}Jn._jsonSchemaVersion="firestore/vectorValue/1.0",Jn._jsonSchema={type:Se("string",Jn._jsonSchemaVersion),vectorValues:Se("object")};const WA=new RegExp("[~\\*/\\[\\]]");function dl(r,t,e,n,o){const i=n&&!n.isEmpty(),s=void 0!==o;let a=`Function ${t}() called with invalid data`;e&&(a+=" (via `toFirestore()`)"),a+=". ";let l="";return(i||s)&&(l+=" (found",i&&(l+=` in field ${n}`),s&&(l+=` in document ${o}`),l+=")"),new it(z.INVALID_ARGUMENT,a+r+l)}const ib="@firebase/firestore";class Ia{constructor(t,e,n,o,i){this._firestore=t,this._userDataWriter=e,this._key=n,this._document=o,this._converter=i}get id(){return this._key.path.lastSegment()}get ref(){return new Ne(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const t=new SR(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(t)}return this._userDataWriter.convertValue(this._document.data.value)}}_fieldsProto(){return this._document?.data.clone().value.mapValue.fields??void 0}get(t){if(this._document){const e=this._document.data.field(ba("DocumentSnapshot.get",t));if(null!==e)return this._userDataWriter.convertValue(e)}}}class SR extends Ia{data(){return super.data()}}class Ro{constructor(t,e){this.hasPendingWrites=t,this.fromCache=e}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class $n extends Ia{constructor(t,e,n,o,i,s){super(t,e,n,o,s),this._firestore=t,this._firestoreImpl=t,this.metadata=i}exists(){return super.exists()}data(t={}){if(this._document){if(this._converter){const e=new bl(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(e,t)}return this._userDataWriter.convertValue(this._document.data.value,t.serverTimestamps)}}get(t,e={}){if(this._document){const n=this._document.data.field(ba("DocumentSnapshot.get",t));if(null!==n)return this._userDataWriter.convertValue(n,e.serverTimestamps)}}toJSON(){if(this.metadata.hasPendingWrites)throw new it(z.FAILED_PRECONDITION,"DocumentSnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");const t=this._document,e={};return e.type=$n._jsonSchemaVersion,e.bundle="",e.bundleSource="DocumentSnapshot",e.bundleName=this._key.toString(),t&&t.isValidDocument()&&t.isFoundDocument()?(this._userDataWriter.convertObjectMap(t.data.value.mapValue.fields,"previous"),e.bundle="NOT SUPPORTED",e):e}}$n._jsonSchemaVersion="firestore/documentSnapshot/1.0",$n._jsonSchema={type:Se("string",$n._jsonSchemaVersion),bundleSource:Se("string","DocumentSnapshot"),bundleName:Se("string"),bundle:Se("string")};class bl extends $n{data(t={}){return super.data(t)}}class zn{constructor(t,e,n,o){this._firestore=t,this._userDataWriter=e,this._snapshot=o,this.metadata=new Ro(o.hasPendingWrites,o.fromCache),this.query=n}get docs(){const t=[];return this.forEach(e=>t.push(e)),t}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(t,e){this._snapshot.docs.forEach(n=>{t.call(e,new bl(this._firestore,this._userDataWriter,n.key,n,new Ro(this._snapshot.mutatedKeys.has(n.key),this._snapshot.fromCache),this.query.converter))})}docChanges(t={}){const e=!!t.includeMetadataChanges;if(e&&this._snapshot.excludesMetadataChanges)throw new it(z.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===e||(this._cachedChanges=function(o,i){if(o._snapshot.oldDocs.isEmpty()){let s=0;return o._snapshot.docChanges.map(a=>({type:"added",doc:new bl(o._firestore,o._userDataWriter,a.doc.key,a.doc,new Ro(o._snapshot.mutatedKeys.has(a.doc.key),o._snapshot.fromCache),o.query.converter),oldIndex:-1,newIndex:s++}))}{let s=o._snapshot.oldDocs;return o._snapshot.docChanges.filter(a=>i||3!==a.type).map(a=>{const l=new bl(o._firestore,o._userDataWriter,a.doc.key,a.doc,new Ro(o._snapshot.mutatedKeys.has(a.doc.key),o._snapshot.fromCache),o.query.converter);let u=-1,h=-1;return 0!==a.type&&(u=s.indexOf(a.doc.key),s=s.delete(a.doc.key)),1!==a.type&&(s=s.add(a.doc),h=s.indexOf(a.doc.key)),{type:MR(a.type),doc:l,oldIndex:u,newIndex:h}})}}(this,e),this._cachedChangesIncludeMetadataChanges=e),this._cachedChanges}toJSON(){if(this.metadata.hasPendingWrites)throw new it(z.FAILED_PRECONDITION,"QuerySnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");const t={};t.type=zn._jsonSchemaVersion,t.bundleSource="QuerySnapshot",t.bundleName=Nt.newId();const e=[],n=[],o=[];return this.docs.forEach(i=>{null!==i._document&&(e.push(i._document),n.push(this._userDataWriter.convertObjectMap(i._document.data.value.mapValue.fields,"previous")),o.push(i.ref.path))}),t.bundle="NOT SUPPORTED",t}}function MR(r){switch(r){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return at(61501,{type:r})}}zn._jsonSchemaVersion="firestore/querySnapshot/1.0",zn._jsonSchema={type:Se("string",zn._jsonSchemaVersion),bundleSource:Se("string","QuerySnapshot"),bundleName:Se("string"),bundle:Se("string")},function(t,e=!0){(function S(r){Me=r})(mt.MF),(0,mt.om)(new fr.uA("firestore",(n,{instanceIdentifier:o,options:i})=>{const s=n.getProvider("app").getImmediate(),a=new Ar(new En(n.getProvider("auth-internal")),new Q(s,n.getProvider("app-check-internal")),function gT(r,t){if(!Object.prototype.hasOwnProperty.apply(r.options,["projectId"]))throw new it(z.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new Zo(r.options.projectId,t)}(s,o),s);return i={useFetchStreams:e,...i},a._setSettings(i),a},"PUBLIC").setMultipleInstances(!0)),(0,mt.KO)(ib,"4.10.0",t),(0,mt.KO)(ib,"4.10.0","esm2020")}();const XR=function bb(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}},vb=new Et.FA("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),El=new ae.Vy("@firebase/auth");function Il(r,...t){El.logLevel<=ae.$b.ERROR&&El.error(`Auth (${mt.MF}): ${r}`,...t)}function Sn(r,...t){throw Qd(r,...t)}function Xn(r,...t){return Qd(r,...t)}function Wd(r,t,e){const n={...XR(),[t]:e};return new Et.FA("auth","Firebase",n).create(t,{appName:r.name})}function Xe(r){return Wd(r,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function Qd(r,...t){if("string"!=typeof r){const e=t[0],n=[...t.slice(1)];return n[0]&&(n[0].appName=r.name),r._errorFactory.create(e,...n)}return vb.create(r,...t)}function ct(r,t,...e){if(!r)throw Qd(t,...e)}function Sr(r){const t="INTERNAL ASSERTION FAILED: "+r;throw Il(t),new Error(t)}function Po(r,t){r||Sr(t)}function Eb(){return typeof self<"u"&&self.location?.protocol||null}class Ca{constructor(t,e){this.shortDelay=t,this.longDelay=e,Po(e>t,"Short delay should be less than long delay!"),this.isMobile=(0,Et.jZ)()||(0,Et.lV)()}get(){return function ZR(){return!(typeof navigator<"u"&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(function Jd(){return"http:"===Eb()||"https:"===Eb()}()||(0,Et.sr)()||"connection"in navigator))||navigator.onLine}()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}class Ib{static initialize(t,e,n){this.fetchImpl=t,e&&(this.headersImpl=e),n&&(this.responseImpl=n)}static fetch(){return this.fetchImpl?this.fetchImpl:typeof self<"u"&&"fetch"in self?self.fetch:typeof globalThis<"u"&&globalThis.fetch?globalThis.fetch:typeof fetch<"u"?fetch:void Sr("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:typeof self<"u"&&"Headers"in self?self.Headers:typeof globalThis<"u"&&globalThis.Headers?globalThis.Headers:typeof Headers<"u"?Headers:void Sr("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:typeof self<"u"&&"Response"in self?self.Response:typeof globalThis<"u"&&globalThis.Response?globalThis.Response:typeof Response<"u"?Response:void Sr("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const eS={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},nS=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],rS=new Ca(3e4,6e4);function fe(r,t){return r.tenantId&&!t.tenantId?{...t,tenantId:r.tenantId}:t}function ge(r,t,e,n){return Yd.apply(this,arguments)}function Yd(){return(Yd=(0,E.A)(function*(r,t,e,n,o={}){return Tb(r,o,(0,E.A)(function*(){let i={},s={};n&&("GET"===t?s=n:i={body:JSON.stringify(n)});const a=(0,Et.Am)({key:r.config.apiKey,...s}).slice(1),l=yield r._getAdditionalHeaders();l["Content-Type"]="application/json",r.languageCode&&(l["X-Firebase-Locale"]=r.languageCode);const u={method:t,headers:l,...i};return(0,Et.c1)()||(u.referrerPolicy="no-referrer"),r.emulatorConfig&&(0,Et.zJ)(r.emulatorConfig.host)&&(u.credentials="include"),Ib.fetch()(yield Ab(r,r.config.apiHost,e,a),u)}))})).apply(this,arguments)}function Tb(r,t,e){return Zd.apply(this,arguments)}function Zd(){return(Zd=(0,E.A)(function*(r,t,e){r._canInitEmulator=!1;const n={...eS,...t};try{const o=new iS(r),i=yield Promise.race([e(),o.promise]);o.clearNetworkTimeout();const s=yield i.json();if("needConfirmation"in s)throw Da(r,"account-exists-with-different-credential",s);if(i.ok&&!("errorMessage"in s))return s;{const a=i.ok?s.errorMessage:s.error.message,[l,u]=a.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===l)throw Da(r,"credential-already-in-use",s);if("EMAIL_EXISTS"===l)throw Da(r,"email-already-in-use",s);if("USER_DISABLED"===l)throw Da(r,"user-disabled",s);const h=n[l]||l.toLowerCase().replace(/[_\s]+/g,"-");if(u)throw Wd(r,h,u);Sn(r,h)}}catch(o){if(o instanceof Et.g)throw o;Sn(r,"network-request-failed",{message:String(o)})}})).apply(this,arguments)}function Ab(r,t,e,n){return ep.apply(this,arguments)}function ep(){return(ep=(0,E.A)(function*(r,t,e,n){const o=`${t}${e}?${n}`,i=r,s=i.config.emulator?function Xd(r,t){Po(r.emulator,"Emulator should always be set here");const{url:e}=r.emulator;return t?`${e}${t.startsWith("/")?t.slice(1):t}`:e}(r.config,o):`${r.config.apiScheme}://${o}`;return nS.includes(e)&&(yield i._persistenceManagerAvailable,"COOKIE"===i._getPersistenceType())?i._getPersistence()._getFinalTarget(s).toString():s})).apply(this,arguments)}class iS{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(t){this.auth=t,this.timer=null,this.promise=new Promise((e,n)=>{this.timer=setTimeout(()=>n(Xn(this.auth,"network-request-failed")),rS.get())})}}function Da(r,t,e){const n={appName:r.name};e.email&&(n.email=e.email),e.phoneNumber&&(n.phoneNumber=e.phoneNumber);const o=Xn(r,t,n);return o.customData._tokenResponse=e,o}function op(){return(op=(0,E.A)(function*(r,t){return ge(r,"POST","/v1/accounts:delete",t)})).apply(this,arguments)}function Tl(r,t){return sp.apply(this,arguments)}function sp(){return(sp=(0,E.A)(function*(r,t){return ge(r,"POST","/v1/accounts:lookup",t)})).apply(this,arguments)}function Na(r){if(r)try{const t=new Date(Number(r));if(!isNaN(t.getTime()))return t.toUTCString()}catch{}}function ap(){return(ap=(0,E.A)(function*(r,t=!1){const e=(0,Et.Ku)(r),n=yield e.getIdToken(t),o=Al(n);ct(o&&o.exp&&o.auth_time&&o.iat,e.auth,"internal-error");const i="object"==typeof o.firebase?o.firebase:void 0,s=i?.sign_in_provider;return{claims:o,token:n,authTime:Na(cp(o.auth_time)),issuedAtTime:Na(cp(o.iat)),expirationTime:Na(cp(o.exp)),signInProvider:s||null,signInSecondFactor:i?.sign_in_second_factor||null}})).apply(this,arguments)}function cp(r){return 1e3*Number(r)}function Al(r){const[t,e,n]=r.split(".");if(void 0===t||void 0===e||void 0===n)return Il("JWT malformed, contained fewer than 3 sections"),null;try{const o=(0,Et.u)(e);return o?JSON.parse(o):(Il("Failed to decode base64 JWT payload"),null)}catch(o){return Il("Caught error parsing JWT payload as JSON",o?.toString()),null}}function kb(r){const t=Al(r);return ct(t,"internal-error"),ct(typeof t.exp<"u","internal-error"),ct(typeof t.iat<"u","internal-error"),Number(t.exp)-Number(t.iat)}function Kr(r,t){return lp.apply(this,arguments)}function lp(){return(lp=(0,E.A)(function*(r,t,e=!1){if(e)return t;try{return yield t}catch(n){throw n instanceof Et.g&&function uS({code:r}){return"auth/user-disabled"===r||"auth/user-token-expired"===r}(n)&&r.auth.currentUser===r&&(yield r.auth.signOut()),n}})).apply(this,arguments)}class hS{constructor(t){this.user=t,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(t){if(t){const e=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),e}{this.errorBackoff=3e4;const n=(this.user.stsTokenManager.expirationTime??0)-Date.now()-3e5;return Math.max(0,n)}}schedule(t=!1){var e=this;if(!this.isRunning)return;const n=this.getInterval(t);this.timerId=setTimeout((0,E.A)(function*(){yield e.iteration()}),n)}iteration(){var t=this;return(0,E.A)(function*(){try{yield t.user.getIdToken(!0)}catch(e){return void("auth/network-request-failed"===e?.code&&t.schedule(!0))}t.schedule()})()}}class up{constructor(t,e){this.createdAt=t,this.lastLoginAt=e,this._initializeTime()}_initializeTime(){this.lastSignInTime=Na(this.lastLoginAt),this.creationTime=Na(this.createdAt)}_copy(t){this.createdAt=t.createdAt,this.lastLoginAt=t.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}function Oa(r){return hp.apply(this,arguments)}function hp(){return(hp=(0,E.A)(function*(r){const t=r.auth,e=yield r.getIdToken(),n=yield Kr(r,Tl(t,{idToken:e}));ct(n?.users.length,t,"internal-error");const o=n.users[0];r._notifyReloadListener(o);const i=o.providerUserInfo?.length?Cb(o.providerUserInfo):[],s=function pS(r,t){return[...r.filter(n=>!t.some(o=>o.providerId===n.providerId)),...t]}(r.providerData,i),u=!!r.isAnonymous&&!(r.email&&o.passwordHash||s?.length),h={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:s,metadata:new up(o.createdAt,o.lastLoginAt),isAnonymous:u};Object.assign(r,h)})).apply(this,arguments)}function dp(){return(dp=(0,E.A)(function*(r){const t=(0,Et.Ku)(r);yield Oa(t),yield t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)})).apply(this,arguments)}function Cb(r){return r.map(({providerId:t,...e})=>({providerId:t,uid:e.rawId||"",displayName:e.displayName||null,email:e.email||null,phoneNumber:e.phoneNumber||null,photoURL:e.photoUrl||null}))}function pp(){return(pp=(0,E.A)(function*(r,t){const e=yield Tb(r,{},(0,E.A)(function*(){const n=(0,Et.Am)({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:o,apiKey:i}=r.config,s=yield Ab(r,o,"/v1/token",`key=${i}`),a=yield r._getAdditionalHeaders();a["Content-Type"]="application/x-www-form-urlencoded";const l={method:"POST",headers:a,body:n};return r.emulatorConfig&&(0,Et.zJ)(r.emulatorConfig.host)&&(l.credentials="include"),Ib.fetch()(s,l)}));return{accessToken:e.access_token,expiresIn:e.expires_in,refreshToken:e.refresh_token}})).apply(this,arguments)}function fp(){return(fp=(0,E.A)(function*(r,t){return ge(r,"POST","/v2/accounts:revokeToken",fe(r,t))})).apply(this,arguments)}class gs{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(t){ct(t.idToken,"internal-error"),ct(typeof t.idToken<"u","internal-error"),ct(typeof t.refreshToken<"u","internal-error");const e="expiresIn"in t&&typeof t.expiresIn<"u"?Number(t.expiresIn):kb(t.idToken);this.updateTokensAndExpiration(t.idToken,t.refreshToken,e)}updateFromIdToken(t){ct(0!==t.length,"internal-error");const e=kb(t);this.updateTokensAndExpiration(t,null,e)}getToken(t){var e=this;return(0,E.A)(function*(n,o=!1){return o||!e.accessToken||e.isExpired?(ct(e.refreshToken,n,"user-token-expired"),e.refreshToken?(yield e.refresh(n,e.refreshToken),e.accessToken):null):e.accessToken}).apply(this,arguments)}clearRefreshToken(){this.refreshToken=null}refresh(t,e){var n=this;return(0,E.A)(function*(){const{accessToken:o,refreshToken:i,expiresIn:s}=yield function fS(r,t){return pp.apply(this,arguments)}(t,e);n.updateTokensAndExpiration(o,i,Number(s))})()}updateTokensAndExpiration(t,e,n){this.refreshToken=e||null,this.accessToken=t||null,this.expirationTime=Date.now()+1e3*n}static fromJSON(t,e){const{refreshToken:n,accessToken:o,expirationTime:i}=e,s=new gs;return n&&(ct("string"==typeof n,"internal-error",{appName:t}),s.refreshToken=n),o&&(ct("string"==typeof o,"internal-error",{appName:t}),s.accessToken=o),i&&(ct("number"==typeof i,"internal-error",{appName:t}),s.expirationTime=i),s}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(t){this.accessToken=t.accessToken,this.refreshToken=t.refreshToken,this.expirationTime=t.expirationTime}_clone(){return Object.assign(new gs,this.toJSON())}_performRefresh(){return Sr("not implemented")}}function xo(r,t){ct("string"==typeof r||typeof r>"u","internal-error",{appName:t})}class ur{constructor({uid:t,auth:e,stsTokenManager:n,...o}){this.providerId="firebase",this.proactiveRefresh=new hS(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=t,this.auth=e,this.stsTokenManager=n,this.accessToken=n.accessToken,this.displayName=o.displayName||null,this.email=o.email||null,this.emailVerified=o.emailVerified||!1,this.phoneNumber=o.phoneNumber||null,this.photoURL=o.photoURL||null,this.isAnonymous=o.isAnonymous||!1,this.tenantId=o.tenantId||null,this.providerData=o.providerData?[...o.providerData]:[],this.metadata=new up(o.createdAt||void 0,o.lastLoginAt||void 0)}getIdToken(t){var e=this;return(0,E.A)(function*(){const n=yield Kr(e,e.stsTokenManager.getToken(e.auth,t));return ct(n,e.auth,"internal-error"),e.accessToken!==n&&(e.accessToken=n,yield e.auth._persistUserIfCurrent(e),e.auth._notifyListenersIfCurrent(e)),n})()}getIdTokenResult(t){return function lS(r){return ap.apply(this,arguments)}(this,t)}reload(){return function dS(r){return dp.apply(this,arguments)}(this)}_assign(t){this!==t&&(ct(this.uid===t.uid,this.auth,"internal-error"),this.displayName=t.displayName,this.photoURL=t.photoURL,this.email=t.email,this.emailVerified=t.emailVerified,this.phoneNumber=t.phoneNumber,this.isAnonymous=t.isAnonymous,this.tenantId=t.tenantId,this.providerData=t.providerData.map(e=>({...e})),this.metadata._copy(t.metadata),this.stsTokenManager._assign(t.stsTokenManager))}_clone(t){const e=new ur({...this,auth:t,stsTokenManager:this.stsTokenManager._clone()});return e.metadata._copy(this.metadata),e}_onReload(t){ct(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=t,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(t){this.reloadListener?this.reloadListener(t):this.reloadUserInfo=t}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(t){var e=this;return(0,E.A)(function*(n,o=!1){let i=!1;n.idToken&&n.idToken!==e.stsTokenManager.accessToken&&(e.stsTokenManager.updateFromServerResponse(n),i=!0),o&&(yield Oa(e)),yield e.auth._persistUserIfCurrent(e),i&&e.auth._notifyListenersIfCurrent(e)}).apply(this,arguments)}delete(){var t=this;return(0,E.A)(function*(){if((0,mt.xZ)(t.auth.app))return Promise.reject(Xe(t.auth));const e=yield t.getIdToken();return yield Kr(t,function aS(r,t){return op.apply(this,arguments)}(t.auth,{idToken:e})),t.stsTokenManager.clearRefreshToken(),t.auth.signOut()})()}toJSON(){return{uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(t=>({...t})),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId,...this.metadata.toJSON(),apiKey:this.auth.config.apiKey,appName:this.auth.name}}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(t,e){const n=e.displayName??void 0,o=e.email??void 0,i=e.phoneNumber??void 0,s=e.photoURL??void 0,a=e.tenantId??void 0,l=e._redirectEventId??void 0,u=e.createdAt??void 0,h=e.lastLoginAt??void 0,{uid:p,emailVerified:_,isAnonymous:v,providerData:L,stsTokenManager:G}=e;ct(p&&G,t,"internal-error");const rt=gs.fromJSON(this.name,G);ct("string"==typeof p,t,"internal-error"),xo(n,t.name),xo(o,t.name),ct("boolean"==typeof _,t,"internal-error"),ct("boolean"==typeof v,t,"internal-error"),xo(i,t.name),xo(s,t.name),xo(a,t.name),xo(l,t.name),xo(u,t.name),xo(h,t.name);const et=new ur({uid:p,auth:t,email:o,emailVerified:_,displayName:n,isAnonymous:v,photoURL:s,phoneNumber:i,tenantId:a,stsTokenManager:rt,createdAt:u,lastLoginAt:h});return L&&Array.isArray(L)&&(et.providerData=L.map(vt=>({...vt}))),l&&(et._redirectEventId=l),et}static _fromIdTokenResponse(t,e){return(0,E.A)(function*(n,o,i=!1){const s=new gs;s.updateFromServerResponse(o);const a=new ur({uid:o.localId,auth:n,stsTokenManager:s,isAnonymous:i});return yield Oa(a),a}).apply(this,arguments)}static _fromGetAccountInfoResponse(t,e,n){return(0,E.A)(function*(){const o=e.users[0];ct(void 0!==o.localId,"internal-error");const i=void 0!==o.providerUserInfo?Cb(o.providerUserInfo):[],s=!(o.email&&o.passwordHash||i?.length),a=new gs;a.updateFromIdToken(n);const l=new ur({uid:o.localId,auth:t,stsTokenManager:a,isAnonymous:s}),u={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:i,metadata:new up(o.createdAt,o.lastLoginAt),isAnonymous:!(o.email&&o.passwordHash||i?.length)};return Object.assign(l,u),l})()}}const Db=new Map;function Hr(r){Po(r instanceof Function,"Expected a class definition");let t=Db.get(r);return t?(Po(t instanceof r,"Instance stored in cache mismatched with class"),t):(t=new r,Db.set(r,t),t)}const Nb=(()=>{class r{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return(0,E.A)(function*(){return!0})()}_set(e,n){var o=this;return(0,E.A)(function*(){o.storage[e]=n})()}_get(e){var n=this;return(0,E.A)(function*(){const o=n.storage[e];return void 0===o?null:o})()}_remove(e){var n=this;return(0,E.A)(function*(){delete n.storage[e]})()}_addListener(e,n){}_removeListener(e,n){}}return r.type="NONE",r})();function Rl(r,t,e){return`firebase:${r}:${t}:${e}`}class ms{constructor(t,e,n){this.persistence=t,this.auth=e,this.userKey=n;const{config:o,name:i}=this.auth;this.fullUserKey=Rl(this.userKey,o.apiKey,i),this.fullPersistenceKey=Rl("persistence",o.apiKey,i),this.boundEventHandler=e._onStorageEvent.bind(e),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(t){return this.persistence._set(this.fullUserKey,t.toJSON())}getCurrentUser(){var t=this;return(0,E.A)(function*(){const e=yield t.persistence._get(t.fullUserKey);if(!e)return null;if("string"==typeof e){const n=yield Tl(t.auth,{idToken:e}).catch(()=>{});return n?ur._fromGetAccountInfoResponse(t.auth,n,e):null}return ur._fromJSON(t.auth,e)})()}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(t){var e=this;return(0,E.A)(function*(){if(e.persistence===t)return;const n=yield e.getCurrentUser();return yield e.removeCurrentUser(),e.persistence=t,n?e.setCurrentUser(n):void 0})()}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(t,e){return(0,E.A)(function*(n,o,i="authUser"){if(!o.length)return new ms(Hr(Nb),n,i);const s=(yield Promise.all(o.map(function(){var p=(0,E.A)(function*(_){if(yield _._isAvailable())return _});return function(_){return p.apply(this,arguments)}}()))).filter(p=>p);let a=s[0]||Hr(Nb);const l=Rl(i,n.config.apiKey,n.name);let u=null;for(const p of o)try{const _=yield p._get(l);if(_){let v;if("string"==typeof _){const L=yield Tl(n,{idToken:_}).catch(()=>{});if(!L)break;v=yield ur._fromGetAccountInfoResponse(n,L,_)}else v=ur._fromJSON(n,_);p!==a&&(u=v),a=p;break}}catch{}const h=s.filter(p=>p._shouldAllowMigration);return a._shouldAllowMigration&&h.length?(a=h[0],u&&(yield a._set(l,u.toJSON())),yield Promise.all(o.map(function(){var p=(0,E.A)(function*(_){if(_!==a)try{yield _._remove(l)}catch{}});return function(_){return p.apply(this,arguments)}}())),new ms(a,n,i)):new ms(a,n,i)}).apply(this,arguments)}}function Ob(r){const t=r.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";if(function Fb(r=(0,Et.ZQ)()){return/iemobile/i.test(r)}(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(function Vb(r=(0,Et.ZQ)()){return/firefox\//i.test(r)}(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(function qb(r=(0,Et.ZQ)()){return/blackberry/i.test(r)}(t))return"Blackberry";if(function Bb(r=(0,Et.ZQ)()){return/webos/i.test(r)}(t))return"Webos";if(function Lb(r=(0,Et.ZQ)()){const t=r.toLowerCase();return t.includes("safari/")&&!t.includes("chrome/")&&!t.includes("crios/")&&!t.includes("android")}(t))return"Safari";if((t.includes("chrome/")||function Mb(r=(0,Et.ZQ)()){return/crios\//i.test(r)}(t))&&!t.includes("edge/"))return"Chrome";if(function Ub(r=(0,Et.ZQ)()){return/android/i.test(r)}(t))return"Android";{const n=r.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(2===n?.length)return n[1]}return"Other"}function jb(r,t=[]){let e;switch(r){case"Browser":e=Ob((0,Et.ZQ)());break;case"Worker":e=`${Ob((0,Et.ZQ)())}-${r}`;break;default:e=r}const n=t.length?t.join(","):"FirebaseCore-web";return`${e}/JsCore/${mt.MF}/${n}`}class yS{constructor(t){this.auth=t,this.queue=[]}pushCallback(t,e){const n=i=>new Promise((s,a)=>{try{s(t(i))}catch(l){a(l)}});n.onAbort=e,this.queue.push(n);const o=this.queue.length-1;return()=>{this.queue[o]=()=>Promise.resolve()}}runMiddleware(t){var e=this;return(0,E.A)(function*(){if(e.auth.currentUser===t)return;const n=[];try{for(const o of e.queue)yield o(t),o.onAbort&&n.push(o.onAbort)}catch(o){n.reverse();for(const i of n)try{i()}catch{}throw e.auth._errorFactory.create("login-blocked",{originalMessage:o?.message})}})()}}function mp(){return(mp=(0,E.A)(function*(r,t={}){return ge(r,"GET","/v2/passwordPolicy",fe(r,t))})).apply(this,arguments)}class vS{constructor(t){const e=t.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=e.minPasswordLength??6,e.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=e.maxPasswordLength),void 0!==e.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=e.containsLowercaseCharacter),void 0!==e.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=e.containsUppercaseCharacter),void 0!==e.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=e.containsNumericCharacter),void 0!==e.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=e.containsNonAlphanumericCharacter),this.enforcementState=t.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=t.allowedNonAlphanumericCharacters?.join("")??"",this.forceUpgradeOnSignin=t.forceUpgradeOnSignin??!1,this.schemaVersion=t.schemaVersion}validatePassword(t){const e={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(t,e),this.validatePasswordCharacterOptions(t,e),e.isValid&&(e.isValid=e.meetsMinPasswordLength??!0),e.isValid&&(e.isValid=e.meetsMaxPasswordLength??!0),e.isValid&&(e.isValid=e.containsLowercaseLetter??!0),e.isValid&&(e.isValid=e.containsUppercaseLetter??!0),e.isValid&&(e.isValid=e.containsNumericCharacter??!0),e.isValid&&(e.isValid=e.containsNonAlphanumericCharacter??!0),e}validatePasswordLengthOptions(t,e){const n=this.customStrengthOptions.minPasswordLength,o=this.customStrengthOptions.maxPasswordLength;n&&(e.meetsMinPasswordLength=t.length>=n),o&&(e.meetsMaxPasswordLength=t.length<=o)}validatePasswordCharacterOptions(t,e){let n;this.updatePasswordCharacterOptionsStatuses(e,!1,!1,!1,!1);for(let o=0;o<t.length;o++)n=t.charAt(o),this.updatePasswordCharacterOptionsStatuses(e,n>="a"&&n<="z",n>="A"&&n<="Z",n>="0"&&n<="9",this.allowedNonAlphanumericCharacters.includes(n))}updatePasswordCharacterOptionsStatuses(t,e,n,o,i){this.customStrengthOptions.containsLowercaseLetter&&(t.containsLowercaseLetter||(t.containsLowercaseLetter=e)),this.customStrengthOptions.containsUppercaseLetter&&(t.containsUppercaseLetter||(t.containsUppercaseLetter=n)),this.customStrengthOptions.containsNumericCharacter&&(t.containsNumericCharacter||(t.containsNumericCharacter=o)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(t.containsNonAlphanumericCharacter||(t.containsNonAlphanumericCharacter=i))}}class ES{constructor(t,e,n,o){this.app=t,this.heartbeatServiceProvider=e,this.appCheckServiceProvider=n,this.config=o,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new $b(this),this.idTokenSubscription=new $b(this),this.beforeStateQueue=new yS(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=vb,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=t.name,this.clientVersion=o.sdkClientVersion,this._persistenceManagerAvailable=new Promise(i=>this._resolvePersistenceManagerAvailable=i)}_initializeWithPersistence(t,e){var n=this;return e&&(this._popupRedirectResolver=Hr(e)),this._initializationPromise=this.queue((0,E.A)(function*(){if(!n._deleted&&(n.persistenceManager=yield ms.create(n,t),n._resolvePersistenceManagerAvailable?.(),!n._deleted)){if(n._popupRedirectResolver?._shouldInitProactively)try{yield n._popupRedirectResolver._initialize(n)}catch{}yield n.initializeCurrentUser(e),n.lastNotifiedUid=n.currentUser?.uid||null,!n._deleted&&(n._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){var t=this;return(0,E.A)(function*(){if(t._deleted)return;const e=yield t.assertedPersistence.getCurrentUser();if(t.currentUser||e){if(t.currentUser&&e&&t.currentUser.uid===e.uid)return t._currentUser._assign(e),void(yield t.currentUser.getIdToken());yield t._updateCurrentUser(e,!0)}})()}initializeCurrentUserFromIdToken(t){var e=this;return(0,E.A)(function*(){try{const n=yield Tl(e,{idToken:t}),o=yield ur._fromGetAccountInfoResponse(e,n,t);yield e.directlySetCurrentUser(o)}catch(n){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",n),yield e.directlySetCurrentUser(null)}})()}initializeCurrentUser(t){var e=this;return(0,E.A)(function*(){if((0,mt.xZ)(e.app)){const s=e.app.settings.authIdToken;return s?new Promise(a=>{setTimeout(()=>e.initializeCurrentUserFromIdToken(s).then(a,a))}):e.directlySetCurrentUser(null)}const n=yield e.assertedPersistence.getCurrentUser();let o=n,i=!1;if(t&&e.config.authDomain){yield e.getOrInitRedirectPersistenceManager();const s=e.redirectUser?._redirectEventId,a=o?._redirectEventId,l=yield e.tryRedirectSignIn(t);(!s||s===a)&&l?.user&&(o=l.user,i=!0)}if(!o)return e.directlySetCurrentUser(null);if(!o._redirectEventId){if(i)try{yield e.beforeStateQueue.runMiddleware(o)}catch(s){o=n,e._popupRedirectResolver._overrideRedirectResult(e,()=>Promise.reject(s))}return o?e.reloadAndSetCurrentUserOrClear(o):e.directlySetCurrentUser(null)}return ct(e._popupRedirectResolver,e,"argument-error"),yield e.getOrInitRedirectPersistenceManager(),e.redirectUser&&e.redirectUser._redirectEventId===o._redirectEventId?e.directlySetCurrentUser(o):e.reloadAndSetCurrentUserOrClear(o)})()}tryRedirectSignIn(t){var e=this;return(0,E.A)(function*(){let n=null;try{n=yield e._popupRedirectResolver._completeRedirectFn(e,t,!0)}catch{yield e._setRedirectUser(null)}return n})()}reloadAndSetCurrentUserOrClear(t){var e=this;return(0,E.A)(function*(){try{yield Oa(t)}catch(n){if("auth/network-request-failed"!==n?.code)return e.directlySetCurrentUser(null)}return e.directlySetCurrentUser(t)})()}useDeviceLanguage(){this.languageCode=function tS(){if(typeof navigator>"u")return null;const r=navigator;return r.languages&&r.languages[0]||r.language||null}()}_delete(){var t=this;return(0,E.A)(function*(){t._deleted=!0})()}updateCurrentUser(t){var e=this;return(0,E.A)(function*(){if((0,mt.xZ)(e.app))return Promise.reject(Xe(e));const n=t?(0,Et.Ku)(t):null;return n&&ct(n.auth.config.apiKey===e.config.apiKey,e,"invalid-user-token"),e._updateCurrentUser(n&&n._clone(e))})()}_updateCurrentUser(t){var e=this;return(0,E.A)(function*(n,o=!1){if(!e._deleted)return n&&ct(e.tenantId===n.tenantId,e,"tenant-id-mismatch"),o||(yield e.beforeStateQueue.runMiddleware(n)),e.queue((0,E.A)(function*(){yield e.directlySetCurrentUser(n),e.notifyAuthListeners()}))}).apply(this,arguments)}signOut(){var t=this;return(0,E.A)(function*(){return(0,mt.xZ)(t.app)?Promise.reject(Xe(t)):(yield t.beforeStateQueue.runMiddleware(null),(t.redirectPersistenceManager||t._popupRedirectResolver)&&(yield t._setRedirectUser(null)),t._updateCurrentUser(null,!0))})()}setPersistence(t){var e=this;return(0,mt.xZ)(this.app)?Promise.reject(Xe(this)):this.queue((0,E.A)(function*(){yield e.assertedPersistence.setPersistence(Hr(t))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(t){var e=this;return(0,E.A)(function*(){e._getPasswordPolicyInternal()||(yield e._updatePasswordPolicy());const n=e._getPasswordPolicyInternal();return n.schemaVersion!==e.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(e._errorFactory.create("unsupported-password-policy-schema-version",{})):n.validatePassword(t)})()}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){var t=this;return(0,E.A)(function*(){const e=yield function wS(r){return mp.apply(this,arguments)}(t),n=new vS(e);null===t.tenantId?t._projectPasswordPolicy=n:t._tenantPasswordPolicies[t.tenantId]=n})()}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(t){this._errorFactory=new Et.FA("auth","Firebase",t())}onAuthStateChanged(t,e,n){return this.registerStateListener(this.authStateSubscription,t,e,n)}beforeAuthStateChanged(t,e){return this.beforeStateQueue.pushCallback(t,e)}onIdTokenChanged(t,e,n){return this.registerStateListener(this.idTokenSubscription,t,e,n)}authStateReady(){return new Promise((t,e)=>{if(this.currentUser)t();else{const n=this.onAuthStateChanged(()=>{n(),t()},e)}})}revokeAccessToken(t){var e=this;return(0,E.A)(function*(){if(e.currentUser){const n=yield e.currentUser.getIdToken(),o={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:t,idToken:n};null!=e.tenantId&&(o.tenantId=e.tenantId),yield function gS(r,t){return fp.apply(this,arguments)}(e,o)}})()}toJSON(){return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:this._currentUser?.toJSON()}}_setRedirectUser(t,e){var n=this;return(0,E.A)(function*(){const o=yield n.getOrInitRedirectPersistenceManager(e);return null===t?o.removeCurrentUser():o.setCurrentUser(t)})()}getOrInitRedirectPersistenceManager(t){var e=this;return(0,E.A)(function*(){if(!e.redirectPersistenceManager){const n=t&&Hr(t)||e._popupRedirectResolver;ct(n,e,"argument-error"),e.redirectPersistenceManager=yield ms.create(e,[Hr(n._redirectPersistence)],"redirectUser"),e.redirectUser=yield e.redirectPersistenceManager.getCurrentUser()}return e.redirectPersistenceManager})()}_redirectUserForId(t){var e=this;return(0,E.A)(function*(){return e._isInitialized&&(yield e.queue((0,E.A)(function*(){}))),e._currentUser?._redirectEventId===t?e._currentUser:e.redirectUser?._redirectEventId===t?e.redirectUser:null})()}_persistUserIfCurrent(t){var e=this;return(0,E.A)(function*(){if(t===e.currentUser)return e.queue((0,E.A)(function*(){return e.directlySetCurrentUser(t)}))})()}_notifyListenersIfCurrent(t){t===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const t=this.currentUser?.uid??null;this.lastNotifiedUid!==t&&(this.lastNotifiedUid=t,this.authStateSubscription.next(this.currentUser))}registerStateListener(t,e,n,o){if(this._deleted)return()=>{};const i="function"==typeof e?e:e.next.bind(e);let s=!1;const a=this._isInitialized?Promise.resolve():this._initializationPromise;if(ct(a,this,"internal-error"),a.then(()=>{s||i(this.currentUser)}),"function"==typeof e){const l=t.addObserver(e,n,o);return()=>{s=!0,l()}}{const l=t.addObserver(e);return()=>{s=!0,l()}}}directlySetCurrentUser(t){var e=this;return(0,E.A)(function*(){e.currentUser&&e.currentUser!==t&&e._currentUser._stopProactiveRefresh(),t&&e.isProactiveRefreshEnabled&&t._startProactiveRefresh(),e.currentUser=t,t?yield e.assertedPersistence.setCurrentUser(t):yield e.assertedPersistence.removeCurrentUser()})()}queue(t){return this.operations=this.operations.then(t,t),this.operations}get assertedPersistence(){return ct(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(t){!t||this.frameworks.includes(t)||(this.frameworks.push(t),this.frameworks.sort(),this.clientVersion=jb(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){var t=this;return(0,E.A)(function*(){const e={"X-Client-Version":t.clientVersion};t.app.options.appId&&(e["X-Firebase-gmpid"]=t.app.options.appId);const n=yield t.heartbeatServiceProvider.getImmediate({optional:!0})?.getHeartbeatsHeader();n&&(e["X-Firebase-Client"]=n);const o=yield t._getAppCheckToken();return o&&(e["X-Firebase-AppCheck"]=o),e})()}_getAppCheckToken(){var t=this;return(0,E.A)(function*(){if((0,mt.xZ)(t.app)&&t.app.settings.appCheckToken)return t.app.settings.appCheckToken;const e=yield t.appCheckServiceProvider.getImmediate({optional:!0})?.getToken();return e?.error&&function YR(r,...t){El.logLevel<=ae.$b.WARN&&El.warn(`Auth (${mt.MF}): ${r}`,...t)}(`Error while retrieving App Check token: ${e.error}`),e?.token})()}}class $b{constructor(t){this.auth=t,this.observer=null,this.addObserver=(0,Et.tD)(e=>this.observer=e)}get next(){return ct(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let Va={loadJS:()=>(0,E.A)(function*(){throw new Error("Unable to load external scripts")})(),recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};(function zb(r){return`__${r}${Math.floor(1e6*Math.random())}`})("rcb"),new Ca(3e4,6e4),new Ca(2e3,1e4),new Ca(3e4,6e4),new Ca(5e3,15e3),encodeURIComponent("fac");var Av="@firebase/auth";class I1{constructor(t){this.auth=t,this.internalListeners=new Map}getUid(){return this.assertAuthConfigured(),this.auth.currentUser?.uid||null}getToken(t){var e=this;return(0,E.A)(function*(){return e.assertAuthConfigured(),yield e.auth._initializationPromise,e.auth.currentUser?{accessToken:yield e.auth.currentUser.getIdToken(t)}:null})()}addAuthTokenListener(t){if(this.assertAuthConfigured(),this.internalListeners.has(t))return;const e=this.auth.onIdTokenChanged(n=>{t(n?.stsTokenManager.accessToken||null)});this.internalListeners.set(t,e),this.updateProactiveRefresh()}removeAuthTokenListener(t){this.assertAuthConfigured();const e=this.internalListeners.get(t);e&&(this.internalListeners.delete(t),e(),this.updateProactiveRefresh())}assertAuthConfigured(){ct(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}(0,Et.XA)("authIdTokenMaxAge"),function IS(r){Va=r}({loadJS:r=>new Promise((t,e)=>{const n=document.createElement("script");n.setAttribute("src",r),n.onload=t,n.onerror=o=>{const i=Xn("internal-error");i.customData=o,e(i)},n.type="text/javascript",n.charset="UTF-8",function P1(){return document.getElementsByTagName("head")?.[0]??document}().appendChild(n)}),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="}),function A1(r){(0,mt.om)(new fr.uA("auth",(t,{options:e})=>{const n=t.getProvider("app").getImmediate(),o=t.getProvider("heartbeat"),i=t.getProvider("app-check-internal"),{apiKey:s,authDomain:a}=n.options;ct(s&&!s.includes(":"),"invalid-api-key",{appName:n.name});const l={apiKey:s,authDomain:a,clientPlatform:r,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:jb(r)},u=new ES(n,o,i,l);return function LS(r,t){const e=t?.persistence||[],n=(Array.isArray(e)?e:[e]).map(Hr);t?.errorMap&&r._updateErrorMap(t.errorMap),r._initializeWithPersistence(n,t?.popupRedirectResolver)}(u,e),u},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,e,n)=>{t.getProvider("auth-internal").initialize()})),(0,mt.om)(new fr.uA("auth-internal",t=>{const e=function Oe(r){return(0,Et.Ku)(r)}(t.getProvider("auth").getImmediate());return new I1(e)},"PRIVATE").setInstantiationMode("EXPLICIT")),(0,mt.KO)(Av,"1.12.0",function T1(r){switch(r){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(r)),(0,mt.KO)(Av,"1.12.0","esm2020")}("Browser");const rn=[];for(let r=0;r<256;++r)rn.push((r+256).toString(16).slice(1));const k1=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,O1=function N1(r){if(!function C1(r){return"string"==typeof r&&k1.test(r)}(r))throw TypeError("Invalid UUID");let t;const e=new Uint8Array(16);return e[0]=(t=parseInt(r.slice(0,8),16))>>>24,e[1]=t>>>16&255,e[2]=t>>>8&255,e[3]=255&t,e[4]=(t=parseInt(r.slice(9,13),16))>>>8,e[5]=255&t,e[6]=(t=parseInt(r.slice(14,18),16))>>>8,e[7]=255&t,e[8]=(t=parseInt(r.slice(19,23),16))>>>8,e[9]=255&t,e[10]=(t=parseInt(r.slice(24,36),16))/1099511627776&255,e[11]=t/4294967296&255,e[12]=t>>>24&255,e[13]=t>>>16&255,e[14]=t>>>8&255,e[15]=255&t,e};function U1(r,t,e,n){switch(r){case 0:return t&e^~t&n;case 1:case 3:return t^e^n;case 2:return t&e^t&n^e&n}}function ag(r,t){return r<<t|r>>>32-t}const B1=function F1(r,t,e){function n(o,i,s,a){var l;if("string"==typeof o&&(o=function V1(r){r=unescape(encodeURIComponent(r));const t=[];for(let e=0;e<r.length;++e)t.push(r.charCodeAt(e));return t}(o)),"string"==typeof i&&(i=O1(i)),16!==(null===(l=i)||void 0===l?void 0:l.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+o.length);if(u.set(i),u.set(o,i.length),u=e(u),u[6]=15&u[6]|t,u[8]=63&u[8]|128,s){a=a||0;for(let h=0;h<16;++h)s[a+h]=u[h];return s}return function Pv(r,t=0){return(rn[r[t+0]]+rn[r[t+1]]+rn[r[t+2]]+rn[r[t+3]]+"-"+rn[r[t+4]]+rn[r[t+5]]+"-"+rn[r[t+6]]+rn[r[t+7]]+"-"+rn[r[t+8]]+rn[r[t+9]]+"-"+rn[r[t+10]]+rn[r[t+11]]+rn[r[t+12]]+rn[r[t+13]]+rn[r[t+14]]+rn[r[t+15]]).toLowerCase()}(u)}try{n.name=r}catch{}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}("v5",80,function q1(r){const t=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof r){const s=unescape(encodeURIComponent(r));r=[];for(let a=0;a<s.length;++a)r.push(s.charCodeAt(a))}else Array.isArray(r)||(r=Array.prototype.slice.call(r));r.push(128);const o=Math.ceil((r.length/4+2)/16),i=new Array(o);for(let s=0;s<o;++s){const a=new Uint32Array(16);for(let l=0;l<16;++l)a[l]=r[64*s+4*l]<<24|r[64*s+4*l+1]<<16|r[64*s+4*l+2]<<8|r[64*s+4*l+3];i[s]=a}i[o-1][14]=8*(r.length-1)/Math.pow(2,32),i[o-1][14]=Math.floor(i[o-1][14]),i[o-1][15]=8*(r.length-1)&4294967295;for(let s=0;s<o;++s){const a=new Uint32Array(80);for(let v=0;v<16;++v)a[v]=i[s][v];for(let v=16;v<80;++v)a[v]=ag(a[v-3]^a[v-8]^a[v-14]^a[v-16],1);let l=e[0],u=e[1],h=e[2],p=e[3],_=e[4];for(let v=0;v<80;++v){const L=Math.floor(v/20),G=ag(l,5)+U1(L,u,h,p)+_+t[L]+a[v]>>>0;_=p,p=h,h=ag(u,30)>>>0,u=l,l=G}e[0]=e[0]+l>>>0,e[1]=e[1]+u>>>0,e[2]=e[2]+h>>>0,e[3]=e[3]+p>>>0,e[4]=e[4]+_>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]});Pt(4556);class J1{constructor(t,e,n,o){this.app=t,this.auth=null,this.messaging=null,this.appCheck=null,this.serverAppAppCheckToken=null,(0,mt.xZ)(t)&&t.settings.appCheckToken&&(this.serverAppAppCheckToken=t.settings.appCheckToken),this.auth=e.getImmediate({optional:!0}),this.messaging=n.getImmediate({optional:!0}),this.auth||e.get().then(i=>this.auth=i,()=>{}),this.messaging||n.get().then(i=>this.messaging=i,()=>{}),this.appCheck||o?.get().then(i=>this.appCheck=i,()=>{})}getAuthToken(){var t=this;return(0,E.A)(function*(){if(t.auth)try{return(yield t.auth.getToken())?.accessToken}catch{return}})()}getMessagingToken(){var t=this;return(0,E.A)(function*(){if(t.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return yield t.messaging.getToken()}catch{return}})()}getAppCheckToken(t){var e=this;return(0,E.A)(function*(){if(e.serverAppAppCheckToken)return e.serverAppAppCheckToken;if(e.appCheck){const n=t?yield e.appCheck.getLimitedUseToken():yield e.appCheck.getToken();return n.error?null:n.token}return null})()}getContext(t){var e=this;return(0,E.A)(function*(){return{authToken:yield e.getAuthToken(),messagingToken:yield e.getMessagingToken(),appCheckToken:yield e.getAppCheckToken(t)}})()}}const lg="us-central1";class Z1{constructor(t,e,n,o,i=lg,s=(...a)=>fetch(...a)){this.app=t,this.fetchImpl=s,this.emulatorOrigin=null,this.contextProvider=new J1(t,e,n,o),this.cancelAllRequests=new Promise(a=>{this.deleteService=()=>Promise.resolve(a())});try{const a=new URL(i);this.customDomain=a.origin+("/"===a.pathname?"":a.pathname),this.region=lg}catch{this.customDomain=null,this.region=i}}_delete(){return this.deleteService()}_url(t){const e=this.app.options.projectId;return null!==this.emulatorOrigin?`${this.emulatorOrigin}/${e}/${this.region}/${t}`:null!==this.customDomain?`${this.customDomain}/${t}`:`https://${this.region}-${e}.cloudfunctions.net/${t}`}}const Lv="@firebase/functions";!function ux(r){(0,mt.om)(new fr.uA("functions",(e,{instanceIdentifier:n})=>{const o=e.getProvider("app").getImmediate(),i=e.getProvider("auth-internal"),s=e.getProvider("messaging-internal"),a=e.getProvider("app-check-internal");return new Z1(o,i,s,a,n)},"PUBLIC").setMultipleInstances(!0)),(0,mt.KO)(Lv,"0.13.1",r),(0,mt.KO)(Lv,"0.13.1","esm2020")}(),Error,parseInt((typeof process<"u"?process.env.QLEVER_LOCKED_MAX_RETRIES:void 0)??"10",10),parseInt((typeof process<"u"?process.env.QLEVER_LOCKED_BASE_DELAY_MS:void 0)??"2000",10);const Hv={\u00e4:"ae",a\u0308:"ae",\u00c4:"AE",\u00f6:"oe",\u00d6:"OE",\u00fc:"ue",u\u0308:"ue",\u00dc:"UE",U\u0308:"UE",\u00df:"ss",\u00e6:"ae",\u00c6:"AE",\u00f8:"oe",\u00d8:"OE",\u00e5:"aa",\u00c5:"AA",\u00e1:"a",\u00c1:"A",\u00f0:"d",\u00d0:"D",\u00e9:"e",\u00c9:"E",\u00ed:"i",\u00cd:"I",\u00f3:"o",\u00d3:"O",\u00fa:"u",\u00da:"U",\u00fd:"y",\u00dd:"Y",\u00fe:"th",\u00de:"Th"};function Ga(r,t=!1){return r=function Wx(r,t=!1){let e=r;for(const n in Hv)e=e.replace(new RegExp(n,"g"),Hv[n]);return t&&e!==r&&console.info(`${r} -> ${e}`),e}(r,t),B1(r,"daca0510-72b5-48ba-9091-b918ca18136b")}class sn{_value;_listeners=new Set;constructor(t){this._value=t}get(){return this._value}set(t){this._value=t;for(const e of this._listeners)e()}subscribe(t){return this._listeners.add(t),()=>this._listeners.delete(t)}asReadonly(){return this}}function Tg(r,t,e,n){return Ag.apply(this,arguments)}function Ag(){return(Ag=(0,E.A)(function*(r,t,e,n){const o=Ga(r);let i;if(n){const a=yield n.get(o);void 0!==a&&(e(a,!0),i=Ga(JSON.stringify(a)))}const s=yield t();return e(s,!1),n&&Ga(JSON.stringify(s))!==i&&n.set(o,s).catch(a=>console.error("[staleWhileRevalidate] Cache write failed:",a)),s})).apply(this,arguments)}const Sg="https://cue.qaecy.com/r/",pk={address:{category:"address",label:"Address",description:"Official addresses, streets, and addressable access points.",preferredColor:"#1d4ed8"},poi:{category:"poi",label:"Points of interest",description:"Places and amenities relevant to everyday operations and access.",preferredColor:"#059669"},railway:{category:"railway",label:"Railway",description:"Rail infrastructure, stations, and rail-adjacent transport context.",preferredColor:"#dc2626"},natural:{category:"natural",label:"Natural features",description:"Natural and hydrological features such as watercourses, forests, and land cover.",preferredColor:"#0ea5e9"},manmade:{category:"manmade",label:"Built features",description:"Structures and man-made elements not covered by more specific categories.",preferredColor:"#ca8a04"},cadastre:{category:"cadastre",label:"Cadastre",description:"Land parcels, legal boundaries, official surveying, and public-law land restrictions.",preferredColor:"#7c3aed"},building:{category:"building",label:"Buildings",description:"Building footprints and structures from official registry or cadastral data.",preferredColor:"#f97316"},greenspace:{category:"greenspace",label:"Green spaces",description:"Parks, gardens, playgrounds, sports facilities, and other vegetated open areas.",preferredColor:"#16a34a"},paved:{category:"paved",label:"Paved surfaces",description:"Courtyards, sidewalks, parking areas, and other sealed ground surfaces.",preferredColor:"#78716c"},zone:{category:"zone",label:"Planning zones",description:"Land-use zones, local plans, and public-law planning constraints (Nutzungsplanung / Lokalplan).",preferredColor:"#db2777"}};function Jr(r){return pk[r]}const fE={110:"residential",120:"residential",121:"residential",122:"residential",130:"residential",131:"residential",132:"residential",140:"residential",150:"residential",160:"residential",190:"residential",210:"recreational",212:"recreational",220:"recreational",221:"recreational",230:"recreational",290:"residential",310:"agricultural",311:"agricultural",312:"agricultural",320:"agricultural",321:"agricultural",322:"agricultural",330:"agricultural",390:"agricultural",410:"commercial",411:"commercial",420:"commercial",421:"commercial",422:"commercial",430:"commercial",431:"commercial",432:"commercial",440:"commercial",490:"commercial",510:"industrial",511:"industrial",519:"industrial",520:"infrastructure",521:"infrastructure",522:"infrastructure",529:"infrastructure",530:"infrastructure",531:"infrastructure",532:"infrastructure",533:"infrastructure",534:"infrastructure",535:"infrastructure",540:"infrastructure",585:"infrastructure",590:"industrial",610:"public",620:"public",621:"public",622:"public",630:"public",640:"public",650:"recreational",660:"public",670:"public",680:"public",690:"public",910:"other",920:"other",930:"other",940:"other",950:"infrastructure",960:"agricultural",970:"agricultural",990:"other"},gE={1010:"residential",1020:"mixed",1030:"residential",1040:"other",1060:"recreational",1080:"residential",1110:"commercial",1120:"commercial",1130:"commercial",1140:"industrial",1150:"infrastructure",1160:"infrastructure",1210:"public",1220:"public",1230:"public",1240:"recreational",1241:"public",1242:"recreational",1251:"public",1261:"agricultural",1262:"agricultural",1263:"agricultural",1275:"other",1276:"other",1277:"infrastructure",1278:"infrastructure",1281:"infrastructure",1282:"infrastructure",9999:"other"},bk={1110:"residential",1121:"recreational",1122:"residential",1130:"mixed",1140:"mixed",1211:"commercial",1212:"commercial",1213:"mixed",1220:"commercial",1230:"commercial",1231:"commercial",1241:"infrastructure",1242:"recreational",1264:"recreational",1251:"industrial",1252:"industrial",1261:"public",1262:"public",1263:"public",1265:"public",1272:"public",1273:"public",1271:"agricultural",1274:"other",1281:"infrastructure",1282:"infrastructure"},vk=[[/^geb[\xe4a]ude$/i,"other"],[/wohn|resident|housing|bolig|enfamil|etagebolig|r\xe6kkehus|lejlighed/i,"residential"],[/b\xfcro|office|handel|commercial|butik|forretning|kontor|supermarked|lager|hotel|restaurant/i,"commercial"],[/industri|fabrik|industrial|gewerbe|produktion|fabrik|fremstill/i,"industrial"],[/landwirtschaft|agrar|agricultural|landbrug|skov|dyrk|stald|lade|drivhus/i,"agricultural"],[/schule|school|hospital|gesundheit|sundhed|kirche|church|offentlig|uddannelse|kultur|social|plejehjem/i,"public"],[/freizeit|recreation|sport|sommerhus|ferienhaus|fritid|kolonihave/i,"recreational"],[/infrastruktur|verkehr|transport|energy|energie|forsyning|teknik|teknisk/i,"infrastructure"],[/gemischt|mixed|blandet/i,"mixed"]];function Ha(r){for(const[t,e]of vk)if(t.test(r))return e}function Ek(r,t){if(null==r)return;const e=String(r).trim();return"swiss-gwr"===t?bk[e]??Ha(e):"danish-matrikel"===t?fE[e]??Ha(e):"zurich-wfs"===t||"swiss-av-wfs"===t?gE[e]??Ha(e):gE[e]??fE[e]??Ha(e)}function Ik(r,t){if(null!=r)return Ha(String(r).trim())}function mE(r){return r.trim().toLowerCase().replace(/[\s_\-]/g,"")}const Tk={inkraft:"in-force",laufendeanderung:"amendment-pending",laufende\u00e4nderung:"amendment-pending",aenderungohnevorvirkung:"amendment-pending",aenderungohnevorwirkung:"amendment-pending",\u00e4nderungohnevorwirkung:"amendment-pending",aenderungmitvorwirkung:"amendment-in-effect",\u00e4nderungmitvorwirkung:"amendment-in-effect",\u00f6ffentlicheauflage:"proposed",offentlicheauflage:"proposed",aufgehoben:"repealed",vedtaget:"in-force",forslag:"proposed",aflyst:"repealed"};const yE={grundnutzungszonenplan:"land-use-plan",nutzungszonenplan:"land-use-plan",zonenplan:"land-use-plan",gestaltungsplan:"design-plan",bebauungsplan:"development-plan",sondernutzungsplan:"special-use-plan",quartiererhaltungszonenplan:"neighbourhood-conservation-plan",l\u00e4rmempfindlichkeitsstufenplan:"noise-sensitivity-plan",laermempfindlichkeitsstufenplan:"noise-sensitivity-plan",gew\u00e4sserschutzzonenplan:"water-protection-plan",gewasserschutzzonenplan:"water-protection-plan",grundwasserschutzzonenplan:"water-protection-plan",gew\u00e4sserschutzplan:"water-protection-plan",naturundlandschaftsschutzzonenplan:"nature-landscape-plan","natur-undlandschaftsschutzzonenplan":"nature-landscape-plan",landschaftsschutzzonenplan:"nature-landscape-plan",freihaltezone:"open-space-zone",kernzone:"land-use-plan",wald:"land-use-plan",gew\u00e4sser:"land-use-plan",gewasser:"land-use-plan",reservezone:"land-use-plan",bahnareal:"land-use-plan",erholungszone:"land-use-plan","strassen(weitere)":"land-use-plan",strassen:"land-use-plan",nichtzoniertfl\u00e4che:"unzoned",nichtzoniertefl\u00e4che:"unzoned",nichtzoniertflache:"unzoned",nichtzonierteflache:"unzoned",nichtzoniertgem\u00e4ssbzo2016:"unzoned",nichtzoniertgemassbzo2016:"unzoned",hochh\u00e4user:"overlay-regulation",hochhauser:"overlay-regulation",areal\u00fcberbauungenzul\u00e4ssig:"overlay-regulation",arealuberbauungenzulassig:"overlay-regulation",erh\u00f6hteausnutzung:"overlay-regulation",erhohteausnutzung:"overlay-regulation",erdgeschossnutzung:"overlay-regulation",freifl\u00e4chenzifferverlegungsgebiet:"overlay-regulation",freiflachenzifferverlegungsgebiet:"overlay-regulation",baumschutz:"overlay-regulation",sonderbauvorschriften:"overlay-regulation",lokalplan:"local-plan",kommuneplanramme:"municipal-plan-framework"},Ak=[[/quartiererhalt/i,"neighbourhood-conservation-plan"],[/l\xe4rmempfindlich|laermempfindlich/i,"noise-sensitivity-plan"],[/gew\xe4sserschutz|grundwasserschutz/i,"water-protection-plan"],[/natur.*landschaft|landschaft.*schutz/i,"nature-landscape-plan"],[/gestaltungsplan/i,"design-plan"],[/bebauungsplan/i,"development-plan"],[/sondernutzung/i,"special-use-plan"],[/freihalt/i,"open-space-zone"],[/\xf6ffentliche.*bauten|zone.*\xf6ffentlich/i,"land-use-plan"],[/hochhaus/i,"overlay-regulation"],[/areal\xfcberbauung|arealuberbauung/i,"overlay-regulation"],[/erh\xf6hte.*ausnutzung|ausnutzung/i,"overlay-regulation"],[/erdgeschossnutzung/i,"overlay-regulation"],[/freifl\xe4chenzifferverlegung|freiflachenzifferverlegung/i,"overlay-regulation"],[/erhaltenswert/i,"overlay-regulation"],[/m[\u00e4a]ssig.*st[\u00f6o]rend|st[\u00f6o]rendes.*gewerbe/i,"overlay-regulation"],[/wohnzone/i,"land-use-plan"],[/kernzone|zentrumszone/i,"land-use-plan"],[/erholungszone|erholungs/i,"land-use-plan"],[/stra[s\xdf]en/i,"land-use-plan"],[/landwirtschaft/i,"land-use-plan"],[/\bwald\b/i,"land-use-plan"],[/\bgew[\u00e4a]sser\b/i,"land-use-plan"],[/nicht\s*zoniert/i,"unzoned"],[/baumschutz/i,"overlay-regulation"],[/sonderbauvorschrift/i,"overlay-regulation"],[/kommuneplan/i,"municipal-plan-framework"],[/lokalplan/i,"local-plan"],[/zonenplan|nutzungsplan|nutzungszone/i,"land-use-plan"],[/zone$|areal$/i,"land-use-plan"]];function xg(r){return"string"==typeof r?r:r.typeName}function kg(r){return"string"==typeof r?void 0:r.cqlFilter}function Dk(r,t,e){return e?`${r}:${t}[${e}]`:`${r}:${t}`}const Nk=new Set(["building","cadastre","greenspace","paved","zone"]);function Cg(r,t,e,n){const o=e.replace(/^ms:/,""),i=Jr(t),s=Nk.has(t)?"priority":"raw";return{id:Dk(r,e,n),sourceId:r,sourceLayerId:e,category:t,preferredColor:i.preferredColor,tier:s,label:o,description:`Z\xfcrich WFS layer ${o}`,labelKey:`gis.layer.${r}.${o}.label`,descriptionKey:`gis.layer.${r}.${o}.description`}}class Dg{categoryMap;baseUrl;sourceId;outputFormat;constructor(t){this.categoryMap=t.categoryMap,this.baseUrl=t.baseUrl??"https://maps.zh.ch/wfs/OGDZHWFS",this.sourceId=t.sourceId??"zurich-wfs",this.outputFormat=t.outputFormat??"application/json; subtype=geojson"}listFeatureCategoryDescriptors(t){var e=this;return(0,E.A)(function*(){const n=yield e.listAvailableLayers(t);return[...new Map(n.map(o=>[o.category,Jr(o.category)])).values()]})()}listAvailableLayers(t){var e=this;return(0,E.A)(function*(){const n=Object.entries(e.categoryMap);return(yield Promise.allSettled(n.flatMap(([o,i])=>i.map(function(){var s=(0,E.A)(function*(a){const l=xg(a),u=kg(a),h=yield e._fetchFeatures(t,l,1,u);return{category:o,typeName:l,cqlFilter:u,hasResults:h.features.length>0}});return function(a){return s.apply(this,arguments)}}())))).filter(o=>"fulfilled"===o.status&&o.value.hasResults).map(o=>Cg(e.sourceId,o.value.category,o.value.typeName,o.value.cqlFilter))})()}getFeaturesForLayer(t,e){var n=this;return(0,E.A)(function*(){const o=n._findLayerById(e);return o?n._fetchAndConvert(t,o.descriptor,o.cqlFilter):[]})()}_fetchAndConvert(t,e,n){var o=this;return(0,E.A)(function*(){const i=yield o._fetchFeatures(t,e.sourceLayerId,void 0,n),s=n?function Uk(r){const t=r.match(/^(\w+)\s*=\s*'([^']+)'$/);if(t){const[,n,o]=t;return i=>String(i?.[n]??"")===o}const e=r.match(/^(\w+)\s+IN\s*\(([^)]+)\)$/i);if(e){const[,n,o]=e,i=new Set(o.split(",").map(s=>s.trim().replace(/^'|'$/g,"")));return s=>i.has(String(s?.[n]??""))}return()=>!0}(n):void 0;return(s?i.features.filter(a=>s(a.properties)):i.features).map((a,l)=>o.toGisFeature(a,e,l))})()}listFeatureCategories(t){var e=this;return(0,E.A)(function*(){const n=yield e.listAvailableLayers(t);return[...new Set(n.map(o=>o.category))]})()}getFeaturesOfCategory(t,e){var n=this;return(0,E.A)(function*(){const o=n.categoryMap[e]??[];return(yield Promise.all(o.map(i=>{const s=xg(i),a=kg(i),l=Cg(n.sourceId,e,s);return n._fetchAndConvert(t,l,a)}))).flat()})()}_findLayerById(t){const e=Object.entries(this.categoryMap);for(const[n,o]of e)for(const i of o){const s=xg(i),a=kg(i),l=Cg(this.sourceId,n,s,a);if(l.id===t)return{descriptor:l,cqlFilter:a}}}_fetchFeatures(t,e,n,o){var i=this;return(0,E.A)(function*(){const[s,a,l,u]=t,p=new URLSearchParams({service:"WFS",version:"2.0.0",request:"GetFeature",typename:e,bbox:`${a},${s},${u},${l},urn:ogc:def:crs:EPSG::4326`,srsName:"EPSG:4326",outputFormat:i.outputFormat});void 0!==n&&p.set("count",String(n)),void 0!==o&&p.set("CQL_FILTER",o),p.set("outputFormat",i.outputFormat);const _=`${i.baseUrl}?${p.toString()}`,v=yield fetch(_);if(!v.ok)throw new Error(`WFS request failed for ${e} (${i.sourceId}): ${v.status} ${v.statusText}`);return v.json()})()}toGisFeature(t,e,n){const[o,i]=function kk(r){if(!r)return[0,0];const t=r.coordinates;switch(r.type){case"Point":return t;case"MultiPoint":case"LineString":return t[0];case"MultiLineString":case"Polygon":return t[0][0];case"MultiPolygon":return t[0][0][0];default:return[0,0]}}(t.geometry),s=function Ck(r,t){if(!r)return t;for(const e of["plannavn","bezeichnung","name","strassenname","objektname","title","label"])if("string"==typeof r[e]&&r[e])return r[e];return t}(t.properties,`${e.sourceLayerId}[${n}]`),a=t.bbox?[t.bbox[0],t.bbox[1],t.bbox[2],t.bbox[3]]:void 0,l=e.tier,u="priority"===l?this._extractNormalisedProperties(t,e):void 0;return{id:t.id??`${e.sourceLayerId}/${n}`,preferredColor:e.preferredColor,sourceId:this.sourceId,sourceFeatureId:t.id??`${e.sourceLayerId}/${n}`,layerId:e.id,name:s,category:e.category,type:e.sourceLayerId.replace(/^ms:/,""),lat:i,lon:o,displayName:s,bbox:a,geometry:t.geometry??void 0,tier:l,properties:u,originalData:t.properties??{}}}_extractNormalisedProperties(t,e){return"building"===e.category?function Ok(r,t){if(!r)return{featureType:"building"};const e=r.grundflaeche??r.gbf??r.gebaeudegrundrissflaeche??r.flaeche??void 0,n=r.vollgeschosse??r.geschossanzahl??r.anzahl_geschosse??void 0,o=r.gebaeudefunktion??r.gfkode??r.art??r.objektart??void 0,i=r.baujahr??r.bauperiode??void 0,s=String(r.egid??r.gwr_egid??r.egris_egid??"").trim()||void 0;return{featureType:"building",areaM2:"number"==typeof e?e:void 0,buildingUse:o?String(o):void 0,buildingUseGeneric:Ek(o,t),floors:"number"==typeof n?n:void 0,yearBuilt:"number"==typeof i?i:void 0,registryId:s}}(t.properties,this.sourceId):"greenspace"===e.category?function Lk(r){if(!r)return{featureType:"greenspace"};const t=r.flaeche??void 0,e=r.art??void 0;return{featureType:"greenspace",areaM2:"number"==typeof t?t:void 0,surfaceType:e?String(e):void 0}}(t.properties):"paved"===e.category?function Mk(r){if(!r)return{featureType:"paved"};const t=r.flaeche??void 0,e=r.art??void 0;return{featureType:"paved",areaM2:"number"==typeof t?t:void 0,surfaceType:e?String(e):void 0}}(t.properties):"zone"===e.category?function Fk(r){if(!r)return{featureType:"zone"};const t=r.plannavn??r.bezeichnung??r.typ_bezeichnung??r.art??void 0,e=r.planid??r.plannummer??void 0,n=r.artcode??r.typ_code??r.abkuerzung??e??void 0,i=function _E(r){if(r)return Tk[mE(r)]}(r.rechtsstatus??r.status??void 0),a=function wE(r){if(!r)return;const t=mE(r);if(t in yE)return yE[t];for(const[e,n]of Ak)if(e.test(r))return n;console.warn(`[cue-gis] Unknown zone plan type \u2014 add "${r}" to classifyZonePlanType: no ZonePlanType mapping found.`)}(r.typ_gde_bezeichnung??void 0),l=r.dagsordenpunkt_url??r.dokument_url??r.link??void 0,u=r.auflagedatum??void 0,h=r.festsetzungsdatum??void 0,p=r.genehmigungsdatum??void 0,_=r.inkraftsetzungsdatum??void 0,v=r.flaeche??r.flaeche_m2??void 0;return{featureType:"zone",zoneType:t?String(t):void 0,zoneCode:n?String(n):void 0,legalStatus:i,planType:a,planId:e?String(e):void 0,planDocumentLink:l?String(l):void 0,publicationDate:u??void 0,fixingDate:h??void 0,approvalDate:p??void 0,effectiveFrom:_??void 0,areaM2:"number"==typeof v?v:void 0}}(t.properties):function Vk(r){if(!r)return{featureType:"plot"};const e=r.egris_egrid??r.egrid??void 0,n=r.nummer??void 0,o=r.nbident??void 0,i=n&&o?`${n}, ${o}`:n??void 0,s=r.flaechenmass??r.flaeche??void 0,a=r.art??r.nutzungsart??void 0;return{featureType:"plot",areaM2:"number"==typeof s?s:void 0,plotUse:a?String(a):void 0,plotUseGeneric:Ik(a),plotId:i,registryId:e}}(t.properties)}}new Dg({categoryMap:{address:["ms:ogd-0406_arv_basis_avzh_hausnummer_pos_p","ms:ogd-0571_afv_gv_strat_strassennetz_l"],poi:["ms:ogd-0053_giszhpub_ogd_veloparkieranlagen_p","ms:ogd-0406_arv_basis_avzh_gebaeudeeingang_p"],railway:["ms:ogd-0529_afv_gv_seilbahn_skilift_l","ms:ogd-0529_afv_gv_seilbahn_skilift_p"],natural:["ms:ogd-0045_giszhpub_wb_fliessgewaesser_l","ms:ogd-0045_giszhpub_wb_stehgewaesser_f","ms:ogd-0111_giszhpub_wald_waldareal_f"],manmade:["ms:ogd-0248_giszhpub_en_gebaeude_volumen_ha_f",{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art IN ('Bahngebiet', 'Strasse_Weg', 'Flugplatz', 'Bruecke')"}],building:[{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art = 'Geb\xe4ude'"}],greenspace:[{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art IN ('Gartenanlage', 'Parkanlage', 'Spielplatz', 'Sportanlage', 'Friedhof', 'Gehoelz', 'Feuchtgebiet')"}],paved:[{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art IN ('befBoden', 'befestigte Fl\xe4che', 'Hof', 'Trottoir', 'Parkplatz')"}],cadastre:["ms:ogd-0404_arv_basis_avzh_liegenschaften_f","ms:ogd-0404_arv_basis_avzh_selbstrecht_f"],zone:["ms:ogd-0156_arv_basis_np_gn_zonenflaeche_f","ms:ogd-0155_arv_basis_np_ul_flaeche_f"]}}),new Dg({sourceId:"swiss-av-wfs",baseUrl:"https://wfs.geodienste.ch/av_0/deu",categoryMap:{cadastre:["ms:RESF","ms:DPRSF"]}}),new Dg({sourceId:"danish-plandata",baseUrl:"https://wfs.plandata.dk/geoserver/pdk/wfs",outputFormat:"application/json",categoryMap:{zone:["pdk:lokalplan_vedtaget","pdk:kommuneplanramme_vedtaget"]}});const ie={qcy:"https://dev.qaecy.com/ont#","qcy-e":"https://dev.qaecy.com/enum#","qcy-l":"https://dev.qaecy.com/logs#","qcy-f":"https://dev.qaecy.com/functions#",obc:"https://w3id.org/obc#",dicc:"https://w3id.org/digitalconstruction/0.5/Contexts#",dicv:"https://w3id.org/digitalconstruction/0.5/Variables#",dice:"https://w3id.org/digitalconstruction/0.5/Entities#",dicp:"https://w3id.org/digitalconstruction/0.5/Processes#",dica:"https://w3id.org/digitalconstruction/0.5/Agents#",dici:"https://w3id.org/digitalconstruction/0.5/Information#",dicbm:"https://w3id.org/digitalconstruction/0.5/Materials#",dicob:"https://w3id.org/digitalconstruction/0.5/Occupancy#",dicl:"https://w3id.org/digitalconstruction/0.5/Lifecycle#",dices:"https://w3id.org/digitalconstruction/0.5/Energy#",dicu:"https://w3id.org/digitalconstruction/0.5/Units#",diclvl:"https://w3id.org/digitalconstruction/0.5/Levels#",dicstg:"https://w3id.org/digitalconstruction/0.5/Stages#"},wi={madsrdf:"http://www.loc.gov/mads/rdf/v1#",bflc:"http://id.loc.gov/ontologies/bflc/",foaf:"http://xmlns.com/foaf/0.1/",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",dbo:"http://dbpedia.org/ontology/",rdfs:"http://www.w3.org/2000/01/rdf-schema#",yago:"http://yago-knowledge.org/resource/",dc:"http://purl.org/dc/elements/1.1/",dbp:"http://dbpedia.org/property/",owl:"http://www.w3.org/2002/07/owl#",ex:"http://example.org/",gr:"http://purl.org/goodrelations/v1#",skos:"http://www.w3.org/2004/02/skos/core#",spacerel:"http://data.ordnancesurvey.co.uk/ontology/spatialrelations/",geo:"http://www.opengis.net/ont/geosparql#",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",dct:"http://purl.org/dc/terms/",qb:"http://purl.org/linked-data/cube#",dcterms:"http://purl.org/dc/terms/",prov:"http://www.w3.org/ns/prov#",sioc:"http://rdfs.org/sioc/ns#",xtypes:"http://purl.org/xtypes/",dbpedia:"http://dbpedia.org/resource/",schema:"http://schema.org/",ont:"http://purl.org/net/ns/ontology-annot#",void:"http://rdfs.org/ns/void#",onto:"http://www.ontotext.com/",sio:"http://semanticscience.org/resource/",bf:"http://id.loc.gov/ontologies/bibframe/",search:"http://sindice.com/vocab/search#",obo:"http://purl.obolibrary.org/obo/",sd:"http://www.w3.org/ns/sparql-service-description#",dcterm:"http://purl.org/dc/terms/",frbr:"http://purl.org/vocab/frbr/core#",stat:"http://www.w3.org/ns/posix/stat#",vcard:"http://www.w3.org/2006/vcard/ns#",commerce:"http://search.yahoo.com/searchmonkey/commerce/",bibo:"http://purl.org/ontology/bibo/",rss:"http://purl.org/rss/1.0/",dbr:"http://dbpedia.org/resource/",gldp:"http://www.w3.org/ns/people#",pto:"http://www.productontology.org/id/",geonames:"http://www.geonames.org/ontology#",fb:"http://rdf.freebase.com/ns/",event:"http://purl.org/NET/c4dm/event.owl#",oo:"http://purl.org/openorg/",wd:"http://www.wikidata.org/entity/",dcmit:"http://purl.org/dc/dcmitype/",content:"http://purl.org/rss/1.0/modules/content/",cc:"http://creativecommons.org/ns#",gen:"http://purl.org/gen/0.1#",doap:"http://usefulinc.com/ns/doap#",http:"http://www.w3.org/2011/http#",dbpprop:"http://dbpedia.org/property/",vann:"http://purl.org/vocab/vann/",rr:"http://www.w3.org/ns/r2rml#",swrc:"http://swrc.ontoware.org/ontology#",drugbank:"http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/",md:"http://www.w3.org/ns/md#",sc:"http://purl.org/science/owl/sciencecommons/",nie:"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#",prog:"http://purl.org/prog/",wot:"http://xmlns.com/wot/0.1/",ma:"http://www.w3.org/ns/ma-ont#",akt:"http://www.aktors.org/ontology/portal#",fn:"http://www.w3.org/2005/xpath-functions#",cv:"http://rdfs.org/resume-rdf/",aiiso:"http://purl.org/vocab/aiiso/schema#",tl:"http://purl.org/NET/c4dm/timeline.owl#",swc:"http://data.semanticweb.org/ns/swc/ontology#",ov:"http://open.vocab.org/terms/",as:"https://www.w3.org/ns/activitystreams#",crm:"http://www.cidoc-crm.org/cidoc-crm/",ical:"http://www.w3.org/2002/12/cal/ical#",daia:"http://purl.org/ontology/daia/",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",xhtml:"http://www.w3.org/1999/xhtml#",earl:"http://www.w3.org/ns/earl#",rel:"http://purl.org/vocab/relationship/",bio:"http://purl.org/vocab/bio/0.1/",rdfg:"http://www.w3.org/2004/03/trix/rdfg-1/",marcrel:"http://id.loc.gov/vocabulary/relators/",mo:"http://purl.org/ontology/mo/",leaks:"https://cuzin.com/",dv:"http://rdf.data-vocabulary.org/#",cs:"http://purl.org/vocab/changeset/schema#",ad:"http://schemas.talis.com/2005/address/schema#",xhv:"http://www.w3.org/1999/xhtml/vocab#",co:"http://purl.org/ontology/co/core#",dc11:"http://purl.org/dc/elements/1.1/",prop:"http://dbpedia.org/property/",bill:"http://www.rdfabout.com/rdf/schema/usbill/",og:"http://opengraphprotocol.org/schema/",afn:"http://jena.apache.org/ARQ/function#",factbook:"http://wifo5-04.informatik.uni-mannheim.de/factbook/ns#",dbowl:"http://ontology.cybershare.utep.edu/dbowl/relational-to-ontology-mapping-primitive.owl#",air:"http://dig.csail.mit.edu/TAMI/2007/amord/air#",test2:"http://this.invalid/test2#",musim:"http://purl.org/ontology/similarity/",unit:"http://qudt.org/vocab/unit/",log:"http://www.w3.org/2000/10/swap/log#",book:"http://purl.org/NET/book/vocab#",xs:"http://www.w3.org/2001/XMLSchema#",mu:"http://mu.semte.ch/vocabularies/core/",ir:"http://www.ontologydesignpatterns.org/cp/owl/informationrealization.owl#",media:"http://search.yahoo.com/searchmonkey/media/",d2rq:"http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#",dcq:"http://purl.org/dc/qualifiers/1.0/",xfn:"http://gmpg.org/xfn/11#",biblio:"http://purl.org/net/biblio#",reco:"http://purl.org/reco#",xf:"http://www.w3.org/2002/xforms/",tag:"http://www.holygoat.co.uk/owl/redwood/0.1/tags/",cld:"http://purl.org/cld/terms/",cal:"http://www.w3.org/2002/12/cal/ical#",ome:"http://purl.org/ontomedia/core/expression#",ctag:"http://commontag.org/ns#",botany:"http://purl.org/NET/biol/botany#",dir:"http://schemas.talis.com/2005/dir/schema#",sism:"http://purl.oclc.org/NET/sism/0.1/",admin:"http://webns.net/mvcb/",days:"http://ontologi.es/days#",xmp:"http://ns.adobe.com/xap/1.0/",rif:"http://www.w3.org/2007/rif#",dcam:"http://purl.org/dc/dcam/",tzont:"http://www.w3.org/2006/timezone#",af:"http://purl.org/ontology/af/",osag:"http://www.ordnancesurvey.co.uk/ontology/AdministrativeGeography/v2.0/AdministrativeGeography.rdf#",rev:"http://purl.org/stuff/rev#",qudt:"http://qudt.org/schema/qudt/",sr:"http://www.openrdf.org/config/repository/sail#",time:"http://www.w3.org/2006/time#",pc:"http://purl.org/procurement/public-contracts#",myspace:"http://purl.org/ontology/myspace#",math:"http://www.w3.org/2000/10/swap/math#",cmp:"http://www.ontologydesignpatterns.org/cp/owl/componency.owl#",memo:"http://ontologies.smile.deri.ie/2009/02/27/memo#",ok:"http://okkam.org/terms#",lomvoc:"http://ltsc.ieee.org/rdf/lomv1p0/vocabulary#",giving:"http://ontologi.es/giving#",jdbc:"http://d2rq.org/terms/jdbc/",swanq:"http://purl.org/swan/1.2/qualifiers/",dcn:"http://www.w3.org/2007/uwa/context/deliverycontext.owl#",sdmx:"http://purl.org/linked-data/sdmx#",cfp:"http://sw.deri.org/2005/08/conf/cfp.owl#",swande:"http://purl.org/swan/1.2/discourse-elements/",omn:"http://open-multinet.info/ontology/omn#",owlim:"http://www.ontotext.com/trree/owlim#",cyc:"http://sw.opencyc.org/concept/",gn:"http://www.geonames.org/ontology#",con:"http://www.w3.org/2000/10/swap/pim/contact#",lyou:"http://purl.org/linkingyou/",skosxl:"http://www.w3.org/2008/05/skos-xl#",oa:"http://www.w3.org/ns/oa#",openlinks:"http://www.openlinksw.com/schemas/virtrdf#",cdm:"http://publications.europa.eu/ontology/cdm#",sdmxdim:"http://purl.org/linked-data/sdmx/2009/dimension#",adms:"http://www.w3.org/ns/adms#",type:"https://webiomed.ai/blog/obzor-rossiiskikh-sistem-podderzhki-priniatiia-vrachebnykh-reshenii/",om:"http://opendata.caceres.es/def/ontomunicipio#",nif:"http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#",ontology:"http://dbpedia.org/ontology/",db:"http://dbpedia.org/",photoshop:"http://ns.adobe.com/photoshop/1.0/",wfs:"http://schemas.opengis.net/wfs/",lemon:"http://lemon-model.net/lemon#",exif:"http://www.w3.org/2003/12/exif/ns#",gvp:"http://vocab.getty.edu/ontology#",ac:"http://umbel.org/umbel/ac/",isbd:"http://iflastandards.info/ns/isbd/elements/",sdmxa:"http://purl.org/linked-data/sdmx/2009/attribute#",xsi:"http://www.w3.org/2001/XMLSchema-instance#",aat:"http://vocab.getty.edu/aat/",fabio:"http://purl.org/spar/fabio/",sh:"http://www.w3.org/ns/shacl#",cert:"http://www.w3.org/ns/auth/cert#",wdt:"http://www.wikidata.org/prop/direct/",dul:"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#",prism:"http://prismstandard.org/namespaces/basic/2.0/",swrl:"http://www.w3.org/2003/11/swrl#",test:"https://test4.example.com/",cnt:"http://www.w3.org/2011/content#",eat:"http://www.eat.rl.ac.uk/#",tgn:"http://vocab.getty.edu/tgn/",ulan:"http://vocab.getty.edu/ulan/",edm:"http://www.europeana.eu/schemas/edm/",sf:"http://www.opengis.net/ont/sf#",ore:"http://www.openarchives.org/ore/terms/",swrcfe:"http://www.morelab.deusto.es/ontologies/swrcfe#",gtfs:"http://vocab.gtfs.org/terms#",voaf:"http://purl.org/vocommons/voaf#",uniprot:"http://purl.uniprot.org/uniprot/",core:"http://vivoweb.org/ontology/core#",swrlb:"http://www.w3.org/2003/11/swrlb#",eg:"http://www.example.org/",nfo:"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#",room:"http://vocab.deri.ie/rooms#",ssn:"http://www.w3.org/ns/ssn/",dbc:"http://dbpedia.org/resource/Category:",go:"http://purl.obolibrary.org/obo/GO_",scovo:"http://purl.org/NET/scovo#",lv:"http://purl.org/lobid/lv#",ceo:"https://linkeddata.cultureelerfgoed.nl/def/ceo#",music:"http://musicontology.com/",dbprop:"http://dbpedia.org/property/",movie:"http://data.linkedmdb.org/resource/movie/",fise:"http://fise.iks-project.eu/ontology/",xml:"http://www.w3.org/XML/1998/namespace/",bif:"http://www.openlinksw.com/schemas/bif#",ldp:"http://www.w3.org/ns/ldp#",sioct:"http://rdfs.org/sioc/types#",wikidata:"http://www.wikidata.org/entity/",siocserv:"http://rdfs.org/sioc/services#",itsrdf:"http://www.w3.org/2005/11/its/rdf#",lexinfo:"http://www.lexinfo.net/ontology/3.0/lexinfo#",ro:"http://purl.org/wf4ever/ro#",geoes:"http://geo.linkeddata.es/ontology/",ping:"https://namso-gen.com/",am:"http://vocab.deri.ie/am#",gndo:"http://d-nb.info/standards/elementset/gnd#",coref:"http://www.rkbexplorer.com/ontologies/coref#",pat:"http://purl.org/hpi/patchr#",ptr:"http://www.w3.org/2009/pointers#",cco:"http://www.ontologyrepository.com/CommonCoreOntologies/",nmo:"http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#",mods:"http://www.loc.gov/mods/v3#",loc:"http://purl.org/ontomedia/core/space#",dblp:"http://dblp.uni-trier.de/rdf/schema-2015-01-26#",nao:"http://www.semanticdesktop.org/ontologies/2007/08/15/nao#",acc:"http://purl.org/NET/acc#",nsogi:"http://prefix.cc/nsogi:",gnd:"http://d-nb.info/gnd/",pmlj:"http://inference-web.org/2.0/pml-justification.owl#",dce:"http://purl.org/dc/elements/1.1/",chebi:"http://purl.obolibrary.org/obo/CHEBI_",wp:"http://vocabularies.wikipathways.org/",product:"http://purl.org/commerce/product#",whois:"http://www.kanzaki.com/ns/whois#",bd:"http://www.bigdata.com/rdf#",imm:"http://schemas.microsoft.com/imm/",sparql:"http://www.w3.org/ns/sparql#",gold:"http://purl.org/linguistics/gold/",doc:"http://www.w3.org/2000/10/swap/pim/doc#",leak:"http://maco.com/",up:"http://purl.uniprot.org/core/",cerif:"http://spi-fm.uca.es/neologism/cerif#",rec:"http://purl.org/ontology/rec/core#",gd:"http://rdf.data-vocabulary.org/#",sdo:"https://schema.org/",list:"http://www.w3.org/2000/10/swap/list#",georss:"http://www.georss.org/georss/",sec:"https://w3id.org/security#",java:"http://www.w3.org/2007/uwa/context/java.owl#",meta:"https://krr.triply.cc/krr/sameas-meta/def/",rsa:"http://www.w3.org/ns/auth/rsa#",space:"http://purl.org/net/schemas/space/",ti:"http://www.ontologydesignpatterns.org/cp/owl/timeinterval.owl#",example:"http://www.example.org/rdf#",opm:"https://w3id.org/opm#",xlink:"https://es.scribd.com/doc/79794476/05-Ejercicios-Resueltos-Caja-Negra-y-Recapitulacion/",lgd:"http://linkedgeodata.org/triplify/",cube:"https://cube.link/",akts:"http://www.aktors.org/ontology/support#",geosparql:"http://www.opengis.net/ont/geosparql#",ms:"http://purl.org/obo/owl/MS#",wiki:"http://en.wikipedia.org/wiki/",penn:"http://purl.org/olia/penn.owl#",iot:"http://iotschema.org/",bp:"http://www.biopax.org/release/biopax-level3.owl#",mf:"http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",acl:"http://www.w3.org/ns/auth/acl#",geof:"http://www.opengis.net/def/function/geosparql/",hg:"http://rdf.histograph.io/",pext:"http://www.ontotext.com/proton/protonext#",video:"http://purl.org/ontology/video#",rdfsharp:"https://rdfsharp.codeplex.com/",cro:"http://rhizomik.net/ontologies/copyrightonto.owl#",cito:"http://purl.org/spar/cito/",sim:"http://www.w3id.org/simulation/ontology/",vivo:"http://vivoweb.org/ontology/core#",st:"http://ns.inria.fr/sparql-template/",httph:"http://www.w3.org/2007/ont/httph#",kb:"http://deductions.sf.net/ontology/knowledge_base.owl#",api:"http://purl.org/linked-data/api/vocab#",dbpediaowl:"http://dbpedia.org/owl/",sp:"http://spinrdf.org/sp#",nt:"http://ns.inria.fr/nicetag/2010/09/09/voc#",wn:"http://xmlns.com/wordnet/1.6/",nco:"http://www.semanticdesktop.org/ontologies/2007/03/22/nco#",acm:"http://www.rkbexplorer.com/ontologies/acm#",xl:"http://langegger.at/xlwrap/vocab#",pim:"http://www.w3.org/ns/pim/space#",exterms:"http://www.example.org/terms/",web:"http://www.w3.org/2007/uwa/context/web.owl#",wgs:"http://www.w3.org/2003/01/geo/wgs84_pos#",dcatapit:"http://dati.gov.it/onto/dcatapit#",atom:"http://www.w3.org/2005/Atom/",olia:"http://purl.org/olia/olia.owl#",bag:"https://bag2.basisregistraties.overheid.nl/bag/def/",cgov:"http://reference.data.gov.uk/def/central-government/",overheid:"http://standaarden.overheid.nl/owms/",sider:"http://www4.wiwiss.fu-berlin.de/sider/resource/sider/",po:"http://purl.org/ontology/po/",lode:"http://linkedevents.org/ontology/",postcode:"http://data.ordnancesurvey.co.uk/id/postcodeunit/",ocd:"http://dati.camera.it/ocd/",sirext:"http://t.me/sirextt/247:",urn:"http://fliqz.com/",pgterms:"http://www.gutenberg.org/2009/pgterms/",dbnary:"http://kaiko.getalp.org/dbnary#",abc:"http://www.metadata.net/harmony/ABCSchemaV5Commented.rdf#",dbkwik:"http://dbkwik.webdatacommons.org/",cidoc:"http://www.cidoc-crm.org/cidoc-crm/",dco:"http://info.deepcarbon.net/schema#",seas:"https://w3id.org/seas/",pav:"http://purl.org/pav/",wdrs:"http://www.w3.org/2007/05/powder-s#",formats:"http://www.w3.org/ns/formats/",service:"http://purl.org/ontology/service#",ean:"http://openean.kaufkauf.net/id/",eu:"http://eulersharp.sourceforge.net/2003/03swap/log-rules#",zoology:"http://purl.org/NET/biol/zoology#",cpa:"http://www.ontologydesignpatterns.org/schemas/cpannotationschema.owl#",ass:"http://uptheasset.org/ontology#",purl:"http://www.purl.org/",lime:"http://www.w3.org/ns/lemon/lime#",admingeo:"http://data.ordnancesurvey.co.uk/ontology/admingeo/",wn20schema:"http://www.w3.org/2006/03/wn/wn20/schema/",smf:"http://topbraid.org/sparqlmotionfunctions#",ecs:"http://rdf.ecs.soton.ac.uk/ontology/ecs#",prv:"http://purl.org/net/provenance/ns#",gsp:"http://www.opengis.net/ont/geosparql#",daml:"http://www.daml.org/2001/03/daml+oil#",dcm:"http://purl.org/dc/dcmitype/",rdfdf:"http://www.openlinksw.com/virtrdf-data-formats#",pr:"http://purl.org/ontology/prv/core#",ontolex:"http://www.w3.org/ns/lemon/ontolex#",role:"https://w3id.org/role/",resource:"http://dbpedia.org/resource/",swid:"http://semanticweb.org/id/",edam:"http://edamontology.org/",ya:"http://blogs.yandex.ru/schema/foaf/",irw:"http://www.ontologydesignpatterns.org/ont/web/irw.owl#",name:"http://example.org/name#",greg:"http://kasei.us/about/foaf.xrdf#",hydra:"http://www.w3.org/ns/hydra/core#",spin:"http://spinrdf.org/spin#",ignf:"http://data.ign.fr/def/ignf#",scot:"http://rdfs.org/scot/ns#",ndl:"http://schemas.ogf.org/nml/2013/05/base#",wo:"http://purl.org/ontology/wo/",xkos:"http://rdf-vocabulary.ddialliance.org/xkos#",omt:"http://purl.org/ontomedia/ext/common/trait#",pmt:"http://tipsy.googlecode.com/svn/trunk/vocab/pmt#",user:"http://schemas.talis.com/2005/user/schema#",umbelrc:"http://umbel.org/umbel/rc/",wikipedia:"https://en.wikipedia.org/wiki/",myspo:"http://purl.org/ontology/myspace#",agg:"http://purl.org/twc/health/vocab/aggregate/",organism:"http://eulersharp.sourceforge.net/2003/03swap/organism#",site:"http://ns.ontowiki.net/SysOnt/Site/",res:"http://dbpedia.org/resource/",sdl:"http://purl.org/vocab/riro/sdl#",euvoc:"http://publications.europa.eu/ontology/euvoc#",bmo:"http://collection.britishmuseum.org/id/ontology/",faldo:"http://biohackathon.org/resource/faldo#",blt:"http://www.bl.uk/schemas/bibliographic/blterms#",sesame:"http://www.openrdf.org/schema/sesame#",resist:"http://www.rkbexplorer.com/ontologies/resist#",iao:"http://purl.obolibrary.org/obo/IAO_",inno:"http://purl.org/innovation/ns#",premis:"http://www.loc.gov/premis/rdf/v3/",bing:"http://bing.com/schema/media/",label:"http://purl.org/net/vocab/2004/03/label#",prj:"http://purl.org/stuff/project/",npg:"http://ns.nature.com/terms/",fresnel:"http://www.w3.org/2004/09/fresnel#",omb:"http://purl.org/ontomedia/ext/common/being#",rov:"http://www.w3.org/ns/regorg#",saref:"https://saref.etsi.org/core/",biol:"http://purl.org/NET/biol/ns#",iso:"http://purl.org/iso25964/skos-thes#",bibframe:"http://id.loc.gov/ontologies/bibframe/",won:"https://w3id.org/won/core#",link:"http://www.w3.org/2007/ont/link#",audio:"http://purl.org/media/audio#",tmo:"http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#",sit:"http://www.ontologydesignpatterns.org/cp/owl/situation.owl#",fed:"http://www.openrdf.org/config/sail/federation#",swp:"http://www.w3.org/2004/03/trix/swp-2/",biocore:"http://bio2rdf.org/core#",mm:"http://linkedmultimedia.org/sparql-mm/ns/2.0.0/function#",umbel:"http://umbel.org/umbel#",phil:"http://philosurfical.open.ac.uk/ontology/philosurfical.owl#",uco:"http://purl.org/uco/ns#",wgs84:"http://www.w3.org/2003/01/geo/wgs84_pos#",food:"http://purl.org/foodontology#",cordis:"http://cordis.europa.eu/projects/",rdau:"http://rdaregistry.info/Elements/u/",gist:"http://ontologies.semanticarts.com/gist#",ero:"http://purl.obolibrary.org/obo/",wv:"http://vocab.org/waiver/terms/",ref:"http://purl.org/vocab/relationship/",sml:"https://w3id.org/sml/def#",oad:"http://lod.xdams.org/reload/oad/",spl:"http://spinrdf.org/spl#",lx:"http://purl.org/NET/lx#",es:"http://eulersharp.sourceforge.net/2003/03swap/log-rules#",conv:"http://purl.org/twc/vocab/conversion/",ps:"https://w3id.org/payswarm#",acco:"http://purl.org/acco/ns#",code:"http://telegraphis.net/ontology/measurement/code#",sco:"http://purl.org/ontology/sco#",rnews:"http://iptc.org/std/rNews/2011-10-07#",ub:"http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#",protege:"http://protege.stanford.edu/system#",lgdo:"http://linkedgeodata.org/ontology/",oc:"http://opencoinage.org/rdf/",doac:"http://ramonantonio.net/doac/0.1/#",taxo:"http://purl.org/rss/1.0/modules/taxonomy/",rail:"http://ontologi.es/rail/vocab#",ludo:"http://ns.inria.fr/ludo/v1#",cpm:"http://catalogus-professorum.org/cpm/2/",opensearch:"http://a9.com/-/spec/opensearch/1.1/",so:"http://schema.org/",efo:"http://www.ebi.ac.uk/efo/",linkedmdb:"http://data.linkedmdb.org/",airport:"http://www.daml.org/2001/10/html/airport-ont#",bio2rdf:"http://bio2rdf.org/",spc:"http://purl.org/ontomedia/core/space#",meteo:"http://purl.org/ns/meteo#",bne:"http://datos.bne.es/resource/",awol:"http://bblfish.net/work/atom-owl/2006-06-06/#",dctype:"http://purl.org/dc/dcmitype/",omp:"http://purl.org/ontomedia/ext/common/profession#",granatum:"http://chem.deri.ie/granatum/",dwc:"http://rs.tdwg.org/dwc/terms/",lom:"http://ltsc.ieee.org/rdf/lomv1p0/lom#",disco:"http://rdf-vocabulary.ddialliance.org/discovery#",act:"http://www.w3.org/2007/rif-builtin-action#",taxon:"http://purl.org/biodiversity/taxon/",net:"http://www.w3.org/2007/uwa/context/network.owl#",gpt:"http://purl.org/vocab/riro/gpt#",mit:"http://purl.org/ontology/mo/mit#",isothes:"http://purl.org/iso25964/skos-thes#",lu:"http://www.ontologydesignpatterns.org/ont/framenet/abox/lu/",ao:"http://purl.org/ontology/ao/core#",sport:"http://purl.org/ontology/sport/",hp:"http://purl.org/voc/hp/",gso:"http://www.w3.org/2006/gen/ont#",xhe:"http://buzzword.org.uk/rdf/xhtml-elements#",frir:"http://purl.org/twc/ontology/frir.owl#",powder:"http://www.w3.org/2007/05/powder#",omm:"http://purl.org/ontomedia/core/media#",bibtex:"http://purl.org/net/nknouf/ns/bibtex#",wordnet:"http://wordnet-rdf.princeton.edu/ontology#",fec:"http://www.rdfabout.com/rdf/schema/usfec/",asn:"http://purl.org/ASN/schema/core/",tdb:"http://jena.hpl.hp.com/2008/tdb#",atomix:"http://buzzword.org.uk/rdf/atomix#",pbo:"http://purl.org/ontology/pbo/core#",orges:"http://datos.gob.es/def/sector-publico/organizacion#",rep:"http://www.openrdf.org/config/repository#",obj:"http://www.openrdf.org/rdf/2009/object#",library:"http://purl.org/library/",compass:"http://purl.org/net/compass#",lfm:"http://purl.org/ontology/last-fm/",crypto:"http://www.w3.org/2000/10/swap/crypto#",rdrel:"http://rdvocab.info/RDARelationshipsWEMI/",doclist:"http://www.junkwork.net/xml/DocumentList#",rei:"http://www.w3.org/2004/06/rei#",os:"http://www.w3.org/2000/10/swap/os#",vra:"http://purl.org/vra/",cheminf:"http://www.semanticweb.org/ontologies/cheminf.owl#",fbgeo:"http://rdf.freebase.com/ns/location/geocode/",mime:"https://www.iana.org/assignments/media-types/",muto:"http://purl.org/muto/core#",lang:"http://ontologi.es/lang/core#",pom:"http://maven.apache.org/POM/4.0.0#",txn:"http://lod.taxonconcept.org/ontology/txn.owl#",oauth:"http://demiblog.org/vocab/oauth#",affy:"http://www.affymetrix.com/community/publications/affymetrix/tmsplice#",ire:"http://www.ontologydesignpatterns.org/cpont/ire.owl#",ngeo:"http://geovocab.org/geometry#",ddc:"http://purl.org/NET/decimalised#",money:"http://purl.org/net/rdf-money/",conversion:"http://purl.org/twc/vocab/conversion/",game:"http://data.totl.net/game/",eco:"http://www.ebusiness-unibw.org/ontologies/eclass/5.1.4/#",custom:"http://www.openrdf.org/config/sail/custom#",vocab:"http://rdf.ontology2.com/vocab#",swh:"http://plugin.org.uk/swh-plugins/",soft:"http://www.w3.org/2007/uwa/context/software.owl#",contact:"http://www.w3.org/2000/10/swap/pim/contact#",xen:"http://buzzword.org.uk/rdf/xen#",hard:"http://www.w3.org/2007/uwa/context/hardware.owl#",lfn:"http://www.dotnetrdf.org/leviathan#",nrl:"http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#",politico:"http://www.rdfabout.com/rdf/schema/politico/",dailymed:"http://www4.wiwiss.fu-berlin.de/dailymed/resource/dailymed/",vsr:"http://purl.org/twc/vocab/vsr#",string:"http://www.w3.org/2000/10/swap/string#",bib:"http://zeitkunst.org/bibtex/0.1/bibtex.owl#",bfo:"http://purl.obolibrary.org/obo/",sede:"http://eventography.org/sede/0.1/",omc:"http://purl.org/ontomedia/ext/common/bestiary#",climb:"http://climb.dataincubator.org/vocabs/climb/",usgov:"http://www.rdfabout.com/rdf/schema/usgovt/",ct:"http://data.linkedct.org/resource/linkedct/",interval:"http://reference.data.gov.uk/def/intervals/",bbc:"http://www.bbc.co.uk/ontologies/news/",soc:"http://purl.org/net/hdlipcores/ontology/soc#",locn:"http://www.w3.org/ns/locn#",stanford:"http://purl.org/olia/stanford.owl#",cycann:"http://sw.cyc.com/CycAnnotations_v1#",aos:"http://rdf.muninn-project.org/ontologies/appearances#",apivc:"http://purl.org/linked-data/api/vocab#",aifb:"http://www.aifb.kit.edu/id/",person:"http://www.w3.org/ns/person#",ui:"http://www.w3.org/ns/ui#",scv:"http://purl.org/NET/scovo#",rdac:"http://rdaregistry.info/Elements/c/",deo:"http://purl.org/spar/deo/",isq:"http://purl.org/ontology/is/quality/",coo:"http://purl.org/coo/ns#",bsb:"http://opacplus.bsb-muenchen.de/title/",coin:"http://purl.org/court/def/2009/coin#",eli:"http://data.europa.eu/eli/ontology#",sv:"http://schemas.talis.com/2005/service/schema#",biopax:"http://www.biopax.org/release/biopax-level3.owl#",xro:"http://purl.org/xro/ns#",dnr:"http://www.dotnetrdf.org/configuration#",pro:"http://purl.org/hpi/patchr#",sosa:"http://www.w3.org/ns/sosa/",vso:"http://purl.org/vso/ns#",mysql:"http://web-semantics.org/ns/mysql/",courseware:"http://courseware.rkbexplorer.com/ontologies/courseware#",lvont:"http://lexvo.org/ontology#",is:"http://purl.org/ontology/is/core#",xds:"http://www.w3.org/2001/XMLSchema#",zem:"http://s.zemanta.com/ns#",rs:"http://rightsstatements.org/vocab/",arch:"http://purl.org/archival/vocab/arch#",cex:"http://purl.org/weso/ontology/computex#",com:"http://purl.org/commerce#",arg:"http://rdfs.org/sioc/argument#",push:"http://www.w3.org/2007/uwa/context/push.owl#",ic:"http://imi.go.jp/ns/core/rdf#",chord:"http://purl.org/ontology/chord/",pdo:"http://ontologies.smile.deri.ie/pdo#",yoda:"http://purl.org/NET/yoda#",dt:"http://w3id.org/dt#",isi:"http://purl.org/ontology/is/inst/",gob:"http://purl.org/ontology/last-fm/",gml:"http://www.opengis.net/ont/gml#",worldbank:"http://worldbank.270a.info/dataset/",states:"http://www.w3.org/2005/07/aaa#",prot:"http://www.proteinontology.info/po.owl#",moat:"http://moat-project.org/ns#",uri:"http://purl.org/NET/uri#",dbpp:"http://dbpedia.org/property/",dso:"http://purl.org/ontology/dso#",muo:"http://purl.oclc.org/NET/muo/muo#",ttl:"http://www.w3.org/2008/turtle#",cpv:"http://purl.org/weso/cpv/",city:"http://datos.localidata.com/def/City#",pmlr:"http://inference-web.org/2.0/pml-relation.owl#",dady:"http://purl.org/NET/dady#",ist:"http://purl.org/ontology/is/types/",conserv:"http://conserv.deri.ie/ontology#",pos:"http://www.w3.org/2003/01/geo/wgs84_pos#",wdr:"http://www.w3.org/2007/05/powder#",freebase:"http://rdf.freebase.com/ns/",cogs:"http://vocab.deri.ie/cogs#",swanco:"http://purl.org/swan/1.2/swan-commons/",resex:"http://resex.rkbexplorer.com/ontologies/resex#",fea:"http://vocab.data.gov/def/fea#",odrl:"http://www.w3.org/ns/odrl/2/",lex:"http://purl.org/lex#",article:"http://ogp.me/ns/article#",dcmitype:"http://purl.org/dc/dcmitype/",profiling:"http://ontologi.es/profiling#",payment:"http://reference.data.gov.uk/def/payment#",xforms:"http://www.w3.org/2002/xforms/",nexif:"http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#",viaf:"http://viaf.org/viaf/",tio:"http://purl.org/tio/ns#",nsa:"http://multimedialab.elis.ugent.be/organon/ontologies/ninsuna#",hlisting:"http://sindice.com/hlisting/0.1/",voag:"http://voag.linkedmodel.org/schema/voag#",posh:"http://poshrdf.org/ns/posh/",address:"http://schemas.talis.com/2005/address/schema#",lotico:"http://www.lotico.com/resource/",swivt:"http://semantic-mediawiki.org/swivt/1.0#",opo:"http://online-presence.net/opo/ns#",toby:"http://tobyinkster.co.uk/#",evset:"http://dsnotify.org/vocab/eventset/0.1/",psys:"http://proton.semanticweb.org/protonsys#",rlog:"http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#",cos:"http://www.inria.fr/acacia/corese#",vote:"http://www.rdfabout.com/rdf/schema/vote/",meetup:"http://www.lotico.com/meetup/",rooms:"http://vocab.deri.ie/rooms#",pay:"http://reference.data.gov.uk/def/payment#",puc:"http://purl.org/NET/puc#",anca:"http://users.utcluj.ro/~raluca/rdf_ontologies_ralu/ralu_modified_ontology_pizzas2_0#",lifecycle:"http://purl.org/vocab/lifecycle/schema#",bsbm:"http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/",wlp:"http://weblab-project.org/core/model/property/processing/",datafaqs:"http://purl.org/twc/vocab/datafaqs#",sail:"http://www.openrdf.org/config/sail#",teach:"http://linkedscience.org/teach/ns#",common:"http://www.w3.org/2007/uwa/context/common.owl#",sysont:"http://ns.ontowiki.net/SysOnt/",ldap:"http://purl.org/net/ldap/",rda:"http://www.rdaregistry.info/",wi:"http://purl.org/ontology/wi/core#",lingvoj:"http://www.lingvoj.org/ontology#",p3p:"http://www.w3.org/2002/01/p3prdfv1#",tags:"http://www.holygoat.co.uk/owl/redwood/0.1/tags/",lp:"http://launchpad.net/rdf/launchpad#",rdfa:"http://www.w3.org/ns/rdfa#",dcr:"http://www.isocat.org/ns/dcr.rdf#",swanqs:"http://purl.org/swan/1.2/qualifiers/",fab:"http://purl.org/fab/ns#",eclap:"http://www.eclap.eu/schema/eclap/",ddl:"http://purl.org/vocab/riro/ddl#",nuts:"http://dd.eionet.europa.eu/vocabulary/common/nuts/",like:"http://ontologi.es/like#",sem:"http://semanticweb.cs.vu.nl/2009/11/sem/",psych:"http://purl.org/vocab/psychometric-profile/",oboinowl:"http://www.geneontology.org/formats/oboInOwl#",enc:"http://www.w3.org/2001/04/xmlenc#",ann:"http://www.w3.org/2000/10/annotation-ns#",wnschema:"http://www.cogsci.princeton.edu/~wn/schema/",bte:"http://purl.org/twc/vocab/between-the-edges/",wai:"http://purl.org/wai#",pobo:"http://purl.obolibrary.org/obo/",cdt:"https://w3id.org/cdt/",cmo:"http://purl.org/twc/ontologies/cmo.owl#",oslc:"http://open-services.net/ns/core#",kwijibo:"http://kwijibo.talis.com/",play:"http://uriplay.org/spec/ontology/#",br:"http://vocab.deri.ie/br#",algo:"http://securitytoolbox.appspot.com/securityAlgorithms#",eztag:"http://ontologies.ezweb.morfeo-project.org/eztag/ns#",drug:"http://www.agfa.com/w3c/2009/drugTherapy#",care:"http://eulersharp.sourceforge.net/2003/03swap/care#",vitro:"http://vitro.mannlib.cornell.edu/ns/vitro/public#",oboe:"http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#",bridge:"http://purl.org/vocommons/bridge#",irrl:"http://www.ontologydesignpatterns.org/cp/owl/informationobjectsandrepresentationlanguages.owl#",prissma:"http://ns.inria.fr/prissma/v1#",lastfm:"http://purl.org/ontology/last-fm/",sl:"http://www.semanlink.net/2001/00/semanlink-schema#",pol:"http://escience.rpi.edu/ontology/semanteco/2/0/pollution.owl#",mei:"http://www.music-encoding.org/ns/mei/",ogp:"http://ogp.me/ns#",mygrid:"http://www.mygrid.org.uk/ontology#",fo:"http://www.w3.org/1999/XSL/Format#",esd:"http://def.esd.org.uk/",r2rml:"http://www.w3.org/ns/r2rml#",grddl:"http://www.w3.org/2003/g/data-view#",phss:"http://ns.poundhill.com/phss/1.0/",oat:"http://openlinksw.com/schemas/oat/",fls:"http://lukasblaho.sk/football_league_schema#",olo:"http://purl.org/ontology/olo/core#",h5:"http://buzzword.org.uk/rdf/h5#",uni:"http://purl.org/weso/uni/uni.html#",wordmap:"http://purl.org/net/ns/wordmap#",tarot:"http://data.totl.net/tarot/card/",iswc:"http://annotation.semanticweb.org/2004/iswc#",sm:"http://topbraid.org/sparqlmotion#",b2bo:"http://purl.org/b2bo#",hospital:"http://www.agfa.com/w3c/2009/hospital#",swandr:"http://purl.org/swan/1.2/discourse-relationships/",remus:"http://www.semanticweb.org/ontologies/2010/6/Ontology1279614123500.owl#",osn:"http://spatial.ucd.ie/lod/osn/",ezcontext:"http://ontologies.ezweb.morfeo-project.org/ezcontext/ns#",lt:"http://diplomski.nelakolundzija.org/LTontology.rdf#",ne:"http://umbel.org/umbel/ne/",smiley:"http://www.smileyontology.com/ns#",calli:"http://callimachusproject.org/rdf/2009/framework#",places:"http://purl.org/ontology/places#",ibis:"http://purl.org/ibis#",sioca:"http://rdfs.org/sioc/actions#",geom:"http://data.ign.fr/def/geometrie#",hcterms:"http://purl.org/uF/hCard/terms/",human:"http://eulersharp.sourceforge.net/2003/03swap/human#",rulz:"http://purl.org/NET/rulz#",rdagr1:"http://rdvocab.info/Elements/",pimo:"http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#",countries:"http://eulersharp.sourceforge.net/2003/03swap/countries#",recipe:"http://linkedrecipes.org/schema/",oac:"https://w3id.org/oac#",ppo:"http://vocab.deri.ie/ppo#",cdc:"https://w3id.org/cdc#",status:"http://www.w3.org/2003/06/sw-vocab-status/ns#",httpvoc:"http://www.w3.org/2006/http#",data:"http://data.odw.tw/",aapi:"http://rdf.alchemyapi.com/rdf/v1/s/aapi-schema#",session:"http://redfoot.net/2005/session#",np:"http://www.nanopub.org/nschema#",omv:"http://omv.ontoware.org/2005/05/ontology#",card:"http://www.ashutosh.com/test/",reve:"http://data.eurecom.fr/ontology/reve#",sql:"http://ns.inria.fr/ast/sql#",icaltzd:"http://www.w3.org/2002/12/cal/icaltzd#",dnb:"http://d-nb.info/gnd/",san:"http://www.irit.fr/recherches/MELODI/ontologies/SAN#",wbc:"http://worldbank.270a.info/classification/",pml:"http://provenanceweb.org/ns/pml#",rdaa:"http://rdaregistry.info/Elements/a/",wfm:"http://purl.org/net/wf-motifs#",osoc:"http://web-semantics.org/ns/opensocial#",webtlab:"http://webtlab.it.uc3m.es/",tr:"http://www.thomsonreuters.com/",ebucore:"http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",cao:"http://purl.org/makolab/caont/",esdir:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/direccion-postal#",xmls:"http://www.w3.org/2001/XMLSchema#",wgspos:"http://www.w3.org/2003/01/geo/wgs84_pos#",okkam:"http://models.okkam.org/ENS-core-vocabulary#",arpfo:"http://vocab.ouls.ox.ac.uk/projectfunding#",dbt:"http://dbpedia.org/resource/Template:",csvw:"http://www.w3.org/ns/csvw#",scsv:"http://purl.org/NET/schema-org-csv#",prf:"http://www.openmobilealliance.org/tech/profiles/UAPROF/ccppschema-20021212#",wisski:"http://wiss-ki.eu/",units:"http://eulersharp.sourceforge.net/2003/03swap/units#",wl:"http://www.wsmo.org/ns/wsmo-lite#",geospecies:"http://rdf.geospecies.org/ont/geospecies#",wsc:"http://www.openk.org/wscaim.owl#",opwn:"http://www.ontologyportal.org/WordNet.owl#",elog:"http://eulersharp.sourceforge.net/2003/03swap/log-rules#",ple:"http://pleiades.stoa.org/places/",zbwext:"http://zbw.eu/namespaces/zbw-extensions/",infosys:"http://www.infosys.com/",span:"http://www.ifomis.org/bfo/1.1/span#",derecho:"http://purl.org/derecho#",geofla:"http://data.ign.fr/ontologies/geofla#",mp:"http://jicamaro.info/mp#",agent:"http://eulersharp.sourceforge.net/2003/03swap/agent#",agents:"http://eulersharp.sourceforge.net/2003/03swap/agent#",imreg:"http://www.w3.org/2004/02/image-regions#",pmlt:"http://inference-web.org/2.0/pml-trust.owl#",pccz:"http://purl.org/procurement/public-contracts-czech#",wbp:"http://worldbank.270a.info/property/",agro:"http://purl.obolibrary.org/obo/agro.owl#",cb:"http://cbasewrap.ontologycentral.com/vocab#",gridworks:"http://purl.org/net/opmv/types/gridworks#",geographis:"http://telegraphis.net/ontology/geography/geography#",marl:"http://www.gsi.dit.upm.es/ontologies/marl/ns#",rdo:"http://purl.org/rdo/ns#",dita:"http://purl.org/dita/ns#",pmlp:"http://inference-web.org/2.0/pml-provenance.owl#",ncal:"http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#",qdoslf:"http://foaf.qdos.com/lastfm/schema/",plink:"http://buzzword.org.uk/rdf/personal-link-types#",opus:"http://lsdis.cs.uga.edu/projects/semdis/opus#",osgb:"http://data.ordnancesurvey.co.uk/id/",html:"http://www.w3.org/1999/xhtml/",kontakt:"http://richard.cyganiak.de/",qa:"http://www.mit.jyu.fi/ai/TRUST_Ontologies/QA.owl#",sindice:"http://vocab.sindice.net/",prefix:"http://prefix.cc/",provenir:"http://knoesis.wright.edu/provenir/provenir.owl#",shv:"http://ns.aksw.org/spatialHierarchy/",dis:"http://stanbol.apache.org/ontology/disambiguation/disambiguation#",open:"http://open.vocab.org/terms/",r2r:"http://www4.wiwiss.fu-berlin.de/bizer/r2r/",c4n:"http://vocab.deri.ie/c4n#",dsp:"http://purl.org/metainfo/terms/dsp#",pns:"http://data.press.net/ontology/stuff/",visit:"http://purl.org/net/vocab/2004/07/visit#",timeline:"http://purl.org/NET/c4dm/timeline.owl#",ncbitaxon:"http://purl.obolibrary.org/obo/NCBITaxon_",nid3:"http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#",hxl:"http://hxl.humanitarianresponse.info/ns/#",organiz:"http://eulersharp.sourceforge.net/2003/03swap/organization#",wairole:"http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#",dgtwc:"http://data-gov.tw.rpi.edu/2009/data-gov-twc.rdf#",muni:"http://vocab.linkeddata.es/urbanismo-infraestructuras/territorio#",life:"http://life.deri.ie/schema/",swanpav:"http://purl.org/swan/1.2/pav/",dummy:"http://hello.com/",osr:"http://dati.senato.it/osr/",lr:"http://linkedrecipes.org/schema/",ens:"http://models.okkam.org/ENS-core-vocabulary.owl#",gv:"http://rdf.data-vocabulary.org/#",req:"http://purl.org/req/",agetec:"http://www.agetec.org/",frbre:"http://purl.org/vocab/frbr/extended#",prvtypes:"http://purl.org/net/provenance/types#",odp:"http://ontologydesignpatterns.org/",aair:"http://xmlns.notu.be/aair#",hemogram:"http://www.agfa.com/w3c/2009/hemogram#",out:"http://ontologies.hypios.com/out#",pubmed:"http://bio2rdf.org/pubmed_vocabulary:",meb:"http://rdf.myexperiment.org/ontologies/base/",vaem:"http://www.linkedmodel.org/schema/vaem#",xsl:"http://www.w3.org/1999/XSL/Transform#",nex:"http://www.nexml.org/2009/",set:"http://www.w3.org/2000/10/swap/set#",aims:"http://aims.fao.org/aos/common/",ecb:"http://ecb.270a.info/class/1.0/",xhtmlvocab:"http://www.w3.org/1999/xhtml/vocab/",copyright:"http://rhizomik.net/ontologies/copyrightonto.owl#",xt:"http://purl.org/twc/vocab/cross-topix#",un:"http://www.w3.org/2007/ont/unit#",parl:"https://id.parliament.uk/schema/",visko:"http://trust.utep.edu/visko/ontology/visko-operator-v3.owl#",fowl:"http://www.w3.org/TR/2003/PR-owl-guide-20031209/food#",rdapo:"http://rdaregistry.info/Elements/p/object/",eprints:"http://eprints.org/ontology/",trackback:"http://madskills.com/public/xml/rss/module/trackback/",wao:"http://webtlab.it.uc3m.es/2010/10/WebAppsOntology#",pna:"http://data.press.net/ontology/asset/",tripfs:"http://purl.org/tripfs/2010/02#",lark1:"http://users.utcluj.ro/~raluca/ontology/Ontology1279614123500.owl#",carfo:"http://purl.org/carfo#",geodata:"http://sws.geonames.org/",grel:"http://users.ugent.be/~bjdmeest/function/grel.ttl#",spatial:"http://geovocab.org/spatial#",skip:"http://skipforward.net/skipforward/resource/",wapp:"http://ns.rww.io/wapp#",swanci:"http://purl.org/swan/1.2/citations/",ops:"https://w3id.org/ops#",eye:"http://jena.hpl.hp.com/Eyeball#",sdm:"https://w3id.org/okn/o/sdm#",emotion:"http://ns.inria.fr/emoca#",emp:"http://purl.org/ctic/empleo/oferta#",admssw:"http://purl.org/adms/sw/",archdesc:"http://archdesc.info/archEvent#",aneo:"http://akonadi-project.org/ontologies/aneo#",rv:"https://data.elsevier.com/research/schema/rv/",oper:"http://sweet.jpl.nasa.gov/2.0/mathOperation.owl#",fl:"http://eulersharp.sourceforge.net/2003/03swap/fl-rules#",rdam:"http://rdaregistry.info/Elements/m/",kdo:"http://kdo.render-project.eu/kdo#",ospost:"http://data.ordnancesurvey.co.uk/ontology/postcode/",fd:"http://foodable.co/ns/",fno:"https://w3id.org/function/ontology#",pne:"http://data.press.net/ontology/event/",soap:"http://www.w3.org/2003/05/soap-envelope/",gelo:"http://krauthammerlab.med.yale.edu/ontologies/gelo#",doco:"http://purl.org/spar/doco/",evopat:"http://ns.aksw.org/Evolution/",xesam:"http://freedesktop.org/standards/xesam/1.0/core#",dayta:"http://dayta.me/resource#",commons:"http://commons.psi.enakting.org/def/",nsl:"http://purl.org/ontology/storyline/",prolog:"http://eulersharp.sourceforge.net/2003/03swap/prolog#",dtype:"http://www.linkedmodel.org/schema/dtype#",languages:"http://eulersharp.sourceforge.net/2003/03swap/languages#",sdgp:"http://stats.data-gov.ie/property/",metalex:"http://www.metalex.eu/schema/1.0#",hgnc:"http://bio2rdf.org/hgnc:",ipad:"http://www.padinthecity.com/",xfnv:"http://vocab.sindice.com/xfn#",dive:"http://scubadive.networld.to/dive.rdf#",pam:"http://prismstandard.org/namespaces/pam/2.0/",re:"http://www.w3.org/2000/10/swap/reason#",atomowl:"http://bblfish.net/work/atom-owl/2006-06-06/#",ccom:"http://purl.org/ontology/cco/mappings#",sawsdl:"http://www.w3.org/ns/sawsdl#",comm:"http://vocab.resc.info/communication#",bioskos:"http://eulersharp.sourceforge.net/2003/03swap/bioSKOSSchemes#",semtweet:"http://semantictweet.com/",tei:"http://www.tei-c.org/ns/1.0/",rad:"http://www.w3.org/ns/rad#",aigp:"http://swat.cse.lehigh.edu/resources/onto/aigp.owl#",ecpo:"http://purl.org/ontology/ecpo#",tcga:"http://purl.org/tcga/core#",psh:"http://ns.inria.fr/probabilistic-shacl/",gc:"http://www.oegov.org/core/owl/gc#",dgfoaf:"http://west.uni-koblenz.de/ontologies/2010/07/dgfoaf.owl#",sig:"http://purl.org/signature#",tvc:"http://www.essepuntato.it/2012/04/tvc/",oj:"http://ontojob.at/",decl:"http://www.linkedmodel.org/1.0/schema/decl#",func:"http://www.w3.org/2007/rif-builtin-function#",fc:"http://www.freeclass.eu/freeclass_v1#",dssn:"http://purl.org/net/dssn/",orca:"http://geni-orca.renci.org/owl/topology.owl#",oboro:"http://obofoundry.org/ro/ro.owl#",agrelon:"http://d-nb.info/standards/elementset/agrelon#",linkedct:"http://data.linkedct.org/vocab/",frame:"http://www.ontologydesignpatterns.org/ont/framenet/abox/frame/",nndsr:"http://semanticdiet.com/schema/usda/nndsr/",quak:"http://dev.w3.org/cvsweb/2000/quacken/vocab#",opmv:"http://purl.org/net/opmv/ns#",geop:"http://aims.fao.org/aos/geopolitical.owl#",xch:"http://oanda2rdf.appspot.com/xch/",fcm:"http://eulersharp.sourceforge.net/2006/02swap/fcm#",igeo:"http://rdf.insee.fr/def/geo#",swpo:"http://sw-portal.deri.org/ontologies/swportal#",theatre:"http://purl.org/theatre#",sad:"http://vocab.deri.ie/sad#",aersv:"http://aers.data2semantics.org/vocab/",nxp:"http://purl.org/nxp/schema/v1/",transit:"http://vocab.org/transit/terms/",spif:"http://spinrdf.org/spif#",bookmark:"http://www.w3.org/2002/01/bookmark#",tripfs2:"http://purl.org/tripfs/2010/06#",coeus:"http://bioinformatics.ua.pt/coeus/",enhancer:"http://stanbol.apache.org/ontology/enhancer/enhancer#",oboso:"http://purl.org/obo/owl/SO#",gxa:"http://www.ebi.ac.uk/gxa/",xbrli:"http://www.xbrl.org/2003/instance#",rso:"http://www.researchspace.org/ontology/",nyt:"http://data.nytimes.com/",eseduc:"http://www.purl.org/ontologia/eseduc#",td:"https://www.w3.org/2019/wot/td#",ling:"http://purl.org/voc/ling/",tp:"https://triplydb.com/Triply/tp/def/",mte:"http://nl.ijs.si/ME/owl/",iron:"http://purl.org/ontology/iron#",dbpo:"http://dbpedia.org/ontology/",rlno:"http://rdflivenews.aksw.org/ontology/",qu:"http://purl.oclc.org/NET/ssnx/qu/qu#",protons:"http://proton.semanticweb.org/2005/04/protons#",w3p:"http://prov4j.org/w3p/",events:"http://eulersharp.sourceforge.net/2003/03swap/event#",cidoccrm:"http://purl.org/NET/cidoc-crm/core#",dl:"http://ontology.ip.rm.cnr.it/ontologies/DOLCE-Lite#",httpm:"http://www.w3.org/2011/http-methods#",prvr:"http://purl.org/ontology/prv/rules#",json:"https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf#",rich:"http://rdf.data-vocabulary.org/",myprefix:"http://myprefix.org/",telix:"http://purl.org/telix#",c4o:"http://purl.org/spar/c4o/",gazetteer:"http://data.ordnancesurvey.co.uk/ontology/50kGazetteer/",htir:"http://www.w3.org/2011/http#",estrn:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/transporte#",sgv:"http://www.w3.org/TR/SVG/",owls:"http://www.daml.org/services/owl-s/1.2/Service.owl#",no:"http://km.aifb.kit.edu/projects/numbers/number#",frapo:"http://purl.org/cerif/frapo/",rpubl:"http://rinfo.lagrummet.se/ns/2008/11/rinfo/publ#",moby:"http://www.mygrid.org.uk/mygrid-moby-service#",ecc:"https://ns.eccenca.com/",oax:"http://www.w3.org/ns/openannotation/extensions/",kw:"http://kwantu.net/kw/",fct:"http://openlinksw.com/services/facets/1.0/",scowt:"http://purl.org/weso/ontologies/scowt#",coun:"http://www.daml.org/2001/09/countries/iso-3166-ont#",mesh:"http://id.nlm.nih.gov/mesh/",tmpl:"http://purl.org/restdesc/http-template#",frad:"http://iflastandards.info/ns/fr/frad/",artstor:"http://simile.mit.edu/2003/10/ontologies/artstor#",wf:"http://www.w3.org/2005/01/wf/flow#",humanbody:"http://eulersharp.sourceforge.net/2003/03swap/humanBody#",wm:"http://ns.inria.fr/webmarks#",arecipe:"http://purl.org/amicroformat/arecipe/",rdaw:"http://rdaregistry.info/Elements/w/",fingal:"http://vocab.deri.ie/fingal#",govtrackus:"http://www.rdfabout.com/rdf/usgov/geo/us/",gbv:"http://purl.org/ontology/gbv/",ext:"http://mu.semte.ch/vocabularies/ext/",jita:"http://aims.fao.org/aos/jita/",lgv:"http://linkedgeodata.org/ontology/",oecd:"http://oecd.270a.info/dataset/",ccard:"http://purl.org/commerce/creditcard#",swanag:"http://purl.org/swan/1.2/agents/",ru:"http://purl.org/imbi/ru-meta.owl#",pf:"http://jena.hpl.hp.com/ARQ/property#",owltime:"http://www.w3.org/TR/owl-time#",clineva:"http://www.agfa.com/w3c/2009/clinicalEvaluation#",ec:"http://eulergui.sourceforge.net/contacts.owl.n3#",goef:"http://purl.org/twc/vocab/goef#",bm:"http://bio2rdf.org/",intervals:"http://reference.data.gov.uk/def/intervals/",flow:"http://www.w3.org/2005/01/wf/flow#",grs:"http://www.georss.org/georss/",vcardx:"http://buzzword.org.uk/rdf/vcardx#",dbpedia2:"http://dbpedia.org/property/",ends:"http://labs.mondeca.com/vocab/endpointStatus#",quantity:"http://qudt.org/schema/quantity#",fe:"http://www.ontologydesignpatterns.org/ont/framenet/abox/fe/",rating:"http://www.tvblob.com/ratings/#",health:"http://purl.org/twc/health/vocab/",genab:"http://eulersharp.sourceforge.net/2003/03swap/genomeAbnormality#",italy:"http://data.kasabi.com/dataset/italy/schema/",dossier:"https://data.omgeving.vlaanderen.be/ns/dossier#",abs:"http://abs.270a.info/dataset/",luc:"http://www.ontotext.com/owlim/lucene#",identity:"http://purl.org/twc/ontologies/identity.owl#",vf:"https://w3id.org/valueflows/ont/vf#",sor:"http://purl.org/net/soron/",lod2:"http://lod2.eu/schema/",osp:"http://data.lirmm.fr/ontologies/osp#",penis:"http://penis.to/#",d2r:"http://sites.wiwiss.fu-berlin.de/suhl/bizer/d2r-server/config.rdf#",wfdesc:"http://purl.org/wf4ever/wfdesc#",kupkb:"http://www.e-lico.eu/data/kupkb/",nytimes:"http://data.nytimes.com/elements/",govwild:"http://govwild.org/0.6/GWOntology.rdf/",osmsemnet:"http://spatial.ucd.ie/2012/08/osmsemnet/",hcard:"http://purl.org/uF/hCard/terms/",frbrcore:"http://purl.org/vocab/frbr/core#",ql:"http://www.w3.org/2004/ql#",ecos:"http://purl.org/ecos#",crtv:"http://open-services.net/ns/crtv#",environ:"http://eulersharp.sourceforge.net/2003/03swap/environment#",p20:"http://zbw.eu/beta/p20/vocab/",cmd:"https://w3id.org/cmd#",s4ac:"http://ns.inria.fr/s4ac/v2#",sro:"http://salt.semanticauthoring.org/ontologies/sro#",npgd:"http://ns.nature.com/datasets/",loticoowl:"http://www.lotico.com/ontology/",shex:"http://www.w3.org/ns/shex#",cold:"http://purl.org/configurationontology#",transmed:"http://www.w3.org/2001/sw/hcls/ns/transmed/",wikibase:"http://wikiba.se/ontology#",daiaserv:"http://purl.org/ontology/daia/Service/",gfo:"http://www.onto-med.de/ontologies/gfo.owl#",cl:"http://advene.org/ns/cinelab/",itsmo:"http://ontology.it/itsmo/v1#",bl:"https://w3id.org/biolink/vocab/",ogorg:"http://opengraph.org/schema/",idemo:"http://rdf.insee.fr/def/demo#",ufmedia:"http://purl.org/microformat/hmedia/",crmdig:"http://www.ics.forth.gr/isl/CRMdig/",genea:"http://www.owl-ontologies.com/generations.owl#",poder:"http://poderopedia.com/vocab/",dpd:"http://www.kanzaki.com/ns/dpd#",nocal:"http://vocab.deri.ie/nocal#",skiresort:"http://www.openlinksw.com/ski_resorts/schema#",provone:"http://purl.org/provone#",lindt:"http://purl.org/NET/lindt#",rkd:"http://data.rkd.nl/def#",npgg:"http://ns.nature.com/graphs/",str:"http://nlp2rdf.lod2.eu/schema/string/",sw:"http://linkedwidgets.org/statisticalwidget/ontology/",hartigprov:"http://purl.org/net/provenance/ns#",va:"http://code-research.eu/ontology/visual-analytics#",bcncon:"http://datos.bcn.cl/ontologies/bcn-congress#",cf:"http://mmisw.org/ont/cf/parameter/",steel:"https://w3id.org/steel/ProcessOntology/",gesis:"http://lod.gesis.org/lodpilot/ALLBUS/vocab.rdf#",wscaim:"http://www.openk.org/wscaim.owl#",sci:"http://data.scientology.org/ns/",protegedc:"http://protege.stanford.edu/plugins/owl/dc/protege-dc.owl#",cdtype:"http://purl.org/cld/cdtype/",diseasome:"http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/",ls:"http://linkedspending.aksw.org/instance/",s2s:"http://escience.rpi.edu/ontology/sesf/s2s/4/0/",cis:"http://purl.org/NET/cloudisus#",healthcare:"http://www.agfa.com/w3c/2009/healthCare#",rankrage:"https://rankrage.de/",stac:"http://securitytoolbox.appspot.com/stac#",kbp:"http://tackbp.org/2013/ontology#",dctypes:"http://purl.org/dc/dcmitype/",atomrdf:"http://atomowl.org/ontologies/atomrdf#",mohammad:"http://manesht.ir/",atlas:"http://rdf.ebi.ac.uk/resource/atlas/",ngeoi:"http://vocab.lenka.no/geo-deling#",openskos:"http://openskos.org/xmlns#",centrifuge:"http://purl.org/twc/vocab/centrifuge#",paia:"http://purl.org/ontology/paia#",ipo:"http://purl.org/ipo/core#",occult:"http://data.totl.net/occult/",ianarel:"https://www.w3.org/ns/iana/link-relations/relation#",saxon:"http://saxon.sf.net/",solid:"http://www.w3.org/ns/solid/terms#",foo:"http://filmontology.org/ontology/1.0/",curr:"https://w3id.org/cc#",osukdt:"http://www.ordnancesurvey.co.uk/ontology/Datatypes.owl#",gs1:"https://gs1.org/voc/",marshall:"http://sites.google.com/site/xgmaitc/",l4a:"http://labels4all.info/ns/",skos08:"http://www.w3.org/2008/05/skos#",vsto:"http://escience.rpi.edu/ontology/vsto/2/0/vsto.owl#",rec54:"http://www.w3.org/2001/02pd/rec54.rdf#",l4lod:"http://ns.inria.fr/l4lod/v2/",lctr:"http://data.linkedct.org/vocab/resource/",mtecore:"http://purl.org/olia/mte/multext-east.owl#",harrisons:"http://harrisons.cc/",opmw:"http://www.opmw.org/ontology/",category:"http://dbpedia.org/resource/Category:",rml:"http://w3id.org/rml/",biordf:"http://purl.org/net/biordfmicroarray/ns#",wfprov:"http://purl.org/wf4ever/wfprov#",gov:"http://gov.genealogy.net/ontology.owl#",clinproc:"http://www.agfa.com/w3c/2009/clinicalProcedure#",pizza:"http://www.co-ode.org/ontologies/pizza/pizza.owl#",prism21:"http://prismstandard.org/namespaces/basic/2.1/",daq:"http://purl.org/eis/vocab/daq#",campsite:"http://www.openlinksw.com/campsites/schema#",aerols:"http://xmlns.com/aerols/0.1/",hasco:"http://hadatac.org/ont/hasco/",laposte:"http://data.lirmm.fr/ontologies/laposte#",mpeg7:"http://rhizomik.net/ontologies/2005/03/Mpeg7-2001.owl#",pronom:"http://reference.data.gov.uk/technical-registry/",dbyago:"http://dbpedia.org/class/yago/",b2rpubchem:"http://bio2rdf.org/ns/ns/ns/pubchem#",lh:"http://vocab.inf.ed.ac.uk/library/holdings#",refe:"http://orion.tw.rpi.edu/~xgmatwc/refe/",malignneo:"http://www.agfa.com/w3c/2009/malignantNeoplasm#",opl:"http://openlinksw.com/schema/attribution#",pkmn:"http://pokedex.dataincubator.org/pkm/",okg:"http://openknowledgegraph.org/ontology/",wno:"http://wordnet-rdf.princeton.edu/ontology#",ldr:"http://purl.oclc.org/NET/ldr/ns#",ifc:"http://ifcowl.openbimstandards.org/IFC2X3_Final#",odcs:"http://opendata.cz/infrastructure/odcleanstore/",camelot:"http://vocab.ox.ac.uk/camelot#",wkd:"http://schema.wolterskluwer.de/",dpl:"http://dbpedialite.org/things/",oslo:"http://purl.org/oslo/ns/localgov#",sam:"http://def.seegrid.csiro.au/isotc211/iso19156/2011/sampling#",verb:"https://w3id.org/verb/",te:"http://www.w3.org/2006/time-entry#",c4dm:"http://purl.org/NET/c4dm/event.owl#",bv:"http://purl.org/vocommons/bv#",pod:"https://project-open-data.cio.gov/v1.1/schema/#",dqv:"http://www.w3.org/ns/dqv#",geovocab:"http://geovocab.org/",crv:"http://purl.org/twc/vocab/datacarver#",germplasm:"http://purl.org/germplasm/terms#",doas:"http://deductions.github.io/doas.owl.ttl#",dannet:"http://www.wordnet.dk/owl/instance/2009/03/instances/",lio:"http://purl.org/net/lio#",ds:"http://purl.org/ctic/dcat#",scms:"http://ns.aksw.org/scms/annotations/",mads:"http://www.loc.gov/mads/rdf/v1#",lc:"http://semweb.mmlab.be/ns/linkedconnections#",cart:"http://purl.org/net/cartCoord#",date:"http://contextus.net/ontology/ontomedia/misc/date#",vgo:"http://purl.org/net/VideoGameOntology#",odo:"http://ocean-data.org/schema/",lso:"http://linkedspending.aksw.org/ontology/",ekaw:"http://data.semanticweb.org/conference/ekaw/2012/complete/",puelia:"http://kwijibo.talis.com/vocabs/puelia#",bcnnorms:"http://datos.bcn.cl/ontologies/bcn-norms#",of:"http://owlrep.eu01.aws.af.cm/fridge#",alchemy:"http://rdf.alchemyapi.com/rdf/v1/s/aapi-schema#",ebu:"http://semantic.eurobau.com/eurobau-utility.owl#",shoah:"http://dati.cdec.it/lod/shoah/",sso:"http://nlp2rdf.lod2.eu/schema/sso/",prvt:"http://purl.org/net/provenance/types#",omnlife:"http://open-multinet.info/ontology/omn-lifecycle#",plo:"http://purl.org/net/po#",mmo:"http://purl.org/momayo/mmo/",tac:"http://ns.bergnet.org/tac/0.1/triple-access-control#",hifm:"http://purl.org/net/hifm/data#",yo:"http://yovisto.com/",pattern:"http://www.essepuntato.it/2008/12/pattern#",dawgt:"http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#",tisc:"http://observedchange.com/tisc/ns#",bdd:"https://api.bloomberg.com/eap/catalogs/bbg/fields/",namespaces:"https://vg.no/",ottr:"http://ns.ottr.xyz/templates#",shw:"http://paul.staroch.name/thesis/SmartHomeWeather.owl#",dvia:"http://data.eurecom.fr/ontology/dvia#",insdc:"http://ddbj.nig.ac.jp/ontologies/sequence#",strdf:"http://strdf.di.uoa.gr/ontology#",esco:"http://data.europa.eu/esco/model#",dcndl:"http://ndl.go.jp/dcndl/terms/",hints2005:"http://purl.org/twc/cabig/model/HINTS2005-1.owl#",rdacarrier:"http://rdvocab.info/termList/RDACarrierType/",opllic:"http://www.openlinksw.com/ontology/licenses#",daisy:"http://www.daisy.org/z3998/2012/vocab/",smg:"http://ns.cerise-project.nl/energy/def/cim-smartgrid#",adr:"http://kg.artsdata.ca/resource/",vin:"http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#",dn:"http://purl.org/datanode/ns/",antenne:"https://data.zendantennes.omgeving.vlaanderen.be/ns/zendantenne#",csm:"http://purl.org/csm/1.0#",sbench:"http://swat.cse.lehigh.edu/onto/univ-bench.owl#",cts2:"http://schema.omg.org/spec/CTS2/1.0/",part:"http://purl.org/vocab/participation/schema#",bn:"http://babelnet.org/rdf/",rssynd:"http://web.resource.org/rss/1.0/modules/syndication/",cpsv:"http://purl.org/vocab/cpsv#",wsl:"http://www.wsmo.org/ns/wsmo-lite#",quantities:"http://eulersharp.sourceforge.net/2003/03swap/quantitiesExtension#",iol:"http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#",latitude:"https://www.w3.org/2006/vcard/ns#",gastro:"http://www.ebsemantics.net/gastro#",dpc:"http://hospee.org/ontologies/dpc/",chembl:"http://rdf.ebi.ac.uk/terms/chembl#",ssso:"http://purl.org/ontology/ssso#",art:"http://w3id.org/art/terms/1.0/",clinic:"http://example.com/clinic#",wro:"http://purl.org/net/wf4ever/ro#",ptop:"http://www.ontotext.com/proton/protontop#",fos:"http://futurios.org/fos/spec/",rdamt:"http://rdaregistry.info/termList/RDAMediaType/",pso:"http://purl.org/spar/pso/",sioctypes:"http://rdfs.org/sioc/types#",scor:"http://purl.org/eis/vocab/scor#",turismo:"http://idi.fundacionctic.org/cruzar/turismo#",rdae:"http://rdaregistry.info/Elements/e/",semio:"http://www.lingvoj.org/semio#",goog:"http://schema.googleapis.com/",rmo:"http://eatld.et.tu-dresden.de/rmo#",qrl:"http://www.aifb.kit.edu/project/ld-retriever/qrl#",trait:"http://contextus.net/ontology/ontomedia/ext/common/trait#",bihap:"http://bihap.kb.gov.tr/ontology/",stream:"http://dbpedia.org/ontology/Stream/",ccrel:"http://creativecommons.org/ns#",cpant:"http://purl.org/NET/cpan-uri/terms#",decision:"https://decision-ontology.googlecode.com/svn/trunk/decision.owl#",mico:"http://www.mico-project.eu/ns/platform/1.0/schema#",bk:"http://www.provbook.org/ns/#",oan:"http://data.lirmm.fr/ontologies/oan/",property:"http://fr.dbpedia.org/property/",guo:"http://purl.org/hpi/guo#",ep:"http://eprints.org/ontology/",who:"http://www.who.int/vocab/ontology#",webbox:"http://webbox.ecs.soton.ac.uk/ns#",ost:"http://w3id.org/ost/ns#",emtr:"http://purl.org/NET/ssnext/electricmeters#",cosmo:"http://purl.org/ontology/cosmo#",xlime:"http://xlime-project.org/vocab/",obsm:"http://rdf.geospecies.org/methods/observationMethod#",omapi:"http://purl.org/omapi/0.2/#",thors:"http://resource.geosciml.org/ontology/timescale/thors#",opencyc:"http://sw.opencyc.org/concept/",shacl:"http://www.w3.org/ns/shacl#",lldr:"http://purl.oclc.org/NET/lldr/ns#",onc:"http://www.ics.forth.gr/isl/oncm/core#",gf:"http://def.seegrid.csiro.au/isotc211/iso19109/2005/feature#",conf:"http://richard.cyganiak.de/2007/pubby/config.rdf#",fma:"http://sig.uw.edu/fma#",op:"http://environment.data.gov.au/def/op#",vsso:"http://automotive.eurecom.fr/vsso#",zoomaterms:"http://rdf.ebi.ac.uk/vocabulary/zooma/",rdarel2:"http://metadataregistry.org/uri/schema/RDARelationshipsGR2/",kai:"http://kai.uni-kiel.de/",msr:"http://www.telegraphis.net/ontology/measurement/measurement#",sao:"http://salt.semanticauthoring.org/ontologies/sao#",wikterms:"http://wiktionary.dbpedia.org/terms/",bgcat:"http://bg.dbpedia.org/resource/\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f:",rdafnm:"http://rdaregistry.info/termList/FormNoteMus/",ses:"http://lod.taxonconcept.org/ses/",faq:"http://www.openlinksw.com/ontology/faq#",mmd:"http://musicbrainz.org/ns/mmd-1.0#",ljkl:"http://teste.com/",oarj:"http://opendepot.org/reference/linked/1.0/",my:"http://www.mobile.com/model/",cvbase:"http://purl.org/captsolo/resume-rdf/0.2/base#",rdamedia:"http://rdvocab.info/termList/RDAMediaType/",place:"http://purl.org/ontology/places/",tblcard:"http://www.w3.org/People/Berners-Lee/card#",spt:"http://spitfire-project.eu/ontology/ns/",security:"http://securitytoolbox.appspot.com/securityMain#",ecrm:"http://erlangen-crm.org/current/",mged:"http://mged.sourceforge.net/ontologies/MGEDOntology.owl#",moac:"http://observedchange.com/moac/ns#",telmap:"http://purl.org/telmap/",dr:"http://purl.org/swan/2.0/discourse-relationships/",poste:"http://data.lirmm.fr/ontologies/poste#",rdafr:"http://rdaregistry.info/termList/frequency/",eumida:"http://data.kasabi.com/dataset/eumida/terms/",bgn:"http://bibliograph.net/schemas/",w3con:"http://www.w3.org/2000/10/swap/pim/contact#",bcnbio:"http://datos.bcn.cl/ontologies/bcn-biographies#",aers:"http://aers.data2semantics.org/resource/",qud:"http://qudt.org/1.1/schema/qudt#",jpo:"http://rdf.jpostdb.org/ontology/jpost.owl#",icane:"http://www.icane.es/opendata/vocab#",wlo:"http://purl.org/ontology/wo/",mil:"http://rdf.muninn-project.org/ontologies/military#",lodac:"http://lod.ac/ns/lodac#",sdmxd:"http://purl.org/linked-data/sdmx/2009/dimension#",rdasoi:"http://rdaregistry.info/termList/statIdentification/",seq:"http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#",scoro:"http://purl.org/spar/scoro/",dqm:"http://purl.org/dqm-vocabulary/v1/dqm#",nerd:"http://nerd.eurecom.fr/ontology#",gl:"http://schema.geolink.org/",rdarel:"http://rdvocab.info/RDARelationshipsWEMI/",disease:"http://www.agfa.com/w3c/2009/humanDisorder#",qvoc:"http://mlode.nlp2rdf.org/quranvocab#",odrs:"http://schema.theodi.org/odrs#",finlaw:"http://purl.org/finlex/schema/laki/",exo:"https://w3id.org/example#",mv:"http://schema.mobivoc.org/",oss:"http://opendata.caceres.es/def/ontosemanasanta#",kbv:"https://id.kb.se/vocab/",dcs:"http://ontologi.es/doap-changeset#",delta:"http://www.w3.org/2004/delta#",xapi:"https://w3id.org/xapi/ontology#",tw:"http://tw.rpi.edu/schema/",holding:"http://purl.org/ontology/holding#",biro:"http://purl.org/spar/biro/",ctorg:"http://purl.org/ctic/infraestructuras/organizacion#",li:"http://def.seegrid.csiro.au/isotc211/iso19115/2003/lineage#",twaapi:"http://purl.org/twc/vocab/aapi-schema#",accom:"http://purl.org/acco/ns#",oplcert:"http://www.openlinksw.com/schemas/cert#",onyx:"http://www.gsi.dit.upm.es/ontologies/onyx/ns#",eui:"http://institutions.publicdata.eu/#",xcql:"http://docs.oasis-open.org/ns/search-ws/xcql#",lsc:"http://linkedscience.org/lsc/ns#",auto:"http://auto.schema.org/",infor:"http://www.ontologydesignpatterns.org/cp/owl/informationrealization.owl#",dbcat:"http://dbpedia.org/resource/Category:",osspr:"http://data.ordnancesurvey.co.uk/ontology/spatialrelations/",ll:"http://lodlaundromat.org/resource/",rdacontent:"http://rdvocab.info/termList/RDAContentType/",fam:"http://vocab.fusepool.info/fam#",swperson:"http://data.semanticweb.org/person/",esequip:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/equipamiento#",od:"http://purl.org/twc/vocab/opendap#",affymetrix:"http://bio2rdf.org/affymetrix_vocabulary:",vsws:"http://verticalsearchworks.com/ontology/synset#",coll:"http://purl.org/co/",cbo:"http://comicmeta.org/cbo/",mrel:"http://id.loc.gov/vocabulary/relators/",mb:"http://dbtune.org/musicbrainz/resource/instrument/",raul:"http://vocab.deri.ie/raul#",onssprel:"http://www.ordnancesurvey.co.uk/ontology/SpatialRelations/v0.2/SpatialRelations.owl#",tsioc:"http://rdfs.org/sioc/types#",wb:"http://data.worldbank.org/",gawd:"http://gawd.atlantides.org/terms/",stats:"http://purl.org/rdfstats/stats#",pnc:"http://data.press.net/ontology/classification/",npgx:"http://ns.nature.com/extensions/",dash:"http://datashapes.org/dash#",osgeom:"http://data.ordnancesurvey.co.uk/ontology/geometry/",emoca:"http://ns.inria.fr/emoca#",ogc:"http://www.opengis.net/def/",fao:"http://fao.270a.info/dataset/",tao:"http://pubannotation.org/ontology/tao.owl#",dogont:"http://elite.polito.it/ontologies/dogont.owl#",drm:"http://vocab.data.gov/def/drm#",app:"http://jmvanel.free.fr/ontology/software_applications.n3#",call:"http://webofcode.org/wfn/call:",lsmap:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-data.owl#",pnt:"http://data.press.net/ontology/tag/",mvco:"http://purl.oclc.org/NET/mvco.owl#",geocontext:"http://www.geocontext.org/publ/2013/vocab#",dbpr:"http://dbpedia.org/resource/",esaloj:"http://vocab.linkeddata.es/datosabiertos/def/turismo/alojamiento#",elec:"http://purl.org/ctic/sector-publico/elecciones#",lcy:"http://purl.org/vocab/lifecycle/schema#",water:"http://escience.rpi.edu/ontology/semanteco/2/0/water.owl#",nidm:"http://nidm.nidash.org/",vapour:"http://vapour.sourceforge.net/vocab.rdf#",xrd:"http://docs.oasis-open.org/ns/xri/xrd-1.0#",rdacct:"http://rdaregistry.info/termList/CollTitle/",wn31:"http://wordnet-rdf.princeton.edu/wn31/",llo:"http://lodlaundromat.org/ontology/",bgt:"https://bgt.basisregistraties.overheid.nl/bgt/def/",oml:"http://def.seegrid.csiro.au/ontology/om/om-lite#",stories:"http://purl.org/ontology/stories/",pni:"http://data.press.net/ontology/identifier/",gadm:"http://gadm.geovocab.org/ontology#",pois:"http://purl.oclc.org/POIS/vcblr#",bwb:"http://doc.metalex.eu/bwb/ontology/",dbtont:"http://dbtropes.org/ont/",sg:"http://name.scigraph.com/ontologies/core/",graffle:"http://purl.org/twc/vocab/vsr/graffle#",ox:"http://vocab.ox.ac.uk/projectfunding#",isocat:"http://www.isocat.org/datcat/",seokoeln:"http://rankrage.de/",particip:"http://purl.org/vocab/participation/schema#",allot:"https://w3id.org/akn/ontology/allot#",rdami:"http://rdaregistry.info/termList/modeIssue/",viskov:"http://trust.utep.edu/visko/ontology/visko-view-v3.owl#",dcite:"http://purl.org/spar/datacite/",pvcs:"http://purl.org/twc/vocab/pvcs#",evident:"http://purl.org/net/evident#",doi:"https://doi.org/",saif:"http://wwwiti.cs.uni-magdeburg.de/~srahman/",brick:"https://brickschema.org/schema/Brick#",odapp:"http://vocab.deri.ie/odapp#",snarm:"http://rdf.myexperiment.org/ontologies/snarm/",viso:"http://purl.org/viso/",pingback:"http://purl.org/net/pingback/",s3db:"http://www.s3db.org/core#",deps:"http://ontologi.es/doap-deps#",frb:"http://frb.270a.info/dataset/",mt:"http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",cbase:"http://ontologycentral.com/2010/05/cb/vocab#",kees:"http://linkeddata.center/kees/v1#",pic:"http://www.ipaw.info/ns/picaso#",ramon:"http://rdfdata.eionet.europa.eu/ramon/ontology/",scip:"http://lod.taxonconcept.org/ontology/sci_people.owl#",ev:"http://www.w3.org/2001/xml-events/",swo:"http://www.ebi.ac.uk/swo/",fincaselaw:"http://purl.org/finlex/schema/oikeus/",biotop:"http://purl.org/biotop/biotop.owl#",oh:"http://semweb.mmlab.be/ns/oh#",ostop:"http://www.ordnancesurvey.co.uk/ontology/Topography/v0.1/Topography.owl#",ncit:"https://ncit.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI_Thesaurus&ns=ncit&code=",spfood:"http://kmi.open.ac.uk/projects/smartproducts/ontologies/food.owl#",voidp:"http://www.enakting.org/provenance/voidp/",quty:"http://www.telegraphis.net/ontology/measurement/quantity#",c9d:"http://purl.org/twc/vocab/conversion/",viskoo:"http://trust.utep.edu/visko/ontology/visko-operator-v3.owl#",eunis:"http://eunis.eea.europa.eu/rdf/species-schema.rdf#",fcp:"http://www.newmedialab.at/fcp/",dcoid:"http://dx.deepcarbon.net/",d2d:"http://rdfns.org/d2d/",vag:"http://www.essepuntato.it/2013/10/vagueness/",w3po:"http://purl.org/provenance/w3p/w3po#",rdatc:"http://rdaregistry.info/termList/trackConfig/",vvo:"http://purl.org/vvo/ns#",prviv:"http://purl.org/net/provenance/integrity#",rdl:"http://data.posccaesar.org/rdl/",bco:"http://purl.obolibrary.org/obo/bco.owl#",mmf:"http://linkedmultimedia.org/sparql-mm/ns/1.0.0/function#",rvdata:"http://data.rvdata.us/",bner:"http://datos.bne.es/resource/",lexcz:"http://purl.org/lex/cz#",rdagw:"http://rdaregistry.info/termList/grooveWidth/",olad:"http://openlad.org/vocab#",origins:"http://origins.link/",rdagd:"http://rdaregistry.info/termList/gender/",bgdbp:"http://bg.dbpedia.org/property/",geosp:"http://rdf.geospecies.org/ont/geospecies#",driver:"http://deductions.github.io/drivers.owl.ttl#",fcs:"http://clarin.eu/fcs/resource#",im:"http://imgpedia.dcc.uchile.cl/resource/",saws:"http://purl.org/saws/ontology#",tg:"https://triplydb.com/Triply/tg/def/",company:"http://intellimind.io/ns/company#",lden:"http://www.linklion.org/lden/",swpatho:"http://swpatho.ag-nbi.de/context/meta.owl#",cmdm:"http://infra.clarin.eu/cmd/",vdpp:"http://data.lirmm.fr/ontologies/vdpp#",vsw:"http://verticalsearchworks.com/ontology/",lingvo:"http://www.lingvoj.org/ontology#",waarde:"https://lod.milieuinfo.be/ns/waarde#",tis:"http://www.ontologydesignpatterns.org/cp/owl/timeindexedsituation.owl#",gnvc:"http://purl.org/gc/",odpart:"http://www.ontologydesignpatterns.org/cp/owl/participation.owl#",agr:"http://promsns.org/def/agr#",pkm:"http://www.ontotext.com/proton/protonkm#",radion:"http://www.w3.org/ns/radion#",ntag:"http://ns.inria.fr/nicetag/2010/09/09/voc#",gpml:"http://vocabularies.wikipathways.org/gpml#",agrd:"http://agrinepaldata.com/",vartrans:"http://www.w3.org/ns/lemon/vartrans#",rdarole:"http://rdvocab.info/roles/",vext:"http://ldf.fi/void-ext#",lexvo:"http://lexvo.org/ontology#",aws:"http://purl.oclc.org/NET/ssnx/meteo/aws#",agls:"http://www.agls.gov.au/agls/terms/",rdai:"http://rdaregistry.info/Elements/i/",dao:"http://purl.org/dao#",lsweb:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-data.owl#",employee:"http://www.employee.com/data#",lw:"http://linkedwidgets.org/ontologies/",npdv:"http://sws.ifi.uio.no/vocab/npd#",dbptmpl:"http://dbpedia.org/resource/Template:",oae:"http://www.ics.forth.gr/isl/oae/core#",gcis:"http://data.globalchange.gov/gcis.owl#",friends:"http://www.openarchives.org/OAI/2.0/friends/",mtlo:"http://www.ics.forth.gr/isl/MarineTLO/v4/marinetlo.owl#",rdabm:"http://rdaregistry.info/termList/RDABaseMaterial/",cwrc:"http://sparql.cwrc.ca/ontology/cwrc#",ontopic:"http://www.ontologydesignpatterns.org/ont/dul/ontopic.owl#",fire:"http://tldp.org/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-java.html#",situ:"http://www.ontologydesignpatterns.org/cp/owl/situation.owl#",frsad:"http://iflastandards.info/ns/fr/frsad/",activity:"https://www.w3.org/TR/activitystreams-vocabulary/",ordf:"http://purl.org/NET/ordf/",beth:"http://www.google.com/",roevo:"http://purl.org/wf4ever/roevo#",lmm1:"http://www.ontologydesignpatterns.org/ont/lmm/LMM_L1.owl#",vrank:"http://purl.org/voc/vrank#",orth:"http://purl.org/net/orth#",bot:"https://w3id.org/bot#",lmdb:"http://data.linkedmdb.org/",galaksiya:"http://ontoloji.galaksiya.com/vocab/",bioc:"http://deductions.github.io/biological-collections.owl.ttl#",csp:"http://vocab.deri.ie/csp#",gm:"http://def.seegrid.csiro.au/isotc211/iso19107/2003/geometry#",vmm:"http://spi-fm.uca.es/spdef/models/genericTools/vmm/1.0#",wikim:"http://spi-fm.uca.es/spdef/models/genericTools/wikim/1.0#",lpeu:"http://purl.org/linkedpolitics/vocabulary/eu/plenary/",bcngeo:"http://datos.bcn.cl/ontologies/bcn-geographics#",oplprod:"http://www.openlinksw.com/ontology/products#",salad:"https://w3id.org/cwl/salad#",scufl2:"http://ns.taverna.org.uk/2010/scufl2#",opengov:"http://www.w3.org/opengov#",ldvm:"http://linked.opendata.cz/ontology/ldvm/",uis:"http://uis.270a.info/dataset/",wf4ever:"http://purl.org/wf4ever/wf4ever#",ftcontent:"http://www.ft.com/ontology/content/",mammal:"http://lod.taxonconcept.org/ontology/p01/Mammalia/index.owl#",wfn:"http://webofcode.org/wfn/",opmo:"http://openprovenance.org/model/opmo#",being:"http://purl.org/ontomedia/ext/common/being#",bbcprov:"http://www.bbc.co.uk/ontologies/provenance/",ids:"https://w3id.org/idsa/core/",d0:"http://ontologydesignpatterns.org/ont/wikipedia/d0.owl#",mod:"http://www.isibang.ac.in/ns/mod#",pcdt:"http://purl.org/procurement/public-contracts-datatypes#",language:"http://id.loc.gov/vocabulary/iso639-1/",pproc:"http://contsem.unizar.es/def/sector-publico/pproc#",passim:"http://data.lirmm.fr/ontologies/passim#",rlnr:"http://rdflivenews.aksw.org/resource/",tddo:"http://databugger.aksw.org/ns/core#",bnf:"http://www.w3.org/2000/10/swap/grammar/bnf#",frbrer:"http://iflastandards.info/ns/fr/frbr/frbrer/",wn20:"http://www.w3.org/2006/03/wn/wn20/",lsd:"http://linkedwidgets.org/statisticaldata/ontology/",s4envi:"https://w3id.org/def/saref4envi#",crml:"http://semweb.mmlab.be/ns/rml/condition#",lmo:"http://linkedmultimedia.org/sparql-mm/ns/2.0.0/ontology#",ws:"http://www.w3.org/ns/pim/space#",samfl:"http://def.seegrid.csiro.au/ontology/om/sam-lite#",eurostat:"http://wifo5-04.informatik.uni-mannheim.de/eurostat/resource/eurostat/",foam:"https://www.koerperfettwaage-test.de/",ogbd:"http://www.ogbd.fr/2012/ontologie#",cjr:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/callejero#",lsqv:"http://lsq.aksw.org/vocab#",graves:"http://rdf.muninn-project.org/ontologies/graves#",static:"http://vocab-ld.org/vocab/static-ld#",fog:"https://w3id.org/fog#",geos:"http://www.telegraphis.net/ontology/geography/geography#",limoo:"http://purl.org/LiMo/0.1/",contsem:"http://contsem.unizar.es/def/sector-publico/contratacion#",pwo:"http://purl.org/spar/pwo/",swpm:"http://spi-fm.uca.es/spdef/models/deployment/swpm/1.0#",edgar:"http://edgarwrap.ontologycentral.com/vocab/edgar#",pco:"http://purl.org/procurement/public-contracts#",sct:"http://snomed.info/id/",roterms:"http://purl.org/wf4ever/roterms#",imf:"http://imf.270a.info/dataset/",dq:"http://def.seegrid.csiro.au/isotc211/iso19115/2003/dataquality#",citof:"http://www.essepuntato.it/2013/03/cito-functions#",phdd:"http://rdf-vocabulary.ddialliance.org/phdd#",bgdbr:"http://bg.dbpedia.org/resource/",asgv:"http://aims.fao.org/aos/agrovoc/",lmm2:"http://www.ontologydesignpatterns.org/ont/lmm/LMM_L2.owl#",step:"http://purl.org/net/step#",locwd:"http://purl.org/locwd/schema#",babelnet:"http://babelnet.org/2.0/",qb4o:"http://purl.org/olap#",lda:"http://purl.org/linked-data/api/vocab#",hico:"http://purl.org/emmedi/hico/",rdact:"http://rdaregistry.info/termList/RDACarrierType/",r4ta:"http://ns.inria.fr/ratio4ta/v1#",trig:"http://www.w3.org/2004/03/trix/rdfg-1/",text:"http://jena.apache.org/text#",form:"http://deductions-software.com/ontologies/forms.owl.ttl#",rdafrbr:"http://rdvocab.info/uri/schema/FRBRentitiesRDA/",omdoc:"http://omdoc.org/ontology/",hto:"http://project-haystack.org/hto#",acrt:"http://privatealpha.com/ontology/certification/1#",olca:"http://www.lingvoj.org/olca#",rut:"http://rdfunit.aksw.org/ns/core#",amalgame:"http://purl.org/vocabularies/amalgame#",rdagrp:"http://rdaregistry.info/termList/groovePitch/",jolux:"http://data.legilux.public.lu/resource/ontology/jolux#",csv:"http://vocab.sindice.net/csv/",merge:"http://jazz.net/ns/lqe/merge/",condition:"http://www.kinjal.com/condition:",mds:"http://doc.metalex.eu/id/",pmd:"https://w3id.org/pmd/co/",lexicon:"http://www.example.org/lexicon#",hlygt:"http://www.holygoat.co.uk/owl/redwood/0.1/tags/",jjd:"http://www.joshuajeeson.com/",osadm:"http://data.ordnancesurvey.co.uk/ontology/admingeo/",rdf123:"http://rdf123.umbc.edu/ns/",gci:"http://ontology.eil.utoronto.ca/GCI/Foundation/GCI-Foundation.owl#",infection:"http://www.agfa.com/w3c/2009/infectiousDisorder#",laabs:"http://dbpedia.org/resource/",location:"http://sw.deri.org/2006/07/location/loc#",gaf:"http://groundedannotationframework.org/",pkgsrc:"http://pkgsrc.co/schema#",dbrc:"http://dbpedia.org/resource/Category:",bis:"http://bis.270a.info/dataset/",locah:"http://data.archiveshub.ac.uk/def/",prof:"http://www.w3.org/ns/dx/prof/",odv:"http://reference.data.gov.uk/def/organogram/",msm:"http://iserve.kmi.open.ac.uk/ns/msm#",lcdr:"http://ns.lucid-project.org/revision/",topo:"http://data.ign.fr/def/topo#",year:"http://www.w3.org/year/",mocanal:"http://www.semanticweb.org/asow/ontologies/2013/9/untitled-ontology-36#",oecc:"http://www.oegov.org/core/owl/cc#",dot:"https://w3id.org/dot#",limo:"http://www.purl.org/limo-ontology/limo#",owlse:"http://www.daml.org/services/owl-s/1.2/generic/Expression.owl#",tm:"http://def.seegrid.csiro.au/isotc211/iso19108/2002/temporal#",escom:"http://vocab.linkeddata.es/datosabiertos/def/comercio/tejidoComercial#",incident:"http://vocab.resc.info/incident#",gt:"https://vocab.eccenca.com/geniustex/",pair:"http://virtual-assembly.org/ontologies/pair#",sto:"https://w3id.org/i40/sto#",llm:"http://lodlaundromat.org/metrics/ontology/",gnm:"http://www.geonames.org/ontology/mappings/",obeu:"http://data.openbudgets.eu/ontology/",reegle:"http://reegle.info/schema#",regorg:"http://www.w3.org/ns/regorg#",aktivesa:"http://sa.aktivespace.org/ontologies/aktivesa#",pmc:"http://identifiers.org/pmc/",airs:"https://raw.githubusercontent.com/airs-linked-data/lov/latest/src/airs_vocabulary.ttl#",odbc:"http://www.openlinksw.com/ontology/odbc#",ceterms:"http://purl.org/ctdl/terms/",crowd:"http://purl.org/crowd/",nxs:"http://www.neclimateus.org/",dio:"https://w3id.org/dio#",rdarm:"http://registry.info/termList/recMedium/",rdafs:"http://rdaregistry.info/termList/fontSize/",sx:"http://shex.io/ns/shex#",zr:"http://explain.z3950.org/dtd/2.0/",rdarr:"http://rdaregistry.info/termList/RDAReductionRatio/",proms:"http://promsns.org/def/proms#",ecgl:"http://schema.geolink.org/",jp1:"http://rdf.muninn-project.org/ontologies/jp1/",uc:"http://ucuenca.edu.ec/ontology#",webservice:"http://www.openlinksw.com/ontology/webservices#",puml:"http://plantuml.com/ontology#",crsw:"http://courseware.rkbexplorer.com/ontologies/courseware#",genre:"http://sparql.cwrc.ca/ontologies/genre#",rdatr:"http://rdaregistry.info/termList/typeRec/",uta:"http://uptheasset.org/ontology#",sru:"http://www.loc.gov/zing/srw/",pv:"http://ns.inria.fr/provoc#",teamwork:"http://topbraid.org/teamwork#",geod:"http://vocab.lenka.no/geo-deling#",demlab:"http://www.demcare.eu/ontologies/demlab.owl#",bevon:"http://rdfs.co/bevon/",muldicat:"http://iflastandards.info/ns/muldicat#",ou:"http://opendata.unex.es/def/ontouniversidad#",olac:"http://www.language-archives.org/OLAC/1.0/",oplcb:"http://www.openlinksw.com/schemas/crunchbase#",ns1:"http://www.w3.org/1999/xhtml/vocab#",ontosec:"http://www.semanticweb.org/ontologies/2008/11/OntologySecurity.owl#",essglobal:"http://purl.org/essglobal/vocab/v1.0/",cpack:"http://cliopatria.swi-prolog.org/schema/cpack#",rdaco:"http://rdaregistry.info/termList/RDAContentType/",cd:"http://citydata.wu.ac.at/ns#",oprovo:"http://openprovenance.org/ontology#",defns:"http://www.openarchives.org/OAI/2.0/",voc:"http://voc.odw.tw/",rdaftn:"http://rdaregistry.info/termList/TacNotation/",mdi:"http://w3id.org/multidimensional-interface/ontology#",glview:"http://schema.geolink.org/dev/view/",omnfed:"http://open-multinet.info/ontology/omn-federation#",basic:"http://def.seegrid.csiro.au/isotc211/iso19103/2005/basic#",clirio:"http://clirio.kaerle.com/clirio.owl#",mml:"http://www.w3.org/1998/Math/MathML/",cmdi:"http://www.clarin.eu/cmd/",oplecrm:"http://www.openlinksw.com/ontology/ecrm#",ha:"http://sensormeasurement.appspot.com/ont/home/homeActivity#",keys:"http://purl.org/NET/c4dm/keys.owl#",lido:"http://www.lido-schema.org/",rdag2:"http://rdvocab.info/ElementsGr2/",eurlex:"http://eur-lex.publicdata.eu/ontology/",crime:"http://purl.org/vocab/reloc/",moo:"http://www.movieontology.org/2009/11/09/movieontology.owl#",soch:"http://kulturarvsdata.se/ksamsok#",maso:"http://securitytoolbox.appspot.com/MASO#",rdafmn:"http://rdaregistry.info/termList/MusNotation/",oplmkt:"http://www.openlinksw.com/ontology/market#",output:"http://volt-name.space/vocab/output#",erce:"http://xxefe.de/",ecglview:"http://schema.geolink.org/view/",roar:"https://w3id.org/roar#",lofv:"http://purl.org/legal_form/vocab#",plg:"http://parliament.uk/ontologies/legislation/",spdx:"http://spdx.org/rdf/terms#",mmt:"http://linkedmultimedia.org/sparql-mm/functions/temporal#",espresup:"http://vocab.linkeddata.es/datosabiertos/def/hacienda/presupuestos#",bsym:"http://bsym.bloomberg.com/sym/",sylld:"http://www.semanticweb.org/syllabus/data/",rdacc:"http://rdaregistry.info/termList/RDAColourContent/",caplibacl:"http://schemas.capita-libraries.co.uk/2015/acl/schema#",ppn:"http://parliament.uk/ontologies/person-name/",kegg:"http://bio2rdf.org/ns/kegg#",vstoi:"http://hadatac.org/ont/vstoi#",vcard2006:"http://www.w3.org/2006/vcard/ns#",gq:"http://genomequest.com/",owsom:"https://onlinesocialmeasures.wordpress.com/",ali:"http://www.niso.org/schemas/ali/1.0/",rdag1:"http://rdvocab.info/Elements/",rdaterm:"http://rdaregistry.info/termList/RDATerms/",gts:"http://resource.geosciml.org/ontology/timescale/gts#",rdasco:"http://rdaregistry.info/termList/soundCont/",fnabox:"http://www.ontologydesignpatterns.org/ont/framenet/abox/",ttp:"http://eample.com/test#",esadm:"http://vocab.linkeddata.es/datosabiertos/def/sector-publico/territorio#",dsn:"http://purl.org/dsnotify/vocab/eventset/",rofch:"http://rdaregistry.info/termList/rofch/",td5:"http://td5.org/#",organ:"http://www.univalle.edu.co/ontologies/Organ#",nlon:"http://lod.nl.go.kr/ontology/",tsn:"http://purl.org/net/tsn#",eem:"http://purl.org/eem#",rofem:"http://rdaregistry.info/termList/rofem/",eccauth:"https://vocab.eccenca.com/auth/",task:"http://deductions.github.io/task-management.owl.ttl#",iana:"http://www.iana.org/assignments/relation/",kml:"http://www.opengis.net/kml/2.2#",door:"http://kannel.open.ac.uk/ontology#",ruto:"http://rdfunit.aksw.org/ns/core#",hr:"http://iserve.kmi.open.ac.uk/ns/hrests#",jpost:"http://rdf.jpostdb.org/ontology/jpost.owl#",logies:"https://data.vlaanderen.be/ns/logies#",ubiq:"http://server.ubiqore.com/ubiq/core#",eccrev:"https://vocab.eccenca.com/revision/",oplweb:"http://www.openlinksw.com/schemas/oplweb#",dcx:"http://dublincore.org/dcx/",rofer:"http://rdaregistry.info/termList/rofer/",navm:"https://w3id.org/navigation_menu#",sakthi:"http://infotech.nitk.ac.in/research-scholars/sakthi-murugan-r/",ssno:"http://www.w3.org/ns/ssn/",rvz:"http://rdfvizler.dyreriket.xyz/vocabulary/core#",lslife:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-lifemapper.owl#",diag:"http://www.loc.gov/zing/srw/diagnostic/",oxi:"http://omerxi.com/ontologies/core.owl.ttl#",datex:"http://vocab.datex.org/terms#",pato:"http://purl.obolibrary.org/obo/",lawd:"http://lawd.info/ontology/",newsevents:"http://www.aifb.uni-karlsruhe.de/WBS/uhe/ontologies#",agrovoc:"http://aims.fao.org/aos/agrovoc/",cdao:"http://purl.obolibrary.org/obo/",bb:"http://www.snik.eu/ontology/bb/",sdt:"http://statisticaldata.linkedwidgets.org/terms/",led:"http://led.kmi.open.ac.uk/term/",lmx:"http://www.w3.org/XML/1998/namespace/",mmoon:"http://mmoon.org/mmoon/",munc:"http://ns.inria.fr/munc#",fuseki:"http://jena.apache.org/fuseki#",studiop:"http://purl.org/resource/pilatesstudio/",fntbox:"http://www.ontologydesignpatterns.org/ont/framenet/tbox/",tix:"http://toptix.com/2010/esro/",geojson:"https://purl.org/geojson/vocab#",hva:"http://www.ebusiness-unibw.org/ontologies/hva/ontology#",lheo:"http://www.conjecto.com/ontology/2015/lheo#",fr:"https://w3id.org/fr/def/core#",mexv:"http://mex.aksw.org/mex-algo#",ldl:"https://w3id.org/ldpdl/ns#",ruian:"https://data.cssz.cz/ontology/ruian/",esapar:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/aparcamiento#",rdapmt:"http://rdaregistry.info/termList/prodTactile/",csdbp:"http://cs.dbpedia.org/",onisep:"http://rdf.onisep.fr/resource/",efrbroo:"http://erlangen-crm.org/efrbroo/",literal:"http://www.essepuntato.it/2010/06/literalreification/",figigii:"http://www.omg.org/spec/FIGI/GlobalInstrumentIdentifiers/",tb:"https://w3id.org/timebank#",spcm:"http://spi-fm.uca.es/spdef/models/deployment/spcm/1.0#",vidont:"http://vidont.org/",oplres:"http://www.openlinksw.com/ontology/restrictions#",sirene:"https://sireneld.io/vocab/sirene#",rdaemm:"http://rdaregistry.info/termList/emulsionMicro/",fdbp:"http://fr.dbpedia.org/property/",cwl:"https://w3id.org/cwl/cwl#",voidext:"http://rdfs.org/ns/void-ext#",whisky:"http://vocab.org/whisky/terms/",rdag3:"http://rdvocab.info/ElementsGr3/",sgg:"http://www.springernature.com/scigraph/graphs/",planet:"http://dbpedia.org/",lswpm:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-lifemapper-parameters.owl#",webac:"http://fedora.info/definitions/v4/webac#",bbccore:"http://www.bbc.co.uk/ontologies/coreconcepts/",orcid:"http://orcid.org/",oils:"http://lemon-model.net/oils#",hello:"https://www.youtube.com/user/SuperTellAFriend/featured/",ago:"http://awesemantic-geo.link/ontology/",pid:"http://permid.org/ontology/organization/",owl2xml:"http://www.w3.org/2006/12/owl2-xml#",traffic:"http://www.sensormeasurement.appspot.com/ont/transport/traffic#",lswmo:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-modelling.owl#",dbug:"http://ontologi.es/doap-bugs#",roadmap:"http://mappings.roadmap.org/",umls:"http://bioportal.bioontology.org/ontologies/umls/",gdc:"https://portal.gdc.cancer.gov/cases/",ldt:"https://www.w3.org/ns/ldt#",faostat:"http://reference.eionet.europa.eu/faostat/schema/",open311:"http://ontology.eil.utoronto.ca/open311#",rdfdata:"http://rdf.data-vocabulary.org/rdf.xml#",dicom:"http://purl.org/healthcarevocab/v1#",videogame:"http://purl.org/net/vgo#",vogd:"http://ogd.ifs.tuwien.ac.at/vienna/geo/",bibrm:"http://vocab.ub.uni-leipzig.de/bibrm/",oliasystem:"http://purl.org/olia/system.owl#",physo:"http://merlin.phys.uni.lodz.pl/onto/physo/physo.owl#",radar:"http://www.radar-projekt.org/display/",tui:"http://data.ifs.tuwien.ac.at/study/resource/",apf:"http://jena.apache.org/ARQ/property#",customer:"http://www.valuelabs.com/",yd:"https://yodata.io/",conll:"http://ufal.mff.cuni.cz/conll2009-st/task-description.html#",si:"http://sisteminformasi.com/",mbgd:"http://mbgd.genome.ad.jp/owl/mbgd.owl#",meeting:"http://www.w3.org/2002/07/meeting#",aprov:"http://purl.org/a-proc#",rofrr:"http://rdaregistry.info/termList/rofrr/",pp:"http://peoplesplaces.de/ontology#",escjr:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/callejero#",ndnp:"http://chroniclingamerica.loc.gov/terms#",ja:"http://jena.hpl.hp.com/2005/11/Assembler#",jerm:"http://jermontology.org/ontology/JERMOntology#",vocnet:"http://schema.vocnet.org/",iati:"http://purl.org/collections/iati/",bbccms:"http://www.bbc.co.uk/ontologies/cms/",url:"http://schema.org/",mls:"http://www.w3.org/ns/mls#",rdaz:"http://rdaregistry.info/Elements/z/",eccdi:"https://vocab.eccenca.com/di/",cpov:"http://data.europa.eu/m8g/",uom:"http://www.opengis.net/def/uom/OGC/1.0/",rdabf:"http://rdaregistry.info/termList/bookFormat/",bpo:"https://w3id.org/bpo#",memento:"http://mementoweb.org/ns#",doacc:"http://purl.org/net/bel-epa/doacc#",religion:"http://rdf.muninn-project.org/ontologies/religion#",itm:"http://spi-fm.uca.es/spdef/models/genericTools/itm/1.0#",hdo:"http://www.samos.gr/ontologies/helpdeskOnto.owl#",omg:"https://w3id.org/omg#",gg:"http://www.gemeentegeschiedenis.nl/gg-schema#",lemonuby:"http://lemon-model.net/lexica/uby/",afr:"http://purl.allotrope.org/ontologies/result#",glycan:"http://purl.jp/bio/12/glyco/glycan#",fred:"http://www.ontologydesignpatterns.org/ont/fred/domain.owl#",scco:"http://rdf.ebi.ac.uk/terms/surechembl#",nobel:"http://data.nobelprize.org/terms/",ensembl:"http://rdf.ebi.ac.uk/resource/ensembl/",cim:"http://iec.ch/TC57/2013/CIM-schema-cim16#",ln:"https://w3id.org/ln#",sfd:"http://semantic-forms.cc:9112/ldp/",numbers:"http://km.aifb.kit.edu/projects/numbers/",dicera:"http://semweb.mmlab.be/ns/dicera#",wimpo:"http://rdfex.org/withImports?uri=",reg:"http://purl.org/linked-data/registry#",lfov:"https://w3id.org/legal_form#",gns:"http://sws.geonames.org/",esair:"http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#",cocoon:"https://w3id.org/cocoon/v1.0#",r3d:"http://www.re3data.org/schema/3-0#",pdf:"http://ns.adobe.com/pdf/1.3/",rpath:"https://w3id.org/lodsight/rdf-path#",ethc:"http://ethoinformatics.org/ethocore/",cbim:"http://www.coinsweb.nl/cbim-2.0.rdf#",amt:"http://academic-meta-tool.xyz/vocab#",dpn:"http://purl.org/dpn#",ofrd:"http://purl.org/opdm/refrigerator#",lgdm:"http://linkedgeodata.org/meta/",its:"http://www.w3.org/2005/11/its/rdf#",gont:"https://gont.ch/",frgeo:"http://rdf.insee.fr/geo/",volt:"http://volt-name.space/ontology/",ioto:"http://www.irit.fr/recherches/MELODI/ontologies/IoT-O#",rdalay:"http://rdaregistry.info/termList/layout/",yaco:"https://www.irit.fr/recherches/MELODI/ontologies/cinema#",lmf:"http://www.lexinfo.net/lmf#",rdaar:"http://rdaregistry.info/termList/AspectRatio/",pep:"https://w3id.org/pep/",dataid:"http://dataid.dbpedia.org/ns/core#",rdacarx:"http://rdaregistry.info/termList/RDACarrierEU/",fp3:"http://vocab.fusepool.info/fp3#",esservicio:"http://vocab.linkeddata.es/datosabiertos/def/sector-publico/servicio#",tx:"http://swtmp.gitlab.io/vocabulary/templates.owl#",datacite:"http://purl.org/spar/datacite/",markus:"http://www.markus.com/",cue:"http://www.clarin.eu/cmdi/cues/display/1.0#",odapps:"http://semweb.mmlab.be/ns/odapps#",llont:"http://www.linklion.org/ontology#",audit:"http://fedora.info/definitions/v4/audit#",biml:"http://schemas.varigence.com/biml.xsd#",seeds:"http://deductions.github.io/seeds.owl.ttl#",pmo:"http://premon.fbk.eu/ontology/core#",amsl:"http://vocab.ub.uni-leipzig.de/amsl/",provinsi:"http://provinsi.com/",ttla:"https://w3id.org/ttla/",mexcore:"http://mex.aksw.org/mex-core#",opa:"https://w3id.org/laas-iot/adream#",imo:"http://imgpedia.dcc.uchile.cl/ontology#",eame:"http://www.semanticweb.org/ontologia_EA#",opllog:"http://www.openlinksw.com/ontology/logging#",ver:"https://w3id.org/version/ontology#",add:"http://www.datatourisme.fr/ontology/core/1.0#",alethio:"http://aleth.io/",rofsm:"http://rdaregistry.info/termList/rofsm/",h2o:"http://def.seegrid.csiro.au/isotc211/iso19150/-2/2012/basic#",tree:"https://w3id.org/tree#",huto:"http://ns.inria.fr/huto/",svcs:"http://rdfs.org/sioc/services#",piero:"http://reactionontology.org/piero/",bdo:"http://purl.bdrc.io/ontology/core/",vir:"http://w3id.org/vir#",um:"http://intelleo.eu/ontologies/user-model/ns/",da:"https://www.wowman.org/index.php?id=1&type=get#",uby:"http://purl.org/olia/ubyCat.owl#",lyon:"http://dbpedia.org/resource/Lyon/",naval:"http://rdf.muninn-project.org/ontologies/naval#",system:"http://www.univalle.edu.co/ontologies/System#",vplan:"http://www.ifs.tuwien.ac.at/~miksa/ontologies/VPlan.owl#",az:"https://w3id.org/people/az/",dk:"http://www.data-knowledge.org/dk/schema/rdf/latest/",cwork:"http://www.bbc.co.uk/ontologies/creativework/",wde:"http://www.wikidata.org/entity/",lovc:"https://w3id.org/lovcube/ns/lovcube#",geovoid:"http://purl.org/geovocamp/ontology/geovoid/",composer:"http://dbpedia.org/ontology/composer/",tadirah:"http://tadirah.dariah.eu/vocab/",travel:"http://www.co-ode.org/roberts/travel.owl#",imind:"http://schema.intellimind.ns/symbology#",afm:"http://purl.allotrope.org/ontologies/material/",eepsa:"https://w3id.org/eepsa#",owms:"http://standaarden.overheid.nl/owms/terms/",bdc:"http://dbpedia.org/resource/Category:",minim:"http://purl.org/minim/minim#",frappe:"http://streamreasoning.org/ontologies/frappe#",rofid:"http://rdaregistry.info/termList/rofid/",rls:"https://w3id.org/lovcube/ns/relovstats#",b3kat:"http://lod.b3kat.de/title/",rdafnv:"http://rdaregistry.info/termList/noteForm/",uneskos:"http://purl.org/voc/uneskos#",sdshare:"http://www.sdshare.org/2012/extension/",vacseen1:"http://www.semanticweb.org/parthasb/ontologies/2014/6/vacseen1/",qms:"http://data.europa.eu/esco/qms#",koly:"http://www.ensias.ma/",l2sp:"http://www.linked2safety-project.eu/properties/",tgm:"http://id.loc.gov/vocabulary/graphicMaterials/",cwlprov:"https://w3id.org/cwl/prov#",rofin:"http://rdaregistry.info/termList/rofin/",rofit:"http://rdaregistry.info/termList/rofit/",eol:"http://purl.org/biodiversity/eol/",ecore:"http://www.eclipse.org/emf/2002/Ecore#",dpv:"http://www.w3.org/ns/dpv#",alice:"http://example.org/",rdapm:"http://rdaregistry.info/termList/RDAproductionMethod/",county:"http://myexample.org/county#",gbol:"http://gbol.life/0.1#",sdmxcode:"http://purl.org/linked-data/sdmx/2009/code#",ims:"http://www.imsglobal.org/xsd/imsmd_v1p2/",ecoll:"http://purl.org/ceu/eco/1.0#",pcit:"http://public-contracts.nexacenter.org/id/propertiesRole/",tarql:"http://tarql.github.io/tarql#",mydb:"http://mydb.org/",id:"http://identifiers.org/",scho:"http://www.scholarlydata.org/ontology/conference-ontology.owl#",duv:"http://www.w3.org/ns/duv#",oplacl:"http://www.openlinksw.com/ontology/acl#",mexalgo:"http://mex.aksw.org/mex-algo#",assoc:"https://w3id.org/associations/vocab#",fun:"http://w3id.org/sparql-generate/fn/",rofrt:"http://rdaregistry.info/termList/rofrt/",meshv:"http://id.nlm.nih.gov/mesh/vocab#",lgt:"http://linkedgadget.com/wiki/Property:",fhir:"http://hl7.org/fhir/",qkdv:"http://qudt.org/vocab/dimensionvector/",rgml:"http://purl.org/puninj/2001/05/rgml-schema#",hasneto:"http://hadatac.org/ont/hasneto#",vehma:"http://deductions.github.io/vehicule-management.owl.ttl#",rdaspc:"http://rdaregistry.info/termList/specPlayback/",conference:"https://w3id.org/scholarlydata/ontology/conference-ontology.owl#",swa:"http://topbraid.org/swa#",uri4uri:"http://uri4uri.net/vocab#",juso:"http://rdfs.co/juso/",bblfish:"http://bblfish.net/people/henry/card#",pmhb:"http://pmhb.org/",cpi:"http://www.ebusiness-unibw.org/ontologies/cpi/ns#",semiot:"http://w3id.org/semiot/ontologies/semiot#",dcosample:"http://info.deepcarbon.net/sample/schema#",mmm:"http://www.mico-project.eu/ns/mmm/2.0/schema#",irsteaont:"http://ontology.irstea.fr/weather/ontology#",yso:"http://www.yso.fi/onto/yso/",brk:"http://brk.basisregistraties.overheid.nl/def/brk#",rdaft:"http://rdaregistry.info/termList/fileType/",smxm:"http://smxm.ga/",mobivoc:"http://schema.mobivoc.org/",rdabs:"http://rdaregistry.info/termList/broadcastStand/",rvl:"http://purl.org/rvl/",ipsv:"http://id.esd.org.uk/list/",dsw:"http://purl.org/dsw/",iiif:"http://iiif.io/api/image/2#",odf:"http://docs.oasis-open.org/ns/office/1.2/meta/odf#",drk:"http://drakon.su/",itcat:"http://th-brandenburg.de/ns/itcat#",pmonb:"http://premon.fbk.eu/ontology/nb#",pmofn:"http://premon.fbk.eu/ontology/fn#",ilap:"http://data.posccaesar.org/ilap/",gvoith:"http://assemblee-virtuelle.github.io/grands-voisins-v2/thesaurus.ttl#",dead:"http://utpl.edu.ec/sbc/data/",adf:"http://purl.allotrope.org/ontologies/datapackage#",emergelm:"http://purl.org/emergel/modules#",mandaat:"http://data.vlaanderen.be/ns/mandaat#",sorg:"http://schema.org/",irstea:"http://ontology.irstea.fr/",dto:"http://www.datatourisme.fr/ontology/core/1.0#",maeco:"http://edg.topbraid.solutions/maeco/",rofrm:"http://rdaregistry.info/termList/rofrm/",dwciri:"http://rs.tdwg.org/dwc/iri/",alg:"http://drakon.su/ADF#",tosh:"http://topbraid.org/tosh#",shui:"https://vocab.eccenca.com/shui/",sdmxm:"http://purl.org/linked-data/sdmx/2009/measure#",neotec:"http://neotec.rc.unesp.br/resource/Neotectonics/",vam:"http://www.metmuseum.org/",lgdt:"http://linkedgeodata.org/triplify/",chear:"http://hadatac.org/ont/chear#",oplli:"http://www.openlinksw.com/schemas/linkedin#",besluit:"http://data.vlaanderen.be/ns/besluit#",srx:"http://www.w3.org/2005/sparql-results#",ondc:"http://www.semanticweb.org/ontologies/2012/1/Ontology1329913965202.owl#",tavprov:"http://ns.taverna.org.uk/2012/tavernaprov/",nkos:"http://w3id.org/nkos#",bds:"http://www.bigdata.com/rdf/search#",gobierno:"http://www.gobierno.es/gobierno/",persee:"http://data.persee.fr/ontology/persee_ontology/",dm2e:"http://onto.dm2e.eu/schemas/dm2e/",ctrl:"https://w3id.org/ibp/CTRLont#",sfn:"http://semweb.datasciencelab.be/ns/sfn#",or:"http://openresearch.org/vocab/",fluidops:"http://www.fluidops.com/",clapit:"http://dati.gov.it/onto/clapit/",nih:"http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#",one:"https://bioportal.bioontology.org/ontologies/ONE/",pfeepsa:"https://w3id.org/pfeepsa#",nature:"http://deductions.github.io/nature_observation.owl.ttl#",pm:"http://premon.fbk.eu/resource/",rofhf:"http://rdaregistry.info/termList/rofhf/",timex:"http://data.wu.ac.at/ns/timex#",summa:"http://purl.org/voc/summa/",wdtn:"http://www.wikidata.org/prop/direct-normalized/",ppr:"http://purl.org/datanode/ppr/ns/",vsearch:"http://vocab.sti2.at/vsearch#",undata:"http://citydata.wu.ac.at/Linked-UNData/data/",oplwebsrv:"http://www.openlinksw.com/ontology/webservices#",dbfo:"http://dbpedia.org/facts/ontology#",ncicp:"http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#",voidex:"http://www.swi-prolog.org/rdf/library/",esproc:"http://vocab.linkeddata.es/datosabiertos/def/sector-publico/procedimientos#",isbdu:"http://iflastandards.info/ns/isbd/unc/elements/",metadata:"http://purl.oreilly.com/ns/meta/",scholl:"http://menemeneml.com/school#",veo:"http://linkeddata.finki.ukim.mk/lod/ontology/veo#",olac11:"http://www.language-archives.org/OLAC/1.1/",mem:"http://mementoweb.org/ns#",pcdm:"http://pcdm.org/models#",rdfp:"https://w3id.org/rdfp/",edac:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-edac.owl#",legal:"http://www.w3.org/ns/legal#",sgfn:"http://w3id.org/sparql-generate/fn/",rdax:"http://rdaregistry.info/Elements/x/",cubeont:"http://ontology.cube.global/",input:"http://volt-name.space/vocab/input#",ctxdesc:"http://www.demcare.eu/ontologies/contextdescriptor.owl#",brt:"http://brt.basisregistraties.overheid.nl/def/top10nl#",osd:"http://a9.com/-/spec/opensearch/1.1/",ldn:"https://www.w3.org/TR/ldn/#",iter:"http://w3id.org/sparql-generate/iter/",semsur:"http://purl.org/SemSur/",lsq:"http://lsq.aksw.org/vocab#",oplbenefit:"http://www.openlinksw.com/ontology/benefits#",pmovn:"http://premon.fbk.eu/ontology/vn#",lmu:"https://w3id.org/laas-iot/lmu#",ispra:"http://dati.isprambiente.it/ontology/core#",rdapf:"http://rdaregistry.info/termList/presFormat/",cog:"http://purl.org/ontology/cco/core#",remetca:"http://www.purl.org/net/remetca#",mwapi:"https://www.mediawiki.org/ontology#API/",vocals:"http://w3id.org/rsp/vocals#",ucum:"http://purl.oclc.org/NET/muo/ucum/",pand:"http://bag.basisregistraties.overheid.nl/bag/id/pand/",geoloc:"http://deductions.github.io/geoloc.owl.ttl#",beer:"http://beer.com/",edg:"http://edg.topbraid.solutions/model/",refexo:"http://purl.jp/bio/01/refexo#",it:"http://www.influencetracker.com/ontology#",physics:"http://www.astro.umd.edu/~eshaya/astro-onto/owl/physics.owl#",wdv:"http://www.wikidata.org/value/",km4c:"http://www.disit.org/km4city/schema#",neotecbib:"http://neotec.rc.unesp.br/resource/NeotectonicsBibliography/",spv:"http://completeness.inf.unibz.it/sp-vocab#",edgarcik:"http://edgarwrap.ontologycentral.com/cik/",wail:"http://www.eyrie.org/~zednenem/2002/wail/",aozora:"http://purl.org/net/aozora/",sdmxc:"http://purl.org/linked-data/sdmx/2009/concept#",dcodt:"http://info.deepcarbon.net/datatype/schema#",swrc2:"https://www.cs.vu.nl/~mcaklein/onto/swrc_ext/2005/05#",fnom:"https://w3id.org/function/vocabulary/mapping#",bkb:"https://budayakb.cs.ui.ac.id/ns#",cff:"http://purl.oclc.org/NET/ssnx/cf/cf-feature#",roc:"https://w3id.org/ro/curate#",gdpr:"https://vocab.eccenca.com/gdpr/",rami:"http://iais.fraunhofer.de/vocabs/rami#",elod:"http://linkedeconomy.org/ontology#",nosql:"http://purl.org/db/nosql#",oplstocks:"http://www.openlinksw.com/ontology/stocks#",sgiter:"http://w3id.org/sparql-generate/iter/",bioentity:"http://bioentity.io/vocab/",dsv:"https://w3id.org/dsv#",asawoo:"http://liris.cnrs.fr/asawoo/",mus:"http://data.doremus.org/ontology#",cska:"http://pfclitex.com/",s4syst:"https://saref.etsi.org/saref4syst/",ido:"http://purl.obolibrary.org/obo/ido.owl#",provoc:"http://ns.inria.fr/provoc/",dsfv:"http://sws.ifi.uio.no/vocab/dsf/henriwi/dsf#",docker:"http://www.w3.org/ns/bde/docker/",ldqm:"http://linkeddata.es/resource/ldqm/",lg:"https://purl.org/lg/",isidore:"http://www.rechercheisidore.fr/class/",seo:"http://sda.tech/SEOontology/SEO/",changeset:"http://purl.org/vocab/changeset/schema#",dcap:"http://purl.org/ws-mmi-dc/terms/",eccpubsub:"https://vocab.eccenca.com/pubsub/",aml:"https://w3id.org/i40/aml#",swcomp:"https://github.com/ali1k/ld-reactor/blob/master/vocabulary/index.ttl#",connard:"https://mail.google.com/mail/u/1/#",dcodata:"http://info.deepcarbon.net/data/schema#",wikimedia:"http://upload.wikimedia.org/wikipedia/commons/f/f6/",rdacpc:"http://rdaregistry.info/termList/configPlayback/",rdaill:"http://rdaregistry.info/termList/IllusContent/",globalcube:"http://kalmar32.fzi.de/triples/global-cube.ttl#",devuan:"https://devuan.net.br/",ns2:"http://ogp.me/ns#video:",sdterms:"http://statisticaldata.linkedwidgets.org/terms/",dbms:"http://www.openlinksw.com/ontology/dbms-app-ontology#",edr:"https://w3id.org/laas-iot/edr#",loted:"http://loted.eu/ontology#",nno:"https://w3id.org/nno/ontology#",rm:"http://jazz.net/ns/rm#",ca:"http://complyadvantage.com/",wab:"http://wab.uib.no/cost-a32_philospace/wittgenstein.owl#",xslopm:"http://purl.org/net/opmv/types/xslt#",master1:"http://idl.u-grenoble3.fr/",number:"http://km.aifb.kit.edu/projects/numbers/number#",bld:"http://biglinkeddata.com/",d3s:"http://vocbench.solidaridad.cloud/taxonomies#",psv:"http://www.wikidata.org/prop/statement/value/",wsdl:"http://www.w3.org/ns/wsdl-rdf#",vort:"http://rockets.topbraid.solutions/vort/",iso37120:"http://ontology.eil.utoronto.ca/ISO37120.owl#",bdr:"http://purl.bdrc.io/resource/",bob:"http://good.dad/meaning/bob#",ldq:"http://www.linkeddata.es/ontology/ldq#",ifcowl:"http://www.buildingsmart-tech.org/ifcOWL/IFC4_ADD2#",rdare:"http://rdaregistry.info/termList/RDARegionalEncoding/",aseonto:"http://requirement.ase.ru/requirements_ontology#",meat:"http://example.com/",qbe:"http://citydata.wu.ac.at/qb-equations#",maet:"http://edg.topbraid.solutions/taxonomy/macroeconomics/",dby:"http://dbpedia.org/class/yago/",s4ee:"https://w3id.org/saref4ee#",unspsc:"http://ontoview.org/schema/unspsc/1#",efd:"http://data.foodanddrinkeurope.eu/ontology#",trao:"http://linkeddata.finki.ukim.mk/lod/ontology/tao#",rdagen:"http://rdaregistry.info/termList/RDAGeneration/",pbody:"http://reference.data.gov.uk/def/public-body/",aksw:"http://aksw.org/",otl:"https://w3id.org/opentrafficlights#",ontop:"https://w3id.org/ontop/",wn30:"http://purl.org/vocabularies/princeton/wn30/",spvqa:"https://bmake.th-brandenburg.de/spv#",rofim:"http://rdaregistry.info/termList/rofim/",w3cgeo:"http://www.w3.org/2003/01/geo/wgs84_pos#",eustd:"http://eurostat.linked-statistics.org/data#",rdavf:"http://rdaregistry.info/termList/videoFormat/",noise:"http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/contaminacion-acustica#",datacron:"http://www.datacron-project.eu/datAcron#",pop:"http://wiki.dbpedia.org/",rofsf:"http://rdaregistry.info/termList/rofsf/",geo7:"https://www.geo7.ch/",marcrole:"http://id.loc.gov/vocabulary/relators/",ksam:"http://kulturarvsdata.se/ksamsok#",geor:"http://www.opengis.net/def/rule/geosparql/",rfd:"http://com.intrinsec//ontology#",rdacdt:"http://rdaregistry.info/termList/RDACartoDT/",foaffff:"http://gogl.com/",imas:"https://sparql.crssnky.xyz/imasrdf/URIs/imas-schema.ttl#",tissue:"http://www.univalle.edu.co/ontologies/Tissue#",sohukd:"http://sweetontology.net/humanKnowledgeDomain/",halyard:"http://merck.github.io/Halyard/ns#",ul:"http://underlay.mit.edu/ns/",idot:"http://identifiers.org/idot/",sciprov:"http://sweetontology.net/reprSciProvenance/",ncbigene:"http://identifiers.org/ncbigene/",emergel:"http://purl.org/emergel/core#",apb:"http://www.analysispartners.org/businessmodel/",bsh:"https://brickschema.org/schema/1.1.0/BrickShape#",powla:"http://purl.org/powla/powla.owl#",ods:"http://lod.xdams.org/ontologies/ods/",atlasterms:"http://rdf.ebi.ac.uk/terms/atlas/",dnbt:"http://d-nb.info/standards/elementset/dnb#",estatwrap:"http://ontologycentral.com/2009/01/eurostat/ns#",llr:"http://lodlaundromat.org/resource/",phy:"https://w3id.org/skgo/phy#",obws:"http://delicias.dia.fi.upm.es/ontologies/ObjectWithStates.owl#",llalg:"http://www.linklion.org/algorithm/",esagen:"http://vocab.ciudadesabiertas.es/def/sector-publico/agenda-municipal#",rsctx:"http://softeng.polito.it/rsctx#",rico:"https://www.ica.org/standards/RiC/ontology#",goaf:"http://goaf.fr/goaf#",soma:"http://sweetontology.net/matr/",dpla:"http://dp.la/info/developers/map/",pmopb:"http://premon.fbk.eu/ontology/pb#",kmgeo:"http://km.aifb.kit.edu/services/geo/ontology#",crmeh:"http://purl.org/crmeh#",dm:"http://datamusee.givingsense.eu/onto/",fnml:"http://semweb.mmlab.be/ns/fnml#",ermrk:"http://www.essepuntato.it/2008/12/earmark#",eproc:"http://10.0.3.120/download/eproc_FORN_v02.owl#",bci:"https://w3id.org/BCI-ontology#",dgfr:"http://colin.maudry.com/ontologies/dgfr#",valueflows:"https://w3id.org/valueflows/",oop:"http://w3id.org/oop#",manto:"http://com.vortic3.MANTO/",r4r:"http://guava.iis.sinica.edu.tw/r4r/",modsci:"https://w3id.org/skgo/modsci#",rdaad:"http://rdaregistry.info/Elements/a/datatype/",decprov:"http://promsns.org/def/decprov#",scra:"http://purl.org/net/schemarama#",dqc:"http://semwebquality.org/ontologies/dq-constraints#",gvoi:"http://assemblee-virtuelle.github.io/grands-voisins-v2/gv.owl.ttl#",dcatnl:"http://standaarden.overheid.nl/dcatnl/terms/",oplangel:"http://www.openlinksw.com/schemas/angel#",loci:"http://linked.data.gov.au/def/loci#",daap:"http://daap.dsi.universite-paris-saclay.fr/wiki/",literature:"http://purl.org/net/cnyt-literature#",estatgph:"http://estatwrap.ontologycentral.com/id/nama_aux_gph#",ocds:"http://purl.org/onto-ocds/ocds#",fssp:"http://linkeddata.fssprus.ru/resource/",s3n:"http://w3id.org/s3n/",orgesv2:"http://datos.gob.es/sites/default/files/OntologiaDIR3/orges.owl#",oup:"http://purl.org/ontology-use-patterns#",cbb:"https://data.cbb.omgeving.vlaanderen.be/ns/cbb#",theme:"http://voc.odw.tw/theme/",estrf:"http://vocab.linkeddata.es/datosabiertos/def/transporte/trafico#",vss:"http://automotive.eurecom.fr/vsso#",rofet:"http://rdaregistry.info/termList/rofet/",imjv:"https://data.imjv.omgeving.vlaanderen.be/ns/imjv#",voidwh:"http://www.ics.forth.gr/isl/VoIDWarehouse/VoID_Extension_Schema.owl#",occ:"http://w3id.org/occ#",gmo:"http://purl.jp/bio/10/gmo/",ideotalex:"http://www.ideotalex.eu/datos/recurso/",nas:"https://data.nasa.gov/ontologies/atmonto/NAS#",xbrll:"https://w3id.org/vocab/xbrll#",ii:"http://sparql.cwrc.ca/ontologies/ii#",iotlite:"http://purl.oclc.org/NET/UNIS/fiware/iot-lite#",dmp:"http://www.sysresearch.org/rda-common-dmp#",rimmf:"http://rimmf.com/vocab/",ogdl4m:"https://github.com/martynui/OGDL4M/",odw:"http://odw.tw/",tikag:"https://www.tikag.com/",qk:"http://qudt.org/vocab/quantitykind/",somaoc:"http://sweetontology.net/matrOrganicCompound/",tsnchange:"http://purl.org/net/tsnchange#",crminf:"http://www.cidoc-crm.org/cidoc-crm/CRMinf/",prohow:"https://w3id.org/prohow#",hosp:"http://health.data.gov/def/hospital/",gdprov:"https://w3id.org/GDPRov#",lcsh:"http://id.loc.gov/authorities/subjects/",ecowlim:"http://ecowlim.tfri.gov.tw/lode/resource/",pham:"https://w3id.org/skgo/pham#",nrv:"http://ns.inria.fr/nrv#",gdprtext:"https://w3id.org/GDPRtEXT#",geofabric:"http://linked.data.gov.au/def/geofabric#",gnaf:"http://linked.data.gov.au/def/gnaf#",soproptg:"http://sweetontology.net/propTemperatureGradient/",snac:"http://socialarchive.iath.virginia.edu/",linkrel:"https://www.w3.org/ns/iana/link-relations/relation#",smartapi:"http://smart-api.io/ontology/1.0/smartapi#",ccp:"http://cookingbigdata.com/linkeddata/ccpricing#",oplp:"http://www.openlinksw.com/ontology/purchases#",terms:"http://purl.org/dc/terms/",yandex:"http://yandex.ru/",soreaa:"http://sweetontology.net/realmAtmo/",mexperf:"http://mex.aksw.org/mex-perf#",omnlc:"http://open-multinet.info/ontology/omn-lifecycle#",sfl:"http://data.finlex.fi/schema/sfl/",eproc2:"http://10.0.3.120/download/eproc_FORN_v04.owl#",fel:"http://w3id.org/vcb/fel#",isaterms:"http://purl.org/isaterms/",cwlgit:"https://w3id.org/cwl/view/git/",esdbpr:"http://es.dbpedia.org/resource/",loupe:"http://ont-loupe.linkeddata.es/def/core/",bitl:"http://lib.bit.edu.cn/ontology/1.0/",iab:"https://www.iab.com/guidelines/taxonomy/",s4bldg:"https://w3id.org/def/saref4bldg#",shema:"http://schema.org/",isoadr:"http://reference.data.gov.au/def/ont/iso19160-1-address#",m3:"http://sensormeasurement.appspot.com/m3#",earth:"http://linked.earth/ontology#",ordo:"http://www.orpha.net/ORDO/",ontoneo:"http://purl.obolibrary.org/obo/ontoneo/",cwmo:"http://purl.org/cwmo/#",eqp:"https://data.nasa.gov/ontologies/atmonto/equipment#",lesa:"http://hadatac.org/ont/lesa#",gcon:"https://w3id.org/GConsent#",mdont:"http://ont.matchdeck.com/",wild:"http://purl.org/wild/vocab#",ddb:"http://www.deutsche-digitale-bibliothek.de/edm/",stx:"http://purl.org/cyber/stix#",pplan:"http://purl.org/net/p-plan#",jup:"http://w3id.org/charta77/jup/",sopropp:"http://sweetontology.net/propPressure/",pq:"http://www.wikidata.org/prop/qualifier/",m3lite:"http://purl.org/iot/vocab/m3-lite#",osys:"http://purl.org/olia/system.owl#",hctl:"https://www.w3.org/2019/wot/hypermedia#",stencila:"http://schema.stenci.la/",sopropsl:"http://sweetontology.net/propSpaceLocation/",biolink:"https://w3id.org/biolink/vocab/",lblodlg:"http://data.lblod.info/vocabularies/leidinggevenden/",capes:"http://vocab.capes.gov.br/def/vcav#",esgs:"https://w3id.org/edwin/ontology/",sostc:"http://sweetontology.net/stateChemical/",iaph:"http://www.juntadeandalucia.es/datosabiertos/portal/iaph/dataset/dataset/6c199ca2-8d2e-4c12-833c-f28",extech:"https://w3id.org/executionTechnique/ontology/",sostv:"http://sweetontology.net/stateVisibility/",soproptf:"http://sweetontology.net/propTimeFrequency/",frbroo:"http://iflastandards.info/ns/fr/frbr/frbroo/",sophatmowm:"https://sweetontology.net/phenAtmoWindMesoscale/",losp:"http://sparql.sstu.ru:3030/speciality/",medred:"http://w3id.org/medred/medred#",soprocsc:"http://sweetontology.net/procStateChange/",sopropsp:"http://sweetontology.net/propSpeed/",chemsci:"https://w3id.org/skgo/chemsci#",jsonschema:"https://www.w3.org/2019/wot/json-schema#",vehman:"http://deductions.github.io/vehicule-management.owl.ttl#",skoslex:"https://bp4mc2.org/def/skos-lex#",sorepsc:"http://sweetontology.net/reprSciComponent/",sopropsdis:"http://sweetontology.net/propSpaceDistance/",wotsec:"https://www.w3.org/2019/wot/security#",constant:"http://qudt.org/vocab/constant/",epplan:"https://w3id.org/ep-plan#",sorepsf:"http://sweetontology.net/reprSciFunction/",soreacz:"http://sweetontology.net/realmClimateZone/",sophsy:"http://sweetontology.net/phenSystem/",sorepmo:"http://sweetontology.net/reprMathOperation/",sweet:"http://sweetontology.net/",sosttf:"http://sweetontology.net/stateTimeFrequency/",sopropti:"http://sweetontology.net/propTime/",esagm:"http://vocab.ciudadesabiertas.es/def/sector-publico/agenda-municipal#",soprocp:"http://sweetontology.net/procPhysical/",eppl:"https://w3id.org/ep-plan#",sorelm:"http://sweetontology.net/relaMath/",sopropo:"http://sweetontology.net/propOrdinal/",eccf:"http://data.europa.eu/54i/",iospress:"http://ld.iospress.nl/rdf/ontology/",sorept:"http://sweetontology.net/reprTime/",dave:"http://theme-e.adaptcentre.ie/dave#",dentsci:"https://w3id.org/skgo/dentsci#",soproc:"http://sweetontology.net/proc/",soprops:"http://sweetontology.net/propSpace/",sorepsrs:"http://sweetontology.net/reprSpaceReferenceSystem/",sorepsl:"http://sweetontology.net/reprSciLaw/",soreaas:"http://sweetontology.net/realmAstroStar/",somamin:"http://sweetontology.net/matrMineral/",sophatmow:"http://sweetontology.net/phenAtmoWind/",sopropsdir:"http://sweetontology.net/propSpaceDirection/",sorelh:"http://sweetontology.net/relaHuman/",soreaofl:"http://sweetontology.net/realmOceanFloor/",sostth:"http://sweetontology.net/stateThermodynamic/",sorealc:"http://sweetontology.net/realmLandCoastal/",sorepscd:"http://sweetontology.net/reprSpaceCoordinate/",sopropi:"http://sweetontology.net/propIndex/",sohutr:"http://sweetontology.net/humanTechReadiness/",sostrr:"http://sweetontology.net/stateRoleRepresentative/",sohut:"http://sweetontology.net/humanTransportation/",sohur:"http://sweetontology.net/humanResearch/",pineapple:"http://hexananas.com/pineapple#",sophso:"http://sweetontology.net/phenSolid/",sorepmso:"http://sweetontology.net/reprMathSolution/",sophoc:"http://sweetontology.net/phenOceanCoastal/",sorepmg:"http://sweetontology.net/reprMathGraph/",sophfd:"http://sweetontology.net/phenFluidDynamics/",sopropr:"http://sweetontology.net/propRotation/",sorepmfo:"http://sweetontology.net/reprMathFunctionOrthogonal/",soprope:"http://sweetontology.net/propEnergy/",ldc:"https://tac.nist.gov/tracks/SM-KBP/2018/ontologies/SeedlingOntology#",sopropsh:"http://sweetontology.net/propSpaceHeight/",sorepsu:"http://sweetontology.net/reprSciUnits/",dprov:"http://promsns.org/def/do#",sorepdp:"http://sweetontology.net/reprDataProduct/",sorel:"http://sweetontology.net/rela/",sopropfr:"http://sweetontology.net/propFraction/",soreas:"http://sweetontology.net/realmSoil/",pcdmuse:"http://pcdm.org/use#",skosthes:"http://purl.org/iso25964/skos-thes#",asgs:"http://linked.data.gov.au/def/asgs#",foio:"https://w3id.org/seas/FeatureOfInterestOntology/",misp:"http://purl.org/cyber/misp#",somaae:"http://sweetontology.net/matrAerosol/",trek:"https://w3id.org/trek/",sostri:"http://sweetontology.net/stateRoleImpact/",sorear:"http://sweetontology.net/realmRegion/",sorelcl:"http://sweetontology.net/relaClimate/",inchikey:"https://identifiers.org/inchikey:",sophatmopc:"http://sweetontology.net/phenAtmoPrecipitation/",sohues:"http://sweetontology.net/humanEnvirStandards/",somanr:"http://sweetontology.net/matrNaturalResource/",sopropmf:"http://sweetontology.net/propMassFlux/",sorepm:"http://sweetontology.net/reprMath/",sopropcap:"http://sweetontology.net/propCapacity/",sorep:"http://sweetontology.net/repr/",sorelpr:"http://sweetontology.net/relaProvenance/",mccv:"http://purl.jp/bio/10/mccv#",probont:"http://www.probonto.org/ontology#",sopropfu:"http://sweetontology.net/propFunction/",sopropm:"http://sweetontology.net/propMass/",sopropb:"http://sweetontology.net/propBinary/",sostrt:"http://sweetontology.net/stateRoleTrust/",somarock:"http://sweetontology.net/matrRock/",sorepdsr:"http://sweetontology.net/reprDataServiceReduction/",sophel:"http://sweetontology.net/phenElecMag/",phto:"http://rhizomik.net/ontologies/PlantHealthThreats.owl.ttl#",sorelsp:"http://sweetontology.net/relaSpace/",sorelsc:"http://sweetontology.net/relaSci/",somais:"http://sweetontology.net/matrIsotope/",twitter:"http://stocktwits.com/",somaem:"http://sweetontology.net/matrElementalMolecule/",sostso:"http://sweetontology.net/stateSolid/",sopropef:"http://sweetontology.net/propEnergyFlux/",soreps:"http://sweetontology.net/reprSpace/",sost:"http://sweetontology.net/state/",sopropcat:"http://sweetontology.net/propCategorical/",d2s:"https://w3id.org/d2s/",proton:"http://www.ontotext.com/proton/",sosttg:"http://sweetontology.net/stateTimeGeologic/",sorealp:"http://sweetontology.net/realmLandProtected/",sorepsp:"http://sweetontology.net/reprSciProvenance/",somapl:"http://sweetontology.net/matrPlant/",sophatmos:"http://sweetontology.net/phenAtmoSky/",matvoc:"http://stream-ontology.com/matvoc/",sopropdifu:"http://sweetontology.net/propDiffusivity/",edupro:"http://ns.inria.fr/semed/eduprogression#",sorealo:"http://sweetontology.net/realmLandOrographic/",sophcr:"http://sweetontology.net/phenCryo/",sophec:"http://sweetontology.net/phenEcology/",sorepdf:"http://sweetontology.net/reprDataFormat/",sostsy:"http://sweetontology.net/stateSystem/",soph:"http://sweetontology.net/phen/",sorepsme:"http://sweetontology.net/reprSciMethodology/",sorepdsv:"http://sweetontology.net/reprDataServiceValidation/",sopropsm:"http://sweetontology.net/propSpaceMultidimensional/",soreahb:"http://sweetontology.net/realmHydroBody/",biogrid:"http://thebiogrid.org/",soprop:"http://sweetontology.net/prop/",sostb:"http://sweetontology.net/stateBiological/",sosto:"http://sweetontology.net/stateOrdinal/",sorelch:"http://sweetontology.net/relaChemical/",sopropcou:"http://sweetontology.net/propCount/",soreao:"http://sweetontology.net/realmOcean/",sorepmf:"http://sweetontology.net/reprMathFunction/",sorelph:"http://sweetontology.net/relaPhysical/",soreac:"http://sweetontology.net/realmCryo/",sophei:"http://sweetontology.net/phenEnvirImpact/",sophst:"http://sweetontology.net/phenStar/",sorelt:"http://sweetontology.net/relaTime/",sophcy:"http://sweetontology.net/phenCycle/",sorepdsg:"http://sweetontology.net/reprDataServiceGeospatial/",sorepmst:"http://sweetontology.net/reprMathStatistics/",soreabb:"http://sweetontology.net/realmBiolBiome/",somaind:"http://sweetontology.net/matrIndustrial/",sopropdife:"http://sweetontology.net/propDifference/",soreaaw:"http://sweetontology.net/realmAtmoWeather/",somac:"http://sweetontology.net/matrCompound/",somaw:"http://sweetontology.net/matrWater/",ciao:"http://ciao.it/",sohuj:"http://sweetontology.net/humanJurisdiction/",somains:"http://sweetontology.net/matrInstrument/",sophatmofo:"http://sweetontology.net/phenAtmoFog/",sopropq:"http://sweetontology.net/propQuantity/",sorepsd:"http://sweetontology.net/reprSpaceDirection/",atts:"https://data.nasa.gov/ontologies/atmonto/general#",sopropche:"http://sweetontology.net/propChemical/",sorepds:"http://sweetontology.net/reprDataService/",sorepts:"http://sweetontology.net/reprTimeSeason/",ingredient:"http://www.owl-ontologies.com/test.owl/ingredient/",sophft:"http://sweetontology.net/phenFluidTransport/",sophpc:"http://sweetontology.net/phenPlanetClimate/",sophatmoc:"http://sweetontology.net/phenAtmoCloud/",sophcm:"http://sweetontology.net/phenCycleMaterial/",sorepdsa:"http://sweetontology.net/reprDataServiceAnalysis/",sopropcon:"http://sweetontology.net/propConductivity/",osmm:"https://www.openstreetmap.org/meta/",sopropdr:"http://sweetontology.net/propDimensionlessRatio/",somael:"http://sweetontology.net/matrElement/",somarocki:"http://sweetontology.net/matrRockIgneous/",lprov:"http://id.learning-provider.data.ac.uk/terms#",donto:"http://reference.data.gov.au/def/ont/dataset#",sopropcha:"http://sweetontology.net/propCharge/",sophwn:"http://sweetontology.net/phenWaveNoise/",somaf:"http://sweetontology.net/matrFacility/",hdgi:"https://w3id.org/hdgi#",snomedct:"http://purl.bioontology.org/ontology/SNOMEDCT/",beo:"https://w3id.org/beo#",somab:"http://sweetontology.net/matrBiomass/",sophb:"http://sweetontology.net/phenBiol/",country:"http://eulersharp.sourceforge.net/2003/03swap/countries#",bldont:"http://ont.biglinkeddata.com/",sorepdm:"http://sweetontology.net/reprDataModel/",sostrg:"http://sweetontology.net/stateRoleGeographic/",somaeq:"http://sweetontology.net/matrEquipment/",sophod:"http://sweetontology.net/phenOceanDynamics/",somaen:"http://sweetontology.net/matrEnergy/",sohuecons:"http://sweetontology.net/humanEnvirConservation/",soreaabl:"http://sweetontology.net/realmAtmoBoundaryLayer/",sopropst:"http://sweetontology.net/propSpaceThickness/",soreal:"http://sweetontology.net/realmLandform/",gleio:"http://lei.info/gleio/",eupont:"http://elite.polito.it/ontologies/eupont.owl#",sophatmot:"http://sweetontology.net/phenAtmoTransport/",idsc:"https://w3id.org/idsa/code/",soman:"http://sweetontology.net/matrAnimal/",taxref:"http://taxref.mnhn.fr/lod/taxon/",somas:"http://sweetontology.net/matrSediment/",esbici:"http://vocab.ciudadesabiertas.es/def/transporte/bicicleta-publica#",sophatmol:"http://sweetontology.net/phenAtmoLightning/",istex:"https://data.istex.fr/ontology/istex#",sostf:"http://sweetontology.net/stateFluid/",mmms:"http://ldf.fi/schema/mmm/",sophatmofr:"http://sweetontology.net/phenAtmoFront/",sophsyc:"http://sweetontology.net/phenSystemComplexity/",soprocc:"http://sweetontology.net/procChemical/",sostre:"http://sweetontology.net/stateRealm/",sophw:"http://sweetontology.net/phenWave/",schoi:"https://w3id.org/scholarlydata/ontology/indicators-ontology.owl#",sosttc:"http://sweetontology.net/stateTimeCycle/",sostti:"http://sweetontology.net/stateTime/",soprocw:"http://sweetontology.net/procWave/",sophatmops:"http://sweetontology.net/phenAtmoPressure/",sostsb:"http://sweetontology.net/stateSpectralBand/",ocsw:"http://data.diekb.org/def/ocsw#",cci:"http://cookingbigdata.com/linkeddata/ccinstances#",sophr:"http://sweetontology.net/phenReaction/",atd:"https://data.nasa.gov/ontologies/atmonto/data#",dbm:"http://purl.org/net/dbm/ontology#",sostrc:"http://sweetontology.net/stateRoleChemical/",sophm:"http://sweetontology.net/phenMixing/",somaio:"http://sweetontology.net/matrIon/",osmt:"https://wiki.openstreetmap.org/wiki/Key:",sorepsg3:"http://sweetontology.net/reprSpaceGeometry3D/",sostsp:"http://sweetontology.net/stateSpace/",soreaah:"http://sweetontology.net/realmAstroHelio/",soreptd:"http://sweetontology.net/reprTimeDay/",cbs:"http://betalinkeddata.cbs.nl/def/cbs#",lv2:"http://lv2plug.in/ns/lv2core/",ggbn:"http://data.ggbn.org/schemas/ggbn/terms/",sohu:"http://sweetontology.net/human/",sophatmo:"http://sweetontology.net/phenAtmo/",sostrb:"http://sweetontology.net/stateRoleBiological/",sostdp:"http://sweetontology.net/stateDataProcessing/",sopropt:"http://sweetontology.net/propTemperature/",cfrl:"http://linkeddata.finki.ukim.mk/lod/ontology/cfrl#",sophfi:"http://sweetontology.net/phenFluidInstability/",mbkeys:"https://pastebin.com/ThBfphb8#",pnv:"https://w3id.org/pnv#",sophhe:"http://sweetontology.net/phenHelio/",ccomid:"http://www.ontologyrepository.com/CommonCoreOntologies/Mid/",sostp:"http://sweetontology.net/statePhysical/",omop:"http://api.ohdsi.org/WebAPI/vocabulary/concept/",rank:"http://www.ontotext.com/owlim/RDFRank#",sostef:"http://sweetontology.net/stateEnergyFlux/",sophen:"http://sweetontology.net/phenEnergy/",wds:"http://www.wikidata.org/entity/statement/",asio:"http://purl.org/hercules/asio/core#",sostss:"http://sweetontology.net/stateSpaceScale/",omim:"http://purl.bioontology.org/ontology/OMIM/",soreaer:"http://sweetontology.net/realmEarthReference/",soreaofe:"http://sweetontology.net/realmOceanFeature/",somapa:"http://sweetontology.net/matrParticle/",malaka:"http://george.gr/",sohueccont:"http://sweetontology.net/humanEnvirControl/",compub:"https://sireneld.io/vocab/compub#",sostst:"http://sweetontology.net/stateStorm/",she:"http://shacleditor.org/",sostro:"http://sweetontology.net/stateRole/",sophhy:"http://sweetontology.net/phenHydro/",sorepsmo:"http://sweetontology.net/reprSciModel/",sorealv:"http://sweetontology.net/realmLandVolcanic/",sophgt:"http://sweetontology.net/phenGeolTectonic/",ccsla:"http://cookingbigdata.com/linkeddata/ccsla#",oplsoft:"http://www.openlinksw.com/ontology/software#",mobiliteit:"https://data.vlaanderen.be/ns/mobiliteit#",s4city:"https://saref.etsi.org/saref4city/",io:"https://iaco.me/",sorealf:"http://sweetontology.net/realmLandFluvial/",sohuc:"http://sweetontology.net/humanCommerce/",sopho:"http://sweetontology.net/phenOcean/",somamic:"http://sweetontology.net/matrMicrobiota/",sohuea:"http://sweetontology.net/humanEnvirAssessment/",sorealg:"http://sweetontology.net/realmLandGlacial/",soreaab:"http://sweetontology.net/realmAstroBody/",sostsc:"http://sweetontology.net/stateSpaceConfiguration/",sophgs:"http://sweetontology.net/phenGeolSeismicity/",gx:"https://graphite.synaptica.net/extension/",gas:"http://www.bigdata.com/rdf/gas#",soall:"http://sweetontology.net/sweetAll/",sophgg:"http://sweetontology.net/phenGeolGeomorphology/",brot:"https://w3id.org/brot#",sorealt:"http://sweetontology.net/realmLandTectonic/",oco:"https://w3id.org/oc/ontology/",say:"http://example.org/say/",sohua:"http://sweetontology.net/humanAgriculture/",iaco:"https://iaco.me/",dfcb:"http://datafoodconsortium.org/ontologies/DFC_BusinessOntology.owl#",birthdate:"http://schema.org/birthDate/",atm:"https://data.nasa.gov/ontologies/atmonto/ATM#",docam:"https://www.docam.ca/glossaurus/",arp:"http://www.arpenteur.org/ontology/Arpenteur.owl#",dfc:"http://datafoodconsortium.org/ontologies/DFC_FullModel.owl#",sophg:"http://sweetontology.net/phenGeol/",taxrefprop:"http://taxref.mnhn.fr/lod/property/",ei2a:"http://opendata.aragon.es/def/ei2a#",sostsl:"http://sweetontology.net/stateSpectralLine/",sohud:"http://sweetontology.net/humanDecision/",wasa:"http://vocab.sti2.at/wasa/",sophgv:"http://sweetontology.net/phenGeolVolcano/",osmrel:"https://www.openstreetmap.org/relation/",soreala:"http://sweetontology.net/realmLandAeolian/",dd:"http://example.org/dummydata/",waa:"http://purl.oclc.org/NET/WebApiAuthentication#",ci:"https://privatealpha.com/ontology/content-inventory/1#",s4agri:"https://saref.etsi.org/saref4agri/",bs:"https://w3id.org/bs#",fibo:"https://spec.edmcouncil.org/fibo/ontology/master/latest/",fernanda:"http://fernanda.nl/",uimo:"http://vocab.sti2.at/uimo/",persoon:"http://data.vlaanderen.be/ns/persoon#",bperson:"http://data.vlaanderen.be/ns/persoon#",ld:"http://linkeddata.ru/",saref4envi:"https://saref.etsi.org/saref4envi/",trak:"https://trakmetamodel.sourceforge.io/vocab/rdf-schema.rdf#",s4ener:"https://saref.etsi.org/saref4ener/",wotc:"http://purl.org/wot-catalogue#",osmway:"https://www.openstreetmap.org/way/",sorea:"http://sweetontology.net/realm/",sophgf:"http://sweetontology.net/phenGeolFault/",osmnode:"https://www.openstreetmap.org/node/",oplfeat:"http://www.openlinksw.com/ontology/features#",mgv:"http://mangaview.fr/mgv#",ccr:"http://cookingbigdata.com/linkeddata/ccregions#",ogura:"https://sparql.crssnky.xyz/Ogura_Hyakunin_Isshu_LinkedRDF/URIs/Ogura_Hyakunin_Isshu_schema.ttl#",knows:"http://semantic.komc/usu/2020/knows#",ldes:"https://w3id.org/ldes#",movieo:"http://movie.com/ontology/",lexicog:"http://www.w3.org/ns/lemon/lexicog#",toaru:"https://metadata.moe/toaru-sparql/elements/",eppo:"https://gd.eppo.int/taxon/",gco:"http://purl.jp/bio/12/glyco/conjugate#",ebg:"http://data.businessgraph.io/ontology#",mpg123:"https://devuan.net.br/wiki/mpg123/",univ:"http://univ.io/",jur:"http://sweet.jpl.nasa.gov/2.3/humanJurisdiction.owl#",motogp:"http://www.motogp.com/",mr:"http://marineregions.org/ns/ontology#",dbonto:"http://dbepedia.org/ontology/",bao:"http://www.bioassayontology.org/bao#",quran:"http://khalidaloufi.sa/quran#",estraf:"http://vocab.ciudadesabiertas.es/def/transporte/trafico#",srv:"http://www.daml.org/services/owl-s/1.2/Service.owl#",cto:"https://w3id.org/cto#",maroc:"http://fr.dbpedia.org/page/Maroc/",mltd:"https://mltd.pikopikopla.net/mltd-schema#",cts:"http://rdf.cdisc.org/ct/schema#",esconv:"http://vocab.ciudadesabiertas.es/def/sector-publico/convenio#",prismdb:"https://prismdb.takanakahiko.me/prism-schema.ttl#",rl:"http://rl.com/resources/",hola:"https://moodle.insa-lyon.fr/course/view.php?id=",kko:"http://kbpedia.org/kko/rc/",pgxo:"http://pgxo.loria.fr/",melding:"http://lblod.data.gift/vocabularies/automatische-melding/",ble:"http://vocab.rapidthings.eu/ns/ble.ttl#",geodcat:"http://data.europa.eu/930/",ams:"http://data.amadeus.com/",cso:"http://cso.kmi.open.ac.uk/schema/cso/",marcgt:"https://id.loc.gov/vocabulary/marcgt/",accid:"http://pid.accurids.com/",ibeacon:"http://vocab.rapidthings.eu/ns/apple/ibeacon.ttl#",nsg:"https://neuroshapes.org/",rdasource:"http://rdaregistry.info/termList/RDARecordingSources/",i18n:"https://www.w3.org/ns/i18n#",contry:"http://dbpedia.org/resource/Lyon#",gom:"https://w3id.org/gom#",rdapol:"http://rdaregistry.info/termList/RDAPolarity/",la:"https://linked.art/ns/terms/",vlueprint:"https://vlueprint.org/schema/",fx:"http://sparql.xyz/facade-x/ns/",xyz:"http://sparql.xyz/facade-x/data/",mag:"https://makg.org/property/",mdcs:"https://mdcs.monumentenkennis.nl/damageatlas/ontology#",sty:"http://purl.bioontology.org/ontology/STY/",karstlink:"https://ontology.uis-speleo.org/ontology/#",rdaut:"http://rdaregistry.info/termList/RDAUnitOfTime/",tso:"https://w3id.org/tso#",contax:"https://w3id.org/con-tax#",rdat:"http://rdaregistry.info/Elements/t/",dom:"https://html.spec.whatwg.org/#",esautob:"http://vocab.ciudadesabiertas.es/def/transporte/autobus#",oeso:"http://www.opensilex.org/vocabularies/oeso#",w3id:"https://w3id.org/",ssnx:"http://purl.oclc.org/NET/ssnx/ssn#",bop:"https://w3id.org/bop#",vph:"http://purl.org/ozo/vph.owl#",rdaio:"http://rdaregistry.info/Elements/i/object/",hops:"https://rdf.ag/o/hops#",w3geo:"http://www.w3.org/2003/01/geo/wgs84_pos#",rdaep:"http://rdaregistry.info/termList/RDAExtensionPlan/",datagc:"https://data.grottocenter.org/ldp/",esempleo:"http://vocab.ciudadesabiertas.es/def/sector-publico/empleo#",rpg:"http://rpg.data.is4.site/",rofchrda:"http://rdaregistry.info/termList/rofchrda/",srr:"https://w3id.org/srr#",samian:"http://lod.archaeology.link/data/samian/",check:"http://pornhub.com/",rdaao:"http://rdaregistry.info/Elements/a/object/",matrycs:"http://matrycs.com/",kpd:"http://purl.org/kpd/",freq:"http://purl.org/cld/freq/",smithy:"https://awslabs.github.io/smithy/rdf-1.0#",itops:"https://vocab.eccenca.com/itops/",slm:"http://urn.fi/URN:NBN:fi:au:slm:",rdaxd:"http://rdaregistry.info/Elements/x/datatype/",mnx:"https://rdf.metanetx.org/schema/",rdatd:"http://rdaregistry.info/Elements/t/datatype/",mesh2021:"http://id.nlm.nih.gov/mesh/2021/",textgrid:"https://textgridrep.org/",rdamo:"http://rdaregistry.info/Elements/m/object/",rdato:"http://rdaregistry.info/Elements/t/object/",bdg:"http://data.bigdatagrapes.eu/resource/ontology/",rdaed:"http://rdaregistry.info/Elements/e/datatype/",rdaid:"http://rdaregistry.info/Elements/i/datatype/",seasd:"https://w3id.org/seas/",rdatb:"http://rdaregistry.info/termList/RDATypeOfBinding/",bleadapter:"http://vocab.rapidthings.eu/ns/ble/adapter.ttl#",vr:"https://www.w3.org/2018/credentials/v1/",epcis:"https://ns.gs1.org/epcis/",sou:"http://qudt.org/vocab/sou/",memorix:"http://memorix.io/ontology#",lado:"http://archaeology.link/ontology#",rdan:"http://rdaregistry.info/Elements/n/",oghamonto:"http://ontology.ogham.link/",signify:"http://purl.org/signify/ns#",comp:"http://semweb.mmlab.be/ns/rml-compression#",rdand:"http://rdaregistry.info/Elements/n/datatype/",rdamd:"http://rdaregistry.info/Elements/m/datatype/",m8g:"http://data.europa.eu/m8g/",rdaxo:"http://rdaregistry.info/Elements/x/object/",cerealstoo:"http://rdf.ag/o/cerealstoo#",faas:"http://semantic-faas.com/ontology#",rdano:"http://rdaregistry.info/Elements/n/object/",cinema:"http://www.semanticweb.org/julien/morgann/cinema#",idpo:"https://w3id.org/idpo#",kdsf:"https://kerndatensatz-forschung.de/version1/technisches_datenmodell/owl/kdsf.owl#",rdawd:"http://rdaregistry.info/Elements/w/datatype/",rdatask:"http://rdaregistry.info/termList/RDATasks/",bcom:"https://w3id.org/bcom#",spec:"http://www.w3.org/ns/spec#",arena:"https://solid.ti.rw.fau.de/public/ns/arena#",ch:"https://schema.ld.admin.ch/",hpont:"https://w3id.org/hpont#",rdap:"http://rdaregistry.info/Elements/p/",cbv:"https://ns.gs1.org/cbv/",rdamat:"http://rdaregistry.info/termList/RDAMaterial/",ogham:"http://lod.ogham.link/data/",oidc:"http://www.w3.org/ns/solid/oidc#",rdapath:"http://rdaregistry.info/termList/RDARecordingMethods/",rdasca:"http://rdaregistry.info/termList/scale/",eurio:"http://data.europa.eu/s66#",citedcat:"https://w3id.org/citedcat-ap/",mrk:"http://www.mydomain.org/Mrk-ns#",nprl:"http://data.nobelprize.org/resource/laureate/",folio:"http://IBCNServices.github.io/Folio-Ontology/Folio.owl#",rdawo:"http://rdaregistry.info/Elements/w/object/",rdapd:"http://rdaregistry.info/Elements/p/datatype/",biocrm:"http://ldf.fi/schema/bioc/",ofn:"http://www.ontotext.com/sparql/functions/",rofsfrda:"http://rdaregistry.info/termList/rofsfrda/",paf:"https://paf.link/",rofitrda:"http://rdaregistry.info/termList/rofitrda/",bcfowl:"http://lbd.arch.rwth-aachen.de/bcfOWL#",rdaim:"http://rdaregistry.info/termList/RDAInteractivityMode/",luigiusai:"https://www.luigiusai.it/wp#",nanopub:"http://www.nanopub.org/nschema#",roffgrda:"http://rdaregistry.info/termList/roffgrda/",encargado:"http://semRAT.edu/",poke:"https://pokemonkg.org/ontology#",aspect:"http://purl.org/aspect/",react:"https://w3id.org/react#",eep:"https://w3id.org/eep#",uberon:"http://purl.obolibrary.org/obo/UBERON_",cpc:"https://data.epo.org/linked-data/def/cpc/",cpg:"http://modellingdh.github.io/ont/odp/pgc/",bag2:"http://bag.basisregistraties.overheid.nl/def/bag#",rmlt:"http://semweb.mmlab.be/ns/rml-target#",ea:"http://eaontology.protect.linkeddata.es/def/",opltw:"http://www.openlinksw.com/schemas/twitter#",tci:"https://w3id.org/lbs/tci#",cgo:"https://www.tno.nl/agrifood/ontology/common-greenhouse-ontology#",s223:"http://data.ashrae.org/standard223#",aff:"https://w3id.org/affectedBy#",xmlns:"http://xmlns.com/foaf/0.1/",gax:"http://w3id.org/gaia-x/core#",setl:"http://purl.org/twc/vocab/setl/",lsqr:"http://lsq.aksw.org/",mrt:"http://marineregions.org/ns/placetypes#",djo:"http://purl.org/datajourneys/",srtun:"https://www.inf.bi.rub.de/srtun#",ghga:"http://w3id.org/ghga/",bau:"https://terminology.fraunhofer.de/voc/bau#",srmo:"https://w3id.org/srmo#",nsd:"https://w3id.org/nsd#",hqdmontol:"http://www.semanticweb.org/magma-core/ontologies/hqdm#",srt:"http://w3id.org/srt#",ewg:"http://ethoinformatics.org/",generiek:"https://data.vlaanderen.be/ns/generiek#",ontobras:"http://www.semanticweb.org/fefar/ontologies/ontobras#",m4i:"http://w3id.org/nfdi4ing/metadata4ing#",olias:"http://purl.org/olia/system.owl#",wfont:"https://w3id.org/wfont#",rc:"https://w3id.org/rc#",ldpsc:"https://solid.ti.rw.fau.de/public/ns/stream-containers#",interop:"http://www.w3.org/ns/solid/interop#",ppeer:"http://parliament.uk/ontologies/peerage/",esc:"https://solid.ti.rw.fau.de/public/ns/event-sourcing-containers#",walmart:"https://www.amazon.de/",quid:"https://w3id.org/quid/",wdno:"http://www.wikidata.org/prop/novalue/",rdaeo:"http://rdaregistry.info/Elements/e/object/",edu:"https://schema.edu.ee/",stix:"http://purl.org/cyber/stix#",paam:"https://lod.mediathek-tanz-theater.de/schema/paam/",eb:"https://w3id.org/eb#",hqdm:"http://www.semanticweb.org/hqdm#",gufo:"http://purl.org/nemo/gufo#",raum:"https://terminology.fraunhofer.de/voc/raum#",caso:"http://www.w3id.org/def/caso#",lds:"https://solid.ti.rw.fau.de/public/ns/linked-data-structures#",jsonld:"http://www.w3.org/ns/json-ld#",magmardl:"http://www.semanticweb.org/magma-core/rdl#",dsd:"https://w3id.org/dsd#",godaddy:"https://sso.godaddy.com/",asf:"https://www.stm-assoc.org/asf/",lrcommon:"http://landregistry.data.gov.uk/def/common/",kgi:"http://ns.inria.fr/kg/index#",marc:"http://www.loc.gov/MARC21/slim/",ofo:"https://w3id.org/ofo#",hni:"https://collectiedata.hetnieuweinstituut.nl/",feed:"https://www.feedipedia.org/",magmauser:"http://www.semanticweb.org/magma-core/user#",archivo:"https://archivo.dbpedia.org/onto#",rto:"https://w3id.org/rail/topo#",osdu:"https://w3id.org/OSDU#",diso:"https://purls.helmholtz-metadaten.de/diso#",lbdserver:"https://w3id.org/lbdserver#",bdsubj:"https://purl.org/fidbaudigital/subjects#",nomo:"https://nomenclature.info/nom/ontology/",rro:"http://semanticweb.org/patricia/ontologies/rro#",conllu:"https://universaldependencies.org/format.html#",value:"http://gfgfd.vs/",chameo:"https://w3id.org/emmo/domain/characterisation-methodology/chameo#",tern:"http://w3id.org/tern/ontologies/tern/",sds:"https://w3id.org/sds#",respond:"https://w3id.org/respond#",covido:"https://w3id.org/CovidO#",rsx:"http://rdf4j.org/shacl-extensions#",linkml:"https://w3id.org/linkml/",rdb:"http://www.dbs.cs.uni-duesseldorf.de/RDF/relational#",stirdata:"https://w3id.org/stirdata/vocabulary/",robotarm:"https://solid.ti.rw.fau.de/public/ns/robotArm#",nom:"https://nomenclature.info/nom/",nbo:"http://data.bioontology.org/ontologies/NBO/",fpr:"http://www.filmstandards.org/schemas/filmportal_relations#",weki:"https://en.wikipedia.org/wiki/",experts:"http://emmo.info/emmo/application/maeo/experts#",tro:"https://w3id.org/TRO/",oeo:"http://openenergy-platform.org/ontology/oeo/",lbds:"https://w3id.org/lbdserver#",itcrdf:"http://www.w3.org/2005/11/its/rdf#",perscido:"https://perscido.univ-grenoble-alpes.fr/",express:"https://w3id.org/express#",pgo:"http://ii.uwb.edu.pl/pgo#",rsp:"http://www.researchspace.org/resource/",dsi:"https://data.dsi.omgeving.vlaanderen.be/ns/dsi#",chemrof:"https://w3id.org/chemrof/",dmo:"https://w3id.org/dmo#",tempo:"http://purl.org/tempo/",cido:"http://purl.obolibrary.org/obo/cido.owl/",icon:"https://w3id.org/icon/ontology/",rnce:"https://data.cultureelerfgoed.nl/id/rnce#",linkedart:"https://linked.art/ns/terms/",osmo:"https://purl.org/vimmp/osmo#",rism:"http://rism.online/",veelana:"http://onlyfans.com/veelana/",ultragaz:"https://ultragaz24horas.com/",dbd:"http://dbpedia.org/datatype/",roh:"http://w3id.org/roh#",vntourism:"http://www.semanticweb.org/minhn/ontologies/2021/0/vntourism#",rtedurp:"http://purl.org/eduo/rtedurp/",chess:"http://purl.org/NET/rdfchess/ontology/",raad:"https://raadzaam.nl/schema/",dqvno:"https://data.norge.no/vocabulary/dqvno#",ttrpg:"https://w3id.org/TTRpg#",era:"http://data.europa.eu/949/",iddo:"https://w3id.org/iddo#",bp3:"http://www.biopax.org/release/biopax-level3.owl#",vl:"https://version.link/",fso:"https://w3id.org/fso#",consolid:"https://w3id.org/consolid#",gql:"http://www.openlinksw.com/schemas/graphql#",kokot:"http://www.koko.t/",besluitvor:"https://data.vlaanderen.be/ns/besluitvorming#",ammo:"http://ldf.fi/schema/ammo/",rcgs:"https://collection.rcgs.jp/terms/",pubchem:"https://pubchem.ncbi.nlm.nih.gov/",ufo:"http://ufo.com/#",mondo:"http://purl.obolibrary.org/obo/",cvb:"http://rdfs.org/resume-rdf/base.rdfs#",film:"http://semantics.id/ns/example/film/",iottta:"https://w3id.org/iot-tta#",grscicoll:"https://www.gbif.org/grscicoll/collection/",nen2660:"https://w3id.org/nen2660/def#",thub:"http://vocabularis.crai.ub.edu/thub/",dcb:"http://dbpedia.org/resource/Category:",apods:"http://activitypods.org/ns/core#",skosm:"http://www.w3.org/2004/02/skos/mapping#",nalt:"https://lod.nal.usda.gov/nalt/",version:"https://version.link/",koko:"https://seznam.cz/",bmp:"http://w3id.org/bmp#",coy:"https://schema.coypu.org/global#",dcatno:"https://data.norge.no/vocabulary/dcatno#",yanice:"http://yanice-boady.webflow.io/",fdp:"https://w3id.org/fdp/fdp-o#",vcs:"https://data.vlaanderen.be/ns/chemische_stof#",dick:"http://pornhub.com/",vhbieo:"https://w3id.org/vhbieo#",ntp:"https://schema.finto.fi/ntp#",ceox:"https://linkeddata.cultureelerfgoed.nl/def/ceox#",lis:"http://rds.posccaesar.org/ontology/lis14/rdl/",lib:"http://purl.org/library/",goavoc:"http://bio2rdf.org/goa_vocabulary:",crmsci:"http://cidoc-crm.org/crmsci/",hyr:"https://w3id.org/simulation/data/",hmas:"https://purl.org/hmas/",nutscode:"http://data.europa.eu/nuts/code/",dbpg:"http://dbpedia.org/page/",lcnaf:"http://id.loc.gov/authorities/names/",ncbi:"https://www.ncbi.nlm.nih.gov/",to:"http://purl.obolibrary.org/obo/TO_",coda:"http://art.uniroma2.it/coda/contracts/",epo:"http://data.europa.eu/a4g/ontology#",relation:"http://www.iana.org/assignments/relation/",plant:"http://example.org/plant/",peco:"https://w3id.org/peco#",ecfo:"https://w3id.org/ecfo#",acp:"http://www.w3.org/ns/solid/acp#",lol:"https://sbalot.github.io/lol/",tsso:"https://scch.org/technical_standards#",fs:"https://www.compliancequest.com/training-management-software-system-solutions/",ags:"https://id.agschemas.org/",dcatap:"http://data.europa.eu/r5r/",spatialf:"http://jena.apache.org/function/spatial#",coreo:"http://purl.org/coreo#",asb:"https://w3id.org/asbingowl/core#",atcc:"https://www.atcc.org/products/",rb:"https://w3id.org/riverbench/schema/metadata#",cur:"http://qudt.org/2.1/vocab/currency/",aec3po:"https://w3id.org/lbd/aec3po/",doce:"http://purl.org/nemo/doce#",sure:"http://ns.inria.fr/sure#",fdof:"https://w3id.org/fdof/ontology#",threat:"https://cve.mitre.org/",mindat:"https://www.mindat.org/",oav:"http://lod.openaire.eu/vocab/",quest:"https://rb.gy/ntg7l/",risk:"https://www.w3id.org/risk#",docbook:"http://docbook.org/ns/docbook/",databus:"https://dataid.dbpedia.org/databus#",egdo:"http://example.org/",ontouml:"https://w3id.org/ontouml#",coos:"http://id.unece.org/def/coos#",fisa:"https://ifitkau.github.io/fisa/",bacnet:"http://data.ashrae.org/bacnet/2020#",bsdd:"http://bsdd.buildingsmart.org/def#",iop:"https://w3id.org/iadopt/ont/",p2po:"https://purl.org/p2p-o#",ontologia:"http://ub.edu/dades/ontologia/Cinema#Cinemes#",hu:"https://mail.google.com/",oplben:"http://www.openlinksw.com/ontology/benefits#",baf:"https://w3id.org/baf#",pit:"http://data.elsevier.com/vocabulary/ElsevierPubItemTypes/",batmanont:"http://emmo.info/emmo/application/bmo#",ksamsok:"http://kulturarvsdata.se/ksamsok#",uio:"https://www.mitre.org/mparmelee/ontologies/2023/6/UserIntentOntology/",mi:"http://www.marineinfo.org/ns/ontology#",matmine:"http://materialsmine.org/ns/",notify:"http://www.w3.org/ns/solid/notifications#",ocmv:"https://w3id.org/ontouml-models/vocabulary#",wrroc:"https://w3id.org/ro/terms/workflow-run#",sense:"https://w3id.org/sense#",mibc:"http://marineinfo.org/ns/library/bibcodes#",cpsvno:"http://data.norge.no/vocabulary/cpsvno#",imbor:"https://data.crow.nl/imbor/def/",stax:"https://w3id.org/stax/ontology#",emmo:"https://w3id.org/emmo#",rbdoc:"https://w3id.org/riverbench/schema/documentation#",quit:"http://quit.aksw.org/vocab/",dde:"https://www.ddeworld.org/",doam:"http://emmo.info/doam#",keyon:"http://keyelements.ltd/ontologies/keyon/#",sssom:"https://w3id.org/sssom/",ogcf:"http://www.opengis.net/def/function/geosparql/",cercabib:"https://cercabib.ub.edu/",przecieki:"http://onlyfans.com/emiliaszymanska/",skosno:"http://data.norge.no/skosno#",bioschemas:"https://bioschemas.org/",bto:"http://w3id.org/emmo-bto/bto#",mibt:"https://marineinfo.org/ns/library/bibtypes#",maeo:"http://w3id.org/emmo-maeo/maeo#",ind:"https://w3id.org/inesdata#",olis:"http://olis.dev/",semapv:"https://w3id.org/semapv/vocab/",pbac:"https://w3id.org/pbac#",ies4:"http://ies.data.gov.uk/ontology/ies4#",mifesto:"https://w3id.org/mifesto#",exekg:"https://raw.githubusercontent.com/nsai-uio/ExeKGOntology/main/ds_exeKGOntology.ttl#",w3:"http://www.w3.org/",mir:"http://marineinfo.org/ns/person/roles#",cergy:"https://dbpedia.org/page/Cergy/",eurovoc:"http://eurovoc.europa.eu/",plasma:"https://w3id.org/plasma#",guez:"http://guez.fr/",iig:"https://w3id.org/iicongraph/data/",sri:"https://w3id.org/sri#",into:"https://app.korfin.de/ontology/into/",doid:"http://purl.obolibrary.org/obo/DOID_",ies:"http://ies.data.gov.uk/ontology/ies4#",hpo:"http://w3id.org/emmo-hpo/hpo#",miprog:"https://marineinfo.org/ns/progress#",hy:"https://api.hyprdia.com/",pcp:"https://pcp-on-web.de/ontology/0.2/index-en.html#",oio:"http://www.geneontology.org/formats/oboInOwl#",top:"http://w3id.org/topologicpy#",soa:"https://semopenalex.org/ontology/",uiot:"http://www.w3id.org/urban-iot/core#",deonta:"https://deonta.linkedmodel.org/deonta/",ceosp:"https://linkeddata.cultureelerfgoed.nl/def/ceosp/",lpwc:"https://linkedpaperswithcode.com/property/",cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties/",ioc:"http://w3id.org/ioc#",htv:"http://www.w3.org/2011/http#",occupation:"http://nikunj.org/ontology/occupatioin#",loinc:"https://loinc.org/",tdm:"http://www.w3.org/ns/tdmrep#",tsdcreq:"https://w3id.org/oseg/ont/tsdc/req#",okh:"https://w3id.org/oseg/ont/okh#",tsdc:"https://w3id.org/oseg/ont/tsdc/core#",pwkso:"http://ns.inria.fr/pwkso/",spa:"https://paul.ti.rw.fau.de/~jo00defe/voc/spa#",chpaf:"https://ch.paf.link/",spo:"https://w3id.org/steel/ProcessOntology/",osh:"https://w3id.org/oseg/ont/osh#",ontohgis:"https://onto.kul.pl/ontohgis/",otrl:"https://w3id.org/oseg/ont/otrl#",aao:"http://purl.obolibrary.org/obo/AAO_",firebim:"http://w3id.org/firebim#",oplmarket:"http://www.openlinksw.com/ontology/market#",cwo:"http://kcoyle.net/cwo/",clyh:"http://purl.obolibrary.org/obo/ZP_",imdb:"http://m.imdb.com/",obi:"http://purl.obolibrary.org/obo/OBI_",envo:"http://purl.obolibrary.org/obo/ZP_",dinto:"http://purl.obolibrary.org/obo/ZP_",lrm:"https://iflastandards.info/ns/lrm/lrmoo/",kbmarc:"https://id.kb.se/marc/",clo:"http://purl.obolibrary.org/obo/ZP_",ado:"http://purl.obolibrary.org/obo/ADO_",rxno:"http://purl.obolibrary.org/obo/ZP_",obom:"https://w3id.org/open-bom/ont/open-bom#",dcid:"https://datacommons.org/browser/",crcr:"https://credit.niso.org/contributor-roles/",sep:"http://purl.obolibrary.org/obo/ZP_",gecko:"http://purl.obolibrary.org/obo/ZP_",reloc:"https://w3id.org/reloc#",sibo:"http://purl.obolibrary.org/obo/ZP_",coswot:"https://w3id.org/coswot/",cacax:"http://cacax.fun/",bcgo:"http://purl.obolibrary.org/obo/ZP_",moont:"https://w3id.org/moont/",ohd:"http://purl.obolibrary.org/obo/ZP_",dpo:"http://purl.obolibrary.org/obo/FBcv_",lpto:"http://w3id.org/lpto#",oplgit:"http://www.openlinksw.com/schemas/github#",htn:"http://purl.obolibrary.org/obo/ZP_",ypc:"http://www.semanticweb.org/sunsr/ontologies/2024/ypc#",txpo:"http://purl.obolibrary.org/obo/ZP_",adw:"https://animaldiversity.org/accounts/",omit:"http://purl.obolibrary.org/obo/OMIT_",mpio:"http://purl.obolibrary.org/obo/ZP_",ckg:"http://example.org/ckg#",sbo:"http://purl.obolibrary.org/obo/SBO_",mfo:"http://purl.obolibrary.org/obo/ZP_",bspo:"http://purl.obolibrary.org/obo/BSPO_",vo:"http://purl.obolibrary.org/obo/VO_",mbl:"https://w3id.org/mbl#",aimaix:"https://w3id.org/aimaix#",oip:"http://www.exemple.org/ontologia/",aix:"https://w3id.org/aix#",trans:"http://purl.obolibrary.org/obo/TRANS_",mop:"http://purl.obolibrary.org/obo/MOP_",oix:"http://www.exemple.org/ontologia/",ogi:"http://purl.obolibrary.org/obo/OGI_",uo:"http://purl.obolibrary.org/obo/UO_",zp:"http://purl.obolibrary.org/obo/ZP_",zo:"https://linkeddata.cultureelerfgoed.nl/def/zo/",libeas:"https://w3id.org/libeas#",fro:"https://foundry.ai.mil/ontology/nas/fro/",ontoavida:"http://purl.obolibrary.org/obo/ONTOAVIDA_",sopharm:"http://purl.obolibrary.org/obo/SOPHARM_",duo:"http://purl.obolibrary.org/obo/DUO_",xlmod:"http://purl.obolibrary.org/obo/XLMOD_",pw:"http://purl.obolibrary.org/obo/PW_",omo:"http://purl.obolibrary.org/obo/OMO_",fovt:"http://purl.obolibrary.org/obo/FOVT_",phipo:"http://purl.obolibrary.org/obo/PHIPO_",gramene:"http://www.gramene.org/db/ontology/search?id=GRO:",spd:"http://purl.obolibrary.org/obo/SPD_",sepio:"http://purl.obolibrary.org/obo/SEPIO_",xco:"http://purl.obolibrary.org/obo/XCO_",meas:"https://graph.interoptx.org/meas/",nmr:"https://www.ebi.ac.uk/ols4/ontologies/nmrcv/terms?short_form=NMR:",imr:"http://www.inoh.org/ontology-viewer/cgi-bin/InohOVAttr.php?type=IMR&id=",fypo:"http://purl.obolibrary.org/obo/FYPO_",msl:"https://w3id.org/msl#",foodon:"http://purl.obolibrary.org/obo/FOODON_",isoprops:"https://w3id.org/isoprops#",zfs:"http://purl.obolibrary.org/obo/ZFS_",psm:"https://paul.ti.rw.fau.de/~jo00defe/ont/psm#",occo:"http://purl.obolibrary.org/obo/OCCO_",pao:"http://purl.obolibrary.org/obo/PAO_",fbcv:"http://purl.obolibrary.org/obo/FBcv_",symp:"http://purl.obolibrary.org/obo/SYMP_",cteno:"http://purl.obolibrary.org/obo/CTENO_",cams:"https://graph.interoptx.org/cams/schema/",ehdaa2:"http://purl.obolibrary.org/obo/EHDAA2_",fiaf:"https://ontology.fiafcore.org/",gallont:"http://purl.obolibrary.org/obo/GALLONT_",mco:"http://purl.obolibrary.org/obo/MCO_",ogsf:"http://purl.obolibrary.org/obo/OGSF_",credit:"https://credit.niso.org/",ypo:"http://purl.obolibrary.org/obo/YPO_",pgdso:"http://purl.obolibrary.org/obo/PGDSO_",loin:"http://w3id.org/loin#",ehda:"http://purl.obolibrary.org/obo/EHDA_",oba:"http://purl.obolibrary.org/obo/OBA_",t4fs:"http://purl.obolibrary.org/obo/T4FS_",eo:"http://purl.obolibrary.org/obo/EO_",zeco:"http://purl.obolibrary.org/obo/ZECO_",opmi:"http://purl.obolibrary.org/obo/OPMI_",ddanat:"http://purl.obolibrary.org/obo/DDANAT_",scdo:"http://purl.obolibrary.org/obo/SCDO_",xpo:"http://purl.obolibrary.org/obo/XPO_",dron:"http://purl.obolibrary.org/obo/DRON_",bila:"http://4dx.embl.de/4DXpress/reg/all/cview/gene.do?geneID=",gaz:"http://purl.obolibrary.org/obo/GAZ_",hancestro:"http://purl.obolibrary.org/obo/HANCESTRO_",geogeo:"http://purl.obolibrary.org/obo/GEO_",poro:"http://purl.obolibrary.org/obo/PORO_",fobi:"http://purl.obolibrary.org/obo/FOBI_",emapa:"http://purl.obolibrary.org/obo/EMAPA_",stato:"http://purl.obolibrary.org/obo/STATO_",ohmi:"http://purl.obolibrary.org/obo/OHMI_",cvdo:"http://purl.obolibrary.org/obo/CVDO_",caro:"http://purl.obolibrary.org/obo/CARO_",psdo:"http://purl.obolibrary.org/obo/PSDO_",obcs:"http://purl.obolibrary.org/obo/OBCS_",zfa:"http://purl.obolibrary.org/obo/ZFA_",fix:"http://purl.obolibrary.org/obo/FIX_",aism:"http://purl.obolibrary.org/obo/AISM_",nomen:"http://purl.obolibrary.org/obo/NOMEN_",edo:"http://semanticweb.org/edo#",cdno:"http://purl.obolibrary.org/obo/CDNO_",ceph:"http://purl.obolibrary.org/obo/CEPH_",micro:"http://purl.obolibrary.org/obo/MICRO_",wbbt:"http://purl.obolibrary.org/obo/WBbt_",colao:"http://purl.obolibrary.org/obo/COLAO_",ecto:"http://purl.obolibrary.org/obo/ECTO_",genepio:"http://purl.obolibrary.org/obo/GENEPIO_",gno:"http://purl.obolibrary.org/obo/GNO_",tahh:"http://purl.obolibrary.org/obo/TAHH_",loggerhead:"http://purl.obolibrary.org/obo/LOGGERHEAD_",iptc4xmpc:"http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/",mirnao:"http://purl.obolibrary.org/obo/MIRNAO_",pdro:"http://purl.obolibrary.org/obo/PDRO_",ncro:"http://purl.obolibrary.org/obo/NCRO_",bootstrep:"http://purl.obolibrary.org/obo/BOOTSTREP_",mao:"http://purl.obolibrary.org/obo/MAO_",mfmo:"http://purl.obolibrary.org/obo/MFMO_",multionto:"http://purl.org/net/multionto/",whyis:"http://vocab.rpi.edu/whyis/",ecocore:"http://purl.obolibrary.org/obo/ECOCORE_",aeo:"http://purl.obolibrary.org/obo/AEO_",ecao:"http://purl.obolibrary.org/obo/ECAO_",fbbi:"http://purl.obolibrary.org/obo/FBbi_",ato:"http://purl.obolibrary.org/obo/ATO_",lipro:"http://purl.obolibrary.org/obo/LIPRO_",tads:"http://purl.obolibrary.org/obo/TADS_",disdriv:"http://purl.obolibrary.org/obo/DISDRIV_",vto:"http://purl.obolibrary.org/obo/VTO_",miapa:"http://purl.obolibrary.org/obo/MIAPA_",cio:"http://purl.obolibrary.org/obo/CIO_",lepao:"http://purl.obolibrary.org/obo/LEPAO_",resid:"https://proteininformationresource.org/cgi-bin/resid?id=",interpro:"http://purl.obolibrary.org/obo/IPR_",ogg:"http://purl.obolibrary.org/obo/OGG_",miro:"http://purl.obolibrary.org/obo/MIRO_",zea:"http://purl.obolibrary.org/obo/ZEA_",mpbv:"http://meta-pfarrerbuch.evangelische-archive.de/vocabulary#",chiro:"http://purl.obolibrary.org/obo/CHIRO_",dgaterms:"https://w3id.org/dgaterms#",emobon:"http://www.embrc.eu/emobon/EmoBonOntology#",duodrl:"https://w3id.org/duodrl#",norse:"https://w3id.org/aksw/norse#",mcro:"https://www.ebi.ac.uk/ols4/ontologies/mcro/classes?obo_id=MCRO:",vario:"http://purl.obolibrary.org/obo/VariO_",aro:"http://purl.obolibrary.org/obo/ARO_",ngbo:"http://purl.obolibrary.org/obo/NGBO_",flopo:"http://purl.obolibrary.org/obo/FLOPO_",hso:"http://purl.obolibrary.org/obo/HSO_",upa:"http://www.grenoble.prabi.fr/obiwarehouse/unipathway/upa?upid=",amphx:"http://purl.obolibrary.org/obo/AMPHX_",fbsp:"http://purl.obolibrary.org/obo/FBSP_",rex:"http://purl.obolibrary.org/obo/REX_"};let CE=(()=>{class r{static _instance;_nsMap;static getInstance(){return this._instance||(this._instance=new r),this._instance}compactIRI(e){let n=this._nsMap;void 0===n&&(n=this._buildNSMap());let o=e;if(e.includes("#"))o=`${e.split("#")[0]}#`;else{const s=e.split("/");s.pop(),o=s.join("/")+"/"}if(void 0===o)return e;const i=n[o];return void 0===i?e:e.replace(o,`${i}:`)}expandIRI(e){const n=e.split(":")[0];return e.replace(`${n}:`,wi[n]??ie[n])}_buildNSMap(){const e={};return Object.keys(wi).forEach(n=>e[wi[n]]=n),Object.keys(ie).forEach(n=>e[ie[n]]=n),this._nsMap=e,e}}return r})();class DE{constructor(t,e,n,o,i){this._api=t,this._projectId=e,this._queryCache=o,this._graphType=i,this._currentLang=n,this._api.setLanguage(n),this._contentCategories=new sn([]),this._entityCategories=new sn([]),this._relationships=new sn([]),this.availableContentCategories=this._contentCategories.asReadonly(),this.availableEntityCategories=this._entityCategories.asReadonly(),this.availableEntityRelationships=this._relationships.asReadonly(),this.ready=this._load(n).catch(s=>console.error("[CueProjectSchema] Initial load failed:",s))}_api;_projectId;_queryCache;_graphType;_cache=new Map;_currentLang;_contentCategories;_entityCategories;_relationships;availableContentCategories;availableEntityCategories;availableEntityRelationships;ready;get language(){return this._api.language}setLanguage(t){this._currentLang!==t&&(this._currentLang=t,this._api.setLanguage(t),this._load(t).catch(e=>console.error("[CueProjectSchema] Language switch failed:",e)))}refresh(){var t=this;return(0,E.A)(function*(){const e=t._api.language;t._cache.delete(e),yield t._load(e)})()}_load(t){var e=this;return(0,E.A)(function*(){const n=e._cache.get(t);if(n)return void e._apply(n);const o=e._buildCategoriesQuery(t,"ContentCategory"),i=e._buildCategoriesQuery(t,"EntityCategory"),s=e._buildRelationshipsQuery(t);yield Tg(o+i+s,(0,E.A)(function*(){const[a,l,u]=yield Promise.all([e._runCategoriesQuery(o),e._runCategoriesQuery(i),e._runRelationshipsQuery(s)]);return{contentCategories:a,entityCategories:l,relationships:u}}),a=>{e._cache.set(t,a),e._currentLang===t&&e._apply(a)},e._queryCache)})()}_apply(t){this._contentCategories.set(t.contentCategories),this._entityCategories.set(t.entityCategories),this._relationships.set(t.relationships)}_fetchCategories(t,e){var n=this;return(0,E.A)(function*(){return n._runCategoriesQuery(n._buildCategoriesQuery(t,e))})()}_buildCategoriesQuery(t,e){return`PREFIX qcy: <${ie.qcy}>\nPREFIX skos: <${wi.skos}>\nSELECT ?iri ?parent (SAMPLE(?l) AS ?label)\nWHERE {\n ?iri a qcy:${e} .\n OPTIONAL { ?iri skos:prefLabel ?lang_label FILTER(LANG(?lang_label) = "${t}") }\n OPTIONAL { ?iri skos:prefLabel ?no_lang_label }\n BIND(COALESCE(?lang_label, ?no_lang_label) AS ?l)\n OPTIONAL { ?iri skos:broader ?parent }\n}\nGROUP BY ?iri ?parent`}_runCategoriesQuery(t){var e=this;return(0,E.A)(function*(){return(yield e._api.sparql(t,e._projectId,e._graphType)).results.bindings.filter(n=>void 0!==n.iri).map(n=>{const o=n.iri.value;return{iri:o,label:n.label?.value??o.split("#").at(-1)??o,parent:n.parent?.value}})})()}_fetchRelationships(t){var e=this;return(0,E.A)(function*(){return e._runRelationshipsQuery(e._buildRelationshipsQuery(t))})()}_buildRelationshipsQuery(t){return`PREFIX qcy: <${ie.qcy}>\nPREFIX rdfs: <${wi.rdfs}>\nSELECT ?iri ?parent (SAMPLE(?l) AS ?label)\nWHERE {\n ?x qcy:relatedEntity ?y ;\n ?iri ?y .\n OPTIONAL { ?iri rdfs:label ?lang_label FILTER(LANG(?lang_label) = "${t}") }\n OPTIONAL { ?iri rdfs:label ?no_lang_label }\n BIND(COALESCE(?lang_label, ?no_lang_label) AS ?l)\n OPTIONAL { ?iri rdfs:subPropertyOf ?parent }\n}\nGROUP BY ?iri ?parent`}_runRelationshipsQuery(t){var e=this;return(0,E.A)(function*(){return(yield e._api.sparql(t,e._projectId,e._graphType)).results.bindings.filter(n=>void 0!==n.iri).map(n=>{const o=n.iri.value;return{iri:o,label:n.label?.value??o.split("#").at(-1)??o,parent:n.parent?.value}})})()}}class Og{constructor(t,e,n=Sg,o,i,s=!1){this._api=t,this._projectId=e,this._queryCache=o,this._graphType=i,this._verbose=s,this.baseURL=`${n}${e}/`,this.entityInfoMap=this._entityInfoMapComputed,this.entityGraph=this._entityGraph.asReadonly(),this._entityOSMMap.subscribe(()=>this._checkPendingOSMFetches()),this._fetchEntityGraph().catch(a=>console.error("[CueProjectEntities] Entity graph fetch failed:",a))}_api;_projectId;_queryCache;_graphType;_verbose;baseURL;_entityDetails=new sn({});_entityDocuments=new sn({});_entityRelationships=new sn({});_entityOSMMap=new sn({});_osmWKTMap=new sn({});_fetchingOSMIds=new Set;_seenIds=new Set;_entityGraph=new sn(void 0);_entityInfoMapComputed=function Ig(r,t){const e=new Set;let n=t(),o=!1;const i=[],s=()=>{o=!0;for(const a of e)a()};for(const a of r)i.push(a.subscribe(s));return{get:()=>(o&&(n=t(),o=!1),n),subscribe:a=>(e.add(a),()=>e.delete(a)),destroy(){for(const a of i)a();e.clear()}}}([this._entityDetails,this._entityDocuments,this._entityRelationships,this._entityOSMMap,this._osmWKTMap],()=>this._computeEntityInfoMap());entityInfoMap;entityGraph;entityIri(t){return`${this.baseURL}${t}`}_resourceIri(t){return`${this.baseURL}${t}`}_log(t){this._verbose&&console.debug(`[CueProjectEntities pid=${this._projectId}] ${t}`)}reset(){this._entityDetails.set({}),this._entityDocuments.set({}),this._entityRelationships.set({}),this._entityOSMMap.set({}),this._osmWKTMap.set({}),this._entityGraph.set(void 0),this._fetchingOSMIds.clear(),this._seenIds.clear(),this._fetchEntityGraph().catch(t=>console.error("[CueProjectEntities] Entity graph fetch failed after reset:",t))}requestEntityData(t,e=!1){for(const s of t)this._seenIds.add(s);const n=t.filter(s=>void 0===this._entityDetails.get()[s]);if(0===n.length)return;this._log(`requestEntityData: ${n.length} new / ${t.length} requested | cumulative: ${this._seenIds.size} seen`);const o=n.map(s=>`r:${s}`).join(" ");this._api.sparql(`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${this.baseURL}>\nSELECT ?id (SAMPLE(?val) AS ?value) (GROUP_CONCAT(DISTINCT STR(?cat); SEPARATOR=";") AS ?categories) ?mentionCount\nWHERE {\n VALUES ?iri { ${o} }\n ?iri qcy:hasEntityCategory ?cat ;\n qcy:value ?val\n BIND(REPLACE(STR(?iri), "^.*/([^/]*)$", "$1") AS ?id)\n ${e?"{SELECT ?iri (COUNT(?mention) AS ?mentionCount)\n WHERE { ?mention qcy:resolvesTo ?iri } GROUP BY ?iri}":""}\n}\nGROUP BY ?id ?mentionCount`,this._projectId,this._graphType).then(s=>{const a=s,l={...this._entityDetails.get()};a.results.bindings.forEach(u=>{u.id&&(l[u.id.value]={value:u.value?.value??"",categories:u.categories?.value?.split(";").filter(Boolean)??[],mentionCount:u.mentionCount?parseInt(u.mentionCount.value,10):void 0})}),this._entityDetails.set(l),this._log(`entityDetails: ${Object.keys(l).length} with metadata / ${this._seenIds.size} seen (cumulative)`)}).catch(s=>console.error("[CueProjectEntities] requestEntityData failed:",s))}requestEntityLocations(t){var e=this;return(0,E.A)(function*(){const n=t.filter(u=>void 0===e._entityOSMMap.get()[u]);if(0===n.length)return;for(const u of t)e._seenIds.add(u);e._log(`requestEntityLocations: ${n.length} new / ${t.length} requested | cumulative: ${e._seenIds.size} seen`);const o={...e._entityOSMMap.get()};for(const u of n)o[u]={direct:[],indirect:[]};e._entityOSMMap.set(o);const i=n.map(u=>`r:${u}`).join(" "),s=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?id ?osm ?direct ?rels ?entityUUID\nWHERE {\n VALUES ?iri { ${i} }\n {\n SELECT ?iri ?osm ?direct\n WHERE {\n ?iri qcy:similarTo ?osm .\n FILTER STRSTARTS(STR(?osm), "https://www.openstreetmap.org/")\n BIND(true AS ?direct)\n }\n }\n UNION\n {\n SELECT ?iri ?osm ?direct ?entityUUID (GROUP_CONCAT(STR(?rel); SEPARATOR=";") AS ?rels)\n WHERE {\n ?iri qcy:relatedEntity ?loc .\n ?iri ?rel ?loc .\n ?loc qcy:similarTo ?osm .\n FILTER STRSTARTS(STR(?osm), "https://www.openstreetmap.org/")\n FILTER(?rel != qcy:relatedEntity)\n BIND(false AS ?direct)\n BIND(REPLACE(STR(?loc), "^.*/([^/]*)$", "$1") AS ?entityUUID)\n } GROUP BY ?iri ?osm ?direct ?entityUUID\n }\n BIND(REPLACE(STR(?iri), "^.*/([^/]*)$", "$1") AS ?id)\n}`,a=yield e._api.sparql(s,e._projectId,e._graphType),l={...e._entityOSMMap.get()};a.results.bindings.forEach(u=>{if(!u.id||!u.osm)return;const h=u.id.value,p=u.osm.value,_="true"===u.direct?.value,v=u.rels?.value?.split(";").filter(Boolean)??[],L=u.entityUUID?.value,G=l[h]??{direct:[],indirect:[]};_?G.direct.push(p):L&&G.indirect.push({osm:p,viaRels:v,entityUUID:L}),l[h]=G}),e._entityOSMMap.set(l),e._log(`entityOSMMap: ${Object.keys(l).length} with OSM / ${e._seenIds.size} seen (cumulative)`)})()}fetchEntityRelationships(t){var e=this;return(0,E.A)(function*(){const n=t.replace(/^.*\/([^/]*)$/,"$1");e._entityRelationships.set({...e._entityRelationships.get(),[n]:{incoming:[],outgoing:[]}});const[o,i]=yield Promise.all([e._fetchOutgoingRelationships(t),e._fetchIncomingRelationships(t)]),s={outgoing:o,incoming:i};return e._entityRelationships.set({...e._entityRelationships.get(),[n]:s}),s})()}fetchEntityDocuments(t){var e=this;return(0,E.A)(function*(){const n=t.replace(/^.*\/([^/]*)$/,"$1");e._entityDocuments.set({...e._entityDocuments.get(),[n]:[]}),void 0===e._entityDetails.get()[n]&&e.requestEntityData([n]);const o=`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n BIND(<${t}> AS ?iri)\n ?doc a qcy:FileContent ;\n qcy:about ?iri .\n BIND(REPLACE(STR(?doc), "^.*/([^/]*)$", "$1") AS ?id)\n}`,i=(yield e._api.sparql(o,e._projectId,e._graphType)).results.bindings.filter(s=>void 0!==s.id).map(s=>s.id.value);return e._entityDocuments.set({...e._entityDocuments.get(),[n]:i}),i})()}contentCategoriesInProject(){var t=this;return(0,E.A)(function*(e=!0){const o=`PREFIX qcy: <${ie.qcy}>\nPREFIX skos: <${wi.skos}>\nSELECT ?iri (SAMPLE(?l) AS ?label) ?count\nWHERE {\n ?iri a qcy:EntityCategory .\n OPTIONAL { ?iri skos:prefLabel ?lang_label FILTER(LANG(?lang_label) = "${t._api.language}") }\n OPTIONAL { ?iri skos:prefLabel ?no_lang_label }\n BIND(COALESCE(?lang_label, ?no_lang_label) AS ?l)\n ${e?"{ SELECT (COUNT(?x) AS ?count) ?iri where { ?x a qcy:CanonicalEntity ; qcy:hasEntityCategory ?iri } GROUP BY ?iri }":""}\n}\nGROUP BY ?iri ?count\nORDER BY ${e?"DESC(?count)":"ASC(?label)"}`;return(yield t._api.sparql(o,t._projectId,t._graphType)).results.bindings.filter(i=>void 0!==i.iri).map(i=>{const s=i.count?parseInt(i.count.value,10):0,a=i.label?.value??i.iri.value.split("#").at(-1);return{iri:i.iri.value,label:s>0?`${a} (${s})`:a??""}})}).apply(this,arguments)}entitiesByCategory(t){var e=this;return(0,E.A)(function*(n,o=!1){if(0===n.length)return[];const i=CE.getInstance(),a=n.map(u=>`<${(u=>u.startsWith("http://")||u.startsWith("https://")?u:i.expandIRI(u))(u)}>`).join(" "),l=o?`PREFIX qcy: <${ie.qcy}>\nSELECT ?id (SAMPLE(?val) AS ?value) (GROUP_CONCAT(DISTINCT STR(?allCat); SEPARATOR=";") AS ?categories)\nWHERE {\n VALUES ?filterCat { ${a} }\n ?iri a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?filterCat ;\n qcy:value ?val ;\n qcy:hasEntityCategory ?allCat .\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}\nGROUP BY ?id`:`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n VALUES ?filterCat { ${a} }\n ?iri a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?filterCat .\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}`;return(yield e._api.sparql(l,e._projectId,e._graphType)).results.bindings.filter(u=>u.id).map(u=>{const h=u.id.value,p={iri:e._resourceIri(h),uuid:h};return o?{...p,value:u.value?.value??"",categories:u.categories?.value?.split(";").filter(Boolean)??[]}:p})}).apply(this,arguments)}buildSummaryGraph(t){var e=this;return(0,E.A)(function*(){const n=`PREFIX qcy: <${ie.qcy}>\nSELECT\n ?sourceCat\n ?predicate\n ?targetCat\n (COUNT(*) AS ?weight)\nWHERE {\n ?s a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?sourceCat .\n ?o a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?targetCat .\n ?s ?predicate ?o .\n FILTER(isIRI(?s) && isIRI(?o))\n FILTER(?predicate != qcy:relatedEntity)\n}\nGROUP BY ?sourceCat ?predicate ?targetCat\nORDER BY DESC(?weight)`,o=yield e._api.sparql(n,e._projectId,e._graphType),i=o.results.bindings.filter(s=>s.sourceCat&&s.predicate&&s.targetCat);if("graph"===t){const s=new Set,a=[];for(const l of i){const u=l.sourceCat.value,h=l.predicate.value,p=l.targetCat.value,_=parseInt(l.weight.value,10);s.add(u),s.add(p),a.push({sourceID:u,predicate:h,targetID:p,weight:_})}return{entities:Array.from(s).map(l=>({iri:l})),relations:a}}if("md"===t){const s=CE.getInstance(),a=i.map(p=>({src:s.compactIRI(p.sourceCat.value),pred:s.compactIRI(p.predicate.value),tgt:s.compactIRI(p.targetCat.value),weight:parseInt(p.weight.value,10)}));if(0===a.length)return"(no results)";const l=Math.max(...a.map(p=>p.src.length)),u=Math.max(...a.map(p=>p.pred.length)),h=Math.max(...a.map(p=>p.tgt.length));return a.map(p=>`${p.src.padEnd(l)} -> ${p.pred.padEnd(u)} -> ${p.tgt.padEnd(h)} (${p.weight})`).join("\n")}return o})()}_computeEntityInfoMap(){const t=this._entityDetails.get(),e=this._entityDocuments.get(),n=this._entityRelationships.get(),o=this._entityOSMMap.get(),i=this._osmWKTMap.get(),s=new Set([...Object.keys(t),...Object.keys(o).filter(l=>{const u=o[l];return u.direct.length>0||u.indirect.length>0})]),a={};for(const l of s){const u=t[l],h=o[l];let p,_;if(h){const v=new Set;p=h.direct.filter(G=>void 0!==i[G]&&!v.has(G)&&!!v.add(G)).map(G=>({osmIRI:G,wkt:i[G]}));const L=new Map;for(const{osm:G,viaRels:rt,entityUUID:et}of h.indirect){const vt=i[G];if(vt)for(const yt of rt){const kt=`${yt}:${et}`,Bt=L.get(kt)??{geometries:[],entityUUID:et};Bt.geometries.some(At=>At.osmIRI===G)||(Bt.geometries.push({osmIRI:G,wkt:vt}),L.set(kt,Bt))}}L.size>0&&(_=Array.from(L.entries()).map(([G,{geometries:rt,entityUUID:et}])=>({rel:G.split(":")[0],geometries:rt,entityUUID:et})))}a[l]={value:u?.value??"",categories:u?.categories??[],mentionCount:u?.mentionCount,documentRefs:e[l],relationshipData:n[l],directMapGeometries:p,indirectMapGeometries:_}}return a}_fetchOutgoingRelationships(t){var e=this;return(0,E.A)(function*(){const n=`PREFIX qcy: <${ie.qcy}>\nSELECT ?rel ?related (SAMPLE(?val) AS ?nodeValue) (GROUP_CONCAT(STR(?cat); SEPARATOR=";") AS ?categories)\nWHERE {\n BIND(<${t}> AS ?s)\n ?s qcy:relatedEntity ?related ;\n ?rel ?related .\n ?related qcy:hasEntityCategory ?cat ;\n qcy:value ?val\n FILTER(?rel != qcy:relatedEntity)\n}\nGROUP BY ?rel ?related`,o=yield e._api.sparql(n,e._projectId,e._graphType),i=[],s={...e._entityDetails.get()};return o.results.bindings.forEach(a=>{if(!a.rel||!a.related)return;const l=a.categories?.value?.split(";").filter(Boolean)??[];i.push({relIRI:a.rel.value,nodeIRI:a.related.value,nodeValue:a.nodeValue?.value??"",nodeCategories:l});const u=a.related.value.replace(/^.*\/([^/]*)$/,"$1");s[u]={value:a.nodeValue?.value??"",categories:l}}),e._entityDetails.set(s),i})()}_fetchIncomingRelationships(t){var e=this;return(0,E.A)(function*(){const n=`PREFIX qcy: <${ie.qcy}>\nSELECT ?rel ?relating (SAMPLE(?val) AS ?nodeValue) (GROUP_CONCAT(STR(?cat); SEPARATOR=";") AS ?categories)\nWHERE {\n BIND(<${t}> AS ?s)\n ?relating qcy:relatedEntity ?s ;\n ?rel ?s .\n ?relating qcy:hasEntityCategory ?cat ;\n qcy:value ?val\n FILTER(?rel != qcy:relatedEntity)\n}\nGROUP BY ?rel ?relating`,o=yield e._api.sparql(n,e._projectId,e._graphType),i=[],s={...e._entityDetails.get()};return o.results.bindings.forEach(a=>{if(!a.rel||!a.relating)return;const l=a.categories?.value?.split(";").filter(Boolean)??[];i.push({relIRI:a.rel.value,nodeIRI:a.relating.value,nodeValue:a.nodeValue?.value??"",nodeCategories:l});const u=a.relating.value.replace(/^.*\/([^/]*)$/,"$1");s[u]={value:a.nodeValue?.value??"",categories:l}}),e._entityDetails.set(s),i})()}_fetchEntityGraph(){var t=this;return(0,E.A)(function*(){const e=`PREFIX qcy: <${ie.qcy}>\nSELECT ?e1Cat ?e2Cat (COUNT(?e1) AS ?e1Count) (COUNT(?e2) AS ?e2Count)\nWHERE {\n ?e1 a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?e1Cat ;\n qcy:relatedEntity ?e2 .\n ?e2 qcy:hasEntityCategory ?e2Cat\n}\nGROUP BY ?e1Cat ?e2Cat`;yield Tg(e,(0,E.A)(function*(){const n=yield t._api.sparql(e,t._projectId,t._graphType),o=[],i=[];return n.results.bindings.forEach(s=>{if(!s.e1Cat||!s.e2Cat)return;const a=s.e1Cat.value,l=s.e2Cat.value,u=s.e1Count&&parseInt(s.e1Count.value,10)||20,h=s.e2Count&&parseInt(s.e2Count.value,10)||20;o.some(p=>p.iri===a)||o.push({iri:a,size:u}),o.some(p=>p.iri===l)||o.push({iri:l,size:h}),i.push({sourceID:a,targetID:l})}),{entities:o,relations:i}}),n=>t._entityGraph.set(n),t._queryCache)})()}_checkPendingOSMFetches(){const t=this._entityOSMMap.get(),e=this._osmWKTMap.get(),n=[];for(const o of Object.values(t)){for(const i of o.direct)!e[i]&&!this._fetchingOSMIds.has(i)&&n.push(i);for(const{osm:i}of o.indirect)!e[i]&&!this._fetchingOSMIds.has(i)&&n.push(i)}if(0!==n.length){for(const o of n)this._fetchingOSMIds.add(o);this._fetchOSMLocations(n).catch(o=>console.error("[CueProjectEntities] OSM WKT fetch failed:",o))}}_fetchOSMLocations(t){var e=this;return(0,E.A)(function*(){const n=t.filter(l=>!l.includes("/relation/"));if(0===n.length)return;const o=n.map(l=>`<${l}>`).join(" "),i=`PREFIX geo: <${wi.geo}>\nSELECT * WHERE {\n VALUES ?s { ${o} }\n SERVICE <https://qlever.dev/api/osm-planet> {\n ?s geo:hasGeometry/geo:asWKT ?wkt\n }\n}`,s=yield e._api.sparql(i,e._projectId,e._graphType),a={...e._osmWKTMap.get()};s.results.bindings.forEach(l=>{!l.s||!l.wkt||(a[l.s.value]=l.wkt.value,e._fetchingOSMIds.delete(l.s.value))}),e._osmWKTMap.set(a)})()}}var B=(r=>(r.AUTOMATION="automation",r.ARCHIVE="archive",r.AUDIO="audio",r.BACKUP="backup",r.BINARY="binary",r.BIM="bim",r.CAD="cad",r.DATA="data",r.EMAIL="email",r.FONT="font",r.GEOSPATIAL="geospatial",r.IMAGE="image",r.INSTALLER="installer",r.MARKUP="markup",r.MULTIMEDIA="multimedia",r.PLANNING="planning",r.PRESENTATION="presentation",r.SCRIPT="script",r.SPREADSHEET="spreadsheet",r.TEXT="text",r.THREE_D="3d",r.UNKNOWN="unknown",r.VIDEO="video",r))(B||{});const Vg={".aac":{type:B.AUDIO,open:!0,suffix:".aac",mime:"audio/aac"},".abw":{type:B.TEXT,open:!0,suffix:".abw",mime:"application/x-abiword"},".arc":{type:B.ARCHIVE,open:!1,suffix:".arc",mime:"application/x-freearc"},".avif":{type:B.IMAGE,open:!0,suffix:".avif",mime:"image/avif"},".avi":{type:B.VIDEO,open:!0,suffix:".avi",mime:"video/x-msvideo"},".apng":{type:B.IMAGE,open:!0,suffix:".apng",mime:"image/apng"},".bak":{type:B.BACKUP,open:!1,suffix:".bak",mime:"application/octet-stream"},".bin":{type:B.BINARY,open:!1,suffix:".bin",mime:"application/octet-stream"},".bmc":{type:B.BIM,open:!1,suffix:".bmc",mime:"application/octet-stream"},".bmp":{type:B.IMAGE,open:!0,suffix:".bmp",mime:"image/bmp"},".bz":{type:B.ARCHIVE,open:!0,suffix:".bz",mime:"application/x-bzip"},".bz2":{type:B.ARCHIVE,open:!0,suffix:".bz2",mime:"application/x-bzip2"},".c3d":{type:B.THREE_D,open:!0,suffix:".c3d",mime:"application/octet-stream"},".cpg":{type:B.GEOSPATIAL,open:!0,suffix:".cpg",mime:"text/plain"},".css":{type:B.MARKUP,open:!0,suffix:".css",mime:"text/css"},".csv":{type:B.DATA,open:!0,suffix:".csv",mime:"text/csv"},".dat":{type:B.DATA,open:!1,suffix:".dat",mime:"application/octet-stream"},".dbf":{type:B.DATA,open:!0,suffix:".dbf",mime:"application/x-dbf"},".doc":{type:B.TEXT,open:!1,suffix:".doc",mime:"application/msword"},".docx":{type:B.TEXT,open:!0,suffix:".docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},".e57":{type:B.THREE_D,open:!0,suffix:".e57",mime:"application/octet-stream"},".epub":{type:B.TEXT,open:!0,suffix:".epub",mime:"application/epub+zip"},".exe":{type:B.INSTALLER,open:!1,suffix:".exe",mime:"application/x-msdownload"},".ffs":{type:B.AUTOMATION,open:!1,suffix:".ffs",mime:"application/octet-stream"},".fme":{type:B.AUTOMATION,open:!1,suffix:".fme",mime:"application/octet-stream"},".fmw":{type:B.AUTOMATION,open:!1,suffix:".fmw",mime:"application/octet-stream"},".gh":{type:B.THREE_D,open:!1,suffix:".gh",mime:"application/octet-stream"},".gz":{type:B.ARCHIVE,open:!0,suffix:".gz",mime:"application/gzip"},".gif":{type:B.IMAGE,open:!0,suffix:".gif",mime:"image/gif"},".html":{type:B.MARKUP,open:!0,suffix:".html",mime:"text/html"},".htm":{type:B.MARKUP,open:!0,suffix:".htm",mime:"text/html"},".ico":{type:B.IMAGE,open:!1,suffix:".ico",mime:"image/x-icon"},".ics":{type:B.DATA,open:!0,suffix:".ics",mime:"text/calendar"},".jar":{type:B.ARCHIVE,open:!0,suffix:".jar",mime:"application/java-archive"},".jpg":{type:B.IMAGE,open:!0,suffix:".jpg",mime:"image/jpeg"},".jpeg":{type:B.IMAGE,open:!0,suffix:".jpeg",mime:"image/jpeg"},".json":{type:B.DATA,open:!0,suffix:".json",mime:"application/json"},".jsonld":{type:B.DATA,open:!0,suffix:".jsonld",mime:"application/ld+json"},".js":{type:B.SCRIPT,open:!0,suffix:".js",mime:"application/javascript"},".msi":{type:B.INSTALLER,open:!1,suffix:".msi",mime:"application/x-msdownload"},".mov":{type:B.VIDEO,open:!0,suffix:".mov",mime:"video/quicktime"},".mp3":{type:B.AUDIO,open:!0,suffix:".mp3",mime:"audio/mpeg"},".mp4":{type:B.VIDEO,open:!0,suffix:".mp4",mime:"video/mp4"},".mpeg":{type:B.VIDEO,open:!0,suffix:".mpeg",mime:"video/mpeg"},".mtl":{type:B.THREE_D,open:!0,suffix:".mtl",mime:"text/plain"},".odp":{type:B.PRESENTATION,open:!0,suffix:".odp",mime:"application/vnd.oasis.opendocument.presentation"},".ods":{type:B.SPREADSHEET,open:!0,suffix:".ods",mime:"application/vnd.oasis.opendocument.spreadsheet"},".odt":{type:B.TEXT,open:!0,suffix:".odt",mime:"application/vnd.oasis.opendocument.text"},".oga":{type:B.AUDIO,open:!0,suffix:".oga",mime:"audio/ogg"},".ogg":{type:B.AUDIO,open:!0,suffix:".ogg",mime:"audio/ogg"},".ogv":{type:B.VIDEO,open:!0,suffix:".ogv",mime:"video/ogg"},".ogx":{type:B.VIDEO,open:!0,suffix:".ogx",mime:"application/octet-stream"},".otf":{type:B.FONT,open:!0,suffix:".otf",mime:"font/otf"},".png":{type:B.IMAGE,open:!0,suffix:".png",mime:"image/png"},".pdf":{type:B.TEXT,open:!0,suffix:".pdf",mime:"application/pdf"},".php":{type:B.SCRIPT,open:!0,suffix:".php",mime:"application/x-httpd-php"},".pkg":{type:B.INSTALLER,open:!1,suffix:".pkg",mime:"application/octet-stream"},".ppt":{type:B.PRESENTATION,open:!1,suffix:".ppt",mime:"application/vnd.ms-powerpoint"},".pptx":{type:B.PRESENTATION,open:!0,suffix:".pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"},".ps":{type:B.IMAGE,open:!1,suffix:".ps",mime:"application/postscript"},".rar":{type:B.ARCHIVE,open:!1,suffix:".rar",mime:"application/vnd.rar"},".rcp":{type:B.THREE_D,open:!1,suffix:".rcp",mime:"application/octet-stream"},".rtf":{type:B.TEXT,open:!0,suffix:".rtf",mime:"application/rtf"},".sbn":{type:B.GEOSPATIAL,open:!1,suffix:".sbn",mime:"application/octet-stream"},".sbx":{type:B.GEOSPATIAL,open:!1,suffix:".sbx",mime:"application/octet-stream"},".shx":{type:B.GEOSPATIAL,open:!0,suffix:".shx",mime:"application/octet-stream"},".sh":{type:B.SCRIPT,open:!0,suffix:".sh",mime:"application/x-sh"},".slk":{type:B.DATA,open:!0,suffix:".slk",mime:"application/vnd.ms-excel"},".svg":{type:B.IMAGE,open:!0,suffix:".svg",mime:"image/svg+xml"},".tar":{type:B.ARCHIVE,open:!0,suffix:".tar",mime:"application/x-tar"},".tiff":{type:B.IMAGE,open:!0,suffix:".tiff",mime:"image/tiff"},".tif":{type:B.IMAGE,open:!0,suffix:".tif",mime:"image/tiff"},".ttf":{type:B.FONT,open:!0,suffix:".ttf",mime:"font/ttf"},".txt":{type:B.TEXT,open:!0,suffix:".txt",mime:"text/plain"},".vgl":{type:B.THREE_D,open:!1,suffix:".vgl",mime:"application/octet-stream"},".vwx":{type:B.CAD,open:!1,suffix:".vwx",mime:"application/octet-stream"},".wav":{type:B.AUDIO,open:!0,suffix:".wav",mime:"audio/wav"},".webm":{type:B.VIDEO,open:!0,suffix:".webm",mime:"video/webm"},".webp":{type:B.IMAGE,open:!0,suffix:".webp",mime:"image/webp"},".wmv":{type:B.VIDEO,open:!0,suffix:".wmv",mime:"video/x-ms-wmv"},".woff":{type:B.FONT,open:!0,suffix:".woff",mime:"font/woff"},".woff2":{type:B.FONT,open:!0,suffix:".woff2",mime:"font/woff2"},".xls":{type:B.SPREADSHEET,open:!1,suffix:".xls",mime:"application/vnd.ms-excel"},".xlsx":{type:B.SPREADSHEET,open:!0,suffix:".xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},".xhtml":{type:B.MARKUP,open:!0,suffix:".xhtml",mime:"application/xhtml+xml"},".xml":{type:B.DATA,open:!0,suffix:".xml",mime:"application/xml"},".xyz":{type:B.THREE_D,open:!0,suffix:".xyz",mime:"chemical/x-xyz"},".zip":{type:B.ARCHIVE,open:!0,suffix:".zip",mime:"application/zip"},".7z":{type:B.ARCHIVE,open:!0,suffix:".7z",mime:"application/x-7z-compressed"},".eml":{type:B.EMAIL,open:!0,suffix:".eml",mime:"message/rfc822"},".emlx":{type:B.EMAIL,open:!0,suffix:".emlx",mime:"application/octet-stream"},".mbx":{type:B.EMAIL,open:!0,suffix:".mbx",mime:"application/mbox"},".md":{type:B.TEXT,open:!0,suffix:".md",mime:"text/markdown"},".msg":{type:B.EMAIL,open:!1,suffix:".msg",mime:"application/vnd.ms-outlook"},".rst":{type:B.TEXT,open:!0,suffix:".rst",mime:"text/x-rst"},".heic":{type:B.IMAGE,open:!1,suffix:".heic",mime:"image/heic"},".mpp":{type:B.PLANNING,open:!1,suffix:".mpp",mime:"application/vnd.ms-project"},".tsv":{type:B.DATA,open:!0,suffix:".tsv",mime:"text/tab-separated-values"},".b3dm":{type:B.THREE_D,open:!0,suffix:".b3dm",mime:"application/octet-stream"},".i3dm":{type:B.THREE_D,open:!0,suffix:".i3dm",mime:"application/octet-stream"},".pnts":{type:B.THREE_D,open:!1,suffix:".pnts",mime:"application/octet-stream"},".cmpt":{type:B.THREE_D,open:!1,suffix:".cmpt",mime:"application/octet-stream"},".gltf":{type:B.THREE_D,open:!0,suffix:".gltf",mime:"model/gltf+json"},".glb":{type:B.THREE_D,open:!0,suffix:".glb",mime:"model/gltf-binary"},".ifc":{type:B.BIM,open:!0,suffix:".ifc",mime:"application/x-step"},".ifczip":{type:B.BIM,open:!0,suffix:".ifczip",mime:"application/zip"},".ifcxml":{type:B.BIM,open:!0,suffix:".ifcxml",mime:"application/xml"},".3dm":{type:B.CAD,open:!1,suffix:".3dm",mime:"application/vnd.x-rhino3dm"},".3ds":{type:B.THREE_D,open:!1,suffix:".3ds",mime:"image/x-3ds"},".ghp":{type:B.CAD,open:!1,suffix:".ghp",mime:"application/octet-stream"},".rvt":{type:B.BIM,open:!1,suffix:".rvt",mime:"application/octet-stream"},".rfa":{type:B.BIM,open:!1,suffix:".rfa",mime:"application/octet-stream"},".rft":{type:B.BIM,open:!1,suffix:".rft",mime:"application/octet-stream"},".rte":{type:B.BIM,open:!1,suffix:".rte",mime:"application/octet-stream"},".pla":{type:B.BIM,open:!1,suffix:".pla",mime:"application/octet-stream"},".pln":{type:B.BIM,open:!1,suffix:".pln",mime:"application/octet-stream"},".gsm":{type:B.BIM,open:!1,suffix:".gsm",mime:"application/octet-stream"},".smc":{type:B.BIM,open:!1,suffix:".smc",mime:"application/octet-stream"},".bcf":{type:B.BIM,open:!0,suffix:".bcf",mime:"application/octet-stream"},".dwg":{type:B.CAD,open:!1,suffix:".dwg",mime:"application/acad"},".dwl":{type:B.CAD,open:!1,suffix:".dwl",mime:"application/octet-stream"},".dxf":{type:B.CAD,open:!0,suffix:".dxf",mime:"image/vnd.dxf"},".dgn":{type:B.CAD,open:!1,suffix:".dgn",mime:"application/octet-stream"},".nwd":{type:B.BIM,open:!1,suffix:".nwd",mime:"application/octet-stream"},".obj":{type:B.THREE_D,open:!0,suffix:".obj",mime:"text/plain"},".c4d":{type:B.THREE_D,open:!1,suffix:".c4d",mime:"application/octet-stream"},".teklastructures":{type:B.BIM,open:!1,suffix:".teklastructures",mime:"application/octet-stream"},".pts":{type:B.THREE_D,open:!1,suffix:".pts",mime:"application/octet-stream"},".las":{type:B.THREE_D,open:!0,suffix:".las",mime:"application/octet-stream"},".laz":{type:B.THREE_D,open:!0,suffix:".laz",mime:"application/octet-stream"},".usdz":{type:B.THREE_D,open:!0,suffix:".usdz",mime:"model/vnd.usdz+zip"},".usda":{type:B.THREE_D,open:!0,suffix:".usda",mime:"application/octet-stream"},".usdc":{type:B.THREE_D,open:!0,suffix:".usdc",mime:"application/octet-stream"},".usd":{type:B.THREE_D,open:!0,suffix:".usd",mime:"application/octet-stream"},".psd":{type:B.IMAGE,open:!1,suffix:".psd",mime:"image/vnd.adobe.photoshop"},".psp":{type:B.IMAGE,open:!1,suffix:".psp",mime:"image/x-paintshoppro"},".ai":{type:B.IMAGE,open:!1,suffix:".ai",mime:"application/postscript"},".skp":{type:B.THREE_D,open:!1,suffix:".skp",mime:"application/vnd.sketchup.skp"},".stl":{type:B.THREE_D,open:!0,suffix:".stl",mime:"model/stl"},".fbx":{type:B.THREE_D,open:!0,suffix:".fbx",mime:"application/octet-stream"},".kml":{type:B.GEOSPATIAL,open:!0,suffix:".kml",mime:"application/vnd.google-earth.kml+xml"},".shp":{type:B.GEOSPATIAL,open:!0,suffix:".shp",mime:"application/octet-stream"},".fragments":{type:B.BIM,open:!0,suffix:".fragments",mime:"application/octet-stream"}};class Hl{constructor(t,e,n,o=Sg,i,s,a=!1){this._api=t,this._projectId=e,this._queryCache=i,this._graphType=s,this._verbose=a,this.baseURL=`${o}${e}/`,this._currentLang=n??this._api.language,this.documentInfoMap=this._documentInfoMap.asReadonly(),this.projectDocumentsData=this._projectDocumentsData.asReadonly()}_api;_projectId;_queryCache;_graphType;_verbose;baseURL;_currentLang;_documentInfoMap=new sn({});_seenIds=new Set;_projectDocumentsData=new sn({duplicateCount:0,documentsBySuffix:{},documentsByContentCategory:{}});documentInfoMap;projectDocumentsData;reset(){this._documentInfoMap.set({}),this._seenIds.clear(),this._projectDocumentsData.set({duplicateCount:0,documentsBySuffix:{},documentsByContentCategory:{}})}setLanguage(t){this._currentLang!==t&&(this._currentLang=t,this._api.setLanguage(t),this._documentInfoMap.set({}))}fetchOverview(){var t=this;return(0,E.A)(function*(){t._projectDocumentsData.set({duplicateCount:0,documentsBySuffix:{},documentsByContentCategory:{}});const e=t._buildDocumentsBySuffixQuery(),n=t._buildDocumentsByContentCategoryQuery(),o=t._buildDuplicateCountQuery();yield Tg(e+n+o,(0,E.A)(function*(){const[i,s,a]=yield Promise.all([t._runDocumentsBySuffixQuery(e),t._runDocumentsByContentCategoryQuery(n),t._runDuplicateCountQuery(o)]);return{duplicateCount:a,documentsBySuffix:i,documentsByContentCategory:s}}),i=>t._projectDocumentsData.set(i),t._queryCache)})()}requestDocumentData(t){for(const n of t)this._seenIds.add(n);const e=t.filter(n=>void 0===this._documentInfoMap.get()[n]);0!==e.length&&(this._log(`requestDocumentData: ${e.length} new / ${t.length} requested | cumulative: ${this._seenIds.size} seen`),this._fetchDocumentInfoBatch(e).catch(n=>console.error("[CueProjectDocuments] requestDocumentData failed:",n)))}fetchDocumentData(t){var e=this;return(0,E.A)(function*(){const n=e._documentInfoMap.get(),o=t.filter(s=>void 0===n[s]);for(const s of t)e._seenIds.add(s);o.length>0&&(yield e._fetchDocumentInfoBatch(o));const i=e._documentInfoMap.get();return Object.fromEntries(t.filter(s=>void 0!==i[s]).map(s=>[s,i[s]]))})()}fetchDocumentDataSimple(t){var e=this;return(0,E.A)(function*(){const n=e._documentInfoMap.get(),o=t.filter(s=>void 0===n[s]);for(const s of t)e._seenIds.add(s);o.length>0&&(yield e._fetchSimpleDocumentInfoBatch(o));const i=e._documentInfoMap.get();return Object.fromEntries(t.filter(s=>void 0!==i[s]).map(s=>[s,i[s]]))})()}fetchAlternativeRepresentations(t){var e=this;return(0,E.A)(function*(){const n=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?altId ?contentIRI ?suffix ?rrp\nWHERE {\n r:${t} qcy:alternativeRepresentation ?contentIRI .\n BIND(REPLACE(STR(?contentIRI), "^.*/([^/]*)$", "$1") AS ?altId)\n ?contentIRI qcy:hasFileLocation ?loc .\n ?loc qcy:suffix ?suffix .\n OPTIONAL { ?loc qcy:remoteRelativePath ?rrp }\n}`,o=yield e._api.sparql(n,e._projectId,e._graphType),i={...e._documentInfoMap.get()},s=[];return o.results.bindings.forEach(a=>{if(!a.altId||!a.contentIRI)return;const l=a.altId.value,u={id:l,contentIRI:a.contentIRI.value,path:"",suffix:a.suffix?.value??"",size:0,tags:[],categories:[],remoteRelativePath:a.rrp?.value};i[l]=u,s.push(u)}),e._documentInfoMap.set(i),s})()}randomFilePath(){var t=this;return(0,E.A)(function*(){const e=`PREFIX qcy: <${ie.qcy}>\nSELECT ?path\nWHERE {\n ?fl a qcy:FileLocation ;\n qcy:filePath ?path .\n}\nLIMIT 1`;return(yield t._api.sparql(e,t._projectId,t._graphType)).results.bindings[0]?.path?.value??null})()}documentsBySuffix(t){var e=this;return(0,E.A)(function*(n,o=!1){if(0===n.length)return[];const i=n.map(a=>(a.startsWith(".")?a:`.${a}`).toLowerCase()).map(a=>`"${a}"`).join(" "),s=o?`PREFIX qcy: <${ie.qcy}>\nSELECT ?id (SAMPLE(?fp) AS ?path) ?suffix (MAX(?sz) AS ?size)\nWHERE {\n VALUES ?suffix { ${i} }\n ?iri a qcy:FileContent ;\n qcy:sizeBytes ?sz ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:suffix ?suffix ;\n qcy:filePath ?fp .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix`:`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n VALUES ?suffix { ${i} }\n ?iri a qcy:FileContent ;\n qcy:hasFileLocation/qcy:suffix ?suffix .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}`;return(yield e._api.sparql(s,e._projectId,e._graphType)).results.bindings.filter(a=>a.id).map(a=>{const l=a.id.value,u={iri:e._resourceIri(l),uuid:l};return o?{...u,path:a.path?.value??"",suffix:a.suffix?.value??"",size:a.size?parseInt(a.size.value,10):0}:u})}).apply(this,arguments)}documentsByFileType(t,e=!1){const n=new Set(t),o=Object.values(Vg).filter(i=>n.has(i.type)).map(i=>i.suffix);return this.documentsBySuffix(o,e)}documentsByContentCategory(t){var e=this;return(0,E.A)(function*(n,o=!1){if(0===n.length)return[];const i=n.map(a=>`<${a}>`).join(" "),s=o?`PREFIX qcy: <${ie.qcy}>\nSELECT ?id (SAMPLE(?fp) AS ?path) ?suffix (MAX(?sz) AS ?size)\nWHERE {\n VALUES ?cat { ${i} }\n ?iri a qcy:FileContent ;\n qcy:hasContentCategory ?cat ;\n qcy:sizeBytes ?sz ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:suffix ?suffix ;\n qcy:filePath ?fp .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix`:`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n VALUES ?cat { ${i} }\n ?iri a qcy:FileContent ;\n qcy:hasContentCategory ?cat .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}`;return(yield e._api.sparql(s,e._projectId,e._graphType)).results.bindings.filter(a=>a.id).map(a=>{const l=a.id.value,u={iri:e._resourceIri(l),uuid:l};return o?{...u,path:a.path?.value??"",suffix:a.suffix?.value??"",size:a.size?parseInt(a.size.value,10):0}:u})}).apply(this,arguments)}documentsByMime(t,e=!1){const n=new Set(t),o=Object.values(Vg).filter(i=>n.has(i.mime)).map(i=>i.suffix);return this.documentsBySuffix(o,e)}_resourceIri(t){return`${this.baseURL}${t}`}_log(t){this._verbose&&console.debug(`[CueProjectDocuments pid=${this._projectId}] ${t}`)}_fetchDocumentInfoBatch(t){var e=this;return(0,E.A)(function*(){const n=t.map(u=>`r:${u}`).join(" "),o=e._api.language,i=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?id ?suffix ?size ?subject ?summary\n (SAMPLE(?fp) AS ?path)\n (GROUP_CONCAT(DISTINCT ?tag; SEPARATOR=";") AS ?tags)\n (GROUP_CONCAT(DISTINCT STR(?cat); SEPARATOR=";") AS ?categories)\nWHERE {\n VALUES ?contentIRI { ${n} }\n ?contentIRI qcy:sizeBytes ?size ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:filePath ?fp ;\n qcy:suffix ?suffix .\n OPTIONAL { ?contentIRI qcy:hasContentCategory ?cat }\n OPTIONAL { ?contentIRI qcy:tag ?tag }\n OPTIONAL { ?loc qcy:remoteProviderId ?pid }\n\n OPTIONAL { ?contentIRI qcy:subject ?lang_subj FILTER(LANG(?lang_subj) = "${o}") }\n OPTIONAL { ?contentIRI qcy:subject ?no_lang_subj }\n BIND(COALESCE(?lang_subj, ?no_lang_subj) AS ?subject)\n\n OPTIONAL { ?contentIRI qcy:textSummary ?lang_summary FILTER(LANG(?lang_summary) = "${o}") }\n OPTIONAL { ?contentIRI qcy:textSummary ?no_lang_summary }\n BIND(COALESCE(?lang_summary, ?no_lang_summary) AS ?summary)\n\n BIND(REPLACE(STR(?contentIRI), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix ?size ?subject ?summary`,s=yield e._api.sparql(i,e._projectId),a={...e._documentInfoMap.get()},l={};return s.results.bindings.forEach(u=>{if(!u.id)return;const h=u.id.value,p={id:h,contentIRI:e._resourceIri(h),path:u.path?.value??"",suffix:u.suffix?.value??"",size:u.size?parseInt(u.size.value,10):0,tags:u.tags?.value?.split(";").filter(Boolean)??[],categories:u.categories?.value?.split(";").filter(Boolean)??[],subject:u.subject?.value,summary:u.summary?.value,providerId:u.pid?.value};a[h]=p,l[h]=p}),e._documentInfoMap.set(a),e._log(`fetchDocumentInfoBatch: ${Object.keys(l).length} fetched | cumulative: ${Object.keys(a).length} with metadata / ${e._seenIds.size} seen`),l})()}_fetchSimpleDocumentInfoBatch(t){var e=this;return(0,E.A)(function*(){const n=t.map(l=>`r:${l}`).join(" "),o=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?id ?suffix ?size (SAMPLE(?fp) AS ?path)\nWHERE {\n VALUES ?contentIRI { ${n} }\n ?contentIRI qcy:sizeBytes ?size ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:filePath ?fp ;\n qcy:suffix ?suffix .\n BIND(REPLACE(STR(?contentIRI), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix ?size`,i=yield e._api.sparql(o,e._projectId,e._graphType),s={...e._documentInfoMap.get()},a={};return i.results.bindings.forEach(l=>{if(!l.id)return;const u=l.id.value,h=s[u],p={id:u,contentIRI:e._resourceIri(u),path:l.path?.value??h?.path??u,suffix:l.suffix?.value??h?.suffix??"",size:l.size?parseInt(l.size.value,10):h?.size??0,tags:h?.tags??[],categories:h?.categories??[],subject:h?.subject,summary:h?.summary,providerId:h?.providerId};s[u]=p,a[u]=p}),e._documentInfoMap.set(s),e._log(`fetchSimpleDocumentInfoBatch: ${Object.keys(a).length} fetched | cumulative: ${Object.keys(s).length} with metadata / ${e._seenIds.size} seen`),a})()}_fetchDocumentsBySuffix(){var t=this;return(0,E.A)(function*(){return t._runDocumentsBySuffixQuery(t._buildDocumentsBySuffixQuery())})()}_buildDocumentsBySuffixQuery(){return`PREFIX qcy: <${ie.qcy}>\nSELECT ?ext (SUM(?size) AS ?totalSize) (COUNT(*) AS ?docCount)\nWHERE {\n {\n SELECT DISTINCT ?fc ?ext ?size\n WHERE {\n ?fc a qcy:FileContent ;\n qcy:sizeBytes ?size ;\n qcy:hasFileLocation/qcy:suffix ?ext .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?fc }\n }\n }\n}\nGROUP BY ?ext\nORDER BY DESC(?docCount)`}_runDocumentsBySuffixQuery(t){var e=this;return(0,E.A)(function*(){const n=yield e._api.sparql(t,e._projectId,e._graphType),o={};return n.results.bindings.forEach(i=>{i.ext&&(o[i.ext.value]={size:i.totalSize?parseInt(i.totalSize.value,10):0,count:i.docCount?parseInt(i.docCount.value,10):0})}),o})()}_fetchDocumentsByContentCategory(){var t=this;return(0,E.A)(function*(){return t._runDocumentsByContentCategoryQuery(t._buildDocumentsByContentCategoryQuery())})()}_buildDocumentsByContentCategoryQuery(){return`PREFIX qcy: <${ie.qcy}>\nSELECT ?cat (SUM(?size) AS ?totalSize) (COUNT(*) AS ?docCount)\nWHERE {\n {\n SELECT DISTINCT ?fc ?cat ?size\n WHERE {\n ?fc a qcy:FileContent ;\n qcy:hasContentCategory ?cat ;\n qcy:sizeBytes ?size .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?fc }\n }\n }\n}\nGROUP BY ?cat\nORDER BY DESC(?docCount)`}_runDocumentsByContentCategoryQuery(t){var e=this;return(0,E.A)(function*(){const n=yield e._api.sparql(t,e._projectId,e._graphType),o={};return n.results.bindings.forEach(i=>{i.cat&&(o[i.cat.value]={size:i.totalSize?parseInt(i.totalSize.value,10):0,count:i.docCount?parseInt(i.docCount.value,10):0})}),o})()}_fetchDuplicateCount(){var t=this;return(0,E.A)(function*(){return t._runDuplicateCountQuery(t._buildDuplicateCountQuery())})()}_buildDuplicateCountQuery(){return`PREFIX qcy: <${ie.qcy}>\nSELECT (COUNT(*) AS ?count)\nWHERE {\n SELECT ?fc\n WHERE {\n ?fc a qcy:FileContent ;\n qcy:hasFileLocation ?fl .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?fc }\n }\n GROUP BY ?fc\n HAVING (COUNT(?fl) > 1)\n}`}_runDuplicateCountQuery(t){var e=this;return(0,E.A)(function*(){const n=(yield e._api.sparql(t,e._projectId,e._graphType)).results.bindings[0];return n?.count?parseInt(n.count.value,10):0})()}}const{namedNode:oC}=H;oC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");const{namedNode:iC}=H;iC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");const{namedNode:aC}=H;aC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");const{namedNode:cC}=H;cC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type")},3659(wn,Gt,Pt){"use strict";Pt.d(Gt,{MF:()=>ao,j6:()=>Qn,xZ:()=>Ko,om:()=>ee,Sx:()=>_r,KO:()=>Me});var E=Pt(467),xt=Pt(2040),mt=Pt(1919),Dt=Pt(7814);let Ae,be;const Y=new WeakMap,ot=new WeakMap,wt=new WeakMap,Ct=new WeakMap,Ut=new WeakMap;let H={get(j,U,Q){if(j instanceof IDBTransaction){if("done"===U)return ot.get(j);if("objectStoreNames"===U)return j.objectStoreNames||wt.get(j);if("store"===U)return Q.objectStoreNames[1]?void 0:Q.objectStore(Q.objectStoreNames[0])}return N(j[U])},set:(j,U,Q)=>(j[U]=Q,!0),has:(j,U)=>j instanceof IDBTransaction&&("done"===U||"store"===U)||U in j};function V(j){return"function"==typeof j?function A(j){return j!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Ht(){return be||(be=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(j)?function(...U){return j.apply(de(this),U),N(Y.get(this))}:function(...U){return N(j.apply(de(this),U))}:function(U,...Q){const gt=j.call(de(this),U,...Q);return wt.set(gt,U.sort?U.sort():[U]),N(gt)}}(j):(j instanceof IDBTransaction&&function tt(j){if(ot.has(j))return;const U=new Promise((Q,gt)=>{const St=()=>{j.removeEventListener("complete",Nt),j.removeEventListener("error",lt),j.removeEventListener("abort",lt)},Nt=()=>{Q(),St()},lt=()=>{gt(j.error||new DOMException("AbortError","AbortError")),St()};j.addEventListener("complete",Nt),j.addEventListener("error",lt),j.addEventListener("abort",lt)});ot.set(j,U)}(j),((j,U)=>U.some(Q=>j instanceof Q))(j,function Ve(){return Ae||(Ae=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(j,H):j)}function N(j){if(j instanceof IDBRequest)return function Ot(j){const U=new Promise((Q,gt)=>{const St=()=>{j.removeEventListener("success",Nt),j.removeEventListener("error",lt)},Nt=()=>{Q(N(j.result)),St()},lt=()=>{gt(j.error),St()};j.addEventListener("success",Nt),j.addEventListener("error",lt)});return U.then(Q=>{Q instanceof IDBCursor&&Y.set(Q,j)}).catch(()=>{}),Ut.set(U,j),U}(j);if(Ct.has(j))return Ct.get(j);const U=V(j);return U!==j&&(Ct.set(j,U),Ut.set(U,j)),U}const de=j=>Ut.get(j),kr=["get","getKey","getAll","getAllKeys","count"],Ai=["put","add","delete","clear"],Cn=new Map;function hr(j,U){if(!(j instanceof IDBDatabase)||U in j||"string"!=typeof U)return;if(Cn.get(U))return Cn.get(U);const Q=U.replace(/FromIndex$/,""),gt=U!==Q,St=Ai.includes(Q);if(!(Q in(gt?IDBIndex:IDBObjectStore).prototype)||!St&&!kr.includes(Q))return;const Nt=function(){var lt=(0,E.A)(function*(Ce,...Yt){const Vn=this.transaction(Ce,St?"readwrite":"readonly");let Ln=Vn.store;return gt&&(Ln=Ln.index(Yt.shift())),(yield Promise.all([Ln[Q](...Yt),St&&Vn.done]))[0]});return function(Yt){return lt.apply(this,arguments)}}();return Cn.set(U,Nt),Nt}!function I(j){H=j(H)}(j=>({...j,get:(U,Q,gt)=>hr(U,Q)||j.get(U,Q,gt),has:(U,Q)=>!!hr(U,Q)||j.has(U,Q)}));class Xr{constructor(U){this.container=U}getPlatformInfoString(){return this.container.getProviders().map(Q=>{if(function Yr(j){return"VERSION"===j.getComponent()?.type}(Q)){const gt=Q.getImmediate();return`${gt.library}/${gt.version}`}return null}).filter(Q=>Q).join(" ")}}const Zr="@firebase/app",tn=new mt.Vy("@firebase/app"),Fo="@firebase/app-compat",eo="@firebase/analytics-compat",Dr="@firebase/analytics",Nn="@firebase/app-check-compat",Ri="@firebase/app-check",tr="@firebase/auth",er="@firebase/auth-compat",Uo="@firebase/database",dr="@firebase/data-connect",no="@firebase/database-compat",Si="@firebase/functions",Nr="@firebase/functions-compat",nr="@firebase/installations",pr="@firebase/installations-compat",rr="@firebase/messaging",qo="@firebase/messaging-compat",On="@firebase/performance",Bo="@firebase/performance-compat",Re="@firebase/remote-config",ro="@firebase/remote-config-compat",Wn="@firebase/storage",jo="@firebase/storage-compat",$o="@firebase/firestore",fr="@firebase/ai",Et="@firebase/firestore-compat",zo="firebase",Ge="[DEFAULT]",Ke={[Zr]:"fire-core",[Fo]:"fire-core-compat",[Dr]:"fire-analytics",[eo]:"fire-analytics-compat",[Ri]:"fire-app-check",[Nn]:"fire-app-check-compat",[tr]:"fire-auth",[er]:"fire-auth-compat",[Uo]:"fire-rtdb",[dr]:"fire-data-connect",[no]:"fire-rtdb-compat",[Si]:"fire-fn",[Nr]:"fire-fn-compat",[nr]:"fire-iid",[pr]:"fire-iid-compat",[rr]:"fire-fcm",[qo]:"fire-fcm-compat",[On]:"fire-perf",[Bo]:"fire-perf-compat",[Re]:"fire-rc",[ro]:"fire-rc-compat",[Wn]:"fire-gcs",[jo]:"fire-gcs-compat",[$o]:"fire-fst",[Et]:"fire-fst-compat",[fr]:"fire-vertex","fire-js":"fire-js",[zo]:"fire-js-all"},ae=new Map,bn=new Map,He=new Map;function Or(j,U){try{j.container.addComponent(U)}catch(Q){tn.debug(`Component ${U.name} failed to register with FirebaseApp ${j.name}`,Q)}}function ee(j){const U=j.name;if(He.has(U))return tn.debug(`There were multiple attempts to register component ${U}.`),!1;He.set(U,j);for(const Q of ae.values())Or(Q,j);for(const Q of bn.values())Or(Q,j);return!0}function Qn(j,U){const Q=j.container.getProvider("heartbeat").getImmediate({optional:!0});return Q&&Q.triggerHeartbeat(),j.container.getProvider(U)}function Ko(j){return null!=j&&void 0!==j.settings}const ke=new Dt.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class io{constructor(U,Q,gt){this._isDeleted=!1,this._options={...U},this._config={...Q},this._name=Q.name,this._automaticDataCollectionEnabled=Q.automaticDataCollectionEnabled,this._container=gt,this.container.addComponent(new xt.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(U){this.checkDestroyed(),this._automaticDataCollectionEnabled=U}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(U){this._isDeleted=U}checkDestroyed(){if(this.isDeleted)throw ke.create("app-deleted",{appName:this._name})}}const ao="12.8.0";function _r(j=Ge){const U=ae.get(j);if(!U&&j===Ge&&(0,Dt.T9)())return function an(j,U={}){let Q=j;"object"!=typeof U&&(U={name:U});const gt={name:Ge,automaticDataCollectionEnabled:!0,...U},St=gt.name;if("string"!=typeof St||!St)throw ke.create("bad-app-name",{appName:String(St)});if(Q||(Q=(0,Dt.T9)()),!Q)throw ke.create("no-options");const Nt=ae.get(St);if(Nt){if((0,Dt.bD)(Q,Nt.options)&&(0,Dt.bD)(gt,Nt.config))return Nt;throw ke.create("duplicate-app",{appName:St})}const lt=new xt.h1(St);for(const Yt of He.values())lt.addComponent(Yt);const Ce=new io(Q,gt,lt);return ae.set(St,Ce),Ce}();if(!U)throw ke.create("no-app",{appName:j});return U}function Me(j,U,Q){let gt=Ke[j]??j;Q&&(gt+=`-${Q}`);const St=gt.match(/\s|\//),Nt=U.match(/\s|\//);if(St||Nt){const lt=[`Unable to register library "${gt}" with version "${U}":`];return St&<.push(`library name "${gt}" contains illegal characters (whitespace or "/")`),St&&Nt&<.push("and"),Nt&<.push(`version name "${U}" contains illegal characters (whitespace or "/")`),void tn.warn(lt.join(" "))}ee(new xt.uA(`${gt}-version`,()=>({library:gt,version:U}),"VERSION"))}const b="firebase-heartbeat-store";let ht=null;function Rt(){return ht||(ht=function Le(j,U,{blocked:Q,upgrade:gt,blocking:St,terminated:Nt}={}){const lt=indexedDB.open(j,U),Ce=N(lt);return gt&<.addEventListener("upgradeneeded",Yt=>{gt(N(lt.result),Yt.oldVersion,Yt.newVersion,N(lt.transaction),Yt)}),Q&<.addEventListener("blocked",Yt=>Q(Yt.oldVersion,Yt.newVersion,Yt)),Ce.then(Yt=>{Nt&&Yt.addEventListener("close",()=>Nt()),St&&Yt.addEventListener("versionchange",Vn=>St(Vn.oldVersion,Vn.newVersion,Vn))}).catch(()=>{}),Ce}("firebase-heartbeat-database",1,{upgrade:(j,U)=>{if(0===U)try{j.createObjectStore(b)}catch(Q){console.warn(Q)}}}).catch(j=>{throw ke.create("idb-open",{originalErrorMessage:j.message})})),ht}function at(){return(at=(0,E.A)(function*(j){try{const Q=(yield Rt()).transaction(b),gt=yield Q.objectStore(b).get(jt(j));return yield Q.done,gt}catch(U){if(U instanceof Dt.g)tn.warn(U.message);else{const Q=ke.create("idb-get",{originalErrorMessage:U?.message});tn.warn(Q.message)}}})).apply(this,arguments)}function ce(j,U){return dt.apply(this,arguments)}function dt(){return(dt=(0,E.A)(function*(j,U){try{const gt=(yield Rt()).transaction(b,"readwrite");yield gt.objectStore(b).put(U,jt(j)),yield gt.done}catch(Q){if(Q instanceof Dt.g)tn.warn(Q.message);else{const gt=ke.create("idb-set",{originalErrorMessage:Q?.message});tn.warn(gt.message)}}})).apply(this,arguments)}function jt(j){return`${j.name}!${j.options.appId}`}class it{constructor(U){this.container=U,this._heartbeatsCache=null;const Q=this.container.getProvider("app").getImmediate();this._storage=new wr(Q),this._heartbeatsCachePromise=this._storage.read().then(gt=>(this._heartbeatsCache=gt,gt))}triggerHeartbeat(){var U=this;return(0,E.A)(function*(){try{const gt=U.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),St=re();if(null==U._heartbeatsCache?.heartbeats&&(U._heartbeatsCache=yield U._heartbeatsCachePromise,null==U._heartbeatsCache?.heartbeats)||U._heartbeatsCache.lastSentHeartbeatDate===St||U._heartbeatsCache.heartbeats.some(Nt=>Nt.date===St))return;if(U._heartbeatsCache.heartbeats.push({date:St,agent:gt}),U._heartbeatsCache.heartbeats.length>30){const Nt=function En(j){if(0===j.length)return-1;let U=0,Q=j[0].date;for(let gt=1;gt<j.length;gt++)j[gt].date<Q&&(Q=j[gt].date,U=gt);return U}(U._heartbeatsCache.heartbeats);U._heartbeatsCache.heartbeats.splice(Nt,1)}return U._storage.overwrite(U._heartbeatsCache)}catch(Q){tn.warn(Q)}})()}getHeartbeatsHeader(){var U=this;return(0,E.A)(function*(){try{if(null===U._heartbeatsCache&&(yield U._heartbeatsCachePromise),null==U._heartbeatsCache?.heartbeats||0===U._heartbeatsCache.heartbeats.length)return"";const Q=re(),{heartbeatsToSend:gt,unsentEntries:St}=function Ee(j,U=1024){const Q=[];let gt=j.slice();for(const St of j){const Nt=Q.find(lt=>lt.agent===St.agent);if(Nt){if(Nt.dates.push(St.date),or(Q)>U){Nt.dates.pop();break}}else if(Q.push({agent:St.agent,dates:[St.date]}),or(Q)>U){Q.pop();break}gt=gt.slice(1)}return{heartbeatsToSend:Q,unsentEntries:gt}}(U._heartbeatsCache.heartbeats),Nt=(0,Dt.Uj)(JSON.stringify({version:2,heartbeats:gt}));return U._heartbeatsCache.lastSentHeartbeatDate=Q,St.length>0?(U._heartbeatsCache.heartbeats=St,yield U._storage.overwrite(U._heartbeatsCache)):(U._heartbeatsCache.heartbeats=[],U._storage.overwrite(U._heartbeatsCache)),Nt}catch(Q){return tn.warn(Q),""}})()}}function re(){return(new Date).toISOString().substring(0,10)}class wr{constructor(U){this.app=U,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,E.A)(function*(){return!!(0,Dt.zW)()&&(0,Dt.eX)().then(()=>!0).catch(()=>!1)})()}read(){var U=this;return(0,E.A)(function*(){if(yield U._canUseIndexedDBPromise){const gt=yield function Xt(j){return at.apply(this,arguments)}(U.app);return gt?.heartbeats?gt:{heartbeats:[]}}return{heartbeats:[]}})()}overwrite(U){var Q=this;return(0,E.A)(function*(){if(yield Q._canUseIndexedDBPromise){const St=yield Q.read();return ce(Q.app,{lastSentHeartbeatDate:U.lastSentHeartbeatDate??St.lastSentHeartbeatDate,heartbeats:U.heartbeats})}})()}add(U){var Q=this;return(0,E.A)(function*(){if(yield Q._canUseIndexedDBPromise){const St=yield Q.read();return ce(Q.app,{lastSentHeartbeatDate:U.lastSentHeartbeatDate??St.lastSentHeartbeatDate,heartbeats:[...St.heartbeats,...U.heartbeats]})}})()}}function or(j){return(0,Dt.Uj)(JSON.stringify({version:2,heartbeats:j})).length}!function co(j){ee(new xt.uA("platform-logger",U=>new Xr(U),"PRIVATE")),ee(new xt.uA("heartbeat",U=>new it(U),"PRIVATE")),Me(Zr,"0.14.7",j),Me(Zr,"0.14.7","esm2020"),Me("fire-js","")}("")},2040(wn,Gt,Pt){"use strict";Pt.d(Gt,{h1:()=>Ve,uA:()=>mt});var E=Pt(467),xt=Pt(7814);class mt{constructor(Y,ot,wt){this.name=Y,this.instanceFactory=ot,this.type=wt,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(Y){return this.instantiationMode=Y,this}setMultipleInstances(Y){return this.multipleInstances=Y,this}setServiceProps(Y){return this.serviceProps=Y,this}setInstanceCreatedCallback(Y){return this.onInstanceCreated=Y,this}}const Dt="[DEFAULT]";class _e{constructor(Y,ot){this.name=Y,this.container=ot,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(Y){const ot=this.normalizeInstanceIdentifier(Y);if(!this.instancesDeferred.has(ot)){const wt=new xt.cY;if(this.instancesDeferred.set(ot,wt),this.isInitialized(ot)||this.shouldAutoInitialize())try{const Ct=this.getOrInitializeService({instanceIdentifier:ot});Ct&&wt.resolve(Ct)}catch{}}return this.instancesDeferred.get(ot).promise}getImmediate(Y){const ot=this.normalizeInstanceIdentifier(Y?.identifier),wt=Y?.optional??!1;if(!this.isInitialized(ot)&&!this.shouldAutoInitialize()){if(wt)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:ot})}catch(Ct){if(wt)return null;throw Ct}}getComponent(){return this.component}setComponent(Y){if(Y.name!==this.name)throw Error(`Mismatching Component ${Y.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=Y,this.shouldAutoInitialize()){if(function be(Ht){return"EAGER"===Ht.instantiationMode}(Y))try{this.getOrInitializeService({instanceIdentifier:Dt})}catch{}for(const[ot,wt]of this.instancesDeferred.entries()){const Ct=this.normalizeInstanceIdentifier(ot);try{const Ut=this.getOrInitializeService({instanceIdentifier:Ct});wt.resolve(Ut)}catch{}}}}clearInstance(Y=Dt){this.instancesDeferred.delete(Y),this.instancesOptions.delete(Y),this.instances.delete(Y)}delete(){var Y=this;return(0,E.A)(function*(){const ot=Array.from(Y.instances.values());yield Promise.all([...ot.filter(wt=>"INTERNAL"in wt).map(wt=>wt.INTERNAL.delete()),...ot.filter(wt=>"_delete"in wt).map(wt=>wt._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(Y=Dt){return this.instances.has(Y)}getOptions(Y=Dt){return this.instancesOptions.get(Y)||{}}initialize(Y={}){const{options:ot={}}=Y,wt=this.normalizeInstanceIdentifier(Y.instanceIdentifier);if(this.isInitialized(wt))throw Error(`${this.name}(${wt}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Ct=this.getOrInitializeService({instanceIdentifier:wt,options:ot});for(const[Ut,Ot]of this.instancesDeferred.entries())wt===this.normalizeInstanceIdentifier(Ut)&&Ot.resolve(Ct);return Ct}onInit(Y,ot){const wt=this.normalizeInstanceIdentifier(ot),Ct=this.onInitCallbacks.get(wt)??new Set;Ct.add(Y),this.onInitCallbacks.set(wt,Ct);const Ut=this.instances.get(wt);return Ut&&Y(Ut,wt),()=>{Ct.delete(Y)}}invokeOnInitCallbacks(Y,ot){const wt=this.onInitCallbacks.get(ot);if(wt)for(const Ct of wt)try{Ct(Y,ot)}catch{}}getOrInitializeService({instanceIdentifier:Y,options:ot={}}){let wt=this.instances.get(Y);if(!wt&&this.component&&(wt=this.component.instanceFactory(this.container,{instanceIdentifier:(Ht=Y,Ht===Dt?void 0:Ht),options:ot}),this.instances.set(Y,wt),this.instancesOptions.set(Y,ot),this.invokeOnInitCallbacks(wt,Y),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,Y,wt)}catch{}var Ht;return wt||null}normalizeInstanceIdentifier(Y=Dt){return this.component?this.component.multipleInstances?Y:Dt:Y}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class Ve{constructor(Y){this.name=Y,this.providers=new Map}addComponent(Y){const ot=this.getProvider(Y.name);if(ot.isComponentSet())throw new Error(`Component ${Y.name} has already been registered with ${this.name}`);ot.setComponent(Y)}addOrOverwriteComponent(Y){this.getProvider(Y.name).isComponentSet()&&this.providers.delete(Y.name),this.addComponent(Y)}getProvider(Y){if(this.providers.has(Y))return this.providers.get(Y);const ot=new _e(Y,this);return this.providers.set(Y,ot),ot}getProviders(){return Array.from(this.providers.values())}}},1919(wn,Gt,Pt){"use strict";Pt.d(Gt,{$b:()=>xt,Vy:()=>be});const E=[];var xt=function(Y){return Y[Y.DEBUG=0]="DEBUG",Y[Y.VERBOSE=1]="VERBOSE",Y[Y.INFO=2]="INFO",Y[Y.WARN=3]="WARN",Y[Y.ERROR=4]="ERROR",Y[Y.SILENT=5]="SILENT",Y}(xt||{});const mt={debug:xt.DEBUG,verbose:xt.VERBOSE,info:xt.INFO,warn:xt.WARN,error:xt.ERROR,silent:xt.SILENT},Dt=xt.INFO,_e={[xt.DEBUG]:"log",[xt.VERBOSE]:"log",[xt.INFO]:"info",[xt.WARN]:"warn",[xt.ERROR]:"error"},Ae=(Y,ot,...wt)=>{if(ot<Y.logLevel)return;const Ct=(new Date).toISOString(),Ut=_e[ot];if(!Ut)throw new Error(`Attempted to log a message with an invalid logType (value: ${ot})`);console[Ut](`[${Ct}] ${Y.name}:`,...wt)};class be{constructor(ot){this.name=ot,this._logLevel=Dt,this._logHandler=Ae,this._userLogHandler=null,E.push(this)}get logLevel(){return this._logLevel}set logLevel(ot){if(!(ot in xt))throw new TypeError(`Invalid value "${ot}" assigned to \`logLevel\``);this._logLevel=ot}setLogLevel(ot){this._logLevel="string"==typeof ot?mt[ot]:ot}get logHandler(){return this._logHandler}set logHandler(ot){if("function"!=typeof ot)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=ot}get userLogHandler(){return this._userLogHandler}set userLogHandler(ot){this._userLogHandler=ot}debug(...ot){this._userLogHandler&&this._userLogHandler(this,xt.DEBUG,...ot),this._logHandler(this,xt.DEBUG,...ot)}log(...ot){this._userLogHandler&&this._userLogHandler(this,xt.VERBOSE,...ot),this._logHandler(this,xt.VERBOSE,...ot)}info(...ot){this._userLogHandler&&this._userLogHandler(this,xt.INFO,...ot),this._logHandler(this,xt.INFO,...ot)}warn(...ot){this._userLogHandler&&this._userLogHandler(this,xt.WARN,...ot),this._logHandler(this,xt.WARN,...ot)}error(...ot){this._userLogHandler&&this._userLogHandler(this,xt.ERROR,...ot),this._logHandler(this,xt.ERROR,...ot)}}},6702(wn,Gt,Pt){"use strict";Pt.r(Gt),Pt.d(Gt,{StorageError:()=>Y,StorageErrorCode:()=>ot,StringFormat:()=>Re,_FbsBlob:()=>Ke,_Location:()=>ve,_TaskEvent:()=>re,_TaskState:()=>Ee,_UploadTask:()=>Ce,_dataFromString:()=>Wn,_getChild:()=>gn,_invalidArgument:()=>Cn,_invalidRootOperation:()=>Dn,connectStorageEmulator:()=>Cs,deleteObject:()=>mc,getBlob:()=>yc,getBytes:()=>It,getDownloadURL:()=>Qo,getMetadata:()=>Lr,getStorage:()=>ks,getStream:()=>br,list:()=>ki,listAll:()=>mu,ref:()=>_c,updateMetadata:()=>gu,uploadBytes:()=>lo,uploadBytesResumable:()=>xs,uploadString:()=>xi});var E=Pt(467),xt=Pt(3659),mt=Pt(7814),Dt=Pt(2040);const _e="firebasestorage.googleapis.com",Ae="storageBucket";class Y extends mt.g{constructor(m,w,P=0){super(wt(m),`Firebase Storage: ${w} (${wt(m)})`),this.status_=P,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,Y.prototype)}get status(){return this.status_}set status(m){this.status_=m}_codeEquals(m){return wt(m)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(m){this.customData.serverResponse=m,this.message=this.customData.serverResponse?`${this._baseMessage}\n${this.customData.serverResponse}`:this._baseMessage}}var ot=function(g){return g.UNKNOWN="unknown",g.OBJECT_NOT_FOUND="object-not-found",g.BUCKET_NOT_FOUND="bucket-not-found",g.PROJECT_NOT_FOUND="project-not-found",g.QUOTA_EXCEEDED="quota-exceeded",g.UNAUTHENTICATED="unauthenticated",g.UNAUTHORIZED="unauthorized",g.UNAUTHORIZED_APP="unauthorized-app",g.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",g.INVALID_CHECKSUM="invalid-checksum",g.CANCELED="canceled",g.INVALID_EVENT_NAME="invalid-event-name",g.INVALID_URL="invalid-url",g.INVALID_DEFAULT_BUCKET="invalid-default-bucket",g.NO_DEFAULT_BUCKET="no-default-bucket",g.CANNOT_SLICE_BLOB="cannot-slice-blob",g.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",g.NO_DOWNLOAD_URL="no-download-url",g.INVALID_ARGUMENT="invalid-argument",g.INVALID_ARGUMENT_COUNT="invalid-argument-count",g.APP_DELETED="app-deleted",g.INVALID_ROOT_OPERATION="invalid-root-operation",g.INVALID_FORMAT="invalid-format",g.INTERNAL_ERROR="internal-error",g.UNSUPPORTED_ENVIRONMENT="unsupported-environment",g}(ot||{});function wt(g){return"storage/"+g}function Ct(){return new Y(ot.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function A(){return new Y(ot.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function V(){return new Y(ot.CANCELED,"User canceled the upload/download.")}function Le(){return new Y(ot.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}function Cn(g){return new Y(ot.INVALID_ARGUMENT,g)}function hr(){return new Y(ot.APP_DELETED,"The Firebase app was deleted.")}function Dn(g){return new Y(ot.INVALID_ROOT_OPERATION,"The operation '"+g+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}function Kn(g,m){return new Y(ot.INVALID_FORMAT,"String does not match format '"+g+"': "+m)}function Hn(g){throw new Y(ot.INTERNAL_ERROR,"Internal error: "+g)}class ve{constructor(m,w){this.bucket=m,this.path_=w}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){const m=encodeURIComponent;return"/b/"+m(this.bucket)+"/o/"+m(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(m,w){let P;try{P=ve.makeFromUrl(m,w)}catch{return new ve(m,"")}if(""===P.path)return P;throw function de(g){return new Y(ot.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+g+"'.")}(m)}static makeFromUrl(m,w){let P=null;const F="([A-Za-z0-9.\\-_]+)",Tt=new RegExp("^gs://"+F+"(/(.*))?$","i");function qt(We){We.path_=decodeURIComponent(We.path)}const le=w.replace(/[.]/g,"\\."),Be=[{regex:Tt,indices:{bucket:1,path:3},postModify:function J(We){"/"===We.path.charAt(We.path.length-1)&&(We.path_=We.path_.slice(0,-1))}},{regex:new RegExp(`^https?://${le}/v[A-Za-z0-9_]+/b/${F}/o(/([^?#]*).*)?$`,"i"),indices:{bucket:1,path:3},postModify:qt},{regex:new RegExp(`^https?://${w===_e?"(?:storage.googleapis.com|storage.cloud.google.com)":w}/${F}/([^?#]*)`,"i"),indices:{bucket:1,path:2},postModify:qt}];for(let We=0;We<Be.length;We++){const sr=Be[We],Te=sr.regex.exec(m);if(Te){let uo=Te[sr.indices.path];uo||(uo=""),P=new ve(Te[sr.indices.bucket],uo),sr.postModify(P);break}}if(null==P)throw function N(g){return new Y(ot.INVALID_URL,"Invalid URL '"+g+"'.")}(m);return P}}class Cr{constructor(m){this.promise_=Promise.reject(m)}getPromise(){return this.promise_}cancel(m=!1){}}function tn(g){return"string"==typeof g||g instanceof String}function Fo(g){return eo()&&g instanceof Blob}function eo(){return typeof Blob<"u"}function Dr(g,m,w,P){if(P<m)throw Cn(`Invalid value for '${g}'. Expected ${m} or greater.`);if(P>w)throw Cn(`Invalid value for '${g}'. Expected ${w} or less.`)}function Nn(g,m,w){let P=m;return null==w&&(P=`https://${m}`),`${w}://${P}/v0${g}`}function Ri(g){const m=encodeURIComponent;let w="?";for(const P in g)g.hasOwnProperty(P)&&(w=w+(m(P)+"=")+m(g[P])+"&");return w=w.slice(0,-1),w}var tr=function(g){return g[g.NO_ERROR=0]="NO_ERROR",g[g.NETWORK_ERROR=1]="NETWORK_ERROR",g[g.ABORT=2]="ABORT",g}(tr||{});function er(g,m){const w=g>=500&&g<600,F=-1!==[408,429].indexOf(g),J=-1!==m.indexOf(g);return w||F||J}class Uo{constructor(m,w,P,F,J,st,Tt,bt,qt,Lt,le,De=!0,Fe=!1){this.url_=m,this.method_=w,this.headers_=P,this.body_=F,this.successCodes_=J,this.additionalRetryCodes_=st,this.callback_=Tt,this.errorCallback_=bt,this.timeout_=qt,this.progressCallback_=Lt,this.connectionFactory_=le,this.retry=De,this.isUsingEmulator=Fe,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((Qt,Ie)=>{this.resolve_=Qt,this.reject_=Ie,this.start_()})}start_(){const w=(P,F)=>{const J=this.resolve_,st=this.reject_,Tt=F.connection;if(F.wasSuccessCode)try{const bt=this.callback_(Tt,Tt.getResponse());!function Yr(g){return void 0!==g}(bt)?J():J(bt)}catch(bt){st(bt)}else if(null!==Tt){const bt=Ct();bt.serverResponse=Tt.getErrorText(),st(this.errorCallback_?this.errorCallback_(Tt,bt):bt)}else st(F.canceled?this.appDelete_?hr():V():A())};this.canceled_?w(0,new dr(!1,null,!0)):this.backoffId_=function fn(g,m,w){let P=1,F=null,J=null,st=!1,Tt=0;function bt(){return 2===Tt}let qt=!1;function Lt(...ue){qt||(qt=!0,m.apply(null,ue))}function le(ue){F=setTimeout(()=>{F=null,g(Fe,bt())},ue)}function De(){J&&clearTimeout(J)}function Fe(ue,...mn){if(qt)return void De();if(ue)return De(),void Lt.call(null,ue,...mn);if(bt()||st)return De(),void Lt.call(null,ue,...mn);let Be;P<64&&(P*=2),1===Tt?(Tt=2,Be=0):Be=1e3*(P+Math.random()),le(Be)}let Qt=!1;function Ie(ue){Qt||(Qt=!0,De(),!qt&&(null!==F?(ue||(Tt=2),clearTimeout(F),le(0)):ue||(Tt=1)))}return le(0),J=setTimeout(()=>{st=!0,Ie(!0)},w),Ie}((P,F)=>{if(F)return void P(!1,new dr(!1,null,!0));const J=this.connectionFactory_();this.pendingConnection_=J;const st=Tt=>{null!==this.progressCallback_&&this.progressCallback_(Tt.loaded,Tt.lengthComputable?Tt.total:-1)};null!==this.progressCallback_&&J.addUploadProgressListener(st),J.send(this.url_,this.method_,this.isUsingEmulator,this.body_,this.headers_).then(()=>{null!==this.progressCallback_&&J.removeUploadProgressListener(st),this.pendingConnection_=null;const Tt=J.getErrorCode()===tr.NO_ERROR,bt=J.getStatus();if(!Tt||er(bt,this.additionalRetryCodes_)&&this.retry){const Lt=J.getErrorCode()===tr.ABORT;return void P(!1,new dr(!1,null,Lt))}const qt=-1!==this.successCodes_.indexOf(bt);P(!0,new dr(qt,J))})},w,this.timeout_)}getPromise(){return this.promise_}cancel(m){this.canceled_=!0,this.appDelete_=m||!1,null!==this.backoffId_&&function Xr(g){g(!1)}(this.backoffId_),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class dr{constructor(m,w,P){this.wasSuccessCode=m,this.connection=w,this.canceled=!!P}}function qo(...g){const m=function rr(){return typeof BlobBuilder<"u"?BlobBuilder:typeof WebKitBlobBuilder<"u"?WebKitBlobBuilder:void 0}();if(void 0!==m){const w=new m;for(let P=0;P<g.length;P++)w.append(g[P]);return w.getBlob()}if(eo())return new Blob(g);throw new Y(ot.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}const Re={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"};class ro{constructor(m,w){this.data=m,this.contentType=w||null}}function Wn(g,m){switch(g){case Re.RAW:return new ro(jo(m));case Re.BASE64:case Re.BASE64URL:return new ro(fr(g,m));case Re.DATA_URL:return new ro(function zo(g){const m=new Et(g);return m.base64?fr(Re.BASE64,m.rest):function $o(g){let m;try{m=decodeURIComponent(g)}catch{throw Kn(Re.DATA_URL,"Malformed data URL.")}return jo(m)}(m.rest)}(m),function Go(g){return new Et(g).contentType}(m))}throw Ct()}function jo(g){const m=[];for(let w=0;w<g.length;w++){let P=g.charCodeAt(w);P<=127?m.push(P):P<=2047?m.push(192|P>>6,128|63&P):55296==(64512&P)?w<g.length-1&&56320==(64512&g.charCodeAt(w+1))?(P=65536|(1023&P)<<10|1023&g.charCodeAt(++w),m.push(240|P>>18,128|P>>12&63,128|P>>6&63,128|63&P)):m.push(239,191,189):56320==(64512&P)?m.push(239,191,189):m.push(224|P>>12,128|P>>6&63,128|63&P)}return new Uint8Array(m)}function fr(g,m){switch(g){case Re.BASE64:{const F=-1!==m.indexOf("-"),J=-1!==m.indexOf("_");if(F||J)throw Kn(g,"Invalid character '"+(F?"-":"_")+"' found: is it base64url encoded?");break}case Re.BASE64URL:{const F=-1!==m.indexOf("+"),J=-1!==m.indexOf("/");if(F||J)throw Kn(g,"Invalid character '"+(F?"+":"/")+"' found: is it base64 encoded?");m=m.replace(/-/g,"+").replace(/_/g,"/");break}}let w;try{w=function Bo(g){if(typeof atob>"u")throw function Ai(g){return new Y(ot.UNSUPPORTED_ENVIRONMENT,`${g} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`)}("base-64");return atob(g)}(m)}catch(F){throw F.message.includes("polyfill")?F:Kn(g,"Invalid character found")}const P=new Uint8Array(w.length);for(let F=0;F<w.length;F++)P[F]=w.charCodeAt(F);return P}class Et{constructor(m){this.base64=!1,this.contentType=null;const w=m.match(/^data:([^,]+)?,/);if(null===w)throw Kn(Re.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");const P=w[1]||null;null!=P&&(this.base64=function Ge(g,m){return g.length>=m.length&&g.substring(g.length-m.length)===m}(P,";base64"),this.contentType=this.base64?P.substring(0,P.length-7):P),this.rest=m.substring(m.indexOf(",")+1)}}class Ke{constructor(m,w){let P=0,F="";Fo(m)?(this.data_=m,P=m.size,F=m.type):m instanceof ArrayBuffer?(w?this.data_=new Uint8Array(m):(this.data_=new Uint8Array(m.byteLength),this.data_.set(new Uint8Array(m))),P=this.data_.length):m instanceof Uint8Array&&(w?this.data_=m:(this.data_=new Uint8Array(m.length),this.data_.set(m)),P=m.length),this.size_=P,this.type_=F}size(){return this.size_}type(){return this.type_}slice(m,w){if(Fo(this.data_)){const F=function On(g,m,w){return g.webkitSlice?g.webkitSlice(m,w):g.mozSlice?g.mozSlice(m,w):g.slice?g.slice(m,w):null}(this.data_,m,w);return null===F?null:new Ke(F)}{const P=new Uint8Array(this.data_.buffer,m,w-m);return new Ke(P,!0)}}static getBlob(...m){if(eo()){const w=m.map(P=>P instanceof Ke?P.data_:P);return new Ke(qo.apply(null,w))}{const w=m.map(st=>tn(st)?Wn(Re.RAW,st).data:st.data_);let P=0;w.forEach(st=>{P+=st.byteLength});const F=new Uint8Array(P);let J=0;return w.forEach(st=>{for(let Tt=0;Tt<st.length;Tt++)F[J++]=st[Tt]}),new Ke(F,!0)}}uploadData(){return this.data_}}function ae(g){let m;try{m=JSON.parse(g)}catch{return null}return function to(g){return"object"==typeof g&&!Array.isArray(g)}(m)?m:null}function Or(g){const m=g.lastIndexOf("/",g.length-2);return-1===m?g:g.slice(m+1)}function Es(g,m){return m}class ee{constructor(m,w,P,F){this.server=m,this.local=w||m,this.writable=!!P,this.xform=F||Es}}let Qn=null;function vn(){if(Qn)return Qn;const g=[];g.push(new ee("bucket")),g.push(new ee("generation")),g.push(new ee("metageneration")),g.push(new ee("name","fullPath",!0));const w=new ee("name");w.xform=function m(J,st){return function oo(g){return!tn(g)||g.length<2?g:Or(g)}(st)},g.push(w);const F=new ee("size");return F.xform=function P(J,st){return void 0!==st?Number(st):st},g.push(F),g.push(new ee("timeCreated")),g.push(new ee("updated")),g.push(new ee("md5Hash",null,!0)),g.push(new ee("cacheControl",null,!0)),g.push(new ee("contentDisposition",null,!0)),g.push(new ee("contentEncoding",null,!0)),g.push(new ee("contentLanguage",null,!0)),g.push(new ee("contentType",null,!0)),g.push(new ee("metadata","customMetadata",!0)),Qn=g,Qn}function mr(g,m,w){const P=ae(m);return null===P?null:function Ko(g,m,w){const P={type:"file"},F=w.length;for(let J=0;J<F;J++){const st=w[J];P[st.local]=st.xform(P,m[st.server])}return function gr(g,m){Object.defineProperty(g,"ref",{get:function w(){const J=new ve(g.bucket,g.fullPath);return m._makeStorageReference(J)}})}(P,g),P}(g,P,w)}function ke(g,m){const w={},P=m.length;for(let F=0;F<P;F++){const J=m[F];J.writable&&(w[J.server]=g[J.local])}return JSON.stringify(w)}const io="prefixes";class an{constructor(m,w,P,F){this.url=m,this.method=w,this.handler=P,this.timeout=F,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}function cn(g){if(!g)throw Ct()}function _r(g,m){return function w(P,F){const J=mr(g,F,m);return cn(null!==J),J}}function Jt(g){return function m(w,P){let F;return F=401===w.getStatus()?w.getErrorText().includes("Firebase App Check token is invalid")?function H(){return new Y(ot.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project.")}():function tt(){return new Y(ot.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again.")}():402===w.getStatus()?function Ot(g){return new Y(ot.QUOTA_EXCEEDED,"Quota for bucket '"+g+"' exceeded, please view quota on https://firebase.google.com/pricing/.")}(g.bucket):403===w.getStatus()?function I(g){return new Y(ot.UNAUTHORIZED,"User does not have permission to access '"+g+"'.")}(g.path):P,F.status=w.getStatus(),F.serverResponse=P.serverResponse,F}}function Me(g){const m=Jt(g);return function w(P,F){let J=m(P,F);return 404===P.getStatus()&&(J=function Ut(g){return new Y(ot.OBJECT_NOT_FOUND,"Object '"+g+"' does not exist.")}(g.path)),J.serverResponse=F.serverResponse,J}}function S(g,m,w){const F=Nn(m.fullServerUrl(),g.host,g._protocol),st=g.maxOperationRetryTime,Tt=new an(F,"GET",_r(g,w),st);return Tt.errorHandler=Me(m),Tt}function T(g,m,w,P,F){const J={};J.prefix=m.isRoot?"":m.path+"/",w&&w.length>0&&(J.delimiter=w),P&&(J.pageToken=P),F&&(J.maxResults=F);const Tt=Nn(m.bucketOnlyServerUrl(),g.host,g._protocol),qt=g.maxOperationRetryTime,Lt=new an(Tt,"GET",function yr(g,m){return function w(P,F){const J=function ao(g,m,w){const P=ae(w);return null===P?null:function Ho(g,m,w){const P={prefixes:[],items:[],nextPageToken:w.nextPageToken};if(w[io])for(const F of w[io]){const J=F.replace(/\/$/,""),st=g._makeStorageReference(new ve(m,J));P.prefixes.push(st)}if(w.items)for(const F of w.items){const J=g._makeStorageReference(new ve(m,F.name));P.items.push(J)}return P}(g,m,P)}(g,m,F);return cn(null!==J),J}}(g,m.bucket),qt);return Lt.urlParams=J,Lt.errorHandler=Jt(m),Lt}function D(g,m,w){const F=Nn(m.fullServerUrl(),g.host,g._protocol)+"?alt=media",Tt=new an(F,"GET",(bt,qt)=>qt,g.maxOperationRetryTime);return Tt.errorHandler=Me(m),void 0!==w&&(Tt.headers.Range=`bytes=0-${w}`,Tt.successCodes=[200,206]),Tt}function Xt(g,m,w){const P=Object.assign({},w);return P.fullPath=g.path,P.size=m.size(),P.contentType||(P.contentType=function Rt(g,m){return g&&g.contentType||m&&m.type()||"application/octet-stream"}(null,m)),P}function at(g,m,w,P,F){const J=m.bucketOnlyServerUrl(),st={"X-Goog-Upload-Protocol":"multipart"},bt=function Tt(){let Be="";for(let We=0;We<2;We++)Be+=Math.random().toString().slice(2);return Be}();st["Content-Type"]="multipart/related; boundary="+bt;const qt=Xt(m,P,F),Lt=ke(qt,w),Fe=Ke.getBlob("--"+bt+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+Lt+"\r\n--"+bt+"\r\nContent-Type: "+qt.contentType+"\r\n\r\n",P,"\r\n--"+bt+"--");if(null===Fe)throw Le();const Qt={name:qt.fullPath},Ie=Nn(J,g.host,g._protocol),mn=g.maxUploadRetryTime,vr=new an(Ie,"POST",_r(g,w),mn);return vr.urlParams=Qt,vr.headers=st,vr.body=Fe.uploadData(),vr.errorHandler=Jt(m),vr}class ce{constructor(m,w,P,F){this.current=m,this.total=w,this.finalized=!!P,this.metadata=F||null}}function dt(g,m){let w=null;try{w=g.getResponseHeader("X-Goog-Upload-Status")}catch{cn(!1)}return cn(!!w&&-1!==(m||["active"]).indexOf(w)),w}const z=262144;const re={STATE_CHANGED:"state_changed"},Ee={RUNNING:"running",PAUSED:"paused",SUCCESS:"success",CANCELED:"canceled",ERROR:"error"};function wr(g){switch(g){case"running":case"pausing":case"canceling":return Ee.RUNNING;case"paused":return Ee.PAUSED;case"success":return Ee.SUCCESS;case"canceled":return Ee.CANCELED;default:return Ee.ERROR}}class or{constructor(m,w,P){if(function Zr(g){return"function"==typeof g}(m)||null!=w||null!=P)this.next=m,this.error=w??void 0,this.complete=P??void 0;else{const J=m;this.next=J.next,this.error=J.error,this.complete=J.complete}}}function En(g){return(...m)=>{Promise.resolve().then(()=>g(...m))}}class j{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=tr.NO_ERROR,this.sendPromise_=new Promise(m=>{this.xhr_.addEventListener("abort",()=>{this.errorCode_=tr.ABORT,m()}),this.xhr_.addEventListener("error",()=>{this.errorCode_=tr.NETWORK_ERROR,m()}),this.xhr_.addEventListener("load",()=>{m()})})}send(m,w,P,F,J){if(this.sent_)throw Hn("cannot .send() more than once");if((0,mt.zJ)(m)&&P&&(this.xhr_.withCredentials=!0),this.sent_=!0,this.xhr_.open(w,m,!0),void 0!==J)for(const st in J)J.hasOwnProperty(st)&&this.xhr_.setRequestHeader(st,J[st].toString());return void 0!==F?this.xhr_.send(F):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw Hn("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw Hn("cannot .getStatus() before sending");try{return this.xhr_.status}catch{return-1}}getResponse(){if(!this.sent_)throw Hn("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw Hn("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(m){return this.xhr_.getResponseHeader(m)}addUploadProgressListener(m){null!=this.xhr_.upload&&this.xhr_.upload.addEventListener("progress",m)}removeUploadProgressListener(m){null!=this.xhr_.upload&&this.xhr_.upload.removeEventListener("progress",m)}}class U extends j{initXhr(){this.xhr_.responseType="text"}}function Q(){return new U}class gt extends j{initXhr(){this.xhr_.responseType="arraybuffer"}}function St(){return new gt}class Nt extends j{initXhr(){this.xhr_.responseType="blob"}}function lt(){return new Nt}class Ce{isExponentialBackoffExpired(){return this.sleepTime>this.maxSleepTime}constructor(m,w,P=null){this._transferred=0,this._needToFetchStatus=!1,this._needToFetchMetadata=!1,this._observers=[],this._error=void 0,this._uploadUrl=void 0,this._request=void 0,this._chunkMultiplier=1,this._resolve=void 0,this._reject=void 0,this._ref=m,this._blob=w,this._metadata=P,this._mappings=vn(),this._resumable=this._shouldDoResumable(this._blob),this._state="running",this._errorHandler=F=>{if(this._request=void 0,this._chunkMultiplier=1,F._codeEquals(ot.CANCELED))this._needToFetchStatus=!0,this.completeTransitions_();else{const J=this.isExponentialBackoffExpired();if(er(F.status,[])){if(!J)return this.sleepTime=Math.max(2*this.sleepTime,1e3),this._needToFetchStatus=!0,void this.completeTransitions_();F=A()}this._error=F,this._transition("error")}},this._metadataErrorHandler=F=>{this._request=void 0,F._codeEquals(ot.CANCELED)?this.completeTransitions_():(this._error=F,this._transition("error"))},this.sleepTime=0,this.maxSleepTime=this._ref.storage.maxUploadRetryTime,this._promise=new Promise((F,J)=>{this._resolve=F,this._reject=J,this._start()}),this._promise.then(null,()=>{})}_makeProgressCallback(){const m=this._transferred;return w=>this._updateProgress(m+w)}_shouldDoResumable(m){return m.size()>262144}_start(){"running"===this._state&&void 0===this._request&&(this._resumable?void 0===this._uploadUrl?this._createResumable():this._needToFetchStatus?this._fetchStatus():this._needToFetchMetadata?this._fetchMetadata():this.pendingTimeout=setTimeout(()=>{this.pendingTimeout=void 0,this._continueUpload()},this.sleepTime):this._oneShotUpload())}_resolveToken(m){Promise.all([this._ref.storage._getAuthToken(),this._ref.storage._getAppCheckToken()]).then(([w,P])=>{switch(this._state){case"running":m(w,P);break;case"canceling":this._transition("canceled");break;case"pausing":this._transition("paused")}})}_createResumable(){this._resolveToken((m,w)=>{const P=function jt(g,m,w,P,F){const J=m.bucketOnlyServerUrl(),st=Xt(m,P,F),Tt={name:st.fullPath},bt=Nn(J,g.host,g._protocol),Lt={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":`${P.size()}`,"X-Goog-Upload-Header-Content-Type":st.contentType,"Content-Type":"application/json; charset=utf-8"},le=ke(st,w),Qt=new an(bt,"POST",function Fe(Ie){let ue;dt(Ie);try{ue=Ie.getResponseHeader("X-Goog-Upload-URL")}catch{cn(!1)}return cn(tn(ue)),ue},g.maxUploadRetryTime);return Qt.urlParams=Tt,Qt.headers=Lt,Qt.body=le,Qt.errorHandler=Jt(m),Qt}(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),F=this._ref.storage._makeRequest(P,Q,m,w);this._request=F,F.getPromise().then(J=>{this._request=void 0,this._uploadUrl=J,this._needToFetchStatus=!1,this.completeTransitions_()},this._errorHandler)})}_fetchStatus(){const m=this._uploadUrl;this._resolveToken((w,P)=>{const F=function X(g,m,w,P){const bt=new an(w,"POST",function J(qt){const Lt=dt(qt,["active","final"]);let le=null;try{le=qt.getResponseHeader("X-Goog-Upload-Size-Received")}catch{cn(!1)}le||cn(!1);const De=Number(le);return cn(!isNaN(De)),new ce(De,P.size(),"final"===Lt)},g.maxUploadRetryTime);return bt.headers={"X-Goog-Upload-Command":"query"},bt.errorHandler=Jt(m),bt}(this._ref.storage,this._ref._location,m,this._blob),J=this._ref.storage._makeRequest(F,Q,w,P);this._request=J,J.getPromise().then(st=>{this._request=void 0,this._updateProgress(st.current),this._needToFetchStatus=!1,st.finalized&&(this._needToFetchMetadata=!0),this.completeTransitions_()},this._errorHandler)})}_continueUpload(){const m=z*this._chunkMultiplier,w=new ce(this._transferred,this._blob.size()),P=this._uploadUrl;this._resolveToken((F,J)=>{let st;try{st=function it(g,m,w,P,F,J,st,Tt){const bt=new ce(0,0);if(st?(bt.current=st.current,bt.total=st.total):(bt.current=0,bt.total=P.size()),P.size()!==bt.total)throw function kn(){return new Y(ot.SERVER_FILE_WRONG_SIZE,"Server recorded incorrect upload file size, please retry the upload.")}();const qt=bt.total-bt.current;let Lt=qt;F>0&&(Lt=Math.min(Lt,F));const le=bt.current;let Fe="";Fe=0===Lt?"finalize":qt===Lt?"upload, finalize":"upload";const Qt={"X-Goog-Upload-Command":Fe,"X-Goog-Upload-Offset":`${bt.current}`},Ie=P.slice(le,le+Lt);if(null===Ie)throw Le();const Be=new an(w,"POST",function ue(We,sr){const Te=dt(We,["active","final"]),Ns=bt.current+Lt,uo=P.size();let In;return In="final"===Te?_r(m,J)(We,sr):null,new ce(Ns,uo,"final"===Te,In)},m.maxUploadRetryTime);return Be.headers=Qt,Be.body=Ie.uploadData(),Be.progressCallback=Tt||null,Be.errorHandler=Jt(g),Be}(this._ref._location,this._ref.storage,P,this._blob,m,this._mappings,w,this._makeProgressCallback())}catch(bt){return this._error=bt,void this._transition("error")}const Tt=this._ref.storage._makeRequest(st,Q,F,J,!1);this._request=Tt,Tt.getPromise().then(bt=>{this._increaseMultiplier(),this._request=void 0,this._updateProgress(bt.current),bt.finalized?(this._metadata=bt.metadata,this._transition("success")):this.completeTransitions_()},this._errorHandler)})}_increaseMultiplier(){z*this._chunkMultiplier*2<33554432&&(this._chunkMultiplier*=2)}_fetchMetadata(){this._resolveToken((m,w)=>{const P=S(this._ref.storage,this._ref._location,this._mappings),F=this._ref.storage._makeRequest(P,Q,m,w);this._request=F,F.getPromise().then(J=>{this._request=void 0,this._metadata=J,this._transition("success")},this._metadataErrorHandler)})}_oneShotUpload(){this._resolveToken((m,w)=>{const P=at(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),F=this._ref.storage._makeRequest(P,Q,m,w);this._request=F,F.getPromise().then(J=>{this._request=void 0,this._metadata=J,this._updateProgress(this._blob.size()),this._transition("success")},this._errorHandler)})}_updateProgress(m){const w=this._transferred;this._transferred=m,this._transferred!==w&&this._notifyObservers()}_transition(m){if(this._state!==m)switch(m){case"canceling":case"pausing":this._state=m,void 0!==this._request?this._request.cancel():this.pendingTimeout&&(clearTimeout(this.pendingTimeout),this.pendingTimeout=void 0,this.completeTransitions_());break;case"running":const w="paused"===this._state;this._state=m,w&&(this._notifyObservers(),this._start());break;case"paused":case"error":case"success":this._state=m,this._notifyObservers();break;case"canceled":this._error=V(),this._state=m,this._notifyObservers()}}completeTransitions_(){switch(this._state){case"pausing":this._transition("paused");break;case"canceling":this._transition("canceled");break;case"running":this._start()}}get snapshot(){const m=wr(this._state);return{bytesTransferred:this._transferred,totalBytes:this._blob.size(),state:m,metadata:this._metadata,task:this,ref:this._ref}}on(m,w,P,F){const J=new or(w||void 0,P||void 0,F||void 0);return this._addObserver(J),()=>{this._removeObserver(J)}}then(m,w){return this._promise.then(m,w)}catch(m){return this.then(null,m)}_addObserver(m){this._observers.push(m),this._notifyObserver(m)}_removeObserver(m){const w=this._observers.indexOf(m);-1!==w&&this._observers.splice(w,1)}_notifyObservers(){this._finishPromise(),this._observers.slice().forEach(w=>{this._notifyObserver(w)})}_finishPromise(){if(void 0!==this._resolve){let m=!0;switch(wr(this._state)){case Ee.SUCCESS:En(this._resolve.bind(null,this.snapshot))();break;case Ee.CANCELED:case Ee.ERROR:En(this._reject.bind(null,this._error))();break;default:m=!1}m&&(this._resolve=void 0,this._reject=void 0)}}_notifyObserver(m){switch(wr(this._state)){case Ee.RUNNING:case Ee.PAUSED:m.next&&En(m.next.bind(m,this.snapshot))();break;case Ee.SUCCESS:m.complete&&En(m.complete.bind(m))();break;default:m.error&&En(m.error.bind(m,this._error))()}}resume(){const m="paused"===this._state||"pausing"===this._state;return m&&this._transition("running"),m}pause(){const m="running"===this._state;return m&&this._transition("pausing"),m}cancel(){const m="running"===this._state||"pausing"===this._state;return m&&this._transition("canceling"),m}}class Yt{constructor(m,w){this._service=m,this._location=w instanceof ve?w:ve.makeFromUrl(w,m.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(m,w){return new Yt(m,w)}get root(){const m=new ve(this._location.bucket,"");return this._newRef(this._service,m)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return Or(this._location.path)}get storage(){return this._service}get parent(){const m=function bn(g){if(0===g.length)return null;const m=g.lastIndexOf("/");return-1===m?"":g.slice(0,m)}(this._location.path);if(null===m)return null;const w=new ve(this._location.bucket,m);return new Yt(this._service,w)}_throwIfRoot(m){if(""===this._location.path)throw Dn(m)}}function ir(g,m,w){g._throwIfRoot("uploadBytes");const P=at(g.storage,g._location,vn(),new Ke(m,!0),w);return g.storage.makeRequestWithTokens(P,Q).then(F=>({metadata:F,ref:g}))}function Mn(g,m,w){return Vt.apply(this,arguments)}function Vt(){return(Vt=(0,E.A)(function*(g,m,w){const F=yield fc(g,{pageToken:w});m.prefixes.push(...F.prefixes),m.items.push(...F.items),null!=F.nextPageToken&&(yield Mn(g,m,F.nextPageToken))})).apply(this,arguments)}function fc(g,m){null!=m&&"number"==typeof m.maxResults&&Dr("options.maxResults",1,1e3,m.maxResults);const w=m||{},P=T(g.storage,g._location,"/",w.pageToken,w.maxResults);return g.storage.makeRequestWithTokens(P,Q)}function Ts(g){g._throwIfRoot("getDownloadURL");const m=function nt(g,m,w){const F=Nn(m.fullServerUrl(),g.host,g._protocol),st=g.maxOperationRetryTime,Tt=new an(F,"GET",function Pi(g,m){return function w(P,F){const J=mr(g,F,m);return cn(null!==J),function _t(g,m,w,P){const F=ae(m);if(null===F||!tn(F.downloadTokens))return null;const J=F.downloadTokens;if(0===J.length)return null;const st=encodeURIComponent;return J.split(",").map(qt=>{const le=g.fullPath;return Nn("/b/"+st(g.bucket)+"/o/"+st(le),w,P)+Ri({alt:"media",token:qt})})[0]}(J,F,g.host,g._protocol)}}(g,w),st);return Tt.errorHandler=Me(m),Tt}(g.storage,g._location,vn());return g.storage.makeRequestWithTokens(m,Q).then(w=>{if(null===w)throw function kr(){return new Y(ot.NO_DOWNLOAD_URL,"The given file does not have any download URLs.")}();return w})}function As(g,m){const w=function He(g,m){const w=m.split("/").filter(P=>P.length>0).join("/");return 0===g.length?w:g+"/"+w}(g._location.path,m),P=new ve(g._location.bucket,w);return new Yt(g.storage,P)}function Wo(g,m){if(g instanceof Vr){const w=g;if(null==w._bucket)throw function Ze(){return new Y(ot.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+Ae+"' property when initializing the app?")}();const P=new Yt(w,w._bucket);return null!=m?Wo(P,m):P}return void 0!==m?As(g,m):g}function Fn(g,m){if(m&&function gc(g){return/^[A-Za-z]+:\/\//.test(g)}(m)){if(g instanceof Vr)return function Rs(g,m){return new Yt(g,m)}(g,m);throw Cn("To use ref(service, url), the first argument must be a Storage instance.")}return Wo(g,m)}function fu(g,m){const w=m?.[Ae];return null==w?null:ve.makeFromBucketSpec(w,g)}class Vr{constructor(m,w,P,F,J,st=!1){this.app=m,this._authProvider=w,this._appCheckProvider=P,this._url=F,this._firebaseVersion=J,this._isUsingEmulator=st,this._bucket=null,this._host=_e,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,this._bucket=null!=F?ve.makeFromBucketSpec(F,this._host):fu(this._host,this.app.options)}get host(){return this._host}set host(m){this._host=m,this._bucket=null!=this._url?ve.makeFromBucketSpec(this._url,m):fu(m,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(m){Dr("time",0,Number.POSITIVE_INFINITY,m),this._maxUploadRetryTime=m}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(m){Dr("time",0,Number.POSITIVE_INFINITY,m),this._maxOperationRetryTime=m}_getAuthToken(){var m=this;return(0,E.A)(function*(){if(m._overrideAuthToken)return m._overrideAuthToken;const w=m._authProvider.getImmediate({optional:!0});if(w){const P=yield w.getToken();if(null!==P)return P.accessToken}return null})()}_getAppCheckToken(){var m=this;return(0,E.A)(function*(){if((0,xt.xZ)(m.app)&&m.app.settings.appCheckToken)return m.app.settings.appCheckToken;const w=m._appCheckProvider.getImmediate({optional:!0});return w?(yield w.getToken()).token:null})()}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach(m=>m.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(m){return new Yt(this,m)}_makeRequest(m,w,P,F,J=!0){if(this._deleted)return new Cr(hr());{const st=function pr(g,m,w,P,F,J,st=!0,Tt=!1){const bt=Ri(g.urlParams),qt=g.url+bt,Lt=Object.assign({},g.headers);return function Nr(g,m){m&&(g["X-Firebase-GMPID"]=m)}(Lt,m),function no(g,m){null!==m&&m.length>0&&(g.Authorization="Firebase "+m)}(Lt,w),function Si(g,m){g["X-Firebase-Storage-Version"]="webjs/"+(m??"AppManager")}(Lt,J),function nr(g,m){null!==m&&(g["X-Firebase-AppCheck"]=m)}(Lt,P),new Uo(qt,g.method,Lt,g.body,g.successCodes,g.additionalRetryCodes,g.handler,g.errorHandler,g.timeout,g.progressCallback,F,st,Tt)}(m,this._appId,P,F,w,this._firebaseVersion,J,this._isUsingEmulator);return this._requests.add(st),st.getPromise().then(()=>this._requests.delete(st),()=>this._requests.delete(st)),st}}makeRequestWithTokens(m,w){var P=this;return(0,E.A)(function*(){const[F,J]=yield Promise.all([P._getAuthToken(),P._getAppCheckToken()]);return P._makeRequest(m,w,F,J).getPromise()})()}}const Ss="@firebase/storage",Wt="storage";function It(g,m){return function Vn(g,m){g._throwIfRoot("getBytes");const w=D(g.storage,g._location,m);return g.storage.makeRequestWithTokens(w,St).then(P=>void 0!==m?P.slice(0,m):P)}(g=(0,mt.Ku)(g),m)}function lo(g,m,w){return ir(g=(0,mt.Ku)(g),m,w)}function xi(g,m,w,P){return function pc(g,m,w=Re.RAW,P){g._throwIfRoot("uploadString");const F=Wn(w,m),J={...P};return null==J.contentType&&null!=F.contentType&&(J.contentType=F.contentType),ir(g,F.data,J)}(g=(0,mt.Ku)(g),m,w,P)}function xs(g,m,w){return function dc(g,m,w){return g._throwIfRoot("uploadBytesResumable"),new Ce(g,new Ke(m),w)}(g=(0,mt.Ku)(g),m,w)}function Lr(g){return function ne(g){g._throwIfRoot("getMetadata");const m=S(g.storage,g._location,vn());return g.storage.makeRequestWithTokens(m,Q)}(g=(0,mt.Ku)(g))}function gu(g,m){return function pt(g,m){g._throwIfRoot("updateMetadata");const w=function b(g,m,w,P){const J=Nn(m.fullServerUrl(),g.host,g._protocol),Tt=ke(w,P),qt=g.maxOperationRetryTime,Lt=new an(J,"PATCH",_r(g,P),qt);return Lt.headers={"Content-Type":"application/json; charset=utf-8"},Lt.body=Tt,Lt.errorHandler=Me(m),Lt}(g.storage,g._location,m,vn());return g.storage.makeRequestWithTokens(w,Q)}(g=(0,mt.Ku)(g),m)}function ki(g,m){return fc(g=(0,mt.Ku)(g),m)}function mu(g){return function Is(g){const m={prefixes:[],items:[]};return Mn(g,m).then(()=>m)}(g=(0,mt.Ku)(g))}function Qo(g){return Ts(g=(0,mt.Ku)(g))}function mc(g){return function pu(g){g._throwIfRoot("deleteObject");const m=function ht(g,m){const P=Nn(m.fullServerUrl(),g.host,g._protocol),Tt=new an(P,"DELETE",function st(bt,qt){},g.maxOperationRetryTime);return Tt.successCodes=[200,204],Tt.errorHandler=Me(m),Tt}(g.storage,g._location);return g.storage.makeRequestWithTokens(m,Q)}(g=(0,mt.Ku)(g))}function _c(g,m){return Fn(g=(0,mt.Ku)(g),m)}function gn(g,m){return As(g,m)}function ks(g=(0,xt.Sx)(),m){g=(0,mt.Ku)(g);const P=(0,xt.j6)(g,Wt).getImmediate({identifier:m}),F=(0,mt.yU)("storage");return F&&Cs(P,...F),P}function Cs(g,m,w,P={}){!function Se(g,m,w,P={}){g.host=`${m}:${w}`;const F=(0,mt.zJ)(m);F&&((0,mt.gE)(`https://${g.host}/b`),(0,mt.P1)("Storage",!0)),g._isUsingEmulator=!0,g._protocol=F?"https":"http";const{mockUserToken:J}=P;J&&(g._overrideAuthToken="string"==typeof J?J:(0,mt.Fy)(J,g.app.options.projectId))}(g,m,w,P)}function yc(g,m){return function Ln(g,m){g._throwIfRoot("getBlob");const w=D(g.storage,g._location,m);return g.storage.makeRequestWithTokens(w,lt).then(P=>void 0!==m?P.slice(0,m):P)}(g=(0,mt.Ku)(g),m)}function br(g,m){throw new Error("getStream() is only supported by NodeJS builds")}function Ds(g,{instanceIdentifier:m}){const w=g.getProvider("app").getImmediate(),P=g.getProvider("auth-internal"),F=g.getProvider("app-check-internal");return new Vr(w,P,F,m,xt.MF)}!function q(){(0,xt.om)(new Dt.uA(Wt,Ds,"PUBLIC").setMultipleInstances(!0)),(0,xt.KO)(Ss,"0.14.0",""),(0,xt.KO)(Ss,"0.14.0","esm2020")}()},7106(wn,Gt,Pt){"use strict";function E(xt,mt){this.v=xt,this.k=mt}Pt.d(Gt,{A:()=>E})},600(wn,Gt,Pt){"use strict";Pt.d(Gt,{A:()=>xt});var E=Pt(7106);function xt(Dt){return function(){return new mt(Dt.apply(this,arguments))}}function mt(Dt){var _e,Ae;function be(Ht,Y){try{var ot=Dt[Ht](Y),wt=ot.value,Ct=wt instanceof E.A;Promise.resolve(Ct?wt.v:wt).then(function(Ut){if(Ct){var Ot="return"===Ht?"return":"next";if(!wt.k||Ut.done)return be(Ot,Ut);Ut=Dt[Ot](Ut).value}Ve(ot.done?"return":"normal",Ut)},function(Ut){be("throw",Ut)})}catch(Ut){Ve("throw",Ut)}}function Ve(Ht,Y){switch(Ht){case"return":_e.resolve({value:Y,done:!0});break;case"throw":_e.reject(Y);break;default:_e.resolve({value:Y,done:!1})}(_e=_e.next)?be(_e.key,_e.arg):Ae=null}this._invoke=function(Ht,Y){return new Promise(function(ot,wt){var Ct={key:Ht,arg:Y,resolve:ot,reject:wt,next:null};Ae?Ae=Ae.next=Ct:(_e=Ae=Ct,be(Ht,Y))})},"function"!=typeof Dt.return&&(this.return=void 0)}mt.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},mt.prototype.next=function(Dt){return this._invoke("next",Dt)},mt.prototype.throw=function(Dt){return this._invoke("throw",Dt)},mt.prototype.return=function(Dt){return this._invoke("return",Dt)}}}]);
|
|
1
|
+
(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[981],{1294(wn){function Gt(Pt){return Promise.resolve().then(()=>{var I=new Error("Cannot find module '"+Pt+"'");throw I.code="MODULE_NOT_FOUND",I})}Gt.keys=()=>[],Gt.resolve=Gt,Gt.id=1294,wn.exports=Gt},8380(wn){function Gt(Pt){return Promise.resolve().then(()=>{var I=new Error("Cannot find module '"+Pt+"'");throw I.code="MODULE_NOT_FOUND",I})}Gt.keys=()=>[],Gt.resolve=Gt,Gt.id=8380,wn.exports=Gt},7814(wn,Gt,Pt){"use strict";Pt.d(Gt,{cY:()=>kn,FA:()=>pr,g:()=>nr,u:()=>wt,Uj:()=>ot,Fy:()=>hr,tD:()=>ee,bD:()=>Ge,T9:()=>Ze,yU:()=>de,XA:()=>Ve,mS:()=>tt,Ku:()=>Me,ZQ:()=>fn,sr:()=>Fo,zJ:()=>kr,c1:()=>tn,zW:()=>dr,jZ:()=>Xr,lV:()=>eo,nr:()=>er,Ov:()=>Uo,gE:()=>Ai,Am:()=>bn,P1:()=>Cr,eX:()=>no});var I=Pt(467);const Ae=function(S){const T=[];let D=0;for(let rt=0;rt<S.length;rt++){let b=S.charCodeAt(rt);b<128?T[D++]=b:b<2048?(T[D++]=b>>6|192,T[D++]=63&b|128):55296==(64512&b)&&rt+1<S.length&&56320==(64512&S.charCodeAt(rt+1))?(b=65536+((1023&b)<<10)+(1023&S.charCodeAt(++rt)),T[D++]=b>>18|240,T[D++]=b>>12&63|128,T[D++]=b>>6&63|128,T[D++]=63&b|128):(T[D++]=b>>12|224,T[D++]=b>>6&63|128,T[D++]=63&b|128)}return T},Le={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(S,T){if(!Array.isArray(S))throw Error("encodeByteArray takes an array as a parameter");this.init_();const D=T?this.byteToCharMapWebSafe_:this.byteToCharMap_,rt=[];for(let b=0;b<S.length;b+=3){const ht=S[b],Rt=b+1<S.length,Xt=Rt?S[b+1]:0,at=b+2<S.length,ce=at?S[b+2]:0;let X=(15&Xt)<<2|ce>>6,z=63&ce;at||(z=64,Rt||(X=64)),rt.push(D[ht>>2],D[(3&ht)<<4|Xt>>4],D[X],D[z])}return rt.join("")},encodeString(S,T){return this.HAS_NATIVE_SUPPORT&&!T?btoa(S):this.encodeByteArray(Ae(S),T)},decodeString(S,T){return this.HAS_NATIVE_SUPPORT&&!T?atob(S):function(S){const T=[];let D=0,rt=0;for(;D<S.length;){const b=S[D++];if(b<128)T[rt++]=String.fromCharCode(b);else if(b>191&&b<224){const ht=S[D++];T[rt++]=String.fromCharCode((31&b)<<6|63&ht)}else if(b>239&&b<365){const at=((7&b)<<18|(63&S[D++])<<12|(63&S[D++])<<6|63&S[D++])-65536;T[rt++]=String.fromCharCode(55296+(at>>10)),T[rt++]=String.fromCharCode(56320+(1023&at))}else{const ht=S[D++],Rt=S[D++];T[rt++]=String.fromCharCode((15&b)<<12|(63&ht)<<6|63&Rt)}}return T.join("")}(this.decodeStringToByteArray(S,T))},decodeStringToByteArray(S,T){this.init_();const D=T?this.charToByteMapWebSafe_:this.charToByteMap_,rt=[];for(let b=0;b<S.length;){const ht=D[S.charAt(b++)],Xt=b<S.length?D[S.charAt(b)]:0;++b;const ce=b<S.length?D[S.charAt(b)]:64;++b;const Bt=b<S.length?D[S.charAt(b)]:64;if(++b,null==ht||null==Xt||null==ce||null==Bt)throw new Ht;rt.push(ht<<2|Xt>>4),64!==ce&&(rt.push(Xt<<4&240|ce>>2),64!==Bt&&rt.push(ce<<6&192|Bt))}return rt},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let S=0;S<this.ENCODED_VALS.length;S++)this.byteToCharMap_[S]=this.ENCODED_VALS.charAt(S),this.charToByteMap_[this.byteToCharMap_[S]]=S,this.byteToCharMapWebSafe_[S]=this.ENCODED_VALS_WEBSAFE.charAt(S),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[S]]=S,S>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(S)]=S,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(S)]=S)}}};class Ht extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const ot=function(S){return function(S){const T=Ae(S);return Le.encodeByteArray(T,!0)}(S).replace(/\./g,"")},wt=function(S){try{return Le.decodeString(S,!0)}catch(T){console.error("base64Decode failed: ",T)}return null};function tt(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}const V=()=>{try{return tt().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const S=process.env.__FIREBASE_DEFAULTS__;return S?JSON.parse(S):void 0})()||(()=>{if(typeof document>"u")return;let S;try{S=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const T=S&&wt(S[1]);return T&&JSON.parse(T)})()}catch(S){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${S}`)}},de=S=>{const T=(S=>V()?.emulatorHosts?.[S])(S);if(!T)return;const D=T.lastIndexOf(":");if(D<=0||D+1===T.length)throw new Error(`Invalid host ${T} with no separate hostname and port!`);const rt=parseInt(T.substring(D+1),10);return"["===T[0]?[T.substring(1,D-1),rt]:[T.substring(0,D),rt]},Ze=()=>V()?.config,Ve=S=>V()?.[`_${S}`];class kn{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((T,D)=>{this.resolve=T,this.reject=D})}wrapCallback(T){return(D,rt)=>{D?this.reject(D):this.resolve(rt),"function"==typeof T&&(this.promise.catch(()=>{}),1===T.length?T(D):T(D,rt))}}}function kr(S){try{return(S.startsWith("http://")||S.startsWith("https://")?new URL(S).hostname:S).endsWith(".cloudworkstations.dev")}catch{return!1}}function Ai(S){return Cn.apply(this,arguments)}function Cn(){return(Cn=(0,I.A)(function*(S){return(yield fetch(S,{credentials:"include"})).ok})).apply(this,arguments)}function hr(S,T){if(S.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const rt=T||"demo-project",b=S.iat||0,ht=S.sub||S.user_id;if(!ht)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const Rt={iss:`https://securetoken.google.com/${rt}`,aud:rt,iat:b,exp:b+3600,auth_time:b,sub:ht,user_id:ht,firebase:{sign_in_provider:"custom",identities:{}},...S};return[ot(JSON.stringify({alg:"none",type:"JWT"})),ot(JSON.stringify(Rt)),""].join(".")}const Dn={};let ve=!1;function Cr(S,T){if(typeof window>"u"||typeof document>"u"||!kr(window.location.host)||Dn[S]===T||Dn[S]||ve)return;function D(X){return`__firebase__banner__${X}`}Dn[S]=T;const rt="__firebase__banner",ht=function Wn(){const S={prod:[],emulator:[]};for(const T of Object.keys(Dn))Dn[T]?S.emulator.push(T):S.prod.push(T);return S}().prod.length>0;function Bt(){const X=function Hn(S){let T=document.getElementById(S),D=!1;return T||(T=document.createElement("div"),T.setAttribute("id",S),D=!0),{created:D,element:T}}(rt),z=D("text"),it=document.getElementById(z)||document.createElement("span"),re=D("learnmore"),Ie=document.getElementById(re)||document.createElement("a"),wr=D("preprendIcon"),or=document.getElementById(wr)||document.createElementNS("http://www.w3.org/2000/svg","svg");if(X.created){const In=X.element;(function Xt(X){X.style.display="flex",X.style.background="#7faaf0",X.style.position="fixed",X.style.bottom="5px",X.style.left="5px",X.style.padding=".5em",X.style.borderRadius="5px",X.style.alignItems="center"})(In),function dt(X,z){X.setAttribute("id",z),X.innerText="Learn more",X.href="https://firebase.google.com/docs/studio/preview-apps#preview-backend",X.setAttribute("target","__blank"),X.style.paddingLeft="5px",X.style.textDecoration="underline"}(Ie,re);const co=function ce(){const X=document.createElement("span");return X.style.cursor="pointer",X.style.marginLeft="16px",X.style.fontSize="24px",X.innerHTML=" ×",X.onclick=()=>{ve=!0,function Rt(){const X=document.getElementById(rt);X&&X.remove()}()},X}();(function at(X,z){X.setAttribute("width","24"),X.setAttribute("id",z),X.setAttribute("height","24"),X.setAttribute("viewBox","0 0 24 24"),X.setAttribute("fill","none"),X.style.marginLeft="-6px"})(or,wr),In.append(or,it,Ie,co),document.body.appendChild(In)}ht?(it.innerText="Preview backend disconnected.",or.innerHTML='<g clip-path="url(#clip0_6013_33858)">\n<path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>\n</g>\n<defs>\n<clipPath id="clip0_6013_33858">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>'):(or.innerHTML='<g clip-path="url(#clip0_6083_34804)">\n<path d="M11.4 15.2H12.6V11.2H11.4V15.2ZM12 10C12.1667 10 12.3056 9.94444 12.4167 9.83333C12.5389 9.71111 12.6 9.56667 12.6 9.4C12.6 9.23333 12.5389 9.09444 12.4167 8.98333C12.3056 8.86111 12.1667 8.8 12 8.8C11.8333 8.8 11.6889 8.86111 11.5667 8.98333C11.4556 9.09444 11.4 9.23333 11.4 9.4C11.4 9.56667 11.4556 9.71111 11.5667 9.83333C11.6889 9.94444 11.8333 10 12 10ZM12 18.4C11.1222 18.4 10.2944 18.2333 9.51667 17.9C8.73889 17.5667 8.05556 17.1111 7.46667 16.5333C6.88889 15.9444 6.43333 15.2611 6.1 14.4833C5.76667 13.7056 5.6 12.8778 5.6 12C5.6 11.1111 5.76667 10.2833 6.1 9.51667C6.43333 8.73889 6.88889 8.06111 7.46667 7.48333C8.05556 6.89444 8.73889 6.43333 9.51667 6.1C10.2944 5.76667 11.1222 5.6 12 5.6C12.8889 5.6 13.7167 5.76667 14.4833 6.1C15.2611 6.43333 15.9389 6.89444 16.5167 7.48333C17.1056 8.06111 17.5667 8.73889 17.9 9.51667C18.2333 10.2833 18.4 11.1111 18.4 12C18.4 12.8778 18.2333 13.7056 17.9 14.4833C17.5667 15.2611 17.1056 15.9444 16.5167 16.5333C15.9389 17.1111 15.2611 17.5667 14.4833 17.9C13.7167 18.2333 12.8889 18.4 12 18.4ZM12 17.2C13.4444 17.2 14.6722 16.6944 15.6833 15.6833C16.6944 14.6722 17.2 13.4444 17.2 12C17.2 10.5556 16.6944 9.32778 15.6833 8.31667C14.6722 7.30555 13.4444 6.8 12 6.8C10.5556 6.8 9.32778 7.30555 8.31667 8.31667C7.30556 9.32778 6.8 10.5556 6.8 12C6.8 13.4444 7.30556 14.6722 8.31667 15.6833C9.32778 16.6944 10.5556 17.2 12 17.2Z" fill="#212121"/>\n</g>\n<defs>\n<clipPath id="clip0_6083_34804">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>',it.innerText="Preview backend running in this workspace."),it.setAttribute("id",z)}"loading"===document.readyState?window.addEventListener("DOMContentLoaded",Bt):Bt()}function fn(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Xr(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(fn())}function Yr(){const S=V()?.forceEnvironment;if("node"===S)return!0;if("browser"===S)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function tn(){return typeof navigator<"u"&&"Cloudflare-Workers"===navigator.userAgent}function Fo(){const S="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof S&&void 0!==S.id}function eo(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function er(){return!Yr()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function Uo(){return!Yr()&&!!navigator.userAgent&&(navigator.userAgent.includes("Safari")||navigator.userAgent.includes("WebKit"))&&!navigator.userAgent.includes("Chrome")}function dr(){try{return"object"==typeof indexedDB}catch{return!1}}function no(){return new Promise((S,T)=>{try{let D=!0;const rt="validate-browser-context-for-indexeddb-analytics-module",b=self.indexedDB.open(rt);b.onsuccess=()=>{b.result.close(),D||self.indexedDB.deleteDatabase(rt),S(!0)},b.onupgradeneeded=()=>{D=!1},b.onerror=()=>{T(b.error?.message||"")}}catch(D){T(D)}})}class nr extends Error{constructor(T,D,rt){super(D),this.code=T,this.customData=rt,this.name="FirebaseError",Object.setPrototypeOf(this,nr.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,pr.prototype.create)}}class pr{constructor(T,D,rt){this.service=T,this.serviceName=D,this.errors=rt}create(T,...D){const rt=D[0]||{},b=`${this.service}/${T}`,ht=this.errors[T],Rt=ht?function rr(S,T){return S.replace(jo,(D,rt)=>{const b=T[rt];return null!=b?String(b):`<${rt}?>`})}(ht,rt):"Error";return new nr(b,`${this.serviceName}: ${Rt} (${b}).`,rt)}}const jo=/\{\$([^}]+)}/g;function Ge(S,T){if(S===T)return!0;const D=Object.keys(S),rt=Object.keys(T);for(const b of D){if(!rt.includes(b))return!1;const ht=S[b],Rt=T[b];if(We(ht)&&We(Rt)){if(!Ge(ht,Rt))return!1}else if(ht!==Rt)return!1}for(const b of rt)if(!D.includes(b))return!1;return!0}function We(S){return null!==S&&"object"==typeof S}function bn(S){const T=[];for(const[D,rt]of Object.entries(S))Array.isArray(rt)?rt.forEach(b=>{T.push(encodeURIComponent(D)+"="+encodeURIComponent(b))}):T.push(encodeURIComponent(D)+"="+encodeURIComponent(rt));return T.length?"&"+T.join("&"):""}function ee(S,T){const D=new Qn(S,T);return D.subscribe.bind(D)}class Qn{constructor(T,D){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=D,this.task.then(()=>{T(this)}).catch(rt=>{this.error(rt)})}next(T){this.forEachObserver(D=>{D.next(T)})}error(T){this.forEachObserver(D=>{D.error(T)}),this.close(T)}complete(){this.forEachObserver(T=>{T.complete()}),this.close()}subscribe(T,D,rt){let b;if(void 0===T&&void 0===D&&void 0===rt)throw new Error("Missing Observer.");b=function vn(S,T){if("object"!=typeof S||null===S)return!1;for(const D of T)if(D in S&&"function"==typeof S[D])return!0;return!1}(T,["next","error","complete"])?T:{next:T,error:D,complete:rt},void 0===b.next&&(b.next=gr),void 0===b.error&&(b.error=gr),void 0===b.complete&&(b.complete=gr);const ht=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?b.error(this.finalError):b.complete()}catch{}}),this.observers.push(b),ht}unsubscribeOne(T){void 0===this.observers||void 0===this.observers[T]||(delete this.observers[T],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(T){if(!this.finalized)for(let D=0;D<this.observers.length;D++)this.sendOne(D,T)}sendOne(T,D){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[T])try{D(this.observers[T])}catch(rt){typeof console<"u"&&console.error&&console.error(rt)}})}close(T){this.finalized||(this.finalized=!0,void 0!==T&&(this.finalError=T),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function gr(){}function Me(S){return S&&S._delegate?S._delegate:S}},4556(wn){wn.exports=function(){"use strict";var I=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function mt(tt,H){var E=tt[0],A=tt[1],V=tt[2],O=tt[3];A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&V|~A&O)+H[0]-680876936|0)<<7|E>>>25)+A|0)&A|~E&V)+H[1]-389564586|0)<<12|O>>>20)+E|0)&E|~O&A)+H[2]+606105819|0)<<17|V>>>15)+O|0)&O|~V&E)+H[3]-1044525330|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&V|~A&O)+H[4]-176418897|0)<<7|E>>>25)+A|0)&A|~E&V)+H[5]+1200080426|0)<<12|O>>>20)+E|0)&E|~O&A)+H[6]-1473231341|0)<<17|V>>>15)+O|0)&O|~V&E)+H[7]-45705983|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&V|~A&O)+H[8]+1770035416|0)<<7|E>>>25)+A|0)&A|~E&V)+H[9]-1958414417|0)<<12|O>>>20)+E|0)&E|~O&A)+H[10]-42063|0)<<17|V>>>15)+O|0)&O|~V&E)+H[11]-1990404162|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&V|~A&O)+H[12]+1804603682|0)<<7|E>>>25)+A|0)&A|~E&V)+H[13]-40341101|0)<<12|O>>>20)+E|0)&E|~O&A)+H[14]-1502002290|0)<<17|V>>>15)+O|0)&O|~V&E)+H[15]+1236535329|0)<<22|A>>>10)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&O|V&~O)+H[1]-165796510|0)<<5|E>>>27)+A|0)&V|A&~V)+H[6]-1069501632|0)<<9|O>>>23)+E|0)&A|E&~A)+H[11]+643717713|0)<<14|V>>>18)+O|0)&E|O&~E)+H[0]-373897302|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&O|V&~O)+H[5]-701558691|0)<<5|E>>>27)+A|0)&V|A&~V)+H[10]+38016083|0)<<9|O>>>23)+E|0)&A|E&~A)+H[15]-660478335|0)<<14|V>>>18)+O|0)&E|O&~E)+H[4]-405537848|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&O|V&~O)+H[9]+568446438|0)<<5|E>>>27)+A|0)&V|A&~V)+H[14]-1019803690|0)<<9|O>>>23)+E|0)&A|E&~A)+H[3]-187363961|0)<<14|V>>>18)+O|0)&E|O&~E)+H[8]+1163531501|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A&O|V&~O)+H[13]-1444681467|0)<<5|E>>>27)+A|0)&V|A&~V)+H[2]-51403784|0)<<9|O>>>23)+E|0)&A|E&~A)+H[7]+1735328473|0)<<14|V>>>18)+O|0)&E|O&~E)+H[12]-1926607734|0)<<20|A>>>12)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A^V^O)+H[5]-378558|0)<<4|E>>>28)+A|0)^A^V)+H[8]-2022574463|0)<<11|O>>>21)+E|0)^E^A)+H[11]+1839030562|0)<<16|V>>>16)+O|0)^O^E)+H[14]-35309556|0)<<23|A>>>9)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A^V^O)+H[1]-1530992060|0)<<4|E>>>28)+A|0)^A^V)+H[4]+1272893353|0)<<11|O>>>21)+E|0)^E^A)+H[7]-155497632|0)<<16|V>>>16)+O|0)^O^E)+H[10]-1094730640|0)<<23|A>>>9)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A^V^O)+H[13]+681279174|0)<<4|E>>>28)+A|0)^A^V)+H[0]-358537222|0)<<11|O>>>21)+E|0)^E^A)+H[3]-722521979|0)<<16|V>>>16)+O|0)^O^E)+H[6]+76029189|0)<<23|A>>>9)+V|0,A=((A+=((V=((V+=((O=((O+=((E=((E+=(A^V^O)+H[9]-640364487|0)<<4|E>>>28)+A|0)^A^V)+H[12]-421815835|0)<<11|O>>>21)+E|0)^E^A)+H[15]+530742520|0)<<16|V>>>16)+O|0)^O^E)+H[2]-995338651|0)<<23|A>>>9)+V|0,A=((A+=((O=((O+=(A^((E=((E+=(V^(A|~O))+H[0]-198630844|0)<<6|E>>>26)+A|0)|~V))+H[7]+1126891415|0)<<10|O>>>22)+E|0)^((V=((V+=(E^(O|~A))+H[14]-1416354905|0)<<15|V>>>17)+O|0)|~E))+H[5]-57434055|0)<<21|A>>>11)+V|0,A=((A+=((O=((O+=(A^((E=((E+=(V^(A|~O))+H[12]+1700485571|0)<<6|E>>>26)+A|0)|~V))+H[3]-1894986606|0)<<10|O>>>22)+E|0)^((V=((V+=(E^(O|~A))+H[10]-1051523|0)<<15|V>>>17)+O|0)|~E))+H[1]-2054922799|0)<<21|A>>>11)+V|0,A=((A+=((O=((O+=(A^((E=((E+=(V^(A|~O))+H[8]+1873313359|0)<<6|E>>>26)+A|0)|~V))+H[15]-30611744|0)<<10|O>>>22)+E|0)^((V=((V+=(E^(O|~A))+H[6]-1560198380|0)<<15|V>>>17)+O|0)|~E))+H[13]+1309151649|0)<<21|A>>>11)+V|0,A=((A+=((O=((O+=(A^((E=((E+=(V^(A|~O))+H[4]-145523070|0)<<6|E>>>26)+A|0)|~V))+H[11]-1120210379|0)<<10|O>>>22)+E|0)^((V=((V+=(E^(O|~A))+H[2]+718787259|0)<<15|V>>>17)+O|0)|~E))+H[9]-343485551|0)<<21|A>>>11)+V|0,tt[0]=E+tt[0]|0,tt[1]=A+tt[1]|0,tt[2]=V+tt[2]|0,tt[3]=O+tt[3]|0}function Dt(tt){var E,H=[];for(E=0;E<64;E+=4)H[E>>2]=tt.charCodeAt(E)+(tt.charCodeAt(E+1)<<8)+(tt.charCodeAt(E+2)<<16)+(tt.charCodeAt(E+3)<<24);return H}function _e(tt){var E,H=[];for(E=0;E<64;E+=4)H[E>>2]=tt[E]+(tt[E+1]<<8)+(tt[E+2]<<16)+(tt[E+3]<<24);return H}function Ae(tt){var A,V,O,de,Ze,Ve,H=tt.length,E=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=H;A+=64)mt(E,Dt(tt.substring(A-64,A)));for(V=(tt=tt.substring(A-64)).length,O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],A=0;A<V;A+=1)O[A>>2]|=tt.charCodeAt(A)<<(A%4<<3);if(O[A>>2]|=128<<(A%4<<3),A>55)for(mt(E,O),A=0;A<16;A+=1)O[A]=0;return de=(de=8*H).toString(16).match(/(.*?)(.{0,8})$/),Ze=parseInt(de[2],16),Ve=parseInt(de[1],16)||0,O[14]=Ze,O[15]=Ve,mt(E,O),E}function Le(tt){var E,H="";for(E=0;E<4;E+=1)H+=I[tt>>8*E+4&15]+I[tt>>8*E&15];return H}function Ht(tt){var H;for(H=0;H<tt.length;H+=1)tt[H]=Le(tt[H]);return tt.join("")}function Y(tt){return/[\u0080-\uFFFF]/.test(tt)&&(tt=unescape(encodeURIComponent(tt))),tt}function Ut(tt){var A,H=[],E=tt.length;for(A=0;A<E-1;A+=2)H.push(parseInt(tt.substr(A,2),16));return String.fromCharCode.apply(String,H)}function Ot(){this.reset()}return Ht(Ae("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function tt(H,E){return(H=0|H||0)<0?Math.max(H+E,0):Math.min(H,E)}ArrayBuffer.prototype.slice=function(H,E){var de,Ze,Ve,kn,A=this.byteLength,V=tt(H,A),O=A;return void 0!==E&&(O=tt(E,A)),V>O?new ArrayBuffer(0):(de=O-V,Ze=new ArrayBuffer(de),Ve=new Uint8Array(Ze),kn=new Uint8Array(this,V,de),Ve.set(kn),Ze)}}(),Ot.prototype.append=function(tt){return this.appendBinary(Y(tt)),this},Ot.prototype.appendBinary=function(tt){this._buff+=tt,this._length+=tt.length;var E,H=this._buff.length;for(E=64;E<=H;E+=64)mt(this._hash,Dt(this._buff.substring(E-64,E)));return this._buff=this._buff.substring(E-64),this},Ot.prototype.end=function(tt){var A,O,H=this._buff,E=H.length,V=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(A=0;A<E;A+=1)V[A>>2]|=H.charCodeAt(A)<<(A%4<<3);return this._finish(V,E),O=Ht(this._hash),tt&&(O=Ut(O)),this.reset(),O},Ot.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ot.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Ot.prototype.setState=function(tt){return this._buff=tt.buff,this._length=tt.length,this._hash=tt.hash,this},Ot.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Ot.prototype._finish=function(tt,H){var A,V,O,E=H;if(tt[E>>2]|=128<<(E%4<<3),E>55)for(mt(this._hash,tt),E=0;E<16;E+=1)tt[E]=0;A=(A=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),V=parseInt(A[2],16),O=parseInt(A[1],16)||0,tt[14]=V,tt[15]=O,mt(this._hash,tt)},Ot.hash=function(tt,H){return Ot.hashBinary(Y(tt),H)},Ot.hashBinary=function(tt,H){var A=Ht(Ae(tt));return H?Ut(A):A},(Ot.ArrayBuffer=function(){this.reset()}).prototype.append=function(tt){var A,H=function Ct(tt,H,E){var A=new Uint8Array(tt.byteLength+H.byteLength);return A.set(new Uint8Array(tt)),A.set(new Uint8Array(H),tt.byteLength),E?A:A.buffer}(this._buff.buffer,tt,!0),E=H.length;for(this._length+=tt.byteLength,A=64;A<=E;A+=64)mt(this._hash,_e(H.subarray(A-64,A)));return this._buff=A-64<E?new Uint8Array(H.buffer.slice(A-64)):new Uint8Array(0),this},Ot.ArrayBuffer.prototype.end=function(tt){var V,O,H=this._buff,E=H.length,A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(V=0;V<E;V+=1)A[V>>2]|=H[V]<<(V%4<<3);return this._finish(A,E),O=Ht(this._hash),tt&&(O=Ut(O)),this.reset(),O},Ot.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ot.ArrayBuffer.prototype.getState=function(){var tt=Ot.prototype.getState.call(this);return tt.buff=function wt(tt){return String.fromCharCode.apply(null,new Uint8Array(tt))}(tt.buff),tt},Ot.ArrayBuffer.prototype.setState=function(tt){return tt.buff=function ot(tt,H){var O,E=tt.length,A=new ArrayBuffer(E),V=new Uint8Array(A);for(O=0;O<E;O+=1)V[O]=tt.charCodeAt(O);return H?V:A}(tt.buff,!0),Ot.prototype.setState.call(this,tt)},Ot.ArrayBuffer.prototype.destroy=Ot.prototype.destroy,Ot.ArrayBuffer.prototype._finish=Ot.prototype._finish,Ot.ArrayBuffer.hash=function(tt,H){var A=Ht(function be(tt){var A,V,O,de,Ze,Ve,H=tt.length,E=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=H;A+=64)mt(E,_e(tt.subarray(A-64,A)));for(V=(tt=A-64<H?tt.subarray(A-64):new Uint8Array(0)).length,O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],A=0;A<V;A+=1)O[A>>2]|=tt[A]<<(A%4<<3);if(O[A>>2]|=128<<(A%4<<3),A>55)for(mt(E,O),A=0;A<16;A+=1)O[A]=0;return de=(de=8*H).toString(16).match(/(.*?)(.{0,8})$/),Ze=parseInt(de[2],16),Ve=parseInt(de[1],16)||0,O[14]=Ze,O[15]=Ve,mt(E,O),E}(new Uint8Array(tt)));return H?Ut(A):A},Ot}()},7573(wn,Gt,Pt){"use strict";Pt.d(Gt,{E:()=>I});const I={qcy:"https://dev.qaecy.com/ont#","qcy-e":"https://dev.qaecy.com/enum#","qcy-f":"https://dev.qaecy.com/functions#",obc:"https://w3id.org/obc#",dicc:"https://w3id.org/digitalconstruction/0.5/Contexts#",dicv:"https://w3id.org/digitalconstruction/0.5/Variables#",dice:"https://w3id.org/digitalconstruction/0.5/Entities#",dicp:"https://w3id.org/digitalconstruction/0.5/Processes#",dica:"https://w3id.org/digitalconstruction/0.5/Agents#",dici:"https://w3id.org/digitalconstruction/0.5/Information#",dicbm:"https://w3id.org/digitalconstruction/0.5/Materials#",dicob:"https://w3id.org/digitalconstruction/0.5/Occupancy#",dicl:"https://w3id.org/digitalconstruction/0.5/Lifecycle#",dices:"https://w3id.org/digitalconstruction/0.5/Energy#",dicu:"https://w3id.org/digitalconstruction/0.5/Units#",diclvl:"https://w3id.org/digitalconstruction/0.5/Levels#",dicstg:"https://w3id.org/digitalconstruction/0.5/Stages#"}},5281(wn,Gt,Pt){"use strict";Pt.d(Gt,{f$:()=>Hl,g8:()=>Og,Ug:()=>DI});var I=Pt(467),mt=(Pt(600),Pt(3659));(0,mt.KO)("firebase","12.8.0","app"),Pt(6702);const be="http://www.w3.org/1999/02/22-rdf-syntax-ns#",Le="http://www.w3.org/2001/XMLSchema#",Ht="http://www.w3.org/2000/10/swap/",Y={xsd:{decimal:`${Le}decimal`,boolean:`${Le}boolean`,double:`${Le}double`,integer:`${Le}integer`,string:`${Le}string`},rdf:{type:`${be}type`,nil:`${be}nil`,first:`${be}first`,rest:`${be}rest`,langString:`${be}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${Ht}reify#forSome`,forAll:`${Ht}reify#forAll`},log:{implies:`${Ht}log#implies`,isImpliedBy:`${Ht}log#isImpliedBy`}},{rdf:ot,xsd:wt}=Y;let Ct,Ut=0;const H={namedNode:hr,blankNode:Dn,variable:Hn,literal:Wn,defaultGraph:function ve(){return Ct},quad:Cr,triple:Cr,fromTerm:fn,fromQuad:Xr};class E{constructor(t){this.id=t}get value(){return this.id}equals(t){return t instanceof E?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 A extends E{get termType(){return"NamedNode"}}class V extends E{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 A(this.datatypeString)}get datatypeString(){const t=this.id,e=t.lastIndexOf('"')+1,n=e<t.length?t[e]:"";return"^"===n?t.substr(e+2):"@"!==n?wt.string:ot.langString}equals(t){return t instanceof V?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 O extends E{constructor(t){super(`_:${t}`)}get termType(){return"BlankNode"}get value(){return this.id.substr(2)}}class de extends E{constructor(t){super(`?${t}`)}get termType(){return"Variable"}get value(){return this.id.substr(1)}}Ct=new class Ze extends E{constructor(){return super(""),Ct||this}get termType(){return"DefaultGraph"}equals(t){return this===t||!!t&&this.termType===t.termType}};class kr extends E{constructor(t,e,n,o){super(""),this._subject=t,this._predicate=e,this._object=n,this._graph=o||Ct}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 hr(r){return new A(r)}function Dn(r){return new O(r||"n3-"+Ut++)}function Wn(r,t){if("string"==typeof t)return new V(`"${r}"@${t.toLowerCase()}`);let e=t?t.value:"";return""===e&&("boolean"==typeof r?e=wt.boolean:"number"==typeof r&&(Number.isFinite(r)?e=Number.isInteger(r)?wt.integer:wt.double:(e=wt.double,Number.isNaN(r)||(r=r>0?"INF":"-INF")))),new V(""===e||e===wt.string?`"${r}"`:`"${r}"^^${e}`)}function Hn(r){return new de(r)}function Cr(r,t,e,n){return new kr(r,t,e,n)}function fn(r){if(r instanceof E)return r;switch(r.termType){case"NamedNode":return hr(r.value);case"BlankNode":return Dn(r.value);case"Variable":return Hn(r.value);case"DefaultGraph":return Ct;case"Literal":return Wn(r.value,r.language||r.datatype);case"Quad":return Xr(r);default:throw new Error(`Unexpected termType: ${r.termType}`)}}function Xr(r){if(r instanceof kr)return r;if("Quad"!==r.termType)throw new Error(`Unexpected termType: ${r.termType}`);return Cr(fn(r.subject),fn(r.predicate),fn(r.object),fn(r.graph))}H.defaultGraph();var Ge,fr=Pt(2040),It=Pt(7814),zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Go={};(function(){var r;function n(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.C=Array(this.blockSize),this.o=this.h=0,this.u()}function o(C,R,k){k||(k=0);const M=Array(16);if("string"==typeof R)for(var L=0;L<16;++L)M[L]=R.charCodeAt(k++)|R.charCodeAt(k++)<<8|R.charCodeAt(k++)<<16|R.charCodeAt(k++)<<24;else for(L=0;L<16;++L)M[L]=R[k++]|R[k++]<<8|R[k++]<<16|R[k++]<<24;let x,W=C.g[3];x=(R=C.g[0])+(W^(k=C.g[1])&((L=C.g[2])^W))+M[0]+3614090360&4294967295,x=W+(L^(R=k+(x<<7&4294967295|x>>>25))&(k^L))+M[1]+3905402710&4294967295,W=R+(x<<12&4294967295|x>>>20),x=L+(k^W&(R^k))+M[2]+606105819&4294967295,x=k+(R^(L=W+(x<<17&4294967295|x>>>15))&(W^R))+M[3]+3250441966&4294967295,x=R+(W^(k=L+(x<<22&4294967295|x>>>10))&(L^W))+M[4]+4118548399&4294967295,x=W+(L^(R=k+(x<<7&4294967295|x>>>25))&(k^L))+M[5]+1200080426&4294967295,W=R+(x<<12&4294967295|x>>>20),x=L+(k^W&(R^k))+M[6]+2821735955&4294967295,x=k+(R^(L=W+(x<<17&4294967295|x>>>15))&(W^R))+M[7]+4249261313&4294967295,x=R+(W^(k=L+(x<<22&4294967295|x>>>10))&(L^W))+M[8]+1770035416&4294967295,x=W+(L^(R=k+(x<<7&4294967295|x>>>25))&(k^L))+M[9]+2336552879&4294967295,W=R+(x<<12&4294967295|x>>>20),x=L+(k^W&(R^k))+M[10]+4294925233&4294967295,x=k+(R^(L=W+(x<<17&4294967295|x>>>15))&(W^R))+M[11]+2304563134&4294967295,x=R+(W^(k=L+(x<<22&4294967295|x>>>10))&(L^W))+M[12]+1804603682&4294967295,x=W+(L^(R=k+(x<<7&4294967295|x>>>25))&(k^L))+M[13]+4254626195&4294967295,W=R+(x<<12&4294967295|x>>>20),x=L+(k^W&(R^k))+M[14]+2792965006&4294967295,x=k+(R^(L=W+(x<<17&4294967295|x>>>15))&(W^R))+M[15]+1236535329&4294967295,x=R+(L^W&((k=L+(x<<22&4294967295|x>>>10))^L))+M[1]+4129170786&4294967295,x=W+(k^L&((R=k+(x<<5&4294967295|x>>>27))^k))+M[6]+3225465664&4294967295,W=R+(x<<9&4294967295|x>>>23),x=L+(R^k&(W^R))+M[11]+643717713&4294967295,x=k+(W^R&((L=W+(x<<14&4294967295|x>>>18))^W))+M[0]+3921069994&4294967295,x=R+(L^W&((k=L+(x<<20&4294967295|x>>>12))^L))+M[5]+3593408605&4294967295,x=W+(k^L&((R=k+(x<<5&4294967295|x>>>27))^k))+M[10]+38016083&4294967295,W=R+(x<<9&4294967295|x>>>23),x=L+(R^k&(W^R))+M[15]+3634488961&4294967295,x=k+(W^R&((L=W+(x<<14&4294967295|x>>>18))^W))+M[4]+3889429448&4294967295,x=R+(L^W&((k=L+(x<<20&4294967295|x>>>12))^L))+M[9]+568446438&4294967295,x=W+(k^L&((R=k+(x<<5&4294967295|x>>>27))^k))+M[14]+3275163606&4294967295,W=R+(x<<9&4294967295|x>>>23),x=L+(R^k&(W^R))+M[3]+4107603335&4294967295,x=k+(W^R&((L=W+(x<<14&4294967295|x>>>18))^W))+M[8]+1163531501&4294967295,x=R+(L^W&((k=L+(x<<20&4294967295|x>>>12))^L))+M[13]+2850285829&4294967295,x=W+(k^L&((R=k+(x<<5&4294967295|x>>>27))^k))+M[2]+4243563512&4294967295,W=R+(x<<9&4294967295|x>>>23),x=L+(R^k&(W^R))+M[7]+1735328473&4294967295,x=k+(W^R&((L=W+(x<<14&4294967295|x>>>18))^W))+M[12]+2368359562&4294967295,x=R+((k=L+(x<<20&4294967295|x>>>12))^L^W)+M[5]+4294588738&4294967295,x=W+((R=k+(x<<4&4294967295|x>>>28))^k^L)+M[8]+2272392833&4294967295,W=R+(x<<11&4294967295|x>>>21),x=L+(W^R^k)+M[11]+1839030562&4294967295,x=k+((L=W+(x<<16&4294967295|x>>>16))^W^R)+M[14]+4259657740&4294967295,x=R+((k=L+(x<<23&4294967295|x>>>9))^L^W)+M[1]+2763975236&4294967295,x=W+((R=k+(x<<4&4294967295|x>>>28))^k^L)+M[4]+1272893353&4294967295,W=R+(x<<11&4294967295|x>>>21),x=L+(W^R^k)+M[7]+4139469664&4294967295,x=k+((L=W+(x<<16&4294967295|x>>>16))^W^R)+M[10]+3200236656&4294967295,x=R+((k=L+(x<<23&4294967295|x>>>9))^L^W)+M[13]+681279174&4294967295,x=W+((R=k+(x<<4&4294967295|x>>>28))^k^L)+M[0]+3936430074&4294967295,W=R+(x<<11&4294967295|x>>>21),x=L+(W^R^k)+M[3]+3572445317&4294967295,x=k+((L=W+(x<<16&4294967295|x>>>16))^W^R)+M[6]+76029189&4294967295,x=R+((k=L+(x<<23&4294967295|x>>>9))^L^W)+M[9]+3654602809&4294967295,x=W+((R=k+(x<<4&4294967295|x>>>28))^k^L)+M[12]+3873151461&4294967295,W=R+(x<<11&4294967295|x>>>21),x=L+(W^R^k)+M[15]+530742520&4294967295,x=k+((L=W+(x<<16&4294967295|x>>>16))^W^R)+M[2]+3299628645&4294967295,x=R+(L^((k=L+(x<<23&4294967295|x>>>9))|~W))+M[0]+4096336452&4294967295,x=W+(k^((R=k+(x<<6&4294967295|x>>>26))|~L))+M[7]+1126891415&4294967295,W=R+(x<<10&4294967295|x>>>22),x=L+(R^(W|~k))+M[14]+2878612391&4294967295,x=k+(W^((L=W+(x<<15&4294967295|x>>>17))|~R))+M[5]+4237533241&4294967295,x=R+(L^((k=L+(x<<21&4294967295|x>>>11))|~W))+M[12]+1700485571&4294967295,x=W+(k^((R=k+(x<<6&4294967295|x>>>26))|~L))+M[3]+2399980690&4294967295,W=R+(x<<10&4294967295|x>>>22),x=L+(R^(W|~k))+M[10]+4293915773&4294967295,x=k+(W^((L=W+(x<<15&4294967295|x>>>17))|~R))+M[1]+2240044497&4294967295,x=R+(L^((k=L+(x<<21&4294967295|x>>>11))|~W))+M[8]+1873313359&4294967295,x=W+(k^((R=k+(x<<6&4294967295|x>>>26))|~L))+M[15]+4264355552&4294967295,W=R+(x<<10&4294967295|x>>>22),x=L+(R^(W|~k))+M[6]+2734768916&4294967295,x=k+(W^((L=W+(x<<15&4294967295|x>>>17))|~R))+M[13]+1309151649&4294967295,x=R+(L^((k=L+(x<<21&4294967295|x>>>11))|~W))+M[4]+4149444226&4294967295,x=W+(k^((R=k+(x<<6&4294967295|x>>>26))|~L))+M[11]+3174756917&4294967295,W=R+(x<<10&4294967295|x>>>22),x=L+(R^(W|~k))+M[2]+718787259&4294967295,x=k+(W^((L=W+(x<<15&4294967295|x>>>17))|~R))+M[9]+3951481745&4294967295,C.g[0]=C.g[0]+R&4294967295,C.g[1]=C.g[1]+(L+(x<<21&4294967295|x>>>11))&4294967295,C.g[2]=C.g[2]+L&4294967295,C.g[3]=C.g[3]+W&4294967295}function s(C,R){this.h=R;const k=[];let M=!0;for(let L=C.length-1;L>=0;L--){const W=0|C[L];M&&W==R||(k[L]=W,M=!1)}this.g=k}(function t(C,R){function k(){}k.prototype=R.prototype,C.F=R.prototype,C.prototype=new k,C.prototype.constructor=C,C.D=function(M,L,W){for(var x=Array(arguments.length-2),xn=2;xn<arguments.length;xn++)x[xn-2]=arguments[xn];return R.prototype[L].apply(M,x)}})(n,function e(){this.blockSize=-1}),n.prototype.u=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0},n.prototype.v=function(C,R){void 0===R&&(R=C.length);const k=R-this.blockSize,M=this.C;let L=this.h,W=0;for(;W<R;){if(0==L)for(;W<=k;)o(this,C,W),W+=this.blockSize;if("string"==typeof C){for(;W<R;)if(M[L++]=C.charCodeAt(W++),L==this.blockSize){o(this,M),L=0;break}}else for(;W<R;)if(M[L++]=C[W++],L==this.blockSize){o(this,M),L=0;break}}this.h=L,this.o+=R},n.prototype.A=function(){var C=Array((this.h<56?this.blockSize:2*this.blockSize)-this.h);C[0]=128;for(var R=1;R<C.length-8;++R)C[R]=0;R=8*this.o;for(var k=C.length-8;k<C.length;++k)C[k]=255&R,R/=256;for(this.v(C),C=Array(16),R=0,k=0;k<4;++k)for(let M=0;M<32;M+=8)C[R++]=this.g[k]>>>M&255;return C};var a={};function l(C){return-128<=C&&C<128?function i(C,R){var k=a;return Object.prototype.hasOwnProperty.call(k,C)?k[C]:k[C]=R(C)}(C,function(R){return new s([0|R],R<0?-1:0)}):new s([0|C],C<0?-1:0)}function u(C){if(isNaN(C)||!isFinite(C))return p;if(C<0)return nt(u(-C));const R=[];let k=1;for(let M=0;C>=k;M++)R[M]=C/k|0,k*=4294967296;return new s(R,0)}var p=l(0),_=l(1),v=l(16777216);function N(C){if(0!=C.h)return!1;for(let R=0;R<C.g.length;R++)if(0!=C.g[R])return!1;return!0}function G(C){return-1==C.h}function nt(C){const R=C.g.length,k=[];for(let M=0;M<R;M++)k[M]=~C.g[M];return new s(k,~C.h).add(_)}function et(C,R){return C.add(nt(R))}function vt(C,R){for(;(65535&C[R])!=C[R];)C[R+1]+=C[R]>>>16,C[R]&=65535,R++}function yt(C,R){this.g=C,this.h=R}function kt(C,R){if(N(R))throw Error("division by zero");if(N(C))return new yt(p,p);if(G(C))return R=kt(nt(C),R),new yt(nt(R.g),nt(R.h));if(G(R))return R=kt(C,nt(R)),new yt(nt(R.g),R.h);if(C.g.length>30){if(G(C)||G(R))throw Error("slowDivide_ only works with positive integers.");for(var k=_,M=R;M.l(C)<=0;)k=qt(k),M=qt(M);var L=At(k,1),W=At(M,1);for(M=At(M,2),k=At(k,2);!N(M);){var x=W.add(M);x.l(C)<=0&&(L=L.add(k),W=x),M=At(M,1),k=At(k,1)}return R=et(C,L.j(R)),new yt(L,R)}for(L=p;C.l(R)>=0;){for(k=Math.max(1,Math.floor(C.m()/R.m())),M=(M=Math.ceil(Math.log(k)/Math.LN2))<=48?1:Math.pow(2,M-48),x=(W=u(k)).j(R);G(x)||x.l(C)>0;)x=(W=u(k-=M)).j(R);N(W)&&(W=_),L=L.add(W),C=et(C,x)}return new yt(L,C)}function qt(C){const R=C.g.length+1,k=[];for(let M=0;M<R;M++)k[M]=C.i(M)<<1|C.i(M-1)>>>31;return new s(k,C.h)}function At(C,R){const k=R>>5;R%=32;const M=C.g.length-k,L=[];for(let W=0;W<M;W++)L[W]=R>0?C.i(W+k)>>>R|C.i(W+k+1)<<32-R:C.i(W+k);return new s(L,C.h)}(r=s.prototype).m=function(){if(G(this))return-nt(this).m();let C=0,R=1;for(let k=0;k<this.g.length;k++){const M=this.i(k);C+=(M>=0?M:4294967296+M)*R,R*=4294967296}return C},r.toString=function(C){if((C=C||10)<2||36<C)throw Error("radix out of range: "+C);if(N(this))return"0";if(G(this))return"-"+nt(this).toString(C);const R=u(Math.pow(C,6));var k=this;let M="";for(;;){const L=kt(k,R).g;let W=(((k=et(k,L.j(R))).g.length>0?k.g[0]:k.h)>>>0).toString(C);if(N(k=L))return W+M;for(;W.length<6;)W="0"+W;M=W+M}},r.i=function(C){return C<0?0:C<this.g.length?this.g[C]:this.h},r.l=function(C){return G(C=et(this,C))?-1:N(C)?0:1},r.abs=function(){return G(this)?nt(this):this},r.add=function(C){const R=Math.max(this.g.length,C.g.length),k=[];let M=0;for(let L=0;L<=R;L++){let W=M+(65535&this.i(L))+(65535&C.i(L)),x=(W>>>16)+(this.i(L)>>>16)+(C.i(L)>>>16);M=x>>>16,W&=65535,x&=65535,k[L]=x<<16|W}return new s(k,-2147483648&k[k.length-1]?-1:0)},r.j=function(C){if(N(this)||N(C))return p;if(G(this))return G(C)?nt(this).j(nt(C)):nt(nt(this).j(C));if(G(C))return nt(this.j(nt(C)));if(this.l(v)<0&&C.l(v)<0)return u(this.m()*C.m());const R=this.g.length+C.g.length,k=[];for(var M=0;M<2*R;M++)k[M]=0;for(M=0;M<this.g.length;M++)for(let L=0;L<C.g.length;L++){const W=this.i(M)>>>16,x=65535&this.i(M),xn=C.i(L)>>>16,Co=65535&C.i(L);k[2*M+2*L]+=x*Co,vt(k,2*M+2*L),k[2*M+2*L+1]+=W*Co,vt(k,2*M+2*L+1),k[2*M+2*L+1]+=x*xn,vt(k,2*M+2*L+1),k[2*M+2*L+2]+=W*xn,vt(k,2*M+2*L+2)}for(C=0;C<R;C++)k[C]=k[2*C+1]<<16|k[2*C];for(C=R;C<2*R;C++)k[C]=0;return new s(k,0)},r.B=function(C){return kt(this,C).h},r.and=function(C){const R=Math.max(this.g.length,C.g.length),k=[];for(let M=0;M<R;M++)k[M]=this.i(M)&C.i(M);return new s(k,this.h&C.h)},r.or=function(C){const R=Math.max(this.g.length,C.g.length),k=[];for(let M=0;M<R;M++)k[M]=this.i(M)|C.i(M);return new s(k,this.h|C.h)},r.xor=function(C){const R=Math.max(this.g.length,C.g.length),k=[];for(let M=0;M<R;M++)k[M]=this.i(M)^C.i(M);return new s(k,this.h^C.h)},n.prototype.digest=n.prototype.A,n.prototype.reset=n.prototype.u,n.prototype.update=n.prototype.v,Go.Md5=n,s.prototype.add=s.prototype.add,s.prototype.multiply=s.prototype.j,s.prototype.modulo=s.prototype.B,s.prototype.compare=s.prototype.l,s.prototype.toNumber=s.prototype.m,s.prototype.toString=s.prototype.toString,s.prototype.getBits=s.prototype.i,s.fromNumber=u,s.fromString=function h(C,R){if(0==C.length)throw Error("number format error: empty string");if((R=R||10)<2||36<R)throw Error("radix out of range: "+R);if("-"==C.charAt(0))return nt(h(C.substring(1),R));if(C.indexOf("-")>=0)throw Error('number format error: interior "-" character');const k=u(Math.pow(R,8));let M=p;for(let W=0;W<C.length;W+=8){var L=Math.min(8,C.length-W);const x=parseInt(C.substring(W,W+L),R);L<8?(L=u(Math.pow(R,L)),M=M.j(L).add(u(x))):(M=M.j(k),M=M.add(u(x)))}return M},Ge=Go.Integer=s}).apply(typeof zo<"u"?zo:typeof self<"u"?self:typeof window<"u"?window:{});var Or,ee,Qn,oo,vn,gr,Wo,mr,ae=Pt(1919),bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},He={};(function(){var r,t=Object.defineProperty,n=function e(c){c=["object"==typeof globalThis&&globalThis,c,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof bn&&bn];for(var d=0;d<c.length;++d){var f=c[d];if(f&&f.Math==Math)return f}throw Error("Cannot find global object")}(this);function o(c,d){if(d)t:{var f=n;c=c.split(".");for(var y=0;y<c.length-1;y++){var $=c[y];if(!($ in f))break t;f=f[$]}(d=d(y=f[c=c[c.length-1]]))!=y&&null!=d&&t(f,c,{configurable:!0,writable:!0,value:d})}}o("Symbol.dispose",function(c){return c||Symbol("Symbol.dispose")}),o("Array.prototype.values",function(c){return c||function(){return this[Symbol.iterator]()}}),o("Object.entries",function(c){return c||function(d){var y,f=[];for(y in d)Object.prototype.hasOwnProperty.call(d,y)&&f.push([y,d[y]]);return f}});var i=i||{},s=this||self;function a(c){var d=typeof c;return"object"==d&&null!=c||"function"==d}function l(c,d,f){return c.call.apply(c.bind,arguments)}function u(c,d,f){return(u=l).apply(null,arguments)}function h(c,d){var f=Array.prototype.slice.call(arguments,1);return function(){var y=f.slice();return y.push.apply(y,arguments),c.apply(this,y)}}function p(c,d){function f(){}f.prototype=d.prototype,c.Z=d.prototype,c.prototype=new f,c.prototype.constructor=c,c.Ob=function(y,$,K){for(var ft=Array(arguments.length-2),Ft=2;Ft<arguments.length;Ft++)ft[Ft-2]=arguments[Ft];return d.prototype[$].apply(y,ft)}}var _=typeof AsyncContext<"u"&&"function"==typeof AsyncContext.Snapshot?c=>c&&AsyncContext.Snapshot.wrap(c):c=>c;function v(c){const d=c.length;if(d>0){const f=Array(d);for(let y=0;y<d;y++)f[y]=c[y];return f}return[]}function N(c,d){for(let y=1;y<arguments.length;y++){const $=arguments[y];var f=typeof $;if("array"==(f="object"!=f?f:$?Array.isArray($)?"array":f:"null")||"object"==f&&"number"==typeof $.length){const K=$.length||0;c.length=(f=c.length||0)+K;for(let ft=0;ft<K;ft++)c[f+ft]=$[ft]}else c.push($)}}function nt(c){s.setTimeout(()=>{throw c},0)}function et(){var c=C;let d=null;return c.g&&(d=c.g,c.g=c.g.next,c.g||(c.h=null),d.next=null),d}var yt=new class G{constructor(d,f){this.i=d,this.j=f,this.h=0,this.g=null}get(){let d;return this.h>0?(this.h--,d=this.g,this.g=d.next,d.next=null):d=this.i(),d}}(()=>new kt,c=>c.reset());class kt{constructor(){this.next=this.g=this.h=null}set(d,f){this.h=d,this.g=f,this.next=null}reset(){this.next=this.g=this.h=null}}let qt,At=!1,C=new class vt{constructor(){this.h=this.g=null}add(d,f){const y=yt.get();y.set(d,f),this.h?this.h.next=y:this.g=y,this.h=y}},R=()=>{const c=Promise.resolve(void 0);qt=()=>{c.then(k)}};function k(){for(var c;c=et();){try{c.h.call(c.g)}catch(f){nt(f)}var d=yt;d.j(c),d.h<100&&(d.h++,c.next=d.g,d.g=c)}At=!1}function M(){this.u=this.u,this.C=this.C}function L(c,d){this.type=c,this.g=this.target=d,this.defaultPrevented=!1}M.prototype.u=!1,M.prototype.dispose=function(){this.u||(this.u=!0,this.N())},M.prototype[Symbol.dispose]=function(){this.dispose()},M.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},L.prototype.h=function(){this.defaultPrevented=!0};var W=function(){if(!s.addEventListener||!Object.defineProperty)return!1;var c=!1,d=Object.defineProperty({},"passive",{get:function(){c=!0}});try{const f=()=>{};s.addEventListener("test",f,d),s.removeEventListener("test",f,d)}catch{}return c}();function x(c){return/^[\s\xa0]*$/.test(c)}function xn(c,d){L.call(this,c?c.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,c&&this.init(c,d)}p(xn,L),xn.prototype.init=function(c,d){const f=this.type=c.type,y=c.changedTouches&&c.changedTouches.length?c.changedTouches[0]:null;this.target=c.target||c.srcElement,this.g=d,(d=c.relatedTarget)||("mouseover"==f?d=c.fromElement:"mouseout"==f&&(d=c.toElement)),this.relatedTarget=d,y?(this.clientX=void 0!==y.clientX?y.clientX:y.pageX,this.clientY=void 0!==y.clientY?y.clientY:y.pageY,this.screenX=y.screenX||0,this.screenY=y.screenY||0):(this.clientX=void 0!==c.clientX?c.clientX:c.pageX,this.clientY=void 0!==c.clientY?c.clientY:c.pageY,this.screenX=c.screenX||0,this.screenY=c.screenY||0),this.button=c.button,this.key=c.key||"",this.ctrlKey=c.ctrlKey,this.altKey=c.altKey,this.shiftKey=c.shiftKey,this.metaKey=c.metaKey,this.pointerId=c.pointerId||0,this.pointerType=c.pointerType,this.state=c.state,this.i=c,c.defaultPrevented&&xn.Z.h.call(this)},xn.prototype.h=function(){xn.Z.h.call(this);const c=this.i;c.preventDefault?c.preventDefault():c.returnValue=!1};var Co="closure_listenable_"+(1e6*Math.random()|0),pC=0;function fC(c,d,f,y,$){this.listener=c,this.proxy=null,this.src=d,this.type=f,this.capture=!!y,this.ha=$,this.key=++pC,this.da=this.fa=!1}function Xl(c){c.da=!0,c.listener=null,c.proxy=null,c.src=null,c.ha=null}function Yl(c,d,f){for(const y in c)d.call(f,c[y],y,c)}function jI(c){const d={};for(const f in c)d[f]=c[f];return d}const qI="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function BI(c,d){let f,y;for(let $=1;$<arguments.length;$++){for(f in y=arguments[$],y)c[f]=y[f];for(let K=0;K<qI.length;K++)f=qI[K],Object.prototype.hasOwnProperty.call(y,f)&&(c[f]=y[f])}}function Zl(c){this.src=c,this.g={},this.h=0}function Gg(c,d){const f=d.type;if(f in c.g){var K,y=c.g[f],$=Array.prototype.indexOf.call(y,d,void 0);(K=$>=0)&&Array.prototype.splice.call(y,$,1),K&&(Xl(d),0==c.g[f].length&&(delete c.g[f],c.h--))}}function Wg(c,d,f,y){for(let $=0;$<c.length;++$){const K=c[$];if(!K.da&&K.listener==d&&K.capture==!!f&&K.ha==y)return $}return-1}Zl.prototype.add=function(c,d,f,y,$){const K=c.toString();(c=this.g[K])||(c=this.g[K]=[],this.h++);const ft=Wg(c,d,y,$);return ft>-1?(d=c[ft],f||(d.fa=!1)):((d=new fC(d,this.src,K,!!y,$)).fa=f,c.push(d)),d};var Hg="closure_lm_"+(1e6*Math.random()|0),Kg={};function $I(c,d,f,y,$){if(y&&y.once)return GI(c,d,f,y,$);if(Array.isArray(d)){for(let K=0;K<d.length;K++)$I(c,d[K],f,y,$);return null}return f=Yg(f),c&&c[Co]?c.J(d,f,a(y)?!!y.capture:!!y,$):zI(c,d,f,!1,y,$)}function zI(c,d,f,y,$,K){if(!d)throw Error("Invalid event type");const ft=a($)?!!$.capture:!!$;let Ft=Jg(c);if(Ft||(c[Hg]=Ft=new Zl(c)),(f=Ft.add(d,f,y,ft,K)).proxy)return f;if(y=function mC(){const d=_C;return function c(f){return d.call(c.src,c.listener,f)}}(),f.proxy=y,y.src=c,y.listener=f,c.addEventListener)W||($=ft),void 0===$&&($=!1),c.addEventListener(d.toString(),y,$);else if(c.attachEvent)c.attachEvent(HI(d.toString()),y);else{if(!c.addListener||!c.removeListener)throw Error("addEventListener and attachEvent are unavailable.");c.addListener(y)}return f}function GI(c,d,f,y,$){if(Array.isArray(d)){for(let K=0;K<d.length;K++)GI(c,d[K],f,y,$);return null}return f=Yg(f),c&&c[Co]?c.K(d,f,a(y)?!!y.capture:!!y,$):zI(c,d,f,!0,y,$)}function WI(c,d,f,y,$){if(Array.isArray(d))for(var K=0;K<d.length;K++)WI(c,d[K],f,y,$);else y=a(y)?!!y.capture:!!y,f=Yg(f),c&&c[Co]?(c=c.i,(K=String(d).toString())in c.g&&(f=Wg(d=c.g[K],f,y,$))>-1&&(Xl(d[f]),Array.prototype.splice.call(d,f,1),0==d.length&&(delete c.g[K],c.h--))):c&&(c=Jg(c))&&(d=c.g[d.toString()],c=-1,d&&(c=Wg(d,f,y,$)),(f=c>-1?d[c]:null)&&Qg(f))}function Qg(c){if("number"!=typeof c&&c&&!c.da){var d=c.src;if(d&&d[Co])Gg(d.i,c);else{var f=c.type,y=c.proxy;d.removeEventListener?d.removeEventListener(f,y,c.capture):d.detachEvent?d.detachEvent(HI(f),y):d.addListener&&d.removeListener&&d.removeListener(y),(f=Jg(d))?(Gg(f,c),0==f.h&&(f.src=null,d[Hg]=null)):Xl(c)}}}function HI(c){return c in Kg?Kg[c]:Kg[c]="on"+c}function _C(c,d){if(c.da)c=!0;else{d=new xn(d,this);const f=c.listener,y=c.ha||c.src;c.fa&&Qg(c),c=f.call(y,d)}return c}function Jg(c){return(c=c[Hg])instanceof Zl?c:null}var Xg="__closure_events_fn_"+(1e9*Math.random()>>>0);function Yg(c){return"function"==typeof c?c:(c[Xg]||(c[Xg]=function(d){return c.handleEvent(d)}),c[Xg])}function pn(){M.call(this),this.i=new Zl(this),this.M=this,this.G=null}function _n(c,d){var f,y=c.G;if(y)for(f=[];y;y=y.G)f.push(y);if(c=c.M,y=d.type||d,"string"==typeof d)d=new L(d,c);else if(d instanceof L)d.target=d.target||c;else{var $=d;BI(d=new L(y,c),$)}let K,ft;if($=!0,f)for(ft=f.length-1;ft>=0;ft--)K=d.g=f[ft],$=tu(K,y,!0,d)&&$;if(K=d.g=c,$=tu(K,y,!0,d)&&$,$=tu(K,y,!1,d)&&$,f)for(ft=0;ft<f.length;ft++)K=d.g=f[ft],$=tu(K,y,!1,d)&&$}function tu(c,d,f,y){if(!(d=c.i.g[String(d)]))return!0;d=d.concat();let $=!0;for(let K=0;K<d.length;++K){const ft=d[K];if(ft&&!ft.da&&ft.capture==f){const Ft=ft.listener,ze=ft.ha||ft.src;ft.fa&&Gg(c.i,ft),$=!1!==Ft.call(ze,y)&&$}}return $&&!y.defaultPrevented}function KI(c){c.g=function yC(c,d){if("function"!=typeof c){if(!c||"function"!=typeof c.handleEvent)throw Error("Invalid listener argument");c=u(c.handleEvent,c)}return Number(d)>2147483647?-1:s.setTimeout(c,d||0)}(()=>{c.g=null,c.i&&(c.i=!1,KI(c))},c.l);const d=c.h;c.h=null,c.m.apply(null,d)}p(pn,M),pn.prototype[Co]=!0,pn.prototype.removeEventListener=function(c,d,f,y){WI(this,c,d,f,y)},pn.prototype.N=function(){if(pn.Z.N.call(this),this.i){var c=this.i;for(const d in c.g){const f=c.g[d];for(let y=0;y<f.length;y++)Xl(f[y]);delete c.g[d],c.h--}}this.G=null},pn.prototype.J=function(c,d,f,y){return this.i.add(String(c),d,!1,f,y)},pn.prototype.K=function(c,d,f,y){return this.i.add(String(c),d,!0,f,y)};class wC extends M{constructor(d,f){super(),this.m=d,this.l=f,this.h=null,this.i=!1,this.g=null}j(d){this.h=arguments,this.g?this.i=!0:KI(this)}N(){super.N(),this.g&&(s.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function Ja(c){M.call(this),this.h=c,this.g={}}p(Ja,M);var QI=[];function JI(c){Yl(c.g,function(d,f){this.g.hasOwnProperty(f)&&Qg(d)},c),c.g={}}Ja.prototype.N=function(){Ja.Z.N.call(this),JI(this)},Ja.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var Zg=s.JSON.stringify,bC=s.JSON.parse,vC=class{stringify(c){return s.JSON.stringify(c,void 0)}parse(c){return s.JSON.parse(c,void 0)}};function XI(){}function YI(){}var Xa={OPEN:"a",hb:"b",ERROR:"c",tb:"d"};function tm(){L.call(this,"d")}function em(){L.call(this,"c")}p(tm,L),p(em,L);var bi={},ZI=null;function eu(){return ZI=ZI||new pn}function tE(c){L.call(this,bi.Ia,c)}function Ya(c){const d=eu();_n(d,new tE(d))}function eE(c,d){L.call(this,bi.STAT_EVENT,c),this.stat=d}function yn(c){const d=eu();_n(d,new eE(d,c))}function nE(c,d){L.call(this,bi.Ja,c),this.size=d}function Za(c,d){if("function"!=typeof c)throw Error("Fn must not be null and must be a function");return s.setTimeout(function(){c()},d)}function tc(){this.g=!0}function ws(c,d,f,y){c.info(function(){return"XMLHTTP TEXT ("+d+"): "+function AC(c,d){if(!c.g)return d;if(!d)return null;try{const K=JSON.parse(d);if(K)for(c=0;c<K.length;c++)if(Array.isArray(K[c])){var f=K[c];if(!(f.length<2)){var y=f[1];if(Array.isArray(y)&&!(y.length<1)){var $=y[0];if("noop"!=$&&"stop"!=$&&"close"!=$)for(let ft=1;ft<y.length;ft++)y[ft]=""}}}return Zg(K)}catch{return d}}(c,f)+(y?" "+y:"")})}bi.Ia="serverreachability",p(tE,L),bi.STAT_EVENT="statevent",p(eE,L),bi.Ja="timingevent",p(nE,L),tc.prototype.ua=function(){this.g=!1},tc.prototype.info=function(){};var oE,nu={NO_ERROR:0,cb:1,qb:2,pb:3,kb:4,ob:5,rb:6,Ga:7,TIMEOUT:8,ub:9},rE={ib:"complete",Fb:"success",ERROR:"error",Ga:"abort",xb:"ready",yb:"readystatechange",TIMEOUT:"timeout",sb:"incrementaldata",wb:"progress",lb:"downloadprogress",Nb:"uploadprogress"};function nm(){}function ec(c){return encodeURIComponent(String(c))}function RC(c){var d=1;c=c.split(":");const f=[];for(;d>0&&c.length;)f.push(c.shift()),d--;return c.length&&f.push(c.join(":")),f}function Do(c,d,f,y){this.j=c,this.i=d,this.l=f,this.S=y||1,this.V=new Ja(this),this.H=45e3,this.J=null,this.o=!1,this.u=this.B=this.A=this.M=this.F=this.T=this.D=null,this.G=[],this.g=null,this.C=0,this.m=this.v=null,this.X=-1,this.K=!1,this.P=0,this.O=null,this.W=this.L=this.U=this.R=!1,this.h=new iE}function iE(){this.i=null,this.g="",this.h=!1}p(nm,XI),nm.prototype.g=function(){return new XMLHttpRequest},oE=new nm;var sE={},rm={};function om(c,d,f){c.M=1,c.A=ou(Pr(d)),c.u=f,c.R=!0,aE(c,null)}function aE(c,d){c.F=Date.now(),ru(c),c.B=Pr(c.A);var f=c.B,y=c.S;Array.isArray(y)||(y=[String(y)]),bE(f.i,"t",y),c.C=0,f=c.j.L,c.h=new iE,c.g=FE(c.j,f?d:null,!c.u),c.P>0&&(c.O=new wC(u(c.Y,c,c.g),c.P)),d=c.V,f=c.g,y=c.ba;var $="readystatechange";Array.isArray($)||($&&(QI[0]=$.toString()),$=QI);for(let K=0;K<$.length;K++){const ft=$I(f,$[K],y||d.handleEvent,!1,d.h||d);if(!ft)break;d.g[ft.key]=ft}d=c.J?jI(c.J):{},c.u?(c.v||(c.v="POST"),d["Content-Type"]="application/x-www-form-urlencoded",c.g.ea(c.B,c.v,c.u,d)):(c.v="GET",c.g.ea(c.B,c.v,null,d)),Ya(),function IC(c,d,f,y,$,K){c.info(function(){if(c.g)if(K){var ft="",Ft=K.split("&");for(let se=0;se<Ft.length;se++){var ze=Ft[se].split("=");if(ze.length>1){const Ye=ze[0];ze=ze[1];const xr=Ye.split("_");ft=xr.length>=2&&"type"==xr[1]?ft+(Ye+"=")+ze+"&":ft+(Ye+"=redacted&")}}}else ft=null;else ft=K;return"XMLHTTP REQ ("+y+") [attempt "+$+"]: "+d+"\n"+f+"\n"+ft})}(c.i,c.v,c.B,c.l,c.S,c.u)}function cE(c){return!!c.g&&"GET"==c.v&&2!=c.M&&c.j.Aa}function PC(c,d){var f=c.C,y=d.indexOf("\n",f);return-1==y?rm:(f=Number(d.substring(f,y)),isNaN(f)?sE:(y+=1)+f>d.length?rm:(d=d.slice(y,y+f),c.C=y+f,d))}function ru(c){c.T=Date.now()+c.H,lE(c,c.H)}function lE(c,d){if(null!=c.D)throw Error("WatchDog timer not null");c.D=Za(u(c.aa,c),d)}function im(c){c.D&&(s.clearTimeout(c.D),c.D=null)}function nc(c){0==c.j.I||c.K||OE(c.j,c)}function vi(c){im(c);var d=c.O;d&&"function"==typeof d.dispose&&d.dispose(),c.O=null,JI(c.V),c.g&&(d=c.g,c.g=null,d.abort(),d.dispose())}function sm(c,d){try{var f=c.j;if(0!=f.I&&(f.g==c||am(f.h,c)))if(!c.L&&am(f.h,c)&&3==f.I){try{var y=f.Ba.g.parse(d)}catch{y=null}if(Array.isArray(y)&&3==y.length){var $=y;if(0==$[0]){t:if(!f.v){if(f.g){if(!(f.g.F+3e3<c.F))break t;uu(f),cu(f)}dm(f),yn(18)}}else f.xa=$[1],0<f.xa-f.K&&$[2]<37500&&f.F&&0==f.A&&!f.C&&(f.C=Za(u(f.Va,f),6e3));dE(f.h)<=1&&f.ta&&(f.ta=void 0)}else Ei(f,11)}else if((c.L||f.g==c)&&uu(f),!x(d))for($=f.Ba.g.parse(d),d=0;d<$.length;d++){let se=$[d];const Ye=se[0];if(!(Ye<=f.K))if(f.K=Ye,se=se[1],2==f.I)if("c"==se[0]){f.M=se[1],f.ba=se[2];const xr=se[3];null!=xr&&(f.ka=xr,f.j.info("VER="+f.ka));const Ti=se[4];null!=Ti&&(f.za=Ti,f.j.info("SVER="+f.za));const Vo=se[5];null!=Vo&&"number"==typeof Vo&&Vo>0&&(f.O=y=1.5*Vo,f.j.info("backChannelRequestTimeoutMs_="+y)),y=f;const Mo=c.g;if(Mo){const du=Mo.g?Mo.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(du){var K=y.h;K.g||-1==du.indexOf("spdy")&&-1==du.indexOf("quic")&&-1==du.indexOf("h2")||(K.j=K.l,K.g=new Set,K.h&&(cm(K,K.h),K.h=null))}if(y.G){const fm=Mo.g?Mo.g.getResponseHeader("X-HTTP-Session-Id"):null;fm&&(y.wa=fm,me(y.J,y.G,fm))}}f.I=3,f.l&&f.l.ra(),f.aa&&(f.T=Date.now()-c.F,f.j.info("Handshake RTT: "+f.T+"ms"));var ft=c;if((y=f).na=ME(y,y.L?y.ba:null,y.W),ft.L){pE(y.h,ft);var Ft=ft,ze=y.O;ze&&(Ft.H=ze),Ft.D&&(im(Ft),ru(Ft)),y.g=ft}else DE(y);f.i.length>0&&lu(f)}else"stop"!=se[0]&&"close"!=se[0]||Ei(f,7);else 3==f.I&&("stop"==se[0]||"close"==se[0]?"stop"==se[0]?Ei(f,7):hm(f):"noop"!=se[0]&&f.l&&f.l.qa(se),f.A=0)}Ya()}catch{}}Do.prototype.ba=function(c){c=c.target;const d=this.O;d&&3==Lo(c)?d.j():this.Y(c)},Do.prototype.Y=function(c){try{if(c==this.g)t:{const Ft=Lo(this.g),ze=this.g.ya();if(this.g.ca(),!(Ft<3)&&(3!=Ft||this.g&&(this.h.h||this.g.la()||SE(this.g)))){this.K||4!=Ft||7==ze||Ya(),im(this);var d=this.g.ca();this.X=d;var f=function SC(c){if(!cE(c))return c.g.la();const d=SE(c.g);if(""===d)return"";let f="";const y=d.length,$=4==Lo(c.g);if(!c.h.i){if(typeof TextDecoder>"u")return vi(c),nc(c),"";c.h.i=new s.TextDecoder}for(let K=0;K<y;K++)c.h.h=!0,f+=c.h.i.decode(d[K],{stream:!($&&K==y-1)});return d.length=0,c.h.g+=f,c.C=0,c.h.g}(this);if(this.o=200==d,function EC(c,d,f,y,$,K,ft){c.info(function(){return"XMLHTTP RESP ("+y+") [ attempt "+$+"]: "+d+"\n"+f+"\n"+K+" "+ft})}(this.i,this.v,this.B,this.l,this.S,Ft,d),this.o){if(this.U&&!this.L){e:{if(this.g){var y,$=this.g;if((y=$.g?$.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!x(y)){var K=y;break e}}K=null}if(!(c=K)){this.o=!1,this.m=3,yn(12),vi(this),nc(this);break t}ws(this.i,this.l,c,"Initial handshake response via X-HTTP-Initial-Response"),this.L=!0,sm(this,c)}if(this.R){let Ye;for(c=!0;!this.K&&this.C<f.length;){if(Ye=PC(this,f),Ye==rm){4==Ft&&(this.m=4,yn(14),c=!1),ws(this.i,this.l,null,"[Incomplete Response]");break}if(Ye==sE){this.m=4,yn(15),ws(this.i,this.l,f,"[Invalid Chunk]"),c=!1;break}ws(this.i,this.l,Ye,null),sm(this,Ye)}if(cE(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=Ft||0!=f.length||this.h.h||(this.m=1,yn(16),c=!1),this.o=this.o&&c,c){if(f.length>0&&!this.W){this.W=!0;var ft=this.j;ft.g==this&&ft.aa&&!ft.P&&(ft.j.info("Great, no buffering proxy detected. Bytes received: "+f.length),pm(ft),ft.P=!0,yn(11))}}else ws(this.i,this.l,f,"[Invalid Chunked Response]"),vi(this),nc(this)}else ws(this.i,this.l,f,null),sm(this,f);4==Ft&&vi(this),this.o&&!this.K&&(4==Ft?OE(this.j,this):(this.o=!1,ru(this)))}else(function BC(c){const d={};c=(c.g&&Lo(c)>=2&&c.g.getAllResponseHeaders()||"").split("\r\n");for(let y=0;y<c.length;y++){if(x(c[y]))continue;var f=RC(c[y]);const $=f[0];if("string"!=typeof(f=f[1]))continue;f=f.trim();const K=d[$]||[];d[$]=K,K.push(f)}!function gC(c,d){for(const f in c)d.call(void 0,c[f],f,c)}(d,function(y){return y.join(", ")})})(this.g),400==d&&f.indexOf("Unknown SID")>0?(this.m=3,yn(12)):(this.m=0,yn(13)),vi(this),nc(this)}}}catch{}},Do.prototype.cancel=function(){this.K=!0,vi(this)},Do.prototype.aa=function(){this.D=null;const c=Date.now();c-this.T>=0?(function TC(c,d){c.info(function(){return"TIMEOUT: "+d})}(this.i,this.B),2!=this.M&&(Ya(),yn(17)),vi(this),this.m=2,nc(this)):lE(this,this.T-c)};var xC=class{constructor(c,d){this.g=c,this.map=d}};function uE(c){this.l=c||10,c=s.PerformanceNavigationTiming?(c=s.performance.getEntriesByType("navigation")).length>0&&("hq"==c[0].nextHopProtocol||"h2"==c[0].nextHopProtocol):!!(s.chrome&&s.chrome.loadTimes&&s.chrome.loadTimes()&&s.chrome.loadTimes().wasFetchedViaSpdy),this.j=c?this.l:1,this.g=null,this.j>1&&(this.g=new Set),this.h=null,this.i=[]}function hE(c){return!!c.h||!!c.g&&c.g.size>=c.j}function dE(c){return c.h?1:c.g?c.g.size:0}function am(c,d){return c.h?c.h==d:!!c.g&&c.g.has(d)}function cm(c,d){c.g?c.g.add(d):c.h=d}function pE(c,d){c.h&&c.h==d?c.h=null:c.g&&c.g.has(d)&&c.g.delete(d)}function fE(c){if(null!=c.h)return c.i.concat(c.h.G);if(null!=c.g&&0!==c.g.size){let d=c.i;for(const f of c.g.values())d=d.concat(f.G);return d}return v(c.i)}uE.prototype.cancel=function(){if(this.i=fE(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(const c of this.g.values())c.cancel();this.g.clear()}};var gE=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function No(c){let d;this.g=this.o=this.j="",this.u=null,this.m=this.h="",this.l=!1,c instanceof No?(this.l=c.l,rc(this,c.j),this.o=c.o,this.g=c.g,oc(this,c.u),this.h=c.h,lm(this,vE(c.i)),this.m=c.m):c&&(d=String(c).match(gE))?(this.l=!1,rc(this,d[1]||"",!0),this.o=ic(d[2]||""),this.g=ic(d[3]||"",!0),oc(this,d[4]),this.h=ic(d[5]||"",!0),lm(this,d[6]||"",!0),this.m=ic(d[7]||"")):(this.l=!1,this.i=new ac(null,this.l))}function Pr(c){return new No(c)}function rc(c,d,f){c.j=f?ic(d,!0):d,c.j&&(c.j=c.j.replace(/:$/,""))}function oc(c,d){if(d){if(d=Number(d),isNaN(d)||d<0)throw Error("Bad port number "+d);c.u=d}else c.u=null}function lm(c,d,f){d instanceof ac?(c.i=d,function VC(c,d){d&&!c.j&&(Ii(c),c.i=null,c.g.forEach(function(f,y){const $=y.toLowerCase();y!=$&&(_E(this,y),bE(this,$,f))},c)),c.j=d}(c.i,c.l)):(f||(d=sc(d,OC)),c.i=new ac(d,c.l))}function me(c,d,f){c.i.set(d,f)}function ou(c){return me(c,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),c}function ic(c,d){return c?d?decodeURI(c.replace(/%25/g,"%2525")):decodeURIComponent(c):""}function sc(c,d,f){return"string"==typeof c?(c=encodeURI(c).replace(d,CC),f&&(c=c.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c):null}function CC(c){return"%"+((c=c.charCodeAt(0))>>4&15).toString(16)+(15&c).toString(16)}No.prototype.toString=function(){const c=[];var d=this.j;d&&c.push(sc(d,mE,!0),":");var f=this.g;return(f||"file"==d)&&(c.push("//"),(d=this.o)&&c.push(sc(d,mE,!0),"@"),c.push(ec(f).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(f=this.u)&&c.push(":",String(f))),(f=this.h)&&(this.g&&"/"!=f.charAt(0)&&c.push("/"),c.push(sc(f,"/"==f.charAt(0)?NC:DC,!0))),(f=this.i.toString())&&c.push("?",f),(f=this.m)&&c.push("#",sc(f,LC)),c.join("")},No.prototype.resolve=function(c){const d=Pr(this);let f=!!c.j;f?rc(d,c.j):f=!!c.o,f?d.o=c.o:f=!!c.g,f?d.g=c.g:f=null!=c.u;var y=c.h;if(f)oc(d,c.u);else if(f=!!c.h){if("/"!=y.charAt(0))if(this.g&&!this.h)y="/"+y;else{var $=d.h.lastIndexOf("/");-1!=$&&(y=d.h.slice(0,$+1)+y)}if(".."==($=y)||"."==$)y="";else if(-1!=$.indexOf("./")||-1!=$.indexOf("/.")){y=0==$.lastIndexOf("/",0),$=$.split("/");const K=[];for(let ft=0;ft<$.length;){const Ft=$[ft++];"."==Ft?y&&ft==$.length&&K.push(""):".."==Ft?((K.length>1||1==K.length&&""!=K[0])&&K.pop(),y&&ft==$.length&&K.push("")):(K.push(Ft),y=!0)}y=K.join("/")}else y=$}return f?d.h=y:f=""!==c.i.toString(),f?lm(d,vE(c.i)):f=!!c.m,f&&(d.m=c.m),d};var mE=/[#\/\?@]/g,DC=/[#\?:]/g,NC=/[#\?]/g,OC=/[#\?@]/g,LC=/#/g;function ac(c,d){this.h=this.g=null,this.i=c||null,this.j=!!d}function Ii(c){c.g||(c.g=new Map,c.h=0,c.i&&function kC(c,d){if(c){c=c.split("&");for(let f=0;f<c.length;f++){const y=c[f].indexOf("=");let $,K=null;y>=0?($=c[f].substring(0,y),K=c[f].substring(y+1)):$=c[f],d($,K?decodeURIComponent(K.replace(/\+/g," ")):"")}}}(c.i,function(d,f){c.add(decodeURIComponent(d.replace(/\+/g," ")),f)}))}function _E(c,d){Ii(c),d=bs(c,d),c.g.has(d)&&(c.i=null,c.h-=c.g.get(d).length,c.g.delete(d))}function yE(c,d){return Ii(c),d=bs(c,d),c.g.has(d)}function wE(c,d){Ii(c);let f=[];if("string"==typeof d)yE(c,d)&&(f=f.concat(c.g.get(bs(c,d))));else for(c=Array.from(c.g.values()),d=0;d<c.length;d++)f=f.concat(c[d]);return f}function bE(c,d,f){_E(c,d),f.length>0&&(c.i=null,c.g.set(bs(c,d),v(f)),c.h+=f.length)}function vE(c){const d=new ac;return d.i=c.i,c.g&&(d.g=new Map(c.g),d.h=c.h),d}function bs(c,d){return d=String(d),c.j&&(d=d.toLowerCase()),d}function Oo(c,d,f,y,$){try{$&&($.onload=null,$.onerror=null,$.onabort=null,$.ontimeout=null),y(f)}catch{}}function UC(){this.g=new vC}function iu(c){this.i=c.Sb||null,this.h=c.ab||!1}function su(c,d){pn.call(this),this.H=c,this.o=d,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.A=new Headers,this.h=null,this.F="GET",this.D="",this.g=!1,this.B=this.j=this.l=null,this.v=new AbortController}function IE(c){c.j.read().then(c.Ma.bind(c)).catch(c.ga.bind(c))}function cc(c){c.readyState=4,c.l=null,c.j=null,c.B=null,lc(c)}function lc(c){c.onreadystatechange&&c.onreadystatechange.call(c)}function EE(c){let d="";return Yl(c,function(f,y){d+=y,d+=":",d+=f,d+="\r\n"}),d}function um(c,d,f){t:{for(y in f){var y=!1;break t}y=!0}y||(f=EE(f),"string"==typeof c?null!=f&&ec(f):me(c,d,f))}function xe(c){pn.call(this),this.headers=new Map,this.L=c||null,this.h=!1,this.g=null,this.D="",this.o=0,this.l="",this.j=this.B=this.v=this.A=!1,this.m=null,this.F="",this.H=!1}(r=ac.prototype).add=function(c,d){Ii(this),this.i=null,c=bs(this,c);let f=this.g.get(c);return f||this.g.set(c,f=[]),f.push(d),this.h+=1,this},r.forEach=function(c,d){Ii(this),this.g.forEach(function(f,y){f.forEach(function($){c.call(d,$,y,this)},this)},this)},r.set=function(c,d){return Ii(this),this.i=null,yE(this,c=bs(this,c))&&(this.h-=this.g.get(c).length),this.g.set(c,[d]),this.h+=1,this},r.get=function(c,d){return c&&(c=wE(this,c)).length>0?String(c[0]):d},r.toString=function(){if(this.i)return this.i;if(!this.g)return"";const c=[],d=Array.from(this.g.keys());for(let y=0;y<d.length;y++){var f=d[y];const $=ec(f);f=wE(this,f);for(let K=0;K<f.length;K++){let ft=$;""!==f[K]&&(ft+="="+ec(f[K])),c.push(ft)}}return this.i=c.join("&")},p(iu,XI),iu.prototype.g=function(){return new su(this.i,this.h)},p(su,pn),(r=su.prototype).open=function(c,d){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.F=c,this.D=d,this.readyState=1,lc(this)},r.send=function(c){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");if(this.v.signal.aborted)throw this.abort(),Error("Request was aborted.");this.g=!0;const d={headers:this.A,method:this.F,credentials:this.m,cache:void 0,signal:this.v.signal};c&&(d.body=c),(this.H||s).fetch(new Request(this.D,d)).then(this.Pa.bind(this),this.ga.bind(this))},r.abort=function(){this.response=this.responseText="",this.A=new Headers,this.status=0,this.v.abort(),this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),this.readyState>=1&&this.g&&4!=this.readyState&&(this.g=!1,cc(this)),this.readyState=0},r.Pa=function(c){if(this.g&&(this.l=c,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=c.headers,this.readyState=2,lc(this)),this.g&&(this.readyState=3,lc(this),this.g)))if("arraybuffer"===this.responseType)c.arrayBuffer().then(this.Na.bind(this),this.ga.bind(this));else if(typeof s.ReadableStream<"u"&&"body"in c){if(this.j=c.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.B=new TextDecoder;IE(this)}else c.text().then(this.Oa.bind(this),this.ga.bind(this))},r.Ma=function(c){if(this.g){if(this.o&&c.value)this.response.push(c.value);else if(!this.o){var d=c.value?c.value:new Uint8Array(0);(d=this.B.decode(d,{stream:!c.done}))&&(this.response=this.responseText+=d)}c.done?cc(this):lc(this),3==this.readyState&&IE(this)}},r.Oa=function(c){this.g&&(this.response=this.responseText=c,cc(this))},r.Na=function(c){this.g&&(this.response=c,cc(this))},r.ga=function(){this.g&&cc(this)},r.setRequestHeader=function(c,d){this.A.append(c,d)},r.getResponseHeader=function(c){return this.h&&this.h.get(c.toLowerCase())||""},r.getAllResponseHeaders=function(){if(!this.h)return"";const c=[],d=this.h.entries();for(var f=d.next();!f.done;)c.push((f=f.value)[0]+": "+f[1]),f=d.next();return c.join("\r\n")},Object.defineProperty(su.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(c){this.m=c?"include":"same-origin"}}),p(xe,pn);var jC=/^https?$/i,qC=["POST","PUT"];function TE(c,d){c.h=!1,c.g&&(c.j=!0,c.g.abort(),c.j=!1),c.l=d,c.o=5,AE(c),au(c)}function AE(c){c.A||(c.A=!0,_n(c,"complete"),_n(c,"error"))}function RE(c){if(c.h&&typeof i<"u")if(c.v&&4==Lo(c))setTimeout(c.Ca.bind(c),0);else if(_n(c,"readystatechange"),4==Lo(c)){c.h=!1;try{const K=c.ca();t:switch(K){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var d=!0;break t;default:d=!1}var f;if(!(f=d)){var y;if(y=0===K){let ft=String(c.D).match(gE)[1]||null;!ft&&s.self&&s.self.location&&(ft=s.self.location.protocol.slice(0,-1)),y=!jC.test(ft?ft.toLowerCase():"")}f=y}if(f)_n(c,"complete"),_n(c,"success");else{c.o=6;try{var $=Lo(c)>2?c.g.statusText:""}catch{$=""}c.l=$+" ["+c.ca()+"]",AE(c)}}finally{au(c)}}}function au(c,d){if(c.g){c.m&&(clearTimeout(c.m),c.m=null);const f=c.g;c.g=null,d||_n(c,"ready");try{f.onreadystatechange=null}catch{}}}function Lo(c){return c.g?c.g.readyState:0}function SE(c){try{if(!c.g)return null;if("response"in c.g)return c.g.response;switch(c.F){case"":case"text":return c.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in c.g)return c.g.mozResponseArrayBuffer}return null}catch{return null}}function uc(c,d,f){return f&&f.internalChannelParams&&f.internalChannelParams[c]||d}function PE(c){this.za=0,this.i=[],this.j=new tc,this.ba=this.na=this.J=this.W=this.g=this.wa=this.G=this.H=this.u=this.U=this.o=null,this.Ya=this.V=0,this.Sa=uc("failFast",!1,c),this.F=this.C=this.v=this.m=this.l=null,this.X=!0,this.xa=this.K=-1,this.Y=this.A=this.D=0,this.Qa=uc("baseRetryDelayMs",5e3,c),this.Za=uc("retryDelaySeedMs",1e4,c),this.Ta=uc("forwardChannelMaxRetries",2,c),this.va=uc("forwardChannelRequestTimeoutMs",2e4,c),this.ma=c&&c.xmlHttpFactory||void 0,this.Ua=c&&c.Rb||void 0,this.Aa=c&&c.useFetchStreams||!1,this.O=void 0,this.L=c&&c.supportsCrossDomainXhr||!1,this.M="",this.h=new uE(c&&c.concurrentRequestLimit),this.Ba=new UC,this.S=c&&c.fastHandshake||!1,this.R=c&&c.encodeInitMessageHeaders||!1,this.S&&this.R&&(this.R=!1),this.Ra=c&&c.Pb||!1,c&&c.ua&&this.j.ua(),c&&c.forceLongPolling&&(this.X=!1),this.aa=!this.S&&this.X&&c&&c.detectBufferingProxy||!1,this.ia=void 0,c&&c.longPollingTimeout&&c.longPollingTimeout>0&&(this.ia=c.longPollingTimeout),this.ta=void 0,this.T=0,this.P=!1,this.ja=this.B=null}function hm(c){if(xE(c),3==c.I){var d=c.V++,f=Pr(c.J);if(me(f,"SID",c.M),me(f,"RID",d),me(f,"TYPE","terminate"),hc(c,f),(d=new Do(c,c.j,d)).M=2,d.A=ou(Pr(f)),f=!1,s.navigator&&s.navigator.sendBeacon)try{f=s.navigator.sendBeacon(d.A.toString(),"")}catch{}!f&&s.Image&&((new Image).src=d.A,f=!0),f||(d.g=FE(d.j,null),d.g.ea(d.A)),d.F=Date.now(),ru(d)}VE(c)}function cu(c){c.g&&(pm(c),c.g.cancel(),c.g=null)}function xE(c){cu(c),c.v&&(s.clearTimeout(c.v),c.v=null),uu(c),c.h.cancel(),c.m&&("number"==typeof c.m&&s.clearTimeout(c.m),c.m=null)}function lu(c){if(!hE(c.h)&&!c.m){c.m=!0;var d=c.Ea;qt||R(),At||(qt(),At=!0),C.add(d,c),c.D=0}}function kE(c,d){var f;f=d?d.l:c.V++;const y=Pr(c.J);me(y,"SID",c.M),me(y,"RID",f),me(y,"AID",c.K),hc(c,y),c.u&&c.o&&um(y,c.u,c.o),f=new Do(c,c.j,f,c.D+1),null===c.u&&(f.J=c.o),d&&(c.i=d.G.concat(c.i)),d=CE(c,f,1e3),f.H=Math.round(.5*c.va)+Math.round(.5*c.va*Math.random()),cm(c.h,f),om(f,y,d)}function hc(c,d){c.H&&Yl(c.H,function(f,y){me(d,y,f)}),c.l&&Yl({},function(f,y){me(d,y,f)})}function CE(c,d,f){f=Math.min(c.i.length,f);const y=c.l?u(c.l.Ka,c.l,c):null;t:{var $=c.i;let Ft=-1;for(;;){const ze=["count="+f];-1==Ft?f>0?(Ft=$[0].g,ze.push("ofs="+Ft)):Ft=0:ze.push("ofs="+Ft);let se=!0;for(let Ye=0;Ye<f;Ye++){var K=$[Ye].g;const xr=$[Ye].map;if((K-=Ft)<0)Ft=Math.max(0,$[Ye].g-100),se=!1;else try{K="req"+K+"_"||0;try{var ft=xr instanceof Map?xr:Object.entries(xr);for(const[Ti,Vo]of ft){let Mo=Vo;a(Vo)&&(Mo=Zg(Vo)),ze.push(K+Ti+"="+encodeURIComponent(Mo))}}catch(Ti){throw ze.push(K+"type="+encodeURIComponent("_badmap")),Ti}}catch{y&&y(xr)}}if(se){ft=ze.join("&");break t}}ft=void 0}return c=c.i.splice(0,f),d.G=c,ft}function DE(c){if(!c.g&&!c.v){c.Y=1;var d=c.Da;qt||R(),At||(qt(),At=!0),C.add(d,c),c.A=0}}function dm(c){return!(c.g||c.v||c.A>=3||(c.Y++,c.v=Za(u(c.Da,c),LE(c,c.A)),c.A++,0))}function pm(c){null!=c.B&&(s.clearTimeout(c.B),c.B=null)}function NE(c){c.g=new Do(c,c.j,"rpc",c.Y),null===c.u&&(c.g.J=c.o),c.g.P=0;var d=Pr(c.na);me(d,"RID","rpc"),me(d,"SID",c.M),me(d,"AID",c.K),me(d,"CI",c.F?"0":"1"),!c.F&&c.ia&&me(d,"TO",c.ia),me(d,"TYPE","xmlhttp"),hc(c,d),c.u&&c.o&&um(d,c.u,c.o),c.O&&(c.g.H=c.O);var f=c.g;c=c.ba,f.M=1,f.A=ou(Pr(d)),f.u=null,f.R=!0,aE(f,c)}function uu(c){null!=c.C&&(s.clearTimeout(c.C),c.C=null)}function OE(c,d){var f=null;if(c.g==d){uu(c),pm(c),c.g=null;var y=2}else{if(!am(c.h,d))return;f=d.G,pE(c.h,d),y=1}if(0!=c.I)if(d.o)if(1==y){f=d.u?d.u.length:0,d=Date.now()-d.F;var $=c.D;_n(y=eu(),new nE(y,f)),lu(c)}else DE(c);else if(3==($=d.m)||0==$&&d.X>0||!(1==y&&function $C(c,d){return!(dE(c.h)>=c.h.j-(c.m?1:0)||(c.m?(c.i=d.G.concat(c.i),0):1==c.I||2==c.I||c.D>=(c.Sa?0:c.Ta)||(c.m=Za(u(c.Ea,c,d),LE(c,c.D)),c.D++,0)))}(c,d)||2==y&&dm(c)))switch(f&&f.length>0&&(d=c.h,d.i=d.i.concat(f)),$){case 1:Ei(c,5);break;case 4:Ei(c,10);break;case 3:Ei(c,6);break;default:Ei(c,2)}}function LE(c,d){let f=c.Qa+Math.floor(Math.random()*c.Za);return c.isActive()||(f*=2),f*d}function Ei(c,d){if(c.j.info("Error code "+d),2==d){var f=u(c.bb,c),y=c.Ua;const $=!y;y=new No(y||"//www.google.com/images/cleardot.gif"),s.location&&"http"==s.location.protocol||rc(y,"https"),ou(y),$?function MC(c,d){const f=new tc;if(s.Image){const y=new Image;y.onload=h(Oo,f,"TestLoadImage: loaded",!0,d,y),y.onerror=h(Oo,f,"TestLoadImage: error",!1,d,y),y.onabort=h(Oo,f,"TestLoadImage: abort",!1,d,y),y.ontimeout=h(Oo,f,"TestLoadImage: timeout",!1,d,y),s.setTimeout(function(){y.ontimeout&&y.ontimeout()},1e4),y.src=c}else d(!1)}(y.toString(),f):function FC(c,d){new tc;const y=new AbortController,$=setTimeout(()=>{y.abort(),Oo(0,0,!1,d)},1e4);fetch(c,{signal:y.signal}).then(K=>{clearTimeout($),Oo(0,0,!!K.ok,d)}).catch(()=>{clearTimeout($),Oo(0,0,!1,d)})}(y.toString(),f)}else yn(2);c.I=0,c.l&&c.l.pa(d),VE(c),xE(c)}function VE(c){if(c.I=0,c.ja=[],c.l){const d=fE(c.h);(0!=d.length||0!=c.i.length)&&(N(c.ja,d),N(c.ja,c.i),c.h.i.length=0,v(c.i),c.i.length=0),c.l.oa()}}function ME(c,d,f){var y=f instanceof No?Pr(f):new No(f);if(""!=y.g)d&&(y.g=d+"."+y.g),oc(y,y.u);else{var $=s.location;y=$.protocol,d=d?d+"."+$.hostname:$.hostname,$=+$.port;const K=new No(null);y&&rc(K,y),d&&(K.g=d),$&&oc(K,$),f&&(K.h=f),y=K}return d=c.wa,(f=c.G)&&d&&me(y,f,d),me(y,"VER",c.ka),hc(c,y),y}function FE(c,d,f){if(d&&!c.L)throw Error("Can't create secondary domain capable XhrIo object.");return(d=new xe(c.Aa&&!c.ma?new iu({ab:f}):c.ma)).Fa(c.L),d}function UE(){}function hu(){}function Gn(c,d){pn.call(this),this.g=new PE(d),this.l=c,this.h=d&&d.messageUrlParams||null,c=d&&d.messageHeaders||null,d&&d.clientProtocolHeaderRequired&&(c?c["X-Client-Protocol"]="webchannel":c={"X-Client-Protocol":"webchannel"}),this.g.o=c,c=d&&d.initMessageHeaders||null,d&&d.messageContentType&&(c?c["X-WebChannel-Content-Type"]=d.messageContentType:c={"X-WebChannel-Content-Type":d.messageContentType}),d&&d.sa&&(c?c["X-WebChannel-Client-Profile"]=d.sa:c={"X-WebChannel-Client-Profile":d.sa}),this.g.U=c,(c=d&&d.Qb)&&!x(c)&&(this.g.u=c),this.A=d&&d.supportsCrossDomainXhr||!1,this.v=d&&d.sendRawJson||!1,(d=d&&d.httpSessionIdParam)&&!x(d)&&(this.g.G=d,null!==(c=this.h)&&d in c&&d in(c=this.h)&&delete c[d]),this.j=new vs(this)}function jE(c){tm.call(this),c.__headers__&&(this.headers=c.__headers__,this.statusCode=c.__status__,delete c.__headers__,delete c.__status__);var d=c.__sm__;if(d){t:{for(const f in d){c=f;break t}c=void 0}(this.i=c)&&(c=this.i,d=null!==d&&c in d?d[c]:void 0),this.data=d}else this.data=c}function qE(){em.call(this),this.status=1}function vs(c){this.g=c}(r=xe.prototype).Fa=function(c){this.H=c},r.ea=function(c,d,f,y){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+c);d=d?d.toUpperCase():"GET",this.D=c,this.l="",this.o=0,this.A=!1,this.h=!0,this.g=this.L?this.L.g():oE.g(),this.g.onreadystatechange=_(u(this.Ca,this));try{this.B=!0,this.g.open(d,String(c),!0),this.B=!1}catch(K){return void TE(this,K)}if(c=f||"",f=new Map(this.headers),y)if(Object.getPrototypeOf(y)===Object.prototype)for(var $ in y)f.set($,y[$]);else{if("function"!=typeof y.keys||"function"!=typeof y.get)throw Error("Unknown input type for opt_headers: "+String(y));for(const K of y.keys())f.set(K,y.get(K))}y=Array.from(f.keys()).find(K=>"content-type"==K.toLowerCase()),$=s.FormData&&c instanceof s.FormData,!(Array.prototype.indexOf.call(qC,d,void 0)>=0)||y||$||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[K,ft]of f)this.g.setRequestHeader(K,ft);this.F&&(this.g.responseType=this.F),"withCredentials"in this.g&&this.g.withCredentials!==this.H&&(this.g.withCredentials=this.H);try{this.m&&(clearTimeout(this.m),this.m=null),this.v=!0,this.g.send(c),this.v=!1}catch(K){TE(this,K)}},r.abort=function(c){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.o=c||7,_n(this,"complete"),_n(this,"abort"),au(this))},r.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),au(this,!0)),xe.Z.N.call(this)},r.Ca=function(){this.u||(this.B||this.v||this.j?RE(this):this.Xa())},r.Xa=function(){RE(this)},r.isActive=function(){return!!this.g},r.ca=function(){try{return Lo(this)>2?this.g.status:-1}catch{return-1}},r.la=function(){try{return this.g?this.g.responseText:""}catch{return""}},r.La=function(c){if(this.g){var d=this.g.responseText;return c&&0==d.indexOf(c)&&(d=d.substring(c.length)),bC(d)}},r.ya=function(){return this.o},r.Ha=function(){return"string"==typeof this.l?this.l:String(this.l)},(r=PE.prototype).ka=8,r.I=1,r.connect=function(c,d,f,y){yn(0),this.W=c,this.H=d||{},f&&void 0!==y&&(this.H.OSID=f,this.H.OAID=y),this.F=this.X,this.J=ME(this,null,this.W),lu(this)},r.Ea=function(c){if(this.m)if(this.m=null,1==this.I){if(!c){this.V=Math.floor(1e5*Math.random()),c=this.V++;const $=new Do(this,this.j,c);let K=this.o;if(this.U&&(K?(K=jI(K),BI(K,this.U)):K=this.U),null!==this.u||this.R||($.J=K,K=null),this.S)t:{for(var d=0,f=0;f<this.i.length;f++){var y=this.i[f];if(void 0===(y="__data__"in y.map&&"string"==typeof(y=y.map.__data__)?y.length:void 0))break;if((d+=y)>4096){d=f;break t}if(4096===d||f===this.i.length-1){d=f+1;break t}}d=1e3}else d=1e3;d=CE(this,$,d),me(f=Pr(this.J),"RID",c),me(f,"CVER",22),this.G&&me(f,"X-HTTP-Session-Id",this.G),hc(this,f),K&&(this.R?d="headers="+ec(EE(K))+"&"+d:this.u&&um(f,this.u,K)),cm(this.h,$),this.Ra&&me(f,"TYPE","init"),this.S?(me(f,"$req",d),me(f,"SID","null"),$.U=!0,om($,f,null)):om($,f,d),this.I=2}}else 3==this.I&&(c?kE(this,c):0==this.i.length||hE(this.h)||kE(this))},r.Da=function(){if(this.v=null,NE(this),this.aa&&!(this.P||null==this.g||this.T<=0)){var c=4*this.T;this.j.info("BP detection timer enabled: "+c),this.B=Za(u(this.Wa,this),c)}},r.Wa=function(){this.B&&(this.B=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.P=!0,yn(10),cu(this),NE(this))},r.Va=function(){null!=this.C&&(this.C=null,cu(this),dm(this),yn(19))},r.bb=function(c){c?(this.j.info("Successfully pinged google.com"),yn(2)):(this.j.info("Failed to ping google.com"),yn(1))},r.isActive=function(){return!!this.l&&this.l.isActive(this)},(r=UE.prototype).ra=function(){},r.qa=function(){},r.pa=function(){},r.oa=function(){},r.isActive=function(){return!0},r.Ka=function(){},hu.prototype.g=function(c,d){return new Gn(c,d)},p(Gn,pn),Gn.prototype.m=function(){this.g.l=this.j,this.A&&(this.g.L=!0),this.g.connect(this.l,this.h||void 0)},Gn.prototype.close=function(){hm(this.g)},Gn.prototype.o=function(c){var d=this.g;if("string"==typeof c){var f={};f.__data__=c,c=f}else this.v&&((f={}).__data__=Zg(c),c=f);d.i.push(new xC(d.Ya++,c)),3==d.I&&lu(d)},Gn.prototype.N=function(){this.g.l=null,delete this.j,hm(this.g),delete this.g,Gn.Z.N.call(this)},p(jE,tm),p(qE,em),p(vs,UE),vs.prototype.ra=function(){_n(this.g,"a")},vs.prototype.qa=function(c){_n(this.g,new jE(c))},vs.prototype.pa=function(c){_n(this.g,new qE)},vs.prototype.oa=function(){_n(this.g,"b")},hu.prototype.createWebChannel=hu.prototype.g,Gn.prototype.send=Gn.prototype.o,Gn.prototype.open=Gn.prototype.m,Gn.prototype.close=Gn.prototype.close,mr=He.createWebChannelTransport=function(){return new hu},Wo=He.getStatEventTarget=function(){return eu()},gr=He.Event=bi,vn=He.Stat={jb:0,mb:1,nb:2,Hb:3,Mb:4,Jb:5,Kb:6,Ib:7,Gb:8,Lb:9,PROXY:10,NOPROXY:11,Eb:12,Ab:13,Bb:14,zb:15,Cb:16,Db:17,fb:18,eb:19,gb:20},nu.NO_ERROR=0,nu.TIMEOUT=8,nu.HTTP_ERROR=6,oo=He.ErrorCode=nu,rE.COMPLETE="complete",Qn=He.EventType=rE,YI.EventType=Xa,Xa.OPEN="a",Xa.CLOSE="b",Xa.ERROR="c",Xa.MESSAGE="d",pn.prototype.listen=pn.prototype.J,ee=He.WebChannel=YI,He.FetchXmlHttpFactory=iu,xe.prototype.listenOnce=xe.prototype.K,xe.prototype.getLastError=xe.prototype.Ha,xe.prototype.getLastErrorCode=xe.prototype.ya,xe.prototype.getStatus=xe.prototype.ca,xe.prototype.getResponseJson=xe.prototype.La,xe.prototype.getResponseText=xe.prototype.la,xe.prototype.send=xe.prototype.ea,xe.prototype.setWithCredentials=xe.prototype.Fa,Or=He.XhrIo=xe}).apply(typeof bn<"u"?bn:typeof self<"u"?self:typeof window<"u"?window:{});class Jt{constructor(t){this.uid=t}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(t){return t.uid===this.uid}}Jt.UNAUTHENTICATED=new Jt(null),Jt.GOOGLE_CREDENTIALS=new Jt("google-credentials-uid"),Jt.FIRST_PARTY=new Jt("first-party-uid"),Jt.MOCK_USER=new Jt("mock-user");let Me="12.8.0";const T=new ae.Vy("@firebase/firestore");function b(r,...t){if(T.logLevel<=ae.$b.DEBUG){const e=t.map(Xt);T.debug(`Firestore (${Me}): ${r}`,...e)}}function ht(r,...t){if(T.logLevel<=ae.$b.ERROR){const e=t.map(Xt);T.error(`Firestore (${Me}): ${r}`,...e)}}function Rt(r,...t){if(T.logLevel<=ae.$b.WARN){const e=t.map(Xt);T.warn(`Firestore (${Me}): ${r}`,...e)}}function Xt(r){if("string"==typeof r)return r;try{return JSON.stringify(r)}catch{return r}}function at(r,t,e){let n="Unexpected state";"string"==typeof t?n=t:e=t,ce(r,n,e)}function ce(r,t,e){let n=`FIRESTORE (${Me}) INTERNAL ASSERTION FAILED: ${t} (ID: ${r.toString(16)})`;if(void 0!==e)try{n+=" CONTEXT: "+JSON.stringify(e)}catch{n+=" CONTEXT: "+e}throw ht(n),new Error(n)}function dt(r,t,e,n){let o="Unexpected state";"string"==typeof e?o=e:n=e,r||ce(t,o,n)}const z={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class it extends It.g{constructor(t,e){super(t,e),this.code=t,this.message=e,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}class re{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}class Ie{constructor(t,e){this.user=e,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${t}`)}}class wr{getToken(){return Promise.resolve(null)}invalidateToken(){}start(t,e){t.enqueueRetryable(()=>e(Jt.UNAUTHENTICATED))}shutdown(){}}class In{constructor(t){this.t=t,this.currentUser=Jt.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(t,e){var n=this;dt(void 0===this.o,42304);let o=this.i;const i=u=>this.i!==o?(o=this.i,e(u)):Promise.resolve();let s=new re;this.o=()=>{this.i++,this.currentUser=this.u(),s.resolve(),s=new re,t.enqueueRetryable(()=>i(this.currentUser))};const a=()=>{const u=s;t.enqueueRetryable((0,I.A)(function*(){yield u.promise,yield i(n.currentUser)}))},l=u=>{b("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=u,this.o&&(this.auth.addAuthTokenListener(this.o),a())};this.t.onInit(u=>l(u)),setTimeout(()=>{if(!this.auth){const u=this.t.getImmediate({optional:!0});u?l(u):(b("FirebaseAuthCredentialsProvider","Auth not yet detected"),s.resolve(),s=new re)}},0),a()}getToken(){const t=this.i,e=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(e).then(n=>this.i!==t?(b("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):n?(dt("string"==typeof n.accessToken,31837,{l:n}),new Ie(n.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const t=this.auth&&this.auth.getUid();return dt(null===t||"string"==typeof t,2055,{h:t}),new Jt(t)}}class co{constructor(t,e,n){this.P=t,this.T=e,this.I=n,this.type="FirstParty",this.user=Jt.FIRST_PARTY,this.R=new Map}A(){return this.I?this.I():null}get headers(){this.R.set("X-Goog-AuthUser",this.P);const t=this.A();return t&&this.R.set("Authorization",t),this.T&&this.R.set("X-Goog-Iam-Authorization-Token",this.T),this.R}}class B{constructor(t,e,n){this.P=t,this.T=e,this.I=n}getToken(){return Promise.resolve(new co(this.P,this.T,this.I))}start(t,e){t.enqueueRetryable(()=>e(Jt.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class U{constructor(t){this.value=t,this.type="AppCheck",this.headers=new Map,t&&t.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class Q{constructor(t,e){this.V=e,this.forceRefresh=!1,this.appCheck=null,this.m=null,this.p=null,(0,mt.xZ)(t)&&t.settings.appCheckToken&&(this.p=t.settings.appCheckToken)}start(t,e){dt(void 0===this.o,3512);const n=i=>{null!=i.error&&b("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${i.error.message}`);const s=i.token!==this.m;return this.m=i.token,b("FirebaseAppCheckTokenProvider",`Received ${s?"new":"existing"} token.`),s?e(i.token):Promise.resolve()};this.o=i=>{t.enqueueRetryable(()=>n(i))};const o=i=>{b("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=i,this.o&&this.appCheck.addTokenListener(this.o)};this.V.onInit(i=>o(i)),setTimeout(()=>{if(!this.appCheck){const i=this.V.getImmediate({optional:!0});i?o(i):b("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){if(this.p)return Promise.resolve(new U(this.p));const t=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(t).then(e=>e?(dt("string"==typeof e.token,44558,{tokenResult:e}),this.m=e.token,new U(e.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}function St(r){const t=typeof self<"u"&&(self.crypto||self.msCrypto),e=new Uint8Array(r);if(t&&"function"==typeof t.getRandomValues)t.getRandomValues(e);else for(let n=0;n<r;n++)e[n]=Math.floor(256*Math.random());return e}class Nt{static newId(){const e=62*Math.floor(4.129032258064516);let n="";for(;n.length<20;){const o=St(40);for(let i=0;i<o.length;++i)n.length<20&&o[i]<e&&(n+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(o[i]%62))}return n}}function lt(r,t){return r<t?-1:r>t?1:0}function Vn(r){const t=r.charCodeAt(0);return t>=55296&&t<=57343}const Es="__name__";class Mn{constructor(t,e,n){void 0===e?e=0:e>t.length&&at(637,{offset:e,range:t.length}),void 0===n?n=t.length-e:n>t.length-e&&at(1746,{length:n,range:t.length-e}),this.segments=t,this.offset=e,this.len=n}get length(){return this.len}isEqual(t){return 0===Mn.comparator(this,t)}child(t){const e=this.segments.slice(this.offset,this.limit());return t instanceof Mn?t.forEach(n=>{e.push(n)}):e.push(t),this.construct(e)}limit(){return this.offset+this.length}popFirst(t){return this.construct(this.segments,this.offset+(t=void 0===t?1:t),this.length-t)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(t){return this.segments[this.offset+t]}isEmpty(){return 0===this.length}isPrefixOf(t){if(t.length<this.length)return!1;for(let e=0;e<this.length;e++)if(this.get(e)!==t.get(e))return!1;return!0}isImmediateParentOf(t){if(this.length+1!==t.length)return!1;for(let e=0;e<this.length;e++)if(this.get(e)!==t.get(e))return!1;return!0}forEach(t){for(let e=this.offset,n=this.limit();e<n;e++)t(this.segments[e])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(t,e){const n=Math.min(t.length,e.length);for(let o=0;o<n;o++){const i=Mn.compareSegments(t.get(o),e.get(o));if(0!==i)return i}return lt(t.length,e.length)}static compareSegments(t,e){const n=Mn.isNumericId(t),o=Mn.isNumericId(e);return n&&!o?-1:!n&&o?1:n&&o?Mn.extractNumericId(t).compare(Mn.extractNumericId(e)):function Ce(r,t){const e=Math.min(r.length,t.length);for(let n=0;n<e;n++){const o=r.charAt(n),i=t.charAt(n);if(o!==i)return Vn(o)===Vn(i)?lt(o,i):Vn(o)?1:-1}return lt(r.length,t.length)}(t,e)}static isNumericId(t){return t.startsWith("__id")&&t.endsWith("__")}static extractNumericId(t){return Ge.fromString(t.substring(4,t.length-2))}}class Lt extends Mn{construct(t,e,n){return new Lt(t,e,n)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...t){const e=[];for(const n of t){if(n.indexOf("//")>=0)throw new it(z.INVALID_ARGUMENT,`Invalid segment (${n}). Paths must not contain // in them.`);e.push(...n.split("/").filter(o=>o.length>0))}return new Lt(e)}static emptyPath(){return new Lt([])}}const fc=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class ne extends Mn{construct(t,e,n){return new ne(t,e,n)}static isValidIdentifier(t){return fc.test(t)}canonicalString(){return this.toArray().map(t=>(t=t.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),ne.isValidIdentifier(t)||(t="`"+t+"`"),t)).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&this.get(0)===Es}static keyField(){return new ne([Es])}static fromServerFormat(t){const e=[];let n="",o=0;const i=()=>{if(0===n.length)throw new it(z.INVALID_ARGUMENT,`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);e.push(n),n=""};let s=!1;for(;o<t.length;){const a=t[o];if("\\"===a){if(o+1===t.length)throw new it(z.INVALID_ARGUMENT,"Path has trailing escape character: "+t);const l=t[o+1];if("\\"!==l&&"."!==l&&"`"!==l)throw new it(z.INVALID_ARGUMENT,"Path has invalid escape sequence: "+t);n+=l,o+=2}else"`"===a?(s=!s,o++):"."!==a||s?(n+=a,o++):(i(),o++)}if(i(),s)throw new it(z.INVALID_ARGUMENT,"Unterminated ` in path: "+t);return new ne(e)}static emptyPath(){return new ne([])}}class pt{constructor(t){this.path=t}static fromPath(t){return new pt(Lt.fromString(t))}static fromName(t){return new pt(Lt.fromString(t).popFirst(5))}static empty(){return new pt(Lt.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(t){return this.path.length>=2&&this.path.get(this.path.length-2)===t}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(t){return null!==t&&0===Lt.comparator(this.path,t.path)}toString(){return this.path.toString()}static comparator(t,e){return Lt.comparator(t.path,e.path)}static isDocumentKey(t){return t.length%2==0}static fromSegments(t){return new pt(new Lt(t.slice()))}}function Se(r,t){const e={typeString:r};return t&&(e.value=t),e}function Lr(r,t){if(!function Rs(r){return"object"==typeof r&&null!==r&&(Object.getPrototypeOf(r)===Object.prototype||null===Object.getPrototypeOf(r))}(r))throw new it(z.INVALID_ARGUMENT,"JSON must be an object");let e;for(const n in t)if(t[n]){const o=t[n].typeString,i="value"in t[n]?{value:t[n].value}:void 0;if(!(n in r)){e=`JSON missing required field: '${n}'`;break}const s=r[n];if(o&&typeof s!==o){e=`JSON field '${n}' must be a ${o}.`;break}if(void 0!==i&&s!==i.value){e=`Expected '${n}' field to equal '${i.value}'`;break}}if(e)throw new it(z.INVALID_ARGUMENT,e);return!0}const Ss=-62135596800;class Kt{static now(){return Kt.fromMillis(Date.now())}static fromDate(t){return Kt.fromMillis(t.getTime())}static fromMillis(t){const e=Math.floor(t/1e3),n=Math.floor(1e6*(t-1e3*e));return new Kt(e,n)}constructor(t,e){if(this.seconds=t,this.nanoseconds=e,e<0)throw new it(z.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(e>=1e9)throw new it(z.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(t<Ss)throw new it(z.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new it(z.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(t){return this.seconds===t.seconds?lt(this.nanoseconds,t.nanoseconds):lt(this.seconds,t.seconds)}isEqual(t){return t.seconds===this.seconds&&t.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{type:Kt._jsonSchemaVersion,seconds:this.seconds,nanoseconds:this.nanoseconds}}static fromJSON(t){if(Lr(t,Kt._jsonSchema))return new Kt(t.seconds,t.nanoseconds)}valueOf(){return String(this.seconds-Ss).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}Kt._jsonSchemaVersion="firestore/timestamp/1.0",Kt._jsonSchema={type:Se("string",Kt._jsonSchemaVersion),seconds:Se("number"),nanoseconds:Se("number")};const Ls="mutationQueues",ar="mutations",Di="documentMutations",Vs="remoteDocumentGlobal",Ni="targets",Oi="targetDocuments",Yo="targetGlobal",Ms="collectionParents",Li="clientMetadata",Ec="bundles",Tc="namedQueries";class he{constructor(t,e){this.comparator=t,this.root=e||en.EMPTY}insert(t,e){return new he(this.comparator,this.root.insert(t,e,this.comparator).copy(null,null,en.BLACK,null,null))}remove(t){return new he(this.comparator,this.root.remove(t,this.comparator).copy(null,null,en.BLACK,null,null))}get(t){let e=this.root;for(;!e.isEmpty();){const n=this.comparator(t,e.key);if(0===n)return e.value;n<0?e=e.left:n>0&&(e=e.right)}return null}indexOf(t){let e=0,n=this.root;for(;!n.isEmpty();){const o=this.comparator(t,n.key);if(0===o)return e+n.left.size;o<0?n=n.left:(e+=n.left.size+1,n=n.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(t){return this.root.inorderTraversal(t)}forEach(t){this.inorderTraversal((e,n)=>(t(e,n),!1))}toString(){const t=[];return this.inorderTraversal((e,n)=>(t.push(`${e}:${n}`),!1)),`{${t.join(", ")}}`}reverseTraversal(t){return this.root.reverseTraversal(t)}getIterator(){return new Rc(this.root,null,this.comparator,!1)}getIteratorFrom(t){return new Rc(this.root,t,this.comparator,!1)}getReverseIterator(){return new Rc(this.root,null,this.comparator,!0)}getReverseIteratorFrom(t){return new Rc(this.root,t,this.comparator,!0)}}class Rc{constructor(t,e,n,o){this.isReverse=o,this.nodeStack=[];let i=1;for(;!t.isEmpty();)if(i=e?n(t.key,e):1,e&&o&&(i*=-1),i<0)t=this.isReverse?t.left:t.right;else{if(0===i){this.nodeStack.push(t);break}this.nodeStack.push(t),t=this.isReverse?t.right:t.left}}getNext(){let t=this.nodeStack.pop();const e={key:t.key,value:t.value};if(this.isReverse)for(t=t.left;!t.isEmpty();)this.nodeStack.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack.push(t),t=t.left;return e}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const t=this.nodeStack[this.nodeStack.length-1];return{key:t.key,value:t.value}}}class en{constructor(t,e,n,o,i){this.key=t,this.value=e,this.color=n??en.RED,this.left=o??en.EMPTY,this.right=i??en.EMPTY,this.size=this.left.size+1+this.right.size}copy(t,e,n,o,i){return new en(t??this.key,e??this.value,n??this.color,o??this.left,i??this.right)}isEmpty(){return!1}inorderTraversal(t){return this.left.inorderTraversal(t)||t(this.key,this.value)||this.right.inorderTraversal(t)}reverseTraversal(t){return this.right.reverseTraversal(t)||t(this.key,this.value)||this.left.reverseTraversal(t)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(t,e,n){let o=this;const i=n(t,o.key);return o=i<0?o.copy(null,null,null,o.left.insert(t,e,n),null):0===i?o.copy(null,e,null,null,null):o.copy(null,null,null,null,o.right.insert(t,e,n)),o.fixUp()}removeMin(){if(this.left.isEmpty())return en.EMPTY;let t=this;return t.left.isRed()||t.left.left.isRed()||(t=t.moveRedLeft()),t=t.copy(null,null,null,t.left.removeMin(),null),t.fixUp()}remove(t,e){let n,o=this;if(e(t,o.key)<0)o.left.isEmpty()||o.left.isRed()||o.left.left.isRed()||(o=o.moveRedLeft()),o=o.copy(null,null,null,o.left.remove(t,e),null);else{if(o.left.isRed()&&(o=o.rotateRight()),o.right.isEmpty()||o.right.isRed()||o.right.left.isRed()||(o=o.moveRedRight()),0===e(t,o.key)){if(o.right.isEmpty())return en.EMPTY;n=o.right.min(),o=o.copy(n.key,n.value,null,null,o.right.removeMin())}o=o.copy(null,null,null,null,o.right.remove(t,e))}return o.fixUp()}isRed(){return this.color}fixUp(){let t=this;return t.right.isRed()&&!t.left.isRed()&&(t=t.rotateLeft()),t.left.isRed()&&t.left.left.isRed()&&(t=t.rotateRight()),t.left.isRed()&&t.right.isRed()&&(t=t.colorFlip()),t}moveRedLeft(){let t=this.colorFlip();return t.right.left.isRed()&&(t=t.copy(null,null,null,null,t.right.rotateRight()),t=t.rotateLeft(),t=t.colorFlip()),t}moveRedRight(){let t=this.colorFlip();return t.left.left.isRed()&&(t=t.rotateRight(),t=t.colorFlip()),t}rotateLeft(){const t=this.copy(null,null,en.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)}rotateRight(){const t=this.copy(null,null,en.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)}colorFlip(){const t=this.left.copy(null,null,!this.left.color,null,null),e=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,t,e)}checkMaxDepth(){const t=this.check();return Math.pow(2,t)<=this.size+1}check(){if(this.isRed()&&this.left.isRed())throw at(43730,{key:this.key,value:this.value});if(this.right.isRed())throw at(14113,{key:this.key,value:this.value});const t=this.left.check();if(t!==this.right.check())throw at(27949);return t+(this.isRed()?0:1)}}en.EMPTY=null,en.RED=!0,en.BLACK=!1,en.EMPTY=new class{constructor(){this.size=0}get key(){throw at(57766)}get value(){throw at(16141)}get color(){throw at(16727)}get left(){throw at(29726)}get right(){throw at(36894)}copy(t,e,n,o,i){return this}insert(t,e,n){return new en(t,e)}remove(t,e){return this}isEmpty(){return!0}inorderTraversal(t){return!1}reverseTraversal(t){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class Zt{constructor(t){this.comparator=t,this.data=new he(this.comparator)}has(t){return null!==this.data.get(t)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(t){return this.data.indexOf(t)}forEach(t){this.data.inorderTraversal((e,n)=>(t(e),!1))}forEachInRange(t,e){const n=this.data.getIteratorFrom(t[0]);for(;n.hasNext();){const o=n.getNext();if(this.comparator(o.key,t[1])>=0)return;e(o.key)}}forEachWhile(t,e){let n;for(n=void 0!==e?this.data.getIteratorFrom(e):this.data.getIterator();n.hasNext();)if(!t(n.getNext().key))return}firstAfterOrEqual(t){const e=this.data.getIteratorFrom(t);return e.hasNext()?e.getNext().key:null}getIterator(){return new km(this.data.getIterator())}getIteratorFrom(t){return new km(this.data.getIteratorFrom(t))}add(t){return this.copy(this.data.remove(t).insert(t,!0))}delete(t){return this.has(t)?this.copy(this.data.remove(t)):this}isEmpty(){return this.data.isEmpty()}unionWith(t){let e=this;return e.size<t.size&&(e=t,t=this),t.forEach(n=>{e=e.add(n)}),e}isEqual(t){if(!(t instanceof Zt)||this.size!==t.size)return!1;const e=this.data.getIterator(),n=t.data.getIterator();for(;e.hasNext();){const o=e.getNext().key,i=n.getNext().key;if(0!==this.comparator(o,i))return!1}return!0}toArray(){const t=[];return this.forEach(e=>{t.push(e)}),t}toString(){const t=[];return this.forEach(e=>t.push(e)),"SortedSet("+t.toString()+")"}copy(t){const e=new Zt(this.comparator);return e.data=t,e}}class km{constructor(t){this.iter=t}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}class Cm extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}class Pe{constructor(t){this.binaryString=t}static fromBase64String(t){const e=function(o){try{return atob(o)}catch(i){throw typeof DOMException<"u"&&i instanceof DOMException?new Cm("Invalid base64 string: "+i):i}}(t);return new Pe(e)}static fromUint8Array(t){const e=function(o){let i="";for(let s=0;s<o.length;++s)i+=String.fromCharCode(o[s]);return i}(t);return new Pe(e)}[Symbol.iterator](){let t=0;return{next:()=>t<this.binaryString.length?{value:this.binaryString.charCodeAt(t++),done:!1}:{value:void 0,done:!0}}}toBase64(){return btoa(this.binaryString)}toUint8Array(){return function(e){const n=new Uint8Array(e.length);for(let o=0;o<e.length;o++)n[o]=e.charCodeAt(o);return n}(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(t){return lt(this.binaryString,t.binaryString)}isEqual(t){return this.binaryString===t.binaryString}}Pe.EMPTY_BYTE_STRING=new Pe("");const pT=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function ye(r){return"number"==typeof r?r:"string"==typeof r?Number(r):0}const qs="(default)";class Zo{constructor(t,e){this.projectId=t,this.database=e||qs}static empty(){return new Zo("","")}get isDefaultDatabase(){return this.database===qs}isEqual(t){return t instanceof Zo&&t.projectId===this.projectId&&t.database===this.database}}class Ur{constructor(t,e=null,n=[],o=[],i=null,s="F",a=null,l=null){this.path=t,this.collectionGroup=e,this.explicitOrderBy=n,this.filters=o,this.limit=i,this.limitType=s,this.startAt=a,this.endAt=l,this.Ie=null,this.Ee=null,this.Re=null}}var Ue,Wt;new he(pt.comparator),new he(pt.comparator),new he(pt.comparator),new Zt(pt.comparator),new Zt(lt),(Wt=Ue||(Ue={}))[Wt.OK=0]="OK",Wt[Wt.CANCELLED=1]="CANCELLED",Wt[Wt.UNKNOWN=2]="UNKNOWN",Wt[Wt.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Wt[Wt.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Wt[Wt.NOT_FOUND=5]="NOT_FOUND",Wt[Wt.ALREADY_EXISTS=6]="ALREADY_EXISTS",Wt[Wt.PERMISSION_DENIED=7]="PERMISSION_DENIED",Wt[Wt.UNAUTHENTICATED=16]="UNAUTHENTICATED",Wt[Wt.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Wt[Wt.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Wt[Wt.ABORTED=10]="ABORTED",Wt[Wt.OUT_OF_RANGE=11]="OUT_OF_RANGE",Wt[Wt.UNIMPLEMENTED=12]="UNIMPLEMENTED",Wt[Wt.INTERNAL=13]="INTERNAL",Wt[Wt.UNAVAILABLE=14]="UNAVAILABLE",Wt[Wt.DATA_LOSS=15]="DATA_LOSS",new Ge([4294967295,4294967295],0),Error;class ai{constructor(){}Dt(t,e){this.Ct(t,e),e.vt()}Ct(t,e){if("nullValue"in t)this.Ft(e,5);else if("booleanValue"in t)this.Ft(e,10),e.Mt(t.booleanValue?1:0);else if("integerValue"in t)this.Ft(e,15),e.Mt(ye(t.integerValue));else if("doubleValue"in t){const n=ye(t.doubleValue);isNaN(n)?this.Ft(e,13):(this.Ft(e,15),function mn(r){return 0===r&&1/r==-1/0}(n)?e.Mt(0):e.Mt(n))}else if("timestampValue"in t){let n=t.timestampValue;this.Ft(e,20),"string"==typeof n&&(n=function Mr(r){if(dt(!!r,39018),"string"==typeof r){let t=0;const e=pT.exec(r);if(dt(!!e,46558,{timestamp:r}),e[1]){let o=e[1];o=(o+"000000000").substr(0,9),t=Number(o)}const n=new Date(r);return{seconds:Math.floor(n.getTime()/1e3),nanos:t}}return{seconds:ye(r.seconds),nanos:ye(r.nanos)}}(n)),e.xt(`${n.seconds||""}`),e.Mt(n.nanos||0)}else if("stringValue"in t)this.Ot(t.stringValue,e),this.Nt(e);else if("bytesValue"in t)this.Ft(e,30),e.Bt(function Fr(r){return"string"==typeof r?Pe.fromBase64String(r):Pe.fromUint8Array(r)}(t.bytesValue)),this.Nt(e);else if("referenceValue"in t)this.Lt(t.referenceValue,e);else if("geoPointValue"in t){const n=t.geoPointValue;this.Ft(e,45),e.Mt(n.latitude||0),e.Mt(n.longitude||0)}else"mapValue"in t?function qm(r){return"__max__"===(((r.mapValue||{}).fields||{}).__type__||{}).stringValue}(t)?this.Ft(e,Number.MAX_SAFE_INTEGER):function Dc(r){return"__vector__"===(r?.mapValue?.fields||{}).__type__?.stringValue}(t)?this.kt(t.mapValue,e):(this.Kt(t.mapValue,e),this.Nt(e)):"arrayValue"in t?(this.qt(t.arrayValue,e),this.Nt(e)):at(19022,{Ut:t})}Ot(t,e){this.Ft(e,25),this.$t(t,e)}$t(t,e){e.xt(t)}Kt(t,e){const n=t.fields||{};this.Ft(e,55);for(const o of Object.keys(n))this.Ot(o,e),this.Ct(n[o],e)}kt(t,e){const n=t.fields||{};this.Ft(e,53);const o="value",i=n[o].arrayValue?.values?.length||0;this.Ft(e,15),e.Mt(ye(i)),this.Ot(o,e),this.Ct(n[o],e)}qt(t,e){const n=t.values||[];this.Ft(e,50);for(const o of n)this.Ct(o,e)}Lt(t,e){this.Ft(e,37),pt.fromName(t).path.forEach(n=>{this.Ft(e,60),this.$t(n,e)})}Ft(t,e){t.Mt(e)}Nt(t){t.Mt(2)}}ai.Wt=new ai,new Uint8Array(0);class un{static withCacheSize(t){return new un(t,un.DEFAULT_COLLECTION_PERCENTILE,un.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}constructor(t,e,n){this.cacheSizeCollectionThreshold=t,this.percentileToCollect=e,this.maximumSequenceNumbersToCollect=n}}un.DEFAULT_COLLECTION_PERCENTILE=10,un.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,un.DEFAULT=new un(41943040,un.DEFAULT_COLLECTION_PERCENTILE,un.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),un.DISABLED=new un(-1,0,0);let rl=null;function _h(){return null===rl?rl=268435456+Math.round(2147483648*Math.random()):rl++,"0x"+rl.toString(16)}const yh="RestConnection",F0={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery",ExecutePipeline:"executePipeline"};class U0{get Ko(){return!1}constructor(t){this.databaseInfo=t,this.databaseId=t.databaseId;const e=t.ssl?"https":"http",n=encodeURIComponent(this.databaseId.projectId),o=encodeURIComponent(this.databaseId.database);this.qo=e+"://"+t.host,this.Uo=`projects/${n}/databases/${o}`,this.$o=this.databaseId.database===qs?`project_id=${n}`:`project_id=${n}&database_id=${o}`}Wo(t,e,n,o,i){const s=_h(),a=this.Qo(t,e.toUriEncodedString());b(yh,`Sending RPC '${t}' ${s}:`,a,n);const l={"google-cloud-resource-prefix":this.Uo,"x-goog-request-params":this.$o};this.Go(l,o,i);const{host:u}=new URL(a),h=(0,It.zJ)(u);return this.zo(t,a,l,n,h).then(p=>(b(yh,`Received RPC '${t}' ${s}: `,p),p),p=>{throw Rt(yh,`RPC '${t}' ${s} failed with error: `,p,"url: ",a,"request:",n),p})}jo(t,e,n,o,i,s){return this.Wo(t,e,n,o,i)}Go(t,e,n){t["X-Goog-Api-Client"]="gl-js/ fire/"+Me,t["Content-Type"]="text/plain",this.databaseInfo.appId&&(t["X-Firebase-GMPID"]=this.databaseInfo.appId),e&&e.headers.forEach((o,i)=>t[i]=o),n&&n.headers.forEach((o,i)=>t[i]=o)}Qo(t,e){let o=`${this.qo}/v1/${e}:${F0[t]}`;return this.databaseInfo.apiKey&&(o=`${o}?key=${encodeURIComponent(this.databaseInfo.apiKey)}`),o}terminate(){}}class j0{constructor(t){this.Ho=t.Ho,this.Jo=t.Jo}Zo(t){this.Xo=t}Yo(t){this.e_=t}t_(t){this.n_=t}onMessage(t){this.r_=t}close(){this.Jo()}send(t){this.Ho(t)}i_(){this.Xo()}s_(){this.e_()}o_(t){this.n_(t)}__(t){this.r_(t)}}const hn="WebChannelConnection",pa=(r,t,e)=>{r.listen(t,n=>{try{e(n)}catch(o){setTimeout(()=>{throw o},0)}})};class ts extends U0{constructor(t){super(t),this.a_=[],this.forceLongPolling=t.forceLongPolling,this.autoDetectLongPolling=t.autoDetectLongPolling,this.useFetchStreams=t.useFetchStreams,this.longPollingOptions=t.longPollingOptions}static u_(){if(!ts.c_){const t=Wo();pa(t,gr.STAT_EVENT,e=>{e.stat===vn.PROXY?b(hn,"STAT_EVENT: detected buffering proxy"):e.stat===vn.NOPROXY&&b(hn,"STAT_EVENT: detected no buffering proxy")}),ts.c_=!0}}zo(t,e,n,o,i){const s=_h();return new Promise((a,l)=>{const u=new Or;u.setWithCredentials(!0),u.listenOnce(Qn.COMPLETE,()=>{try{switch(u.getLastErrorCode()){case oo.NO_ERROR:const p=u.getResponseJson();b(hn,`XHR for RPC '${t}' ${s} received:`,JSON.stringify(p)),a(p);break;case oo.TIMEOUT:b(hn,`RPC '${t}' ${s} timed out`),l(new it(z.DEADLINE_EXCEEDED,"Request time out"));break;case oo.HTTP_ERROR:const _=u.getStatus();if(b(hn,`RPC '${t}' ${s} failed with status:`,_,"response text:",u.getResponseText()),_>0){let v=u.getResponseJson();Array.isArray(v)&&(v=v[0]);const N=v?.error;if(N&&N.status&&N.message){const G=function(et){const vt=et.toLowerCase().replace(/_/g,"-");return Object.values(z).indexOf(vt)>=0?vt:z.UNKNOWN}(N.status);l(new it(G,N.message))}else l(new it(z.UNKNOWN,"Server responded with status "+u.getStatus()))}else l(new it(z.UNAVAILABLE,"Connection failed."));break;default:at(9055,{l_:t,streamId:s,h_:u.getLastErrorCode(),P_:u.getLastError()})}}finally{b(hn,`RPC '${t}' ${s} completed.`)}});const h=JSON.stringify(o);b(hn,`RPC '${t}' ${s} sending request:`,o),u.send(e,"POST",h,n,15)})}T_(t,e,n){const o=_h(),i=[this.qo,"/","google.firestore.v1.Firestore","/",t,"/channel"],s=this.createWebChannelTransport(),a={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},l=this.longPollingOptions.timeoutSeconds;void 0!==l&&(a.longPollingTimeout=Math.round(1e3*l)),this.useFetchStreams&&(a.useFetchStreams=!0),this.Go(a.initMessageHeaders,e,n),a.encodeInitMessageHeaders=!0;const u=i.join("");b(hn,`Creating RPC '${t}' stream ${o}: ${u}`,a);const h=s.createWebChannel(u,a);this.I_(h);let p=!1,_=!1;const v=new j0({Ho:N=>{_?b(hn,`Not sending because RPC '${t}' stream ${o} is closed:`,N):(p||(b(hn,`Opening RPC '${t}' stream ${o} transport.`),h.open(),p=!0),b(hn,`RPC '${t}' stream ${o} sending:`,N),h.send(N))},Jo:()=>h.close()});return pa(h,ee.EventType.OPEN,()=>{_||(b(hn,`RPC '${t}' stream ${o} transport opened.`),v.i_())}),pa(h,ee.EventType.CLOSE,()=>{_||(_=!0,b(hn,`RPC '${t}' stream ${o} transport closed`),v.o_(),this.E_(h))}),pa(h,ee.EventType.ERROR,N=>{_||(_=!0,Rt(hn,`RPC '${t}' stream ${o} transport errored. Name:`,N.name,"Message:",N.message),v.o_(new it(z.UNAVAILABLE,"The operation could not be completed")))}),pa(h,ee.EventType.MESSAGE,N=>{if(!_){const G=N.data[0];dt(!!G,16349);const nt=G,et=nt?.error||nt[0]?.error;if(et){b(hn,`RPC '${t}' stream ${o} received error:`,et);const vt=et.status;let yt=function(At){const C=Ue[At];if(void 0!==C)return function R_(r){if(void 0===r)return ht("GRPC error has no .code"),z.UNKNOWN;switch(r){case Ue.OK:return z.OK;case Ue.CANCELLED:return z.CANCELLED;case Ue.UNKNOWN:return z.UNKNOWN;case Ue.DEADLINE_EXCEEDED:return z.DEADLINE_EXCEEDED;case Ue.RESOURCE_EXHAUSTED:return z.RESOURCE_EXHAUSTED;case Ue.INTERNAL:return z.INTERNAL;case Ue.UNAVAILABLE:return z.UNAVAILABLE;case Ue.UNAUTHENTICATED:return z.UNAUTHENTICATED;case Ue.INVALID_ARGUMENT:return z.INVALID_ARGUMENT;case Ue.NOT_FOUND:return z.NOT_FOUND;case Ue.ALREADY_EXISTS:return z.ALREADY_EXISTS;case Ue.PERMISSION_DENIED:return z.PERMISSION_DENIED;case Ue.FAILED_PRECONDITION:return z.FAILED_PRECONDITION;case Ue.ABORTED:return z.ABORTED;case Ue.OUT_OF_RANGE:return z.OUT_OF_RANGE;case Ue.UNIMPLEMENTED:return z.UNIMPLEMENTED;case Ue.DATA_LOSS:return z.DATA_LOSS;default:return at(39323,{code:r})}}(C)}(vt),kt=et.message;void 0===yt&&(yt=z.INTERNAL,kt="Unknown error status: "+vt+" with message "+et.message),_=!0,v.o_(new it(yt,kt)),h.close()}else b(hn,`RPC '${t}' stream ${o} received:`,G),v.__(G)}}),ts.u_(),setTimeout(()=>{v.s_()},0),v}terminate(){this.a_.forEach(t=>t.close()),this.a_=[]}I_(t){this.a_.push(t)}E_(t){this.a_=this.a_.filter(e=>e===t)}Go(t,e,n){super.Go(t,e,n),this.databaseInfo.apiKey&&(t["x-goog-api-key"]=this.databaseInfo.apiKey)}createWebChannelTransport(){return mr()}}function ol(){return typeof document<"u"?document:null}ts.c_=!1;class wh{constructor(t,e,n=1e3,o=1.5,i=6e4){this.Ci=t,this.timerId=e,this.R_=n,this.A_=o,this.V_=i,this.d_=0,this.m_=null,this.f_=Date.now(),this.reset()}reset(){this.d_=0}g_(){this.d_=this.V_}p_(t){this.cancel();const e=Math.floor(this.d_+this.y_()),n=Math.max(0,Date.now()-this.f_),o=Math.max(0,e-n);o>0&&b("ExponentialBackoff",`Backing off for ${o} ms (base delay: ${this.d_} ms, delay with jitter: ${e} ms, last attempt: ${n} ms ago)`),this.m_=this.Ci.enqueueAfterDelay(this.timerId,o,()=>(this.f_=Date.now(),t())),this.d_*=this.A_,this.d_<this.R_&&(this.d_=this.R_),this.d_>this.V_&&(this.d_=this.V_)}w_(){null!==this.m_&&(this.m_.skipDelay(),this.m_=null)}cancel(){null!==this.m_&&(this.m_.cancel(),this.m_=null)}y_(){return(Math.random()-.5)*this.d_}}class Mh{constructor(t,e,n,o,i){this.asyncQueue=t,this.timerId=e,this.targetTimeMs=n,this.op=o,this.removalCallback=i,this.deferred=new re,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(s=>{})}get promise(){return this.deferred.promise}static createAndSchedule(t,e,n,o,i){const s=Date.now()+n,a=new Mh(t,e,s,o,i);return a.start(n),a}start(t){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),t)}skipDelay(){return this.handleDelayElapsed()}cancel(t){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new it(z.CANCELLED,"Operation cancelled"+(t?": "+t:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then(t=>this.deferred.resolve(t))):Promise.resolve())}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}var $h,ow;(ow=$h||($h={})).Ma="default",ow.Cache="cache";const _a=new Map;class Rw{constructor(t){if(void 0===t.host){if(void 0!==t.ssl)throw new it(z.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=t.host,this.ssl=t.ssl??!0;if(this.isUsingEmulator=void 0!==t.emulatorOptions,this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,this.localCache=t.localCache,void 0===t.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==t.cacheSizeBytes&&t.cacheSizeBytes<1048576)throw new it(z.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}(function pu(r,t,e,n){if(!0===t&&!0===n)throw new it(z.INVALID_ARGUMENT,`${r} and ${e} cannot be used together.`)})("experimentalForceLongPolling",t.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",t.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalAutoDetectLongPolling=!(this.experimentalForceLongPolling||void 0!==t.experimentalAutoDetectLongPolling&&!t.experimentalAutoDetectLongPolling),this.experimentalLongPollingOptions=function vw(r){const t={};return void 0!==r.timeoutSeconds&&(t.timeoutSeconds=r.timeoutSeconds),t}(t.experimentalLongPollingOptions??{}),function(n){if(void 0!==n.timeoutSeconds){if(isNaN(n.timeoutSeconds))throw new it(z.INVALID_ARGUMENT,`invalid long polling timeout: ${n.timeoutSeconds} (must not be NaN)`);if(n.timeoutSeconds<5)throw new it(z.INVALID_ARGUMENT,`invalid long polling timeout: ${n.timeoutSeconds} (minimum allowed value is 5)`);if(n.timeoutSeconds>30)throw new it(z.INVALID_ARGUMENT,`invalid long polling timeout: ${n.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!t.useFetchStreams}isEqual(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&this.experimentalLongPollingOptions.timeoutSeconds===t.experimentalLongPollingOptions.timeoutSeconds&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties&&this.useFetchStreams===t.useFetchStreams}}class ya{constructor(t,e,n,o){this._authCredentials=t,this._appCheckCredentials=e,this._databaseId=n,this._app=o,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new Rw({}),this._settingsFrozen=!1,this._emulatorOptions={},this._terminateTask="notTerminated"}get app(){if(!this._app)throw new it(z.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return"notTerminated"!==this._terminateTask}_setSettings(t){if(this._settingsFrozen)throw new it(z.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new Rw(t),this._emulatorOptions=t.emulatorOptions||{},void 0!==t.credentials&&(this._authCredentials=function(n){if(!n)return new wr;switch(n.type){case"firstParty":return new B(n.sessionIndex||"0",n.iamToken||null,n.authTokenFactory||null);case"provider":return n.client;default:throw new it(z.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(t.credentials))}_getSettings(){return this._settings}_getEmulatorOptions(){return this._emulatorOptions}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return"notTerminated"===this._terminateTask&&(this._terminateTask=this._terminate()),this._terminateTask}_restart(){var t=this;return(0,I.A)(function*(){"notTerminated"===t._terminateTask?yield t._terminate():t._terminateTask="notTerminated"})()}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(e){const n=_a.get(e);n&&(b("ComponentProvider","Removing Datastore"),_a.delete(e),n.terminate())}(this),Promise.resolve()}}class Un{constructor(t,e,n){this.converter=e,this._query=n,this.type="query",this.firestore=t}withConverter(t){return new Un(this.firestore,t,this._query)}}class Ne{constructor(t,e,n){this.converter=e,this._key=n,this.type="document",this.firestore=t}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new lr(this.firestore,this.converter,this._key.path.popLast())}withConverter(t){return new Ne(this.firestore,t,this._key)}toJSON(){return{type:Ne._jsonSchemaVersion,referencePath:this._key.toString()}}static fromJSON(t,e,n){if(Lr(e,Ne._jsonSchema))return new Ne(t,n||null,new pt(Lt.fromString(e.referencePath)))}}Ne._jsonSchemaVersion="firestore/documentReference/1.0",Ne._jsonSchema={type:Se("string",Ne._jsonSchemaVersion),referencePath:Se("string")};class lr extends Un{constructor(t,e,n){super(t,e,function Hs(r){return new Ur(r)}(n)),this._path=n,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const t=this._path.popLast();return t.isEmpty()?null:new Ne(this.firestore,null,new pt(t))}withConverter(t){return new lr(this.firestore,t,this._path)}}const Sw="AsyncQueue";class Pw{constructor(t=Promise.resolve()){this.Yu=[],this.ec=!1,this.tc=[],this.nc=null,this.rc=!1,this.sc=!1,this.oc=[],this.M_=new wh(this,"async_queue_retry"),this._c=()=>{const n=ol();n&&b(Sw,"Visibility state changed to "+n.visibilityState),this.M_.w_()},this.ac=t;const e=ol();e&&"function"==typeof e.addEventListener&&e.addEventListener("visibilitychange",this._c)}get isShuttingDown(){return this.ec}enqueueAndForget(t){this.enqueue(t)}enqueueAndForgetEvenWhileRestricted(t){this.uc(),this.cc(t)}enterRestrictedMode(t){if(!this.ec){this.ec=!0,this.sc=t||!1;const e=ol();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("visibilitychange",this._c)}}enqueue(t){if(this.uc(),this.ec)return new Promise(()=>{});const e=new re;return this.cc(()=>this.ec&&this.sc?Promise.resolve():(t().then(e.resolve,e.reject),e.promise)).then(()=>e.promise)}enqueueRetryable(t){this.enqueueAndForget(()=>(this.Yu.push(t),this.lc()))}lc(){var t=this;return(0,I.A)(function*(){if(0!==t.Yu.length){try{yield t.Yu[0](),t.Yu.shift(),t.M_.reset()}catch(e){if(!function st(r){return"IndexedDbTransactionError"===r.name}(e))throw e;b(Sw,"Operation failed with retryable error: "+e)}t.Yu.length>0&&t.M_.p_(()=>t.lc())}})()}cc(t){const e=this.ac.then(()=>(this.rc=!0,t().catch(n=>{throw this.nc=n,this.rc=!1,ht("INTERNAL UNHANDLED ERROR: ",xw(n)),n}).then(n=>(this.rc=!1,n))));return this.ac=e,e}enqueueAfterDelay(t,e,n){this.uc(),this.oc.indexOf(t)>-1&&(e=0);const o=Mh.createAndSchedule(this,t,e,n,i=>this.hc(i));return this.tc.push(o),o}uc(){this.nc&&at(47125,{Pc:xw(this.nc)})}verifyOperationInProgress(){}Tc(){var t=this;return(0,I.A)(function*(){let e;do{e=t.ac,yield e}while(e!==t.ac)})()}Ic(t){for(const e of this.tc)if(e.timerId===t)return!0;return!1}Ec(t){return this.Tc().then(()=>{this.tc.sort((e,n)=>e.targetTimeMs-n.targetTimeMs);for(const e of this.tc)if(e.skipDelay(),"all"!==t&&e.timerId===t)break;return this.Tc()})}Rc(t){this.oc.push(t)}hc(t){const e=this.tc.indexOf(t);this.tc.splice(e,1)}}function xw(r){let t=r.message||"";return r.stack&&(t=r.stack.includes(r.message)?r.stack:r.message+"\n"+r.stack),t}class Ar extends ya{constructor(t,e,n,o){super(t,e,n,o),this.type="firestore",this._queue=new Pw,this._persistenceKey=o?.name||"[DEFAULT]"}_terminate(){var t=this;return(0,I.A)(function*(){if(t._firestoreClient){const e=t._firestoreClient.terminate();t._queue=new Pw(e),t._firestoreClient=void 0,yield e}})()}}class jn{constructor(t){this._byteString=t}static fromBase64String(t){try{return new jn(Pe.fromBase64String(t))}catch(e){throw new it(z.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+e)}}static fromUint8Array(t){return new jn(Pe.fromUint8Array(t))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(t){return this._byteString.isEqual(t._byteString)}toJSON(){return{type:jn._jsonSchemaVersion,bytes:this.toBase64()}}static fromJSON(t){if(Lr(t,jn._jsonSchema))return jn.fromBase64String(t.bytes)}}jn._jsonSchemaVersion="firestore/bytes/1.0",jn._jsonSchema={type:Se("string",jn._jsonSchemaVersion),bytes:Se("string")};class ul{constructor(...t){for(let e=0;e<t.length;++e)if(0===t[e].length)throw new it(z.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new ne(t)}isEqual(t){return this._internalPath.isEqual(t._internalPath)}}class Rr{constructor(t,e){if(!isFinite(t)||t<-90||t>90)throw new it(z.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(e)||e<-180||e>180)throw new it(z.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+e);this._lat=t,this._long=e}get latitude(){return this._lat}get longitude(){return this._long}isEqual(t){return this._lat===t._lat&&this._long===t._long}_compareTo(t){return lt(this._lat,t._lat)||lt(this._long,t._long)}toJSON(){return{latitude:this._lat,longitude:this._long,type:Rr._jsonSchemaVersion}}static fromJSON(t){if(Lr(t,Rr._jsonSchema))return new Rr(t.latitude,t.longitude)}}Rr._jsonSchemaVersion="firestore/geoPoint/1.0",Rr._jsonSchema={type:Se("string",Rr._jsonSchemaVersion),latitude:Se("number"),longitude:Se("number")};class Jn{constructor(t){this._values=(t||[]).map(e=>e)}toArray(){return this._values.map(t=>t)}isEqual(t){return function(n,o){if(n.length!==o.length)return!1;for(let i=0;i<n.length;++i)if(n[i]!==o[i])return!1;return!0}(this._values,t._values)}toJSON(){return{type:Jn._jsonSchemaVersion,vectorValues:this._values}}static fromJSON(t){if(Lr(t,Jn._jsonSchema)){if(Array.isArray(t.vectorValues)&&t.vectorValues.every(e=>"number"==typeof e))return new Jn(t.vectorValues);throw new it(z.INVALID_ARGUMENT,"Expected 'vectorValues' field to be a number array")}}}function ba(r,t,e){if((t=(0,It.Ku)(t))instanceof ul)return t._internalPath;if("string"==typeof t)return function Fw(r,t,e){if(t.search(KA)>=0)throw dl(`Invalid field path (${t}). Paths must not contain '~', '*', '/', '[', or ']'`,r,!1,void 0,e);try{return new ul(...t.split("."))._internalPath}catch{throw dl(`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,r,!1,void 0,e)}}(r,t);throw dl("Field path arguments must be of type string or ",r,!1,void 0,e)}Jn._jsonSchemaVersion="firestore/vectorValue/1.0",Jn._jsonSchema={type:Se("string",Jn._jsonSchemaVersion),vectorValues:Se("object")};const KA=new RegExp("[~\\*/\\[\\]]");function dl(r,t,e,n,o){const i=n&&!n.isEmpty(),s=void 0!==o;let a=`Function ${t}() called with invalid data`;e&&(a+=" (via `toFirestore()`)"),a+=". ";let l="";return(i||s)&&(l+=" (found",i&&(l+=` in field ${n}`),s&&(l+=` in document ${o}`),l+=")"),new it(z.INVALID_ARGUMENT,a+r+l)}const ib="@firebase/firestore";class Ea{constructor(t,e,n,o,i){this._firestore=t,this._userDataWriter=e,this._key=n,this._document=o,this._converter=i}get id(){return this._key.path.lastSegment()}get ref(){return new Ne(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const t=new SR(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(t)}return this._userDataWriter.convertValue(this._document.data.value)}}_fieldsProto(){return this._document?.data.clone().value.mapValue.fields??void 0}get(t){if(this._document){const e=this._document.data.field(ba("DocumentSnapshot.get",t));if(null!==e)return this._userDataWriter.convertValue(e)}}}class SR extends Ea{data(){return super.data()}}class Ro{constructor(t,e){this.hasPendingWrites=t,this.fromCache=e}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class $n extends Ea{constructor(t,e,n,o,i,s){super(t,e,n,o,s),this._firestore=t,this._firestoreImpl=t,this.metadata=i}exists(){return super.exists()}data(t={}){if(this._document){if(this._converter){const e=new bl(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(e,t)}return this._userDataWriter.convertValue(this._document.data.value,t.serverTimestamps)}}get(t,e={}){if(this._document){const n=this._document.data.field(ba("DocumentSnapshot.get",t));if(null!==n)return this._userDataWriter.convertValue(n,e.serverTimestamps)}}toJSON(){if(this.metadata.hasPendingWrites)throw new it(z.FAILED_PRECONDITION,"DocumentSnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");const t=this._document,e={};return e.type=$n._jsonSchemaVersion,e.bundle="",e.bundleSource="DocumentSnapshot",e.bundleName=this._key.toString(),t&&t.isValidDocument()&&t.isFoundDocument()?(this._userDataWriter.convertObjectMap(t.data.value.mapValue.fields,"previous"),e.bundle="NOT SUPPORTED",e):e}}$n._jsonSchemaVersion="firestore/documentSnapshot/1.0",$n._jsonSchema={type:Se("string",$n._jsonSchemaVersion),bundleSource:Se("string","DocumentSnapshot"),bundleName:Se("string"),bundle:Se("string")};class bl extends $n{data(t={}){return super.data(t)}}class zn{constructor(t,e,n,o){this._firestore=t,this._userDataWriter=e,this._snapshot=o,this.metadata=new Ro(o.hasPendingWrites,o.fromCache),this.query=n}get docs(){const t=[];return this.forEach(e=>t.push(e)),t}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(t,e){this._snapshot.docs.forEach(n=>{t.call(e,new bl(this._firestore,this._userDataWriter,n.key,n,new Ro(this._snapshot.mutatedKeys.has(n.key),this._snapshot.fromCache),this.query.converter))})}docChanges(t={}){const e=!!t.includeMetadataChanges;if(e&&this._snapshot.excludesMetadataChanges)throw new it(z.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===e||(this._cachedChanges=function(o,i){if(o._snapshot.oldDocs.isEmpty()){let s=0;return o._snapshot.docChanges.map(a=>({type:"added",doc:new bl(o._firestore,o._userDataWriter,a.doc.key,a.doc,new Ro(o._snapshot.mutatedKeys.has(a.doc.key),o._snapshot.fromCache),o.query.converter),oldIndex:-1,newIndex:s++}))}{let s=o._snapshot.oldDocs;return o._snapshot.docChanges.filter(a=>i||3!==a.type).map(a=>{const l=new bl(o._firestore,o._userDataWriter,a.doc.key,a.doc,new Ro(o._snapshot.mutatedKeys.has(a.doc.key),o._snapshot.fromCache),o.query.converter);let u=-1,h=-1;return 0!==a.type&&(u=s.indexOf(a.doc.key),s=s.delete(a.doc.key)),1!==a.type&&(s=s.add(a.doc),h=s.indexOf(a.doc.key)),{type:MR(a.type),doc:l,oldIndex:u,newIndex:h}})}}(this,e),this._cachedChangesIncludeMetadataChanges=e),this._cachedChanges}toJSON(){if(this.metadata.hasPendingWrites)throw new it(z.FAILED_PRECONDITION,"QuerySnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");const t={};t.type=zn._jsonSchemaVersion,t.bundleSource="QuerySnapshot",t.bundleName=Nt.newId();const e=[],n=[],o=[];return this.docs.forEach(i=>{null!==i._document&&(e.push(i._document),n.push(this._userDataWriter.convertObjectMap(i._document.data.value.mapValue.fields,"previous")),o.push(i.ref.path))}),t.bundle="NOT SUPPORTED",t}}function MR(r){switch(r){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return at(61501,{type:r})}}zn._jsonSchemaVersion="firestore/querySnapshot/1.0",zn._jsonSchema={type:Se("string",zn._jsonSchemaVersion),bundleSource:Se("string","QuerySnapshot"),bundleName:Se("string"),bundle:Se("string")},function(t,e=!0){(function S(r){Me=r})(mt.MF),(0,mt.om)(new fr.uA("firestore",(n,{instanceIdentifier:o,options:i})=>{const s=n.getProvider("app").getImmediate(),a=new Ar(new In(n.getProvider("auth-internal")),new Q(s,n.getProvider("app-check-internal")),function gT(r,t){if(!Object.prototype.hasOwnProperty.apply(r.options,["projectId"]))throw new it(z.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new Zo(r.options.projectId,t)}(s,o),s);return i={useFetchStreams:e,...i},a._setSettings(i),a},"PUBLIC").setMultipleInstances(!0)),(0,mt.KO)(ib,"4.10.0",t),(0,mt.KO)(ib,"4.10.0","esm2020")}();const XR=function bb(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}},vb=new It.FA("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),Il=new ae.Vy("@firebase/auth");function El(r,...t){Il.logLevel<=ae.$b.ERROR&&Il.error(`Auth (${mt.MF}): ${r}`,...t)}function Sn(r,...t){throw Qd(r,...t)}function Xn(r,...t){return Qd(r,...t)}function Kd(r,t,e){const n={...XR(),[t]:e};return new It.FA("auth","Firebase",n).create(t,{appName:r.name})}function Xe(r){return Kd(r,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function Qd(r,...t){if("string"!=typeof r){const e=t[0],n=[...t.slice(1)];return n[0]&&(n[0].appName=r.name),r._errorFactory.create(e,...n)}return vb.create(r,...t)}function ct(r,t,...e){if(!r)throw Qd(t,...e)}function Sr(r){const t="INTERNAL ASSERTION FAILED: "+r;throw El(t),new Error(t)}function Po(r,t){r||Sr(t)}function Ib(){return typeof self<"u"&&self.location?.protocol||null}class Ca{constructor(t,e){this.shortDelay=t,this.longDelay=e,Po(e>t,"Short delay should be less than long delay!"),this.isMobile=(0,It.jZ)()||(0,It.lV)()}get(){return function ZR(){return!(typeof navigator<"u"&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(function Jd(){return"http:"===Ib()||"https:"===Ib()}()||(0,It.sr)()||"connection"in navigator))||navigator.onLine}()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}class Eb{static initialize(t,e,n){this.fetchImpl=t,e&&(this.headersImpl=e),n&&(this.responseImpl=n)}static fetch(){return this.fetchImpl?this.fetchImpl:typeof self<"u"&&"fetch"in self?self.fetch:typeof globalThis<"u"&&globalThis.fetch?globalThis.fetch:typeof fetch<"u"?fetch:void Sr("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:typeof self<"u"&&"Headers"in self?self.Headers:typeof globalThis<"u"&&globalThis.Headers?globalThis.Headers:typeof Headers<"u"?Headers:void Sr("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:typeof self<"u"&&"Response"in self?self.Response:typeof globalThis<"u"&&globalThis.Response?globalThis.Response:typeof Response<"u"?Response:void Sr("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const eS={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},nS=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],rS=new Ca(3e4,6e4);function fe(r,t){return r.tenantId&&!t.tenantId?{...t,tenantId:r.tenantId}:t}function ge(r,t,e,n){return Yd.apply(this,arguments)}function Yd(){return(Yd=(0,I.A)(function*(r,t,e,n,o={}){return Tb(r,o,(0,I.A)(function*(){let i={},s={};n&&("GET"===t?s=n:i={body:JSON.stringify(n)});const a=(0,It.Am)({key:r.config.apiKey,...s}).slice(1),l=yield r._getAdditionalHeaders();l["Content-Type"]="application/json",r.languageCode&&(l["X-Firebase-Locale"]=r.languageCode);const u={method:t,headers:l,...i};return(0,It.c1)()||(u.referrerPolicy="no-referrer"),r.emulatorConfig&&(0,It.zJ)(r.emulatorConfig.host)&&(u.credentials="include"),Eb.fetch()(yield Ab(r,r.config.apiHost,e,a),u)}))})).apply(this,arguments)}function Tb(r,t,e){return Zd.apply(this,arguments)}function Zd(){return(Zd=(0,I.A)(function*(r,t,e){r._canInitEmulator=!1;const n={...eS,...t};try{const o=new iS(r),i=yield Promise.race([e(),o.promise]);o.clearNetworkTimeout();const s=yield i.json();if("needConfirmation"in s)throw Da(r,"account-exists-with-different-credential",s);if(i.ok&&!("errorMessage"in s))return s;{const a=i.ok?s.errorMessage:s.error.message,[l,u]=a.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===l)throw Da(r,"credential-already-in-use",s);if("EMAIL_EXISTS"===l)throw Da(r,"email-already-in-use",s);if("USER_DISABLED"===l)throw Da(r,"user-disabled",s);const h=n[l]||l.toLowerCase().replace(/[_\s]+/g,"-");if(u)throw Kd(r,h,u);Sn(r,h)}}catch(o){if(o instanceof It.g)throw o;Sn(r,"network-request-failed",{message:String(o)})}})).apply(this,arguments)}function Ab(r,t,e,n){return ep.apply(this,arguments)}function ep(){return(ep=(0,I.A)(function*(r,t,e,n){const o=`${t}${e}?${n}`,i=r,s=i.config.emulator?function Xd(r,t){Po(r.emulator,"Emulator should always be set here");const{url:e}=r.emulator;return t?`${e}${t.startsWith("/")?t.slice(1):t}`:e}(r.config,o):`${r.config.apiScheme}://${o}`;return nS.includes(e)&&(yield i._persistenceManagerAvailable,"COOKIE"===i._getPersistenceType())?i._getPersistence()._getFinalTarget(s).toString():s})).apply(this,arguments)}class iS{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(t){this.auth=t,this.timer=null,this.promise=new Promise((e,n)=>{this.timer=setTimeout(()=>n(Xn(this.auth,"network-request-failed")),rS.get())})}}function Da(r,t,e){const n={appName:r.name};e.email&&(n.email=e.email),e.phoneNumber&&(n.phoneNumber=e.phoneNumber);const o=Xn(r,t,n);return o.customData._tokenResponse=e,o}function op(){return(op=(0,I.A)(function*(r,t){return ge(r,"POST","/v1/accounts:delete",t)})).apply(this,arguments)}function Tl(r,t){return sp.apply(this,arguments)}function sp(){return(sp=(0,I.A)(function*(r,t){return ge(r,"POST","/v1/accounts:lookup",t)})).apply(this,arguments)}function Na(r){if(r)try{const t=new Date(Number(r));if(!isNaN(t.getTime()))return t.toUTCString()}catch{}}function ap(){return(ap=(0,I.A)(function*(r,t=!1){const e=(0,It.Ku)(r),n=yield e.getIdToken(t),o=Al(n);ct(o&&o.exp&&o.auth_time&&o.iat,e.auth,"internal-error");const i="object"==typeof o.firebase?o.firebase:void 0,s=i?.sign_in_provider;return{claims:o,token:n,authTime:Na(cp(o.auth_time)),issuedAtTime:Na(cp(o.iat)),expirationTime:Na(cp(o.exp)),signInProvider:s||null,signInSecondFactor:i?.sign_in_second_factor||null}})).apply(this,arguments)}function cp(r){return 1e3*Number(r)}function Al(r){const[t,e,n]=r.split(".");if(void 0===t||void 0===e||void 0===n)return El("JWT malformed, contained fewer than 3 sections"),null;try{const o=(0,It.u)(e);return o?JSON.parse(o):(El("Failed to decode base64 JWT payload"),null)}catch(o){return El("Caught error parsing JWT payload as JSON",o?.toString()),null}}function kb(r){const t=Al(r);return ct(t,"internal-error"),ct(typeof t.exp<"u","internal-error"),ct(typeof t.iat<"u","internal-error"),Number(t.exp)-Number(t.iat)}function Wr(r,t){return lp.apply(this,arguments)}function lp(){return(lp=(0,I.A)(function*(r,t,e=!1){if(e)return t;try{return yield t}catch(n){throw n instanceof It.g&&function uS({code:r}){return"auth/user-disabled"===r||"auth/user-token-expired"===r}(n)&&r.auth.currentUser===r&&(yield r.auth.signOut()),n}})).apply(this,arguments)}class hS{constructor(t){this.user=t,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(t){if(t){const e=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),e}{this.errorBackoff=3e4;const n=(this.user.stsTokenManager.expirationTime??0)-Date.now()-3e5;return Math.max(0,n)}}schedule(t=!1){var e=this;if(!this.isRunning)return;const n=this.getInterval(t);this.timerId=setTimeout((0,I.A)(function*(){yield e.iteration()}),n)}iteration(){var t=this;return(0,I.A)(function*(){try{yield t.user.getIdToken(!0)}catch(e){return void("auth/network-request-failed"===e?.code&&t.schedule(!0))}t.schedule()})()}}class up{constructor(t,e){this.createdAt=t,this.lastLoginAt=e,this._initializeTime()}_initializeTime(){this.lastSignInTime=Na(this.lastLoginAt),this.creationTime=Na(this.createdAt)}_copy(t){this.createdAt=t.createdAt,this.lastLoginAt=t.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}function Oa(r){return hp.apply(this,arguments)}function hp(){return(hp=(0,I.A)(function*(r){const t=r.auth,e=yield r.getIdToken(),n=yield Wr(r,Tl(t,{idToken:e}));ct(n?.users.length,t,"internal-error");const o=n.users[0];r._notifyReloadListener(o);const i=o.providerUserInfo?.length?Cb(o.providerUserInfo):[],s=function pS(r,t){return[...r.filter(n=>!t.some(o=>o.providerId===n.providerId)),...t]}(r.providerData,i),u=!!r.isAnonymous&&!(r.email&&o.passwordHash||s?.length),h={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:s,metadata:new up(o.createdAt,o.lastLoginAt),isAnonymous:u};Object.assign(r,h)})).apply(this,arguments)}function dp(){return(dp=(0,I.A)(function*(r){const t=(0,It.Ku)(r);yield Oa(t),yield t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)})).apply(this,arguments)}function Cb(r){return r.map(({providerId:t,...e})=>({providerId:t,uid:e.rawId||"",displayName:e.displayName||null,email:e.email||null,phoneNumber:e.phoneNumber||null,photoURL:e.photoUrl||null}))}function pp(){return(pp=(0,I.A)(function*(r,t){const e=yield Tb(r,{},(0,I.A)(function*(){const n=(0,It.Am)({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:o,apiKey:i}=r.config,s=yield Ab(r,o,"/v1/token",`key=${i}`),a=yield r._getAdditionalHeaders();a["Content-Type"]="application/x-www-form-urlencoded";const l={method:"POST",headers:a,body:n};return r.emulatorConfig&&(0,It.zJ)(r.emulatorConfig.host)&&(l.credentials="include"),Eb.fetch()(s,l)}));return{accessToken:e.access_token,expiresIn:e.expires_in,refreshToken:e.refresh_token}})).apply(this,arguments)}function fp(){return(fp=(0,I.A)(function*(r,t){return ge(r,"POST","/v2/accounts:revokeToken",fe(r,t))})).apply(this,arguments)}class gs{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(t){ct(t.idToken,"internal-error"),ct(typeof t.idToken<"u","internal-error"),ct(typeof t.refreshToken<"u","internal-error");const e="expiresIn"in t&&typeof t.expiresIn<"u"?Number(t.expiresIn):kb(t.idToken);this.updateTokensAndExpiration(t.idToken,t.refreshToken,e)}updateFromIdToken(t){ct(0!==t.length,"internal-error");const e=kb(t);this.updateTokensAndExpiration(t,null,e)}getToken(t){var e=this;return(0,I.A)(function*(n,o=!1){return o||!e.accessToken||e.isExpired?(ct(e.refreshToken,n,"user-token-expired"),e.refreshToken?(yield e.refresh(n,e.refreshToken),e.accessToken):null):e.accessToken}).apply(this,arguments)}clearRefreshToken(){this.refreshToken=null}refresh(t,e){var n=this;return(0,I.A)(function*(){const{accessToken:o,refreshToken:i,expiresIn:s}=yield function fS(r,t){return pp.apply(this,arguments)}(t,e);n.updateTokensAndExpiration(o,i,Number(s))})()}updateTokensAndExpiration(t,e,n){this.refreshToken=e||null,this.accessToken=t||null,this.expirationTime=Date.now()+1e3*n}static fromJSON(t,e){const{refreshToken:n,accessToken:o,expirationTime:i}=e,s=new gs;return n&&(ct("string"==typeof n,"internal-error",{appName:t}),s.refreshToken=n),o&&(ct("string"==typeof o,"internal-error",{appName:t}),s.accessToken=o),i&&(ct("number"==typeof i,"internal-error",{appName:t}),s.expirationTime=i),s}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(t){this.accessToken=t.accessToken,this.refreshToken=t.refreshToken,this.expirationTime=t.expirationTime}_clone(){return Object.assign(new gs,this.toJSON())}_performRefresh(){return Sr("not implemented")}}function xo(r,t){ct("string"==typeof r||typeof r>"u","internal-error",{appName:t})}class ur{constructor({uid:t,auth:e,stsTokenManager:n,...o}){this.providerId="firebase",this.proactiveRefresh=new hS(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=t,this.auth=e,this.stsTokenManager=n,this.accessToken=n.accessToken,this.displayName=o.displayName||null,this.email=o.email||null,this.emailVerified=o.emailVerified||!1,this.phoneNumber=o.phoneNumber||null,this.photoURL=o.photoURL||null,this.isAnonymous=o.isAnonymous||!1,this.tenantId=o.tenantId||null,this.providerData=o.providerData?[...o.providerData]:[],this.metadata=new up(o.createdAt||void 0,o.lastLoginAt||void 0)}getIdToken(t){var e=this;return(0,I.A)(function*(){const n=yield Wr(e,e.stsTokenManager.getToken(e.auth,t));return ct(n,e.auth,"internal-error"),e.accessToken!==n&&(e.accessToken=n,yield e.auth._persistUserIfCurrent(e),e.auth._notifyListenersIfCurrent(e)),n})()}getIdTokenResult(t){return function lS(r){return ap.apply(this,arguments)}(this,t)}reload(){return function dS(r){return dp.apply(this,arguments)}(this)}_assign(t){this!==t&&(ct(this.uid===t.uid,this.auth,"internal-error"),this.displayName=t.displayName,this.photoURL=t.photoURL,this.email=t.email,this.emailVerified=t.emailVerified,this.phoneNumber=t.phoneNumber,this.isAnonymous=t.isAnonymous,this.tenantId=t.tenantId,this.providerData=t.providerData.map(e=>({...e})),this.metadata._copy(t.metadata),this.stsTokenManager._assign(t.stsTokenManager))}_clone(t){const e=new ur({...this,auth:t,stsTokenManager:this.stsTokenManager._clone()});return e.metadata._copy(this.metadata),e}_onReload(t){ct(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=t,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(t){this.reloadListener?this.reloadListener(t):this.reloadUserInfo=t}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(t){var e=this;return(0,I.A)(function*(n,o=!1){let i=!1;n.idToken&&n.idToken!==e.stsTokenManager.accessToken&&(e.stsTokenManager.updateFromServerResponse(n),i=!0),o&&(yield Oa(e)),yield e.auth._persistUserIfCurrent(e),i&&e.auth._notifyListenersIfCurrent(e)}).apply(this,arguments)}delete(){var t=this;return(0,I.A)(function*(){if((0,mt.xZ)(t.auth.app))return Promise.reject(Xe(t.auth));const e=yield t.getIdToken();return yield Wr(t,function aS(r,t){return op.apply(this,arguments)}(t.auth,{idToken:e})),t.stsTokenManager.clearRefreshToken(),t.auth.signOut()})()}toJSON(){return{uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(t=>({...t})),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId,...this.metadata.toJSON(),apiKey:this.auth.config.apiKey,appName:this.auth.name}}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(t,e){const n=e.displayName??void 0,o=e.email??void 0,i=e.phoneNumber??void 0,s=e.photoURL??void 0,a=e.tenantId??void 0,l=e._redirectEventId??void 0,u=e.createdAt??void 0,h=e.lastLoginAt??void 0,{uid:p,emailVerified:_,isAnonymous:v,providerData:N,stsTokenManager:G}=e;ct(p&&G,t,"internal-error");const nt=gs.fromJSON(this.name,G);ct("string"==typeof p,t,"internal-error"),xo(n,t.name),xo(o,t.name),ct("boolean"==typeof _,t,"internal-error"),ct("boolean"==typeof v,t,"internal-error"),xo(i,t.name),xo(s,t.name),xo(a,t.name),xo(l,t.name),xo(u,t.name),xo(h,t.name);const et=new ur({uid:p,auth:t,email:o,emailVerified:_,displayName:n,isAnonymous:v,photoURL:s,phoneNumber:i,tenantId:a,stsTokenManager:nt,createdAt:u,lastLoginAt:h});return N&&Array.isArray(N)&&(et.providerData=N.map(vt=>({...vt}))),l&&(et._redirectEventId=l),et}static _fromIdTokenResponse(t,e){return(0,I.A)(function*(n,o,i=!1){const s=new gs;s.updateFromServerResponse(o);const a=new ur({uid:o.localId,auth:n,stsTokenManager:s,isAnonymous:i});return yield Oa(a),a}).apply(this,arguments)}static _fromGetAccountInfoResponse(t,e,n){return(0,I.A)(function*(){const o=e.users[0];ct(void 0!==o.localId,"internal-error");const i=void 0!==o.providerUserInfo?Cb(o.providerUserInfo):[],s=!(o.email&&o.passwordHash||i?.length),a=new gs;a.updateFromIdToken(n);const l=new ur({uid:o.localId,auth:t,stsTokenManager:a,isAnonymous:s}),u={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:i,metadata:new up(o.createdAt,o.lastLoginAt),isAnonymous:!(o.email&&o.passwordHash||i?.length)};return Object.assign(l,u),l})()}}const Db=new Map;function Hr(r){Po(r instanceof Function,"Expected a class definition");let t=Db.get(r);return t?(Po(t instanceof r,"Instance stored in cache mismatched with class"),t):(t=new r,Db.set(r,t),t)}const Nb=(()=>{class r{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return(0,I.A)(function*(){return!0})()}_set(e,n){var o=this;return(0,I.A)(function*(){o.storage[e]=n})()}_get(e){var n=this;return(0,I.A)(function*(){const o=n.storage[e];return void 0===o?null:o})()}_remove(e){var n=this;return(0,I.A)(function*(){delete n.storage[e]})()}_addListener(e,n){}_removeListener(e,n){}}return r.type="NONE",r})();function Rl(r,t,e){return`firebase:${r}:${t}:${e}`}class ms{constructor(t,e,n){this.persistence=t,this.auth=e,this.userKey=n;const{config:o,name:i}=this.auth;this.fullUserKey=Rl(this.userKey,o.apiKey,i),this.fullPersistenceKey=Rl("persistence",o.apiKey,i),this.boundEventHandler=e._onStorageEvent.bind(e),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(t){return this.persistence._set(this.fullUserKey,t.toJSON())}getCurrentUser(){var t=this;return(0,I.A)(function*(){const e=yield t.persistence._get(t.fullUserKey);if(!e)return null;if("string"==typeof e){const n=yield Tl(t.auth,{idToken:e}).catch(()=>{});return n?ur._fromGetAccountInfoResponse(t.auth,n,e):null}return ur._fromJSON(t.auth,e)})()}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(t){var e=this;return(0,I.A)(function*(){if(e.persistence===t)return;const n=yield e.getCurrentUser();return yield e.removeCurrentUser(),e.persistence=t,n?e.setCurrentUser(n):void 0})()}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(t,e){return(0,I.A)(function*(n,o,i="authUser"){if(!o.length)return new ms(Hr(Nb),n,i);const s=(yield Promise.all(o.map(function(){var p=(0,I.A)(function*(_){if(yield _._isAvailable())return _});return function(_){return p.apply(this,arguments)}}()))).filter(p=>p);let a=s[0]||Hr(Nb);const l=Rl(i,n.config.apiKey,n.name);let u=null;for(const p of o)try{const _=yield p._get(l);if(_){let v;if("string"==typeof _){const N=yield Tl(n,{idToken:_}).catch(()=>{});if(!N)break;v=yield ur._fromGetAccountInfoResponse(n,N,_)}else v=ur._fromJSON(n,_);p!==a&&(u=v),a=p;break}}catch{}const h=s.filter(p=>p._shouldAllowMigration);return a._shouldAllowMigration&&h.length?(a=h[0],u&&(yield a._set(l,u.toJSON())),yield Promise.all(o.map(function(){var p=(0,I.A)(function*(_){if(_!==a)try{yield _._remove(l)}catch{}});return function(_){return p.apply(this,arguments)}}())),new ms(a,n,i)):new ms(a,n,i)}).apply(this,arguments)}}function Ob(r){const t=r.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";if(function Fb(r=(0,It.ZQ)()){return/iemobile/i.test(r)}(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(function Lb(r=(0,It.ZQ)()){return/firefox\//i.test(r)}(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(function jb(r=(0,It.ZQ)()){return/blackberry/i.test(r)}(t))return"Blackberry";if(function qb(r=(0,It.ZQ)()){return/webos/i.test(r)}(t))return"Webos";if(function Vb(r=(0,It.ZQ)()){const t=r.toLowerCase();return t.includes("safari/")&&!t.includes("chrome/")&&!t.includes("crios/")&&!t.includes("android")}(t))return"Safari";if((t.includes("chrome/")||function Mb(r=(0,It.ZQ)()){return/crios\//i.test(r)}(t))&&!t.includes("edge/"))return"Chrome";if(function Ub(r=(0,It.ZQ)()){return/android/i.test(r)}(t))return"Android";{const n=r.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(2===n?.length)return n[1]}return"Other"}function Bb(r,t=[]){let e;switch(r){case"Browser":e=Ob((0,It.ZQ)());break;case"Worker":e=`${Ob((0,It.ZQ)())}-${r}`;break;default:e=r}const n=t.length?t.join(","):"FirebaseCore-web";return`${e}/JsCore/${mt.MF}/${n}`}class yS{constructor(t){this.auth=t,this.queue=[]}pushCallback(t,e){const n=i=>new Promise((s,a)=>{try{s(t(i))}catch(l){a(l)}});n.onAbort=e,this.queue.push(n);const o=this.queue.length-1;return()=>{this.queue[o]=()=>Promise.resolve()}}runMiddleware(t){var e=this;return(0,I.A)(function*(){if(e.auth.currentUser===t)return;const n=[];try{for(const o of e.queue)yield o(t),o.onAbort&&n.push(o.onAbort)}catch(o){n.reverse();for(const i of n)try{i()}catch{}throw e.auth._errorFactory.create("login-blocked",{originalMessage:o?.message})}})()}}function mp(){return(mp=(0,I.A)(function*(r,t={}){return ge(r,"GET","/v2/passwordPolicy",fe(r,t))})).apply(this,arguments)}class vS{constructor(t){const e=t.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=e.minPasswordLength??6,e.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=e.maxPasswordLength),void 0!==e.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=e.containsLowercaseCharacter),void 0!==e.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=e.containsUppercaseCharacter),void 0!==e.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=e.containsNumericCharacter),void 0!==e.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=e.containsNonAlphanumericCharacter),this.enforcementState=t.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=t.allowedNonAlphanumericCharacters?.join("")??"",this.forceUpgradeOnSignin=t.forceUpgradeOnSignin??!1,this.schemaVersion=t.schemaVersion}validatePassword(t){const e={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(t,e),this.validatePasswordCharacterOptions(t,e),e.isValid&&(e.isValid=e.meetsMinPasswordLength??!0),e.isValid&&(e.isValid=e.meetsMaxPasswordLength??!0),e.isValid&&(e.isValid=e.containsLowercaseLetter??!0),e.isValid&&(e.isValid=e.containsUppercaseLetter??!0),e.isValid&&(e.isValid=e.containsNumericCharacter??!0),e.isValid&&(e.isValid=e.containsNonAlphanumericCharacter??!0),e}validatePasswordLengthOptions(t,e){const n=this.customStrengthOptions.minPasswordLength,o=this.customStrengthOptions.maxPasswordLength;n&&(e.meetsMinPasswordLength=t.length>=n),o&&(e.meetsMaxPasswordLength=t.length<=o)}validatePasswordCharacterOptions(t,e){let n;this.updatePasswordCharacterOptionsStatuses(e,!1,!1,!1,!1);for(let o=0;o<t.length;o++)n=t.charAt(o),this.updatePasswordCharacterOptionsStatuses(e,n>="a"&&n<="z",n>="A"&&n<="Z",n>="0"&&n<="9",this.allowedNonAlphanumericCharacters.includes(n))}updatePasswordCharacterOptionsStatuses(t,e,n,o,i){this.customStrengthOptions.containsLowercaseLetter&&(t.containsLowercaseLetter||(t.containsLowercaseLetter=e)),this.customStrengthOptions.containsUppercaseLetter&&(t.containsUppercaseLetter||(t.containsUppercaseLetter=n)),this.customStrengthOptions.containsNumericCharacter&&(t.containsNumericCharacter||(t.containsNumericCharacter=o)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(t.containsNonAlphanumericCharacter||(t.containsNonAlphanumericCharacter=i))}}class IS{constructor(t,e,n,o){this.app=t,this.heartbeatServiceProvider=e,this.appCheckServiceProvider=n,this.config=o,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new $b(this),this.idTokenSubscription=new $b(this),this.beforeStateQueue=new yS(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=vb,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=t.name,this.clientVersion=o.sdkClientVersion,this._persistenceManagerAvailable=new Promise(i=>this._resolvePersistenceManagerAvailable=i)}_initializeWithPersistence(t,e){var n=this;return e&&(this._popupRedirectResolver=Hr(e)),this._initializationPromise=this.queue((0,I.A)(function*(){if(!n._deleted&&(n.persistenceManager=yield ms.create(n,t),n._resolvePersistenceManagerAvailable?.(),!n._deleted)){if(n._popupRedirectResolver?._shouldInitProactively)try{yield n._popupRedirectResolver._initialize(n)}catch{}yield n.initializeCurrentUser(e),n.lastNotifiedUid=n.currentUser?.uid||null,!n._deleted&&(n._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){var t=this;return(0,I.A)(function*(){if(t._deleted)return;const e=yield t.assertedPersistence.getCurrentUser();if(t.currentUser||e){if(t.currentUser&&e&&t.currentUser.uid===e.uid)return t._currentUser._assign(e),void(yield t.currentUser.getIdToken());yield t._updateCurrentUser(e,!0)}})()}initializeCurrentUserFromIdToken(t){var e=this;return(0,I.A)(function*(){try{const n=yield Tl(e,{idToken:t}),o=yield ur._fromGetAccountInfoResponse(e,n,t);yield e.directlySetCurrentUser(o)}catch(n){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",n),yield e.directlySetCurrentUser(null)}})()}initializeCurrentUser(t){var e=this;return(0,I.A)(function*(){if((0,mt.xZ)(e.app)){const s=e.app.settings.authIdToken;return s?new Promise(a=>{setTimeout(()=>e.initializeCurrentUserFromIdToken(s).then(a,a))}):e.directlySetCurrentUser(null)}const n=yield e.assertedPersistence.getCurrentUser();let o=n,i=!1;if(t&&e.config.authDomain){yield e.getOrInitRedirectPersistenceManager();const s=e.redirectUser?._redirectEventId,a=o?._redirectEventId,l=yield e.tryRedirectSignIn(t);(!s||s===a)&&l?.user&&(o=l.user,i=!0)}if(!o)return e.directlySetCurrentUser(null);if(!o._redirectEventId){if(i)try{yield e.beforeStateQueue.runMiddleware(o)}catch(s){o=n,e._popupRedirectResolver._overrideRedirectResult(e,()=>Promise.reject(s))}return o?e.reloadAndSetCurrentUserOrClear(o):e.directlySetCurrentUser(null)}return ct(e._popupRedirectResolver,e,"argument-error"),yield e.getOrInitRedirectPersistenceManager(),e.redirectUser&&e.redirectUser._redirectEventId===o._redirectEventId?e.directlySetCurrentUser(o):e.reloadAndSetCurrentUserOrClear(o)})()}tryRedirectSignIn(t){var e=this;return(0,I.A)(function*(){let n=null;try{n=yield e._popupRedirectResolver._completeRedirectFn(e,t,!0)}catch{yield e._setRedirectUser(null)}return n})()}reloadAndSetCurrentUserOrClear(t){var e=this;return(0,I.A)(function*(){try{yield Oa(t)}catch(n){if("auth/network-request-failed"!==n?.code)return e.directlySetCurrentUser(null)}return e.directlySetCurrentUser(t)})()}useDeviceLanguage(){this.languageCode=function tS(){if(typeof navigator>"u")return null;const r=navigator;return r.languages&&r.languages[0]||r.language||null}()}_delete(){var t=this;return(0,I.A)(function*(){t._deleted=!0})()}updateCurrentUser(t){var e=this;return(0,I.A)(function*(){if((0,mt.xZ)(e.app))return Promise.reject(Xe(e));const n=t?(0,It.Ku)(t):null;return n&&ct(n.auth.config.apiKey===e.config.apiKey,e,"invalid-user-token"),e._updateCurrentUser(n&&n._clone(e))})()}_updateCurrentUser(t){var e=this;return(0,I.A)(function*(n,o=!1){if(!e._deleted)return n&&ct(e.tenantId===n.tenantId,e,"tenant-id-mismatch"),o||(yield e.beforeStateQueue.runMiddleware(n)),e.queue((0,I.A)(function*(){yield e.directlySetCurrentUser(n),e.notifyAuthListeners()}))}).apply(this,arguments)}signOut(){var t=this;return(0,I.A)(function*(){return(0,mt.xZ)(t.app)?Promise.reject(Xe(t)):(yield t.beforeStateQueue.runMiddleware(null),(t.redirectPersistenceManager||t._popupRedirectResolver)&&(yield t._setRedirectUser(null)),t._updateCurrentUser(null,!0))})()}setPersistence(t){var e=this;return(0,mt.xZ)(this.app)?Promise.reject(Xe(this)):this.queue((0,I.A)(function*(){yield e.assertedPersistence.setPersistence(Hr(t))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(t){var e=this;return(0,I.A)(function*(){e._getPasswordPolicyInternal()||(yield e._updatePasswordPolicy());const n=e._getPasswordPolicyInternal();return n.schemaVersion!==e.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(e._errorFactory.create("unsupported-password-policy-schema-version",{})):n.validatePassword(t)})()}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){var t=this;return(0,I.A)(function*(){const e=yield function wS(r){return mp.apply(this,arguments)}(t),n=new vS(e);null===t.tenantId?t._projectPasswordPolicy=n:t._tenantPasswordPolicies[t.tenantId]=n})()}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(t){this._errorFactory=new It.FA("auth","Firebase",t())}onAuthStateChanged(t,e,n){return this.registerStateListener(this.authStateSubscription,t,e,n)}beforeAuthStateChanged(t,e){return this.beforeStateQueue.pushCallback(t,e)}onIdTokenChanged(t,e,n){return this.registerStateListener(this.idTokenSubscription,t,e,n)}authStateReady(){return new Promise((t,e)=>{if(this.currentUser)t();else{const n=this.onAuthStateChanged(()=>{n(),t()},e)}})}revokeAccessToken(t){var e=this;return(0,I.A)(function*(){if(e.currentUser){const n=yield e.currentUser.getIdToken(),o={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:t,idToken:n};null!=e.tenantId&&(o.tenantId=e.tenantId),yield function gS(r,t){return fp.apply(this,arguments)}(e,o)}})()}toJSON(){return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:this._currentUser?.toJSON()}}_setRedirectUser(t,e){var n=this;return(0,I.A)(function*(){const o=yield n.getOrInitRedirectPersistenceManager(e);return null===t?o.removeCurrentUser():o.setCurrentUser(t)})()}getOrInitRedirectPersistenceManager(t){var e=this;return(0,I.A)(function*(){if(!e.redirectPersistenceManager){const n=t&&Hr(t)||e._popupRedirectResolver;ct(n,e,"argument-error"),e.redirectPersistenceManager=yield ms.create(e,[Hr(n._redirectPersistence)],"redirectUser"),e.redirectUser=yield e.redirectPersistenceManager.getCurrentUser()}return e.redirectPersistenceManager})()}_redirectUserForId(t){var e=this;return(0,I.A)(function*(){return e._isInitialized&&(yield e.queue((0,I.A)(function*(){}))),e._currentUser?._redirectEventId===t?e._currentUser:e.redirectUser?._redirectEventId===t?e.redirectUser:null})()}_persistUserIfCurrent(t){var e=this;return(0,I.A)(function*(){if(t===e.currentUser)return e.queue((0,I.A)(function*(){return e.directlySetCurrentUser(t)}))})()}_notifyListenersIfCurrent(t){t===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const t=this.currentUser?.uid??null;this.lastNotifiedUid!==t&&(this.lastNotifiedUid=t,this.authStateSubscription.next(this.currentUser))}registerStateListener(t,e,n,o){if(this._deleted)return()=>{};const i="function"==typeof e?e:e.next.bind(e);let s=!1;const a=this._isInitialized?Promise.resolve():this._initializationPromise;if(ct(a,this,"internal-error"),a.then(()=>{s||i(this.currentUser)}),"function"==typeof e){const l=t.addObserver(e,n,o);return()=>{s=!0,l()}}{const l=t.addObserver(e);return()=>{s=!0,l()}}}directlySetCurrentUser(t){var e=this;return(0,I.A)(function*(){e.currentUser&&e.currentUser!==t&&e._currentUser._stopProactiveRefresh(),t&&e.isProactiveRefreshEnabled&&t._startProactiveRefresh(),e.currentUser=t,t?yield e.assertedPersistence.setCurrentUser(t):yield e.assertedPersistence.removeCurrentUser()})()}queue(t){return this.operations=this.operations.then(t,t),this.operations}get assertedPersistence(){return ct(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(t){!t||this.frameworks.includes(t)||(this.frameworks.push(t),this.frameworks.sort(),this.clientVersion=Bb(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){var t=this;return(0,I.A)(function*(){const e={"X-Client-Version":t.clientVersion};t.app.options.appId&&(e["X-Firebase-gmpid"]=t.app.options.appId);const n=yield t.heartbeatServiceProvider.getImmediate({optional:!0})?.getHeartbeatsHeader();n&&(e["X-Firebase-Client"]=n);const o=yield t._getAppCheckToken();return o&&(e["X-Firebase-AppCheck"]=o),e})()}_getAppCheckToken(){var t=this;return(0,I.A)(function*(){if((0,mt.xZ)(t.app)&&t.app.settings.appCheckToken)return t.app.settings.appCheckToken;const e=yield t.appCheckServiceProvider.getImmediate({optional:!0})?.getToken();return e?.error&&function YR(r,...t){Il.logLevel<=ae.$b.WARN&&Il.warn(`Auth (${mt.MF}): ${r}`,...t)}(`Error while retrieving App Check token: ${e.error}`),e?.token})()}}class $b{constructor(t){this.auth=t,this.observer=null,this.addObserver=(0,It.tD)(e=>this.observer=e)}get next(){return ct(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let La={loadJS:()=>(0,I.A)(function*(){throw new Error("Unable to load external scripts")})(),recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};(function zb(r){return`__${r}${Math.floor(1e6*Math.random())}`})("rcb"),new Ca(3e4,6e4),new Ca(2e3,1e4),new Ca(3e4,6e4),new Ca(5e3,15e3),encodeURIComponent("fac");var Av="@firebase/auth";class E1{constructor(t){this.auth=t,this.internalListeners=new Map}getUid(){return this.assertAuthConfigured(),this.auth.currentUser?.uid||null}getToken(t){var e=this;return(0,I.A)(function*(){return e.assertAuthConfigured(),yield e.auth._initializationPromise,e.auth.currentUser?{accessToken:yield e.auth.currentUser.getIdToken(t)}:null})()}addAuthTokenListener(t){if(this.assertAuthConfigured(),this.internalListeners.has(t))return;const e=this.auth.onIdTokenChanged(n=>{t(n?.stsTokenManager.accessToken||null)});this.internalListeners.set(t,e),this.updateProactiveRefresh()}removeAuthTokenListener(t){this.assertAuthConfigured();const e=this.internalListeners.get(t);e&&(this.internalListeners.delete(t),e(),this.updateProactiveRefresh())}assertAuthConfigured(){ct(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}(0,It.XA)("authIdTokenMaxAge"),function ES(r){La=r}({loadJS:r=>new Promise((t,e)=>{const n=document.createElement("script");n.setAttribute("src",r),n.onload=t,n.onerror=o=>{const i=Xn("internal-error");i.customData=o,e(i)},n.type="text/javascript",n.charset="UTF-8",function P1(){return document.getElementsByTagName("head")?.[0]??document}().appendChild(n)}),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="}),function A1(r){(0,mt.om)(new fr.uA("auth",(t,{options:e})=>{const n=t.getProvider("app").getImmediate(),o=t.getProvider("heartbeat"),i=t.getProvider("app-check-internal"),{apiKey:s,authDomain:a}=n.options;ct(s&&!s.includes(":"),"invalid-api-key",{appName:n.name});const l={apiKey:s,authDomain:a,clientPlatform:r,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:Bb(r)},u=new IS(n,o,i,l);return function VS(r,t){const e=t?.persistence||[],n=(Array.isArray(e)?e:[e]).map(Hr);t?.errorMap&&r._updateErrorMap(t.errorMap),r._initializeWithPersistence(n,t?.popupRedirectResolver)}(u,e),u},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,e,n)=>{t.getProvider("auth-internal").initialize()})),(0,mt.om)(new fr.uA("auth-internal",t=>{const e=function Oe(r){return(0,It.Ku)(r)}(t.getProvider("auth").getImmediate());return new E1(e)},"PRIVATE").setInstantiationMode("EXPLICIT")),(0,mt.KO)(Av,"1.12.0",function T1(r){switch(r){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(r)),(0,mt.KO)(Av,"1.12.0","esm2020")}("Browser");const rn=[];for(let r=0;r<256;++r)rn.push((r+256).toString(16).slice(1));const k1=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,O1=function N1(r){if(!function C1(r){return"string"==typeof r&&k1.test(r)}(r))throw TypeError("Invalid UUID");let t;const e=new Uint8Array(16);return e[0]=(t=parseInt(r.slice(0,8),16))>>>24,e[1]=t>>>16&255,e[2]=t>>>8&255,e[3]=255&t,e[4]=(t=parseInt(r.slice(9,13),16))>>>8,e[5]=255&t,e[6]=(t=parseInt(r.slice(14,18),16))>>>8,e[7]=255&t,e[8]=(t=parseInt(r.slice(19,23),16))>>>8,e[9]=255&t,e[10]=(t=parseInt(r.slice(24,36),16))/1099511627776&255,e[11]=t/4294967296&255,e[12]=t>>>24&255,e[13]=t>>>16&255,e[14]=t>>>8&255,e[15]=255&t,e};function U1(r,t,e,n){switch(r){case 0:return t&e^~t&n;case 1:case 3:return t^e^n;case 2:return t&e^t&n^e&n}}function ag(r,t){return r<<t|r>>>32-t}const q1=function F1(r,t,e){function n(o,i,s,a){var l;if("string"==typeof o&&(o=function L1(r){r=unescape(encodeURIComponent(r));const t=[];for(let e=0;e<r.length;++e)t.push(r.charCodeAt(e));return t}(o)),"string"==typeof i&&(i=O1(i)),16!==(null===(l=i)||void 0===l?void 0:l.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+o.length);if(u.set(i),u.set(o,i.length),u=e(u),u[6]=15&u[6]|t,u[8]=63&u[8]|128,s){a=a||0;for(let h=0;h<16;++h)s[a+h]=u[h];return s}return function Pv(r,t=0){return(rn[r[t+0]]+rn[r[t+1]]+rn[r[t+2]]+rn[r[t+3]]+"-"+rn[r[t+4]]+rn[r[t+5]]+"-"+rn[r[t+6]]+rn[r[t+7]]+"-"+rn[r[t+8]]+rn[r[t+9]]+"-"+rn[r[t+10]]+rn[r[t+11]]+rn[r[t+12]]+rn[r[t+13]]+rn[r[t+14]]+rn[r[t+15]]).toLowerCase()}(u)}try{n.name=r}catch{}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}("v5",80,function j1(r){const t=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof r){const s=unescape(encodeURIComponent(r));r=[];for(let a=0;a<s.length;++a)r.push(s.charCodeAt(a))}else Array.isArray(r)||(r=Array.prototype.slice.call(r));r.push(128);const o=Math.ceil((r.length/4+2)/16),i=new Array(o);for(let s=0;s<o;++s){const a=new Uint32Array(16);for(let l=0;l<16;++l)a[l]=r[64*s+4*l]<<24|r[64*s+4*l+1]<<16|r[64*s+4*l+2]<<8|r[64*s+4*l+3];i[s]=a}i[o-1][14]=8*(r.length-1)/Math.pow(2,32),i[o-1][14]=Math.floor(i[o-1][14]),i[o-1][15]=8*(r.length-1)&4294967295;for(let s=0;s<o;++s){const a=new Uint32Array(80);for(let v=0;v<16;++v)a[v]=i[s][v];for(let v=16;v<80;++v)a[v]=ag(a[v-3]^a[v-8]^a[v-14]^a[v-16],1);let l=e[0],u=e[1],h=e[2],p=e[3],_=e[4];for(let v=0;v<80;++v){const N=Math.floor(v/20),G=ag(l,5)+U1(N,u,h,p)+_+t[N]+a[v]>>>0;_=p,p=h,h=ag(u,30)>>>0,u=l,l=G}e[0]=e[0]+l>>>0,e[1]=e[1]+u>>>0,e[2]=e[2]+h>>>0,e[3]=e[3]+p>>>0,e[4]=e[4]+_>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]});Pt(4556);class J1{constructor(t,e,n,o){this.app=t,this.auth=null,this.messaging=null,this.appCheck=null,this.serverAppAppCheckToken=null,(0,mt.xZ)(t)&&t.settings.appCheckToken&&(this.serverAppAppCheckToken=t.settings.appCheckToken),this.auth=e.getImmediate({optional:!0}),this.messaging=n.getImmediate({optional:!0}),this.auth||e.get().then(i=>this.auth=i,()=>{}),this.messaging||n.get().then(i=>this.messaging=i,()=>{}),this.appCheck||o?.get().then(i=>this.appCheck=i,()=>{})}getAuthToken(){var t=this;return(0,I.A)(function*(){if(t.auth)try{return(yield t.auth.getToken())?.accessToken}catch{return}})()}getMessagingToken(){var t=this;return(0,I.A)(function*(){if(t.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return yield t.messaging.getToken()}catch{return}})()}getAppCheckToken(t){var e=this;return(0,I.A)(function*(){if(e.serverAppAppCheckToken)return e.serverAppAppCheckToken;if(e.appCheck){const n=t?yield e.appCheck.getLimitedUseToken():yield e.appCheck.getToken();return n.error?null:n.token}return null})()}getContext(t){var e=this;return(0,I.A)(function*(){return{authToken:yield e.getAuthToken(),messagingToken:yield e.getMessagingToken(),appCheckToken:yield e.getAppCheckToken(t)}})()}}const lg="us-central1";class Z1{constructor(t,e,n,o,i=lg,s=(...a)=>fetch(...a)){this.app=t,this.fetchImpl=s,this.emulatorOrigin=null,this.contextProvider=new J1(t,e,n,o),this.cancelAllRequests=new Promise(a=>{this.deleteService=()=>Promise.resolve(a())});try{const a=new URL(i);this.customDomain=a.origin+("/"===a.pathname?"":a.pathname),this.region=lg}catch{this.customDomain=null,this.region=i}}_delete(){return this.deleteService()}_url(t){const e=this.app.options.projectId;return null!==this.emulatorOrigin?`${this.emulatorOrigin}/${e}/${this.region}/${t}`:null!==this.customDomain?`${this.customDomain}/${t}`:`https://${this.region}-${e}.cloudfunctions.net/${t}`}}const Vv="@firebase/functions";!function ux(r){(0,mt.om)(new fr.uA("functions",(e,{instanceIdentifier:n})=>{const o=e.getProvider("app").getImmediate(),i=e.getProvider("auth-internal"),s=e.getProvider("messaging-internal"),a=e.getProvider("app-check-internal");return new Z1(o,i,s,a,n)},"PUBLIC").setMultipleInstances(!0)),(0,mt.KO)(Vv,"0.13.1",r),(0,mt.KO)(Vv,"0.13.1","esm2020")}(),Error,parseInt((typeof process<"u"?process.env.QLEVER_LOCKED_MAX_RETRIES:void 0)??"10",10),parseInt((typeof process<"u"?process.env.QLEVER_LOCKED_BASE_DELAY_MS:void 0)??"2000",10);const Hv={\u00e4:"ae",a\u0308:"ae",\u00c4:"AE",\u00f6:"oe",\u00d6:"OE",\u00fc:"ue",u\u0308:"ue",\u00dc:"UE",U\u0308:"UE",\u00df:"ss",\u00e6:"ae",\u00c6:"AE",\u00f8:"oe",\u00d8:"OE",\u00e5:"aa",\u00c5:"AA",\u00e1:"a",\u00c1:"A",\u00f0:"d",\u00d0:"D",\u00e9:"e",\u00c9:"E",\u00ed:"i",\u00cd:"I",\u00f3:"o",\u00d3:"O",\u00fa:"u",\u00da:"U",\u00fd:"y",\u00dd:"Y",\u00fe:"th",\u00de:"Th"};function Ga(r,t=!1){return r=function Kx(r,t=!1){let e=r;for(const n in Hv)e=e.replace(new RegExp(n,"g"),Hv[n]);return t&&e!==r&&console.info(`${r} -> ${e}`),e}(r,t),q1(r,"daca0510-72b5-48ba-9091-b918ca18136b")}class sn{_value;_listeners=new Set;constructor(t){this._value=t}get(){return this._value}set(t){this._value=t;for(const e of this._listeners)e()}subscribe(t){return this._listeners.add(t),()=>this._listeners.delete(t)}asReadonly(){return this}}function Tg(r,t,e,n){return Ag.apply(this,arguments)}function Ag(){return(Ag=(0,I.A)(function*(r,t,e,n){const o=Ga(r);let i;if(n){const a=yield n.get(o);void 0!==a&&(e(a,!0),i=Ga(JSON.stringify(a)))}const s=yield t();return e(s,!1),n&&Ga(JSON.stringify(s))!==i&&n.set(o,s).catch(a=>console.error("[staleWhileRevalidate] Cache write failed:",a)),s})).apply(this,arguments)}const Sg="https://cue.qaecy.com/r/",pk={address:{category:"address",label:"Address",description:"Official addresses, streets, and addressable access points.",preferredColor:"#1d4ed8"},poi:{category:"poi",label:"Points of interest",description:"Places and amenities relevant to everyday operations and access.",preferredColor:"#059669"},railway:{category:"railway",label:"Railway",description:"Rail infrastructure, stations, and rail-adjacent transport context.",preferredColor:"#dc2626"},natural:{category:"natural",label:"Natural features",description:"Natural and hydrological features such as watercourses, forests, and land cover.",preferredColor:"#0ea5e9"},manmade:{category:"manmade",label:"Built features",description:"Structures and man-made elements not covered by more specific categories.",preferredColor:"#ca8a04"},cadastre:{category:"cadastre",label:"Cadastre",description:"Land parcels, legal boundaries, official surveying, and public-law land restrictions.",preferredColor:"#7c3aed"},building:{category:"building",label:"Buildings",description:"Building footprints and structures from official registry or cadastral data.",preferredColor:"#f97316"},greenspace:{category:"greenspace",label:"Green spaces",description:"Parks, gardens, playgrounds, sports facilities, and other vegetated open areas.",preferredColor:"#16a34a"},paved:{category:"paved",label:"Paved surfaces",description:"Courtyards, sidewalks, parking areas, and other sealed ground surfaces.",preferredColor:"#78716c"},zone:{category:"zone",label:"Planning zones",description:"Land-use zones, local plans, and public-law planning constraints (Nutzungsplanung / Lokalplan).",preferredColor:"#db2777"}};function Jr(r){return pk[r]}const fI={110:"residential",120:"residential",121:"residential",122:"residential",130:"residential",131:"residential",132:"residential",140:"residential",150:"residential",160:"residential",190:"residential",210:"recreational",212:"recreational",220:"recreational",221:"recreational",230:"recreational",290:"residential",310:"agricultural",311:"agricultural",312:"agricultural",320:"agricultural",321:"agricultural",322:"agricultural",330:"agricultural",390:"agricultural",410:"commercial",411:"commercial",420:"commercial",421:"commercial",422:"commercial",430:"commercial",431:"commercial",432:"commercial",440:"commercial",490:"commercial",510:"industrial",511:"industrial",519:"industrial",520:"infrastructure",521:"infrastructure",522:"infrastructure",529:"infrastructure",530:"infrastructure",531:"infrastructure",532:"infrastructure",533:"infrastructure",534:"infrastructure",535:"infrastructure",540:"infrastructure",585:"infrastructure",590:"industrial",610:"public",620:"public",621:"public",622:"public",630:"public",640:"public",650:"recreational",660:"public",670:"public",680:"public",690:"public",910:"other",920:"other",930:"other",940:"other",950:"infrastructure",960:"agricultural",970:"agricultural",990:"other"},gI={1010:"residential",1020:"mixed",1030:"residential",1040:"other",1060:"recreational",1080:"residential",1110:"commercial",1120:"commercial",1130:"commercial",1140:"industrial",1150:"infrastructure",1160:"infrastructure",1210:"public",1220:"public",1230:"public",1240:"recreational",1241:"public",1242:"recreational",1251:"public",1261:"agricultural",1262:"agricultural",1263:"agricultural",1275:"other",1276:"other",1277:"infrastructure",1278:"infrastructure",1281:"infrastructure",1282:"infrastructure",9999:"other"},bk={1110:"residential",1121:"recreational",1122:"residential",1130:"mixed",1140:"mixed",1211:"commercial",1212:"commercial",1213:"mixed",1220:"commercial",1230:"commercial",1231:"commercial",1241:"infrastructure",1242:"recreational",1264:"recreational",1251:"industrial",1252:"industrial",1261:"public",1262:"public",1263:"public",1265:"public",1272:"public",1273:"public",1271:"agricultural",1274:"other",1281:"infrastructure",1282:"infrastructure"},vk=[[/^geb[\xe4a]ude$/i,"other"],[/wohn|resident|housing|bolig|enfamil|etagebolig|r\xe6kkehus|lejlighed/i,"residential"],[/b\xfcro|office|handel|commercial|butik|forretning|kontor|supermarked|lager|hotel|restaurant/i,"commercial"],[/industri|fabrik|industrial|gewerbe|produktion|fabrik|fremstill/i,"industrial"],[/landwirtschaft|agrar|agricultural|landbrug|skov|dyrk|stald|lade|drivhus/i,"agricultural"],[/schule|school|hospital|gesundheit|sundhed|kirche|church|offentlig|uddannelse|kultur|social|plejehjem/i,"public"],[/freizeit|recreation|sport|sommerhus|ferienhaus|fritid|kolonihave/i,"recreational"],[/infrastruktur|verkehr|transport|energy|energie|forsyning|teknik|teknisk/i,"infrastructure"],[/gemischt|mixed|blandet/i,"mixed"]];function Ha(r){for(const[t,e]of vk)if(t.test(r))return e}function Ik(r,t){if(null==r)return;const e=String(r).trim();return"swiss-gwr"===t?bk[e]??Ha(e):"danish-matrikel"===t?fI[e]??Ha(e):"zurich-wfs"===t||"swiss-av-wfs"===t?gI[e]??Ha(e):gI[e]??fI[e]??Ha(e)}function Ek(r,t){if(null!=r)return Ha(String(r).trim())}function mI(r){return r.trim().toLowerCase().replace(/[\s_\-]/g,"")}const Tk={inkraft:"in-force",laufendeanderung:"amendment-pending",laufende\u00e4nderung:"amendment-pending",aenderungohnevorvirkung:"amendment-pending",aenderungohnevorwirkung:"amendment-pending",\u00e4nderungohnevorwirkung:"amendment-pending",aenderungmitvorwirkung:"amendment-in-effect",\u00e4nderungmitvorwirkung:"amendment-in-effect",\u00f6ffentlicheauflage:"proposed",offentlicheauflage:"proposed",aufgehoben:"repealed",vedtaget:"in-force",forslag:"proposed",aflyst:"repealed"};const yI={grundnutzungszonenplan:"land-use-plan",nutzungszonenplan:"land-use-plan",zonenplan:"land-use-plan",gestaltungsplan:"design-plan",bebauungsplan:"development-plan",sondernutzungsplan:"special-use-plan",quartiererhaltungszonenplan:"neighbourhood-conservation-plan",l\u00e4rmempfindlichkeitsstufenplan:"noise-sensitivity-plan",laermempfindlichkeitsstufenplan:"noise-sensitivity-plan",gew\u00e4sserschutzzonenplan:"water-protection-plan",gewasserschutzzonenplan:"water-protection-plan",grundwasserschutzzonenplan:"water-protection-plan",gew\u00e4sserschutzplan:"water-protection-plan",naturundlandschaftsschutzzonenplan:"nature-landscape-plan","natur-undlandschaftsschutzzonenplan":"nature-landscape-plan",landschaftsschutzzonenplan:"nature-landscape-plan",freihaltezone:"open-space-zone",kernzone:"land-use-plan",wald:"land-use-plan",gew\u00e4sser:"land-use-plan",gewasser:"land-use-plan",reservezone:"land-use-plan",bahnareal:"land-use-plan",erholungszone:"land-use-plan","strassen(weitere)":"land-use-plan",strassen:"land-use-plan",nichtzoniertfl\u00e4che:"unzoned",nichtzoniertefl\u00e4che:"unzoned",nichtzoniertflache:"unzoned",nichtzonierteflache:"unzoned",nichtzoniertgem\u00e4ssbzo2016:"unzoned",nichtzoniertgemassbzo2016:"unzoned",hochh\u00e4user:"overlay-regulation",hochhauser:"overlay-regulation",areal\u00fcberbauungenzul\u00e4ssig:"overlay-regulation",arealuberbauungenzulassig:"overlay-regulation",erh\u00f6hteausnutzung:"overlay-regulation",erhohteausnutzung:"overlay-regulation",erdgeschossnutzung:"overlay-regulation",freifl\u00e4chenzifferverlegungsgebiet:"overlay-regulation",freiflachenzifferverlegungsgebiet:"overlay-regulation",baumschutz:"overlay-regulation",sonderbauvorschriften:"overlay-regulation",lokalplan:"local-plan",kommuneplanramme:"municipal-plan-framework"},Ak=[[/quartiererhalt/i,"neighbourhood-conservation-plan"],[/l\xe4rmempfindlich|laermempfindlich/i,"noise-sensitivity-plan"],[/gew\xe4sserschutz|grundwasserschutz/i,"water-protection-plan"],[/natur.*landschaft|landschaft.*schutz/i,"nature-landscape-plan"],[/gestaltungsplan/i,"design-plan"],[/bebauungsplan/i,"development-plan"],[/sondernutzung/i,"special-use-plan"],[/freihalt/i,"open-space-zone"],[/\xf6ffentliche.*bauten|zone.*\xf6ffentlich/i,"land-use-plan"],[/hochhaus/i,"overlay-regulation"],[/areal\xfcberbauung|arealuberbauung/i,"overlay-regulation"],[/erh\xf6hte.*ausnutzung|ausnutzung/i,"overlay-regulation"],[/erdgeschossnutzung/i,"overlay-regulation"],[/freifl\xe4chenzifferverlegung|freiflachenzifferverlegung/i,"overlay-regulation"],[/erhaltenswert/i,"overlay-regulation"],[/m[\u00e4a]ssig.*st[\u00f6o]rend|st[\u00f6o]rendes.*gewerbe/i,"overlay-regulation"],[/wohnzone/i,"land-use-plan"],[/kernzone|zentrumszone/i,"land-use-plan"],[/erholungszone|erholungs/i,"land-use-plan"],[/stra[s\xdf]en/i,"land-use-plan"],[/landwirtschaft/i,"land-use-plan"],[/\bwald\b/i,"land-use-plan"],[/\bgew[\u00e4a]sser\b/i,"land-use-plan"],[/nicht\s*zoniert/i,"unzoned"],[/baumschutz/i,"overlay-regulation"],[/sonderbauvorschrift/i,"overlay-regulation"],[/kommuneplan/i,"municipal-plan-framework"],[/lokalplan/i,"local-plan"],[/zonenplan|nutzungsplan|nutzungszone/i,"land-use-plan"],[/zone$|areal$/i,"land-use-plan"]];function xg(r){return"string"==typeof r?r:r.typeName}function kg(r){return"string"==typeof r?void 0:r.cqlFilter}function Dk(r,t,e){return e?`${r}:${t}[${e}]`:`${r}:${t}`}const Nk=new Set(["building","cadastre","greenspace","paved","zone"]);function Cg(r,t,e,n){const o=e.replace(/^ms:/,""),i=Jr(t),s=Nk.has(t)?"priority":"raw";return{id:Dk(r,e,n),sourceId:r,sourceLayerId:e,category:t,preferredColor:i.preferredColor,tier:s,label:o,description:`Z\xfcrich WFS layer ${o}`,labelKey:`gis.layer.${r}.${o}.label`,descriptionKey:`gis.layer.${r}.${o}.description`}}class Dg{categoryMap;baseUrl;sourceId;outputFormat;constructor(t){this.categoryMap=t.categoryMap,this.baseUrl=t.baseUrl??"https://maps.zh.ch/wfs/OGDZHWFS",this.sourceId=t.sourceId??"zurich-wfs",this.outputFormat=t.outputFormat??"application/json; subtype=geojson"}listFeatureCategoryDescriptors(t){var e=this;return(0,I.A)(function*(){const n=yield e.listAvailableLayers(t);return[...new Map(n.map(o=>[o.category,Jr(o.category)])).values()]})()}listAvailableLayers(t){var e=this;return(0,I.A)(function*(){const n=Object.entries(e.categoryMap);return(yield Promise.allSettled(n.flatMap(([o,i])=>i.map(function(){var s=(0,I.A)(function*(a){const l=xg(a),u=kg(a),h=yield e._fetchFeatures(t,l,1,u);return{category:o,typeName:l,cqlFilter:u,hasResults:h.features.length>0}});return function(a){return s.apply(this,arguments)}}())))).filter(o=>"fulfilled"===o.status&&o.value.hasResults).map(o=>Cg(e.sourceId,o.value.category,o.value.typeName,o.value.cqlFilter))})()}getFeaturesForLayer(t,e){var n=this;return(0,I.A)(function*(){const o=n._findLayerById(e);return o?n._fetchAndConvert(t,o.descriptor,o.cqlFilter):[]})()}_fetchAndConvert(t,e,n){var o=this;return(0,I.A)(function*(){const i=yield o._fetchFeatures(t,e.sourceLayerId,void 0,n),s=n?function Uk(r){const t=r.match(/^(\w+)\s*=\s*'([^']+)'$/);if(t){const[,n,o]=t;return i=>String(i?.[n]??"")===o}const e=r.match(/^(\w+)\s+IN\s*\(([^)]+)\)$/i);if(e){const[,n,o]=e,i=new Set(o.split(",").map(s=>s.trim().replace(/^'|'$/g,"")));return s=>i.has(String(s?.[n]??""))}return()=>!0}(n):void 0;return(s?i.features.filter(a=>s(a.properties)):i.features).map((a,l)=>o.toGisFeature(a,e,l))})()}listFeatureCategories(t){var e=this;return(0,I.A)(function*(){const n=yield e.listAvailableLayers(t);return[...new Set(n.map(o=>o.category))]})()}getFeaturesOfCategory(t,e){var n=this;return(0,I.A)(function*(){const o=n.categoryMap[e]??[];return(yield Promise.all(o.map(i=>{const s=xg(i),a=kg(i),l=Cg(n.sourceId,e,s);return n._fetchAndConvert(t,l,a)}))).flat()})()}_findLayerById(t){const e=Object.entries(this.categoryMap);for(const[n,o]of e)for(const i of o){const s=xg(i),a=kg(i),l=Cg(this.sourceId,n,s,a);if(l.id===t)return{descriptor:l,cqlFilter:a}}}_fetchFeatures(t,e,n,o){var i=this;return(0,I.A)(function*(){const[s,a,l,u]=t,p=new URLSearchParams({service:"WFS",version:"2.0.0",request:"GetFeature",typename:e,bbox:`${a},${s},${u},${l},urn:ogc:def:crs:EPSG::4326`,srsName:"EPSG:4326",outputFormat:i.outputFormat});void 0!==n&&p.set("count",String(n)),void 0!==o&&p.set("CQL_FILTER",o),p.set("outputFormat",i.outputFormat);const _=`${i.baseUrl}?${p.toString()}`,v=yield fetch(_);if(!v.ok)throw new Error(`WFS request failed for ${e} (${i.sourceId}): ${v.status} ${v.statusText}`);return v.json()})()}toGisFeature(t,e,n){const[o,i]=function kk(r){if(!r)return[0,0];const t=r.coordinates;switch(r.type){case"Point":return t;case"MultiPoint":case"LineString":return t[0];case"MultiLineString":case"Polygon":return t[0][0];case"MultiPolygon":return t[0][0][0];default:return[0,0]}}(t.geometry),s=function Ck(r,t){if(!r)return t;for(const e of["plannavn","bezeichnung","name","strassenname","objektname","title","label"])if("string"==typeof r[e]&&r[e])return r[e];return t}(t.properties,`${e.sourceLayerId}[${n}]`),a=t.bbox?[t.bbox[0],t.bbox[1],t.bbox[2],t.bbox[3]]:void 0,l=e.tier,u="priority"===l?this._extractNormalisedProperties(t,e):void 0;return{id:t.id??`${e.sourceLayerId}/${n}`,preferredColor:e.preferredColor,sourceId:this.sourceId,sourceFeatureId:t.id??`${e.sourceLayerId}/${n}`,layerId:e.id,name:s,category:e.category,type:e.sourceLayerId.replace(/^ms:/,""),lat:i,lon:o,displayName:s,bbox:a,geometry:t.geometry??void 0,tier:l,properties:u,originalData:t.properties??{}}}_extractNormalisedProperties(t,e){return"building"===e.category?function Ok(r,t){if(!r)return{featureType:"building"};const e=r.grundflaeche??r.gbf??r.gebaeudegrundrissflaeche??r.flaeche??void 0,n=r.vollgeschosse??r.geschossanzahl??r.anzahl_geschosse??void 0,o=r.gebaeudefunktion??r.gfkode??r.art??r.objektart??void 0,i=r.baujahr??r.bauperiode??void 0,s=String(r.egid??r.gwr_egid??r.egris_egid??"").trim()||void 0;return{featureType:"building",areaM2:"number"==typeof e?e:void 0,buildingUse:o?String(o):void 0,buildingUseGeneric:Ik(o,t),floors:"number"==typeof n?n:void 0,yearBuilt:"number"==typeof i?i:void 0,registryId:s}}(t.properties,this.sourceId):"greenspace"===e.category?function Vk(r){if(!r)return{featureType:"greenspace"};const t=r.flaeche??void 0,e=r.art??void 0;return{featureType:"greenspace",areaM2:"number"==typeof t?t:void 0,surfaceType:e?String(e):void 0}}(t.properties):"paved"===e.category?function Mk(r){if(!r)return{featureType:"paved"};const t=r.flaeche??void 0,e=r.art??void 0;return{featureType:"paved",areaM2:"number"==typeof t?t:void 0,surfaceType:e?String(e):void 0}}(t.properties):"zone"===e.category?function Fk(r){if(!r)return{featureType:"zone"};const t=r.plannavn??r.bezeichnung??r.typ_bezeichnung??r.art??void 0,e=r.planid??r.plannummer??void 0,n=r.artcode??r.typ_code??r.abkuerzung??e??void 0,i=function _I(r){if(r)return Tk[mI(r)]}(r.rechtsstatus??r.status??void 0),a=function wI(r){if(!r)return;const t=mI(r);if(t in yI)return yI[t];for(const[e,n]of Ak)if(e.test(r))return n;console.warn(`[cue-gis] Unknown zone plan type \u2014 add "${r}" to classifyZonePlanType: no ZonePlanType mapping found.`)}(r.typ_gde_bezeichnung??void 0),l=r.dagsordenpunkt_url??r.dokument_url??r.link??void 0,u=r.auflagedatum??void 0,h=r.festsetzungsdatum??void 0,p=r.genehmigungsdatum??void 0,_=r.inkraftsetzungsdatum??void 0,v=r.flaeche??r.flaeche_m2??void 0;return{featureType:"zone",zoneType:t?String(t):void 0,zoneCode:n?String(n):void 0,legalStatus:i,planType:a,planId:e?String(e):void 0,planDocumentLink:l?String(l):void 0,publicationDate:u??void 0,fixingDate:h??void 0,approvalDate:p??void 0,effectiveFrom:_??void 0,areaM2:"number"==typeof v?v:void 0}}(t.properties):function Lk(r){if(!r)return{featureType:"plot"};const e=r.egris_egrid??r.egrid??void 0,n=r.nummer??void 0,o=r.nbident??void 0,i=n&&o?`${n}, ${o}`:n??void 0,s=r.flaechenmass??r.flaeche??void 0,a=r.art??r.nutzungsart??void 0;return{featureType:"plot",areaM2:"number"==typeof s?s:void 0,plotUse:a?String(a):void 0,plotUseGeneric:Ek(a),plotId:i,registryId:e}}(t.properties)}}new Dg({categoryMap:{address:["ms:ogd-0406_arv_basis_avzh_hausnummer_pos_p","ms:ogd-0571_afv_gv_strat_strassennetz_l"],poi:["ms:ogd-0053_giszhpub_ogd_veloparkieranlagen_p","ms:ogd-0406_arv_basis_avzh_gebaeudeeingang_p"],railway:["ms:ogd-0529_afv_gv_seilbahn_skilift_l","ms:ogd-0529_afv_gv_seilbahn_skilift_p"],natural:["ms:ogd-0045_giszhpub_wb_fliessgewaesser_l","ms:ogd-0045_giszhpub_wb_stehgewaesser_f","ms:ogd-0111_giszhpub_wald_waldareal_f"],manmade:["ms:ogd-0248_giszhpub_en_gebaeude_volumen_ha_f",{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art IN ('Bahngebiet', 'Strasse_Weg', 'Flugplatz', 'Bruecke')"}],building:[{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art = 'Geb\xe4ude'"}],greenspace:[{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art IN ('Gartenanlage', 'Parkanlage', 'Spielplatz', 'Sportanlage', 'Friedhof', 'Gehoelz', 'Feuchtgebiet')"}],paved:[{typeName:"ms:ogd-0401_arv_basis_avzh_bodenbedeckung_f",cqlFilter:"art IN ('befBoden', 'befestigte Fl\xe4che', 'Hof', 'Trottoir', 'Parkplatz')"}],cadastre:["ms:ogd-0404_arv_basis_avzh_liegenschaften_f","ms:ogd-0404_arv_basis_avzh_selbstrecht_f"],zone:["ms:ogd-0156_arv_basis_np_gn_zonenflaeche_f","ms:ogd-0155_arv_basis_np_ul_flaeche_f"]}}),new Dg({sourceId:"swiss-av-wfs",baseUrl:"https://wfs.geodienste.ch/av_0/deu",categoryMap:{cadastre:["ms:RESF","ms:DPRSF"]}}),new Dg({sourceId:"danish-plandata",baseUrl:"https://wfs.plandata.dk/geoserver/pdk/wfs",outputFormat:"application/json",categoryMap:{zone:["pdk:lokalplan_vedtaget","pdk:kommuneplanramme_vedtaget"]}});const ie={qcy:"https://dev.qaecy.com/ont#","qcy-e":"https://dev.qaecy.com/enum#","qcy-l":"https://dev.qaecy.com/logs#","qcy-f":"https://dev.qaecy.com/functions#",obc:"https://w3id.org/obc#",dicc:"https://w3id.org/digitalconstruction/0.5/Contexts#",dicv:"https://w3id.org/digitalconstruction/0.5/Variables#",dice:"https://w3id.org/digitalconstruction/0.5/Entities#",dicp:"https://w3id.org/digitalconstruction/0.5/Processes#",dica:"https://w3id.org/digitalconstruction/0.5/Agents#",dici:"https://w3id.org/digitalconstruction/0.5/Information#",dicbm:"https://w3id.org/digitalconstruction/0.5/Materials#",dicob:"https://w3id.org/digitalconstruction/0.5/Occupancy#",dicl:"https://w3id.org/digitalconstruction/0.5/Lifecycle#",dices:"https://w3id.org/digitalconstruction/0.5/Energy#",dicu:"https://w3id.org/digitalconstruction/0.5/Units#",diclvl:"https://w3id.org/digitalconstruction/0.5/Levels#",dicstg:"https://w3id.org/digitalconstruction/0.5/Stages#"},wi={madsrdf:"http://www.loc.gov/mads/rdf/v1#",bflc:"http://id.loc.gov/ontologies/bflc/",foaf:"http://xmlns.com/foaf/0.1/",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",dbo:"http://dbpedia.org/ontology/",rdfs:"http://www.w3.org/2000/01/rdf-schema#",yago:"http://yago-knowledge.org/resource/",dc:"http://purl.org/dc/elements/1.1/",dbp:"http://dbpedia.org/property/",owl:"http://www.w3.org/2002/07/owl#",ex:"http://example.org/",gr:"http://purl.org/goodrelations/v1#",skos:"http://www.w3.org/2004/02/skos/core#",spacerel:"http://data.ordnancesurvey.co.uk/ontology/spatialrelations/",geo:"http://www.opengis.net/ont/geosparql#",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",dct:"http://purl.org/dc/terms/",qb:"http://purl.org/linked-data/cube#",dcterms:"http://purl.org/dc/terms/",prov:"http://www.w3.org/ns/prov#",sioc:"http://rdfs.org/sioc/ns#",xtypes:"http://purl.org/xtypes/",dbpedia:"http://dbpedia.org/resource/",schema:"http://schema.org/",ont:"http://purl.org/net/ns/ontology-annot#",void:"http://rdfs.org/ns/void#",onto:"http://www.ontotext.com/",sio:"http://semanticscience.org/resource/",bf:"http://id.loc.gov/ontologies/bibframe/",search:"http://sindice.com/vocab/search#",obo:"http://purl.obolibrary.org/obo/",sd:"http://www.w3.org/ns/sparql-service-description#",dcterm:"http://purl.org/dc/terms/",frbr:"http://purl.org/vocab/frbr/core#",stat:"http://www.w3.org/ns/posix/stat#",vcard:"http://www.w3.org/2006/vcard/ns#",commerce:"http://search.yahoo.com/searchmonkey/commerce/",bibo:"http://purl.org/ontology/bibo/",rss:"http://purl.org/rss/1.0/",dbr:"http://dbpedia.org/resource/",gldp:"http://www.w3.org/ns/people#",pto:"http://www.productontology.org/id/",geonames:"http://www.geonames.org/ontology#",fb:"http://rdf.freebase.com/ns/",event:"http://purl.org/NET/c4dm/event.owl#",oo:"http://purl.org/openorg/",wd:"http://www.wikidata.org/entity/",dcmit:"http://purl.org/dc/dcmitype/",content:"http://purl.org/rss/1.0/modules/content/",cc:"http://creativecommons.org/ns#",gen:"http://purl.org/gen/0.1#",doap:"http://usefulinc.com/ns/doap#",http:"http://www.w3.org/2011/http#",dbpprop:"http://dbpedia.org/property/",vann:"http://purl.org/vocab/vann/",rr:"http://www.w3.org/ns/r2rml#",swrc:"http://swrc.ontoware.org/ontology#",drugbank:"http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/",md:"http://www.w3.org/ns/md#",sc:"http://purl.org/science/owl/sciencecommons/",nie:"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#",prog:"http://purl.org/prog/",wot:"http://xmlns.com/wot/0.1/",ma:"http://www.w3.org/ns/ma-ont#",akt:"http://www.aktors.org/ontology/portal#",fn:"http://www.w3.org/2005/xpath-functions#",cv:"http://rdfs.org/resume-rdf/",aiiso:"http://purl.org/vocab/aiiso/schema#",tl:"http://purl.org/NET/c4dm/timeline.owl#",swc:"http://data.semanticweb.org/ns/swc/ontology#",ov:"http://open.vocab.org/terms/",as:"https://www.w3.org/ns/activitystreams#",crm:"http://www.cidoc-crm.org/cidoc-crm/",ical:"http://www.w3.org/2002/12/cal/ical#",daia:"http://purl.org/ontology/daia/",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",xhtml:"http://www.w3.org/1999/xhtml#",earl:"http://www.w3.org/ns/earl#",rel:"http://purl.org/vocab/relationship/",bio:"http://purl.org/vocab/bio/0.1/",rdfg:"http://www.w3.org/2004/03/trix/rdfg-1/",marcrel:"http://id.loc.gov/vocabulary/relators/",mo:"http://purl.org/ontology/mo/",leaks:"https://cuzin.com/",dv:"http://rdf.data-vocabulary.org/#",cs:"http://purl.org/vocab/changeset/schema#",ad:"http://schemas.talis.com/2005/address/schema#",xhv:"http://www.w3.org/1999/xhtml/vocab#",co:"http://purl.org/ontology/co/core#",dc11:"http://purl.org/dc/elements/1.1/",prop:"http://dbpedia.org/property/",bill:"http://www.rdfabout.com/rdf/schema/usbill/",og:"http://opengraphprotocol.org/schema/",afn:"http://jena.apache.org/ARQ/function#",factbook:"http://wifo5-04.informatik.uni-mannheim.de/factbook/ns#",dbowl:"http://ontology.cybershare.utep.edu/dbowl/relational-to-ontology-mapping-primitive.owl#",air:"http://dig.csail.mit.edu/TAMI/2007/amord/air#",test2:"http://this.invalid/test2#",musim:"http://purl.org/ontology/similarity/",unit:"http://qudt.org/vocab/unit/",log:"http://www.w3.org/2000/10/swap/log#",book:"http://purl.org/NET/book/vocab#",xs:"http://www.w3.org/2001/XMLSchema#",mu:"http://mu.semte.ch/vocabularies/core/",ir:"http://www.ontologydesignpatterns.org/cp/owl/informationrealization.owl#",media:"http://search.yahoo.com/searchmonkey/media/",d2rq:"http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#",dcq:"http://purl.org/dc/qualifiers/1.0/",xfn:"http://gmpg.org/xfn/11#",biblio:"http://purl.org/net/biblio#",reco:"http://purl.org/reco#",xf:"http://www.w3.org/2002/xforms/",tag:"http://www.holygoat.co.uk/owl/redwood/0.1/tags/",cld:"http://purl.org/cld/terms/",cal:"http://www.w3.org/2002/12/cal/ical#",ome:"http://purl.org/ontomedia/core/expression#",ctag:"http://commontag.org/ns#",botany:"http://purl.org/NET/biol/botany#",dir:"http://schemas.talis.com/2005/dir/schema#",sism:"http://purl.oclc.org/NET/sism/0.1/",admin:"http://webns.net/mvcb/",days:"http://ontologi.es/days#",xmp:"http://ns.adobe.com/xap/1.0/",rif:"http://www.w3.org/2007/rif#",dcam:"http://purl.org/dc/dcam/",tzont:"http://www.w3.org/2006/timezone#",af:"http://purl.org/ontology/af/",osag:"http://www.ordnancesurvey.co.uk/ontology/AdministrativeGeography/v2.0/AdministrativeGeography.rdf#",rev:"http://purl.org/stuff/rev#",qudt:"http://qudt.org/schema/qudt/",sr:"http://www.openrdf.org/config/repository/sail#",time:"http://www.w3.org/2006/time#",pc:"http://purl.org/procurement/public-contracts#",myspace:"http://purl.org/ontology/myspace#",math:"http://www.w3.org/2000/10/swap/math#",cmp:"http://www.ontologydesignpatterns.org/cp/owl/componency.owl#",memo:"http://ontologies.smile.deri.ie/2009/02/27/memo#",ok:"http://okkam.org/terms#",lomvoc:"http://ltsc.ieee.org/rdf/lomv1p0/vocabulary#",giving:"http://ontologi.es/giving#",jdbc:"http://d2rq.org/terms/jdbc/",swanq:"http://purl.org/swan/1.2/qualifiers/",dcn:"http://www.w3.org/2007/uwa/context/deliverycontext.owl#",sdmx:"http://purl.org/linked-data/sdmx#",cfp:"http://sw.deri.org/2005/08/conf/cfp.owl#",swande:"http://purl.org/swan/1.2/discourse-elements/",omn:"http://open-multinet.info/ontology/omn#",owlim:"http://www.ontotext.com/trree/owlim#",cyc:"http://sw.opencyc.org/concept/",gn:"http://www.geonames.org/ontology#",con:"http://www.w3.org/2000/10/swap/pim/contact#",lyou:"http://purl.org/linkingyou/",skosxl:"http://www.w3.org/2008/05/skos-xl#",oa:"http://www.w3.org/ns/oa#",openlinks:"http://www.openlinksw.com/schemas/virtrdf#",cdm:"http://publications.europa.eu/ontology/cdm#",sdmxdim:"http://purl.org/linked-data/sdmx/2009/dimension#",adms:"http://www.w3.org/ns/adms#",type:"https://webiomed.ai/blog/obzor-rossiiskikh-sistem-podderzhki-priniatiia-vrachebnykh-reshenii/",om:"http://opendata.caceres.es/def/ontomunicipio#",nif:"http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#",ontology:"http://dbpedia.org/ontology/",db:"http://dbpedia.org/",photoshop:"http://ns.adobe.com/photoshop/1.0/",wfs:"http://schemas.opengis.net/wfs/",lemon:"http://lemon-model.net/lemon#",exif:"http://www.w3.org/2003/12/exif/ns#",gvp:"http://vocab.getty.edu/ontology#",ac:"http://umbel.org/umbel/ac/",isbd:"http://iflastandards.info/ns/isbd/elements/",sdmxa:"http://purl.org/linked-data/sdmx/2009/attribute#",xsi:"http://www.w3.org/2001/XMLSchema-instance#",aat:"http://vocab.getty.edu/aat/",fabio:"http://purl.org/spar/fabio/",sh:"http://www.w3.org/ns/shacl#",cert:"http://www.w3.org/ns/auth/cert#",wdt:"http://www.wikidata.org/prop/direct/",dul:"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#",prism:"http://prismstandard.org/namespaces/basic/2.0/",swrl:"http://www.w3.org/2003/11/swrl#",test:"https://test4.example.com/",cnt:"http://www.w3.org/2011/content#",eat:"http://www.eat.rl.ac.uk/#",tgn:"http://vocab.getty.edu/tgn/",ulan:"http://vocab.getty.edu/ulan/",edm:"http://www.europeana.eu/schemas/edm/",sf:"http://www.opengis.net/ont/sf#",ore:"http://www.openarchives.org/ore/terms/",swrcfe:"http://www.morelab.deusto.es/ontologies/swrcfe#",gtfs:"http://vocab.gtfs.org/terms#",voaf:"http://purl.org/vocommons/voaf#",uniprot:"http://purl.uniprot.org/uniprot/",core:"http://vivoweb.org/ontology/core#",swrlb:"http://www.w3.org/2003/11/swrlb#",eg:"http://www.example.org/",nfo:"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#",room:"http://vocab.deri.ie/rooms#",ssn:"http://www.w3.org/ns/ssn/",dbc:"http://dbpedia.org/resource/Category:",go:"http://purl.obolibrary.org/obo/GO_",scovo:"http://purl.org/NET/scovo#",lv:"http://purl.org/lobid/lv#",ceo:"https://linkeddata.cultureelerfgoed.nl/def/ceo#",music:"http://musicontology.com/",dbprop:"http://dbpedia.org/property/",movie:"http://data.linkedmdb.org/resource/movie/",fise:"http://fise.iks-project.eu/ontology/",xml:"http://www.w3.org/XML/1998/namespace/",bif:"http://www.openlinksw.com/schemas/bif#",ldp:"http://www.w3.org/ns/ldp#",sioct:"http://rdfs.org/sioc/types#",wikidata:"http://www.wikidata.org/entity/",siocserv:"http://rdfs.org/sioc/services#",itsrdf:"http://www.w3.org/2005/11/its/rdf#",lexinfo:"http://www.lexinfo.net/ontology/3.0/lexinfo#",ro:"http://purl.org/wf4ever/ro#",geoes:"http://geo.linkeddata.es/ontology/",ping:"https://namso-gen.com/",am:"http://vocab.deri.ie/am#",gndo:"http://d-nb.info/standards/elementset/gnd#",coref:"http://www.rkbexplorer.com/ontologies/coref#",pat:"http://purl.org/hpi/patchr#",ptr:"http://www.w3.org/2009/pointers#",cco:"http://www.ontologyrepository.com/CommonCoreOntologies/",nmo:"http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#",mods:"http://www.loc.gov/mods/v3#",loc:"http://purl.org/ontomedia/core/space#",dblp:"http://dblp.uni-trier.de/rdf/schema-2015-01-26#",nao:"http://www.semanticdesktop.org/ontologies/2007/08/15/nao#",acc:"http://purl.org/NET/acc#",nsogi:"http://prefix.cc/nsogi:",gnd:"http://d-nb.info/gnd/",pmlj:"http://inference-web.org/2.0/pml-justification.owl#",dce:"http://purl.org/dc/elements/1.1/",chebi:"http://purl.obolibrary.org/obo/CHEBI_",wp:"http://vocabularies.wikipathways.org/",product:"http://purl.org/commerce/product#",whois:"http://www.kanzaki.com/ns/whois#",bd:"http://www.bigdata.com/rdf#",imm:"http://schemas.microsoft.com/imm/",sparql:"http://www.w3.org/ns/sparql#",gold:"http://purl.org/linguistics/gold/",doc:"http://www.w3.org/2000/10/swap/pim/doc#",leak:"http://maco.com/",up:"http://purl.uniprot.org/core/",cerif:"http://spi-fm.uca.es/neologism/cerif#",rec:"http://purl.org/ontology/rec/core#",gd:"http://rdf.data-vocabulary.org/#",sdo:"https://schema.org/",list:"http://www.w3.org/2000/10/swap/list#",georss:"http://www.georss.org/georss/",sec:"https://w3id.org/security#",java:"http://www.w3.org/2007/uwa/context/java.owl#",meta:"https://krr.triply.cc/krr/sameas-meta/def/",rsa:"http://www.w3.org/ns/auth/rsa#",space:"http://purl.org/net/schemas/space/",ti:"http://www.ontologydesignpatterns.org/cp/owl/timeinterval.owl#",example:"http://www.example.org/rdf#",opm:"https://w3id.org/opm#",xlink:"https://es.scribd.com/doc/79794476/05-Ejercicios-Resueltos-Caja-Negra-y-Recapitulacion/",lgd:"http://linkedgeodata.org/triplify/",cube:"https://cube.link/",akts:"http://www.aktors.org/ontology/support#",geosparql:"http://www.opengis.net/ont/geosparql#",ms:"http://purl.org/obo/owl/MS#",wiki:"http://en.wikipedia.org/wiki/",penn:"http://purl.org/olia/penn.owl#",iot:"http://iotschema.org/",bp:"http://www.biopax.org/release/biopax-level3.owl#",mf:"http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",acl:"http://www.w3.org/ns/auth/acl#",geof:"http://www.opengis.net/def/function/geosparql/",hg:"http://rdf.histograph.io/",pext:"http://www.ontotext.com/proton/protonext#",video:"http://purl.org/ontology/video#",rdfsharp:"https://rdfsharp.codeplex.com/",cro:"http://rhizomik.net/ontologies/copyrightonto.owl#",cito:"http://purl.org/spar/cito/",sim:"http://www.w3id.org/simulation/ontology/",vivo:"http://vivoweb.org/ontology/core#",st:"http://ns.inria.fr/sparql-template/",httph:"http://www.w3.org/2007/ont/httph#",kb:"http://deductions.sf.net/ontology/knowledge_base.owl#",api:"http://purl.org/linked-data/api/vocab#",dbpediaowl:"http://dbpedia.org/owl/",sp:"http://spinrdf.org/sp#",nt:"http://ns.inria.fr/nicetag/2010/09/09/voc#",wn:"http://xmlns.com/wordnet/1.6/",nco:"http://www.semanticdesktop.org/ontologies/2007/03/22/nco#",acm:"http://www.rkbexplorer.com/ontologies/acm#",xl:"http://langegger.at/xlwrap/vocab#",pim:"http://www.w3.org/ns/pim/space#",exterms:"http://www.example.org/terms/",web:"http://www.w3.org/2007/uwa/context/web.owl#",wgs:"http://www.w3.org/2003/01/geo/wgs84_pos#",dcatapit:"http://dati.gov.it/onto/dcatapit#",atom:"http://www.w3.org/2005/Atom/",olia:"http://purl.org/olia/olia.owl#",bag:"https://bag2.basisregistraties.overheid.nl/bag/def/",cgov:"http://reference.data.gov.uk/def/central-government/",overheid:"http://standaarden.overheid.nl/owms/",sider:"http://www4.wiwiss.fu-berlin.de/sider/resource/sider/",po:"http://purl.org/ontology/po/",lode:"http://linkedevents.org/ontology/",postcode:"http://data.ordnancesurvey.co.uk/id/postcodeunit/",ocd:"http://dati.camera.it/ocd/",sirext:"http://t.me/sirextt/247:",urn:"http://fliqz.com/",pgterms:"http://www.gutenberg.org/2009/pgterms/",dbnary:"http://kaiko.getalp.org/dbnary#",abc:"http://www.metadata.net/harmony/ABCSchemaV5Commented.rdf#",dbkwik:"http://dbkwik.webdatacommons.org/",cidoc:"http://www.cidoc-crm.org/cidoc-crm/",dco:"http://info.deepcarbon.net/schema#",seas:"https://w3id.org/seas/",pav:"http://purl.org/pav/",wdrs:"http://www.w3.org/2007/05/powder-s#",formats:"http://www.w3.org/ns/formats/",service:"http://purl.org/ontology/service#",ean:"http://openean.kaufkauf.net/id/",eu:"http://eulersharp.sourceforge.net/2003/03swap/log-rules#",zoology:"http://purl.org/NET/biol/zoology#",cpa:"http://www.ontologydesignpatterns.org/schemas/cpannotationschema.owl#",ass:"http://uptheasset.org/ontology#",purl:"http://www.purl.org/",lime:"http://www.w3.org/ns/lemon/lime#",admingeo:"http://data.ordnancesurvey.co.uk/ontology/admingeo/",wn20schema:"http://www.w3.org/2006/03/wn/wn20/schema/",smf:"http://topbraid.org/sparqlmotionfunctions#",ecs:"http://rdf.ecs.soton.ac.uk/ontology/ecs#",prv:"http://purl.org/net/provenance/ns#",gsp:"http://www.opengis.net/ont/geosparql#",daml:"http://www.daml.org/2001/03/daml+oil#",dcm:"http://purl.org/dc/dcmitype/",rdfdf:"http://www.openlinksw.com/virtrdf-data-formats#",pr:"http://purl.org/ontology/prv/core#",ontolex:"http://www.w3.org/ns/lemon/ontolex#",role:"https://w3id.org/role/",resource:"http://dbpedia.org/resource/",swid:"http://semanticweb.org/id/",edam:"http://edamontology.org/",ya:"http://blogs.yandex.ru/schema/foaf/",irw:"http://www.ontologydesignpatterns.org/ont/web/irw.owl#",name:"http://example.org/name#",greg:"http://kasei.us/about/foaf.xrdf#",hydra:"http://www.w3.org/ns/hydra/core#",spin:"http://spinrdf.org/spin#",ignf:"http://data.ign.fr/def/ignf#",scot:"http://rdfs.org/scot/ns#",ndl:"http://schemas.ogf.org/nml/2013/05/base#",wo:"http://purl.org/ontology/wo/",xkos:"http://rdf-vocabulary.ddialliance.org/xkos#",omt:"http://purl.org/ontomedia/ext/common/trait#",pmt:"http://tipsy.googlecode.com/svn/trunk/vocab/pmt#",user:"http://schemas.talis.com/2005/user/schema#",umbelrc:"http://umbel.org/umbel/rc/",wikipedia:"https://en.wikipedia.org/wiki/",myspo:"http://purl.org/ontology/myspace#",agg:"http://purl.org/twc/health/vocab/aggregate/",organism:"http://eulersharp.sourceforge.net/2003/03swap/organism#",site:"http://ns.ontowiki.net/SysOnt/Site/",res:"http://dbpedia.org/resource/",sdl:"http://purl.org/vocab/riro/sdl#",euvoc:"http://publications.europa.eu/ontology/euvoc#",bmo:"http://collection.britishmuseum.org/id/ontology/",faldo:"http://biohackathon.org/resource/faldo#",blt:"http://www.bl.uk/schemas/bibliographic/blterms#",sesame:"http://www.openrdf.org/schema/sesame#",resist:"http://www.rkbexplorer.com/ontologies/resist#",iao:"http://purl.obolibrary.org/obo/IAO_",inno:"http://purl.org/innovation/ns#",premis:"http://www.loc.gov/premis/rdf/v3/",bing:"http://bing.com/schema/media/",label:"http://purl.org/net/vocab/2004/03/label#",prj:"http://purl.org/stuff/project/",npg:"http://ns.nature.com/terms/",fresnel:"http://www.w3.org/2004/09/fresnel#",omb:"http://purl.org/ontomedia/ext/common/being#",rov:"http://www.w3.org/ns/regorg#",saref:"https://saref.etsi.org/core/",biol:"http://purl.org/NET/biol/ns#",iso:"http://purl.org/iso25964/skos-thes#",bibframe:"http://id.loc.gov/ontologies/bibframe/",won:"https://w3id.org/won/core#",link:"http://www.w3.org/2007/ont/link#",audio:"http://purl.org/media/audio#",tmo:"http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#",sit:"http://www.ontologydesignpatterns.org/cp/owl/situation.owl#",fed:"http://www.openrdf.org/config/sail/federation#",swp:"http://www.w3.org/2004/03/trix/swp-2/",biocore:"http://bio2rdf.org/core#",mm:"http://linkedmultimedia.org/sparql-mm/ns/2.0.0/function#",umbel:"http://umbel.org/umbel#",phil:"http://philosurfical.open.ac.uk/ontology/philosurfical.owl#",uco:"http://purl.org/uco/ns#",wgs84:"http://www.w3.org/2003/01/geo/wgs84_pos#",food:"http://purl.org/foodontology#",cordis:"http://cordis.europa.eu/projects/",rdau:"http://rdaregistry.info/Elements/u/",gist:"http://ontologies.semanticarts.com/gist#",ero:"http://purl.obolibrary.org/obo/",wv:"http://vocab.org/waiver/terms/",ref:"http://purl.org/vocab/relationship/",sml:"https://w3id.org/sml/def#",oad:"http://lod.xdams.org/reload/oad/",spl:"http://spinrdf.org/spl#",lx:"http://purl.org/NET/lx#",es:"http://eulersharp.sourceforge.net/2003/03swap/log-rules#",conv:"http://purl.org/twc/vocab/conversion/",ps:"https://w3id.org/payswarm#",acco:"http://purl.org/acco/ns#",code:"http://telegraphis.net/ontology/measurement/code#",sco:"http://purl.org/ontology/sco#",rnews:"http://iptc.org/std/rNews/2011-10-07#",ub:"http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#",protege:"http://protege.stanford.edu/system#",lgdo:"http://linkedgeodata.org/ontology/",oc:"http://opencoinage.org/rdf/",doac:"http://ramonantonio.net/doac/0.1/#",taxo:"http://purl.org/rss/1.0/modules/taxonomy/",rail:"http://ontologi.es/rail/vocab#",ludo:"http://ns.inria.fr/ludo/v1#",cpm:"http://catalogus-professorum.org/cpm/2/",opensearch:"http://a9.com/-/spec/opensearch/1.1/",so:"http://schema.org/",efo:"http://www.ebi.ac.uk/efo/",linkedmdb:"http://data.linkedmdb.org/",airport:"http://www.daml.org/2001/10/html/airport-ont#",bio2rdf:"http://bio2rdf.org/",spc:"http://purl.org/ontomedia/core/space#",meteo:"http://purl.org/ns/meteo#",bne:"http://datos.bne.es/resource/",awol:"http://bblfish.net/work/atom-owl/2006-06-06/#",dctype:"http://purl.org/dc/dcmitype/",omp:"http://purl.org/ontomedia/ext/common/profession#",granatum:"http://chem.deri.ie/granatum/",dwc:"http://rs.tdwg.org/dwc/terms/",lom:"http://ltsc.ieee.org/rdf/lomv1p0/lom#",disco:"http://rdf-vocabulary.ddialliance.org/discovery#",act:"http://www.w3.org/2007/rif-builtin-action#",taxon:"http://purl.org/biodiversity/taxon/",net:"http://www.w3.org/2007/uwa/context/network.owl#",gpt:"http://purl.org/vocab/riro/gpt#",mit:"http://purl.org/ontology/mo/mit#",isothes:"http://purl.org/iso25964/skos-thes#",lu:"http://www.ontologydesignpatterns.org/ont/framenet/abox/lu/",ao:"http://purl.org/ontology/ao/core#",sport:"http://purl.org/ontology/sport/",hp:"http://purl.org/voc/hp/",gso:"http://www.w3.org/2006/gen/ont#",xhe:"http://buzzword.org.uk/rdf/xhtml-elements#",frir:"http://purl.org/twc/ontology/frir.owl#",powder:"http://www.w3.org/2007/05/powder#",omm:"http://purl.org/ontomedia/core/media#",bibtex:"http://purl.org/net/nknouf/ns/bibtex#",wordnet:"http://wordnet-rdf.princeton.edu/ontology#",fec:"http://www.rdfabout.com/rdf/schema/usfec/",asn:"http://purl.org/ASN/schema/core/",tdb:"http://jena.hpl.hp.com/2008/tdb#",atomix:"http://buzzword.org.uk/rdf/atomix#",pbo:"http://purl.org/ontology/pbo/core#",orges:"http://datos.gob.es/def/sector-publico/organizacion#",rep:"http://www.openrdf.org/config/repository#",obj:"http://www.openrdf.org/rdf/2009/object#",library:"http://purl.org/library/",compass:"http://purl.org/net/compass#",lfm:"http://purl.org/ontology/last-fm/",crypto:"http://www.w3.org/2000/10/swap/crypto#",rdrel:"http://rdvocab.info/RDARelationshipsWEMI/",doclist:"http://www.junkwork.net/xml/DocumentList#",rei:"http://www.w3.org/2004/06/rei#",os:"http://www.w3.org/2000/10/swap/os#",vra:"http://purl.org/vra/",cheminf:"http://www.semanticweb.org/ontologies/cheminf.owl#",fbgeo:"http://rdf.freebase.com/ns/location/geocode/",mime:"https://www.iana.org/assignments/media-types/",muto:"http://purl.org/muto/core#",lang:"http://ontologi.es/lang/core#",pom:"http://maven.apache.org/POM/4.0.0#",txn:"http://lod.taxonconcept.org/ontology/txn.owl#",oauth:"http://demiblog.org/vocab/oauth#",affy:"http://www.affymetrix.com/community/publications/affymetrix/tmsplice#",ire:"http://www.ontologydesignpatterns.org/cpont/ire.owl#",ngeo:"http://geovocab.org/geometry#",ddc:"http://purl.org/NET/decimalised#",money:"http://purl.org/net/rdf-money/",conversion:"http://purl.org/twc/vocab/conversion/",game:"http://data.totl.net/game/",eco:"http://www.ebusiness-unibw.org/ontologies/eclass/5.1.4/#",custom:"http://www.openrdf.org/config/sail/custom#",vocab:"http://rdf.ontology2.com/vocab#",swh:"http://plugin.org.uk/swh-plugins/",soft:"http://www.w3.org/2007/uwa/context/software.owl#",contact:"http://www.w3.org/2000/10/swap/pim/contact#",xen:"http://buzzword.org.uk/rdf/xen#",hard:"http://www.w3.org/2007/uwa/context/hardware.owl#",lfn:"http://www.dotnetrdf.org/leviathan#",nrl:"http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#",politico:"http://www.rdfabout.com/rdf/schema/politico/",dailymed:"http://www4.wiwiss.fu-berlin.de/dailymed/resource/dailymed/",vsr:"http://purl.org/twc/vocab/vsr#",string:"http://www.w3.org/2000/10/swap/string#",bib:"http://zeitkunst.org/bibtex/0.1/bibtex.owl#",bfo:"http://purl.obolibrary.org/obo/",sede:"http://eventography.org/sede/0.1/",omc:"http://purl.org/ontomedia/ext/common/bestiary#",climb:"http://climb.dataincubator.org/vocabs/climb/",usgov:"http://www.rdfabout.com/rdf/schema/usgovt/",ct:"http://data.linkedct.org/resource/linkedct/",interval:"http://reference.data.gov.uk/def/intervals/",bbc:"http://www.bbc.co.uk/ontologies/news/",soc:"http://purl.org/net/hdlipcores/ontology/soc#",locn:"http://www.w3.org/ns/locn#",stanford:"http://purl.org/olia/stanford.owl#",cycann:"http://sw.cyc.com/CycAnnotations_v1#",aos:"http://rdf.muninn-project.org/ontologies/appearances#",apivc:"http://purl.org/linked-data/api/vocab#",aifb:"http://www.aifb.kit.edu/id/",person:"http://www.w3.org/ns/person#",ui:"http://www.w3.org/ns/ui#",scv:"http://purl.org/NET/scovo#",rdac:"http://rdaregistry.info/Elements/c/",deo:"http://purl.org/spar/deo/",isq:"http://purl.org/ontology/is/quality/",coo:"http://purl.org/coo/ns#",bsb:"http://opacplus.bsb-muenchen.de/title/",coin:"http://purl.org/court/def/2009/coin#",eli:"http://data.europa.eu/eli/ontology#",sv:"http://schemas.talis.com/2005/service/schema#",biopax:"http://www.biopax.org/release/biopax-level3.owl#",xro:"http://purl.org/xro/ns#",dnr:"http://www.dotnetrdf.org/configuration#",pro:"http://purl.org/hpi/patchr#",sosa:"http://www.w3.org/ns/sosa/",vso:"http://purl.org/vso/ns#",mysql:"http://web-semantics.org/ns/mysql/",courseware:"http://courseware.rkbexplorer.com/ontologies/courseware#",lvont:"http://lexvo.org/ontology#",is:"http://purl.org/ontology/is/core#",xds:"http://www.w3.org/2001/XMLSchema#",zem:"http://s.zemanta.com/ns#",rs:"http://rightsstatements.org/vocab/",arch:"http://purl.org/archival/vocab/arch#",cex:"http://purl.org/weso/ontology/computex#",com:"http://purl.org/commerce#",arg:"http://rdfs.org/sioc/argument#",push:"http://www.w3.org/2007/uwa/context/push.owl#",ic:"http://imi.go.jp/ns/core/rdf#",chord:"http://purl.org/ontology/chord/",pdo:"http://ontologies.smile.deri.ie/pdo#",yoda:"http://purl.org/NET/yoda#",dt:"http://w3id.org/dt#",isi:"http://purl.org/ontology/is/inst/",gob:"http://purl.org/ontology/last-fm/",gml:"http://www.opengis.net/ont/gml#",worldbank:"http://worldbank.270a.info/dataset/",states:"http://www.w3.org/2005/07/aaa#",prot:"http://www.proteinontology.info/po.owl#",moat:"http://moat-project.org/ns#",uri:"http://purl.org/NET/uri#",dbpp:"http://dbpedia.org/property/",dso:"http://purl.org/ontology/dso#",muo:"http://purl.oclc.org/NET/muo/muo#",ttl:"http://www.w3.org/2008/turtle#",cpv:"http://purl.org/weso/cpv/",city:"http://datos.localidata.com/def/City#",pmlr:"http://inference-web.org/2.0/pml-relation.owl#",dady:"http://purl.org/NET/dady#",ist:"http://purl.org/ontology/is/types/",conserv:"http://conserv.deri.ie/ontology#",pos:"http://www.w3.org/2003/01/geo/wgs84_pos#",wdr:"http://www.w3.org/2007/05/powder#",freebase:"http://rdf.freebase.com/ns/",cogs:"http://vocab.deri.ie/cogs#",swanco:"http://purl.org/swan/1.2/swan-commons/",resex:"http://resex.rkbexplorer.com/ontologies/resex#",fea:"http://vocab.data.gov/def/fea#",odrl:"http://www.w3.org/ns/odrl/2/",lex:"http://purl.org/lex#",article:"http://ogp.me/ns/article#",dcmitype:"http://purl.org/dc/dcmitype/",profiling:"http://ontologi.es/profiling#",payment:"http://reference.data.gov.uk/def/payment#",xforms:"http://www.w3.org/2002/xforms/",nexif:"http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#",viaf:"http://viaf.org/viaf/",tio:"http://purl.org/tio/ns#",nsa:"http://multimedialab.elis.ugent.be/organon/ontologies/ninsuna#",hlisting:"http://sindice.com/hlisting/0.1/",voag:"http://voag.linkedmodel.org/schema/voag#",posh:"http://poshrdf.org/ns/posh/",address:"http://schemas.talis.com/2005/address/schema#",lotico:"http://www.lotico.com/resource/",swivt:"http://semantic-mediawiki.org/swivt/1.0#",opo:"http://online-presence.net/opo/ns#",toby:"http://tobyinkster.co.uk/#",evset:"http://dsnotify.org/vocab/eventset/0.1/",psys:"http://proton.semanticweb.org/protonsys#",rlog:"http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#",cos:"http://www.inria.fr/acacia/corese#",vote:"http://www.rdfabout.com/rdf/schema/vote/",meetup:"http://www.lotico.com/meetup/",rooms:"http://vocab.deri.ie/rooms#",pay:"http://reference.data.gov.uk/def/payment#",puc:"http://purl.org/NET/puc#",anca:"http://users.utcluj.ro/~raluca/rdf_ontologies_ralu/ralu_modified_ontology_pizzas2_0#",lifecycle:"http://purl.org/vocab/lifecycle/schema#",bsbm:"http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/",wlp:"http://weblab-project.org/core/model/property/processing/",datafaqs:"http://purl.org/twc/vocab/datafaqs#",sail:"http://www.openrdf.org/config/sail#",teach:"http://linkedscience.org/teach/ns#",common:"http://www.w3.org/2007/uwa/context/common.owl#",sysont:"http://ns.ontowiki.net/SysOnt/",ldap:"http://purl.org/net/ldap/",rda:"http://www.rdaregistry.info/",wi:"http://purl.org/ontology/wi/core#",lingvoj:"http://www.lingvoj.org/ontology#",p3p:"http://www.w3.org/2002/01/p3prdfv1#",tags:"http://www.holygoat.co.uk/owl/redwood/0.1/tags/",lp:"http://launchpad.net/rdf/launchpad#",rdfa:"http://www.w3.org/ns/rdfa#",dcr:"http://www.isocat.org/ns/dcr.rdf#",swanqs:"http://purl.org/swan/1.2/qualifiers/",fab:"http://purl.org/fab/ns#",eclap:"http://www.eclap.eu/schema/eclap/",ddl:"http://purl.org/vocab/riro/ddl#",nuts:"http://dd.eionet.europa.eu/vocabulary/common/nuts/",like:"http://ontologi.es/like#",sem:"http://semanticweb.cs.vu.nl/2009/11/sem/",psych:"http://purl.org/vocab/psychometric-profile/",oboinowl:"http://www.geneontology.org/formats/oboInOwl#",enc:"http://www.w3.org/2001/04/xmlenc#",ann:"http://www.w3.org/2000/10/annotation-ns#",wnschema:"http://www.cogsci.princeton.edu/~wn/schema/",bte:"http://purl.org/twc/vocab/between-the-edges/",wai:"http://purl.org/wai#",pobo:"http://purl.obolibrary.org/obo/",cdt:"https://w3id.org/cdt/",cmo:"http://purl.org/twc/ontologies/cmo.owl#",oslc:"http://open-services.net/ns/core#",kwijibo:"http://kwijibo.talis.com/",play:"http://uriplay.org/spec/ontology/#",br:"http://vocab.deri.ie/br#",algo:"http://securitytoolbox.appspot.com/securityAlgorithms#",eztag:"http://ontologies.ezweb.morfeo-project.org/eztag/ns#",drug:"http://www.agfa.com/w3c/2009/drugTherapy#",care:"http://eulersharp.sourceforge.net/2003/03swap/care#",vitro:"http://vitro.mannlib.cornell.edu/ns/vitro/public#",oboe:"http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#",bridge:"http://purl.org/vocommons/bridge#",irrl:"http://www.ontologydesignpatterns.org/cp/owl/informationobjectsandrepresentationlanguages.owl#",prissma:"http://ns.inria.fr/prissma/v1#",lastfm:"http://purl.org/ontology/last-fm/",sl:"http://www.semanlink.net/2001/00/semanlink-schema#",pol:"http://escience.rpi.edu/ontology/semanteco/2/0/pollution.owl#",mei:"http://www.music-encoding.org/ns/mei/",ogp:"http://ogp.me/ns#",mygrid:"http://www.mygrid.org.uk/ontology#",fo:"http://www.w3.org/1999/XSL/Format#",esd:"http://def.esd.org.uk/",r2rml:"http://www.w3.org/ns/r2rml#",grddl:"http://www.w3.org/2003/g/data-view#",phss:"http://ns.poundhill.com/phss/1.0/",oat:"http://openlinksw.com/schemas/oat/",fls:"http://lukasblaho.sk/football_league_schema#",olo:"http://purl.org/ontology/olo/core#",h5:"http://buzzword.org.uk/rdf/h5#",uni:"http://purl.org/weso/uni/uni.html#",wordmap:"http://purl.org/net/ns/wordmap#",tarot:"http://data.totl.net/tarot/card/",iswc:"http://annotation.semanticweb.org/2004/iswc#",sm:"http://topbraid.org/sparqlmotion#",b2bo:"http://purl.org/b2bo#",hospital:"http://www.agfa.com/w3c/2009/hospital#",swandr:"http://purl.org/swan/1.2/discourse-relationships/",remus:"http://www.semanticweb.org/ontologies/2010/6/Ontology1279614123500.owl#",osn:"http://spatial.ucd.ie/lod/osn/",ezcontext:"http://ontologies.ezweb.morfeo-project.org/ezcontext/ns#",lt:"http://diplomski.nelakolundzija.org/LTontology.rdf#",ne:"http://umbel.org/umbel/ne/",smiley:"http://www.smileyontology.com/ns#",calli:"http://callimachusproject.org/rdf/2009/framework#",places:"http://purl.org/ontology/places#",ibis:"http://purl.org/ibis#",sioca:"http://rdfs.org/sioc/actions#",geom:"http://data.ign.fr/def/geometrie#",hcterms:"http://purl.org/uF/hCard/terms/",human:"http://eulersharp.sourceforge.net/2003/03swap/human#",rulz:"http://purl.org/NET/rulz#",rdagr1:"http://rdvocab.info/Elements/",pimo:"http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#",countries:"http://eulersharp.sourceforge.net/2003/03swap/countries#",recipe:"http://linkedrecipes.org/schema/",oac:"https://w3id.org/oac#",ppo:"http://vocab.deri.ie/ppo#",cdc:"https://w3id.org/cdc#",status:"http://www.w3.org/2003/06/sw-vocab-status/ns#",httpvoc:"http://www.w3.org/2006/http#",data:"http://data.odw.tw/",aapi:"http://rdf.alchemyapi.com/rdf/v1/s/aapi-schema#",session:"http://redfoot.net/2005/session#",np:"http://www.nanopub.org/nschema#",omv:"http://omv.ontoware.org/2005/05/ontology#",card:"http://www.ashutosh.com/test/",reve:"http://data.eurecom.fr/ontology/reve#",sql:"http://ns.inria.fr/ast/sql#",icaltzd:"http://www.w3.org/2002/12/cal/icaltzd#",dnb:"http://d-nb.info/gnd/",san:"http://www.irit.fr/recherches/MELODI/ontologies/SAN#",wbc:"http://worldbank.270a.info/classification/",pml:"http://provenanceweb.org/ns/pml#",rdaa:"http://rdaregistry.info/Elements/a/",wfm:"http://purl.org/net/wf-motifs#",osoc:"http://web-semantics.org/ns/opensocial#",webtlab:"http://webtlab.it.uc3m.es/",tr:"http://www.thomsonreuters.com/",ebucore:"http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",cao:"http://purl.org/makolab/caont/",esdir:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/direccion-postal#",xmls:"http://www.w3.org/2001/XMLSchema#",wgspos:"http://www.w3.org/2003/01/geo/wgs84_pos#",okkam:"http://models.okkam.org/ENS-core-vocabulary#",arpfo:"http://vocab.ouls.ox.ac.uk/projectfunding#",dbt:"http://dbpedia.org/resource/Template:",csvw:"http://www.w3.org/ns/csvw#",scsv:"http://purl.org/NET/schema-org-csv#",prf:"http://www.openmobilealliance.org/tech/profiles/UAPROF/ccppschema-20021212#",wisski:"http://wiss-ki.eu/",units:"http://eulersharp.sourceforge.net/2003/03swap/units#",wl:"http://www.wsmo.org/ns/wsmo-lite#",geospecies:"http://rdf.geospecies.org/ont/geospecies#",wsc:"http://www.openk.org/wscaim.owl#",opwn:"http://www.ontologyportal.org/WordNet.owl#",elog:"http://eulersharp.sourceforge.net/2003/03swap/log-rules#",ple:"http://pleiades.stoa.org/places/",zbwext:"http://zbw.eu/namespaces/zbw-extensions/",infosys:"http://www.infosys.com/",span:"http://www.ifomis.org/bfo/1.1/span#",derecho:"http://purl.org/derecho#",geofla:"http://data.ign.fr/ontologies/geofla#",mp:"http://jicamaro.info/mp#",agent:"http://eulersharp.sourceforge.net/2003/03swap/agent#",agents:"http://eulersharp.sourceforge.net/2003/03swap/agent#",imreg:"http://www.w3.org/2004/02/image-regions#",pmlt:"http://inference-web.org/2.0/pml-trust.owl#",pccz:"http://purl.org/procurement/public-contracts-czech#",wbp:"http://worldbank.270a.info/property/",agro:"http://purl.obolibrary.org/obo/agro.owl#",cb:"http://cbasewrap.ontologycentral.com/vocab#",gridworks:"http://purl.org/net/opmv/types/gridworks#",geographis:"http://telegraphis.net/ontology/geography/geography#",marl:"http://www.gsi.dit.upm.es/ontologies/marl/ns#",rdo:"http://purl.org/rdo/ns#",dita:"http://purl.org/dita/ns#",pmlp:"http://inference-web.org/2.0/pml-provenance.owl#",ncal:"http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#",qdoslf:"http://foaf.qdos.com/lastfm/schema/",plink:"http://buzzword.org.uk/rdf/personal-link-types#",opus:"http://lsdis.cs.uga.edu/projects/semdis/opus#",osgb:"http://data.ordnancesurvey.co.uk/id/",html:"http://www.w3.org/1999/xhtml/",kontakt:"http://richard.cyganiak.de/",qa:"http://www.mit.jyu.fi/ai/TRUST_Ontologies/QA.owl#",sindice:"http://vocab.sindice.net/",prefix:"http://prefix.cc/",provenir:"http://knoesis.wright.edu/provenir/provenir.owl#",shv:"http://ns.aksw.org/spatialHierarchy/",dis:"http://stanbol.apache.org/ontology/disambiguation/disambiguation#",open:"http://open.vocab.org/terms/",r2r:"http://www4.wiwiss.fu-berlin.de/bizer/r2r/",c4n:"http://vocab.deri.ie/c4n#",dsp:"http://purl.org/metainfo/terms/dsp#",pns:"http://data.press.net/ontology/stuff/",visit:"http://purl.org/net/vocab/2004/07/visit#",timeline:"http://purl.org/NET/c4dm/timeline.owl#",ncbitaxon:"http://purl.obolibrary.org/obo/NCBITaxon_",nid3:"http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#",hxl:"http://hxl.humanitarianresponse.info/ns/#",organiz:"http://eulersharp.sourceforge.net/2003/03swap/organization#",wairole:"http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#",dgtwc:"http://data-gov.tw.rpi.edu/2009/data-gov-twc.rdf#",muni:"http://vocab.linkeddata.es/urbanismo-infraestructuras/territorio#",life:"http://life.deri.ie/schema/",swanpav:"http://purl.org/swan/1.2/pav/",dummy:"http://hello.com/",osr:"http://dati.senato.it/osr/",lr:"http://linkedrecipes.org/schema/",ens:"http://models.okkam.org/ENS-core-vocabulary.owl#",gv:"http://rdf.data-vocabulary.org/#",req:"http://purl.org/req/",agetec:"http://www.agetec.org/",frbre:"http://purl.org/vocab/frbr/extended#",prvtypes:"http://purl.org/net/provenance/types#",odp:"http://ontologydesignpatterns.org/",aair:"http://xmlns.notu.be/aair#",hemogram:"http://www.agfa.com/w3c/2009/hemogram#",out:"http://ontologies.hypios.com/out#",pubmed:"http://bio2rdf.org/pubmed_vocabulary:",meb:"http://rdf.myexperiment.org/ontologies/base/",vaem:"http://www.linkedmodel.org/schema/vaem#",xsl:"http://www.w3.org/1999/XSL/Transform#",nex:"http://www.nexml.org/2009/",set:"http://www.w3.org/2000/10/swap/set#",aims:"http://aims.fao.org/aos/common/",ecb:"http://ecb.270a.info/class/1.0/",xhtmlvocab:"http://www.w3.org/1999/xhtml/vocab/",copyright:"http://rhizomik.net/ontologies/copyrightonto.owl#",xt:"http://purl.org/twc/vocab/cross-topix#",un:"http://www.w3.org/2007/ont/unit#",parl:"https://id.parliament.uk/schema/",visko:"http://trust.utep.edu/visko/ontology/visko-operator-v3.owl#",fowl:"http://www.w3.org/TR/2003/PR-owl-guide-20031209/food#",rdapo:"http://rdaregistry.info/Elements/p/object/",eprints:"http://eprints.org/ontology/",trackback:"http://madskills.com/public/xml/rss/module/trackback/",wao:"http://webtlab.it.uc3m.es/2010/10/WebAppsOntology#",pna:"http://data.press.net/ontology/asset/",tripfs:"http://purl.org/tripfs/2010/02#",lark1:"http://users.utcluj.ro/~raluca/ontology/Ontology1279614123500.owl#",carfo:"http://purl.org/carfo#",geodata:"http://sws.geonames.org/",grel:"http://users.ugent.be/~bjdmeest/function/grel.ttl#",spatial:"http://geovocab.org/spatial#",skip:"http://skipforward.net/skipforward/resource/",wapp:"http://ns.rww.io/wapp#",swanci:"http://purl.org/swan/1.2/citations/",ops:"https://w3id.org/ops#",eye:"http://jena.hpl.hp.com/Eyeball#",sdm:"https://w3id.org/okn/o/sdm#",emotion:"http://ns.inria.fr/emoca#",emp:"http://purl.org/ctic/empleo/oferta#",admssw:"http://purl.org/adms/sw/",archdesc:"http://archdesc.info/archEvent#",aneo:"http://akonadi-project.org/ontologies/aneo#",rv:"https://data.elsevier.com/research/schema/rv/",oper:"http://sweet.jpl.nasa.gov/2.0/mathOperation.owl#",fl:"http://eulersharp.sourceforge.net/2003/03swap/fl-rules#",rdam:"http://rdaregistry.info/Elements/m/",kdo:"http://kdo.render-project.eu/kdo#",ospost:"http://data.ordnancesurvey.co.uk/ontology/postcode/",fd:"http://foodable.co/ns/",fno:"https://w3id.org/function/ontology#",pne:"http://data.press.net/ontology/event/",soap:"http://www.w3.org/2003/05/soap-envelope/",gelo:"http://krauthammerlab.med.yale.edu/ontologies/gelo#",doco:"http://purl.org/spar/doco/",evopat:"http://ns.aksw.org/Evolution/",xesam:"http://freedesktop.org/standards/xesam/1.0/core#",dayta:"http://dayta.me/resource#",commons:"http://commons.psi.enakting.org/def/",nsl:"http://purl.org/ontology/storyline/",prolog:"http://eulersharp.sourceforge.net/2003/03swap/prolog#",dtype:"http://www.linkedmodel.org/schema/dtype#",languages:"http://eulersharp.sourceforge.net/2003/03swap/languages#",sdgp:"http://stats.data-gov.ie/property/",metalex:"http://www.metalex.eu/schema/1.0#",hgnc:"http://bio2rdf.org/hgnc:",ipad:"http://www.padinthecity.com/",xfnv:"http://vocab.sindice.com/xfn#",dive:"http://scubadive.networld.to/dive.rdf#",pam:"http://prismstandard.org/namespaces/pam/2.0/",re:"http://www.w3.org/2000/10/swap/reason#",atomowl:"http://bblfish.net/work/atom-owl/2006-06-06/#",ccom:"http://purl.org/ontology/cco/mappings#",sawsdl:"http://www.w3.org/ns/sawsdl#",comm:"http://vocab.resc.info/communication#",bioskos:"http://eulersharp.sourceforge.net/2003/03swap/bioSKOSSchemes#",semtweet:"http://semantictweet.com/",tei:"http://www.tei-c.org/ns/1.0/",rad:"http://www.w3.org/ns/rad#",aigp:"http://swat.cse.lehigh.edu/resources/onto/aigp.owl#",ecpo:"http://purl.org/ontology/ecpo#",tcga:"http://purl.org/tcga/core#",psh:"http://ns.inria.fr/probabilistic-shacl/",gc:"http://www.oegov.org/core/owl/gc#",dgfoaf:"http://west.uni-koblenz.de/ontologies/2010/07/dgfoaf.owl#",sig:"http://purl.org/signature#",tvc:"http://www.essepuntato.it/2012/04/tvc/",oj:"http://ontojob.at/",decl:"http://www.linkedmodel.org/1.0/schema/decl#",func:"http://www.w3.org/2007/rif-builtin-function#",fc:"http://www.freeclass.eu/freeclass_v1#",dssn:"http://purl.org/net/dssn/",orca:"http://geni-orca.renci.org/owl/topology.owl#",oboro:"http://obofoundry.org/ro/ro.owl#",agrelon:"http://d-nb.info/standards/elementset/agrelon#",linkedct:"http://data.linkedct.org/vocab/",frame:"http://www.ontologydesignpatterns.org/ont/framenet/abox/frame/",nndsr:"http://semanticdiet.com/schema/usda/nndsr/",quak:"http://dev.w3.org/cvsweb/2000/quacken/vocab#",opmv:"http://purl.org/net/opmv/ns#",geop:"http://aims.fao.org/aos/geopolitical.owl#",xch:"http://oanda2rdf.appspot.com/xch/",fcm:"http://eulersharp.sourceforge.net/2006/02swap/fcm#",igeo:"http://rdf.insee.fr/def/geo#",swpo:"http://sw-portal.deri.org/ontologies/swportal#",theatre:"http://purl.org/theatre#",sad:"http://vocab.deri.ie/sad#",aersv:"http://aers.data2semantics.org/vocab/",nxp:"http://purl.org/nxp/schema/v1/",transit:"http://vocab.org/transit/terms/",spif:"http://spinrdf.org/spif#",bookmark:"http://www.w3.org/2002/01/bookmark#",tripfs2:"http://purl.org/tripfs/2010/06#",coeus:"http://bioinformatics.ua.pt/coeus/",enhancer:"http://stanbol.apache.org/ontology/enhancer/enhancer#",oboso:"http://purl.org/obo/owl/SO#",gxa:"http://www.ebi.ac.uk/gxa/",xbrli:"http://www.xbrl.org/2003/instance#",rso:"http://www.researchspace.org/ontology/",nyt:"http://data.nytimes.com/",eseduc:"http://www.purl.org/ontologia/eseduc#",td:"https://www.w3.org/2019/wot/td#",ling:"http://purl.org/voc/ling/",tp:"https://triplydb.com/Triply/tp/def/",mte:"http://nl.ijs.si/ME/owl/",iron:"http://purl.org/ontology/iron#",dbpo:"http://dbpedia.org/ontology/",rlno:"http://rdflivenews.aksw.org/ontology/",qu:"http://purl.oclc.org/NET/ssnx/qu/qu#",protons:"http://proton.semanticweb.org/2005/04/protons#",w3p:"http://prov4j.org/w3p/",events:"http://eulersharp.sourceforge.net/2003/03swap/event#",cidoccrm:"http://purl.org/NET/cidoc-crm/core#",dl:"http://ontology.ip.rm.cnr.it/ontologies/DOLCE-Lite#",httpm:"http://www.w3.org/2011/http-methods#",prvr:"http://purl.org/ontology/prv/rules#",json:"https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf#",rich:"http://rdf.data-vocabulary.org/",myprefix:"http://myprefix.org/",telix:"http://purl.org/telix#",c4o:"http://purl.org/spar/c4o/",gazetteer:"http://data.ordnancesurvey.co.uk/ontology/50kGazetteer/",htir:"http://www.w3.org/2011/http#",estrn:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/transporte#",sgv:"http://www.w3.org/TR/SVG/",owls:"http://www.daml.org/services/owl-s/1.2/Service.owl#",no:"http://km.aifb.kit.edu/projects/numbers/number#",frapo:"http://purl.org/cerif/frapo/",rpubl:"http://rinfo.lagrummet.se/ns/2008/11/rinfo/publ#",moby:"http://www.mygrid.org.uk/mygrid-moby-service#",ecc:"https://ns.eccenca.com/",oax:"http://www.w3.org/ns/openannotation/extensions/",kw:"http://kwantu.net/kw/",fct:"http://openlinksw.com/services/facets/1.0/",scowt:"http://purl.org/weso/ontologies/scowt#",coun:"http://www.daml.org/2001/09/countries/iso-3166-ont#",mesh:"http://id.nlm.nih.gov/mesh/",tmpl:"http://purl.org/restdesc/http-template#",frad:"http://iflastandards.info/ns/fr/frad/",artstor:"http://simile.mit.edu/2003/10/ontologies/artstor#",wf:"http://www.w3.org/2005/01/wf/flow#",humanbody:"http://eulersharp.sourceforge.net/2003/03swap/humanBody#",wm:"http://ns.inria.fr/webmarks#",arecipe:"http://purl.org/amicroformat/arecipe/",rdaw:"http://rdaregistry.info/Elements/w/",fingal:"http://vocab.deri.ie/fingal#",govtrackus:"http://www.rdfabout.com/rdf/usgov/geo/us/",gbv:"http://purl.org/ontology/gbv/",ext:"http://mu.semte.ch/vocabularies/ext/",jita:"http://aims.fao.org/aos/jita/",lgv:"http://linkedgeodata.org/ontology/",oecd:"http://oecd.270a.info/dataset/",ccard:"http://purl.org/commerce/creditcard#",swanag:"http://purl.org/swan/1.2/agents/",ru:"http://purl.org/imbi/ru-meta.owl#",pf:"http://jena.hpl.hp.com/ARQ/property#",owltime:"http://www.w3.org/TR/owl-time#",clineva:"http://www.agfa.com/w3c/2009/clinicalEvaluation#",ec:"http://eulergui.sourceforge.net/contacts.owl.n3#",goef:"http://purl.org/twc/vocab/goef#",bm:"http://bio2rdf.org/",intervals:"http://reference.data.gov.uk/def/intervals/",flow:"http://www.w3.org/2005/01/wf/flow#",grs:"http://www.georss.org/georss/",vcardx:"http://buzzword.org.uk/rdf/vcardx#",dbpedia2:"http://dbpedia.org/property/",ends:"http://labs.mondeca.com/vocab/endpointStatus#",quantity:"http://qudt.org/schema/quantity#",fe:"http://www.ontologydesignpatterns.org/ont/framenet/abox/fe/",rating:"http://www.tvblob.com/ratings/#",health:"http://purl.org/twc/health/vocab/",genab:"http://eulersharp.sourceforge.net/2003/03swap/genomeAbnormality#",italy:"http://data.kasabi.com/dataset/italy/schema/",dossier:"https://data.omgeving.vlaanderen.be/ns/dossier#",abs:"http://abs.270a.info/dataset/",luc:"http://www.ontotext.com/owlim/lucene#",identity:"http://purl.org/twc/ontologies/identity.owl#",vf:"https://w3id.org/valueflows/ont/vf#",sor:"http://purl.org/net/soron/",lod2:"http://lod2.eu/schema/",osp:"http://data.lirmm.fr/ontologies/osp#",penis:"http://penis.to/#",d2r:"http://sites.wiwiss.fu-berlin.de/suhl/bizer/d2r-server/config.rdf#",wfdesc:"http://purl.org/wf4ever/wfdesc#",kupkb:"http://www.e-lico.eu/data/kupkb/",nytimes:"http://data.nytimes.com/elements/",govwild:"http://govwild.org/0.6/GWOntology.rdf/",osmsemnet:"http://spatial.ucd.ie/2012/08/osmsemnet/",hcard:"http://purl.org/uF/hCard/terms/",frbrcore:"http://purl.org/vocab/frbr/core#",ql:"http://www.w3.org/2004/ql#",ecos:"http://purl.org/ecos#",crtv:"http://open-services.net/ns/crtv#",environ:"http://eulersharp.sourceforge.net/2003/03swap/environment#",p20:"http://zbw.eu/beta/p20/vocab/",cmd:"https://w3id.org/cmd#",s4ac:"http://ns.inria.fr/s4ac/v2#",sro:"http://salt.semanticauthoring.org/ontologies/sro#",npgd:"http://ns.nature.com/datasets/",loticoowl:"http://www.lotico.com/ontology/",shex:"http://www.w3.org/ns/shex#",cold:"http://purl.org/configurationontology#",transmed:"http://www.w3.org/2001/sw/hcls/ns/transmed/",wikibase:"http://wikiba.se/ontology#",daiaserv:"http://purl.org/ontology/daia/Service/",gfo:"http://www.onto-med.de/ontologies/gfo.owl#",cl:"http://advene.org/ns/cinelab/",itsmo:"http://ontology.it/itsmo/v1#",bl:"https://w3id.org/biolink/vocab/",ogorg:"http://opengraph.org/schema/",idemo:"http://rdf.insee.fr/def/demo#",ufmedia:"http://purl.org/microformat/hmedia/",crmdig:"http://www.ics.forth.gr/isl/CRMdig/",genea:"http://www.owl-ontologies.com/generations.owl#",poder:"http://poderopedia.com/vocab/",dpd:"http://www.kanzaki.com/ns/dpd#",nocal:"http://vocab.deri.ie/nocal#",skiresort:"http://www.openlinksw.com/ski_resorts/schema#",provone:"http://purl.org/provone#",lindt:"http://purl.org/NET/lindt#",rkd:"http://data.rkd.nl/def#",npgg:"http://ns.nature.com/graphs/",str:"http://nlp2rdf.lod2.eu/schema/string/",sw:"http://linkedwidgets.org/statisticalwidget/ontology/",hartigprov:"http://purl.org/net/provenance/ns#",va:"http://code-research.eu/ontology/visual-analytics#",bcncon:"http://datos.bcn.cl/ontologies/bcn-congress#",cf:"http://mmisw.org/ont/cf/parameter/",steel:"https://w3id.org/steel/ProcessOntology/",gesis:"http://lod.gesis.org/lodpilot/ALLBUS/vocab.rdf#",wscaim:"http://www.openk.org/wscaim.owl#",sci:"http://data.scientology.org/ns/",protegedc:"http://protege.stanford.edu/plugins/owl/dc/protege-dc.owl#",cdtype:"http://purl.org/cld/cdtype/",diseasome:"http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/",ls:"http://linkedspending.aksw.org/instance/",s2s:"http://escience.rpi.edu/ontology/sesf/s2s/4/0/",cis:"http://purl.org/NET/cloudisus#",healthcare:"http://www.agfa.com/w3c/2009/healthCare#",rankrage:"https://rankrage.de/",stac:"http://securitytoolbox.appspot.com/stac#",kbp:"http://tackbp.org/2013/ontology#",dctypes:"http://purl.org/dc/dcmitype/",atomrdf:"http://atomowl.org/ontologies/atomrdf#",mohammad:"http://manesht.ir/",atlas:"http://rdf.ebi.ac.uk/resource/atlas/",ngeoi:"http://vocab.lenka.no/geo-deling#",openskos:"http://openskos.org/xmlns#",centrifuge:"http://purl.org/twc/vocab/centrifuge#",paia:"http://purl.org/ontology/paia#",ipo:"http://purl.org/ipo/core#",occult:"http://data.totl.net/occult/",ianarel:"https://www.w3.org/ns/iana/link-relations/relation#",saxon:"http://saxon.sf.net/",solid:"http://www.w3.org/ns/solid/terms#",foo:"http://filmontology.org/ontology/1.0/",curr:"https://w3id.org/cc#",osukdt:"http://www.ordnancesurvey.co.uk/ontology/Datatypes.owl#",gs1:"https://gs1.org/voc/",marshall:"http://sites.google.com/site/xgmaitc/",l4a:"http://labels4all.info/ns/",skos08:"http://www.w3.org/2008/05/skos#",vsto:"http://escience.rpi.edu/ontology/vsto/2/0/vsto.owl#",rec54:"http://www.w3.org/2001/02pd/rec54.rdf#",l4lod:"http://ns.inria.fr/l4lod/v2/",lctr:"http://data.linkedct.org/vocab/resource/",mtecore:"http://purl.org/olia/mte/multext-east.owl#",harrisons:"http://harrisons.cc/",opmw:"http://www.opmw.org/ontology/",category:"http://dbpedia.org/resource/Category:",rml:"http://w3id.org/rml/",biordf:"http://purl.org/net/biordfmicroarray/ns#",wfprov:"http://purl.org/wf4ever/wfprov#",gov:"http://gov.genealogy.net/ontology.owl#",clinproc:"http://www.agfa.com/w3c/2009/clinicalProcedure#",pizza:"http://www.co-ode.org/ontologies/pizza/pizza.owl#",prism21:"http://prismstandard.org/namespaces/basic/2.1/",daq:"http://purl.org/eis/vocab/daq#",campsite:"http://www.openlinksw.com/campsites/schema#",aerols:"http://xmlns.com/aerols/0.1/",hasco:"http://hadatac.org/ont/hasco/",laposte:"http://data.lirmm.fr/ontologies/laposte#",mpeg7:"http://rhizomik.net/ontologies/2005/03/Mpeg7-2001.owl#",pronom:"http://reference.data.gov.uk/technical-registry/",dbyago:"http://dbpedia.org/class/yago/",b2rpubchem:"http://bio2rdf.org/ns/ns/ns/pubchem#",lh:"http://vocab.inf.ed.ac.uk/library/holdings#",refe:"http://orion.tw.rpi.edu/~xgmatwc/refe/",malignneo:"http://www.agfa.com/w3c/2009/malignantNeoplasm#",opl:"http://openlinksw.com/schema/attribution#",pkmn:"http://pokedex.dataincubator.org/pkm/",okg:"http://openknowledgegraph.org/ontology/",wno:"http://wordnet-rdf.princeton.edu/ontology#",ldr:"http://purl.oclc.org/NET/ldr/ns#",ifc:"http://ifcowl.openbimstandards.org/IFC2X3_Final#",odcs:"http://opendata.cz/infrastructure/odcleanstore/",camelot:"http://vocab.ox.ac.uk/camelot#",wkd:"http://schema.wolterskluwer.de/",dpl:"http://dbpedialite.org/things/",oslo:"http://purl.org/oslo/ns/localgov#",sam:"http://def.seegrid.csiro.au/isotc211/iso19156/2011/sampling#",verb:"https://w3id.org/verb/",te:"http://www.w3.org/2006/time-entry#",c4dm:"http://purl.org/NET/c4dm/event.owl#",bv:"http://purl.org/vocommons/bv#",pod:"https://project-open-data.cio.gov/v1.1/schema/#",dqv:"http://www.w3.org/ns/dqv#",geovocab:"http://geovocab.org/",crv:"http://purl.org/twc/vocab/datacarver#",germplasm:"http://purl.org/germplasm/terms#",doas:"http://deductions.github.io/doas.owl.ttl#",dannet:"http://www.wordnet.dk/owl/instance/2009/03/instances/",lio:"http://purl.org/net/lio#",ds:"http://purl.org/ctic/dcat#",scms:"http://ns.aksw.org/scms/annotations/",mads:"http://www.loc.gov/mads/rdf/v1#",lc:"http://semweb.mmlab.be/ns/linkedconnections#",cart:"http://purl.org/net/cartCoord#",date:"http://contextus.net/ontology/ontomedia/misc/date#",vgo:"http://purl.org/net/VideoGameOntology#",odo:"http://ocean-data.org/schema/",lso:"http://linkedspending.aksw.org/ontology/",ekaw:"http://data.semanticweb.org/conference/ekaw/2012/complete/",puelia:"http://kwijibo.talis.com/vocabs/puelia#",bcnnorms:"http://datos.bcn.cl/ontologies/bcn-norms#",of:"http://owlrep.eu01.aws.af.cm/fridge#",alchemy:"http://rdf.alchemyapi.com/rdf/v1/s/aapi-schema#",ebu:"http://semantic.eurobau.com/eurobau-utility.owl#",shoah:"http://dati.cdec.it/lod/shoah/",sso:"http://nlp2rdf.lod2.eu/schema/sso/",prvt:"http://purl.org/net/provenance/types#",omnlife:"http://open-multinet.info/ontology/omn-lifecycle#",plo:"http://purl.org/net/po#",mmo:"http://purl.org/momayo/mmo/",tac:"http://ns.bergnet.org/tac/0.1/triple-access-control#",hifm:"http://purl.org/net/hifm/data#",yo:"http://yovisto.com/",pattern:"http://www.essepuntato.it/2008/12/pattern#",dawgt:"http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#",tisc:"http://observedchange.com/tisc/ns#",bdd:"https://api.bloomberg.com/eap/catalogs/bbg/fields/",namespaces:"https://vg.no/",ottr:"http://ns.ottr.xyz/templates#",shw:"http://paul.staroch.name/thesis/SmartHomeWeather.owl#",dvia:"http://data.eurecom.fr/ontology/dvia#",insdc:"http://ddbj.nig.ac.jp/ontologies/sequence#",strdf:"http://strdf.di.uoa.gr/ontology#",esco:"http://data.europa.eu/esco/model#",dcndl:"http://ndl.go.jp/dcndl/terms/",hints2005:"http://purl.org/twc/cabig/model/HINTS2005-1.owl#",rdacarrier:"http://rdvocab.info/termList/RDACarrierType/",opllic:"http://www.openlinksw.com/ontology/licenses#",daisy:"http://www.daisy.org/z3998/2012/vocab/",smg:"http://ns.cerise-project.nl/energy/def/cim-smartgrid#",adr:"http://kg.artsdata.ca/resource/",vin:"http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#",dn:"http://purl.org/datanode/ns/",antenne:"https://data.zendantennes.omgeving.vlaanderen.be/ns/zendantenne#",csm:"http://purl.org/csm/1.0#",sbench:"http://swat.cse.lehigh.edu/onto/univ-bench.owl#",cts2:"http://schema.omg.org/spec/CTS2/1.0/",part:"http://purl.org/vocab/participation/schema#",bn:"http://babelnet.org/rdf/",rssynd:"http://web.resource.org/rss/1.0/modules/syndication/",cpsv:"http://purl.org/vocab/cpsv#",wsl:"http://www.wsmo.org/ns/wsmo-lite#",quantities:"http://eulersharp.sourceforge.net/2003/03swap/quantitiesExtension#",iol:"http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#",latitude:"https://www.w3.org/2006/vcard/ns#",gastro:"http://www.ebsemantics.net/gastro#",dpc:"http://hospee.org/ontologies/dpc/",chembl:"http://rdf.ebi.ac.uk/terms/chembl#",ssso:"http://purl.org/ontology/ssso#",art:"http://w3id.org/art/terms/1.0/",clinic:"http://example.com/clinic#",wro:"http://purl.org/net/wf4ever/ro#",ptop:"http://www.ontotext.com/proton/protontop#",fos:"http://futurios.org/fos/spec/",rdamt:"http://rdaregistry.info/termList/RDAMediaType/",pso:"http://purl.org/spar/pso/",sioctypes:"http://rdfs.org/sioc/types#",scor:"http://purl.org/eis/vocab/scor#",turismo:"http://idi.fundacionctic.org/cruzar/turismo#",rdae:"http://rdaregistry.info/Elements/e/",semio:"http://www.lingvoj.org/semio#",goog:"http://schema.googleapis.com/",rmo:"http://eatld.et.tu-dresden.de/rmo#",qrl:"http://www.aifb.kit.edu/project/ld-retriever/qrl#",trait:"http://contextus.net/ontology/ontomedia/ext/common/trait#",bihap:"http://bihap.kb.gov.tr/ontology/",stream:"http://dbpedia.org/ontology/Stream/",ccrel:"http://creativecommons.org/ns#",cpant:"http://purl.org/NET/cpan-uri/terms#",decision:"https://decision-ontology.googlecode.com/svn/trunk/decision.owl#",mico:"http://www.mico-project.eu/ns/platform/1.0/schema#",bk:"http://www.provbook.org/ns/#",oan:"http://data.lirmm.fr/ontologies/oan/",property:"http://fr.dbpedia.org/property/",guo:"http://purl.org/hpi/guo#",ep:"http://eprints.org/ontology/",who:"http://www.who.int/vocab/ontology#",webbox:"http://webbox.ecs.soton.ac.uk/ns#",ost:"http://w3id.org/ost/ns#",emtr:"http://purl.org/NET/ssnext/electricmeters#",cosmo:"http://purl.org/ontology/cosmo#",xlime:"http://xlime-project.org/vocab/",obsm:"http://rdf.geospecies.org/methods/observationMethod#",omapi:"http://purl.org/omapi/0.2/#",thors:"http://resource.geosciml.org/ontology/timescale/thors#",opencyc:"http://sw.opencyc.org/concept/",shacl:"http://www.w3.org/ns/shacl#",lldr:"http://purl.oclc.org/NET/lldr/ns#",onc:"http://www.ics.forth.gr/isl/oncm/core#",gf:"http://def.seegrid.csiro.au/isotc211/iso19109/2005/feature#",conf:"http://richard.cyganiak.de/2007/pubby/config.rdf#",fma:"http://sig.uw.edu/fma#",op:"http://environment.data.gov.au/def/op#",vsso:"http://automotive.eurecom.fr/vsso#",zoomaterms:"http://rdf.ebi.ac.uk/vocabulary/zooma/",rdarel2:"http://metadataregistry.org/uri/schema/RDARelationshipsGR2/",kai:"http://kai.uni-kiel.de/",msr:"http://www.telegraphis.net/ontology/measurement/measurement#",sao:"http://salt.semanticauthoring.org/ontologies/sao#",wikterms:"http://wiktionary.dbpedia.org/terms/",bgcat:"http://bg.dbpedia.org/resource/\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f:",rdafnm:"http://rdaregistry.info/termList/FormNoteMus/",ses:"http://lod.taxonconcept.org/ses/",faq:"http://www.openlinksw.com/ontology/faq#",mmd:"http://musicbrainz.org/ns/mmd-1.0#",ljkl:"http://teste.com/",oarj:"http://opendepot.org/reference/linked/1.0/",my:"http://www.mobile.com/model/",cvbase:"http://purl.org/captsolo/resume-rdf/0.2/base#",rdamedia:"http://rdvocab.info/termList/RDAMediaType/",place:"http://purl.org/ontology/places/",tblcard:"http://www.w3.org/People/Berners-Lee/card#",spt:"http://spitfire-project.eu/ontology/ns/",security:"http://securitytoolbox.appspot.com/securityMain#",ecrm:"http://erlangen-crm.org/current/",mged:"http://mged.sourceforge.net/ontologies/MGEDOntology.owl#",moac:"http://observedchange.com/moac/ns#",telmap:"http://purl.org/telmap/",dr:"http://purl.org/swan/2.0/discourse-relationships/",poste:"http://data.lirmm.fr/ontologies/poste#",rdafr:"http://rdaregistry.info/termList/frequency/",eumida:"http://data.kasabi.com/dataset/eumida/terms/",bgn:"http://bibliograph.net/schemas/",w3con:"http://www.w3.org/2000/10/swap/pim/contact#",bcnbio:"http://datos.bcn.cl/ontologies/bcn-biographies#",aers:"http://aers.data2semantics.org/resource/",qud:"http://qudt.org/1.1/schema/qudt#",jpo:"http://rdf.jpostdb.org/ontology/jpost.owl#",icane:"http://www.icane.es/opendata/vocab#",wlo:"http://purl.org/ontology/wo/",mil:"http://rdf.muninn-project.org/ontologies/military#",lodac:"http://lod.ac/ns/lodac#",sdmxd:"http://purl.org/linked-data/sdmx/2009/dimension#",rdasoi:"http://rdaregistry.info/termList/statIdentification/",seq:"http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#",scoro:"http://purl.org/spar/scoro/",dqm:"http://purl.org/dqm-vocabulary/v1/dqm#",nerd:"http://nerd.eurecom.fr/ontology#",gl:"http://schema.geolink.org/",rdarel:"http://rdvocab.info/RDARelationshipsWEMI/",disease:"http://www.agfa.com/w3c/2009/humanDisorder#",qvoc:"http://mlode.nlp2rdf.org/quranvocab#",odrs:"http://schema.theodi.org/odrs#",finlaw:"http://purl.org/finlex/schema/laki/",exo:"https://w3id.org/example#",mv:"http://schema.mobivoc.org/",oss:"http://opendata.caceres.es/def/ontosemanasanta#",kbv:"https://id.kb.se/vocab/",dcs:"http://ontologi.es/doap-changeset#",delta:"http://www.w3.org/2004/delta#",xapi:"https://w3id.org/xapi/ontology#",tw:"http://tw.rpi.edu/schema/",holding:"http://purl.org/ontology/holding#",biro:"http://purl.org/spar/biro/",ctorg:"http://purl.org/ctic/infraestructuras/organizacion#",li:"http://def.seegrid.csiro.au/isotc211/iso19115/2003/lineage#",twaapi:"http://purl.org/twc/vocab/aapi-schema#",accom:"http://purl.org/acco/ns#",oplcert:"http://www.openlinksw.com/schemas/cert#",onyx:"http://www.gsi.dit.upm.es/ontologies/onyx/ns#",eui:"http://institutions.publicdata.eu/#",xcql:"http://docs.oasis-open.org/ns/search-ws/xcql#",lsc:"http://linkedscience.org/lsc/ns#",auto:"http://auto.schema.org/",infor:"http://www.ontologydesignpatterns.org/cp/owl/informationrealization.owl#",dbcat:"http://dbpedia.org/resource/Category:",osspr:"http://data.ordnancesurvey.co.uk/ontology/spatialrelations/",ll:"http://lodlaundromat.org/resource/",rdacontent:"http://rdvocab.info/termList/RDAContentType/",fam:"http://vocab.fusepool.info/fam#",swperson:"http://data.semanticweb.org/person/",esequip:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/equipamiento#",od:"http://purl.org/twc/vocab/opendap#",affymetrix:"http://bio2rdf.org/affymetrix_vocabulary:",vsws:"http://verticalsearchworks.com/ontology/synset#",coll:"http://purl.org/co/",cbo:"http://comicmeta.org/cbo/",mrel:"http://id.loc.gov/vocabulary/relators/",mb:"http://dbtune.org/musicbrainz/resource/instrument/",raul:"http://vocab.deri.ie/raul#",onssprel:"http://www.ordnancesurvey.co.uk/ontology/SpatialRelations/v0.2/SpatialRelations.owl#",tsioc:"http://rdfs.org/sioc/types#",wb:"http://data.worldbank.org/",gawd:"http://gawd.atlantides.org/terms/",stats:"http://purl.org/rdfstats/stats#",pnc:"http://data.press.net/ontology/classification/",npgx:"http://ns.nature.com/extensions/",dash:"http://datashapes.org/dash#",osgeom:"http://data.ordnancesurvey.co.uk/ontology/geometry/",emoca:"http://ns.inria.fr/emoca#",ogc:"http://www.opengis.net/def/",fao:"http://fao.270a.info/dataset/",tao:"http://pubannotation.org/ontology/tao.owl#",dogont:"http://elite.polito.it/ontologies/dogont.owl#",drm:"http://vocab.data.gov/def/drm#",app:"http://jmvanel.free.fr/ontology/software_applications.n3#",call:"http://webofcode.org/wfn/call:",lsmap:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-data.owl#",pnt:"http://data.press.net/ontology/tag/",mvco:"http://purl.oclc.org/NET/mvco.owl#",geocontext:"http://www.geocontext.org/publ/2013/vocab#",dbpr:"http://dbpedia.org/resource/",esaloj:"http://vocab.linkeddata.es/datosabiertos/def/turismo/alojamiento#",elec:"http://purl.org/ctic/sector-publico/elecciones#",lcy:"http://purl.org/vocab/lifecycle/schema#",water:"http://escience.rpi.edu/ontology/semanteco/2/0/water.owl#",nidm:"http://nidm.nidash.org/",vapour:"http://vapour.sourceforge.net/vocab.rdf#",xrd:"http://docs.oasis-open.org/ns/xri/xrd-1.0#",rdacct:"http://rdaregistry.info/termList/CollTitle/",wn31:"http://wordnet-rdf.princeton.edu/wn31/",llo:"http://lodlaundromat.org/ontology/",bgt:"https://bgt.basisregistraties.overheid.nl/bgt/def/",oml:"http://def.seegrid.csiro.au/ontology/om/om-lite#",stories:"http://purl.org/ontology/stories/",pni:"http://data.press.net/ontology/identifier/",gadm:"http://gadm.geovocab.org/ontology#",pois:"http://purl.oclc.org/POIS/vcblr#",bwb:"http://doc.metalex.eu/bwb/ontology/",dbtont:"http://dbtropes.org/ont/",sg:"http://name.scigraph.com/ontologies/core/",graffle:"http://purl.org/twc/vocab/vsr/graffle#",ox:"http://vocab.ox.ac.uk/projectfunding#",isocat:"http://www.isocat.org/datcat/",seokoeln:"http://rankrage.de/",particip:"http://purl.org/vocab/participation/schema#",allot:"https://w3id.org/akn/ontology/allot#",rdami:"http://rdaregistry.info/termList/modeIssue/",viskov:"http://trust.utep.edu/visko/ontology/visko-view-v3.owl#",dcite:"http://purl.org/spar/datacite/",pvcs:"http://purl.org/twc/vocab/pvcs#",evident:"http://purl.org/net/evident#",doi:"https://doi.org/",saif:"http://wwwiti.cs.uni-magdeburg.de/~srahman/",brick:"https://brickschema.org/schema/Brick#",odapp:"http://vocab.deri.ie/odapp#",snarm:"http://rdf.myexperiment.org/ontologies/snarm/",viso:"http://purl.org/viso/",pingback:"http://purl.org/net/pingback/",s3db:"http://www.s3db.org/core#",deps:"http://ontologi.es/doap-deps#",frb:"http://frb.270a.info/dataset/",mt:"http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",cbase:"http://ontologycentral.com/2010/05/cb/vocab#",kees:"http://linkeddata.center/kees/v1#",pic:"http://www.ipaw.info/ns/picaso#",ramon:"http://rdfdata.eionet.europa.eu/ramon/ontology/",scip:"http://lod.taxonconcept.org/ontology/sci_people.owl#",ev:"http://www.w3.org/2001/xml-events/",swo:"http://www.ebi.ac.uk/swo/",fincaselaw:"http://purl.org/finlex/schema/oikeus/",biotop:"http://purl.org/biotop/biotop.owl#",oh:"http://semweb.mmlab.be/ns/oh#",ostop:"http://www.ordnancesurvey.co.uk/ontology/Topography/v0.1/Topography.owl#",ncit:"https://ncit.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI_Thesaurus&ns=ncit&code=",spfood:"http://kmi.open.ac.uk/projects/smartproducts/ontologies/food.owl#",voidp:"http://www.enakting.org/provenance/voidp/",quty:"http://www.telegraphis.net/ontology/measurement/quantity#",c9d:"http://purl.org/twc/vocab/conversion/",viskoo:"http://trust.utep.edu/visko/ontology/visko-operator-v3.owl#",eunis:"http://eunis.eea.europa.eu/rdf/species-schema.rdf#",fcp:"http://www.newmedialab.at/fcp/",dcoid:"http://dx.deepcarbon.net/",d2d:"http://rdfns.org/d2d/",vag:"http://www.essepuntato.it/2013/10/vagueness/",w3po:"http://purl.org/provenance/w3p/w3po#",rdatc:"http://rdaregistry.info/termList/trackConfig/",vvo:"http://purl.org/vvo/ns#",prviv:"http://purl.org/net/provenance/integrity#",rdl:"http://data.posccaesar.org/rdl/",bco:"http://purl.obolibrary.org/obo/bco.owl#",mmf:"http://linkedmultimedia.org/sparql-mm/ns/1.0.0/function#",rvdata:"http://data.rvdata.us/",bner:"http://datos.bne.es/resource/",lexcz:"http://purl.org/lex/cz#",rdagw:"http://rdaregistry.info/termList/grooveWidth/",olad:"http://openlad.org/vocab#",origins:"http://origins.link/",rdagd:"http://rdaregistry.info/termList/gender/",bgdbp:"http://bg.dbpedia.org/property/",geosp:"http://rdf.geospecies.org/ont/geospecies#",driver:"http://deductions.github.io/drivers.owl.ttl#",fcs:"http://clarin.eu/fcs/resource#",im:"http://imgpedia.dcc.uchile.cl/resource/",saws:"http://purl.org/saws/ontology#",tg:"https://triplydb.com/Triply/tg/def/",company:"http://intellimind.io/ns/company#",lden:"http://www.linklion.org/lden/",swpatho:"http://swpatho.ag-nbi.de/context/meta.owl#",cmdm:"http://infra.clarin.eu/cmd/",vdpp:"http://data.lirmm.fr/ontologies/vdpp#",vsw:"http://verticalsearchworks.com/ontology/",lingvo:"http://www.lingvoj.org/ontology#",waarde:"https://lod.milieuinfo.be/ns/waarde#",tis:"http://www.ontologydesignpatterns.org/cp/owl/timeindexedsituation.owl#",gnvc:"http://purl.org/gc/",odpart:"http://www.ontologydesignpatterns.org/cp/owl/participation.owl#",agr:"http://promsns.org/def/agr#",pkm:"http://www.ontotext.com/proton/protonkm#",radion:"http://www.w3.org/ns/radion#",ntag:"http://ns.inria.fr/nicetag/2010/09/09/voc#",gpml:"http://vocabularies.wikipathways.org/gpml#",agrd:"http://agrinepaldata.com/",vartrans:"http://www.w3.org/ns/lemon/vartrans#",rdarole:"http://rdvocab.info/roles/",vext:"http://ldf.fi/void-ext#",lexvo:"http://lexvo.org/ontology#",aws:"http://purl.oclc.org/NET/ssnx/meteo/aws#",agls:"http://www.agls.gov.au/agls/terms/",rdai:"http://rdaregistry.info/Elements/i/",dao:"http://purl.org/dao#",lsweb:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-data.owl#",employee:"http://www.employee.com/data#",lw:"http://linkedwidgets.org/ontologies/",npdv:"http://sws.ifi.uio.no/vocab/npd#",dbptmpl:"http://dbpedia.org/resource/Template:",oae:"http://www.ics.forth.gr/isl/oae/core#",gcis:"http://data.globalchange.gov/gcis.owl#",friends:"http://www.openarchives.org/OAI/2.0/friends/",mtlo:"http://www.ics.forth.gr/isl/MarineTLO/v4/marinetlo.owl#",rdabm:"http://rdaregistry.info/termList/RDABaseMaterial/",cwrc:"http://sparql.cwrc.ca/ontology/cwrc#",ontopic:"http://www.ontologydesignpatterns.org/ont/dul/ontopic.owl#",fire:"http://tldp.org/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-java.html#",situ:"http://www.ontologydesignpatterns.org/cp/owl/situation.owl#",frsad:"http://iflastandards.info/ns/fr/frsad/",activity:"https://www.w3.org/TR/activitystreams-vocabulary/",ordf:"http://purl.org/NET/ordf/",beth:"http://www.google.com/",roevo:"http://purl.org/wf4ever/roevo#",lmm1:"http://www.ontologydesignpatterns.org/ont/lmm/LMM_L1.owl#",vrank:"http://purl.org/voc/vrank#",orth:"http://purl.org/net/orth#",bot:"https://w3id.org/bot#",lmdb:"http://data.linkedmdb.org/",galaksiya:"http://ontoloji.galaksiya.com/vocab/",bioc:"http://deductions.github.io/biological-collections.owl.ttl#",csp:"http://vocab.deri.ie/csp#",gm:"http://def.seegrid.csiro.au/isotc211/iso19107/2003/geometry#",vmm:"http://spi-fm.uca.es/spdef/models/genericTools/vmm/1.0#",wikim:"http://spi-fm.uca.es/spdef/models/genericTools/wikim/1.0#",lpeu:"http://purl.org/linkedpolitics/vocabulary/eu/plenary/",bcngeo:"http://datos.bcn.cl/ontologies/bcn-geographics#",oplprod:"http://www.openlinksw.com/ontology/products#",salad:"https://w3id.org/cwl/salad#",scufl2:"http://ns.taverna.org.uk/2010/scufl2#",opengov:"http://www.w3.org/opengov#",ldvm:"http://linked.opendata.cz/ontology/ldvm/",uis:"http://uis.270a.info/dataset/",wf4ever:"http://purl.org/wf4ever/wf4ever#",ftcontent:"http://www.ft.com/ontology/content/",mammal:"http://lod.taxonconcept.org/ontology/p01/Mammalia/index.owl#",wfn:"http://webofcode.org/wfn/",opmo:"http://openprovenance.org/model/opmo#",being:"http://purl.org/ontomedia/ext/common/being#",bbcprov:"http://www.bbc.co.uk/ontologies/provenance/",ids:"https://w3id.org/idsa/core/",d0:"http://ontologydesignpatterns.org/ont/wikipedia/d0.owl#",mod:"http://www.isibang.ac.in/ns/mod#",pcdt:"http://purl.org/procurement/public-contracts-datatypes#",language:"http://id.loc.gov/vocabulary/iso639-1/",pproc:"http://contsem.unizar.es/def/sector-publico/pproc#",passim:"http://data.lirmm.fr/ontologies/passim#",rlnr:"http://rdflivenews.aksw.org/resource/",tddo:"http://databugger.aksw.org/ns/core#",bnf:"http://www.w3.org/2000/10/swap/grammar/bnf#",frbrer:"http://iflastandards.info/ns/fr/frbr/frbrer/",wn20:"http://www.w3.org/2006/03/wn/wn20/",lsd:"http://linkedwidgets.org/statisticaldata/ontology/",s4envi:"https://w3id.org/def/saref4envi#",crml:"http://semweb.mmlab.be/ns/rml/condition#",lmo:"http://linkedmultimedia.org/sparql-mm/ns/2.0.0/ontology#",ws:"http://www.w3.org/ns/pim/space#",samfl:"http://def.seegrid.csiro.au/ontology/om/sam-lite#",eurostat:"http://wifo5-04.informatik.uni-mannheim.de/eurostat/resource/eurostat/",foam:"https://www.koerperfettwaage-test.de/",ogbd:"http://www.ogbd.fr/2012/ontologie#",cjr:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/callejero#",lsqv:"http://lsq.aksw.org/vocab#",graves:"http://rdf.muninn-project.org/ontologies/graves#",static:"http://vocab-ld.org/vocab/static-ld#",fog:"https://w3id.org/fog#",geos:"http://www.telegraphis.net/ontology/geography/geography#",limoo:"http://purl.org/LiMo/0.1/",contsem:"http://contsem.unizar.es/def/sector-publico/contratacion#",pwo:"http://purl.org/spar/pwo/",swpm:"http://spi-fm.uca.es/spdef/models/deployment/swpm/1.0#",edgar:"http://edgarwrap.ontologycentral.com/vocab/edgar#",pco:"http://purl.org/procurement/public-contracts#",sct:"http://snomed.info/id/",roterms:"http://purl.org/wf4ever/roterms#",imf:"http://imf.270a.info/dataset/",dq:"http://def.seegrid.csiro.au/isotc211/iso19115/2003/dataquality#",citof:"http://www.essepuntato.it/2013/03/cito-functions#",phdd:"http://rdf-vocabulary.ddialliance.org/phdd#",bgdbr:"http://bg.dbpedia.org/resource/",asgv:"http://aims.fao.org/aos/agrovoc/",lmm2:"http://www.ontologydesignpatterns.org/ont/lmm/LMM_L2.owl#",step:"http://purl.org/net/step#",locwd:"http://purl.org/locwd/schema#",babelnet:"http://babelnet.org/2.0/",qb4o:"http://purl.org/olap#",lda:"http://purl.org/linked-data/api/vocab#",hico:"http://purl.org/emmedi/hico/",rdact:"http://rdaregistry.info/termList/RDACarrierType/",r4ta:"http://ns.inria.fr/ratio4ta/v1#",trig:"http://www.w3.org/2004/03/trix/rdfg-1/",text:"http://jena.apache.org/text#",form:"http://deductions-software.com/ontologies/forms.owl.ttl#",rdafrbr:"http://rdvocab.info/uri/schema/FRBRentitiesRDA/",omdoc:"http://omdoc.org/ontology/",hto:"http://project-haystack.org/hto#",acrt:"http://privatealpha.com/ontology/certification/1#",olca:"http://www.lingvoj.org/olca#",rut:"http://rdfunit.aksw.org/ns/core#",amalgame:"http://purl.org/vocabularies/amalgame#",rdagrp:"http://rdaregistry.info/termList/groovePitch/",jolux:"http://data.legilux.public.lu/resource/ontology/jolux#",csv:"http://vocab.sindice.net/csv/",merge:"http://jazz.net/ns/lqe/merge/",condition:"http://www.kinjal.com/condition:",mds:"http://doc.metalex.eu/id/",pmd:"https://w3id.org/pmd/co/",lexicon:"http://www.example.org/lexicon#",hlygt:"http://www.holygoat.co.uk/owl/redwood/0.1/tags/",jjd:"http://www.joshuajeeson.com/",osadm:"http://data.ordnancesurvey.co.uk/ontology/admingeo/",rdf123:"http://rdf123.umbc.edu/ns/",gci:"http://ontology.eil.utoronto.ca/GCI/Foundation/GCI-Foundation.owl#",infection:"http://www.agfa.com/w3c/2009/infectiousDisorder#",laabs:"http://dbpedia.org/resource/",location:"http://sw.deri.org/2006/07/location/loc#",gaf:"http://groundedannotationframework.org/",pkgsrc:"http://pkgsrc.co/schema#",dbrc:"http://dbpedia.org/resource/Category:",bis:"http://bis.270a.info/dataset/",locah:"http://data.archiveshub.ac.uk/def/",prof:"http://www.w3.org/ns/dx/prof/",odv:"http://reference.data.gov.uk/def/organogram/",msm:"http://iserve.kmi.open.ac.uk/ns/msm#",lcdr:"http://ns.lucid-project.org/revision/",topo:"http://data.ign.fr/def/topo#",year:"http://www.w3.org/year/",mocanal:"http://www.semanticweb.org/asow/ontologies/2013/9/untitled-ontology-36#",oecc:"http://www.oegov.org/core/owl/cc#",dot:"https://w3id.org/dot#",limo:"http://www.purl.org/limo-ontology/limo#",owlse:"http://www.daml.org/services/owl-s/1.2/generic/Expression.owl#",tm:"http://def.seegrid.csiro.au/isotc211/iso19108/2002/temporal#",escom:"http://vocab.linkeddata.es/datosabiertos/def/comercio/tejidoComercial#",incident:"http://vocab.resc.info/incident#",gt:"https://vocab.eccenca.com/geniustex/",pair:"http://virtual-assembly.org/ontologies/pair#",sto:"https://w3id.org/i40/sto#",llm:"http://lodlaundromat.org/metrics/ontology/",gnm:"http://www.geonames.org/ontology/mappings/",obeu:"http://data.openbudgets.eu/ontology/",reegle:"http://reegle.info/schema#",regorg:"http://www.w3.org/ns/regorg#",aktivesa:"http://sa.aktivespace.org/ontologies/aktivesa#",pmc:"http://identifiers.org/pmc/",airs:"https://raw.githubusercontent.com/airs-linked-data/lov/latest/src/airs_vocabulary.ttl#",odbc:"http://www.openlinksw.com/ontology/odbc#",ceterms:"http://purl.org/ctdl/terms/",crowd:"http://purl.org/crowd/",nxs:"http://www.neclimateus.org/",dio:"https://w3id.org/dio#",rdarm:"http://registry.info/termList/recMedium/",rdafs:"http://rdaregistry.info/termList/fontSize/",sx:"http://shex.io/ns/shex#",zr:"http://explain.z3950.org/dtd/2.0/",rdarr:"http://rdaregistry.info/termList/RDAReductionRatio/",proms:"http://promsns.org/def/proms#",ecgl:"http://schema.geolink.org/",jp1:"http://rdf.muninn-project.org/ontologies/jp1/",uc:"http://ucuenca.edu.ec/ontology#",webservice:"http://www.openlinksw.com/ontology/webservices#",puml:"http://plantuml.com/ontology#",crsw:"http://courseware.rkbexplorer.com/ontologies/courseware#",genre:"http://sparql.cwrc.ca/ontologies/genre#",rdatr:"http://rdaregistry.info/termList/typeRec/",uta:"http://uptheasset.org/ontology#",sru:"http://www.loc.gov/zing/srw/",pv:"http://ns.inria.fr/provoc#",teamwork:"http://topbraid.org/teamwork#",geod:"http://vocab.lenka.no/geo-deling#",demlab:"http://www.demcare.eu/ontologies/demlab.owl#",bevon:"http://rdfs.co/bevon/",muldicat:"http://iflastandards.info/ns/muldicat#",ou:"http://opendata.unex.es/def/ontouniversidad#",olac:"http://www.language-archives.org/OLAC/1.0/",oplcb:"http://www.openlinksw.com/schemas/crunchbase#",ns1:"http://www.w3.org/1999/xhtml/vocab#",ontosec:"http://www.semanticweb.org/ontologies/2008/11/OntologySecurity.owl#",essglobal:"http://purl.org/essglobal/vocab/v1.0/",cpack:"http://cliopatria.swi-prolog.org/schema/cpack#",rdaco:"http://rdaregistry.info/termList/RDAContentType/",cd:"http://citydata.wu.ac.at/ns#",oprovo:"http://openprovenance.org/ontology#",defns:"http://www.openarchives.org/OAI/2.0/",voc:"http://voc.odw.tw/",rdaftn:"http://rdaregistry.info/termList/TacNotation/",mdi:"http://w3id.org/multidimensional-interface/ontology#",glview:"http://schema.geolink.org/dev/view/",omnfed:"http://open-multinet.info/ontology/omn-federation#",basic:"http://def.seegrid.csiro.au/isotc211/iso19103/2005/basic#",clirio:"http://clirio.kaerle.com/clirio.owl#",mml:"http://www.w3.org/1998/Math/MathML/",cmdi:"http://www.clarin.eu/cmd/",oplecrm:"http://www.openlinksw.com/ontology/ecrm#",ha:"http://sensormeasurement.appspot.com/ont/home/homeActivity#",keys:"http://purl.org/NET/c4dm/keys.owl#",lido:"http://www.lido-schema.org/",rdag2:"http://rdvocab.info/ElementsGr2/",eurlex:"http://eur-lex.publicdata.eu/ontology/",crime:"http://purl.org/vocab/reloc/",moo:"http://www.movieontology.org/2009/11/09/movieontology.owl#",soch:"http://kulturarvsdata.se/ksamsok#",maso:"http://securitytoolbox.appspot.com/MASO#",rdafmn:"http://rdaregistry.info/termList/MusNotation/",oplmkt:"http://www.openlinksw.com/ontology/market#",output:"http://volt-name.space/vocab/output#",erce:"http://xxefe.de/",ecglview:"http://schema.geolink.org/view/",roar:"https://w3id.org/roar#",lofv:"http://purl.org/legal_form/vocab#",plg:"http://parliament.uk/ontologies/legislation/",spdx:"http://spdx.org/rdf/terms#",mmt:"http://linkedmultimedia.org/sparql-mm/functions/temporal#",espresup:"http://vocab.linkeddata.es/datosabiertos/def/hacienda/presupuestos#",bsym:"http://bsym.bloomberg.com/sym/",sylld:"http://www.semanticweb.org/syllabus/data/",rdacc:"http://rdaregistry.info/termList/RDAColourContent/",caplibacl:"http://schemas.capita-libraries.co.uk/2015/acl/schema#",ppn:"http://parliament.uk/ontologies/person-name/",kegg:"http://bio2rdf.org/ns/kegg#",vstoi:"http://hadatac.org/ont/vstoi#",vcard2006:"http://www.w3.org/2006/vcard/ns#",gq:"http://genomequest.com/",owsom:"https://onlinesocialmeasures.wordpress.com/",ali:"http://www.niso.org/schemas/ali/1.0/",rdag1:"http://rdvocab.info/Elements/",rdaterm:"http://rdaregistry.info/termList/RDATerms/",gts:"http://resource.geosciml.org/ontology/timescale/gts#",rdasco:"http://rdaregistry.info/termList/soundCont/",fnabox:"http://www.ontologydesignpatterns.org/ont/framenet/abox/",ttp:"http://eample.com/test#",esadm:"http://vocab.linkeddata.es/datosabiertos/def/sector-publico/territorio#",dsn:"http://purl.org/dsnotify/vocab/eventset/",rofch:"http://rdaregistry.info/termList/rofch/",td5:"http://td5.org/#",organ:"http://www.univalle.edu.co/ontologies/Organ#",nlon:"http://lod.nl.go.kr/ontology/",tsn:"http://purl.org/net/tsn#",eem:"http://purl.org/eem#",rofem:"http://rdaregistry.info/termList/rofem/",eccauth:"https://vocab.eccenca.com/auth/",task:"http://deductions.github.io/task-management.owl.ttl#",iana:"http://www.iana.org/assignments/relation/",kml:"http://www.opengis.net/kml/2.2#",door:"http://kannel.open.ac.uk/ontology#",ruto:"http://rdfunit.aksw.org/ns/core#",hr:"http://iserve.kmi.open.ac.uk/ns/hrests#",jpost:"http://rdf.jpostdb.org/ontology/jpost.owl#",logies:"https://data.vlaanderen.be/ns/logies#",ubiq:"http://server.ubiqore.com/ubiq/core#",eccrev:"https://vocab.eccenca.com/revision/",oplweb:"http://www.openlinksw.com/schemas/oplweb#",dcx:"http://dublincore.org/dcx/",rofer:"http://rdaregistry.info/termList/rofer/",navm:"https://w3id.org/navigation_menu#",sakthi:"http://infotech.nitk.ac.in/research-scholars/sakthi-murugan-r/",ssno:"http://www.w3.org/ns/ssn/",rvz:"http://rdfvizler.dyreriket.xyz/vocabulary/core#",lslife:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-lifemapper.owl#",diag:"http://www.loc.gov/zing/srw/diagnostic/",oxi:"http://omerxi.com/ontologies/core.owl.ttl#",datex:"http://vocab.datex.org/terms#",pato:"http://purl.obolibrary.org/obo/",lawd:"http://lawd.info/ontology/",newsevents:"http://www.aifb.uni-karlsruhe.de/WBS/uhe/ontologies#",agrovoc:"http://aims.fao.org/aos/agrovoc/",cdao:"http://purl.obolibrary.org/obo/",bb:"http://www.snik.eu/ontology/bb/",sdt:"http://statisticaldata.linkedwidgets.org/terms/",led:"http://led.kmi.open.ac.uk/term/",lmx:"http://www.w3.org/XML/1998/namespace/",mmoon:"http://mmoon.org/mmoon/",munc:"http://ns.inria.fr/munc#",fuseki:"http://jena.apache.org/fuseki#",studiop:"http://purl.org/resource/pilatesstudio/",fntbox:"http://www.ontologydesignpatterns.org/ont/framenet/tbox/",tix:"http://toptix.com/2010/esro/",geojson:"https://purl.org/geojson/vocab#",hva:"http://www.ebusiness-unibw.org/ontologies/hva/ontology#",lheo:"http://www.conjecto.com/ontology/2015/lheo#",fr:"https://w3id.org/fr/def/core#",mexv:"http://mex.aksw.org/mex-algo#",ldl:"https://w3id.org/ldpdl/ns#",ruian:"https://data.cssz.cz/ontology/ruian/",esapar:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/aparcamiento#",rdapmt:"http://rdaregistry.info/termList/prodTactile/",csdbp:"http://cs.dbpedia.org/",onisep:"http://rdf.onisep.fr/resource/",efrbroo:"http://erlangen-crm.org/efrbroo/",literal:"http://www.essepuntato.it/2010/06/literalreification/",figigii:"http://www.omg.org/spec/FIGI/GlobalInstrumentIdentifiers/",tb:"https://w3id.org/timebank#",spcm:"http://spi-fm.uca.es/spdef/models/deployment/spcm/1.0#",vidont:"http://vidont.org/",oplres:"http://www.openlinksw.com/ontology/restrictions#",sirene:"https://sireneld.io/vocab/sirene#",rdaemm:"http://rdaregistry.info/termList/emulsionMicro/",fdbp:"http://fr.dbpedia.org/property/",cwl:"https://w3id.org/cwl/cwl#",voidext:"http://rdfs.org/ns/void-ext#",whisky:"http://vocab.org/whisky/terms/",rdag3:"http://rdvocab.info/ElementsGr3/",sgg:"http://www.springernature.com/scigraph/graphs/",planet:"http://dbpedia.org/",lswpm:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-lifemapper-parameters.owl#",webac:"http://fedora.info/definitions/v4/webac#",bbccore:"http://www.bbc.co.uk/ontologies/coreconcepts/",orcid:"http://orcid.org/",oils:"http://lemon-model.net/oils#",hello:"https://www.youtube.com/user/SuperTellAFriend/featured/",ago:"http://awesemantic-geo.link/ontology/",pid:"http://permid.org/ontology/organization/",owl2xml:"http://www.w3.org/2006/12/owl2-xml#",traffic:"http://www.sensormeasurement.appspot.com/ont/transport/traffic#",lswmo:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-modelling.owl#",dbug:"http://ontologi.es/doap-bugs#",roadmap:"http://mappings.roadmap.org/",umls:"http://bioportal.bioontology.org/ontologies/umls/",gdc:"https://portal.gdc.cancer.gov/cases/",ldt:"https://www.w3.org/ns/ldt#",faostat:"http://reference.eionet.europa.eu/faostat/schema/",open311:"http://ontology.eil.utoronto.ca/open311#",rdfdata:"http://rdf.data-vocabulary.org/rdf.xml#",dicom:"http://purl.org/healthcarevocab/v1#",videogame:"http://purl.org/net/vgo#",vogd:"http://ogd.ifs.tuwien.ac.at/vienna/geo/",bibrm:"http://vocab.ub.uni-leipzig.de/bibrm/",oliasystem:"http://purl.org/olia/system.owl#",physo:"http://merlin.phys.uni.lodz.pl/onto/physo/physo.owl#",radar:"http://www.radar-projekt.org/display/",tui:"http://data.ifs.tuwien.ac.at/study/resource/",apf:"http://jena.apache.org/ARQ/property#",customer:"http://www.valuelabs.com/",yd:"https://yodata.io/",conll:"http://ufal.mff.cuni.cz/conll2009-st/task-description.html#",si:"http://sisteminformasi.com/",mbgd:"http://mbgd.genome.ad.jp/owl/mbgd.owl#",meeting:"http://www.w3.org/2002/07/meeting#",aprov:"http://purl.org/a-proc#",rofrr:"http://rdaregistry.info/termList/rofrr/",pp:"http://peoplesplaces.de/ontology#",escjr:"http://vocab.linkeddata.es/datosabiertos/def/urbanismo-infraestructuras/callejero#",ndnp:"http://chroniclingamerica.loc.gov/terms#",ja:"http://jena.hpl.hp.com/2005/11/Assembler#",jerm:"http://jermontology.org/ontology/JERMOntology#",vocnet:"http://schema.vocnet.org/",iati:"http://purl.org/collections/iati/",bbccms:"http://www.bbc.co.uk/ontologies/cms/",url:"http://schema.org/",mls:"http://www.w3.org/ns/mls#",rdaz:"http://rdaregistry.info/Elements/z/",eccdi:"https://vocab.eccenca.com/di/",cpov:"http://data.europa.eu/m8g/",uom:"http://www.opengis.net/def/uom/OGC/1.0/",rdabf:"http://rdaregistry.info/termList/bookFormat/",bpo:"https://w3id.org/bpo#",memento:"http://mementoweb.org/ns#",doacc:"http://purl.org/net/bel-epa/doacc#",religion:"http://rdf.muninn-project.org/ontologies/religion#",itm:"http://spi-fm.uca.es/spdef/models/genericTools/itm/1.0#",hdo:"http://www.samos.gr/ontologies/helpdeskOnto.owl#",omg:"https://w3id.org/omg#",gg:"http://www.gemeentegeschiedenis.nl/gg-schema#",lemonuby:"http://lemon-model.net/lexica/uby/",afr:"http://purl.allotrope.org/ontologies/result#",glycan:"http://purl.jp/bio/12/glyco/glycan#",fred:"http://www.ontologydesignpatterns.org/ont/fred/domain.owl#",scco:"http://rdf.ebi.ac.uk/terms/surechembl#",nobel:"http://data.nobelprize.org/terms/",ensembl:"http://rdf.ebi.ac.uk/resource/ensembl/",cim:"http://iec.ch/TC57/2013/CIM-schema-cim16#",ln:"https://w3id.org/ln#",sfd:"http://semantic-forms.cc:9112/ldp/",numbers:"http://km.aifb.kit.edu/projects/numbers/",dicera:"http://semweb.mmlab.be/ns/dicera#",wimpo:"http://rdfex.org/withImports?uri=",reg:"http://purl.org/linked-data/registry#",lfov:"https://w3id.org/legal_form#",gns:"http://sws.geonames.org/",esair:"http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#",cocoon:"https://w3id.org/cocoon/v1.0#",r3d:"http://www.re3data.org/schema/3-0#",pdf:"http://ns.adobe.com/pdf/1.3/",rpath:"https://w3id.org/lodsight/rdf-path#",ethc:"http://ethoinformatics.org/ethocore/",cbim:"http://www.coinsweb.nl/cbim-2.0.rdf#",amt:"http://academic-meta-tool.xyz/vocab#",dpn:"http://purl.org/dpn#",ofrd:"http://purl.org/opdm/refrigerator#",lgdm:"http://linkedgeodata.org/meta/",its:"http://www.w3.org/2005/11/its/rdf#",gont:"https://gont.ch/",frgeo:"http://rdf.insee.fr/geo/",volt:"http://volt-name.space/ontology/",ioto:"http://www.irit.fr/recherches/MELODI/ontologies/IoT-O#",rdalay:"http://rdaregistry.info/termList/layout/",yaco:"https://www.irit.fr/recherches/MELODI/ontologies/cinema#",lmf:"http://www.lexinfo.net/lmf#",rdaar:"http://rdaregistry.info/termList/AspectRatio/",pep:"https://w3id.org/pep/",dataid:"http://dataid.dbpedia.org/ns/core#",rdacarx:"http://rdaregistry.info/termList/RDACarrierEU/",fp3:"http://vocab.fusepool.info/fp3#",esservicio:"http://vocab.linkeddata.es/datosabiertos/def/sector-publico/servicio#",tx:"http://swtmp.gitlab.io/vocabulary/templates.owl#",datacite:"http://purl.org/spar/datacite/",markus:"http://www.markus.com/",cue:"http://www.clarin.eu/cmdi/cues/display/1.0#",odapps:"http://semweb.mmlab.be/ns/odapps#",llont:"http://www.linklion.org/ontology#",audit:"http://fedora.info/definitions/v4/audit#",biml:"http://schemas.varigence.com/biml.xsd#",seeds:"http://deductions.github.io/seeds.owl.ttl#",pmo:"http://premon.fbk.eu/ontology/core#",amsl:"http://vocab.ub.uni-leipzig.de/amsl/",provinsi:"http://provinsi.com/",ttla:"https://w3id.org/ttla/",mexcore:"http://mex.aksw.org/mex-core#",opa:"https://w3id.org/laas-iot/adream#",imo:"http://imgpedia.dcc.uchile.cl/ontology#",eame:"http://www.semanticweb.org/ontologia_EA#",opllog:"http://www.openlinksw.com/ontology/logging#",ver:"https://w3id.org/version/ontology#",add:"http://www.datatourisme.fr/ontology/core/1.0#",alethio:"http://aleth.io/",rofsm:"http://rdaregistry.info/termList/rofsm/",h2o:"http://def.seegrid.csiro.au/isotc211/iso19150/-2/2012/basic#",tree:"https://w3id.org/tree#",huto:"http://ns.inria.fr/huto/",svcs:"http://rdfs.org/sioc/services#",piero:"http://reactionontology.org/piero/",bdo:"http://purl.bdrc.io/ontology/core/",vir:"http://w3id.org/vir#",um:"http://intelleo.eu/ontologies/user-model/ns/",da:"https://www.wowman.org/index.php?id=1&type=get#",uby:"http://purl.org/olia/ubyCat.owl#",lyon:"http://dbpedia.org/resource/Lyon/",naval:"http://rdf.muninn-project.org/ontologies/naval#",system:"http://www.univalle.edu.co/ontologies/System#",vplan:"http://www.ifs.tuwien.ac.at/~miksa/ontologies/VPlan.owl#",az:"https://w3id.org/people/az/",dk:"http://www.data-knowledge.org/dk/schema/rdf/latest/",cwork:"http://www.bbc.co.uk/ontologies/creativework/",wde:"http://www.wikidata.org/entity/",lovc:"https://w3id.org/lovcube/ns/lovcube#",geovoid:"http://purl.org/geovocamp/ontology/geovoid/",composer:"http://dbpedia.org/ontology/composer/",tadirah:"http://tadirah.dariah.eu/vocab/",travel:"http://www.co-ode.org/roberts/travel.owl#",imind:"http://schema.intellimind.ns/symbology#",afm:"http://purl.allotrope.org/ontologies/material/",eepsa:"https://w3id.org/eepsa#",owms:"http://standaarden.overheid.nl/owms/terms/",bdc:"http://dbpedia.org/resource/Category:",minim:"http://purl.org/minim/minim#",frappe:"http://streamreasoning.org/ontologies/frappe#",rofid:"http://rdaregistry.info/termList/rofid/",rls:"https://w3id.org/lovcube/ns/relovstats#",b3kat:"http://lod.b3kat.de/title/",rdafnv:"http://rdaregistry.info/termList/noteForm/",uneskos:"http://purl.org/voc/uneskos#",sdshare:"http://www.sdshare.org/2012/extension/",vacseen1:"http://www.semanticweb.org/parthasb/ontologies/2014/6/vacseen1/",qms:"http://data.europa.eu/esco/qms#",koly:"http://www.ensias.ma/",l2sp:"http://www.linked2safety-project.eu/properties/",tgm:"http://id.loc.gov/vocabulary/graphicMaterials/",cwlprov:"https://w3id.org/cwl/prov#",rofin:"http://rdaregistry.info/termList/rofin/",rofit:"http://rdaregistry.info/termList/rofit/",eol:"http://purl.org/biodiversity/eol/",ecore:"http://www.eclipse.org/emf/2002/Ecore#",dpv:"http://www.w3.org/ns/dpv#",alice:"http://example.org/",rdapm:"http://rdaregistry.info/termList/RDAproductionMethod/",county:"http://myexample.org/county#",gbol:"http://gbol.life/0.1#",sdmxcode:"http://purl.org/linked-data/sdmx/2009/code#",ims:"http://www.imsglobal.org/xsd/imsmd_v1p2/",ecoll:"http://purl.org/ceu/eco/1.0#",pcit:"http://public-contracts.nexacenter.org/id/propertiesRole/",tarql:"http://tarql.github.io/tarql#",mydb:"http://mydb.org/",id:"http://identifiers.org/",scho:"http://www.scholarlydata.org/ontology/conference-ontology.owl#",duv:"http://www.w3.org/ns/duv#",oplacl:"http://www.openlinksw.com/ontology/acl#",mexalgo:"http://mex.aksw.org/mex-algo#",assoc:"https://w3id.org/associations/vocab#",fun:"http://w3id.org/sparql-generate/fn/",rofrt:"http://rdaregistry.info/termList/rofrt/",meshv:"http://id.nlm.nih.gov/mesh/vocab#",lgt:"http://linkedgadget.com/wiki/Property:",fhir:"http://hl7.org/fhir/",qkdv:"http://qudt.org/vocab/dimensionvector/",rgml:"http://purl.org/puninj/2001/05/rgml-schema#",hasneto:"http://hadatac.org/ont/hasneto#",vehma:"http://deductions.github.io/vehicule-management.owl.ttl#",rdaspc:"http://rdaregistry.info/termList/specPlayback/",conference:"https://w3id.org/scholarlydata/ontology/conference-ontology.owl#",swa:"http://topbraid.org/swa#",uri4uri:"http://uri4uri.net/vocab#",juso:"http://rdfs.co/juso/",bblfish:"http://bblfish.net/people/henry/card#",pmhb:"http://pmhb.org/",cpi:"http://www.ebusiness-unibw.org/ontologies/cpi/ns#",semiot:"http://w3id.org/semiot/ontologies/semiot#",dcosample:"http://info.deepcarbon.net/sample/schema#",mmm:"http://www.mico-project.eu/ns/mmm/2.0/schema#",irsteaont:"http://ontology.irstea.fr/weather/ontology#",yso:"http://www.yso.fi/onto/yso/",brk:"http://brk.basisregistraties.overheid.nl/def/brk#",rdaft:"http://rdaregistry.info/termList/fileType/",smxm:"http://smxm.ga/",mobivoc:"http://schema.mobivoc.org/",rdabs:"http://rdaregistry.info/termList/broadcastStand/",rvl:"http://purl.org/rvl/",ipsv:"http://id.esd.org.uk/list/",dsw:"http://purl.org/dsw/",iiif:"http://iiif.io/api/image/2#",odf:"http://docs.oasis-open.org/ns/office/1.2/meta/odf#",drk:"http://drakon.su/",itcat:"http://th-brandenburg.de/ns/itcat#",pmonb:"http://premon.fbk.eu/ontology/nb#",pmofn:"http://premon.fbk.eu/ontology/fn#",ilap:"http://data.posccaesar.org/ilap/",gvoith:"http://assemblee-virtuelle.github.io/grands-voisins-v2/thesaurus.ttl#",dead:"http://utpl.edu.ec/sbc/data/",adf:"http://purl.allotrope.org/ontologies/datapackage#",emergelm:"http://purl.org/emergel/modules#",mandaat:"http://data.vlaanderen.be/ns/mandaat#",sorg:"http://schema.org/",irstea:"http://ontology.irstea.fr/",dto:"http://www.datatourisme.fr/ontology/core/1.0#",maeco:"http://edg.topbraid.solutions/maeco/",rofrm:"http://rdaregistry.info/termList/rofrm/",dwciri:"http://rs.tdwg.org/dwc/iri/",alg:"http://drakon.su/ADF#",tosh:"http://topbraid.org/tosh#",shui:"https://vocab.eccenca.com/shui/",sdmxm:"http://purl.org/linked-data/sdmx/2009/measure#",neotec:"http://neotec.rc.unesp.br/resource/Neotectonics/",vam:"http://www.metmuseum.org/",lgdt:"http://linkedgeodata.org/triplify/",chear:"http://hadatac.org/ont/chear#",oplli:"http://www.openlinksw.com/schemas/linkedin#",besluit:"http://data.vlaanderen.be/ns/besluit#",srx:"http://www.w3.org/2005/sparql-results#",ondc:"http://www.semanticweb.org/ontologies/2012/1/Ontology1329913965202.owl#",tavprov:"http://ns.taverna.org.uk/2012/tavernaprov/",nkos:"http://w3id.org/nkos#",bds:"http://www.bigdata.com/rdf/search#",gobierno:"http://www.gobierno.es/gobierno/",persee:"http://data.persee.fr/ontology/persee_ontology/",dm2e:"http://onto.dm2e.eu/schemas/dm2e/",ctrl:"https://w3id.org/ibp/CTRLont#",sfn:"http://semweb.datasciencelab.be/ns/sfn#",or:"http://openresearch.org/vocab/",fluidops:"http://www.fluidops.com/",clapit:"http://dati.gov.it/onto/clapit/",nih:"http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#",one:"https://bioportal.bioontology.org/ontologies/ONE/",pfeepsa:"https://w3id.org/pfeepsa#",nature:"http://deductions.github.io/nature_observation.owl.ttl#",pm:"http://premon.fbk.eu/resource/",rofhf:"http://rdaregistry.info/termList/rofhf/",timex:"http://data.wu.ac.at/ns/timex#",summa:"http://purl.org/voc/summa/",wdtn:"http://www.wikidata.org/prop/direct-normalized/",ppr:"http://purl.org/datanode/ppr/ns/",vsearch:"http://vocab.sti2.at/vsearch#",undata:"http://citydata.wu.ac.at/Linked-UNData/data/",oplwebsrv:"http://www.openlinksw.com/ontology/webservices#",dbfo:"http://dbpedia.org/facts/ontology#",ncicp:"http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#",voidex:"http://www.swi-prolog.org/rdf/library/",esproc:"http://vocab.linkeddata.es/datosabiertos/def/sector-publico/procedimientos#",isbdu:"http://iflastandards.info/ns/isbd/unc/elements/",metadata:"http://purl.oreilly.com/ns/meta/",scholl:"http://menemeneml.com/school#",veo:"http://linkeddata.finki.ukim.mk/lod/ontology/veo#",olac11:"http://www.language-archives.org/OLAC/1.1/",mem:"http://mementoweb.org/ns#",pcdm:"http://pcdm.org/models#",rdfp:"https://w3id.org/rdfp/",edac:"http://ontology.cybershare.utep.edu/ELSEWeb/elseweb-edac.owl#",legal:"http://www.w3.org/ns/legal#",sgfn:"http://w3id.org/sparql-generate/fn/",rdax:"http://rdaregistry.info/Elements/x/",cubeont:"http://ontology.cube.global/",input:"http://volt-name.space/vocab/input#",ctxdesc:"http://www.demcare.eu/ontologies/contextdescriptor.owl#",brt:"http://brt.basisregistraties.overheid.nl/def/top10nl#",osd:"http://a9.com/-/spec/opensearch/1.1/",ldn:"https://www.w3.org/TR/ldn/#",iter:"http://w3id.org/sparql-generate/iter/",semsur:"http://purl.org/SemSur/",lsq:"http://lsq.aksw.org/vocab#",oplbenefit:"http://www.openlinksw.com/ontology/benefits#",pmovn:"http://premon.fbk.eu/ontology/vn#",lmu:"https://w3id.org/laas-iot/lmu#",ispra:"http://dati.isprambiente.it/ontology/core#",rdapf:"http://rdaregistry.info/termList/presFormat/",cog:"http://purl.org/ontology/cco/core#",remetca:"http://www.purl.org/net/remetca#",mwapi:"https://www.mediawiki.org/ontology#API/",vocals:"http://w3id.org/rsp/vocals#",ucum:"http://purl.oclc.org/NET/muo/ucum/",pand:"http://bag.basisregistraties.overheid.nl/bag/id/pand/",geoloc:"http://deductions.github.io/geoloc.owl.ttl#",beer:"http://beer.com/",edg:"http://edg.topbraid.solutions/model/",refexo:"http://purl.jp/bio/01/refexo#",it:"http://www.influencetracker.com/ontology#",physics:"http://www.astro.umd.edu/~eshaya/astro-onto/owl/physics.owl#",wdv:"http://www.wikidata.org/value/",km4c:"http://www.disit.org/km4city/schema#",neotecbib:"http://neotec.rc.unesp.br/resource/NeotectonicsBibliography/",spv:"http://completeness.inf.unibz.it/sp-vocab#",edgarcik:"http://edgarwrap.ontologycentral.com/cik/",wail:"http://www.eyrie.org/~zednenem/2002/wail/",aozora:"http://purl.org/net/aozora/",sdmxc:"http://purl.org/linked-data/sdmx/2009/concept#",dcodt:"http://info.deepcarbon.net/datatype/schema#",swrc2:"https://www.cs.vu.nl/~mcaklein/onto/swrc_ext/2005/05#",fnom:"https://w3id.org/function/vocabulary/mapping#",bkb:"https://budayakb.cs.ui.ac.id/ns#",cff:"http://purl.oclc.org/NET/ssnx/cf/cf-feature#",roc:"https://w3id.org/ro/curate#",gdpr:"https://vocab.eccenca.com/gdpr/",rami:"http://iais.fraunhofer.de/vocabs/rami#",elod:"http://linkedeconomy.org/ontology#",nosql:"http://purl.org/db/nosql#",oplstocks:"http://www.openlinksw.com/ontology/stocks#",sgiter:"http://w3id.org/sparql-generate/iter/",bioentity:"http://bioentity.io/vocab/",dsv:"https://w3id.org/dsv#",asawoo:"http://liris.cnrs.fr/asawoo/",mus:"http://data.doremus.org/ontology#",cska:"http://pfclitex.com/",s4syst:"https://saref.etsi.org/saref4syst/",ido:"http://purl.obolibrary.org/obo/ido.owl#",provoc:"http://ns.inria.fr/provoc/",dsfv:"http://sws.ifi.uio.no/vocab/dsf/henriwi/dsf#",docker:"http://www.w3.org/ns/bde/docker/",ldqm:"http://linkeddata.es/resource/ldqm/",lg:"https://purl.org/lg/",isidore:"http://www.rechercheisidore.fr/class/",seo:"http://sda.tech/SEOontology/SEO/",changeset:"http://purl.org/vocab/changeset/schema#",dcap:"http://purl.org/ws-mmi-dc/terms/",eccpubsub:"https://vocab.eccenca.com/pubsub/",aml:"https://w3id.org/i40/aml#",swcomp:"https://github.com/ali1k/ld-reactor/blob/master/vocabulary/index.ttl#",connard:"https://mail.google.com/mail/u/1/#",dcodata:"http://info.deepcarbon.net/data/schema#",wikimedia:"http://upload.wikimedia.org/wikipedia/commons/f/f6/",rdacpc:"http://rdaregistry.info/termList/configPlayback/",rdaill:"http://rdaregistry.info/termList/IllusContent/",globalcube:"http://kalmar32.fzi.de/triples/global-cube.ttl#",devuan:"https://devuan.net.br/",ns2:"http://ogp.me/ns#video:",sdterms:"http://statisticaldata.linkedwidgets.org/terms/",dbms:"http://www.openlinksw.com/ontology/dbms-app-ontology#",edr:"https://w3id.org/laas-iot/edr#",loted:"http://loted.eu/ontology#",nno:"https://w3id.org/nno/ontology#",rm:"http://jazz.net/ns/rm#",ca:"http://complyadvantage.com/",wab:"http://wab.uib.no/cost-a32_philospace/wittgenstein.owl#",xslopm:"http://purl.org/net/opmv/types/xslt#",master1:"http://idl.u-grenoble3.fr/",number:"http://km.aifb.kit.edu/projects/numbers/number#",bld:"http://biglinkeddata.com/",d3s:"http://vocbench.solidaridad.cloud/taxonomies#",psv:"http://www.wikidata.org/prop/statement/value/",wsdl:"http://www.w3.org/ns/wsdl-rdf#",vort:"http://rockets.topbraid.solutions/vort/",iso37120:"http://ontology.eil.utoronto.ca/ISO37120.owl#",bdr:"http://purl.bdrc.io/resource/",bob:"http://good.dad/meaning/bob#",ldq:"http://www.linkeddata.es/ontology/ldq#",ifcowl:"http://www.buildingsmart-tech.org/ifcOWL/IFC4_ADD2#",rdare:"http://rdaregistry.info/termList/RDARegionalEncoding/",aseonto:"http://requirement.ase.ru/requirements_ontology#",meat:"http://example.com/",qbe:"http://citydata.wu.ac.at/qb-equations#",maet:"http://edg.topbraid.solutions/taxonomy/macroeconomics/",dby:"http://dbpedia.org/class/yago/",s4ee:"https://w3id.org/saref4ee#",unspsc:"http://ontoview.org/schema/unspsc/1#",efd:"http://data.foodanddrinkeurope.eu/ontology#",trao:"http://linkeddata.finki.ukim.mk/lod/ontology/tao#",rdagen:"http://rdaregistry.info/termList/RDAGeneration/",pbody:"http://reference.data.gov.uk/def/public-body/",aksw:"http://aksw.org/",otl:"https://w3id.org/opentrafficlights#",ontop:"https://w3id.org/ontop/",wn30:"http://purl.org/vocabularies/princeton/wn30/",spvqa:"https://bmake.th-brandenburg.de/spv#",rofim:"http://rdaregistry.info/termList/rofim/",w3cgeo:"http://www.w3.org/2003/01/geo/wgs84_pos#",eustd:"http://eurostat.linked-statistics.org/data#",rdavf:"http://rdaregistry.info/termList/videoFormat/",noise:"http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/contaminacion-acustica#",datacron:"http://www.datacron-project.eu/datAcron#",pop:"http://wiki.dbpedia.org/",rofsf:"http://rdaregistry.info/termList/rofsf/",geo7:"https://www.geo7.ch/",marcrole:"http://id.loc.gov/vocabulary/relators/",ksam:"http://kulturarvsdata.se/ksamsok#",geor:"http://www.opengis.net/def/rule/geosparql/",rfd:"http://com.intrinsec//ontology#",rdacdt:"http://rdaregistry.info/termList/RDACartoDT/",foaffff:"http://gogl.com/",imas:"https://sparql.crssnky.xyz/imasrdf/URIs/imas-schema.ttl#",tissue:"http://www.univalle.edu.co/ontologies/Tissue#",sohukd:"http://sweetontology.net/humanKnowledgeDomain/",halyard:"http://merck.github.io/Halyard/ns#",ul:"http://underlay.mit.edu/ns/",idot:"http://identifiers.org/idot/",sciprov:"http://sweetontology.net/reprSciProvenance/",ncbigene:"http://identifiers.org/ncbigene/",emergel:"http://purl.org/emergel/core#",apb:"http://www.analysispartners.org/businessmodel/",bsh:"https://brickschema.org/schema/1.1.0/BrickShape#",powla:"http://purl.org/powla/powla.owl#",ods:"http://lod.xdams.org/ontologies/ods/",atlasterms:"http://rdf.ebi.ac.uk/terms/atlas/",dnbt:"http://d-nb.info/standards/elementset/dnb#",estatwrap:"http://ontologycentral.com/2009/01/eurostat/ns#",llr:"http://lodlaundromat.org/resource/",phy:"https://w3id.org/skgo/phy#",obws:"http://delicias.dia.fi.upm.es/ontologies/ObjectWithStates.owl#",llalg:"http://www.linklion.org/algorithm/",esagen:"http://vocab.ciudadesabiertas.es/def/sector-publico/agenda-municipal#",rsctx:"http://softeng.polito.it/rsctx#",rico:"https://www.ica.org/standards/RiC/ontology#",goaf:"http://goaf.fr/goaf#",soma:"http://sweetontology.net/matr/",dpla:"http://dp.la/info/developers/map/",pmopb:"http://premon.fbk.eu/ontology/pb#",kmgeo:"http://km.aifb.kit.edu/services/geo/ontology#",crmeh:"http://purl.org/crmeh#",dm:"http://datamusee.givingsense.eu/onto/",fnml:"http://semweb.mmlab.be/ns/fnml#",ermrk:"http://www.essepuntato.it/2008/12/earmark#",eproc:"http://10.0.3.120/download/eproc_FORN_v02.owl#",bci:"https://w3id.org/BCI-ontology#",dgfr:"http://colin.maudry.com/ontologies/dgfr#",valueflows:"https://w3id.org/valueflows/",oop:"http://w3id.org/oop#",manto:"http://com.vortic3.MANTO/",r4r:"http://guava.iis.sinica.edu.tw/r4r/",modsci:"https://w3id.org/skgo/modsci#",rdaad:"http://rdaregistry.info/Elements/a/datatype/",decprov:"http://promsns.org/def/decprov#",scra:"http://purl.org/net/schemarama#",dqc:"http://semwebquality.org/ontologies/dq-constraints#",gvoi:"http://assemblee-virtuelle.github.io/grands-voisins-v2/gv.owl.ttl#",dcatnl:"http://standaarden.overheid.nl/dcatnl/terms/",oplangel:"http://www.openlinksw.com/schemas/angel#",loci:"http://linked.data.gov.au/def/loci#",daap:"http://daap.dsi.universite-paris-saclay.fr/wiki/",literature:"http://purl.org/net/cnyt-literature#",estatgph:"http://estatwrap.ontologycentral.com/id/nama_aux_gph#",ocds:"http://purl.org/onto-ocds/ocds#",fssp:"http://linkeddata.fssprus.ru/resource/",s3n:"http://w3id.org/s3n/",orgesv2:"http://datos.gob.es/sites/default/files/OntologiaDIR3/orges.owl#",oup:"http://purl.org/ontology-use-patterns#",cbb:"https://data.cbb.omgeving.vlaanderen.be/ns/cbb#",theme:"http://voc.odw.tw/theme/",estrf:"http://vocab.linkeddata.es/datosabiertos/def/transporte/trafico#",vss:"http://automotive.eurecom.fr/vsso#",rofet:"http://rdaregistry.info/termList/rofet/",imjv:"https://data.imjv.omgeving.vlaanderen.be/ns/imjv#",voidwh:"http://www.ics.forth.gr/isl/VoIDWarehouse/VoID_Extension_Schema.owl#",occ:"http://w3id.org/occ#",gmo:"http://purl.jp/bio/10/gmo/",ideotalex:"http://www.ideotalex.eu/datos/recurso/",nas:"https://data.nasa.gov/ontologies/atmonto/NAS#",xbrll:"https://w3id.org/vocab/xbrll#",ii:"http://sparql.cwrc.ca/ontologies/ii#",iotlite:"http://purl.oclc.org/NET/UNIS/fiware/iot-lite#",dmp:"http://www.sysresearch.org/rda-common-dmp#",rimmf:"http://rimmf.com/vocab/",ogdl4m:"https://github.com/martynui/OGDL4M/",odw:"http://odw.tw/",tikag:"https://www.tikag.com/",qk:"http://qudt.org/vocab/quantitykind/",somaoc:"http://sweetontology.net/matrOrganicCompound/",tsnchange:"http://purl.org/net/tsnchange#",crminf:"http://www.cidoc-crm.org/cidoc-crm/CRMinf/",prohow:"https://w3id.org/prohow#",hosp:"http://health.data.gov/def/hospital/",gdprov:"https://w3id.org/GDPRov#",lcsh:"http://id.loc.gov/authorities/subjects/",ecowlim:"http://ecowlim.tfri.gov.tw/lode/resource/",pham:"https://w3id.org/skgo/pham#",nrv:"http://ns.inria.fr/nrv#",gdprtext:"https://w3id.org/GDPRtEXT#",geofabric:"http://linked.data.gov.au/def/geofabric#",gnaf:"http://linked.data.gov.au/def/gnaf#",soproptg:"http://sweetontology.net/propTemperatureGradient/",snac:"http://socialarchive.iath.virginia.edu/",linkrel:"https://www.w3.org/ns/iana/link-relations/relation#",smartapi:"http://smart-api.io/ontology/1.0/smartapi#",ccp:"http://cookingbigdata.com/linkeddata/ccpricing#",oplp:"http://www.openlinksw.com/ontology/purchases#",terms:"http://purl.org/dc/terms/",yandex:"http://yandex.ru/",soreaa:"http://sweetontology.net/realmAtmo/",mexperf:"http://mex.aksw.org/mex-perf#",omnlc:"http://open-multinet.info/ontology/omn-lifecycle#",sfl:"http://data.finlex.fi/schema/sfl/",eproc2:"http://10.0.3.120/download/eproc_FORN_v04.owl#",fel:"http://w3id.org/vcb/fel#",isaterms:"http://purl.org/isaterms/",cwlgit:"https://w3id.org/cwl/view/git/",esdbpr:"http://es.dbpedia.org/resource/",loupe:"http://ont-loupe.linkeddata.es/def/core/",bitl:"http://lib.bit.edu.cn/ontology/1.0/",iab:"https://www.iab.com/guidelines/taxonomy/",s4bldg:"https://w3id.org/def/saref4bldg#",shema:"http://schema.org/",isoadr:"http://reference.data.gov.au/def/ont/iso19160-1-address#",m3:"http://sensormeasurement.appspot.com/m3#",earth:"http://linked.earth/ontology#",ordo:"http://www.orpha.net/ORDO/",ontoneo:"http://purl.obolibrary.org/obo/ontoneo/",cwmo:"http://purl.org/cwmo/#",eqp:"https://data.nasa.gov/ontologies/atmonto/equipment#",lesa:"http://hadatac.org/ont/lesa#",gcon:"https://w3id.org/GConsent#",mdont:"http://ont.matchdeck.com/",wild:"http://purl.org/wild/vocab#",ddb:"http://www.deutsche-digitale-bibliothek.de/edm/",stx:"http://purl.org/cyber/stix#",pplan:"http://purl.org/net/p-plan#",jup:"http://w3id.org/charta77/jup/",sopropp:"http://sweetontology.net/propPressure/",pq:"http://www.wikidata.org/prop/qualifier/",m3lite:"http://purl.org/iot/vocab/m3-lite#",osys:"http://purl.org/olia/system.owl#",hctl:"https://www.w3.org/2019/wot/hypermedia#",stencila:"http://schema.stenci.la/",sopropsl:"http://sweetontology.net/propSpaceLocation/",biolink:"https://w3id.org/biolink/vocab/",lblodlg:"http://data.lblod.info/vocabularies/leidinggevenden/",capes:"http://vocab.capes.gov.br/def/vcav#",esgs:"https://w3id.org/edwin/ontology/",sostc:"http://sweetontology.net/stateChemical/",iaph:"http://www.juntadeandalucia.es/datosabiertos/portal/iaph/dataset/dataset/6c199ca2-8d2e-4c12-833c-f28",extech:"https://w3id.org/executionTechnique/ontology/",sostv:"http://sweetontology.net/stateVisibility/",soproptf:"http://sweetontology.net/propTimeFrequency/",frbroo:"http://iflastandards.info/ns/fr/frbr/frbroo/",sophatmowm:"https://sweetontology.net/phenAtmoWindMesoscale/",losp:"http://sparql.sstu.ru:3030/speciality/",medred:"http://w3id.org/medred/medred#",soprocsc:"http://sweetontology.net/procStateChange/",sopropsp:"http://sweetontology.net/propSpeed/",chemsci:"https://w3id.org/skgo/chemsci#",jsonschema:"https://www.w3.org/2019/wot/json-schema#",vehman:"http://deductions.github.io/vehicule-management.owl.ttl#",skoslex:"https://bp4mc2.org/def/skos-lex#",sorepsc:"http://sweetontology.net/reprSciComponent/",sopropsdis:"http://sweetontology.net/propSpaceDistance/",wotsec:"https://www.w3.org/2019/wot/security#",constant:"http://qudt.org/vocab/constant/",epplan:"https://w3id.org/ep-plan#",sorepsf:"http://sweetontology.net/reprSciFunction/",soreacz:"http://sweetontology.net/realmClimateZone/",sophsy:"http://sweetontology.net/phenSystem/",sorepmo:"http://sweetontology.net/reprMathOperation/",sweet:"http://sweetontology.net/",sosttf:"http://sweetontology.net/stateTimeFrequency/",sopropti:"http://sweetontology.net/propTime/",esagm:"http://vocab.ciudadesabiertas.es/def/sector-publico/agenda-municipal#",soprocp:"http://sweetontology.net/procPhysical/",eppl:"https://w3id.org/ep-plan#",sorelm:"http://sweetontology.net/relaMath/",sopropo:"http://sweetontology.net/propOrdinal/",eccf:"http://data.europa.eu/54i/",iospress:"http://ld.iospress.nl/rdf/ontology/",sorept:"http://sweetontology.net/reprTime/",dave:"http://theme-e.adaptcentre.ie/dave#",dentsci:"https://w3id.org/skgo/dentsci#",soproc:"http://sweetontology.net/proc/",soprops:"http://sweetontology.net/propSpace/",sorepsrs:"http://sweetontology.net/reprSpaceReferenceSystem/",sorepsl:"http://sweetontology.net/reprSciLaw/",soreaas:"http://sweetontology.net/realmAstroStar/",somamin:"http://sweetontology.net/matrMineral/",sophatmow:"http://sweetontology.net/phenAtmoWind/",sopropsdir:"http://sweetontology.net/propSpaceDirection/",sorelh:"http://sweetontology.net/relaHuman/",soreaofl:"http://sweetontology.net/realmOceanFloor/",sostth:"http://sweetontology.net/stateThermodynamic/",sorealc:"http://sweetontology.net/realmLandCoastal/",sorepscd:"http://sweetontology.net/reprSpaceCoordinate/",sopropi:"http://sweetontology.net/propIndex/",sohutr:"http://sweetontology.net/humanTechReadiness/",sostrr:"http://sweetontology.net/stateRoleRepresentative/",sohut:"http://sweetontology.net/humanTransportation/",sohur:"http://sweetontology.net/humanResearch/",pineapple:"http://hexananas.com/pineapple#",sophso:"http://sweetontology.net/phenSolid/",sorepmso:"http://sweetontology.net/reprMathSolution/",sophoc:"http://sweetontology.net/phenOceanCoastal/",sorepmg:"http://sweetontology.net/reprMathGraph/",sophfd:"http://sweetontology.net/phenFluidDynamics/",sopropr:"http://sweetontology.net/propRotation/",sorepmfo:"http://sweetontology.net/reprMathFunctionOrthogonal/",soprope:"http://sweetontology.net/propEnergy/",ldc:"https://tac.nist.gov/tracks/SM-KBP/2018/ontologies/SeedlingOntology#",sopropsh:"http://sweetontology.net/propSpaceHeight/",sorepsu:"http://sweetontology.net/reprSciUnits/",dprov:"http://promsns.org/def/do#",sorepdp:"http://sweetontology.net/reprDataProduct/",sorel:"http://sweetontology.net/rela/",sopropfr:"http://sweetontology.net/propFraction/",soreas:"http://sweetontology.net/realmSoil/",pcdmuse:"http://pcdm.org/use#",skosthes:"http://purl.org/iso25964/skos-thes#",asgs:"http://linked.data.gov.au/def/asgs#",foio:"https://w3id.org/seas/FeatureOfInterestOntology/",misp:"http://purl.org/cyber/misp#",somaae:"http://sweetontology.net/matrAerosol/",trek:"https://w3id.org/trek/",sostri:"http://sweetontology.net/stateRoleImpact/",sorear:"http://sweetontology.net/realmRegion/",sorelcl:"http://sweetontology.net/relaClimate/",inchikey:"https://identifiers.org/inchikey:",sophatmopc:"http://sweetontology.net/phenAtmoPrecipitation/",sohues:"http://sweetontology.net/humanEnvirStandards/",somanr:"http://sweetontology.net/matrNaturalResource/",sopropmf:"http://sweetontology.net/propMassFlux/",sorepm:"http://sweetontology.net/reprMath/",sopropcap:"http://sweetontology.net/propCapacity/",sorep:"http://sweetontology.net/repr/",sorelpr:"http://sweetontology.net/relaProvenance/",mccv:"http://purl.jp/bio/10/mccv#",probont:"http://www.probonto.org/ontology#",sopropfu:"http://sweetontology.net/propFunction/",sopropm:"http://sweetontology.net/propMass/",sopropb:"http://sweetontology.net/propBinary/",sostrt:"http://sweetontology.net/stateRoleTrust/",somarock:"http://sweetontology.net/matrRock/",sorepdsr:"http://sweetontology.net/reprDataServiceReduction/",sophel:"http://sweetontology.net/phenElecMag/",phto:"http://rhizomik.net/ontologies/PlantHealthThreats.owl.ttl#",sorelsp:"http://sweetontology.net/relaSpace/",sorelsc:"http://sweetontology.net/relaSci/",somais:"http://sweetontology.net/matrIsotope/",twitter:"http://stocktwits.com/",somaem:"http://sweetontology.net/matrElementalMolecule/",sostso:"http://sweetontology.net/stateSolid/",sopropef:"http://sweetontology.net/propEnergyFlux/",soreps:"http://sweetontology.net/reprSpace/",sost:"http://sweetontology.net/state/",sopropcat:"http://sweetontology.net/propCategorical/",d2s:"https://w3id.org/d2s/",proton:"http://www.ontotext.com/proton/",sosttg:"http://sweetontology.net/stateTimeGeologic/",sorealp:"http://sweetontology.net/realmLandProtected/",sorepsp:"http://sweetontology.net/reprSciProvenance/",somapl:"http://sweetontology.net/matrPlant/",sophatmos:"http://sweetontology.net/phenAtmoSky/",matvoc:"http://stream-ontology.com/matvoc/",sopropdifu:"http://sweetontology.net/propDiffusivity/",edupro:"http://ns.inria.fr/semed/eduprogression#",sorealo:"http://sweetontology.net/realmLandOrographic/",sophcr:"http://sweetontology.net/phenCryo/",sophec:"http://sweetontology.net/phenEcology/",sorepdf:"http://sweetontology.net/reprDataFormat/",sostsy:"http://sweetontology.net/stateSystem/",soph:"http://sweetontology.net/phen/",sorepsme:"http://sweetontology.net/reprSciMethodology/",sorepdsv:"http://sweetontology.net/reprDataServiceValidation/",sopropsm:"http://sweetontology.net/propSpaceMultidimensional/",soreahb:"http://sweetontology.net/realmHydroBody/",biogrid:"http://thebiogrid.org/",soprop:"http://sweetontology.net/prop/",sostb:"http://sweetontology.net/stateBiological/",sosto:"http://sweetontology.net/stateOrdinal/",sorelch:"http://sweetontology.net/relaChemical/",sopropcou:"http://sweetontology.net/propCount/",soreao:"http://sweetontology.net/realmOcean/",sorepmf:"http://sweetontology.net/reprMathFunction/",sorelph:"http://sweetontology.net/relaPhysical/",soreac:"http://sweetontology.net/realmCryo/",sophei:"http://sweetontology.net/phenEnvirImpact/",sophst:"http://sweetontology.net/phenStar/",sorelt:"http://sweetontology.net/relaTime/",sophcy:"http://sweetontology.net/phenCycle/",sorepdsg:"http://sweetontology.net/reprDataServiceGeospatial/",sorepmst:"http://sweetontology.net/reprMathStatistics/",soreabb:"http://sweetontology.net/realmBiolBiome/",somaind:"http://sweetontology.net/matrIndustrial/",sopropdife:"http://sweetontology.net/propDifference/",soreaaw:"http://sweetontology.net/realmAtmoWeather/",somac:"http://sweetontology.net/matrCompound/",somaw:"http://sweetontology.net/matrWater/",ciao:"http://ciao.it/",sohuj:"http://sweetontology.net/humanJurisdiction/",somains:"http://sweetontology.net/matrInstrument/",sophatmofo:"http://sweetontology.net/phenAtmoFog/",sopropq:"http://sweetontology.net/propQuantity/",sorepsd:"http://sweetontology.net/reprSpaceDirection/",atts:"https://data.nasa.gov/ontologies/atmonto/general#",sopropche:"http://sweetontology.net/propChemical/",sorepds:"http://sweetontology.net/reprDataService/",sorepts:"http://sweetontology.net/reprTimeSeason/",ingredient:"http://www.owl-ontologies.com/test.owl/ingredient/",sophft:"http://sweetontology.net/phenFluidTransport/",sophpc:"http://sweetontology.net/phenPlanetClimate/",sophatmoc:"http://sweetontology.net/phenAtmoCloud/",sophcm:"http://sweetontology.net/phenCycleMaterial/",sorepdsa:"http://sweetontology.net/reprDataServiceAnalysis/",sopropcon:"http://sweetontology.net/propConductivity/",osmm:"https://www.openstreetmap.org/meta/",sopropdr:"http://sweetontology.net/propDimensionlessRatio/",somael:"http://sweetontology.net/matrElement/",somarocki:"http://sweetontology.net/matrRockIgneous/",lprov:"http://id.learning-provider.data.ac.uk/terms#",donto:"http://reference.data.gov.au/def/ont/dataset#",sopropcha:"http://sweetontology.net/propCharge/",sophwn:"http://sweetontology.net/phenWaveNoise/",somaf:"http://sweetontology.net/matrFacility/",hdgi:"https://w3id.org/hdgi#",snomedct:"http://purl.bioontology.org/ontology/SNOMEDCT/",beo:"https://w3id.org/beo#",somab:"http://sweetontology.net/matrBiomass/",sophb:"http://sweetontology.net/phenBiol/",country:"http://eulersharp.sourceforge.net/2003/03swap/countries#",bldont:"http://ont.biglinkeddata.com/",sorepdm:"http://sweetontology.net/reprDataModel/",sostrg:"http://sweetontology.net/stateRoleGeographic/",somaeq:"http://sweetontology.net/matrEquipment/",sophod:"http://sweetontology.net/phenOceanDynamics/",somaen:"http://sweetontology.net/matrEnergy/",sohuecons:"http://sweetontology.net/humanEnvirConservation/",soreaabl:"http://sweetontology.net/realmAtmoBoundaryLayer/",sopropst:"http://sweetontology.net/propSpaceThickness/",soreal:"http://sweetontology.net/realmLandform/",gleio:"http://lei.info/gleio/",eupont:"http://elite.polito.it/ontologies/eupont.owl#",sophatmot:"http://sweetontology.net/phenAtmoTransport/",idsc:"https://w3id.org/idsa/code/",soman:"http://sweetontology.net/matrAnimal/",taxref:"http://taxref.mnhn.fr/lod/taxon/",somas:"http://sweetontology.net/matrSediment/",esbici:"http://vocab.ciudadesabiertas.es/def/transporte/bicicleta-publica#",sophatmol:"http://sweetontology.net/phenAtmoLightning/",istex:"https://data.istex.fr/ontology/istex#",sostf:"http://sweetontology.net/stateFluid/",mmms:"http://ldf.fi/schema/mmm/",sophatmofr:"http://sweetontology.net/phenAtmoFront/",sophsyc:"http://sweetontology.net/phenSystemComplexity/",soprocc:"http://sweetontology.net/procChemical/",sostre:"http://sweetontology.net/stateRealm/",sophw:"http://sweetontology.net/phenWave/",schoi:"https://w3id.org/scholarlydata/ontology/indicators-ontology.owl#",sosttc:"http://sweetontology.net/stateTimeCycle/",sostti:"http://sweetontology.net/stateTime/",soprocw:"http://sweetontology.net/procWave/",sophatmops:"http://sweetontology.net/phenAtmoPressure/",sostsb:"http://sweetontology.net/stateSpectralBand/",ocsw:"http://data.diekb.org/def/ocsw#",cci:"http://cookingbigdata.com/linkeddata/ccinstances#",sophr:"http://sweetontology.net/phenReaction/",atd:"https://data.nasa.gov/ontologies/atmonto/data#",dbm:"http://purl.org/net/dbm/ontology#",sostrc:"http://sweetontology.net/stateRoleChemical/",sophm:"http://sweetontology.net/phenMixing/",somaio:"http://sweetontology.net/matrIon/",osmt:"https://wiki.openstreetmap.org/wiki/Key:",sorepsg3:"http://sweetontology.net/reprSpaceGeometry3D/",sostsp:"http://sweetontology.net/stateSpace/",soreaah:"http://sweetontology.net/realmAstroHelio/",soreptd:"http://sweetontology.net/reprTimeDay/",cbs:"http://betalinkeddata.cbs.nl/def/cbs#",lv2:"http://lv2plug.in/ns/lv2core/",ggbn:"http://data.ggbn.org/schemas/ggbn/terms/",sohu:"http://sweetontology.net/human/",sophatmo:"http://sweetontology.net/phenAtmo/",sostrb:"http://sweetontology.net/stateRoleBiological/",sostdp:"http://sweetontology.net/stateDataProcessing/",sopropt:"http://sweetontology.net/propTemperature/",cfrl:"http://linkeddata.finki.ukim.mk/lod/ontology/cfrl#",sophfi:"http://sweetontology.net/phenFluidInstability/",mbkeys:"https://pastebin.com/ThBfphb8#",pnv:"https://w3id.org/pnv#",sophhe:"http://sweetontology.net/phenHelio/",ccomid:"http://www.ontologyrepository.com/CommonCoreOntologies/Mid/",sostp:"http://sweetontology.net/statePhysical/",omop:"http://api.ohdsi.org/WebAPI/vocabulary/concept/",rank:"http://www.ontotext.com/owlim/RDFRank#",sostef:"http://sweetontology.net/stateEnergyFlux/",sophen:"http://sweetontology.net/phenEnergy/",wds:"http://www.wikidata.org/entity/statement/",asio:"http://purl.org/hercules/asio/core#",sostss:"http://sweetontology.net/stateSpaceScale/",omim:"http://purl.bioontology.org/ontology/OMIM/",soreaer:"http://sweetontology.net/realmEarthReference/",soreaofe:"http://sweetontology.net/realmOceanFeature/",somapa:"http://sweetontology.net/matrParticle/",malaka:"http://george.gr/",sohueccont:"http://sweetontology.net/humanEnvirControl/",compub:"https://sireneld.io/vocab/compub#",sostst:"http://sweetontology.net/stateStorm/",she:"http://shacleditor.org/",sostro:"http://sweetontology.net/stateRole/",sophhy:"http://sweetontology.net/phenHydro/",sorepsmo:"http://sweetontology.net/reprSciModel/",sorealv:"http://sweetontology.net/realmLandVolcanic/",sophgt:"http://sweetontology.net/phenGeolTectonic/",ccsla:"http://cookingbigdata.com/linkeddata/ccsla#",oplsoft:"http://www.openlinksw.com/ontology/software#",mobiliteit:"https://data.vlaanderen.be/ns/mobiliteit#",s4city:"https://saref.etsi.org/saref4city/",io:"https://iaco.me/",sorealf:"http://sweetontology.net/realmLandFluvial/",sohuc:"http://sweetontology.net/humanCommerce/",sopho:"http://sweetontology.net/phenOcean/",somamic:"http://sweetontology.net/matrMicrobiota/",sohuea:"http://sweetontology.net/humanEnvirAssessment/",sorealg:"http://sweetontology.net/realmLandGlacial/",soreaab:"http://sweetontology.net/realmAstroBody/",sostsc:"http://sweetontology.net/stateSpaceConfiguration/",sophgs:"http://sweetontology.net/phenGeolSeismicity/",gx:"https://graphite.synaptica.net/extension/",gas:"http://www.bigdata.com/rdf/gas#",soall:"http://sweetontology.net/sweetAll/",sophgg:"http://sweetontology.net/phenGeolGeomorphology/",brot:"https://w3id.org/brot#",sorealt:"http://sweetontology.net/realmLandTectonic/",oco:"https://w3id.org/oc/ontology/",say:"http://example.org/say/",sohua:"http://sweetontology.net/humanAgriculture/",iaco:"https://iaco.me/",dfcb:"http://datafoodconsortium.org/ontologies/DFC_BusinessOntology.owl#",birthdate:"http://schema.org/birthDate/",atm:"https://data.nasa.gov/ontologies/atmonto/ATM#",docam:"https://www.docam.ca/glossaurus/",arp:"http://www.arpenteur.org/ontology/Arpenteur.owl#",dfc:"http://datafoodconsortium.org/ontologies/DFC_FullModel.owl#",sophg:"http://sweetontology.net/phenGeol/",taxrefprop:"http://taxref.mnhn.fr/lod/property/",ei2a:"http://opendata.aragon.es/def/ei2a#",sostsl:"http://sweetontology.net/stateSpectralLine/",sohud:"http://sweetontology.net/humanDecision/",wasa:"http://vocab.sti2.at/wasa/",sophgv:"http://sweetontology.net/phenGeolVolcano/",osmrel:"https://www.openstreetmap.org/relation/",soreala:"http://sweetontology.net/realmLandAeolian/",dd:"http://example.org/dummydata/",waa:"http://purl.oclc.org/NET/WebApiAuthentication#",ci:"https://privatealpha.com/ontology/content-inventory/1#",s4agri:"https://saref.etsi.org/saref4agri/",bs:"https://w3id.org/bs#",fibo:"https://spec.edmcouncil.org/fibo/ontology/master/latest/",fernanda:"http://fernanda.nl/",uimo:"http://vocab.sti2.at/uimo/",persoon:"http://data.vlaanderen.be/ns/persoon#",bperson:"http://data.vlaanderen.be/ns/persoon#",ld:"http://linkeddata.ru/",saref4envi:"https://saref.etsi.org/saref4envi/",trak:"https://trakmetamodel.sourceforge.io/vocab/rdf-schema.rdf#",s4ener:"https://saref.etsi.org/saref4ener/",wotc:"http://purl.org/wot-catalogue#",osmway:"https://www.openstreetmap.org/way/",sorea:"http://sweetontology.net/realm/",sophgf:"http://sweetontology.net/phenGeolFault/",osmnode:"https://www.openstreetmap.org/node/",oplfeat:"http://www.openlinksw.com/ontology/features#",mgv:"http://mangaview.fr/mgv#",ccr:"http://cookingbigdata.com/linkeddata/ccregions#",ogura:"https://sparql.crssnky.xyz/Ogura_Hyakunin_Isshu_LinkedRDF/URIs/Ogura_Hyakunin_Isshu_schema.ttl#",knows:"http://semantic.komc/usu/2020/knows#",ldes:"https://w3id.org/ldes#",movieo:"http://movie.com/ontology/",lexicog:"http://www.w3.org/ns/lemon/lexicog#",toaru:"https://metadata.moe/toaru-sparql/elements/",eppo:"https://gd.eppo.int/taxon/",gco:"http://purl.jp/bio/12/glyco/conjugate#",ebg:"http://data.businessgraph.io/ontology#",mpg123:"https://devuan.net.br/wiki/mpg123/",univ:"http://univ.io/",jur:"http://sweet.jpl.nasa.gov/2.3/humanJurisdiction.owl#",motogp:"http://www.motogp.com/",mr:"http://marineregions.org/ns/ontology#",dbonto:"http://dbepedia.org/ontology/",bao:"http://www.bioassayontology.org/bao#",quran:"http://khalidaloufi.sa/quran#",estraf:"http://vocab.ciudadesabiertas.es/def/transporte/trafico#",srv:"http://www.daml.org/services/owl-s/1.2/Service.owl#",cto:"https://w3id.org/cto#",maroc:"http://fr.dbpedia.org/page/Maroc/",mltd:"https://mltd.pikopikopla.net/mltd-schema#",cts:"http://rdf.cdisc.org/ct/schema#",esconv:"http://vocab.ciudadesabiertas.es/def/sector-publico/convenio#",prismdb:"https://prismdb.takanakahiko.me/prism-schema.ttl#",rl:"http://rl.com/resources/",hola:"https://moodle.insa-lyon.fr/course/view.php?id=",kko:"http://kbpedia.org/kko/rc/",pgxo:"http://pgxo.loria.fr/",melding:"http://lblod.data.gift/vocabularies/automatische-melding/",ble:"http://vocab.rapidthings.eu/ns/ble.ttl#",geodcat:"http://data.europa.eu/930/",ams:"http://data.amadeus.com/",cso:"http://cso.kmi.open.ac.uk/schema/cso/",marcgt:"https://id.loc.gov/vocabulary/marcgt/",accid:"http://pid.accurids.com/",ibeacon:"http://vocab.rapidthings.eu/ns/apple/ibeacon.ttl#",nsg:"https://neuroshapes.org/",rdasource:"http://rdaregistry.info/termList/RDARecordingSources/",i18n:"https://www.w3.org/ns/i18n#",contry:"http://dbpedia.org/resource/Lyon#",gom:"https://w3id.org/gom#",rdapol:"http://rdaregistry.info/termList/RDAPolarity/",la:"https://linked.art/ns/terms/",vlueprint:"https://vlueprint.org/schema/",fx:"http://sparql.xyz/facade-x/ns/",xyz:"http://sparql.xyz/facade-x/data/",mag:"https://makg.org/property/",mdcs:"https://mdcs.monumentenkennis.nl/damageatlas/ontology#",sty:"http://purl.bioontology.org/ontology/STY/",karstlink:"https://ontology.uis-speleo.org/ontology/#",rdaut:"http://rdaregistry.info/termList/RDAUnitOfTime/",tso:"https://w3id.org/tso#",contax:"https://w3id.org/con-tax#",rdat:"http://rdaregistry.info/Elements/t/",dom:"https://html.spec.whatwg.org/#",esautob:"http://vocab.ciudadesabiertas.es/def/transporte/autobus#",oeso:"http://www.opensilex.org/vocabularies/oeso#",w3id:"https://w3id.org/",ssnx:"http://purl.oclc.org/NET/ssnx/ssn#",bop:"https://w3id.org/bop#",vph:"http://purl.org/ozo/vph.owl#",rdaio:"http://rdaregistry.info/Elements/i/object/",hops:"https://rdf.ag/o/hops#",w3geo:"http://www.w3.org/2003/01/geo/wgs84_pos#",rdaep:"http://rdaregistry.info/termList/RDAExtensionPlan/",datagc:"https://data.grottocenter.org/ldp/",esempleo:"http://vocab.ciudadesabiertas.es/def/sector-publico/empleo#",rpg:"http://rpg.data.is4.site/",rofchrda:"http://rdaregistry.info/termList/rofchrda/",srr:"https://w3id.org/srr#",samian:"http://lod.archaeology.link/data/samian/",check:"http://pornhub.com/",rdaao:"http://rdaregistry.info/Elements/a/object/",matrycs:"http://matrycs.com/",kpd:"http://purl.org/kpd/",freq:"http://purl.org/cld/freq/",smithy:"https://awslabs.github.io/smithy/rdf-1.0#",itops:"https://vocab.eccenca.com/itops/",slm:"http://urn.fi/URN:NBN:fi:au:slm:",rdaxd:"http://rdaregistry.info/Elements/x/datatype/",mnx:"https://rdf.metanetx.org/schema/",rdatd:"http://rdaregistry.info/Elements/t/datatype/",mesh2021:"http://id.nlm.nih.gov/mesh/2021/",textgrid:"https://textgridrep.org/",rdamo:"http://rdaregistry.info/Elements/m/object/",rdato:"http://rdaregistry.info/Elements/t/object/",bdg:"http://data.bigdatagrapes.eu/resource/ontology/",rdaed:"http://rdaregistry.info/Elements/e/datatype/",rdaid:"http://rdaregistry.info/Elements/i/datatype/",seasd:"https://w3id.org/seas/",rdatb:"http://rdaregistry.info/termList/RDATypeOfBinding/",bleadapter:"http://vocab.rapidthings.eu/ns/ble/adapter.ttl#",vr:"https://www.w3.org/2018/credentials/v1/",epcis:"https://ns.gs1.org/epcis/",sou:"http://qudt.org/vocab/sou/",memorix:"http://memorix.io/ontology#",lado:"http://archaeology.link/ontology#",rdan:"http://rdaregistry.info/Elements/n/",oghamonto:"http://ontology.ogham.link/",signify:"http://purl.org/signify/ns#",comp:"http://semweb.mmlab.be/ns/rml-compression#",rdand:"http://rdaregistry.info/Elements/n/datatype/",rdamd:"http://rdaregistry.info/Elements/m/datatype/",m8g:"http://data.europa.eu/m8g/",rdaxo:"http://rdaregistry.info/Elements/x/object/",cerealstoo:"http://rdf.ag/o/cerealstoo#",faas:"http://semantic-faas.com/ontology#",rdano:"http://rdaregistry.info/Elements/n/object/",cinema:"http://www.semanticweb.org/julien/morgann/cinema#",idpo:"https://w3id.org/idpo#",kdsf:"https://kerndatensatz-forschung.de/version1/technisches_datenmodell/owl/kdsf.owl#",rdawd:"http://rdaregistry.info/Elements/w/datatype/",rdatask:"http://rdaregistry.info/termList/RDATasks/",bcom:"https://w3id.org/bcom#",spec:"http://www.w3.org/ns/spec#",arena:"https://solid.ti.rw.fau.de/public/ns/arena#",ch:"https://schema.ld.admin.ch/",hpont:"https://w3id.org/hpont#",rdap:"http://rdaregistry.info/Elements/p/",cbv:"https://ns.gs1.org/cbv/",rdamat:"http://rdaregistry.info/termList/RDAMaterial/",ogham:"http://lod.ogham.link/data/",oidc:"http://www.w3.org/ns/solid/oidc#",rdapath:"http://rdaregistry.info/termList/RDARecordingMethods/",rdasca:"http://rdaregistry.info/termList/scale/",eurio:"http://data.europa.eu/s66#",citedcat:"https://w3id.org/citedcat-ap/",mrk:"http://www.mydomain.org/Mrk-ns#",nprl:"http://data.nobelprize.org/resource/laureate/",folio:"http://IBCNServices.github.io/Folio-Ontology/Folio.owl#",rdawo:"http://rdaregistry.info/Elements/w/object/",rdapd:"http://rdaregistry.info/Elements/p/datatype/",biocrm:"http://ldf.fi/schema/bioc/",ofn:"http://www.ontotext.com/sparql/functions/",rofsfrda:"http://rdaregistry.info/termList/rofsfrda/",paf:"https://paf.link/",rofitrda:"http://rdaregistry.info/termList/rofitrda/",bcfowl:"http://lbd.arch.rwth-aachen.de/bcfOWL#",rdaim:"http://rdaregistry.info/termList/RDAInteractivityMode/",luigiusai:"https://www.luigiusai.it/wp#",nanopub:"http://www.nanopub.org/nschema#",roffgrda:"http://rdaregistry.info/termList/roffgrda/",encargado:"http://semRAT.edu/",poke:"https://pokemonkg.org/ontology#",aspect:"http://purl.org/aspect/",react:"https://w3id.org/react#",eep:"https://w3id.org/eep#",uberon:"http://purl.obolibrary.org/obo/UBERON_",cpc:"https://data.epo.org/linked-data/def/cpc/",cpg:"http://modellingdh.github.io/ont/odp/pgc/",bag2:"http://bag.basisregistraties.overheid.nl/def/bag#",rmlt:"http://semweb.mmlab.be/ns/rml-target#",ea:"http://eaontology.protect.linkeddata.es/def/",opltw:"http://www.openlinksw.com/schemas/twitter#",tci:"https://w3id.org/lbs/tci#",cgo:"https://www.tno.nl/agrifood/ontology/common-greenhouse-ontology#",s223:"http://data.ashrae.org/standard223#",aff:"https://w3id.org/affectedBy#",xmlns:"http://xmlns.com/foaf/0.1/",gax:"http://w3id.org/gaia-x/core#",setl:"http://purl.org/twc/vocab/setl/",lsqr:"http://lsq.aksw.org/",mrt:"http://marineregions.org/ns/placetypes#",djo:"http://purl.org/datajourneys/",srtun:"https://www.inf.bi.rub.de/srtun#",ghga:"http://w3id.org/ghga/",bau:"https://terminology.fraunhofer.de/voc/bau#",srmo:"https://w3id.org/srmo#",nsd:"https://w3id.org/nsd#",hqdmontol:"http://www.semanticweb.org/magma-core/ontologies/hqdm#",srt:"http://w3id.org/srt#",ewg:"http://ethoinformatics.org/",generiek:"https://data.vlaanderen.be/ns/generiek#",ontobras:"http://www.semanticweb.org/fefar/ontologies/ontobras#",m4i:"http://w3id.org/nfdi4ing/metadata4ing#",olias:"http://purl.org/olia/system.owl#",wfont:"https://w3id.org/wfont#",rc:"https://w3id.org/rc#",ldpsc:"https://solid.ti.rw.fau.de/public/ns/stream-containers#",interop:"http://www.w3.org/ns/solid/interop#",ppeer:"http://parliament.uk/ontologies/peerage/",esc:"https://solid.ti.rw.fau.de/public/ns/event-sourcing-containers#",walmart:"https://www.amazon.de/",quid:"https://w3id.org/quid/",wdno:"http://www.wikidata.org/prop/novalue/",rdaeo:"http://rdaregistry.info/Elements/e/object/",edu:"https://schema.edu.ee/",stix:"http://purl.org/cyber/stix#",paam:"https://lod.mediathek-tanz-theater.de/schema/paam/",eb:"https://w3id.org/eb#",hqdm:"http://www.semanticweb.org/hqdm#",gufo:"http://purl.org/nemo/gufo#",raum:"https://terminology.fraunhofer.de/voc/raum#",caso:"http://www.w3id.org/def/caso#",lds:"https://solid.ti.rw.fau.de/public/ns/linked-data-structures#",jsonld:"http://www.w3.org/ns/json-ld#",magmardl:"http://www.semanticweb.org/magma-core/rdl#",dsd:"https://w3id.org/dsd#",godaddy:"https://sso.godaddy.com/",asf:"https://www.stm-assoc.org/asf/",lrcommon:"http://landregistry.data.gov.uk/def/common/",kgi:"http://ns.inria.fr/kg/index#",marc:"http://www.loc.gov/MARC21/slim/",ofo:"https://w3id.org/ofo#",hni:"https://collectiedata.hetnieuweinstituut.nl/",feed:"https://www.feedipedia.org/",magmauser:"http://www.semanticweb.org/magma-core/user#",archivo:"https://archivo.dbpedia.org/onto#",rto:"https://w3id.org/rail/topo#",osdu:"https://w3id.org/OSDU#",diso:"https://purls.helmholtz-metadaten.de/diso#",lbdserver:"https://w3id.org/lbdserver#",bdsubj:"https://purl.org/fidbaudigital/subjects#",nomo:"https://nomenclature.info/nom/ontology/",rro:"http://semanticweb.org/patricia/ontologies/rro#",conllu:"https://universaldependencies.org/format.html#",value:"http://gfgfd.vs/",chameo:"https://w3id.org/emmo/domain/characterisation-methodology/chameo#",tern:"http://w3id.org/tern/ontologies/tern/",sds:"https://w3id.org/sds#",respond:"https://w3id.org/respond#",covido:"https://w3id.org/CovidO#",rsx:"http://rdf4j.org/shacl-extensions#",linkml:"https://w3id.org/linkml/",rdb:"http://www.dbs.cs.uni-duesseldorf.de/RDF/relational#",stirdata:"https://w3id.org/stirdata/vocabulary/",robotarm:"https://solid.ti.rw.fau.de/public/ns/robotArm#",nom:"https://nomenclature.info/nom/",nbo:"http://data.bioontology.org/ontologies/NBO/",fpr:"http://www.filmstandards.org/schemas/filmportal_relations#",weki:"https://en.wikipedia.org/wiki/",experts:"http://emmo.info/emmo/application/maeo/experts#",tro:"https://w3id.org/TRO/",oeo:"http://openenergy-platform.org/ontology/oeo/",lbds:"https://w3id.org/lbdserver#",itcrdf:"http://www.w3.org/2005/11/its/rdf#",perscido:"https://perscido.univ-grenoble-alpes.fr/",express:"https://w3id.org/express#",pgo:"http://ii.uwb.edu.pl/pgo#",rsp:"http://www.researchspace.org/resource/",dsi:"https://data.dsi.omgeving.vlaanderen.be/ns/dsi#",chemrof:"https://w3id.org/chemrof/",dmo:"https://w3id.org/dmo#",tempo:"http://purl.org/tempo/",cido:"http://purl.obolibrary.org/obo/cido.owl/",icon:"https://w3id.org/icon/ontology/",rnce:"https://data.cultureelerfgoed.nl/id/rnce#",linkedart:"https://linked.art/ns/terms/",osmo:"https://purl.org/vimmp/osmo#",rism:"http://rism.online/",veelana:"http://onlyfans.com/veelana/",ultragaz:"https://ultragaz24horas.com/",dbd:"http://dbpedia.org/datatype/",roh:"http://w3id.org/roh#",vntourism:"http://www.semanticweb.org/minhn/ontologies/2021/0/vntourism#",rtedurp:"http://purl.org/eduo/rtedurp/",chess:"http://purl.org/NET/rdfchess/ontology/",raad:"https://raadzaam.nl/schema/",dqvno:"https://data.norge.no/vocabulary/dqvno#",ttrpg:"https://w3id.org/TTRpg#",era:"http://data.europa.eu/949/",iddo:"https://w3id.org/iddo#",bp3:"http://www.biopax.org/release/biopax-level3.owl#",vl:"https://version.link/",fso:"https://w3id.org/fso#",consolid:"https://w3id.org/consolid#",gql:"http://www.openlinksw.com/schemas/graphql#",kokot:"http://www.koko.t/",besluitvor:"https://data.vlaanderen.be/ns/besluitvorming#",ammo:"http://ldf.fi/schema/ammo/",rcgs:"https://collection.rcgs.jp/terms/",pubchem:"https://pubchem.ncbi.nlm.nih.gov/",ufo:"http://ufo.com/#",mondo:"http://purl.obolibrary.org/obo/",cvb:"http://rdfs.org/resume-rdf/base.rdfs#",film:"http://semantics.id/ns/example/film/",iottta:"https://w3id.org/iot-tta#",grscicoll:"https://www.gbif.org/grscicoll/collection/",nen2660:"https://w3id.org/nen2660/def#",thub:"http://vocabularis.crai.ub.edu/thub/",dcb:"http://dbpedia.org/resource/Category:",apods:"http://activitypods.org/ns/core#",skosm:"http://www.w3.org/2004/02/skos/mapping#",nalt:"https://lod.nal.usda.gov/nalt/",version:"https://version.link/",koko:"https://seznam.cz/",bmp:"http://w3id.org/bmp#",coy:"https://schema.coypu.org/global#",dcatno:"https://data.norge.no/vocabulary/dcatno#",yanice:"http://yanice-boady.webflow.io/",fdp:"https://w3id.org/fdp/fdp-o#",vcs:"https://data.vlaanderen.be/ns/chemische_stof#",dick:"http://pornhub.com/",vhbieo:"https://w3id.org/vhbieo#",ntp:"https://schema.finto.fi/ntp#",ceox:"https://linkeddata.cultureelerfgoed.nl/def/ceox#",lis:"http://rds.posccaesar.org/ontology/lis14/rdl/",lib:"http://purl.org/library/",goavoc:"http://bio2rdf.org/goa_vocabulary:",crmsci:"http://cidoc-crm.org/crmsci/",hyr:"https://w3id.org/simulation/data/",hmas:"https://purl.org/hmas/",nutscode:"http://data.europa.eu/nuts/code/",dbpg:"http://dbpedia.org/page/",lcnaf:"http://id.loc.gov/authorities/names/",ncbi:"https://www.ncbi.nlm.nih.gov/",to:"http://purl.obolibrary.org/obo/TO_",coda:"http://art.uniroma2.it/coda/contracts/",epo:"http://data.europa.eu/a4g/ontology#",relation:"http://www.iana.org/assignments/relation/",plant:"http://example.org/plant/",peco:"https://w3id.org/peco#",ecfo:"https://w3id.org/ecfo#",acp:"http://www.w3.org/ns/solid/acp#",lol:"https://sbalot.github.io/lol/",tsso:"https://scch.org/technical_standards#",fs:"https://www.compliancequest.com/training-management-software-system-solutions/",ags:"https://id.agschemas.org/",dcatap:"http://data.europa.eu/r5r/",spatialf:"http://jena.apache.org/function/spatial#",coreo:"http://purl.org/coreo#",asb:"https://w3id.org/asbingowl/core#",atcc:"https://www.atcc.org/products/",rb:"https://w3id.org/riverbench/schema/metadata#",cur:"http://qudt.org/2.1/vocab/currency/",aec3po:"https://w3id.org/lbd/aec3po/",doce:"http://purl.org/nemo/doce#",sure:"http://ns.inria.fr/sure#",fdof:"https://w3id.org/fdof/ontology#",threat:"https://cve.mitre.org/",mindat:"https://www.mindat.org/",oav:"http://lod.openaire.eu/vocab/",quest:"https://rb.gy/ntg7l/",risk:"https://www.w3id.org/risk#",docbook:"http://docbook.org/ns/docbook/",databus:"https://dataid.dbpedia.org/databus#",egdo:"http://example.org/",ontouml:"https://w3id.org/ontouml#",coos:"http://id.unece.org/def/coos#",fisa:"https://ifitkau.github.io/fisa/",bacnet:"http://data.ashrae.org/bacnet/2020#",bsdd:"http://bsdd.buildingsmart.org/def#",iop:"https://w3id.org/iadopt/ont/",p2po:"https://purl.org/p2p-o#",ontologia:"http://ub.edu/dades/ontologia/Cinema#Cinemes#",hu:"https://mail.google.com/",oplben:"http://www.openlinksw.com/ontology/benefits#",baf:"https://w3id.org/baf#",pit:"http://data.elsevier.com/vocabulary/ElsevierPubItemTypes/",batmanont:"http://emmo.info/emmo/application/bmo#",ksamsok:"http://kulturarvsdata.se/ksamsok#",uio:"https://www.mitre.org/mparmelee/ontologies/2023/6/UserIntentOntology/",mi:"http://www.marineinfo.org/ns/ontology#",matmine:"http://materialsmine.org/ns/",notify:"http://www.w3.org/ns/solid/notifications#",ocmv:"https://w3id.org/ontouml-models/vocabulary#",wrroc:"https://w3id.org/ro/terms/workflow-run#",sense:"https://w3id.org/sense#",mibc:"http://marineinfo.org/ns/library/bibcodes#",cpsvno:"http://data.norge.no/vocabulary/cpsvno#",imbor:"https://data.crow.nl/imbor/def/",stax:"https://w3id.org/stax/ontology#",emmo:"https://w3id.org/emmo#",rbdoc:"https://w3id.org/riverbench/schema/documentation#",quit:"http://quit.aksw.org/vocab/",dde:"https://www.ddeworld.org/",doam:"http://emmo.info/doam#",keyon:"http://keyelements.ltd/ontologies/keyon/#",sssom:"https://w3id.org/sssom/",ogcf:"http://www.opengis.net/def/function/geosparql/",cercabib:"https://cercabib.ub.edu/",przecieki:"http://onlyfans.com/emiliaszymanska/",skosno:"http://data.norge.no/skosno#",bioschemas:"https://bioschemas.org/",bto:"http://w3id.org/emmo-bto/bto#",mibt:"https://marineinfo.org/ns/library/bibtypes#",maeo:"http://w3id.org/emmo-maeo/maeo#",ind:"https://w3id.org/inesdata#",olis:"http://olis.dev/",semapv:"https://w3id.org/semapv/vocab/",pbac:"https://w3id.org/pbac#",ies4:"http://ies.data.gov.uk/ontology/ies4#",mifesto:"https://w3id.org/mifesto#",exekg:"https://raw.githubusercontent.com/nsai-uio/ExeKGOntology/main/ds_exeKGOntology.ttl#",w3:"http://www.w3.org/",mir:"http://marineinfo.org/ns/person/roles#",cergy:"https://dbpedia.org/page/Cergy/",eurovoc:"http://eurovoc.europa.eu/",plasma:"https://w3id.org/plasma#",guez:"http://guez.fr/",iig:"https://w3id.org/iicongraph/data/",sri:"https://w3id.org/sri#",into:"https://app.korfin.de/ontology/into/",doid:"http://purl.obolibrary.org/obo/DOID_",ies:"http://ies.data.gov.uk/ontology/ies4#",hpo:"http://w3id.org/emmo-hpo/hpo#",miprog:"https://marineinfo.org/ns/progress#",hy:"https://api.hyprdia.com/",pcp:"https://pcp-on-web.de/ontology/0.2/index-en.html#",oio:"http://www.geneontology.org/formats/oboInOwl#",top:"http://w3id.org/topologicpy#",soa:"https://semopenalex.org/ontology/",uiot:"http://www.w3id.org/urban-iot/core#",deonta:"https://deonta.linkedmodel.org/deonta/",ceosp:"https://linkeddata.cultureelerfgoed.nl/def/ceosp/",lpwc:"https://linkedpaperswithcode.com/property/",cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties/",ioc:"http://w3id.org/ioc#",htv:"http://www.w3.org/2011/http#",occupation:"http://nikunj.org/ontology/occupatioin#",loinc:"https://loinc.org/",tdm:"http://www.w3.org/ns/tdmrep#",tsdcreq:"https://w3id.org/oseg/ont/tsdc/req#",okh:"https://w3id.org/oseg/ont/okh#",tsdc:"https://w3id.org/oseg/ont/tsdc/core#",pwkso:"http://ns.inria.fr/pwkso/",spa:"https://paul.ti.rw.fau.de/~jo00defe/voc/spa#",chpaf:"https://ch.paf.link/",spo:"https://w3id.org/steel/ProcessOntology/",osh:"https://w3id.org/oseg/ont/osh#",ontohgis:"https://onto.kul.pl/ontohgis/",otrl:"https://w3id.org/oseg/ont/otrl#",aao:"http://purl.obolibrary.org/obo/AAO_",firebim:"http://w3id.org/firebim#",oplmarket:"http://www.openlinksw.com/ontology/market#",cwo:"http://kcoyle.net/cwo/",clyh:"http://purl.obolibrary.org/obo/ZP_",imdb:"http://m.imdb.com/",obi:"http://purl.obolibrary.org/obo/OBI_",envo:"http://purl.obolibrary.org/obo/ZP_",dinto:"http://purl.obolibrary.org/obo/ZP_",lrm:"https://iflastandards.info/ns/lrm/lrmoo/",kbmarc:"https://id.kb.se/marc/",clo:"http://purl.obolibrary.org/obo/ZP_",ado:"http://purl.obolibrary.org/obo/ADO_",rxno:"http://purl.obolibrary.org/obo/ZP_",obom:"https://w3id.org/open-bom/ont/open-bom#",dcid:"https://datacommons.org/browser/",crcr:"https://credit.niso.org/contributor-roles/",sep:"http://purl.obolibrary.org/obo/ZP_",gecko:"http://purl.obolibrary.org/obo/ZP_",reloc:"https://w3id.org/reloc#",sibo:"http://purl.obolibrary.org/obo/ZP_",coswot:"https://w3id.org/coswot/",cacax:"http://cacax.fun/",bcgo:"http://purl.obolibrary.org/obo/ZP_",moont:"https://w3id.org/moont/",ohd:"http://purl.obolibrary.org/obo/ZP_",dpo:"http://purl.obolibrary.org/obo/FBcv_",lpto:"http://w3id.org/lpto#",oplgit:"http://www.openlinksw.com/schemas/github#",htn:"http://purl.obolibrary.org/obo/ZP_",ypc:"http://www.semanticweb.org/sunsr/ontologies/2024/ypc#",txpo:"http://purl.obolibrary.org/obo/ZP_",adw:"https://animaldiversity.org/accounts/",omit:"http://purl.obolibrary.org/obo/OMIT_",mpio:"http://purl.obolibrary.org/obo/ZP_",ckg:"http://example.org/ckg#",sbo:"http://purl.obolibrary.org/obo/SBO_",mfo:"http://purl.obolibrary.org/obo/ZP_",bspo:"http://purl.obolibrary.org/obo/BSPO_",vo:"http://purl.obolibrary.org/obo/VO_",mbl:"https://w3id.org/mbl#",aimaix:"https://w3id.org/aimaix#",oip:"http://www.exemple.org/ontologia/",aix:"https://w3id.org/aix#",trans:"http://purl.obolibrary.org/obo/TRANS_",mop:"http://purl.obolibrary.org/obo/MOP_",oix:"http://www.exemple.org/ontologia/",ogi:"http://purl.obolibrary.org/obo/OGI_",uo:"http://purl.obolibrary.org/obo/UO_",zp:"http://purl.obolibrary.org/obo/ZP_",zo:"https://linkeddata.cultureelerfgoed.nl/def/zo/",libeas:"https://w3id.org/libeas#",fro:"https://foundry.ai.mil/ontology/nas/fro/",ontoavida:"http://purl.obolibrary.org/obo/ONTOAVIDA_",sopharm:"http://purl.obolibrary.org/obo/SOPHARM_",duo:"http://purl.obolibrary.org/obo/DUO_",xlmod:"http://purl.obolibrary.org/obo/XLMOD_",pw:"http://purl.obolibrary.org/obo/PW_",omo:"http://purl.obolibrary.org/obo/OMO_",fovt:"http://purl.obolibrary.org/obo/FOVT_",phipo:"http://purl.obolibrary.org/obo/PHIPO_",gramene:"http://www.gramene.org/db/ontology/search?id=GRO:",spd:"http://purl.obolibrary.org/obo/SPD_",sepio:"http://purl.obolibrary.org/obo/SEPIO_",xco:"http://purl.obolibrary.org/obo/XCO_",meas:"https://graph.interoptx.org/meas/",nmr:"https://www.ebi.ac.uk/ols4/ontologies/nmrcv/terms?short_form=NMR:",imr:"http://www.inoh.org/ontology-viewer/cgi-bin/InohOVAttr.php?type=IMR&id=",fypo:"http://purl.obolibrary.org/obo/FYPO_",msl:"https://w3id.org/msl#",foodon:"http://purl.obolibrary.org/obo/FOODON_",isoprops:"https://w3id.org/isoprops#",zfs:"http://purl.obolibrary.org/obo/ZFS_",psm:"https://paul.ti.rw.fau.de/~jo00defe/ont/psm#",occo:"http://purl.obolibrary.org/obo/OCCO_",pao:"http://purl.obolibrary.org/obo/PAO_",fbcv:"http://purl.obolibrary.org/obo/FBcv_",symp:"http://purl.obolibrary.org/obo/SYMP_",cteno:"http://purl.obolibrary.org/obo/CTENO_",cams:"https://graph.interoptx.org/cams/schema/",ehdaa2:"http://purl.obolibrary.org/obo/EHDAA2_",fiaf:"https://ontology.fiafcore.org/",gallont:"http://purl.obolibrary.org/obo/GALLONT_",mco:"http://purl.obolibrary.org/obo/MCO_",ogsf:"http://purl.obolibrary.org/obo/OGSF_",credit:"https://credit.niso.org/",ypo:"http://purl.obolibrary.org/obo/YPO_",pgdso:"http://purl.obolibrary.org/obo/PGDSO_",loin:"http://w3id.org/loin#",ehda:"http://purl.obolibrary.org/obo/EHDA_",oba:"http://purl.obolibrary.org/obo/OBA_",t4fs:"http://purl.obolibrary.org/obo/T4FS_",eo:"http://purl.obolibrary.org/obo/EO_",zeco:"http://purl.obolibrary.org/obo/ZECO_",opmi:"http://purl.obolibrary.org/obo/OPMI_",ddanat:"http://purl.obolibrary.org/obo/DDANAT_",scdo:"http://purl.obolibrary.org/obo/SCDO_",xpo:"http://purl.obolibrary.org/obo/XPO_",dron:"http://purl.obolibrary.org/obo/DRON_",bila:"http://4dx.embl.de/4DXpress/reg/all/cview/gene.do?geneID=",gaz:"http://purl.obolibrary.org/obo/GAZ_",hancestro:"http://purl.obolibrary.org/obo/HANCESTRO_",geogeo:"http://purl.obolibrary.org/obo/GEO_",poro:"http://purl.obolibrary.org/obo/PORO_",fobi:"http://purl.obolibrary.org/obo/FOBI_",emapa:"http://purl.obolibrary.org/obo/EMAPA_",stato:"http://purl.obolibrary.org/obo/STATO_",ohmi:"http://purl.obolibrary.org/obo/OHMI_",cvdo:"http://purl.obolibrary.org/obo/CVDO_",caro:"http://purl.obolibrary.org/obo/CARO_",psdo:"http://purl.obolibrary.org/obo/PSDO_",obcs:"http://purl.obolibrary.org/obo/OBCS_",zfa:"http://purl.obolibrary.org/obo/ZFA_",fix:"http://purl.obolibrary.org/obo/FIX_",aism:"http://purl.obolibrary.org/obo/AISM_",nomen:"http://purl.obolibrary.org/obo/NOMEN_",edo:"http://semanticweb.org/edo#",cdno:"http://purl.obolibrary.org/obo/CDNO_",ceph:"http://purl.obolibrary.org/obo/CEPH_",micro:"http://purl.obolibrary.org/obo/MICRO_",wbbt:"http://purl.obolibrary.org/obo/WBbt_",colao:"http://purl.obolibrary.org/obo/COLAO_",ecto:"http://purl.obolibrary.org/obo/ECTO_",genepio:"http://purl.obolibrary.org/obo/GENEPIO_",gno:"http://purl.obolibrary.org/obo/GNO_",tahh:"http://purl.obolibrary.org/obo/TAHH_",loggerhead:"http://purl.obolibrary.org/obo/LOGGERHEAD_",iptc4xmpc:"http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/",mirnao:"http://purl.obolibrary.org/obo/MIRNAO_",pdro:"http://purl.obolibrary.org/obo/PDRO_",ncro:"http://purl.obolibrary.org/obo/NCRO_",bootstrep:"http://purl.obolibrary.org/obo/BOOTSTREP_",mao:"http://purl.obolibrary.org/obo/MAO_",mfmo:"http://purl.obolibrary.org/obo/MFMO_",multionto:"http://purl.org/net/multionto/",whyis:"http://vocab.rpi.edu/whyis/",ecocore:"http://purl.obolibrary.org/obo/ECOCORE_",aeo:"http://purl.obolibrary.org/obo/AEO_",ecao:"http://purl.obolibrary.org/obo/ECAO_",fbbi:"http://purl.obolibrary.org/obo/FBbi_",ato:"http://purl.obolibrary.org/obo/ATO_",lipro:"http://purl.obolibrary.org/obo/LIPRO_",tads:"http://purl.obolibrary.org/obo/TADS_",disdriv:"http://purl.obolibrary.org/obo/DISDRIV_",vto:"http://purl.obolibrary.org/obo/VTO_",miapa:"http://purl.obolibrary.org/obo/MIAPA_",cio:"http://purl.obolibrary.org/obo/CIO_",lepao:"http://purl.obolibrary.org/obo/LEPAO_",resid:"https://proteininformationresource.org/cgi-bin/resid?id=",interpro:"http://purl.obolibrary.org/obo/IPR_",ogg:"http://purl.obolibrary.org/obo/OGG_",miro:"http://purl.obolibrary.org/obo/MIRO_",zea:"http://purl.obolibrary.org/obo/ZEA_",mpbv:"http://meta-pfarrerbuch.evangelische-archive.de/vocabulary#",chiro:"http://purl.obolibrary.org/obo/CHIRO_",dgaterms:"https://w3id.org/dgaterms#",emobon:"http://www.embrc.eu/emobon/EmoBonOntology#",duodrl:"https://w3id.org/duodrl#",norse:"https://w3id.org/aksw/norse#",mcro:"https://www.ebi.ac.uk/ols4/ontologies/mcro/classes?obo_id=MCRO:",vario:"http://purl.obolibrary.org/obo/VariO_",aro:"http://purl.obolibrary.org/obo/ARO_",ngbo:"http://purl.obolibrary.org/obo/NGBO_",flopo:"http://purl.obolibrary.org/obo/FLOPO_",hso:"http://purl.obolibrary.org/obo/HSO_",upa:"http://www.grenoble.prabi.fr/obiwarehouse/unipathway/upa?upid=",amphx:"http://purl.obolibrary.org/obo/AMPHX_",fbsp:"http://purl.obolibrary.org/obo/FBSP_",rex:"http://purl.obolibrary.org/obo/REX_"};let CI=(()=>{class r{static _instance;_nsMap;static getInstance(){return this._instance||(this._instance=new r),this._instance}compactIRI(e){let n=this._nsMap;void 0===n&&(n=this._buildNSMap());let o=e;if(e.includes("#"))o=`${e.split("#")[0]}#`;else{const s=e.split("/");s.pop(),o=s.join("/")+"/"}if(void 0===o)return e;const i=n[o];return void 0===i?e:e.replace(o,`${i}:`)}expandIRI(e){const n=e.split(":")[0];return e.replace(`${n}:`,wi[n]??ie[n])}_buildNSMap(){const e={};return Object.keys(wi).forEach(n=>e[wi[n]]=n),Object.keys(ie).forEach(n=>e[ie[n]]=n),this._nsMap=e,e}}return r})();class DI{constructor(t,e,n,o,i){this._api=t,this._projectId=e,this._queryCache=o,this._graphType=i,this._currentLang=n,this._api.setLanguage(n),this._contentCategories=new sn([]),this._entityCategories=new sn([]),this._relationships=new sn([]),this.availableContentCategories=this._contentCategories.asReadonly(),this.availableEntityCategories=this._entityCategories.asReadonly(),this.availableEntityRelationships=this._relationships.asReadonly(),this.ready=this._load(n).catch(s=>console.error("[CueProjectSchema] Initial load failed:",s))}_api;_projectId;_queryCache;_graphType;_cache=new Map;_currentLang;_contentCategories;_entityCategories;_relationships;availableContentCategories;availableEntityCategories;availableEntityRelationships;ready;get language(){return this._api.language}setLanguage(t){this._currentLang!==t&&(this._currentLang=t,this._api.setLanguage(t),this._load(t).catch(e=>console.error("[CueProjectSchema] Language switch failed:",e)))}refresh(){var t=this;return(0,I.A)(function*(){const e=t._api.language;t._cache.delete(e),yield t._load(e)})()}_load(t){var e=this;return(0,I.A)(function*(){const n=e._cache.get(t);if(n)return void e._apply(n);const o=e._buildCategoriesQuery(t,"ContentCategory"),i=e._buildCategoriesQuery(t,"EntityCategory"),s=e._buildRelationshipsQuery(t);yield Tg(o+i+s,(0,I.A)(function*(){const[a,l,u]=yield Promise.all([e._runCategoriesQuery(o),e._runCategoriesQuery(i),e._runRelationshipsQuery(s)]);return{contentCategories:a,entityCategories:l,relationships:u}}),a=>{e._cache.set(t,a),e._currentLang===t&&e._apply(a)},e._queryCache)})()}_apply(t){this._contentCategories.set(t.contentCategories),this._entityCategories.set(t.entityCategories),this._relationships.set(t.relationships)}_fetchCategories(t,e){var n=this;return(0,I.A)(function*(){return n._runCategoriesQuery(n._buildCategoriesQuery(t,e))})()}_buildCategoriesQuery(t,e){return`PREFIX qcy: <${ie.qcy}>\nPREFIX skos: <${wi.skos}>\nSELECT ?iri ?parent (SAMPLE(?l) AS ?label)\nWHERE {\n ?iri a qcy:${e} .\n OPTIONAL { ?iri skos:prefLabel ?lang_label FILTER(LANG(?lang_label) = "${t}") }\n OPTIONAL { ?iri skos:prefLabel ?no_lang_label }\n BIND(COALESCE(?lang_label, ?no_lang_label) AS ?l)\n OPTIONAL { ?iri skos:broader ?parent }\n}\nGROUP BY ?iri ?parent`}_runCategoriesQuery(t){var e=this;return(0,I.A)(function*(){return(yield e._api.sparql(t,e._projectId,e._graphType)).results.bindings.filter(n=>void 0!==n.iri).map(n=>{const o=n.iri.value;return{iri:o,label:n.label?.value??o.split("#").at(-1)??o,parent:n.parent?.value}})})()}_fetchRelationships(t){var e=this;return(0,I.A)(function*(){return e._runRelationshipsQuery(e._buildRelationshipsQuery(t))})()}_buildRelationshipsQuery(t){return`PREFIX qcy: <${ie.qcy}>\nPREFIX rdfs: <${wi.rdfs}>\nSELECT ?iri ?parent (SAMPLE(?l) AS ?label)\nWHERE {\n ?x qcy:relatedEntity ?y ;\n ?iri ?y .\n OPTIONAL { ?iri rdfs:label ?lang_label FILTER(LANG(?lang_label) = "${t}") }\n OPTIONAL { ?iri rdfs:label ?no_lang_label }\n BIND(COALESCE(?lang_label, ?no_lang_label) AS ?l)\n OPTIONAL { ?iri rdfs:subPropertyOf ?parent }\n}\nGROUP BY ?iri ?parent`}_runRelationshipsQuery(t){var e=this;return(0,I.A)(function*(){return(yield e._api.sparql(t,e._projectId,e._graphType)).results.bindings.filter(n=>void 0!==n.iri).map(n=>{const o=n.iri.value;return{iri:o,label:n.label?.value??o.split("#").at(-1)??o,parent:n.parent?.value}})})()}}class Og{constructor(t,e,n=Sg,o,i,s=!1){this._api=t,this._projectId=e,this._queryCache=o,this._graphType=i,this._verbose=s,this.baseURL=`${n}${e}/`,this.entityInfoMap=this._entityInfoMapComputed,this.entityGraph=this._entityGraph.asReadonly(),this._entityOSMMap.subscribe(()=>this._checkPendingOSMFetches()),this._fetchEntityGraph().catch(a=>console.error("[CueProjectEntities] Entity graph fetch failed:",a))}_api;_projectId;_queryCache;_graphType;_verbose;baseURL;_entityDetails=new sn({});_entityDocuments=new sn({});_entityRelationships=new sn({});_entityOSMMap=new sn({});_osmWKTMap=new sn({});_fetchingOSMIds=new Set;_seenIds=new Set;_entityGraph=new sn(void 0);_entityInfoMapComputed=function Eg(r,t){const e=new Set;let n=t(),o=!1;const i=[],s=()=>{o=!0;for(const a of e)a()};for(const a of r)i.push(a.subscribe(s));return{get:()=>(o&&(n=t(),o=!1),n),subscribe:a=>(e.add(a),()=>e.delete(a)),destroy(){for(const a of i)a();e.clear()}}}([this._entityDetails,this._entityDocuments,this._entityRelationships,this._entityOSMMap,this._osmWKTMap],()=>this._computeEntityInfoMap());entityInfoMap;entityGraph;entityIri(t){return`${this.baseURL}${t}`}_resourceIri(t){return`${this.baseURL}${t}`}_log(t){this._verbose&&console.debug(`[CueProjectEntities pid=${this._projectId}] ${t}`)}reset(){this._entityDetails.set({}),this._entityDocuments.set({}),this._entityRelationships.set({}),this._entityOSMMap.set({}),this._osmWKTMap.set({}),this._entityGraph.set(void 0),this._fetchingOSMIds.clear(),this._seenIds.clear(),this._fetchEntityGraph().catch(t=>console.error("[CueProjectEntities] Entity graph fetch failed after reset:",t))}requestEntityData(t,e=!1){for(const s of t)this._seenIds.add(s);const n=t.filter(s=>void 0===this._entityDetails.get()[s]);if(0===n.length)return;this._log(`requestEntityData: ${n.length} new / ${t.length} requested | cumulative: ${this._seenIds.size} seen`);const o=n.map(s=>`r:${s}`).join(" ");this._api.sparql(`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${this.baseURL}>\nSELECT ?id (SAMPLE(?val) AS ?value) (GROUP_CONCAT(DISTINCT STR(?cat); SEPARATOR=";") AS ?categories) ?mentionCount\nWHERE {\n VALUES ?iri { ${o} }\n ?iri qcy:hasEntityCategory ?cat ;\n qcy:value ?val\n BIND(REPLACE(STR(?iri), "^.*/([^/]*)$", "$1") AS ?id)\n ${e?"{SELECT ?iri (COUNT(?mention) AS ?mentionCount)\n WHERE { ?mention qcy:resolvesTo ?iri } GROUP BY ?iri}":""}\n}\nGROUP BY ?id ?mentionCount`,this._projectId,this._graphType).then(s=>{const a=s,l={...this._entityDetails.get()};a.results.bindings.forEach(u=>{u.id&&(l[u.id.value]={value:u.value?.value??"",categories:u.categories?.value?.split(";").filter(Boolean)??[],mentionCount:u.mentionCount?parseInt(u.mentionCount.value,10):void 0})}),this._entityDetails.set(l),this._log(`entityDetails: ${Object.keys(l).length} with metadata / ${this._seenIds.size} seen (cumulative)`)}).catch(s=>console.error("[CueProjectEntities] requestEntityData failed:",s))}requestEntityLocations(t){var e=this;return(0,I.A)(function*(){const n=t.filter(u=>void 0===e._entityOSMMap.get()[u]);if(0===n.length)return;for(const u of t)e._seenIds.add(u);e._log(`requestEntityLocations: ${n.length} new / ${t.length} requested | cumulative: ${e._seenIds.size} seen`);const o={...e._entityOSMMap.get()};for(const u of n)o[u]={direct:[],indirect:[]};e._entityOSMMap.set(o);const i=n.map(u=>`r:${u}`).join(" "),s=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?id ?osm ?direct ?rels ?entityUUID\nWHERE {\n VALUES ?iri { ${i} }\n {\n SELECT ?iri ?osm ?direct\n WHERE {\n ?iri qcy:similarTo ?osm .\n FILTER STRSTARTS(STR(?osm), "https://www.openstreetmap.org/")\n BIND(true AS ?direct)\n }\n }\n UNION\n {\n SELECT ?iri ?osm ?direct ?entityUUID (GROUP_CONCAT(STR(?rel); SEPARATOR=";") AS ?rels)\n WHERE {\n ?iri qcy:relatedEntity ?loc .\n ?iri ?rel ?loc .\n ?loc qcy:similarTo ?osm .\n FILTER STRSTARTS(STR(?osm), "https://www.openstreetmap.org/")\n FILTER(?rel != qcy:relatedEntity)\n BIND(false AS ?direct)\n BIND(REPLACE(STR(?loc), "^.*/([^/]*)$", "$1") AS ?entityUUID)\n } GROUP BY ?iri ?osm ?direct ?entityUUID\n }\n BIND(REPLACE(STR(?iri), "^.*/([^/]*)$", "$1") AS ?id)\n}`,a=yield e._api.sparql(s,e._projectId,e._graphType),l={...e._entityOSMMap.get()};a.results.bindings.forEach(u=>{if(!u.id||!u.osm)return;const h=u.id.value,p=u.osm.value,_="true"===u.direct?.value,v=u.rels?.value?.split(";").filter(Boolean)??[],N=u.entityUUID?.value,G=l[h]??{direct:[],indirect:[]};_?G.direct.push(p):N&&G.indirect.push({osm:p,viaRels:v,entityUUID:N}),l[h]=G}),e._entityOSMMap.set(l),e._log(`entityOSMMap: ${Object.keys(l).length} with OSM / ${e._seenIds.size} seen (cumulative)`)})()}fetchEntityRelationships(t){var e=this;return(0,I.A)(function*(){const n=t.replace(/^.*\/([^/]*)$/,"$1");e._entityRelationships.set({...e._entityRelationships.get(),[n]:{incoming:[],outgoing:[]}});const[o,i]=yield Promise.all([e._fetchOutgoingRelationships(t),e._fetchIncomingRelationships(t)]),s={outgoing:o,incoming:i};return e._entityRelationships.set({...e._entityRelationships.get(),[n]:s}),s})()}fetchEntityDocuments(t){var e=this;return(0,I.A)(function*(){const n=t.replace(/^.*\/([^/]*)$/,"$1");e._entityDocuments.set({...e._entityDocuments.get(),[n]:[]}),void 0===e._entityDetails.get()[n]&&e.requestEntityData([n]);const o=`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n BIND(<${t}> AS ?iri)\n ?doc a qcy:FileContent ;\n qcy:about ?iri .\n BIND(REPLACE(STR(?doc), "^.*/([^/]*)$", "$1") AS ?id)\n}`,i=(yield e._api.sparql(o,e._projectId,e._graphType)).results.bindings.filter(s=>void 0!==s.id).map(s=>s.id.value);return e._entityDocuments.set({...e._entityDocuments.get(),[n]:i}),i})()}contentCategoriesInProject(){var t=this;return(0,I.A)(function*(e=!0){const o=`PREFIX qcy: <${ie.qcy}>\nPREFIX skos: <${wi.skos}>\nSELECT ?iri (SAMPLE(?l) AS ?label) ?count\nWHERE {\n ?iri a qcy:EntityCategory .\n OPTIONAL { ?iri skos:prefLabel ?lang_label FILTER(LANG(?lang_label) = "${t._api.language}") }\n OPTIONAL { ?iri skos:prefLabel ?no_lang_label }\n BIND(COALESCE(?lang_label, ?no_lang_label) AS ?l)\n ${e?"{ SELECT (COUNT(?x) AS ?count) ?iri where { ?x a qcy:CanonicalEntity ; qcy:hasEntityCategory ?iri } GROUP BY ?iri }":""}\n}\nGROUP BY ?iri ?count\nORDER BY ${e?"DESC(?count)":"ASC(?label)"}`;return(yield t._api.sparql(o,t._projectId,t._graphType)).results.bindings.filter(i=>void 0!==i.iri).map(i=>{const s=i.count?parseInt(i.count.value,10):0,a=i.label?.value??i.iri.value.split("#").at(-1);return{iri:i.iri.value,label:s>0?`${a} (${s})`:a??""}})}).apply(this,arguments)}entitiesByCategory(t){var e=this;return(0,I.A)(function*(n,o=!1){if(0===n.length)return[];const i=CI.getInstance(),a=n.map(u=>`<${(u=>u.startsWith("http://")||u.startsWith("https://")?u:i.expandIRI(u))(u)}>`).join(" "),l=o?`PREFIX qcy: <${ie.qcy}>\nSELECT ?id (SAMPLE(?val) AS ?value) (GROUP_CONCAT(DISTINCT STR(?allCat); SEPARATOR=";") AS ?categories)\nWHERE {\n VALUES ?filterCat { ${a} }\n ?iri a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?filterCat ;\n qcy:value ?val ;\n qcy:hasEntityCategory ?allCat .\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}\nGROUP BY ?id`:`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n VALUES ?filterCat { ${a} }\n ?iri a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?filterCat .\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}`;return(yield e._api.sparql(l,e._projectId,e._graphType)).results.bindings.filter(u=>u.id).map(u=>{const h=u.id.value,p={iri:e._resourceIri(h),uuid:h};return o?{...p,value:u.value?.value??"",categories:u.categories?.value?.split(";").filter(Boolean)??[]}:p})}).apply(this,arguments)}buildSummaryGraph(t,e){var n=this;return(0,I.A)(function*(){const o=CI.getInstance(),i=e?e.includes("://")?e:o.expandIRI(e):void 0,a=`PREFIX qcy: <${ie.qcy}>\nSELECT\n ?sourceCat\n ?predicate\n ?targetCat\n (COUNT(*) AS ?weight)\nWHERE {\n ?s a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?sourceCat .\n ?o a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?targetCat .\n ?s ?predicate ?o .\n FILTER(isIRI(?s) && isIRI(?o))\n FILTER(?predicate != qcy:relatedEntity)\n${i?` FILTER(?sourceCat = <${i}> || ?targetCat = <${i}>)`:""}\n}\nGROUP BY ?sourceCat ?predicate ?targetCat\nORDER BY DESC(?weight)`,l=yield n._api.sparql(a,n._projectId,n._graphType),u=l.results.bindings.filter(h=>h.sourceCat&&h.predicate&&h.targetCat);if("graph"===t){const h=new Set,p=[];for(const _ of u){const v=_.sourceCat.value,N=_.predicate.value,G=_.targetCat.value,nt=parseInt(_.weight.value,10);h.add(v),h.add(G),p.push({sourceID:v,predicate:N,targetID:G,weight:nt})}return{entities:Array.from(h).map(_=>({iri:_})),relations:p}}if("md"===t){const h=u.map(N=>({src:o.compactIRI(N.sourceCat.value),pred:o.compactIRI(N.predicate.value),tgt:o.compactIRI(N.targetCat.value),weight:parseInt(N.weight.value,10)}));if(0===h.length)return"(no results)";const p=Math.max(...h.map(N=>N.src.length)),_=Math.max(...h.map(N=>N.pred.length)),v=Math.max(...h.map(N=>N.tgt.length));return h.map(N=>`${N.src.padEnd(p)} -> ${N.pred.padEnd(_)} -> ${N.tgt.padEnd(v)} (${N.weight})`).join("\n")}return l})()}_computeEntityInfoMap(){const t=this._entityDetails.get(),e=this._entityDocuments.get(),n=this._entityRelationships.get(),o=this._entityOSMMap.get(),i=this._osmWKTMap.get(),s=new Set([...Object.keys(t),...Object.keys(o).filter(l=>{const u=o[l];return u.direct.length>0||u.indirect.length>0})]),a={};for(const l of s){const u=t[l],h=o[l];let p,_;if(h){const v=new Set;p=h.direct.filter(G=>void 0!==i[G]&&!v.has(G)&&!!v.add(G)).map(G=>({osmIRI:G,wkt:i[G]}));const N=new Map;for(const{osm:G,viaRels:nt,entityUUID:et}of h.indirect){const vt=i[G];if(vt)for(const yt of nt){const kt=`${yt}:${et}`,qt=N.get(kt)??{geometries:[],entityUUID:et};qt.geometries.some(At=>At.osmIRI===G)||(qt.geometries.push({osmIRI:G,wkt:vt}),N.set(kt,qt))}}N.size>0&&(_=Array.from(N.entries()).map(([G,{geometries:nt,entityUUID:et}])=>({rel:G.split(":")[0],geometries:nt,entityUUID:et})))}a[l]={value:u?.value??"",categories:u?.categories??[],mentionCount:u?.mentionCount,documentRefs:e[l],relationshipData:n[l],directMapGeometries:p,indirectMapGeometries:_}}return a}_fetchOutgoingRelationships(t){var e=this;return(0,I.A)(function*(){const n=`PREFIX qcy: <${ie.qcy}>\nSELECT ?rel ?related (SAMPLE(?val) AS ?nodeValue) (GROUP_CONCAT(STR(?cat); SEPARATOR=";") AS ?categories)\nWHERE {\n BIND(<${t}> AS ?s)\n ?s qcy:relatedEntity ?related ;\n ?rel ?related .\n ?related qcy:hasEntityCategory ?cat ;\n qcy:value ?val\n FILTER(?rel != qcy:relatedEntity)\n}\nGROUP BY ?rel ?related`,o=yield e._api.sparql(n,e._projectId,e._graphType),i=[],s={...e._entityDetails.get()};return o.results.bindings.forEach(a=>{if(!a.rel||!a.related)return;const l=a.categories?.value?.split(";").filter(Boolean)??[];i.push({relIRI:a.rel.value,nodeIRI:a.related.value,nodeValue:a.nodeValue?.value??"",nodeCategories:l});const u=a.related.value.replace(/^.*\/([^/]*)$/,"$1");s[u]={value:a.nodeValue?.value??"",categories:l}}),e._entityDetails.set(s),i})()}_fetchIncomingRelationships(t){var e=this;return(0,I.A)(function*(){const n=`PREFIX qcy: <${ie.qcy}>\nSELECT ?rel ?relating (SAMPLE(?val) AS ?nodeValue) (GROUP_CONCAT(STR(?cat); SEPARATOR=";") AS ?categories)\nWHERE {\n BIND(<${t}> AS ?s)\n ?relating qcy:relatedEntity ?s ;\n ?rel ?s .\n ?relating qcy:hasEntityCategory ?cat ;\n qcy:value ?val\n FILTER(?rel != qcy:relatedEntity)\n}\nGROUP BY ?rel ?relating`,o=yield e._api.sparql(n,e._projectId,e._graphType),i=[],s={...e._entityDetails.get()};return o.results.bindings.forEach(a=>{if(!a.rel||!a.relating)return;const l=a.categories?.value?.split(";").filter(Boolean)??[];i.push({relIRI:a.rel.value,nodeIRI:a.relating.value,nodeValue:a.nodeValue?.value??"",nodeCategories:l});const u=a.relating.value.replace(/^.*\/([^/]*)$/,"$1");s[u]={value:a.nodeValue?.value??"",categories:l}}),e._entityDetails.set(s),i})()}_fetchEntityGraph(){var t=this;return(0,I.A)(function*(){const e=`PREFIX qcy: <${ie.qcy}>\nSELECT ?e1Cat ?e2Cat (COUNT(?e1) AS ?e1Count) (COUNT(?e2) AS ?e2Count)\nWHERE {\n ?e1 a qcy:CanonicalEntity ;\n qcy:hasEntityCategory ?e1Cat ;\n qcy:relatedEntity ?e2 .\n ?e2 qcy:hasEntityCategory ?e2Cat\n}\nGROUP BY ?e1Cat ?e2Cat`;yield Tg(e,(0,I.A)(function*(){const n=yield t._api.sparql(e,t._projectId,t._graphType),o=[],i=[];return n.results.bindings.forEach(s=>{if(!s.e1Cat||!s.e2Cat)return;const a=s.e1Cat.value,l=s.e2Cat.value,u=s.e1Count&&parseInt(s.e1Count.value,10)||20,h=s.e2Count&&parseInt(s.e2Count.value,10)||20;o.some(p=>p.iri===a)||o.push({iri:a,size:u}),o.some(p=>p.iri===l)||o.push({iri:l,size:h}),i.push({sourceID:a,targetID:l})}),{entities:o,relations:i}}),n=>t._entityGraph.set(n),t._queryCache)})()}_checkPendingOSMFetches(){const t=this._entityOSMMap.get(),e=this._osmWKTMap.get(),n=[];for(const o of Object.values(t)){for(const i of o.direct)!e[i]&&!this._fetchingOSMIds.has(i)&&n.push(i);for(const{osm:i}of o.indirect)!e[i]&&!this._fetchingOSMIds.has(i)&&n.push(i)}if(0!==n.length){for(const o of n)this._fetchingOSMIds.add(o);this._fetchOSMLocations(n).catch(o=>console.error("[CueProjectEntities] OSM WKT fetch failed:",o))}}_fetchOSMLocations(t){var e=this;return(0,I.A)(function*(){const n=t.filter(l=>!l.includes("/relation/"));if(0===n.length)return;const o=n.map(l=>`<${l}>`).join(" "),i=`PREFIX geo: <${wi.geo}>\nSELECT * WHERE {\n VALUES ?s { ${o} }\n SERVICE <https://qlever.dev/api/osm-planet> {\n ?s geo:hasGeometry/geo:asWKT ?wkt\n }\n}`,s=yield e._api.sparql(i,e._projectId,e._graphType),a={...e._osmWKTMap.get()};s.results.bindings.forEach(l=>{!l.s||!l.wkt||(a[l.s.value]=l.wkt.value,e._fetchingOSMIds.delete(l.s.value))}),e._osmWKTMap.set(a)})()}}var q=(r=>(r.AUTOMATION="automation",r.ARCHIVE="archive",r.AUDIO="audio",r.BACKUP="backup",r.BINARY="binary",r.BIM="bim",r.CAD="cad",r.DATA="data",r.EMAIL="email",r.FONT="font",r.GEOSPATIAL="geospatial",r.IMAGE="image",r.INSTALLER="installer",r.MARKUP="markup",r.MULTIMEDIA="multimedia",r.PLANNING="planning",r.PRESENTATION="presentation",r.SCRIPT="script",r.SPREADSHEET="spreadsheet",r.TEXT="text",r.THREE_D="3d",r.UNKNOWN="unknown",r.VIDEO="video",r))(q||{});const Lg={".aac":{type:q.AUDIO,open:!0,suffix:".aac",mime:"audio/aac"},".abw":{type:q.TEXT,open:!0,suffix:".abw",mime:"application/x-abiword"},".arc":{type:q.ARCHIVE,open:!1,suffix:".arc",mime:"application/x-freearc"},".avif":{type:q.IMAGE,open:!0,suffix:".avif",mime:"image/avif"},".avi":{type:q.VIDEO,open:!0,suffix:".avi",mime:"video/x-msvideo"},".apng":{type:q.IMAGE,open:!0,suffix:".apng",mime:"image/apng"},".bak":{type:q.BACKUP,open:!1,suffix:".bak",mime:"application/octet-stream"},".bin":{type:q.BINARY,open:!1,suffix:".bin",mime:"application/octet-stream"},".bmc":{type:q.BIM,open:!1,suffix:".bmc",mime:"application/octet-stream"},".bmp":{type:q.IMAGE,open:!0,suffix:".bmp",mime:"image/bmp"},".bz":{type:q.ARCHIVE,open:!0,suffix:".bz",mime:"application/x-bzip"},".bz2":{type:q.ARCHIVE,open:!0,suffix:".bz2",mime:"application/x-bzip2"},".c3d":{type:q.THREE_D,open:!0,suffix:".c3d",mime:"application/octet-stream"},".cpg":{type:q.GEOSPATIAL,open:!0,suffix:".cpg",mime:"text/plain"},".css":{type:q.MARKUP,open:!0,suffix:".css",mime:"text/css"},".csv":{type:q.DATA,open:!0,suffix:".csv",mime:"text/csv"},".dat":{type:q.DATA,open:!1,suffix:".dat",mime:"application/octet-stream"},".dbf":{type:q.DATA,open:!0,suffix:".dbf",mime:"application/x-dbf"},".doc":{type:q.TEXT,open:!1,suffix:".doc",mime:"application/msword"},".docx":{type:q.TEXT,open:!0,suffix:".docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},".e57":{type:q.THREE_D,open:!0,suffix:".e57",mime:"application/octet-stream"},".epub":{type:q.TEXT,open:!0,suffix:".epub",mime:"application/epub+zip"},".exe":{type:q.INSTALLER,open:!1,suffix:".exe",mime:"application/x-msdownload"},".ffs":{type:q.AUTOMATION,open:!1,suffix:".ffs",mime:"application/octet-stream"},".fme":{type:q.AUTOMATION,open:!1,suffix:".fme",mime:"application/octet-stream"},".fmw":{type:q.AUTOMATION,open:!1,suffix:".fmw",mime:"application/octet-stream"},".gh":{type:q.THREE_D,open:!1,suffix:".gh",mime:"application/octet-stream"},".gz":{type:q.ARCHIVE,open:!0,suffix:".gz",mime:"application/gzip"},".gif":{type:q.IMAGE,open:!0,suffix:".gif",mime:"image/gif"},".html":{type:q.MARKUP,open:!0,suffix:".html",mime:"text/html"},".htm":{type:q.MARKUP,open:!0,suffix:".htm",mime:"text/html"},".ico":{type:q.IMAGE,open:!1,suffix:".ico",mime:"image/x-icon"},".ics":{type:q.DATA,open:!0,suffix:".ics",mime:"text/calendar"},".jar":{type:q.ARCHIVE,open:!0,suffix:".jar",mime:"application/java-archive"},".jpg":{type:q.IMAGE,open:!0,suffix:".jpg",mime:"image/jpeg"},".jpeg":{type:q.IMAGE,open:!0,suffix:".jpeg",mime:"image/jpeg"},".json":{type:q.DATA,open:!0,suffix:".json",mime:"application/json"},".jsonld":{type:q.DATA,open:!0,suffix:".jsonld",mime:"application/ld+json"},".js":{type:q.SCRIPT,open:!0,suffix:".js",mime:"application/javascript"},".msi":{type:q.INSTALLER,open:!1,suffix:".msi",mime:"application/x-msdownload"},".mov":{type:q.VIDEO,open:!0,suffix:".mov",mime:"video/quicktime"},".mp3":{type:q.AUDIO,open:!0,suffix:".mp3",mime:"audio/mpeg"},".mp4":{type:q.VIDEO,open:!0,suffix:".mp4",mime:"video/mp4"},".mpeg":{type:q.VIDEO,open:!0,suffix:".mpeg",mime:"video/mpeg"},".mtl":{type:q.THREE_D,open:!0,suffix:".mtl",mime:"text/plain"},".odp":{type:q.PRESENTATION,open:!0,suffix:".odp",mime:"application/vnd.oasis.opendocument.presentation"},".ods":{type:q.SPREADSHEET,open:!0,suffix:".ods",mime:"application/vnd.oasis.opendocument.spreadsheet"},".odt":{type:q.TEXT,open:!0,suffix:".odt",mime:"application/vnd.oasis.opendocument.text"},".oga":{type:q.AUDIO,open:!0,suffix:".oga",mime:"audio/ogg"},".ogg":{type:q.AUDIO,open:!0,suffix:".ogg",mime:"audio/ogg"},".ogv":{type:q.VIDEO,open:!0,suffix:".ogv",mime:"video/ogg"},".ogx":{type:q.VIDEO,open:!0,suffix:".ogx",mime:"application/octet-stream"},".otf":{type:q.FONT,open:!0,suffix:".otf",mime:"font/otf"},".png":{type:q.IMAGE,open:!0,suffix:".png",mime:"image/png"},".pdf":{type:q.TEXT,open:!0,suffix:".pdf",mime:"application/pdf"},".php":{type:q.SCRIPT,open:!0,suffix:".php",mime:"application/x-httpd-php"},".pkg":{type:q.INSTALLER,open:!1,suffix:".pkg",mime:"application/octet-stream"},".ppt":{type:q.PRESENTATION,open:!1,suffix:".ppt",mime:"application/vnd.ms-powerpoint"},".pptx":{type:q.PRESENTATION,open:!0,suffix:".pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"},".ps":{type:q.IMAGE,open:!1,suffix:".ps",mime:"application/postscript"},".rar":{type:q.ARCHIVE,open:!1,suffix:".rar",mime:"application/vnd.rar"},".rcp":{type:q.THREE_D,open:!1,suffix:".rcp",mime:"application/octet-stream"},".rtf":{type:q.TEXT,open:!0,suffix:".rtf",mime:"application/rtf"},".sbn":{type:q.GEOSPATIAL,open:!1,suffix:".sbn",mime:"application/octet-stream"},".sbx":{type:q.GEOSPATIAL,open:!1,suffix:".sbx",mime:"application/octet-stream"},".shx":{type:q.GEOSPATIAL,open:!0,suffix:".shx",mime:"application/octet-stream"},".sh":{type:q.SCRIPT,open:!0,suffix:".sh",mime:"application/x-sh"},".slk":{type:q.DATA,open:!0,suffix:".slk",mime:"application/vnd.ms-excel"},".svg":{type:q.IMAGE,open:!0,suffix:".svg",mime:"image/svg+xml"},".tar":{type:q.ARCHIVE,open:!0,suffix:".tar",mime:"application/x-tar"},".tiff":{type:q.IMAGE,open:!0,suffix:".tiff",mime:"image/tiff"},".tif":{type:q.IMAGE,open:!0,suffix:".tif",mime:"image/tiff"},".ttf":{type:q.FONT,open:!0,suffix:".ttf",mime:"font/ttf"},".txt":{type:q.TEXT,open:!0,suffix:".txt",mime:"text/plain"},".vgl":{type:q.THREE_D,open:!1,suffix:".vgl",mime:"application/octet-stream"},".vwx":{type:q.CAD,open:!1,suffix:".vwx",mime:"application/octet-stream"},".wav":{type:q.AUDIO,open:!0,suffix:".wav",mime:"audio/wav"},".webm":{type:q.VIDEO,open:!0,suffix:".webm",mime:"video/webm"},".webp":{type:q.IMAGE,open:!0,suffix:".webp",mime:"image/webp"},".wmv":{type:q.VIDEO,open:!0,suffix:".wmv",mime:"video/x-ms-wmv"},".woff":{type:q.FONT,open:!0,suffix:".woff",mime:"font/woff"},".woff2":{type:q.FONT,open:!0,suffix:".woff2",mime:"font/woff2"},".xls":{type:q.SPREADSHEET,open:!1,suffix:".xls",mime:"application/vnd.ms-excel"},".xlsx":{type:q.SPREADSHEET,open:!0,suffix:".xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},".xhtml":{type:q.MARKUP,open:!0,suffix:".xhtml",mime:"application/xhtml+xml"},".xml":{type:q.DATA,open:!0,suffix:".xml",mime:"application/xml"},".xyz":{type:q.THREE_D,open:!0,suffix:".xyz",mime:"chemical/x-xyz"},".zip":{type:q.ARCHIVE,open:!0,suffix:".zip",mime:"application/zip"},".7z":{type:q.ARCHIVE,open:!0,suffix:".7z",mime:"application/x-7z-compressed"},".eml":{type:q.EMAIL,open:!0,suffix:".eml",mime:"message/rfc822"},".emlx":{type:q.EMAIL,open:!0,suffix:".emlx",mime:"application/octet-stream"},".mbx":{type:q.EMAIL,open:!0,suffix:".mbx",mime:"application/mbox"},".md":{type:q.TEXT,open:!0,suffix:".md",mime:"text/markdown"},".msg":{type:q.EMAIL,open:!1,suffix:".msg",mime:"application/vnd.ms-outlook"},".rst":{type:q.TEXT,open:!0,suffix:".rst",mime:"text/x-rst"},".heic":{type:q.IMAGE,open:!1,suffix:".heic",mime:"image/heic"},".mpp":{type:q.PLANNING,open:!1,suffix:".mpp",mime:"application/vnd.ms-project"},".tsv":{type:q.DATA,open:!0,suffix:".tsv",mime:"text/tab-separated-values"},".b3dm":{type:q.THREE_D,open:!0,suffix:".b3dm",mime:"application/octet-stream"},".i3dm":{type:q.THREE_D,open:!0,suffix:".i3dm",mime:"application/octet-stream"},".pnts":{type:q.THREE_D,open:!1,suffix:".pnts",mime:"application/octet-stream"},".cmpt":{type:q.THREE_D,open:!1,suffix:".cmpt",mime:"application/octet-stream"},".gltf":{type:q.THREE_D,open:!0,suffix:".gltf",mime:"model/gltf+json"},".glb":{type:q.THREE_D,open:!0,suffix:".glb",mime:"model/gltf-binary"},".ifc":{type:q.BIM,open:!0,suffix:".ifc",mime:"application/x-step"},".ifczip":{type:q.BIM,open:!0,suffix:".ifczip",mime:"application/zip"},".ifcxml":{type:q.BIM,open:!0,suffix:".ifcxml",mime:"application/xml"},".3dm":{type:q.CAD,open:!1,suffix:".3dm",mime:"application/vnd.x-rhino3dm"},".3ds":{type:q.THREE_D,open:!1,suffix:".3ds",mime:"image/x-3ds"},".ghp":{type:q.CAD,open:!1,suffix:".ghp",mime:"application/octet-stream"},".rvt":{type:q.BIM,open:!1,suffix:".rvt",mime:"application/octet-stream"},".rfa":{type:q.BIM,open:!1,suffix:".rfa",mime:"application/octet-stream"},".rft":{type:q.BIM,open:!1,suffix:".rft",mime:"application/octet-stream"},".rte":{type:q.BIM,open:!1,suffix:".rte",mime:"application/octet-stream"},".pla":{type:q.BIM,open:!1,suffix:".pla",mime:"application/octet-stream"},".pln":{type:q.BIM,open:!1,suffix:".pln",mime:"application/octet-stream"},".gsm":{type:q.BIM,open:!1,suffix:".gsm",mime:"application/octet-stream"},".smc":{type:q.BIM,open:!1,suffix:".smc",mime:"application/octet-stream"},".bcf":{type:q.BIM,open:!0,suffix:".bcf",mime:"application/octet-stream"},".dwg":{type:q.CAD,open:!1,suffix:".dwg",mime:"application/acad"},".dwl":{type:q.CAD,open:!1,suffix:".dwl",mime:"application/octet-stream"},".dxf":{type:q.CAD,open:!0,suffix:".dxf",mime:"image/vnd.dxf"},".dgn":{type:q.CAD,open:!1,suffix:".dgn",mime:"application/octet-stream"},".nwd":{type:q.BIM,open:!1,suffix:".nwd",mime:"application/octet-stream"},".obj":{type:q.THREE_D,open:!0,suffix:".obj",mime:"text/plain"},".c4d":{type:q.THREE_D,open:!1,suffix:".c4d",mime:"application/octet-stream"},".teklastructures":{type:q.BIM,open:!1,suffix:".teklastructures",mime:"application/octet-stream"},".pts":{type:q.THREE_D,open:!1,suffix:".pts",mime:"application/octet-stream"},".las":{type:q.THREE_D,open:!0,suffix:".las",mime:"application/octet-stream"},".laz":{type:q.THREE_D,open:!0,suffix:".laz",mime:"application/octet-stream"},".usdz":{type:q.THREE_D,open:!0,suffix:".usdz",mime:"model/vnd.usdz+zip"},".usda":{type:q.THREE_D,open:!0,suffix:".usda",mime:"application/octet-stream"},".usdc":{type:q.THREE_D,open:!0,suffix:".usdc",mime:"application/octet-stream"},".usd":{type:q.THREE_D,open:!0,suffix:".usd",mime:"application/octet-stream"},".psd":{type:q.IMAGE,open:!1,suffix:".psd",mime:"image/vnd.adobe.photoshop"},".psp":{type:q.IMAGE,open:!1,suffix:".psp",mime:"image/x-paintshoppro"},".ai":{type:q.IMAGE,open:!1,suffix:".ai",mime:"application/postscript"},".skp":{type:q.THREE_D,open:!1,suffix:".skp",mime:"application/vnd.sketchup.skp"},".stl":{type:q.THREE_D,open:!0,suffix:".stl",mime:"model/stl"},".fbx":{type:q.THREE_D,open:!0,suffix:".fbx",mime:"application/octet-stream"},".kml":{type:q.GEOSPATIAL,open:!0,suffix:".kml",mime:"application/vnd.google-earth.kml+xml"},".shp":{type:q.GEOSPATIAL,open:!0,suffix:".shp",mime:"application/octet-stream"},".fragments":{type:q.BIM,open:!0,suffix:".fragments",mime:"application/octet-stream"}};class Hl{constructor(t,e,n,o=Sg,i,s,a=!1){this._api=t,this._projectId=e,this._queryCache=i,this._graphType=s,this._verbose=a,this.baseURL=`${o}${e}/`,this._currentLang=n??this._api.language,this.documentInfoMap=this._documentInfoMap.asReadonly(),this.projectDocumentsData=this._projectDocumentsData.asReadonly()}_api;_projectId;_queryCache;_graphType;_verbose;baseURL;_currentLang;_documentInfoMap=new sn({});_seenIds=new Set;_projectDocumentsData=new sn({duplicateCount:0,documentsBySuffix:{},documentsByContentCategory:{}});documentInfoMap;projectDocumentsData;reset(){this._documentInfoMap.set({}),this._seenIds.clear(),this._projectDocumentsData.set({duplicateCount:0,documentsBySuffix:{},documentsByContentCategory:{}})}setLanguage(t){this._currentLang!==t&&(this._currentLang=t,this._api.setLanguage(t),this._documentInfoMap.set({}))}fetchOverview(){var t=this;return(0,I.A)(function*(){t._projectDocumentsData.set({duplicateCount:0,documentsBySuffix:{},documentsByContentCategory:{}});const e=t._buildDocumentsBySuffixQuery(),n=t._buildDocumentsByContentCategoryQuery(),o=t._buildDuplicateCountQuery();yield Tg(e+n+o,(0,I.A)(function*(){const[i,s,a]=yield Promise.all([t._runDocumentsBySuffixQuery(e),t._runDocumentsByContentCategoryQuery(n),t._runDuplicateCountQuery(o)]);return{duplicateCount:a,documentsBySuffix:i,documentsByContentCategory:s}}),i=>t._projectDocumentsData.set(i),t._queryCache)})()}requestDocumentData(t){for(const n of t)this._seenIds.add(n);const e=t.filter(n=>void 0===this._documentInfoMap.get()[n]);0!==e.length&&(this._log(`requestDocumentData: ${e.length} new / ${t.length} requested | cumulative: ${this._seenIds.size} seen`),this._fetchDocumentInfoBatch(e).catch(n=>console.error("[CueProjectDocuments] requestDocumentData failed:",n)))}fetchDocumentData(t){var e=this;return(0,I.A)(function*(){const n=e._documentInfoMap.get(),o=t.filter(s=>void 0===n[s]);for(const s of t)e._seenIds.add(s);o.length>0&&(yield e._fetchDocumentInfoBatch(o));const i=e._documentInfoMap.get();return Object.fromEntries(t.filter(s=>void 0!==i[s]).map(s=>[s,i[s]]))})()}fetchDocumentDataSimple(t){var e=this;return(0,I.A)(function*(){const n=e._documentInfoMap.get(),o=t.filter(s=>void 0===n[s]);for(const s of t)e._seenIds.add(s);o.length>0&&(yield e._fetchSimpleDocumentInfoBatch(o));const i=e._documentInfoMap.get();return Object.fromEntries(t.filter(s=>void 0!==i[s]).map(s=>[s,i[s]]))})()}fetchAlternativeRepresentations(t){var e=this;return(0,I.A)(function*(){const n=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?altId ?contentIRI ?suffix ?rrp\nWHERE {\n r:${t} qcy:alternativeRepresentation ?contentIRI .\n BIND(REPLACE(STR(?contentIRI), "^.*/([^/]*)$", "$1") AS ?altId)\n ?contentIRI qcy:hasFileLocation ?loc .\n ?loc qcy:suffix ?suffix .\n OPTIONAL { ?loc qcy:remoteRelativePath ?rrp }\n}`,o=yield e._api.sparql(n,e._projectId,e._graphType),i={...e._documentInfoMap.get()},s=[];return o.results.bindings.forEach(a=>{if(!a.altId||!a.contentIRI)return;const l=a.altId.value,u={id:l,contentIRI:a.contentIRI.value,path:"",suffix:a.suffix?.value??"",size:0,tags:[],categories:[],remoteRelativePath:a.rrp?.value};i[l]=u,s.push(u)}),e._documentInfoMap.set(i),s})()}randomFilePath(){var t=this;return(0,I.A)(function*(){const e=`PREFIX qcy: <${ie.qcy}>\nSELECT ?path\nWHERE {\n ?fl a qcy:FileLocation ;\n qcy:filePath ?path .\n}\nLIMIT 1`;return(yield t._api.sparql(e,t._projectId,t._graphType)).results.bindings[0]?.path?.value??null})()}documentsBySuffix(t){var e=this;return(0,I.A)(function*(n,o=!1){if(0===n.length)return[];const i=n.map(a=>(a.startsWith(".")?a:`.${a}`).toLowerCase()).map(a=>`"${a}"`).join(" "),s=o?`PREFIX qcy: <${ie.qcy}>\nSELECT ?id (SAMPLE(?fp) AS ?path) ?suffix (MAX(?sz) AS ?size)\nWHERE {\n VALUES ?suffix { ${i} }\n ?iri a qcy:FileContent ;\n qcy:sizeBytes ?sz ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:suffix ?suffix ;\n qcy:filePath ?fp .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix`:`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n VALUES ?suffix { ${i} }\n ?iri a qcy:FileContent ;\n qcy:hasFileLocation/qcy:suffix ?suffix .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}`;return(yield e._api.sparql(s,e._projectId,e._graphType)).results.bindings.filter(a=>a.id).map(a=>{const l=a.id.value,u={iri:e._resourceIri(l),uuid:l};return o?{...u,path:a.path?.value??"",suffix:a.suffix?.value??"",size:a.size?parseInt(a.size.value,10):0}:u})}).apply(this,arguments)}documentsByFileType(t,e=!1){const n=new Set(t),o=Object.values(Lg).filter(i=>n.has(i.type)).map(i=>i.suffix);return this.documentsBySuffix(o,e)}documentsByContentCategory(t){var e=this;return(0,I.A)(function*(n,o=!1){if(0===n.length)return[];const i=n.map(a=>`<${a}>`).join(" "),s=o?`PREFIX qcy: <${ie.qcy}>\nSELECT ?id (SAMPLE(?fp) AS ?path) ?suffix (MAX(?sz) AS ?size)\nWHERE {\n VALUES ?cat { ${i} }\n ?iri a qcy:FileContent ;\n qcy:hasContentCategory ?cat ;\n qcy:sizeBytes ?sz ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:suffix ?suffix ;\n qcy:filePath ?fp .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix`:`PREFIX qcy: <${ie.qcy}>\nSELECT DISTINCT ?id\nWHERE {\n VALUES ?cat { ${i} }\n ?iri a qcy:FileContent ;\n qcy:hasContentCategory ?cat .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?iri }\n BIND(REPLACE(STR(?iri), "^.*/", "") AS ?id)\n}`;return(yield e._api.sparql(s,e._projectId,e._graphType)).results.bindings.filter(a=>a.id).map(a=>{const l=a.id.value,u={iri:e._resourceIri(l),uuid:l};return o?{...u,path:a.path?.value??"",suffix:a.suffix?.value??"",size:a.size?parseInt(a.size.value,10):0}:u})}).apply(this,arguments)}documentsByMime(t,e=!1){const n=new Set(t),o=Object.values(Lg).filter(i=>n.has(i.mime)).map(i=>i.suffix);return this.documentsBySuffix(o,e)}_resourceIri(t){return`${this.baseURL}${t}`}_log(t){this._verbose&&console.debug(`[CueProjectDocuments pid=${this._projectId}] ${t}`)}_fetchDocumentInfoBatch(t){var e=this;return(0,I.A)(function*(){const n=t.map(u=>`r:${u}`).join(" "),o=e._api.language,i=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?id ?suffix ?size ?subject ?summary\n (SAMPLE(?fp) AS ?path)\n (GROUP_CONCAT(DISTINCT ?tag; SEPARATOR=";") AS ?tags)\n (GROUP_CONCAT(DISTINCT STR(?cat); SEPARATOR=";") AS ?categories)\nWHERE {\n VALUES ?contentIRI { ${n} }\n ?contentIRI qcy:sizeBytes ?size ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:filePath ?fp ;\n qcy:suffix ?suffix .\n OPTIONAL { ?contentIRI qcy:hasContentCategory ?cat }\n OPTIONAL { ?contentIRI qcy:tag ?tag }\n OPTIONAL { ?loc qcy:remoteProviderId ?pid }\n\n OPTIONAL { ?contentIRI qcy:subject ?lang_subj FILTER(LANG(?lang_subj) = "${o}") }\n OPTIONAL { ?contentIRI qcy:subject ?no_lang_subj }\n BIND(COALESCE(?lang_subj, ?no_lang_subj) AS ?subject)\n\n OPTIONAL { ?contentIRI qcy:textSummary ?lang_summary FILTER(LANG(?lang_summary) = "${o}") }\n OPTIONAL { ?contentIRI qcy:textSummary ?no_lang_summary }\n BIND(COALESCE(?lang_summary, ?no_lang_summary) AS ?summary)\n\n BIND(REPLACE(STR(?contentIRI), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix ?size ?subject ?summary`,s=yield e._api.sparql(i,e._projectId),a={...e._documentInfoMap.get()},l={};return s.results.bindings.forEach(u=>{if(!u.id)return;const h=u.id.value,p={id:h,contentIRI:e._resourceIri(h),path:u.path?.value??"",suffix:u.suffix?.value??"",size:u.size?parseInt(u.size.value,10):0,tags:u.tags?.value?.split(";").filter(Boolean)??[],categories:u.categories?.value?.split(";").filter(Boolean)??[],subject:u.subject?.value,summary:u.summary?.value,providerId:u.pid?.value};a[h]=p,l[h]=p}),e._documentInfoMap.set(a),e._log(`fetchDocumentInfoBatch: ${Object.keys(l).length} fetched | cumulative: ${Object.keys(a).length} with metadata / ${e._seenIds.size} seen`),l})()}_fetchSimpleDocumentInfoBatch(t){var e=this;return(0,I.A)(function*(){const n=t.map(l=>`r:${l}`).join(" "),o=`PREFIX qcy: <${ie.qcy}>\nPREFIX r: <${e.baseURL}>\nSELECT ?id ?suffix ?size (SAMPLE(?fp) AS ?path)\nWHERE {\n VALUES ?contentIRI { ${n} }\n ?contentIRI qcy:sizeBytes ?size ;\n qcy:hasFileLocation ?loc .\n ?loc qcy:filePath ?fp ;\n qcy:suffix ?suffix .\n BIND(REPLACE(STR(?contentIRI), "^.*/", "") AS ?id)\n}\nGROUP BY ?id ?suffix ?size`,i=yield e._api.sparql(o,e._projectId,e._graphType),s={...e._documentInfoMap.get()},a={};return i.results.bindings.forEach(l=>{if(!l.id)return;const u=l.id.value,h=s[u],p={id:u,contentIRI:e._resourceIri(u),path:l.path?.value??h?.path??u,suffix:l.suffix?.value??h?.suffix??"",size:l.size?parseInt(l.size.value,10):h?.size??0,tags:h?.tags??[],categories:h?.categories??[],subject:h?.subject,summary:h?.summary,providerId:h?.providerId};s[u]=p,a[u]=p}),e._documentInfoMap.set(s),e._log(`fetchSimpleDocumentInfoBatch: ${Object.keys(a).length} fetched | cumulative: ${Object.keys(s).length} with metadata / ${e._seenIds.size} seen`),a})()}_fetchDocumentsBySuffix(){var t=this;return(0,I.A)(function*(){return t._runDocumentsBySuffixQuery(t._buildDocumentsBySuffixQuery())})()}_buildDocumentsBySuffixQuery(){return`PREFIX qcy: <${ie.qcy}>\nSELECT ?ext (SUM(?size) AS ?totalSize) (COUNT(*) AS ?docCount)\nWHERE {\n {\n SELECT DISTINCT ?fc ?ext ?size\n WHERE {\n ?fc a qcy:FileContent ;\n qcy:sizeBytes ?size ;\n qcy:hasFileLocation/qcy:suffix ?ext .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?fc }\n }\n }\n}\nGROUP BY ?ext\nORDER BY DESC(?docCount)`}_runDocumentsBySuffixQuery(t){var e=this;return(0,I.A)(function*(){const n=yield e._api.sparql(t,e._projectId,e._graphType),o={};return n.results.bindings.forEach(i=>{i.ext&&(o[i.ext.value]={size:i.totalSize?parseInt(i.totalSize.value,10):0,count:i.docCount?parseInt(i.docCount.value,10):0})}),o})()}_fetchDocumentsByContentCategory(){var t=this;return(0,I.A)(function*(){return t._runDocumentsByContentCategoryQuery(t._buildDocumentsByContentCategoryQuery())})()}_buildDocumentsByContentCategoryQuery(){return`PREFIX qcy: <${ie.qcy}>\nSELECT ?cat (SUM(?size) AS ?totalSize) (COUNT(*) AS ?docCount)\nWHERE {\n {\n SELECT DISTINCT ?fc ?cat ?size\n WHERE {\n ?fc a qcy:FileContent ;\n qcy:hasContentCategory ?cat ;\n qcy:sizeBytes ?size .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?fc }\n }\n }\n}\nGROUP BY ?cat\nORDER BY DESC(?docCount)`}_runDocumentsByContentCategoryQuery(t){var e=this;return(0,I.A)(function*(){const n=yield e._api.sparql(t,e._projectId,e._graphType),o={};return n.results.bindings.forEach(i=>{i.cat&&(o[i.cat.value]={size:i.totalSize?parseInt(i.totalSize.value,10):0,count:i.docCount?parseInt(i.docCount.value,10):0})}),o})()}_fetchDuplicateCount(){var t=this;return(0,I.A)(function*(){return t._runDuplicateCountQuery(t._buildDuplicateCountQuery())})()}_buildDuplicateCountQuery(){return`PREFIX qcy: <${ie.qcy}>\nSELECT (COUNT(*) AS ?count)\nWHERE {\n SELECT ?fc\n WHERE {\n ?fc a qcy:FileContent ;\n qcy:hasFileLocation ?fl .\n FILTER NOT EXISTS { ?x qcy:alternativeRepresentation ?fc }\n }\n GROUP BY ?fc\n HAVING (COUNT(?fl) > 1)\n}`}_runDuplicateCountQuery(t){var e=this;return(0,I.A)(function*(){const n=(yield e._api.sparql(t,e._projectId,e._graphType)).results.bindings[0];return n?.count?parseInt(n.count.value,10):0})()}}const{namedNode:oC}=H;oC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");const{namedNode:iC}=H;iC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");const{namedNode:aC}=H;aC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");const{namedNode:cC}=H;cC("http://www.w3.org/1999/02/22-rdf-syntax-ns#type")},3659(wn,Gt,Pt){"use strict";Pt.d(Gt,{MF:()=>ao,j6:()=>Qn,xZ:()=>Wo,om:()=>ee,Sx:()=>_r,KO:()=>Me});var I=Pt(467),xt=Pt(2040),mt=Pt(1919),Dt=Pt(7814);let Ae,be;const Y=new WeakMap,ot=new WeakMap,wt=new WeakMap,Ct=new WeakMap,Ut=new WeakMap;let H={get(B,U,Q){if(B instanceof IDBTransaction){if("done"===U)return ot.get(B);if("objectStoreNames"===U)return B.objectStoreNames||wt.get(B);if("store"===U)return Q.objectStoreNames[1]?void 0:Q.objectStore(Q.objectStoreNames[0])}return O(B[U])},set:(B,U,Q)=>(B[U]=Q,!0),has:(B,U)=>B instanceof IDBTransaction&&("done"===U||"store"===U)||U in B};function V(B){return"function"==typeof B?function A(B){return B!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Ht(){return be||(be=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(B)?function(...U){return B.apply(de(this),U),O(Y.get(this))}:function(...U){return O(B.apply(de(this),U))}:function(U,...Q){const gt=B.call(de(this),U,...Q);return wt.set(gt,U.sort?U.sort():[U]),O(gt)}}(B):(B instanceof IDBTransaction&&function tt(B){if(ot.has(B))return;const U=new Promise((Q,gt)=>{const St=()=>{B.removeEventListener("complete",Nt),B.removeEventListener("error",lt),B.removeEventListener("abort",lt)},Nt=()=>{Q(),St()},lt=()=>{gt(B.error||new DOMException("AbortError","AbortError")),St()};B.addEventListener("complete",Nt),B.addEventListener("error",lt),B.addEventListener("abort",lt)});ot.set(B,U)}(B),((B,U)=>U.some(Q=>B instanceof Q))(B,function Le(){return Ae||(Ae=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(B,H):B)}function O(B){if(B instanceof IDBRequest)return function Ot(B){const U=new Promise((Q,gt)=>{const St=()=>{B.removeEventListener("success",Nt),B.removeEventListener("error",lt)},Nt=()=>{Q(O(B.result)),St()},lt=()=>{gt(B.error),St()};B.addEventListener("success",Nt),B.addEventListener("error",lt)});return U.then(Q=>{Q instanceof IDBCursor&&Y.set(Q,B)}).catch(()=>{}),Ut.set(U,B),U}(B);if(Ct.has(B))return Ct.get(B);const U=V(B);return U!==B&&(Ct.set(B,U),Ut.set(U,B)),U}const de=B=>Ut.get(B),kr=["get","getKey","getAll","getAllKeys","count"],Ai=["put","add","delete","clear"],Cn=new Map;function hr(B,U){if(!(B instanceof IDBDatabase)||U in B||"string"!=typeof U)return;if(Cn.get(U))return Cn.get(U);const Q=U.replace(/FromIndex$/,""),gt=U!==Q,St=Ai.includes(Q);if(!(Q in(gt?IDBIndex:IDBObjectStore).prototype)||!St&&!kr.includes(Q))return;const Nt=function(){var lt=(0,I.A)(function*(Ce,...Yt){const Ln=this.transaction(Ce,St?"readwrite":"readonly");let Vn=Ln.store;return gt&&(Vn=Vn.index(Yt.shift())),(yield Promise.all([Vn[Q](...Yt),St&&Ln.done]))[0]});return function(Yt){return lt.apply(this,arguments)}}();return Cn.set(U,Nt),Nt}!function E(B){H=B(H)}(B=>({...B,get:(U,Q,gt)=>hr(U,Q)||B.get(U,Q,gt),has:(U,Q)=>!!hr(U,Q)||B.has(U,Q)}));class Xr{constructor(U){this.container=U}getPlatformInfoString(){return this.container.getProviders().map(Q=>{if(function Yr(B){return"VERSION"===B.getComponent()?.type}(Q)){const gt=Q.getImmediate();return`${gt.library}/${gt.version}`}return null}).filter(Q=>Q).join(" ")}}const Zr="@firebase/app",tn=new mt.Vy("@firebase/app"),Fo="@firebase/app-compat",eo="@firebase/analytics-compat",Dr="@firebase/analytics",Nn="@firebase/app-check-compat",Ri="@firebase/app-check",tr="@firebase/auth",er="@firebase/auth-compat",Uo="@firebase/database",dr="@firebase/data-connect",no="@firebase/database-compat",Si="@firebase/functions",Nr="@firebase/functions-compat",nr="@firebase/installations",pr="@firebase/installations-compat",rr="@firebase/messaging",jo="@firebase/messaging-compat",On="@firebase/performance",qo="@firebase/performance-compat",Re="@firebase/remote-config",ro="@firebase/remote-config-compat",Kn="@firebase/storage",Bo="@firebase/storage-compat",$o="@firebase/firestore",fr="@firebase/ai",It="@firebase/firestore-compat",zo="firebase",Ge="[DEFAULT]",We={[Zr]:"fire-core",[Fo]:"fire-core-compat",[Dr]:"fire-analytics",[eo]:"fire-analytics-compat",[Ri]:"fire-app-check",[Nn]:"fire-app-check-compat",[tr]:"fire-auth",[er]:"fire-auth-compat",[Uo]:"fire-rtdb",[dr]:"fire-data-connect",[no]:"fire-rtdb-compat",[Si]:"fire-fn",[Nr]:"fire-fn-compat",[nr]:"fire-iid",[pr]:"fire-iid-compat",[rr]:"fire-fcm",[jo]:"fire-fcm-compat",[On]:"fire-perf",[qo]:"fire-perf-compat",[Re]:"fire-rc",[ro]:"fire-rc-compat",[Kn]:"fire-gcs",[Bo]:"fire-gcs-compat",[$o]:"fire-fst",[It]:"fire-fst-compat",[fr]:"fire-vertex","fire-js":"fire-js",[zo]:"fire-js-all"},ae=new Map,bn=new Map,He=new Map;function Or(B,U){try{B.container.addComponent(U)}catch(Q){tn.debug(`Component ${U.name} failed to register with FirebaseApp ${B.name}`,Q)}}function ee(B){const U=B.name;if(He.has(U))return tn.debug(`There were multiple attempts to register component ${U}.`),!1;He.set(U,B);for(const Q of ae.values())Or(Q,B);for(const Q of bn.values())Or(Q,B);return!0}function Qn(B,U){const Q=B.container.getProvider("heartbeat").getImmediate({optional:!0});return Q&&Q.triggerHeartbeat(),B.container.getProvider(U)}function Wo(B){return null!=B&&void 0!==B.settings}const ke=new Dt.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class io{constructor(U,Q,gt){this._isDeleted=!1,this._options={...U},this._config={...Q},this._name=Q.name,this._automaticDataCollectionEnabled=Q.automaticDataCollectionEnabled,this._container=gt,this.container.addComponent(new xt.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(U){this.checkDestroyed(),this._automaticDataCollectionEnabled=U}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(U){this._isDeleted=U}checkDestroyed(){if(this.isDeleted)throw ke.create("app-deleted",{appName:this._name})}}const ao="12.8.0";function _r(B=Ge){const U=ae.get(B);if(!U&&B===Ge&&(0,Dt.T9)())return function an(B,U={}){let Q=B;"object"!=typeof U&&(U={name:U});const gt={name:Ge,automaticDataCollectionEnabled:!0,...U},St=gt.name;if("string"!=typeof St||!St)throw ke.create("bad-app-name",{appName:String(St)});if(Q||(Q=(0,Dt.T9)()),!Q)throw ke.create("no-options");const Nt=ae.get(St);if(Nt){if((0,Dt.bD)(Q,Nt.options)&&(0,Dt.bD)(gt,Nt.config))return Nt;throw ke.create("duplicate-app",{appName:St})}const lt=new xt.h1(St);for(const Yt of He.values())lt.addComponent(Yt);const Ce=new io(Q,gt,lt);return ae.set(St,Ce),Ce}();if(!U)throw ke.create("no-app",{appName:B});return U}function Me(B,U,Q){let gt=We[B]??B;Q&&(gt+=`-${Q}`);const St=gt.match(/\s|\//),Nt=U.match(/\s|\//);if(St||Nt){const lt=[`Unable to register library "${gt}" with version "${U}":`];return St&<.push(`library name "${gt}" contains illegal characters (whitespace or "/")`),St&&Nt&<.push("and"),Nt&<.push(`version name "${U}" contains illegal characters (whitespace or "/")`),void tn.warn(lt.join(" "))}ee(new xt.uA(`${gt}-version`,()=>({library:gt,version:U}),"VERSION"))}const b="firebase-heartbeat-store";let ht=null;function Rt(){return ht||(ht=function Ve(B,U,{blocked:Q,upgrade:gt,blocking:St,terminated:Nt}={}){const lt=indexedDB.open(B,U),Ce=O(lt);return gt&<.addEventListener("upgradeneeded",Yt=>{gt(O(lt.result),Yt.oldVersion,Yt.newVersion,O(lt.transaction),Yt)}),Q&<.addEventListener("blocked",Yt=>Q(Yt.oldVersion,Yt.newVersion,Yt)),Ce.then(Yt=>{Nt&&Yt.addEventListener("close",()=>Nt()),St&&Yt.addEventListener("versionchange",Ln=>St(Ln.oldVersion,Ln.newVersion,Ln))}).catch(()=>{}),Ce}("firebase-heartbeat-database",1,{upgrade:(B,U)=>{if(0===U)try{B.createObjectStore(b)}catch(Q){console.warn(Q)}}}).catch(B=>{throw ke.create("idb-open",{originalErrorMessage:B.message})})),ht}function at(){return(at=(0,I.A)(function*(B){try{const Q=(yield Rt()).transaction(b),gt=yield Q.objectStore(b).get(Bt(B));return yield Q.done,gt}catch(U){if(U instanceof Dt.g)tn.warn(U.message);else{const Q=ke.create("idb-get",{originalErrorMessage:U?.message});tn.warn(Q.message)}}})).apply(this,arguments)}function ce(B,U){return dt.apply(this,arguments)}function dt(){return(dt=(0,I.A)(function*(B,U){try{const gt=(yield Rt()).transaction(b,"readwrite");yield gt.objectStore(b).put(U,Bt(B)),yield gt.done}catch(Q){if(Q instanceof Dt.g)tn.warn(Q.message);else{const gt=ke.create("idb-set",{originalErrorMessage:Q?.message});tn.warn(gt.message)}}})).apply(this,arguments)}function Bt(B){return`${B.name}!${B.options.appId}`}class it{constructor(U){this.container=U,this._heartbeatsCache=null;const Q=this.container.getProvider("app").getImmediate();this._storage=new wr(Q),this._heartbeatsCachePromise=this._storage.read().then(gt=>(this._heartbeatsCache=gt,gt))}triggerHeartbeat(){var U=this;return(0,I.A)(function*(){try{const gt=U.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),St=re();if(null==U._heartbeatsCache?.heartbeats&&(U._heartbeatsCache=yield U._heartbeatsCachePromise,null==U._heartbeatsCache?.heartbeats)||U._heartbeatsCache.lastSentHeartbeatDate===St||U._heartbeatsCache.heartbeats.some(Nt=>Nt.date===St))return;if(U._heartbeatsCache.heartbeats.push({date:St,agent:gt}),U._heartbeatsCache.heartbeats.length>30){const Nt=function In(B){if(0===B.length)return-1;let U=0,Q=B[0].date;for(let gt=1;gt<B.length;gt++)B[gt].date<Q&&(Q=B[gt].date,U=gt);return U}(U._heartbeatsCache.heartbeats);U._heartbeatsCache.heartbeats.splice(Nt,1)}return U._storage.overwrite(U._heartbeatsCache)}catch(Q){tn.warn(Q)}})()}getHeartbeatsHeader(){var U=this;return(0,I.A)(function*(){try{if(null===U._heartbeatsCache&&(yield U._heartbeatsCachePromise),null==U._heartbeatsCache?.heartbeats||0===U._heartbeatsCache.heartbeats.length)return"";const Q=re(),{heartbeatsToSend:gt,unsentEntries:St}=function Ie(B,U=1024){const Q=[];let gt=B.slice();for(const St of B){const Nt=Q.find(lt=>lt.agent===St.agent);if(Nt){if(Nt.dates.push(St.date),or(Q)>U){Nt.dates.pop();break}}else if(Q.push({agent:St.agent,dates:[St.date]}),or(Q)>U){Q.pop();break}gt=gt.slice(1)}return{heartbeatsToSend:Q,unsentEntries:gt}}(U._heartbeatsCache.heartbeats),Nt=(0,Dt.Uj)(JSON.stringify({version:2,heartbeats:gt}));return U._heartbeatsCache.lastSentHeartbeatDate=Q,St.length>0?(U._heartbeatsCache.heartbeats=St,yield U._storage.overwrite(U._heartbeatsCache)):(U._heartbeatsCache.heartbeats=[],U._storage.overwrite(U._heartbeatsCache)),Nt}catch(Q){return tn.warn(Q),""}})()}}function re(){return(new Date).toISOString().substring(0,10)}class wr{constructor(U){this.app=U,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,I.A)(function*(){return!!(0,Dt.zW)()&&(0,Dt.eX)().then(()=>!0).catch(()=>!1)})()}read(){var U=this;return(0,I.A)(function*(){if(yield U._canUseIndexedDBPromise){const gt=yield function Xt(B){return at.apply(this,arguments)}(U.app);return gt?.heartbeats?gt:{heartbeats:[]}}return{heartbeats:[]}})()}overwrite(U){var Q=this;return(0,I.A)(function*(){if(yield Q._canUseIndexedDBPromise){const St=yield Q.read();return ce(Q.app,{lastSentHeartbeatDate:U.lastSentHeartbeatDate??St.lastSentHeartbeatDate,heartbeats:U.heartbeats})}})()}add(U){var Q=this;return(0,I.A)(function*(){if(yield Q._canUseIndexedDBPromise){const St=yield Q.read();return ce(Q.app,{lastSentHeartbeatDate:U.lastSentHeartbeatDate??St.lastSentHeartbeatDate,heartbeats:[...St.heartbeats,...U.heartbeats]})}})()}}function or(B){return(0,Dt.Uj)(JSON.stringify({version:2,heartbeats:B})).length}!function co(B){ee(new xt.uA("platform-logger",U=>new Xr(U),"PRIVATE")),ee(new xt.uA("heartbeat",U=>new it(U),"PRIVATE")),Me(Zr,"0.14.7",B),Me(Zr,"0.14.7","esm2020"),Me("fire-js","")}("")},2040(wn,Gt,Pt){"use strict";Pt.d(Gt,{h1:()=>Le,uA:()=>mt});var I=Pt(467),xt=Pt(7814);class mt{constructor(Y,ot,wt){this.name=Y,this.instanceFactory=ot,this.type=wt,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(Y){return this.instantiationMode=Y,this}setMultipleInstances(Y){return this.multipleInstances=Y,this}setServiceProps(Y){return this.serviceProps=Y,this}setInstanceCreatedCallback(Y){return this.onInstanceCreated=Y,this}}const Dt="[DEFAULT]";class _e{constructor(Y,ot){this.name=Y,this.container=ot,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(Y){const ot=this.normalizeInstanceIdentifier(Y);if(!this.instancesDeferred.has(ot)){const wt=new xt.cY;if(this.instancesDeferred.set(ot,wt),this.isInitialized(ot)||this.shouldAutoInitialize())try{const Ct=this.getOrInitializeService({instanceIdentifier:ot});Ct&&wt.resolve(Ct)}catch{}}return this.instancesDeferred.get(ot).promise}getImmediate(Y){const ot=this.normalizeInstanceIdentifier(Y?.identifier),wt=Y?.optional??!1;if(!this.isInitialized(ot)&&!this.shouldAutoInitialize()){if(wt)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:ot})}catch(Ct){if(wt)return null;throw Ct}}getComponent(){return this.component}setComponent(Y){if(Y.name!==this.name)throw Error(`Mismatching Component ${Y.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=Y,this.shouldAutoInitialize()){if(function be(Ht){return"EAGER"===Ht.instantiationMode}(Y))try{this.getOrInitializeService({instanceIdentifier:Dt})}catch{}for(const[ot,wt]of this.instancesDeferred.entries()){const Ct=this.normalizeInstanceIdentifier(ot);try{const Ut=this.getOrInitializeService({instanceIdentifier:Ct});wt.resolve(Ut)}catch{}}}}clearInstance(Y=Dt){this.instancesDeferred.delete(Y),this.instancesOptions.delete(Y),this.instances.delete(Y)}delete(){var Y=this;return(0,I.A)(function*(){const ot=Array.from(Y.instances.values());yield Promise.all([...ot.filter(wt=>"INTERNAL"in wt).map(wt=>wt.INTERNAL.delete()),...ot.filter(wt=>"_delete"in wt).map(wt=>wt._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(Y=Dt){return this.instances.has(Y)}getOptions(Y=Dt){return this.instancesOptions.get(Y)||{}}initialize(Y={}){const{options:ot={}}=Y,wt=this.normalizeInstanceIdentifier(Y.instanceIdentifier);if(this.isInitialized(wt))throw Error(`${this.name}(${wt}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Ct=this.getOrInitializeService({instanceIdentifier:wt,options:ot});for(const[Ut,Ot]of this.instancesDeferred.entries())wt===this.normalizeInstanceIdentifier(Ut)&&Ot.resolve(Ct);return Ct}onInit(Y,ot){const wt=this.normalizeInstanceIdentifier(ot),Ct=this.onInitCallbacks.get(wt)??new Set;Ct.add(Y),this.onInitCallbacks.set(wt,Ct);const Ut=this.instances.get(wt);return Ut&&Y(Ut,wt),()=>{Ct.delete(Y)}}invokeOnInitCallbacks(Y,ot){const wt=this.onInitCallbacks.get(ot);if(wt)for(const Ct of wt)try{Ct(Y,ot)}catch{}}getOrInitializeService({instanceIdentifier:Y,options:ot={}}){let wt=this.instances.get(Y);if(!wt&&this.component&&(wt=this.component.instanceFactory(this.container,{instanceIdentifier:(Ht=Y,Ht===Dt?void 0:Ht),options:ot}),this.instances.set(Y,wt),this.instancesOptions.set(Y,ot),this.invokeOnInitCallbacks(wt,Y),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,Y,wt)}catch{}var Ht;return wt||null}normalizeInstanceIdentifier(Y=Dt){return this.component?this.component.multipleInstances?Y:Dt:Y}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class Le{constructor(Y){this.name=Y,this.providers=new Map}addComponent(Y){const ot=this.getProvider(Y.name);if(ot.isComponentSet())throw new Error(`Component ${Y.name} has already been registered with ${this.name}`);ot.setComponent(Y)}addOrOverwriteComponent(Y){this.getProvider(Y.name).isComponentSet()&&this.providers.delete(Y.name),this.addComponent(Y)}getProvider(Y){if(this.providers.has(Y))return this.providers.get(Y);const ot=new _e(Y,this);return this.providers.set(Y,ot),ot}getProviders(){return Array.from(this.providers.values())}}},1919(wn,Gt,Pt){"use strict";Pt.d(Gt,{$b:()=>xt,Vy:()=>be});const I=[];var xt=function(Y){return Y[Y.DEBUG=0]="DEBUG",Y[Y.VERBOSE=1]="VERBOSE",Y[Y.INFO=2]="INFO",Y[Y.WARN=3]="WARN",Y[Y.ERROR=4]="ERROR",Y[Y.SILENT=5]="SILENT",Y}(xt||{});const mt={debug:xt.DEBUG,verbose:xt.VERBOSE,info:xt.INFO,warn:xt.WARN,error:xt.ERROR,silent:xt.SILENT},Dt=xt.INFO,_e={[xt.DEBUG]:"log",[xt.VERBOSE]:"log",[xt.INFO]:"info",[xt.WARN]:"warn",[xt.ERROR]:"error"},Ae=(Y,ot,...wt)=>{if(ot<Y.logLevel)return;const Ct=(new Date).toISOString(),Ut=_e[ot];if(!Ut)throw new Error(`Attempted to log a message with an invalid logType (value: ${ot})`);console[Ut](`[${Ct}] ${Y.name}:`,...wt)};class be{constructor(ot){this.name=ot,this._logLevel=Dt,this._logHandler=Ae,this._userLogHandler=null,I.push(this)}get logLevel(){return this._logLevel}set logLevel(ot){if(!(ot in xt))throw new TypeError(`Invalid value "${ot}" assigned to \`logLevel\``);this._logLevel=ot}setLogLevel(ot){this._logLevel="string"==typeof ot?mt[ot]:ot}get logHandler(){return this._logHandler}set logHandler(ot){if("function"!=typeof ot)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=ot}get userLogHandler(){return this._userLogHandler}set userLogHandler(ot){this._userLogHandler=ot}debug(...ot){this._userLogHandler&&this._userLogHandler(this,xt.DEBUG,...ot),this._logHandler(this,xt.DEBUG,...ot)}log(...ot){this._userLogHandler&&this._userLogHandler(this,xt.VERBOSE,...ot),this._logHandler(this,xt.VERBOSE,...ot)}info(...ot){this._userLogHandler&&this._userLogHandler(this,xt.INFO,...ot),this._logHandler(this,xt.INFO,...ot)}warn(...ot){this._userLogHandler&&this._userLogHandler(this,xt.WARN,...ot),this._logHandler(this,xt.WARN,...ot)}error(...ot){this._userLogHandler&&this._userLogHandler(this,xt.ERROR,...ot),this._logHandler(this,xt.ERROR,...ot)}}},6702(wn,Gt,Pt){"use strict";Pt.r(Gt),Pt.d(Gt,{StorageError:()=>Y,StorageErrorCode:()=>ot,StringFormat:()=>Re,_FbsBlob:()=>We,_Location:()=>ve,_TaskEvent:()=>re,_TaskState:()=>Ie,_UploadTask:()=>Ce,_dataFromString:()=>Kn,_getChild:()=>gn,_invalidArgument:()=>Cn,_invalidRootOperation:()=>Dn,connectStorageEmulator:()=>Cs,deleteObject:()=>mc,getBlob:()=>yc,getBytes:()=>Et,getDownloadURL:()=>Qo,getMetadata:()=>Vr,getStorage:()=>ks,getStream:()=>br,list:()=>ki,listAll:()=>mu,ref:()=>_c,updateMetadata:()=>gu,uploadBytes:()=>lo,uploadBytesResumable:()=>xs,uploadString:()=>xi});var I=Pt(467),xt=Pt(3659),mt=Pt(7814),Dt=Pt(2040);const _e="firebasestorage.googleapis.com",Ae="storageBucket";class Y extends mt.g{constructor(m,w,P=0){super(wt(m),`Firebase Storage: ${w} (${wt(m)})`),this.status_=P,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,Y.prototype)}get status(){return this.status_}set status(m){this.status_=m}_codeEquals(m){return wt(m)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(m){this.customData.serverResponse=m,this.message=this.customData.serverResponse?`${this._baseMessage}\n${this.customData.serverResponse}`:this._baseMessage}}var ot=function(g){return g.UNKNOWN="unknown",g.OBJECT_NOT_FOUND="object-not-found",g.BUCKET_NOT_FOUND="bucket-not-found",g.PROJECT_NOT_FOUND="project-not-found",g.QUOTA_EXCEEDED="quota-exceeded",g.UNAUTHENTICATED="unauthenticated",g.UNAUTHORIZED="unauthorized",g.UNAUTHORIZED_APP="unauthorized-app",g.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",g.INVALID_CHECKSUM="invalid-checksum",g.CANCELED="canceled",g.INVALID_EVENT_NAME="invalid-event-name",g.INVALID_URL="invalid-url",g.INVALID_DEFAULT_BUCKET="invalid-default-bucket",g.NO_DEFAULT_BUCKET="no-default-bucket",g.CANNOT_SLICE_BLOB="cannot-slice-blob",g.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",g.NO_DOWNLOAD_URL="no-download-url",g.INVALID_ARGUMENT="invalid-argument",g.INVALID_ARGUMENT_COUNT="invalid-argument-count",g.APP_DELETED="app-deleted",g.INVALID_ROOT_OPERATION="invalid-root-operation",g.INVALID_FORMAT="invalid-format",g.INTERNAL_ERROR="internal-error",g.UNSUPPORTED_ENVIRONMENT="unsupported-environment",g}(ot||{});function wt(g){return"storage/"+g}function Ct(){return new Y(ot.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function A(){return new Y(ot.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function V(){return new Y(ot.CANCELED,"User canceled the upload/download.")}function Ve(){return new Y(ot.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}function Cn(g){return new Y(ot.INVALID_ARGUMENT,g)}function hr(){return new Y(ot.APP_DELETED,"The Firebase app was deleted.")}function Dn(g){return new Y(ot.INVALID_ROOT_OPERATION,"The operation '"+g+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}function Wn(g,m){return new Y(ot.INVALID_FORMAT,"String does not match format '"+g+"': "+m)}function Hn(g){throw new Y(ot.INTERNAL_ERROR,"Internal error: "+g)}class ve{constructor(m,w){this.bucket=m,this.path_=w}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){const m=encodeURIComponent;return"/b/"+m(this.bucket)+"/o/"+m(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(m,w){let P;try{P=ve.makeFromUrl(m,w)}catch{return new ve(m,"")}if(""===P.path)return P;throw function de(g){return new Y(ot.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+g+"'.")}(m)}static makeFromUrl(m,w){let P=null;const F="([A-Za-z0-9.\\-_]+)",Tt=new RegExp("^gs://"+F+"(/(.*))?$","i");function jt(Ke){Ke.path_=decodeURIComponent(Ke.path)}const le=w.replace(/[.]/g,"\\."),qe=[{regex:Tt,indices:{bucket:1,path:3},postModify:function J(Ke){"/"===Ke.path.charAt(Ke.path.length-1)&&(Ke.path_=Ke.path_.slice(0,-1))}},{regex:new RegExp(`^https?://${le}/v[A-Za-z0-9_]+/b/${F}/o(/([^?#]*).*)?$`,"i"),indices:{bucket:1,path:3},postModify:jt},{regex:new RegExp(`^https?://${w===_e?"(?:storage.googleapis.com|storage.cloud.google.com)":w}/${F}/([^?#]*)`,"i"),indices:{bucket:1,path:2},postModify:jt}];for(let Ke=0;Ke<qe.length;Ke++){const sr=qe[Ke],Te=sr.regex.exec(m);if(Te){let uo=Te[sr.indices.path];uo||(uo=""),P=new ve(Te[sr.indices.bucket],uo),sr.postModify(P);break}}if(null==P)throw function O(g){return new Y(ot.INVALID_URL,"Invalid URL '"+g+"'.")}(m);return P}}class Cr{constructor(m){this.promise_=Promise.reject(m)}getPromise(){return this.promise_}cancel(m=!1){}}function tn(g){return"string"==typeof g||g instanceof String}function Fo(g){return eo()&&g instanceof Blob}function eo(){return typeof Blob<"u"}function Dr(g,m,w,P){if(P<m)throw Cn(`Invalid value for '${g}'. Expected ${m} or greater.`);if(P>w)throw Cn(`Invalid value for '${g}'. Expected ${w} or less.`)}function Nn(g,m,w){let P=m;return null==w&&(P=`https://${m}`),`${w}://${P}/v0${g}`}function Ri(g){const m=encodeURIComponent;let w="?";for(const P in g)g.hasOwnProperty(P)&&(w=w+(m(P)+"=")+m(g[P])+"&");return w=w.slice(0,-1),w}var tr=function(g){return g[g.NO_ERROR=0]="NO_ERROR",g[g.NETWORK_ERROR=1]="NETWORK_ERROR",g[g.ABORT=2]="ABORT",g}(tr||{});function er(g,m){const w=g>=500&&g<600,F=-1!==[408,429].indexOf(g),J=-1!==m.indexOf(g);return w||F||J}class Uo{constructor(m,w,P,F,J,st,Tt,bt,jt,Vt,le,De=!0,Fe=!1){this.url_=m,this.method_=w,this.headers_=P,this.body_=F,this.successCodes_=J,this.additionalRetryCodes_=st,this.callback_=Tt,this.errorCallback_=bt,this.timeout_=jt,this.progressCallback_=Vt,this.connectionFactory_=le,this.retry=De,this.isUsingEmulator=Fe,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((Qt,Ee)=>{this.resolve_=Qt,this.reject_=Ee,this.start_()})}start_(){const w=(P,F)=>{const J=this.resolve_,st=this.reject_,Tt=F.connection;if(F.wasSuccessCode)try{const bt=this.callback_(Tt,Tt.getResponse());!function Yr(g){return void 0!==g}(bt)?J():J(bt)}catch(bt){st(bt)}else if(null!==Tt){const bt=Ct();bt.serverResponse=Tt.getErrorText(),st(this.errorCallback_?this.errorCallback_(Tt,bt):bt)}else st(F.canceled?this.appDelete_?hr():V():A())};this.canceled_?w(0,new dr(!1,null,!0)):this.backoffId_=function fn(g,m,w){let P=1,F=null,J=null,st=!1,Tt=0;function bt(){return 2===Tt}let jt=!1;function Vt(...ue){jt||(jt=!0,m.apply(null,ue))}function le(ue){F=setTimeout(()=>{F=null,g(Fe,bt())},ue)}function De(){J&&clearTimeout(J)}function Fe(ue,...mn){if(jt)return void De();if(ue)return De(),void Vt.call(null,ue,...mn);if(bt()||st)return De(),void Vt.call(null,ue,...mn);let qe;P<64&&(P*=2),1===Tt?(Tt=2,qe=0):qe=1e3*(P+Math.random()),le(qe)}let Qt=!1;function Ee(ue){Qt||(Qt=!0,De(),!jt&&(null!==F?(ue||(Tt=2),clearTimeout(F),le(0)):ue||(Tt=1)))}return le(0),J=setTimeout(()=>{st=!0,Ee(!0)},w),Ee}((P,F)=>{if(F)return void P(!1,new dr(!1,null,!0));const J=this.connectionFactory_();this.pendingConnection_=J;const st=Tt=>{null!==this.progressCallback_&&this.progressCallback_(Tt.loaded,Tt.lengthComputable?Tt.total:-1)};null!==this.progressCallback_&&J.addUploadProgressListener(st),J.send(this.url_,this.method_,this.isUsingEmulator,this.body_,this.headers_).then(()=>{null!==this.progressCallback_&&J.removeUploadProgressListener(st),this.pendingConnection_=null;const Tt=J.getErrorCode()===tr.NO_ERROR,bt=J.getStatus();if(!Tt||er(bt,this.additionalRetryCodes_)&&this.retry){const Vt=J.getErrorCode()===tr.ABORT;return void P(!1,new dr(!1,null,Vt))}const jt=-1!==this.successCodes_.indexOf(bt);P(!0,new dr(jt,J))})},w,this.timeout_)}getPromise(){return this.promise_}cancel(m){this.canceled_=!0,this.appDelete_=m||!1,null!==this.backoffId_&&function Xr(g){g(!1)}(this.backoffId_),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class dr{constructor(m,w,P){this.wasSuccessCode=m,this.connection=w,this.canceled=!!P}}function jo(...g){const m=function rr(){return typeof BlobBuilder<"u"?BlobBuilder:typeof WebKitBlobBuilder<"u"?WebKitBlobBuilder:void 0}();if(void 0!==m){const w=new m;for(let P=0;P<g.length;P++)w.append(g[P]);return w.getBlob()}if(eo())return new Blob(g);throw new Y(ot.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}const Re={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"};class ro{constructor(m,w){this.data=m,this.contentType=w||null}}function Kn(g,m){switch(g){case Re.RAW:return new ro(Bo(m));case Re.BASE64:case Re.BASE64URL:return new ro(fr(g,m));case Re.DATA_URL:return new ro(function zo(g){const m=new It(g);return m.base64?fr(Re.BASE64,m.rest):function $o(g){let m;try{m=decodeURIComponent(g)}catch{throw Wn(Re.DATA_URL,"Malformed data URL.")}return Bo(m)}(m.rest)}(m),function Go(g){return new It(g).contentType}(m))}throw Ct()}function Bo(g){const m=[];for(let w=0;w<g.length;w++){let P=g.charCodeAt(w);P<=127?m.push(P):P<=2047?m.push(192|P>>6,128|63&P):55296==(64512&P)?w<g.length-1&&56320==(64512&g.charCodeAt(w+1))?(P=65536|(1023&P)<<10|1023&g.charCodeAt(++w),m.push(240|P>>18,128|P>>12&63,128|P>>6&63,128|63&P)):m.push(239,191,189):56320==(64512&P)?m.push(239,191,189):m.push(224|P>>12,128|P>>6&63,128|63&P)}return new Uint8Array(m)}function fr(g,m){switch(g){case Re.BASE64:{const F=-1!==m.indexOf("-"),J=-1!==m.indexOf("_");if(F||J)throw Wn(g,"Invalid character '"+(F?"-":"_")+"' found: is it base64url encoded?");break}case Re.BASE64URL:{const F=-1!==m.indexOf("+"),J=-1!==m.indexOf("/");if(F||J)throw Wn(g,"Invalid character '"+(F?"+":"/")+"' found: is it base64 encoded?");m=m.replace(/-/g,"+").replace(/_/g,"/");break}}let w;try{w=function qo(g){if(typeof atob>"u")throw function Ai(g){return new Y(ot.UNSUPPORTED_ENVIRONMENT,`${g} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`)}("base-64");return atob(g)}(m)}catch(F){throw F.message.includes("polyfill")?F:Wn(g,"Invalid character found")}const P=new Uint8Array(w.length);for(let F=0;F<w.length;F++)P[F]=w.charCodeAt(F);return P}class It{constructor(m){this.base64=!1,this.contentType=null;const w=m.match(/^data:([^,]+)?,/);if(null===w)throw Wn(Re.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");const P=w[1]||null;null!=P&&(this.base64=function Ge(g,m){return g.length>=m.length&&g.substring(g.length-m.length)===m}(P,";base64"),this.contentType=this.base64?P.substring(0,P.length-7):P),this.rest=m.substring(m.indexOf(",")+1)}}class We{constructor(m,w){let P=0,F="";Fo(m)?(this.data_=m,P=m.size,F=m.type):m instanceof ArrayBuffer?(w?this.data_=new Uint8Array(m):(this.data_=new Uint8Array(m.byteLength),this.data_.set(new Uint8Array(m))),P=this.data_.length):m instanceof Uint8Array&&(w?this.data_=m:(this.data_=new Uint8Array(m.length),this.data_.set(m)),P=m.length),this.size_=P,this.type_=F}size(){return this.size_}type(){return this.type_}slice(m,w){if(Fo(this.data_)){const F=function On(g,m,w){return g.webkitSlice?g.webkitSlice(m,w):g.mozSlice?g.mozSlice(m,w):g.slice?g.slice(m,w):null}(this.data_,m,w);return null===F?null:new We(F)}{const P=new Uint8Array(this.data_.buffer,m,w-m);return new We(P,!0)}}static getBlob(...m){if(eo()){const w=m.map(P=>P instanceof We?P.data_:P);return new We(jo.apply(null,w))}{const w=m.map(st=>tn(st)?Kn(Re.RAW,st).data:st.data_);let P=0;w.forEach(st=>{P+=st.byteLength});const F=new Uint8Array(P);let J=0;return w.forEach(st=>{for(let Tt=0;Tt<st.length;Tt++)F[J++]=st[Tt]}),new We(F,!0)}}uploadData(){return this.data_}}function ae(g){let m;try{m=JSON.parse(g)}catch{return null}return function to(g){return"object"==typeof g&&!Array.isArray(g)}(m)?m:null}function Or(g){const m=g.lastIndexOf("/",g.length-2);return-1===m?g:g.slice(m+1)}function Is(g,m){return m}class ee{constructor(m,w,P,F){this.server=m,this.local=w||m,this.writable=!!P,this.xform=F||Is}}let Qn=null;function vn(){if(Qn)return Qn;const g=[];g.push(new ee("bucket")),g.push(new ee("generation")),g.push(new ee("metageneration")),g.push(new ee("name","fullPath",!0));const w=new ee("name");w.xform=function m(J,st){return function oo(g){return!tn(g)||g.length<2?g:Or(g)}(st)},g.push(w);const F=new ee("size");return F.xform=function P(J,st){return void 0!==st?Number(st):st},g.push(F),g.push(new ee("timeCreated")),g.push(new ee("updated")),g.push(new ee("md5Hash",null,!0)),g.push(new ee("cacheControl",null,!0)),g.push(new ee("contentDisposition",null,!0)),g.push(new ee("contentEncoding",null,!0)),g.push(new ee("contentLanguage",null,!0)),g.push(new ee("contentType",null,!0)),g.push(new ee("metadata","customMetadata",!0)),Qn=g,Qn}function mr(g,m,w){const P=ae(m);return null===P?null:function Wo(g,m,w){const P={type:"file"},F=w.length;for(let J=0;J<F;J++){const st=w[J];P[st.local]=st.xform(P,m[st.server])}return function gr(g,m){Object.defineProperty(g,"ref",{get:function w(){const J=new ve(g.bucket,g.fullPath);return m._makeStorageReference(J)}})}(P,g),P}(g,P,w)}function ke(g,m){const w={},P=m.length;for(let F=0;F<P;F++){const J=m[F];J.writable&&(w[J.server]=g[J.local])}return JSON.stringify(w)}const io="prefixes";class an{constructor(m,w,P,F){this.url=m,this.method=w,this.handler=P,this.timeout=F,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}function cn(g){if(!g)throw Ct()}function _r(g,m){return function w(P,F){const J=mr(g,F,m);return cn(null!==J),J}}function Jt(g){return function m(w,P){let F;return F=401===w.getStatus()?w.getErrorText().includes("Firebase App Check token is invalid")?function H(){return new Y(ot.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project.")}():function tt(){return new Y(ot.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again.")}():402===w.getStatus()?function Ot(g){return new Y(ot.QUOTA_EXCEEDED,"Quota for bucket '"+g+"' exceeded, please view quota on https://firebase.google.com/pricing/.")}(g.bucket):403===w.getStatus()?function E(g){return new Y(ot.UNAUTHORIZED,"User does not have permission to access '"+g+"'.")}(g.path):P,F.status=w.getStatus(),F.serverResponse=P.serverResponse,F}}function Me(g){const m=Jt(g);return function w(P,F){let J=m(P,F);return 404===P.getStatus()&&(J=function Ut(g){return new Y(ot.OBJECT_NOT_FOUND,"Object '"+g+"' does not exist.")}(g.path)),J.serverResponse=F.serverResponse,J}}function S(g,m,w){const F=Nn(m.fullServerUrl(),g.host,g._protocol),st=g.maxOperationRetryTime,Tt=new an(F,"GET",_r(g,w),st);return Tt.errorHandler=Me(m),Tt}function T(g,m,w,P,F){const J={};J.prefix=m.isRoot?"":m.path+"/",w&&w.length>0&&(J.delimiter=w),P&&(J.pageToken=P),F&&(J.maxResults=F);const Tt=Nn(m.bucketOnlyServerUrl(),g.host,g._protocol),jt=g.maxOperationRetryTime,Vt=new an(Tt,"GET",function yr(g,m){return function w(P,F){const J=function ao(g,m,w){const P=ae(w);return null===P?null:function Ho(g,m,w){const P={prefixes:[],items:[],nextPageToken:w.nextPageToken};if(w[io])for(const F of w[io]){const J=F.replace(/\/$/,""),st=g._makeStorageReference(new ve(m,J));P.prefixes.push(st)}if(w.items)for(const F of w.items){const J=g._makeStorageReference(new ve(m,F.name));P.items.push(J)}return P}(g,m,P)}(g,m,F);return cn(null!==J),J}}(g,m.bucket),jt);return Vt.urlParams=J,Vt.errorHandler=Jt(m),Vt}function D(g,m,w){const F=Nn(m.fullServerUrl(),g.host,g._protocol)+"?alt=media",Tt=new an(F,"GET",(bt,jt)=>jt,g.maxOperationRetryTime);return Tt.errorHandler=Me(m),void 0!==w&&(Tt.headers.Range=`bytes=0-${w}`,Tt.successCodes=[200,206]),Tt}function Xt(g,m,w){const P=Object.assign({},w);return P.fullPath=g.path,P.size=m.size(),P.contentType||(P.contentType=function Rt(g,m){return g&&g.contentType||m&&m.type()||"application/octet-stream"}(null,m)),P}function at(g,m,w,P,F){const J=m.bucketOnlyServerUrl(),st={"X-Goog-Upload-Protocol":"multipart"},bt=function Tt(){let qe="";for(let Ke=0;Ke<2;Ke++)qe+=Math.random().toString().slice(2);return qe}();st["Content-Type"]="multipart/related; boundary="+bt;const jt=Xt(m,P,F),Vt=ke(jt,w),Fe=We.getBlob("--"+bt+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+Vt+"\r\n--"+bt+"\r\nContent-Type: "+jt.contentType+"\r\n\r\n",P,"\r\n--"+bt+"--");if(null===Fe)throw Ve();const Qt={name:jt.fullPath},Ee=Nn(J,g.host,g._protocol),mn=g.maxUploadRetryTime,vr=new an(Ee,"POST",_r(g,w),mn);return vr.urlParams=Qt,vr.headers=st,vr.body=Fe.uploadData(),vr.errorHandler=Jt(m),vr}class ce{constructor(m,w,P,F){this.current=m,this.total=w,this.finalized=!!P,this.metadata=F||null}}function dt(g,m){let w=null;try{w=g.getResponseHeader("X-Goog-Upload-Status")}catch{cn(!1)}return cn(!!w&&-1!==(m||["active"]).indexOf(w)),w}const z=262144;const re={STATE_CHANGED:"state_changed"},Ie={RUNNING:"running",PAUSED:"paused",SUCCESS:"success",CANCELED:"canceled",ERROR:"error"};function wr(g){switch(g){case"running":case"pausing":case"canceling":return Ie.RUNNING;case"paused":return Ie.PAUSED;case"success":return Ie.SUCCESS;case"canceled":return Ie.CANCELED;default:return Ie.ERROR}}class or{constructor(m,w,P){if(function Zr(g){return"function"==typeof g}(m)||null!=w||null!=P)this.next=m,this.error=w??void 0,this.complete=P??void 0;else{const J=m;this.next=J.next,this.error=J.error,this.complete=J.complete}}}function In(g){return(...m)=>{Promise.resolve().then(()=>g(...m))}}class B{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=tr.NO_ERROR,this.sendPromise_=new Promise(m=>{this.xhr_.addEventListener("abort",()=>{this.errorCode_=tr.ABORT,m()}),this.xhr_.addEventListener("error",()=>{this.errorCode_=tr.NETWORK_ERROR,m()}),this.xhr_.addEventListener("load",()=>{m()})})}send(m,w,P,F,J){if(this.sent_)throw Hn("cannot .send() more than once");if((0,mt.zJ)(m)&&P&&(this.xhr_.withCredentials=!0),this.sent_=!0,this.xhr_.open(w,m,!0),void 0!==J)for(const st in J)J.hasOwnProperty(st)&&this.xhr_.setRequestHeader(st,J[st].toString());return void 0!==F?this.xhr_.send(F):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw Hn("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw Hn("cannot .getStatus() before sending");try{return this.xhr_.status}catch{return-1}}getResponse(){if(!this.sent_)throw Hn("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw Hn("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(m){return this.xhr_.getResponseHeader(m)}addUploadProgressListener(m){null!=this.xhr_.upload&&this.xhr_.upload.addEventListener("progress",m)}removeUploadProgressListener(m){null!=this.xhr_.upload&&this.xhr_.upload.removeEventListener("progress",m)}}class U extends B{initXhr(){this.xhr_.responseType="text"}}function Q(){return new U}class gt extends B{initXhr(){this.xhr_.responseType="arraybuffer"}}function St(){return new gt}class Nt extends B{initXhr(){this.xhr_.responseType="blob"}}function lt(){return new Nt}class Ce{isExponentialBackoffExpired(){return this.sleepTime>this.maxSleepTime}constructor(m,w,P=null){this._transferred=0,this._needToFetchStatus=!1,this._needToFetchMetadata=!1,this._observers=[],this._error=void 0,this._uploadUrl=void 0,this._request=void 0,this._chunkMultiplier=1,this._resolve=void 0,this._reject=void 0,this._ref=m,this._blob=w,this._metadata=P,this._mappings=vn(),this._resumable=this._shouldDoResumable(this._blob),this._state="running",this._errorHandler=F=>{if(this._request=void 0,this._chunkMultiplier=1,F._codeEquals(ot.CANCELED))this._needToFetchStatus=!0,this.completeTransitions_();else{const J=this.isExponentialBackoffExpired();if(er(F.status,[])){if(!J)return this.sleepTime=Math.max(2*this.sleepTime,1e3),this._needToFetchStatus=!0,void this.completeTransitions_();F=A()}this._error=F,this._transition("error")}},this._metadataErrorHandler=F=>{this._request=void 0,F._codeEquals(ot.CANCELED)?this.completeTransitions_():(this._error=F,this._transition("error"))},this.sleepTime=0,this.maxSleepTime=this._ref.storage.maxUploadRetryTime,this._promise=new Promise((F,J)=>{this._resolve=F,this._reject=J,this._start()}),this._promise.then(null,()=>{})}_makeProgressCallback(){const m=this._transferred;return w=>this._updateProgress(m+w)}_shouldDoResumable(m){return m.size()>262144}_start(){"running"===this._state&&void 0===this._request&&(this._resumable?void 0===this._uploadUrl?this._createResumable():this._needToFetchStatus?this._fetchStatus():this._needToFetchMetadata?this._fetchMetadata():this.pendingTimeout=setTimeout(()=>{this.pendingTimeout=void 0,this._continueUpload()},this.sleepTime):this._oneShotUpload())}_resolveToken(m){Promise.all([this._ref.storage._getAuthToken(),this._ref.storage._getAppCheckToken()]).then(([w,P])=>{switch(this._state){case"running":m(w,P);break;case"canceling":this._transition("canceled");break;case"pausing":this._transition("paused")}})}_createResumable(){this._resolveToken((m,w)=>{const P=function Bt(g,m,w,P,F){const J=m.bucketOnlyServerUrl(),st=Xt(m,P,F),Tt={name:st.fullPath},bt=Nn(J,g.host,g._protocol),Vt={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":`${P.size()}`,"X-Goog-Upload-Header-Content-Type":st.contentType,"Content-Type":"application/json; charset=utf-8"},le=ke(st,w),Qt=new an(bt,"POST",function Fe(Ee){let ue;dt(Ee);try{ue=Ee.getResponseHeader("X-Goog-Upload-URL")}catch{cn(!1)}return cn(tn(ue)),ue},g.maxUploadRetryTime);return Qt.urlParams=Tt,Qt.headers=Vt,Qt.body=le,Qt.errorHandler=Jt(m),Qt}(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),F=this._ref.storage._makeRequest(P,Q,m,w);this._request=F,F.getPromise().then(J=>{this._request=void 0,this._uploadUrl=J,this._needToFetchStatus=!1,this.completeTransitions_()},this._errorHandler)})}_fetchStatus(){const m=this._uploadUrl;this._resolveToken((w,P)=>{const F=function X(g,m,w,P){const bt=new an(w,"POST",function J(jt){const Vt=dt(jt,["active","final"]);let le=null;try{le=jt.getResponseHeader("X-Goog-Upload-Size-Received")}catch{cn(!1)}le||cn(!1);const De=Number(le);return cn(!isNaN(De)),new ce(De,P.size(),"final"===Vt)},g.maxUploadRetryTime);return bt.headers={"X-Goog-Upload-Command":"query"},bt.errorHandler=Jt(m),bt}(this._ref.storage,this._ref._location,m,this._blob),J=this._ref.storage._makeRequest(F,Q,w,P);this._request=J,J.getPromise().then(st=>{this._request=void 0,this._updateProgress(st.current),this._needToFetchStatus=!1,st.finalized&&(this._needToFetchMetadata=!0),this.completeTransitions_()},this._errorHandler)})}_continueUpload(){const m=z*this._chunkMultiplier,w=new ce(this._transferred,this._blob.size()),P=this._uploadUrl;this._resolveToken((F,J)=>{let st;try{st=function it(g,m,w,P,F,J,st,Tt){const bt=new ce(0,0);if(st?(bt.current=st.current,bt.total=st.total):(bt.current=0,bt.total=P.size()),P.size()!==bt.total)throw function kn(){return new Y(ot.SERVER_FILE_WRONG_SIZE,"Server recorded incorrect upload file size, please retry the upload.")}();const jt=bt.total-bt.current;let Vt=jt;F>0&&(Vt=Math.min(Vt,F));const le=bt.current;let Fe="";Fe=0===Vt?"finalize":jt===Vt?"upload, finalize":"upload";const Qt={"X-Goog-Upload-Command":Fe,"X-Goog-Upload-Offset":`${bt.current}`},Ee=P.slice(le,le+Vt);if(null===Ee)throw Ve();const qe=new an(w,"POST",function ue(Ke,sr){const Te=dt(Ke,["active","final"]),Ns=bt.current+Vt,uo=P.size();let En;return En="final"===Te?_r(m,J)(Ke,sr):null,new ce(Ns,uo,"final"===Te,En)},m.maxUploadRetryTime);return qe.headers=Qt,qe.body=Ee.uploadData(),qe.progressCallback=Tt||null,qe.errorHandler=Jt(g),qe}(this._ref._location,this._ref.storage,P,this._blob,m,this._mappings,w,this._makeProgressCallback())}catch(bt){return this._error=bt,void this._transition("error")}const Tt=this._ref.storage._makeRequest(st,Q,F,J,!1);this._request=Tt,Tt.getPromise().then(bt=>{this._increaseMultiplier(),this._request=void 0,this._updateProgress(bt.current),bt.finalized?(this._metadata=bt.metadata,this._transition("success")):this.completeTransitions_()},this._errorHandler)})}_increaseMultiplier(){z*this._chunkMultiplier*2<33554432&&(this._chunkMultiplier*=2)}_fetchMetadata(){this._resolveToken((m,w)=>{const P=S(this._ref.storage,this._ref._location,this._mappings),F=this._ref.storage._makeRequest(P,Q,m,w);this._request=F,F.getPromise().then(J=>{this._request=void 0,this._metadata=J,this._transition("success")},this._metadataErrorHandler)})}_oneShotUpload(){this._resolveToken((m,w)=>{const P=at(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),F=this._ref.storage._makeRequest(P,Q,m,w);this._request=F,F.getPromise().then(J=>{this._request=void 0,this._metadata=J,this._updateProgress(this._blob.size()),this._transition("success")},this._errorHandler)})}_updateProgress(m){const w=this._transferred;this._transferred=m,this._transferred!==w&&this._notifyObservers()}_transition(m){if(this._state!==m)switch(m){case"canceling":case"pausing":this._state=m,void 0!==this._request?this._request.cancel():this.pendingTimeout&&(clearTimeout(this.pendingTimeout),this.pendingTimeout=void 0,this.completeTransitions_());break;case"running":const w="paused"===this._state;this._state=m,w&&(this._notifyObservers(),this._start());break;case"paused":case"error":case"success":this._state=m,this._notifyObservers();break;case"canceled":this._error=V(),this._state=m,this._notifyObservers()}}completeTransitions_(){switch(this._state){case"pausing":this._transition("paused");break;case"canceling":this._transition("canceled");break;case"running":this._start()}}get snapshot(){const m=wr(this._state);return{bytesTransferred:this._transferred,totalBytes:this._blob.size(),state:m,metadata:this._metadata,task:this,ref:this._ref}}on(m,w,P,F){const J=new or(w||void 0,P||void 0,F||void 0);return this._addObserver(J),()=>{this._removeObserver(J)}}then(m,w){return this._promise.then(m,w)}catch(m){return this.then(null,m)}_addObserver(m){this._observers.push(m),this._notifyObserver(m)}_removeObserver(m){const w=this._observers.indexOf(m);-1!==w&&this._observers.splice(w,1)}_notifyObservers(){this._finishPromise(),this._observers.slice().forEach(w=>{this._notifyObserver(w)})}_finishPromise(){if(void 0!==this._resolve){let m=!0;switch(wr(this._state)){case Ie.SUCCESS:In(this._resolve.bind(null,this.snapshot))();break;case Ie.CANCELED:case Ie.ERROR:In(this._reject.bind(null,this._error))();break;default:m=!1}m&&(this._resolve=void 0,this._reject=void 0)}}_notifyObserver(m){switch(wr(this._state)){case Ie.RUNNING:case Ie.PAUSED:m.next&&In(m.next.bind(m,this.snapshot))();break;case Ie.SUCCESS:m.complete&&In(m.complete.bind(m))();break;default:m.error&&In(m.error.bind(m,this._error))()}}resume(){const m="paused"===this._state||"pausing"===this._state;return m&&this._transition("running"),m}pause(){const m="running"===this._state;return m&&this._transition("pausing"),m}cancel(){const m="running"===this._state||"pausing"===this._state;return m&&this._transition("canceling"),m}}class Yt{constructor(m,w){this._service=m,this._location=w instanceof ve?w:ve.makeFromUrl(w,m.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(m,w){return new Yt(m,w)}get root(){const m=new ve(this._location.bucket,"");return this._newRef(this._service,m)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return Or(this._location.path)}get storage(){return this._service}get parent(){const m=function bn(g){if(0===g.length)return null;const m=g.lastIndexOf("/");return-1===m?"":g.slice(0,m)}(this._location.path);if(null===m)return null;const w=new ve(this._location.bucket,m);return new Yt(this._service,w)}_throwIfRoot(m){if(""===this._location.path)throw Dn(m)}}function ir(g,m,w){g._throwIfRoot("uploadBytes");const P=at(g.storage,g._location,vn(),new We(m,!0),w);return g.storage.makeRequestWithTokens(P,Q).then(F=>({metadata:F,ref:g}))}function Mn(g,m,w){return Lt.apply(this,arguments)}function Lt(){return(Lt=(0,I.A)(function*(g,m,w){const F=yield fc(g,{pageToken:w});m.prefixes.push(...F.prefixes),m.items.push(...F.items),null!=F.nextPageToken&&(yield Mn(g,m,F.nextPageToken))})).apply(this,arguments)}function fc(g,m){null!=m&&"number"==typeof m.maxResults&&Dr("options.maxResults",1,1e3,m.maxResults);const w=m||{},P=T(g.storage,g._location,"/",w.pageToken,w.maxResults);return g.storage.makeRequestWithTokens(P,Q)}function Ts(g){g._throwIfRoot("getDownloadURL");const m=function rt(g,m,w){const F=Nn(m.fullServerUrl(),g.host,g._protocol),st=g.maxOperationRetryTime,Tt=new an(F,"GET",function Pi(g,m){return function w(P,F){const J=mr(g,F,m);return cn(null!==J),function _t(g,m,w,P){const F=ae(m);if(null===F||!tn(F.downloadTokens))return null;const J=F.downloadTokens;if(0===J.length)return null;const st=encodeURIComponent;return J.split(",").map(jt=>{const le=g.fullPath;return Nn("/b/"+st(g.bucket)+"/o/"+st(le),w,P)+Ri({alt:"media",token:jt})})[0]}(J,F,g.host,g._protocol)}}(g,w),st);return Tt.errorHandler=Me(m),Tt}(g.storage,g._location,vn());return g.storage.makeRequestWithTokens(m,Q).then(w=>{if(null===w)throw function kr(){return new Y(ot.NO_DOWNLOAD_URL,"The given file does not have any download URLs.")}();return w})}function As(g,m){const w=function He(g,m){const w=m.split("/").filter(P=>P.length>0).join("/");return 0===g.length?w:g+"/"+w}(g._location.path,m),P=new ve(g._location.bucket,w);return new Yt(g.storage,P)}function Ko(g,m){if(g instanceof Lr){const w=g;if(null==w._bucket)throw function Ze(){return new Y(ot.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+Ae+"' property when initializing the app?")}();const P=new Yt(w,w._bucket);return null!=m?Ko(P,m):P}return void 0!==m?As(g,m):g}function Fn(g,m){if(m&&function gc(g){return/^[A-Za-z]+:\/\//.test(g)}(m)){if(g instanceof Lr)return function Rs(g,m){return new Yt(g,m)}(g,m);throw Cn("To use ref(service, url), the first argument must be a Storage instance.")}return Ko(g,m)}function fu(g,m){const w=m?.[Ae];return null==w?null:ve.makeFromBucketSpec(w,g)}class Lr{constructor(m,w,P,F,J,st=!1){this.app=m,this._authProvider=w,this._appCheckProvider=P,this._url=F,this._firebaseVersion=J,this._isUsingEmulator=st,this._bucket=null,this._host=_e,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,this._bucket=null!=F?ve.makeFromBucketSpec(F,this._host):fu(this._host,this.app.options)}get host(){return this._host}set host(m){this._host=m,this._bucket=null!=this._url?ve.makeFromBucketSpec(this._url,m):fu(m,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(m){Dr("time",0,Number.POSITIVE_INFINITY,m),this._maxUploadRetryTime=m}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(m){Dr("time",0,Number.POSITIVE_INFINITY,m),this._maxOperationRetryTime=m}_getAuthToken(){var m=this;return(0,I.A)(function*(){if(m._overrideAuthToken)return m._overrideAuthToken;const w=m._authProvider.getImmediate({optional:!0});if(w){const P=yield w.getToken();if(null!==P)return P.accessToken}return null})()}_getAppCheckToken(){var m=this;return(0,I.A)(function*(){if((0,xt.xZ)(m.app)&&m.app.settings.appCheckToken)return m.app.settings.appCheckToken;const w=m._appCheckProvider.getImmediate({optional:!0});return w?(yield w.getToken()).token:null})()}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach(m=>m.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(m){return new Yt(this,m)}_makeRequest(m,w,P,F,J=!0){if(this._deleted)return new Cr(hr());{const st=function pr(g,m,w,P,F,J,st=!0,Tt=!1){const bt=Ri(g.urlParams),jt=g.url+bt,Vt=Object.assign({},g.headers);return function Nr(g,m){m&&(g["X-Firebase-GMPID"]=m)}(Vt,m),function no(g,m){null!==m&&m.length>0&&(g.Authorization="Firebase "+m)}(Vt,w),function Si(g,m){g["X-Firebase-Storage-Version"]="webjs/"+(m??"AppManager")}(Vt,J),function nr(g,m){null!==m&&(g["X-Firebase-AppCheck"]=m)}(Vt,P),new Uo(jt,g.method,Vt,g.body,g.successCodes,g.additionalRetryCodes,g.handler,g.errorHandler,g.timeout,g.progressCallback,F,st,Tt)}(m,this._appId,P,F,w,this._firebaseVersion,J,this._isUsingEmulator);return this._requests.add(st),st.getPromise().then(()=>this._requests.delete(st),()=>this._requests.delete(st)),st}}makeRequestWithTokens(m,w){var P=this;return(0,I.A)(function*(){const[F,J]=yield Promise.all([P._getAuthToken(),P._getAppCheckToken()]);return P._makeRequest(m,w,F,J).getPromise()})()}}const Ss="@firebase/storage",Kt="storage";function Et(g,m){return function Ln(g,m){g._throwIfRoot("getBytes");const w=D(g.storage,g._location,m);return g.storage.makeRequestWithTokens(w,St).then(P=>void 0!==m?P.slice(0,m):P)}(g=(0,mt.Ku)(g),m)}function lo(g,m,w){return ir(g=(0,mt.Ku)(g),m,w)}function xi(g,m,w,P){return function pc(g,m,w=Re.RAW,P){g._throwIfRoot("uploadString");const F=Kn(w,m),J={...P};return null==J.contentType&&null!=F.contentType&&(J.contentType=F.contentType),ir(g,F.data,J)}(g=(0,mt.Ku)(g),m,w,P)}function xs(g,m,w){return function dc(g,m,w){return g._throwIfRoot("uploadBytesResumable"),new Ce(g,new We(m),w)}(g=(0,mt.Ku)(g),m,w)}function Vr(g){return function ne(g){g._throwIfRoot("getMetadata");const m=S(g.storage,g._location,vn());return g.storage.makeRequestWithTokens(m,Q)}(g=(0,mt.Ku)(g))}function gu(g,m){return function pt(g,m){g._throwIfRoot("updateMetadata");const w=function b(g,m,w,P){const J=Nn(m.fullServerUrl(),g.host,g._protocol),Tt=ke(w,P),jt=g.maxOperationRetryTime,Vt=new an(J,"PATCH",_r(g,P),jt);return Vt.headers={"Content-Type":"application/json; charset=utf-8"},Vt.body=Tt,Vt.errorHandler=Me(m),Vt}(g.storage,g._location,m,vn());return g.storage.makeRequestWithTokens(w,Q)}(g=(0,mt.Ku)(g),m)}function ki(g,m){return fc(g=(0,mt.Ku)(g),m)}function mu(g){return function Es(g){const m={prefixes:[],items:[]};return Mn(g,m).then(()=>m)}(g=(0,mt.Ku)(g))}function Qo(g){return Ts(g=(0,mt.Ku)(g))}function mc(g){return function pu(g){g._throwIfRoot("deleteObject");const m=function ht(g,m){const P=Nn(m.fullServerUrl(),g.host,g._protocol),Tt=new an(P,"DELETE",function st(bt,jt){},g.maxOperationRetryTime);return Tt.successCodes=[200,204],Tt.errorHandler=Me(m),Tt}(g.storage,g._location);return g.storage.makeRequestWithTokens(m,Q)}(g=(0,mt.Ku)(g))}function _c(g,m){return Fn(g=(0,mt.Ku)(g),m)}function gn(g,m){return As(g,m)}function ks(g=(0,xt.Sx)(),m){g=(0,mt.Ku)(g);const P=(0,xt.j6)(g,Kt).getImmediate({identifier:m}),F=(0,mt.yU)("storage");return F&&Cs(P,...F),P}function Cs(g,m,w,P={}){!function Se(g,m,w,P={}){g.host=`${m}:${w}`;const F=(0,mt.zJ)(m);F&&((0,mt.gE)(`https://${g.host}/b`),(0,mt.P1)("Storage",!0)),g._isUsingEmulator=!0,g._protocol=F?"https":"http";const{mockUserToken:J}=P;J&&(g._overrideAuthToken="string"==typeof J?J:(0,mt.Fy)(J,g.app.options.projectId))}(g,m,w,P)}function yc(g,m){return function Vn(g,m){g._throwIfRoot("getBlob");const w=D(g.storage,g._location,m);return g.storage.makeRequestWithTokens(w,lt).then(P=>void 0!==m?P.slice(0,m):P)}(g=(0,mt.Ku)(g),m)}function br(g,m){throw new Error("getStream() is only supported by NodeJS builds")}function Ds(g,{instanceIdentifier:m}){const w=g.getProvider("app").getImmediate(),P=g.getProvider("auth-internal"),F=g.getProvider("app-check-internal");return new Lr(w,P,F,m,xt.MF)}!function j(){(0,xt.om)(new Dt.uA(Kt,Ds,"PUBLIC").setMultipleInstances(!0)),(0,xt.KO)(Ss,"0.14.0",""),(0,xt.KO)(Ss,"0.14.0","esm2020")}()},7106(wn,Gt,Pt){"use strict";function I(xt,mt){this.v=xt,this.k=mt}Pt.d(Gt,{A:()=>I})},600(wn,Gt,Pt){"use strict";Pt.d(Gt,{A:()=>xt});var I=Pt(7106);function xt(Dt){return function(){return new mt(Dt.apply(this,arguments))}}function mt(Dt){var _e,Ae;function be(Ht,Y){try{var ot=Dt[Ht](Y),wt=ot.value,Ct=wt instanceof I.A;Promise.resolve(Ct?wt.v:wt).then(function(Ut){if(Ct){var Ot="return"===Ht?"return":"next";if(!wt.k||Ut.done)return be(Ot,Ut);Ut=Dt[Ot](Ut).value}Le(ot.done?"return":"normal",Ut)},function(Ut){be("throw",Ut)})}catch(Ut){Le("throw",Ut)}}function Le(Ht,Y){switch(Ht){case"return":_e.resolve({value:Y,done:!0});break;case"throw":_e.reject(Y);break;default:_e.resolve({value:Y,done:!1})}(_e=_e.next)?be(_e.key,_e.arg):Ae=null}this._invoke=function(Ht,Y){return new Promise(function(ot,wt){var Ct={key:Ht,arg:Y,resolve:ot,reject:wt,next:null};Ae?Ae=Ae.next=Ct:(_e=Ae=Ct,be(Ht,Y))})},"function"!=typeof Dt.return&&(this.return=void 0)}mt.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},mt.prototype.next=function(Dt){return this._invoke("next",Dt)},mt.prototype.throw=function(Dt){return this._invoke("throw",Dt)},mt.prototype.return=function(Dt){return this._invoke("return",Dt)}}}]);
|