@xwiki/cristal-electron-main 0.22.0 → 0.23.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/index.cjs +114 -114
  3. package/package.json +11 -11
package/dist/index.cjs CHANGED
@@ -1,33 +1,33 @@
1
- "use strict";require("reflect-metadata");const X=require("electron"),Z=require("node:path"),ve=require("node:process"),Se=require("node:util"),te=require("node:fs"),Gt=require("node:crypto"),Fv=require("node:assert"),dn=require("node:os"),Ht=require("node:url"),Dt=require("util"),Ce=require("stream"),Bm=require("path"),oc=require("http"),cc=require("https"),sa=require("url"),Uv=require("fs"),Vm=require("crypto"),zv=require("assert"),Bv=require("tty"),Vv=require("os"),at=require("zlib"),Kv=require("events"),lc=require("process"),Gv=require("buffer"),Hv=require("node:fs/promises");function Km(e,t,i){for(const n of e)t.includes(`${n.role}`)?i.insert(0,n):n.submenu!=null&&Km(n.submenu.items,t,i)}function Wv(e){const t=X.Menu.getApplicationMenu(),i=new X.Menu,n=["toggledevtools","resetzoom","zoomin","zoomout","togglefullscreen"];t?.items&&Km(t?.items,n,i),e.setMenu(i),X.Menu.setApplicationMenu(t),e.setMenuBarVisibility(!1)}function Ui(e){return e.loadFile(Z.resolve(X.app.getAppPath(),"./renderer/dist/index.html"))}async function Yv(){const e=new X.BrowserWindow({show:!1,webPreferences:{nodeIntegration:!1,contextIsolation:!0,sandbox:!1,webviewTag:!1,preload:Z.join(X.app.getAppPath(),"./preload/dist/index.cjs")}});return Wv(e),e.webContents.setWindowOpenHandler(({url:t})=>(X.shell.openExternal(t),{action:"deny"})),e.on("ready-to-show",()=>{e?.show()}),await Ui(e),e}async function Ko(){let e=X.BrowserWindow.getAllWindows().find(t=>!t.isDestroyed());return e===void 0&&(e=await Yv()),e.isMinimized()&&e.restore(),e.focus(),e}const Jv={FileSystem:{name:"FileSystem",configType:"FileSystem",serverRendering:!1,offline:!1,designSystem:"vuetify",editor:"tiptap"},FileSystemSL:{name:"FileSystemSL",configType:"FileSystem",serverRendering:!1,offline:!1,designSystem:"shoelace",editor:"tiptap"},XWiki:{name:"XWiki",configType:"XWiki",serverRendering:!1,offline:!1,baseURL:"https://cristal-backend.demo.xwiki.com/xwiki",baseRestURL:"/rest/cristal/page?media=json",homePage:"Main.WebHome",designSystem:"vuetify",editor:"tiptap",realtimeURL:"https://cristal.demo.xwiki.com:8093/collaboration"},XWikiSL:{name:"XWikiSL",configType:"XWiki",serverRendering:!1,offline:!1,baseURL:"https://cristal-backend.demo.xwiki.com/xwiki",baseRestURL:"/rest/cristal/page?media=json",homePage:"Main.WebHome",designSystem:"shoelace",editor:"tiptap",realtimeURL:"https://cristal.demo.xwiki.com:8093/collaboration"}},Xv={configuration:Jv},ht=e=>{const t=typeof e;return e!==null&&(t==="object"||t==="function")},qa=new Set(["__proto__","prototype","constructor"]),Qv=new Set("0123456789");function oa(e){const t=[];let i="",n="start",r=!1;for(const c of e)switch(c){case"\\":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");r&&(i+=c),n="property",r=!r;break}case".":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="property";break}if(r){r=!1,i+=c;break}if(qa.has(i))return[];t.push(i),i="",n="property";break}case"[":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="index";break}if(r){r=!1,i+=c;break}if(n==="property"){if(qa.has(i))return[];t.push(i),i=""}n="index";break}case"]":{if(n==="index"){t.push(Number.parseInt(i,10)),i="",n="indexEnd";break}if(n==="indexEnd")throw new Error("Invalid character after an index")}default:{if(n==="index"&&!Qv.has(c))throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");n==="start"&&(n="property"),r&&(r=!1,i+="\\"),i+=c}}switch(r&&(i+="\\"),n){case"property":{if(qa.has(i))return[];t.push(i);break}case"index":throw new Error("Index was not closed");case"start":{t.push("");break}}return t}function uc(e,t){if(typeof t!="number"&&Array.isArray(e)){const i=Number.parseInt(t,10);return Number.isInteger(i)&&e[i]===e[t]}return!1}function Gm(e,t){if(uc(e,t))throw new Error("Cannot use string index")}function Zv(e,t,i){if(!ht(e)||typeof t!="string")return i===void 0?e:i;const n=oa(t);if(n.length===0)return i;for(let r=0;r<n.length;r++){const c=n[r];if(uc(e,c)?e=r===n.length-1?void 0:null:e=e[c],e==null){if(r!==n.length-1)return i;break}}return e===void 0?i:e}function tl(e,t,i){if(!ht(e)||typeof t!="string")return e;const n=e,r=oa(t);for(let c=0;c<r.length;c++){const o=r[c];Gm(e,o),c===r.length-1?e[o]=i:ht(e[o])||(e[o]=typeof r[c+1]=="number"?[]:{}),e=e[o]}return n}function eg(e,t){if(!ht(e)||typeof t!="string")return!1;const i=oa(t);for(let n=0;n<i.length;n++){const r=i[n];if(Gm(e,r),n===i.length-1)return delete e[r],!0;if(e=e[r],!ht(e))return!1}}function tg(e,t){if(!ht(e)||typeof t!="string")return!1;const i=oa(t);if(i.length===0)return!1;for(const n of i){if(!ht(e)||!(n in e)||uc(e,n))return!1;e=e[n]}return!0}const it=dn.homedir(),pc=dn.tmpdir(),{env:It}=ve,ng=e=>{const t=Z.join(it,"Library");return{data:Z.join(t,"Application Support",e),config:Z.join(t,"Preferences",e),cache:Z.join(t,"Caches",e),log:Z.join(t,"Logs",e),temp:Z.join(pc,e)}},ig=e=>{const t=It.APPDATA||Z.join(it,"AppData","Roaming"),i=It.LOCALAPPDATA||Z.join(it,"AppData","Local");return{data:Z.join(i,e,"Data"),config:Z.join(t,e,"Config"),cache:Z.join(i,e,"Cache"),log:Z.join(i,e,"Log"),temp:Z.join(pc,e)}},ag=e=>{const t=Z.basename(it);return{data:Z.join(It.XDG_DATA_HOME||Z.join(it,".local","share"),e),config:Z.join(It.XDG_CONFIG_HOME||Z.join(it,".config"),e),cache:Z.join(It.XDG_CACHE_HOME||Z.join(it,".cache"),e),log:Z.join(It.XDG_STATE_HOME||Z.join(it,".local","state"),e),temp:Z.join(pc,t,e)}};function rg(e,{suffix:t="nodejs"}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);return t&&(e+=`-${t}`),ve.platform==="darwin"?ng(e):ve.platform==="win32"?ig(e):ag(e)}const Qe=(e,t)=>function(...n){return e.apply(void 0,n).catch(t)},He=(e,t)=>function(...n){try{return e.apply(void 0,n)}catch(r){return t(r)}},sg=ve.getuid?!ve.getuid():!1,og=1e4,Ne=()=>{},de={isChangeErrorOk:e=>{if(!de.isNodeError(e))return!1;const{code:t}=e;return t==="ENOSYS"||!sg&&(t==="EINVAL"||t==="EPERM")},isNodeError:e=>e instanceof Error,isRetriableError:e=>{if(!de.isNodeError(e))return!1;const{code:t}=e;return t==="EMFILE"||t==="ENFILE"||t==="EAGAIN"||t==="EBUSY"||t==="EACCESS"||t==="EACCES"||t==="EACCS"||t==="EPERM"},onChangeError:e=>{if(!de.isNodeError(e))throw e;if(!de.isChangeErrorOk(e))throw e}};class cg{constructor(){this.interval=25,this.intervalId=void 0,this.limit=og,this.queueActive=new Set,this.queueWaiting=new Set,this.init=()=>{this.intervalId||(this.intervalId=setInterval(this.tick,this.interval))},this.reset=()=>{this.intervalId&&(clearInterval(this.intervalId),delete this.intervalId)},this.add=t=>{this.queueWaiting.add(t),this.queueActive.size<this.limit/2?this.tick():this.init()},this.remove=t=>{this.queueWaiting.delete(t),this.queueActive.delete(t)},this.schedule=()=>new Promise(t=>{const i=()=>this.remove(n),n=()=>t(i);this.add(n)}),this.tick=()=>{if(!(this.queueActive.size>=this.limit)){if(!this.queueWaiting.size)return this.reset();for(const t of this.queueWaiting){if(this.queueActive.size>=this.limit)break;this.queueWaiting.delete(t),this.queueActive.add(t),t()}}}}}const lg=new cg,Ze=(e,t)=>function(n){return function r(...c){return lg.schedule().then(o=>{const l=p=>(o(),p),d=p=>{if(o(),Date.now()>=n)throw p;if(t(p)){const a=Math.round(100*Math.random());return new Promise(u=>setTimeout(u,a)).then(()=>r.apply(void 0,c))}throw p};return e.apply(void 0,c).then(l,d)})}},et=(e,t)=>function(n){return function r(...c){try{return e.apply(void 0,c)}catch(o){if(Date.now()>n)throw o;if(t(o))return r.apply(void 0,c);throw o}}},_e={attempt:{chmod:Qe(Se.promisify(te.chmod),de.onChangeError),chown:Qe(Se.promisify(te.chown),de.onChangeError),close:Qe(Se.promisify(te.close),Ne),fsync:Qe(Se.promisify(te.fsync),Ne),mkdir:Qe(Se.promisify(te.mkdir),Ne),realpath:Qe(Se.promisify(te.realpath),Ne),stat:Qe(Se.promisify(te.stat),Ne),unlink:Qe(Se.promisify(te.unlink),Ne),chmodSync:He(te.chmodSync,de.onChangeError),chownSync:He(te.chownSync,de.onChangeError),closeSync:He(te.closeSync,Ne),existsSync:He(te.existsSync,Ne),fsyncSync:He(te.fsync,Ne),mkdirSync:He(te.mkdirSync,Ne),realpathSync:He(te.realpathSync,Ne),statSync:He(te.statSync,Ne),unlinkSync:He(te.unlinkSync,Ne)},retry:{close:Ze(Se.promisify(te.close),de.isRetriableError),fsync:Ze(Se.promisify(te.fsync),de.isRetriableError),open:Ze(Se.promisify(te.open),de.isRetriableError),readFile:Ze(Se.promisify(te.readFile),de.isRetriableError),rename:Ze(Se.promisify(te.rename),de.isRetriableError),stat:Ze(Se.promisify(te.stat),de.isRetriableError),write:Ze(Se.promisify(te.write),de.isRetriableError),writeFile:Ze(Se.promisify(te.writeFile),de.isRetriableError),closeSync:et(te.closeSync,de.isRetriableError),fsyncSync:et(te.fsyncSync,de.isRetriableError),openSync:et(te.openSync,de.isRetriableError),readFileSync:et(te.readFileSync,de.isRetriableError),renameSync:et(te.renameSync,de.isRetriableError),statSync:et(te.statSync,de.isRetriableError),writeSync:et(te.writeSync,de.isRetriableError),writeFileSync:et(te.writeFileSync,de.isRetriableError)}},ug="utf8",nl=438,pg=511,dg={},fg=dn.userInfo().uid,mg=dn.userInfo().gid,hg=1e3,vg=!!ve.getuid;ve.getuid&&ve.getuid();const il=128,gg=e=>e instanceof Error&&"code"in e,al=e=>typeof e=="string",La=e=>e===void 0,yg=ve.platform==="linux",Hm=ve.platform==="win32",dc=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];Hm||dc.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");yg&&dc.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");class bg{constructor(){this.callbacks=new Set,this.exited=!1,this.exit=t=>{if(!this.exited){this.exited=!0;for(const i of this.callbacks)i();t&&(Hm&&t!=="SIGINT"&&t!=="SIGTERM"&&t!=="SIGKILL"?ve.kill(ve.pid,"SIGTERM"):ve.kill(ve.pid,t))}},this.hook=()=>{ve.once("exit",()=>this.exit());for(const t of dc)try{ve.once(t,()=>this.exit(t))}catch{}},this.register=t=>(this.callbacks.add(t),()=>{this.callbacks.delete(t)}),this.hook()}}const xg=new bg,wg=xg.register,Ee={store:{},create:e=>{const t=`000000${Math.floor(Math.random()*16777215).toString(16)}`.slice(-6),r=`.tmp-${Date.now().toString().slice(-10)}${t}`;return`${e}${r}`},get:(e,t,i=!0)=>{const n=Ee.truncate(t(e));return n in Ee.store?Ee.get(e,t,i):(Ee.store[n]=i,[n,()=>delete Ee.store[n]])},purge:e=>{Ee.store[e]&&(delete Ee.store[e],_e.attempt.unlink(e))},purgeSync:e=>{Ee.store[e]&&(delete Ee.store[e],_e.attempt.unlinkSync(e))},purgeSyncAll:()=>{for(const e in Ee.store)Ee.purgeSync(e)},truncate:e=>{const t=Z.basename(e);if(t.length<=il)return e;const i=/^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(t);if(!i)return e;const n=t.length-il;return`${e.slice(0,-t.length)}${i[1]}${i[2].slice(0,-n)}${i[3]}`}};wg(Ee.purgeSyncAll);function Wm(e,t,i=dg){if(al(i))return Wm(e,t,{encoding:i});const n=Date.now()+((i.timeout??hg)||-1);let r=null,c=null,o=null;try{const l=_e.attempt.realpathSync(e),d=!!l;e=l||e,[c,r]=Ee.get(e,i.tmpCreate||Ee.create,i.tmpPurge!==!1);const p=vg&&La(i.chown),a=La(i.mode);if(d&&(p||a)){const s=_e.attempt.statSync(e);s&&(i={...i},p&&(i.chown={uid:s.uid,gid:s.gid}),a&&(i.mode=s.mode))}if(!d){const s=Z.dirname(e);_e.attempt.mkdirSync(s,{mode:pg,recursive:!0})}o=_e.retry.openSync(n)(c,"w",i.mode||nl),i.tmpCreated&&i.tmpCreated(c),al(t)?_e.retry.writeSync(n)(o,t,0,i.encoding||ug):La(t)||_e.retry.writeSync(n)(o,t,0,t.length,0),i.fsync!==!1&&(i.fsyncWait!==!1?_e.retry.fsyncSync(n)(o):_e.attempt.fsync(o)),_e.retry.closeSync(n)(o),o=null,i.chown&&(i.chown.uid!==fg||i.chown.gid!==mg)&&_e.attempt.chownSync(c,i.chown.uid,i.chown.gid),i.mode&&i.mode!==nl&&_e.attempt.chmodSync(c,i.mode);try{_e.retry.renameSync(n)(c,e)}catch(s){if(!gg(s)||s.code!=="ENAMETOOLONG")throw s;_e.retry.renameSync(n)(c,Ee.truncate(e))}r(),c=null}finally{o&&_e.attempt.closeSync(o),c&&Ee.purge(c)}}function fn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var En={exports:{}},Ma={},We={},ct={},Da={},Fa={},Ua={},rl;function Ji(){return rl||(rl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class i extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=i;class n extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((b,x)=>`${b}${x}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((b,x)=>(x instanceof i&&(b[x.str]=(b[x.str]||0)+1),b),{})}}e._Code=n,e.nil=new n("");function r(g,...y){const b=[g[0]];let x=0;for(;x<y.length;)l(b,y[x]),b.push(g[++x]);return new n(b)}e._=r;const c=new n("+");function o(g,...y){const b=[m(g[0])];let x=0;for(;x<y.length;)b.push(c),l(b,y[x]),b.push(c,m(g[++x]));return d(b),new n(b)}e.str=o;function l(g,y){y instanceof n?g.push(...y._items):y instanceof i?g.push(y):g.push(s(y))}e.addCodeArg=l;function d(g){let y=1;for(;y<g.length-1;){if(g[y]===c){const b=p(g[y-1],g[y+1]);if(b!==void 0){g.splice(y-1,3,b);continue}g[y++]="+"}y++}}function p(g,y){if(y==='""')return g;if(g==='""')return y;if(typeof g=="string")return y instanceof i||g[g.length-1]!=='"'?void 0:typeof y!="string"?`${g.slice(0,-1)}${y}"`:y[0]==='"'?g.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(g instanceof i))return`"${g}${y.slice(1)}`}function a(g,y){return y.emptyStr()?g:g.emptyStr()?y:o`${g}${y}`}e.strConcat=a;function s(g){return typeof g=="number"||typeof g=="boolean"||g===null?g:m(Array.isArray(g)?g.join(","):g)}function u(g){return new n(m(g))}e.stringify=u;function m(g){return JSON.stringify(g).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function f(g){return typeof g=="string"&&e.IDENTIFIER.test(g)?new n(`.${g}`):r`[${g}]`}e.getProperty=f;function h(g){if(typeof g=="string"&&e.IDENTIFIER.test(g))return new n(`${g}`);throw new Error(`CodeGen: invalid export name: ${g}, use explicit $id name mapping`)}e.getEsmExportName=h;function v(g){return new n(g.toString())}e.regexpCode=v})(Ua)),Ua}var za={},sl;function ol(){return sl||(sl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Ji();class i extends Error{constructor(p){super(`CodeGen: "code" for ${p} not defined`),this.value=p.value}}var n;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class r{constructor({prefixes:p,parent:a}={}){this._names={},this._prefixes=p,this._parent=a}toName(p){return p instanceof t.Name?p:this.name(p)}name(p){return new t.Name(this._newName(p))}_newName(p){const a=this._names[p]||this._nameGroup(p);return`${p}${a.index++}`}_nameGroup(p){var a,s;if(!((s=(a=this._parent)===null||a===void 0?void 0:a._prefixes)===null||s===void 0)&&s.has(p)||this._prefixes&&!this._prefixes.has(p))throw new Error(`CodeGen: prefix "${p}" is not allowed in this scope`);return this._names[p]={prefix:p,index:0}}}e.Scope=r;class c extends t.Name{constructor(p,a){super(a),this.prefix=p}setValue(p,{property:a,itemIndex:s}){this.value=p,this.scopePath=(0,t._)`.${new t.Name(a)}[${s}]`}}e.ValueScopeName=c;const o=(0,t._)`\n`;class l extends r{constructor(p){super(p),this._values={},this._scope=p.scope,this.opts={...p,_n:p.lines?o:t.nil}}get(){return this._scope}name(p){return new c(p,this._newName(p))}value(p,a){var s;if(a.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const u=this.toName(p),{prefix:m}=u,f=(s=a.key)!==null&&s!==void 0?s:a.ref;let h=this._values[m];if(h){const y=h.get(f);if(y)return y}else h=this._values[m]=new Map;h.set(f,u);const v=this._scope[m]||(this._scope[m]=[]),g=v.length;return v[g]=a.ref,u.setValue(a,{property:m,itemIndex:g}),u}getValue(p,a){const s=this._values[p];if(s)return s.get(a)}scopeRefs(p,a=this._values){return this._reduceValues(a,s=>{if(s.scopePath===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return(0,t._)`${p}${s.scopePath}`})}scopeCode(p=this._values,a,s){return this._reduceValues(p,u=>{if(u.value===void 0)throw new Error(`CodeGen: name "${u}" has no value`);return u.value.code},a,s)}_reduceValues(p,a,s={},u){let m=t.nil;for(const f in p){const h=p[f];if(!h)continue;const v=s[f]=s[f]||new Map;h.forEach(g=>{if(v.has(g))return;v.set(g,n.Started);let y=a(g);if(y){const b=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${b} ${g} = ${y};${this.opts._n}`}else if(y=u?.(g))m=(0,t._)`${m}${y}${this.opts._n}`;else throw new i(g);v.set(g,n.Completed)})}return m}}e.ValueScope=l})(za)),za}var cl;function ie(){return cl||(cl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Ji(),i=ol();var n=Ji();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var r=ol();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return r.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return r.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return r.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return r.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class c{optimizeNodes(){return this}optimizeNames(_,k){return this}}class o extends c{constructor(_,k,F){super(),this.varKind=_,this.name=k,this.rhs=F}render({es5:_,_n:k}){const F=_?i.varKinds.var:this.varKind,Y=this.rhs===void 0?"":` = ${this.rhs}`;return`${F} ${this.name}${Y};`+k}optimizeNames(_,k){if(_[this.name.str])return this.rhs&&(this.rhs=q(this.rhs,_,k)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class l extends c{constructor(_,k,F){super(),this.lhs=_,this.rhs=k,this.sideEffects=F}render({_n:_}){return`${this.lhs} = ${this.rhs};`+_}optimizeNames(_,k){if(!(this.lhs instanceof t.Name&&!_[this.lhs.str]&&!this.sideEffects))return this.rhs=q(this.rhs,_,k),this}get names(){const _=this.lhs instanceof t.Name?{}:{...this.lhs.names};return G(_,this.rhs)}}class d extends l{constructor(_,k,F,Y){super(_,F,Y),this.op=k}render({_n:_}){return`${this.lhs} ${this.op}= ${this.rhs};`+_}}class p extends c{constructor(_){super(),this.label=_,this.names={}}render({_n:_}){return`${this.label}:`+_}}class a extends c{constructor(_){super(),this.label=_,this.names={}}render({_n:_}){return`break${this.label?` ${this.label}`:""};`+_}}class s extends c{constructor(_){super(),this.error=_}render({_n:_}){return`throw ${this.error};`+_}get names(){return this.error.names}}class u extends c{constructor(_){super(),this.code=_}render({_n:_}){return`${this.code};`+_}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(_,k){return this.code=q(this.code,_,k),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends c{constructor(_=[]){super(),this.nodes=_}render(_){return this.nodes.reduce((k,F)=>k+F.render(_),"")}optimizeNodes(){const{nodes:_}=this;let k=_.length;for(;k--;){const F=_[k].optimizeNodes();Array.isArray(F)?_.splice(k,1,...F):F?_[k]=F:_.splice(k,1)}return _.length>0?this:void 0}optimizeNames(_,k){const{nodes:F}=this;let Y=F.length;for(;Y--;){const W=F[Y];W.optimizeNames(_,k)||(z(_,W.names),F.splice(Y,1))}return F.length>0?this:void 0}get names(){return this.nodes.reduce((_,k)=>V(_,k.names),{})}}class f extends m{render(_){return"{"+_._n+super.render(_)+"}"+_._n}}class h extends m{}class v extends f{}v.kind="else";class g extends f{constructor(_,k){super(k),this.condition=_}render(_){let k=`if(${this.condition})`+super.render(_);return this.else&&(k+="else "+this.else.render(_)),k}optimizeNodes(){super.optimizeNodes();const _=this.condition;if(_===!0)return this.nodes;let k=this.else;if(k){const F=k.optimizeNodes();k=this.else=Array.isArray(F)?new v(F):F}if(k)return _===!1?k instanceof g?k:k.nodes:this.nodes.length?this:new g(O(_),k instanceof g?[k]:k.nodes);if(!(_===!1||!this.nodes.length))return this}optimizeNames(_,k){var F;if(this.else=(F=this.else)===null||F===void 0?void 0:F.optimizeNames(_,k),!!(super.optimizeNames(_,k)||this.else))return this.condition=q(this.condition,_,k),this}get names(){const _=super.names;return G(_,this.condition),this.else&&V(_,this.else.names),_}}g.kind="if";class y extends f{}y.kind="for";class b extends y{constructor(_){super(),this.iteration=_}render(_){return`for(${this.iteration})`+super.render(_)}optimizeNames(_,k){if(super.optimizeNames(_,k))return this.iteration=q(this.iteration,_,k),this}get names(){return V(super.names,this.iteration.names)}}class x extends y{constructor(_,k,F,Y){super(),this.varKind=_,this.name=k,this.from=F,this.to=Y}render(_){const k=_.es5?i.varKinds.var:this.varKind,{name:F,from:Y,to:W}=this;return`for(${k} ${F}=${Y}; ${F}<${W}; ${F}++)`+super.render(_)}get names(){const _=G(super.names,this.from);return G(_,this.to)}}class w extends y{constructor(_,k,F,Y){super(),this.loop=_,this.varKind=k,this.name=F,this.iterable=Y}render(_){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(_)}optimizeNames(_,k){if(super.optimizeNames(_,k))return this.iterable=q(this.iterable,_,k),this}get names(){return V(super.names,this.iterable.names)}}class S extends f{constructor(_,k,F){super(),this.name=_,this.args=k,this.async=F}render(_){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(_)}}S.kind="func";class $ extends m{render(_){return"return "+super.render(_)}}$.kind="return";class E extends f{render(_){let k="try"+super.render(_);return this.catch&&(k+=this.catch.render(_)),this.finally&&(k+=this.finally.render(_)),k}optimizeNodes(){var _,k;return super.optimizeNodes(),(_=this.catch)===null||_===void 0||_.optimizeNodes(),(k=this.finally)===null||k===void 0||k.optimizeNodes(),this}optimizeNames(_,k){var F,Y;return super.optimizeNames(_,k),(F=this.catch)===null||F===void 0||F.optimizeNames(_,k),(Y=this.finally)===null||Y===void 0||Y.optimizeNames(_,k),this}get names(){const _=super.names;return this.catch&&V(_,this.catch.names),this.finally&&V(_,this.finally.names),_}}class P extends f{constructor(_){super(),this.error=_}render(_){return`catch(${this.error})`+super.render(_)}}P.kind="catch";class B extends f{render(_){return"finally"+super.render(_)}}B.kind="finally";class D{constructor(_,k={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...k,_n:k.lines?`
2
- `:""},this._extScope=_,this._scope=new i.Scope({parent:_}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(_){return this._scope.name(_)}scopeName(_){return this._extScope.name(_)}scopeValue(_,k){const F=this._extScope.value(_,k);return(this._values[F.prefix]||(this._values[F.prefix]=new Set)).add(F),F}getScopeValue(_,k){return this._extScope.getValue(_,k)}scopeRefs(_){return this._extScope.scopeRefs(_,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(_,k,F,Y){const W=this._scope.toName(k);return F!==void 0&&Y&&(this._constants[W.str]=F),this._leafNode(new o(_,W,F)),W}const(_,k,F){return this._def(i.varKinds.const,_,k,F)}let(_,k,F){return this._def(i.varKinds.let,_,k,F)}var(_,k,F){return this._def(i.varKinds.var,_,k,F)}assign(_,k,F){return this._leafNode(new l(_,k,F))}add(_,k){return this._leafNode(new d(_,e.operators.ADD,k))}code(_){return typeof _=="function"?_():_!==t.nil&&this._leafNode(new u(_)),this}object(..._){const k=["{"];for(const[F,Y]of _)k.length>1&&k.push(","),k.push(F),(F!==Y||this.opts.es5)&&(k.push(":"),(0,t.addCodeArg)(k,Y));return k.push("}"),new t._Code(k)}if(_,k,F){if(this._blockNode(new g(_)),k&&F)this.code(k).else().code(F).endIf();else if(k)this.code(k).endIf();else if(F)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(_){return this._elseNode(new g(_))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(g,v)}_for(_,k){return this._blockNode(_),k&&this.code(k).endFor(),this}for(_,k){return this._for(new b(_),k)}forRange(_,k,F,Y,W=this.opts.es5?i.varKinds.var:i.varKinds.let){const ae=this._scope.toName(_);return this._for(new x(W,ae,k,F),()=>Y(ae))}forOf(_,k,F,Y=i.varKinds.const){const W=this._scope.toName(_);if(this.opts.es5){const ae=k instanceof t.Name?k:this.var("_arr",k);return this.forRange("_i",0,(0,t._)`${ae}.length`,ee=>{this.var(W,(0,t._)`${ae}[${ee}]`),F(W)})}return this._for(new w("of",Y,W,k),()=>F(W))}forIn(_,k,F,Y=this.opts.es5?i.varKinds.var:i.varKinds.const){if(this.opts.ownProperties)return this.forOf(_,(0,t._)`Object.keys(${k})`,F);const W=this._scope.toName(_);return this._for(new w("in",Y,W,k),()=>F(W))}endFor(){return this._endBlockNode(y)}label(_){return this._leafNode(new p(_))}break(_){return this._leafNode(new a(_))}return(_){const k=new $;if(this._blockNode(k),this.code(_),k.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode($)}try(_,k,F){if(!k&&!F)throw new Error('CodeGen: "try" without "catch" and "finally"');const Y=new E;if(this._blockNode(Y),this.code(_),k){const W=this.name("e");this._currNode=Y.catch=new P(W),k(W)}return F&&(this._currNode=Y.finally=new B,this.code(F)),this._endBlockNode(P,B)}throw(_){return this._leafNode(new s(_))}block(_,k){return this._blockStarts.push(this._nodes.length),_&&this.code(_).endBlock(k),this}endBlock(_){const k=this._blockStarts.pop();if(k===void 0)throw new Error("CodeGen: not in self-balancing block");const F=this._nodes.length-k;if(F<0||_!==void 0&&F!==_)throw new Error(`CodeGen: wrong number of nodes: ${F} vs ${_} expected`);return this._nodes.length=k,this}func(_,k=t.nil,F,Y){return this._blockNode(new S(_,k,F)),Y&&this.code(Y).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(_=1){for(;_-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(_){return this._currNode.nodes.push(_),this}_blockNode(_){this._currNode.nodes.push(_),this._nodes.push(_)}_endBlockNode(_,k){const F=this._currNode;if(F instanceof _||k&&F instanceof k)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${k?`${_.kind}/${k.kind}`:_.kind}"`)}_elseNode(_){const k=this._currNode;if(!(k instanceof g))throw new Error('CodeGen: "else" without "if"');return this._currNode=k.else=_,this}get _root(){return this._nodes[0]}get _currNode(){const _=this._nodes;return _[_.length-1]}set _currNode(_){const k=this._nodes;k[k.length-1]=_}}e.CodeGen=D;function V(N,_){for(const k in _)N[k]=(N[k]||0)+(_[k]||0);return N}function G(N,_){return _ instanceof t._CodeOrName?V(N,_.names):N}function q(N,_,k){if(N instanceof t.Name)return F(N);if(!Y(N))return N;return new t._Code(N._items.reduce((W,ae)=>(ae instanceof t.Name&&(ae=F(ae)),ae instanceof t._Code?W.push(...ae._items):W.push(ae),W),[]));function F(W){const ae=k[W.str];return ae===void 0||_[W.str]!==1?W:(delete _[W.str],ae)}function Y(W){return W instanceof t._Code&&W._items.some(ae=>ae instanceof t.Name&&_[ae.str]===1&&k[ae.str]!==void 0)}}function z(N,_){for(const k in _)N[k]=(N[k]||0)-(_[k]||0)}function O(N){return typeof N=="boolean"||typeof N=="number"||N===null?!N:(0,t._)`!${I(N)}`}e.not=O;const R=A(e.operators.AND);function T(...N){return N.reduce(R)}e.and=T;const U=A(e.operators.OR);function C(...N){return N.reduce(U)}e.or=C;function A(N){return(_,k)=>_===t.nil?k:k===t.nil?_:(0,t._)`${I(_)} ${N} ${I(k)}`}function I(N){return N instanceof t.Name?N:(0,t._)`(${N})`}})(Fa)),Fa}var re={},ll;function se(){if(ll)return re;ll=1,Object.defineProperty(re,"__esModule",{value:!0}),re.checkStrictMode=re.getErrorPath=re.Type=re.useFunc=re.setEvaluated=re.evaluatedPropsToName=re.mergeEvaluated=re.eachItem=re.unescapeJsonPointer=re.escapeJsonPointer=re.escapeFragment=re.unescapeFragment=re.schemaRefOrVal=re.schemaHasRulesButRef=re.schemaHasRules=re.checkUnknownRules=re.alwaysValidSchema=re.toHash=void 0;const e=ie(),t=Ji();function i(w){const S={};for(const $ of w)S[$]=!0;return S}re.toHash=i;function n(w,S){return typeof S=="boolean"?S:Object.keys(S).length===0?!0:(r(w,S),!c(S,w.self.RULES.all))}re.alwaysValidSchema=n;function r(w,S=w.schema){const{opts:$,self:E}=w;if(!$.strictSchema||typeof S=="boolean")return;const P=E.RULES.keywords;for(const B in S)P[B]||x(w,`unknown keyword: "${B}"`)}re.checkUnknownRules=r;function c(w,S){if(typeof w=="boolean")return!w;for(const $ in w)if(S[$])return!0;return!1}re.schemaHasRules=c;function o(w,S){if(typeof w=="boolean")return!w;for(const $ in w)if($!=="$ref"&&S.all[$])return!0;return!1}re.schemaHasRulesButRef=o;function l({topSchemaRef:w,schemaPath:S},$,E,P){if(!P){if(typeof $=="number"||typeof $=="boolean")return $;if(typeof $=="string")return(0,e._)`${$}`}return(0,e._)`${w}${S}${(0,e.getProperty)(E)}`}re.schemaRefOrVal=l;function d(w){return s(decodeURIComponent(w))}re.unescapeFragment=d;function p(w){return encodeURIComponent(a(w))}re.escapeFragment=p;function a(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}re.escapeJsonPointer=a;function s(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}re.unescapeJsonPointer=s;function u(w,S){if(Array.isArray(w))for(const $ of w)S($);else S(w)}re.eachItem=u;function m({mergeNames:w,mergeToName:S,mergeValues:$,resultToName:E}){return(P,B,D,V)=>{const G=D===void 0?B:D instanceof e.Name?(B instanceof e.Name?w(P,B,D):S(P,B,D),D):B instanceof e.Name?(S(P,D,B),B):$(B,D);return V===e.Name&&!(G instanceof e.Name)?E(P,G):G}}re.mergeEvaluated={props:m({mergeNames:(w,S,$)=>w.if((0,e._)`${$} !== true && ${S} !== undefined`,()=>{w.if((0,e._)`${S} === true`,()=>w.assign($,!0),()=>w.assign($,(0,e._)`${$} || {}`).code((0,e._)`Object.assign(${$}, ${S})`))}),mergeToName:(w,S,$)=>w.if((0,e._)`${$} !== true`,()=>{S===!0?w.assign($,!0):(w.assign($,(0,e._)`${$} || {}`),h(w,$,S))}),mergeValues:(w,S)=>w===!0?!0:{...w,...S},resultToName:f}),items:m({mergeNames:(w,S,$)=>w.if((0,e._)`${$} !== true && ${S} !== undefined`,()=>w.assign($,(0,e._)`${S} === true ? true : ${$} > ${S} ? ${$} : ${S}`)),mergeToName:(w,S,$)=>w.if((0,e._)`${$} !== true`,()=>w.assign($,S===!0?!0:(0,e._)`${$} > ${S} ? ${$} : ${S}`)),mergeValues:(w,S)=>w===!0?!0:Math.max(w,S),resultToName:(w,S)=>w.var("items",S)})};function f(w,S){if(S===!0)return w.var("props",!0);const $=w.var("props",(0,e._)`{}`);return S!==void 0&&h(w,$,S),$}re.evaluatedPropsToName=f;function h(w,S,$){Object.keys($).forEach(E=>w.assign((0,e._)`${S}${(0,e.getProperty)(E)}`,!0))}re.setEvaluated=h;const v={};function g(w,S){return w.scopeValue("func",{ref:S,code:v[S.code]||(v[S.code]=new t._Code(S.code))})}re.useFunc=g;var y;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(y||(re.Type=y={}));function b(w,S,$){if(w instanceof e.Name){const E=S===y.Num;return $?E?(0,e._)`"[" + ${w} + "]"`:(0,e._)`"['" + ${w} + "']"`:E?(0,e._)`"/" + ${w}`:(0,e._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return $?(0,e.getProperty)(w).toString():"/"+a(w)}re.getErrorPath=b;function x(w,S,$=w.opts.strictSchema){if($){if(S=`strict mode: ${S}`,$===!0)throw new Error(S);w.self.logger.warn(S)}}return re.checkStrictMode=x,re}var kn={},ul;function De(){if(ul)return kn;ul=1,Object.defineProperty(kn,"__esModule",{value:!0});const e=ie(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return kn.default=t,kn}var pl;function ca(){return pl||(pl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=ie(),i=se(),n=De();e.keywordError={message:({keyword:v})=>(0,t.str)`must pass "${v}" keyword validation`},e.keyword$DataError={message:({keyword:v,schemaType:g})=>g?(0,t.str)`"${v}" keyword must be ${g} ($data)`:(0,t.str)`"${v}" keyword is invalid ($data)`};function r(v,g=e.keywordError,y,b){const{it:x}=v,{gen:w,compositeRule:S,allErrors:$}=x,E=s(v,g,y);b??(S||$)?d(w,E):p(x,(0,t._)`[${E}]`)}e.reportError=r;function c(v,g=e.keywordError,y){const{it:b}=v,{gen:x,compositeRule:w,allErrors:S}=b,$=s(v,g,y);d(x,$),w||S||p(b,n.default.vErrors)}e.reportExtraError=c;function o(v,g){v.assign(n.default.errors,g),v.if((0,t._)`${n.default.vErrors} !== null`,()=>v.if(g,()=>v.assign((0,t._)`${n.default.vErrors}.length`,g),()=>v.assign(n.default.vErrors,null)))}e.resetErrorsCount=o;function l({gen:v,keyword:g,schemaValue:y,data:b,errsCount:x,it:w}){if(x===void 0)throw new Error("ajv implementation error");const S=v.name("err");v.forRange("i",x,n.default.errors,$=>{v.const(S,(0,t._)`${n.default.vErrors}[${$}]`),v.if((0,t._)`${S}.instancePath === undefined`,()=>v.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,w.errorPath))),v.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${w.errSchemaPath}/${g}`),w.opts.verbose&&(v.assign((0,t._)`${S}.schema`,y),v.assign((0,t._)`${S}.data`,b))})}e.extendErrors=l;function d(v,g){const y=v.const("err",g);v.if((0,t._)`${n.default.vErrors} === null`,()=>v.assign(n.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${n.default.vErrors}.push(${y})`),v.code((0,t._)`${n.default.errors}++`)}function p(v,g){const{gen:y,validateName:b,schemaEnv:x}=v;x.$async?y.throw((0,t._)`new ${v.ValidationError}(${g})`):(y.assign((0,t._)`${b}.errors`,g),y.return(!1))}const a={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function s(v,g,y){const{createErrors:b}=v.it;return b===!1?(0,t._)`{}`:u(v,g,y)}function u(v,g,y={}){const{gen:b,it:x}=v,w=[m(x,y),f(v,y)];return h(v,g,w),b.object(...w)}function m({errorPath:v},{instancePath:g}){const y=g?(0,t.str)`${v}${(0,i.getErrorPath)(g,i.Type.Str)}`:v;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,y)]}function f({keyword:v,it:{errSchemaPath:g}},{schemaPath:y,parentSchema:b}){let x=b?g:(0,t.str)`${g}/${v}`;return y&&(x=(0,t.str)`${x}${(0,i.getErrorPath)(y,i.Type.Str)}`),[a.schemaPath,x]}function h(v,{params:g,message:y},b){const{keyword:x,data:w,schemaValue:S,it:$}=v,{opts:E,propertyName:P,topSchemaRef:B,schemaPath:D}=$;b.push([a.keyword,x],[a.params,typeof g=="function"?g(v):g||(0,t._)`{}`]),E.messages&&b.push([a.message,typeof y=="function"?y(v):y]),E.verbose&&b.push([a.schema,S],[a.parentSchema,(0,t._)`${B}${D}`],[n.default.data,w]),P&&b.push([a.propertyName,P])}})(Da)),Da}var dl;function Sg(){if(dl)return ct;dl=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.boolOrEmptySchema=ct.topBoolOrEmptySchema=void 0;const e=ca(),t=ie(),i=De(),n={message:"boolean schema is false"};function r(l){const{gen:d,schema:p,validateName:a}=l;p===!1?o(l,!1):typeof p=="object"&&p.$async===!0?d.return(i.default.data):(d.assign((0,t._)`${a}.errors`,null),d.return(!0))}ct.topBoolOrEmptySchema=r;function c(l,d){const{gen:p,schema:a}=l;a===!1?(p.var(d,!1),o(l)):p.var(d,!0)}ct.boolOrEmptySchema=c;function o(l,d){const{gen:p,data:a}=l,s={gen:p,keyword:"false schema",data:a,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:l};(0,e.reportError)(s,n,void 0,d)}return ct}var we={},lt={},fl;function Ym(){if(fl)return lt;fl=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.getRules=lt.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function i(r){return typeof r=="string"&&t.has(r)}lt.isJSONType=i;function n(){const r={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...r,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},r.number,r.string,r.array,r.object],post:{rules:[]},all:{},keywords:{}}}return lt.getRules=n,lt}var Ye={},ml;function Jm(){if(ml)return Ye;ml=1,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.shouldUseRule=Ye.shouldUseGroup=Ye.schemaHasRulesForType=void 0;function e({schema:n,self:r},c){const o=r.RULES.types[c];return o&&o!==!0&&t(n,o)}Ye.schemaHasRulesForType=e;function t(n,r){return r.rules.some(c=>i(n,c))}Ye.shouldUseGroup=t;function i(n,r){var c;return n[r.keyword]!==void 0||((c=r.definition.implements)===null||c===void 0?void 0:c.some(o=>n[o]!==void 0))}return Ye.shouldUseRule=i,Ye}var hl;function Xi(){if(hl)return we;hl=1,Object.defineProperty(we,"__esModule",{value:!0}),we.reportTypeError=we.checkDataTypes=we.checkDataType=we.coerceAndCheckDataType=we.getJSONTypes=we.getSchemaTypes=we.DataType=void 0;const e=Ym(),t=Jm(),i=ca(),n=ie(),r=se();var c;(function(y){y[y.Correct=0]="Correct",y[y.Wrong=1]="Wrong"})(c||(we.DataType=c={}));function o(y){const b=l(y.type);if(b.includes("null")){if(y.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&y.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');y.nullable===!0&&b.push("null")}return b}we.getSchemaTypes=o;function l(y){const b=Array.isArray(y)?y:y?[y]:[];if(b.every(e.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}we.getJSONTypes=l;function d(y,b){const{gen:x,data:w,opts:S}=y,$=a(b,S.coerceTypes),E=b.length>0&&!($.length===0&&b.length===1&&(0,t.schemaHasRulesForType)(y,b[0]));if(E){const P=f(b,w,S.strictNumbers,c.Wrong);x.if(P,()=>{$.length?s(y,b,$):v(y)})}return E}we.coerceAndCheckDataType=d;const p=new Set(["string","number","integer","boolean","null"]);function a(y,b){return b?y.filter(x=>p.has(x)||b==="array"&&x==="array"):[]}function s(y,b,x){const{gen:w,data:S,opts:$}=y,E=w.let("dataType",(0,n._)`typeof ${S}`),P=w.let("coerced",(0,n._)`undefined`);$.coerceTypes==="array"&&w.if((0,n._)`${E} == 'object' && Array.isArray(${S}) && ${S}.length == 1`,()=>w.assign(S,(0,n._)`${S}[0]`).assign(E,(0,n._)`typeof ${S}`).if(f(b,S,$.strictNumbers),()=>w.assign(P,S))),w.if((0,n._)`${P} !== undefined`);for(const D of x)(p.has(D)||D==="array"&&$.coerceTypes==="array")&&B(D);w.else(),v(y),w.endIf(),w.if((0,n._)`${P} !== undefined`,()=>{w.assign(S,P),u(y,P)});function B(D){switch(D){case"string":w.elseIf((0,n._)`${E} == "number" || ${E} == "boolean"`).assign(P,(0,n._)`"" + ${S}`).elseIf((0,n._)`${S} === null`).assign(P,(0,n._)`""`);return;case"number":w.elseIf((0,n._)`${E} == "boolean" || ${S} === null
3
- || (${E} == "string" && ${S} && ${S} == +${S})`).assign(P,(0,n._)`+${S}`);return;case"integer":w.elseIf((0,n._)`${E} === "boolean" || ${S} === null
4
- || (${E} === "string" && ${S} && ${S} == +${S} && !(${S} % 1))`).assign(P,(0,n._)`+${S}`);return;case"boolean":w.elseIf((0,n._)`${S} === "false" || ${S} === 0 || ${S} === null`).assign(P,!1).elseIf((0,n._)`${S} === "true" || ${S} === 1`).assign(P,!0);return;case"null":w.elseIf((0,n._)`${S} === "" || ${S} === 0 || ${S} === false`),w.assign(P,null);return;case"array":w.elseIf((0,n._)`${E} === "string" || ${E} === "number"
5
- || ${E} === "boolean" || ${S} === null`).assign(P,(0,n._)`[${S}]`)}}}function u({gen:y,parentData:b,parentDataProperty:x},w){y.if((0,n._)`${b} !== undefined`,()=>y.assign((0,n._)`${b}[${x}]`,w))}function m(y,b,x,w=c.Correct){const S=w===c.Correct?n.operators.EQ:n.operators.NEQ;let $;switch(y){case"null":return(0,n._)`${b} ${S} null`;case"array":$=(0,n._)`Array.isArray(${b})`;break;case"object":$=(0,n._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":$=E((0,n._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":$=E();break;default:return(0,n._)`typeof ${b} ${S} ${y}`}return w===c.Correct?$:(0,n.not)($);function E(P=n.nil){return(0,n.and)((0,n._)`typeof ${b} == "number"`,P,x?(0,n._)`isFinite(${b})`:n.nil)}}we.checkDataType=m;function f(y,b,x,w){if(y.length===1)return m(y[0],b,x,w);let S;const $=(0,r.toHash)(y);if($.array&&$.object){const E=(0,n._)`typeof ${b} != "object"`;S=$.null?E:(0,n._)`!${b} || ${E}`,delete $.null,delete $.array,delete $.object}else S=n.nil;$.number&&delete $.integer;for(const E in $)S=(0,n.and)(S,m(E,b,x,w));return S}we.checkDataTypes=f;const h={message:({schema:y})=>`must be ${y}`,params:({schema:y,schemaValue:b})=>typeof y=="string"?(0,n._)`{type: ${y}}`:(0,n._)`{type: ${b}}`};function v(y){const b=g(y);(0,i.reportError)(b,h)}we.reportTypeError=v;function g(y){const{gen:b,data:x,schema:w}=y,S=(0,r.schemaRefOrVal)(y,w,"type");return{gen:b,keyword:"type",data:x,schema:w.type,schemaCode:S,schemaValue:S,parentSchema:w,params:{},it:y}}return we}var Wt={},vl;function $g(){if(vl)return Wt;vl=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.assignDefaults=void 0;const e=ie(),t=se();function i(r,c){const{properties:o,items:l}=r.schema;if(c==="object"&&o)for(const d in o)n(r,d,o[d].default);else c==="array"&&Array.isArray(l)&&l.forEach((d,p)=>n(r,p,d.default))}Wt.assignDefaults=i;function n(r,c,o){const{gen:l,compositeRule:d,data:p,opts:a}=r;if(o===void 0)return;const s=(0,e._)`${p}${(0,e.getProperty)(c)}`;if(d){(0,t.checkStrictMode)(r,`default is ignored for: ${s}`);return}let u=(0,e._)`${s} === undefined`;a.useDefaults==="empty"&&(u=(0,e._)`${u} || ${s} === null || ${s} === ""`),l.if(u,(0,e._)`${s} = ${(0,e.stringify)(o)}`)}return Wt}var Le={},le={},gl;function Fe(){if(gl)return le;gl=1,Object.defineProperty(le,"__esModule",{value:!0}),le.validateUnion=le.validateArray=le.usePattern=le.callValidateCode=le.schemaProperties=le.allSchemaProperties=le.noPropertyInData=le.propertyInData=le.isOwnProperty=le.hasPropFunc=le.reportMissingProp=le.checkMissingProp=le.checkReportMissingProp=void 0;const e=ie(),t=se(),i=De(),n=se();function r(y,b){const{gen:x,data:w,it:S}=y;x.if(a(x,w,b,S.opts.ownProperties),()=>{y.setParams({missingProperty:(0,e._)`${b}`},!0),y.error()})}le.checkReportMissingProp=r;function c({gen:y,data:b,it:{opts:x}},w,S){return(0,e.or)(...w.map($=>(0,e.and)(a(y,b,$,x.ownProperties),(0,e._)`${S} = ${$}`)))}le.checkMissingProp=c;function o(y,b){y.setParams({missingProperty:b},!0),y.error()}le.reportMissingProp=o;function l(y){return y.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}le.hasPropFunc=l;function d(y,b,x){return(0,e._)`${l(y)}.call(${b}, ${x})`}le.isOwnProperty=d;function p(y,b,x,w){const S=(0,e._)`${b}${(0,e.getProperty)(x)} !== undefined`;return w?(0,e._)`${S} && ${d(y,b,x)}`:S}le.propertyInData=p;function a(y,b,x,w){const S=(0,e._)`${b}${(0,e.getProperty)(x)} === undefined`;return w?(0,e.or)(S,(0,e.not)(d(y,b,x))):S}le.noPropertyInData=a;function s(y){return y?Object.keys(y).filter(b=>b!=="__proto__"):[]}le.allSchemaProperties=s;function u(y,b){return s(b).filter(x=>!(0,t.alwaysValidSchema)(y,b[x]))}le.schemaProperties=u;function m({schemaCode:y,data:b,it:{gen:x,topSchemaRef:w,schemaPath:S,errorPath:$},it:E},P,B,D){const V=D?(0,e._)`${y}, ${b}, ${w}${S}`:b,G=[[i.default.instancePath,(0,e.strConcat)(i.default.instancePath,$)],[i.default.parentData,E.parentData],[i.default.parentDataProperty,E.parentDataProperty],[i.default.rootData,i.default.rootData]];E.opts.dynamicRef&&G.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const q=(0,e._)`${V}, ${x.object(...G)}`;return B!==e.nil?(0,e._)`${P}.call(${B}, ${q})`:(0,e._)`${P}(${q})`}le.callValidateCode=m;const f=(0,e._)`new RegExp`;function h({gen:y,it:{opts:b}},x){const w=b.unicodeRegExp?"u":"",{regExp:S}=b.code,$=S(x,w);return y.scopeValue("pattern",{key:$.toString(),ref:$,code:(0,e._)`${S.code==="new RegExp"?f:(0,n.useFunc)(y,S)}(${x}, ${w})`})}le.usePattern=h;function v(y){const{gen:b,data:x,keyword:w,it:S}=y,$=b.name("valid");if(S.allErrors){const P=b.let("valid",!0);return E(()=>b.assign(P,!1)),P}return b.var($,!0),E(()=>b.break()),$;function E(P){const B=b.const("len",(0,e._)`${x}.length`);b.forRange("i",0,B,D=>{y.subschema({keyword:w,dataProp:D,dataPropType:t.Type.Num},$),b.if((0,e.not)($),P)})}}le.validateArray=v;function g(y){const{gen:b,schema:x,keyword:w,it:S}=y;if(!Array.isArray(x))throw new Error("ajv implementation error");if(x.some(B=>(0,t.alwaysValidSchema)(S,B))&&!S.opts.unevaluated)return;const E=b.let("valid",!1),P=b.name("_valid");b.block(()=>x.forEach((B,D)=>{const V=y.subschema({keyword:w,schemaProp:D,compositeRule:!0},P);b.assign(E,(0,e._)`${E} || ${P}`),y.mergeValidEvaluated(V,P)||b.if((0,e.not)(E))})),y.result(E,()=>y.reset(),()=>y.error(!0))}return le.validateUnion=g,le}var yl;function _g(){if(yl)return Le;yl=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.validateKeywordUsage=Le.validSchemaType=Le.funcKeywordCode=Le.macroKeywordCode=void 0;const e=ie(),t=De(),i=Fe(),n=ca();function r(u,m){const{gen:f,keyword:h,schema:v,parentSchema:g,it:y}=u,b=m.macro.call(y.self,v,g,y),x=p(f,h,b);y.opts.validateSchema!==!1&&y.self.validateSchema(b,!0);const w=f.name("valid");u.subschema({schema:b,schemaPath:e.nil,errSchemaPath:`${y.errSchemaPath}/${h}`,topSchemaRef:x,compositeRule:!0},w),u.pass(w,()=>u.error(!0))}Le.macroKeywordCode=r;function c(u,m){var f;const{gen:h,keyword:v,schema:g,parentSchema:y,$data:b,it:x}=u;d(x,m);const w=!b&&m.compile?m.compile.call(x.self,g,y,x):m.validate,S=p(h,v,w),$=h.let("valid");u.block$data($,E),u.ok((f=m.valid)!==null&&f!==void 0?f:$);function E(){if(m.errors===!1)D(),m.modifying&&o(u),V(()=>u.error());else{const G=m.async?P():B();m.modifying&&o(u),V(()=>l(u,G))}}function P(){const G=h.let("ruleErrs",null);return h.try(()=>D((0,e._)`await `),q=>h.assign($,!1).if((0,e._)`${q} instanceof ${x.ValidationError}`,()=>h.assign(G,(0,e._)`${q}.errors`),()=>h.throw(q))),G}function B(){const G=(0,e._)`${S}.errors`;return h.assign(G,null),D(e.nil),G}function D(G=m.async?(0,e._)`await `:e.nil){const q=x.opts.passContext?t.default.this:t.default.self,z=!("compile"in m&&!b||m.schema===!1);h.assign($,(0,e._)`${G}${(0,i.callValidateCode)(u,S,q,z)}`,m.modifying)}function V(G){var q;h.if((0,e.not)((q=m.valid)!==null&&q!==void 0?q:$),G)}}Le.funcKeywordCode=c;function o(u){const{gen:m,data:f,it:h}=u;m.if(h.parentData,()=>m.assign(f,(0,e._)`${h.parentData}[${h.parentDataProperty}]`))}function l(u,m){const{gen:f}=u;f.if((0,e._)`Array.isArray(${m})`,()=>{f.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${m} : ${t.default.vErrors}.concat(${m})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(u)},()=>u.error())}function d({schemaEnv:u},m){if(m.async&&!u.$async)throw new Error("async keyword in sync schema")}function p(u,m,f){if(f===void 0)throw new Error(`keyword "${m}" failed to compile`);return u.scopeValue("keyword",typeof f=="function"?{ref:f}:{ref:f,code:(0,e.stringify)(f)})}function a(u,m,f=!1){return!m.length||m.some(h=>h==="array"?Array.isArray(u):h==="object"?u&&typeof u=="object"&&!Array.isArray(u):typeof u==h||f&&typeof u>"u")}Le.validSchemaType=a;function s({schema:u,opts:m,self:f,errSchemaPath:h},v,g){if(Array.isArray(v.keyword)?!v.keyword.includes(g):v.keyword!==g)throw new Error("ajv implementation error");const y=v.dependencies;if(y?.some(b=>!Object.prototype.hasOwnProperty.call(u,b)))throw new Error(`parent schema must have dependencies of ${g}: ${y.join(",")}`);if(v.validateSchema&&!v.validateSchema(u[g])){const x=`keyword "${g}" value is invalid at path "${h}": `+f.errorsText(v.validateSchema.errors);if(m.validateSchema==="log")f.logger.error(x);else throw new Error(x)}}return Le.validateKeywordUsage=s,Le}var Je={},bl;function Eg(){if(bl)return Je;bl=1,Object.defineProperty(Je,"__esModule",{value:!0}),Je.extendSubschemaMode=Je.extendSubschemaData=Je.getSubschema=void 0;const e=ie(),t=se();function i(c,{keyword:o,schemaProp:l,schema:d,schemaPath:p,errSchemaPath:a,topSchemaRef:s}){if(o!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(o!==void 0){const u=c.schema[o];return l===void 0?{schema:u,schemaPath:(0,e._)`${c.schemaPath}${(0,e.getProperty)(o)}`,errSchemaPath:`${c.errSchemaPath}/${o}`}:{schema:u[l],schemaPath:(0,e._)`${c.schemaPath}${(0,e.getProperty)(o)}${(0,e.getProperty)(l)}`,errSchemaPath:`${c.errSchemaPath}/${o}/${(0,t.escapeFragment)(l)}`}}if(d!==void 0){if(p===void 0||a===void 0||s===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:p,topSchemaRef:s,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}Je.getSubschema=i;function n(c,o,{dataProp:l,dataPropType:d,data:p,dataTypes:a,propertyName:s}){if(p!==void 0&&l!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:u}=o;if(l!==void 0){const{errorPath:f,dataPathArr:h,opts:v}=o,g=u.let("data",(0,e._)`${o.data}${(0,e.getProperty)(l)}`,!0);m(g),c.errorPath=(0,e.str)`${f}${(0,t.getErrorPath)(l,d,v.jsPropertySyntax)}`,c.parentDataProperty=(0,e._)`${l}`,c.dataPathArr=[...h,c.parentDataProperty]}if(p!==void 0){const f=p instanceof e.Name?p:u.let("data",p,!0);m(f),s!==void 0&&(c.propertyName=s)}a&&(c.dataTypes=a);function m(f){c.data=f,c.dataLevel=o.dataLevel+1,c.dataTypes=[],o.definedProperties=new Set,c.parentData=o.data,c.dataNames=[...o.dataNames,f]}}Je.extendSubschemaData=n;function r(c,{jtdDiscriminator:o,jtdMetadata:l,compositeRule:d,createErrors:p,allErrors:a}){d!==void 0&&(c.compositeRule=d),p!==void 0&&(c.createErrors=p),a!==void 0&&(c.allErrors=a),c.jtdDiscriminator=o,c.jtdMetadata=l}return Je.extendSubschemaMode=r,Je}var Re={},Ba,xl;function Xm(){return xl||(xl=1,Ba=function e(t,i){if(t===i)return!0;if(t&&i&&typeof t=="object"&&typeof i=="object"){if(t.constructor!==i.constructor)return!1;var n,r,c;if(Array.isArray(t)){if(n=t.length,n!=i.length)return!1;for(r=n;r--!==0;)if(!e(t[r],i[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if(c=Object.keys(t),n=c.length,n!==Object.keys(i).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,c[r]))return!1;for(r=n;r--!==0;){var o=c[r];if(!e(t[o],i[o]))return!1}return!0}return t!==t&&i!==i}),Ba}var Va={exports:{}},wl;function kg(){if(wl)return Va.exports;wl=1;var e=Va.exports=function(n,r,c){typeof r=="function"&&(c=r,r={}),c=r.cb||c;var o=typeof c=="function"?c:c.pre||function(){},l=c.post||function(){};t(r,o,l,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,r,c,o,l,d,p,a,s,u){if(o&&typeof o=="object"&&!Array.isArray(o)){r(o,l,d,p,a,s,u);for(var m in o){var f=o[m];if(Array.isArray(f)){if(m in e.arrayKeywords)for(var h=0;h<f.length;h++)t(n,r,c,f[h],l+"/"+m+"/"+h,d,l,m,o,h)}else if(m in e.propsKeywords){if(f&&typeof f=="object")for(var v in f)t(n,r,c,f[v],l+"/"+m+"/"+i(v),d,l,m,o,v)}else(m in e.keywords||n.allKeys&&!(m in e.skipKeywords))&&t(n,r,c,f,l+"/"+m,d,l,m,o)}c(o,l,d,p,a,s,u)}}function i(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}return Va.exports}var Sl;function la(){if(Sl)return Re;Sl=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.getSchemaRefs=Re.resolveUrl=Re.normalizeId=Re._getFullPath=Re.getFullPath=Re.inlineRef=void 0;const e=se(),t=Xm(),i=kg(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function r(h,v=!0){return typeof h=="boolean"?!0:v===!0?!o(h):v?l(h)<=v:!1}Re.inlineRef=r;const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function o(h){for(const v in h){if(c.has(v))return!0;const g=h[v];if(Array.isArray(g)&&g.some(o)||typeof g=="object"&&o(g))return!0}return!1}function l(h){let v=0;for(const g in h){if(g==="$ref")return 1/0;if(v++,!n.has(g)&&(typeof h[g]=="object"&&(0,e.eachItem)(h[g],y=>v+=l(y)),v===1/0))return 1/0}return v}function d(h,v="",g){g!==!1&&(v=s(v));const y=h.parse(v);return p(h,y)}Re.getFullPath=d;function p(h,v){return h.serialize(v).split("#")[0]+"#"}Re._getFullPath=p;const a=/#\/?$/;function s(h){return h?h.replace(a,""):""}Re.normalizeId=s;function u(h,v,g){return g=s(g),h.resolve(v,g)}Re.resolveUrl=u;const m=/^[a-z_][-a-z0-9._]*$/i;function f(h,v){if(typeof h=="boolean")return{};const{schemaId:g,uriResolver:y}=this.opts,b=s(h[g]||v),x={"":b},w=d(y,b,!1),S={},$=new Set;return i(h,{allKeys:!0},(B,D,V,G)=>{if(G===void 0)return;const q=w+D;let z=x[G];typeof B[g]=="string"&&(z=O.call(this,B[g])),R.call(this,B.$anchor),R.call(this,B.$dynamicAnchor),x[D]=z;function O(T){const U=this.opts.uriResolver.resolve;if(T=s(z?U(z,T):T),$.has(T))throw P(T);$.add(T);let C=this.refs[T];return typeof C=="string"&&(C=this.refs[C]),typeof C=="object"?E(B,C.schema,T):T!==s(q)&&(T[0]==="#"?(E(B,S[T],T),S[T]=B):this.refs[T]=q),T}function R(T){if(typeof T=="string"){if(!m.test(T))throw new Error(`invalid anchor "${T}"`);O.call(this,`#${T}`)}}}),S;function E(B,D,V){if(D!==void 0&&!t(B,D))throw P(V)}function P(B){return new Error(`reference "${B}" resolves to more than one schema`)}}return Re.getSchemaRefs=f,Re}var $l;function mn(){if($l)return We;$l=1,Object.defineProperty(We,"__esModule",{value:!0}),We.getData=We.KeywordCxt=We.validateFunctionCode=void 0;const e=Sg(),t=Xi(),i=Jm(),n=Xi(),r=$g(),c=_g(),o=Eg(),l=ie(),d=De(),p=la(),a=se(),s=ca();function u(j){if(w(j)&&($(j),x(j))){v(j);return}m(j,()=>(0,e.topBoolOrEmptySchema)(j))}We.validateFunctionCode=u;function m({gen:j,validateName:M,schema:K,schemaEnv:H,opts:Q},ne){Q.code.es5?j.func(M,(0,l._)`${d.default.data}, ${d.default.valCxt}`,H.$async,()=>{j.code((0,l._)`"use strict"; ${y(K,Q)}`),h(j,Q),j.code(ne)}):j.func(M,(0,l._)`${d.default.data}, ${f(Q)}`,H.$async,()=>j.code(y(K,Q)).code(ne))}function f(j){return(0,l._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${j.dynamicRef?(0,l._)`, ${d.default.dynamicAnchors}={}`:l.nil}}={}`}function h(j,M){j.if(d.default.valCxt,()=>{j.var(d.default.instancePath,(0,l._)`${d.default.valCxt}.${d.default.instancePath}`),j.var(d.default.parentData,(0,l._)`${d.default.valCxt}.${d.default.parentData}`),j.var(d.default.parentDataProperty,(0,l._)`${d.default.valCxt}.${d.default.parentDataProperty}`),j.var(d.default.rootData,(0,l._)`${d.default.valCxt}.${d.default.rootData}`),M.dynamicRef&&j.var(d.default.dynamicAnchors,(0,l._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{j.var(d.default.instancePath,(0,l._)`""`),j.var(d.default.parentData,(0,l._)`undefined`),j.var(d.default.parentDataProperty,(0,l._)`undefined`),j.var(d.default.rootData,d.default.data),M.dynamicRef&&j.var(d.default.dynamicAnchors,(0,l._)`{}`)})}function v(j){const{schema:M,opts:K,gen:H}=j;m(j,()=>{K.$comment&&M.$comment&&G(j),B(j),H.let(d.default.vErrors,null),H.let(d.default.errors,0),K.unevaluated&&g(j),E(j),q(j)})}function g(j){const{gen:M,validateName:K}=j;j.evaluated=M.const("evaluated",(0,l._)`${K}.evaluated`),M.if((0,l._)`${j.evaluated}.dynamicProps`,()=>M.assign((0,l._)`${j.evaluated}.props`,(0,l._)`undefined`)),M.if((0,l._)`${j.evaluated}.dynamicItems`,()=>M.assign((0,l._)`${j.evaluated}.items`,(0,l._)`undefined`))}function y(j,M){const K=typeof j=="object"&&j[M.schemaId];return K&&(M.code.source||M.code.process)?(0,l._)`/*# sourceURL=${K} */`:l.nil}function b(j,M){if(w(j)&&($(j),x(j))){S(j,M);return}(0,e.boolOrEmptySchema)(j,M)}function x({schema:j,self:M}){if(typeof j=="boolean")return!j;for(const K in j)if(M.RULES.all[K])return!0;return!1}function w(j){return typeof j.schema!="boolean"}function S(j,M){const{schema:K,gen:H,opts:Q}=j;Q.$comment&&K.$comment&&G(j),D(j),V(j);const ne=H.const("_errs",d.default.errors);E(j,ne),H.var(M,(0,l._)`${ne} === ${d.default.errors}`)}function $(j){(0,a.checkUnknownRules)(j),P(j)}function E(j,M){if(j.opts.jtd)return O(j,[],!1,M);const K=(0,t.getSchemaTypes)(j.schema),H=(0,t.coerceAndCheckDataType)(j,K);O(j,K,!H,M)}function P(j){const{schema:M,errSchemaPath:K,opts:H,self:Q}=j;M.$ref&&H.ignoreKeywordsWithRef&&(0,a.schemaHasRulesButRef)(M,Q.RULES)&&Q.logger.warn(`$ref: keywords ignored in schema at path "${K}"`)}function B(j){const{schema:M,opts:K}=j;M.default!==void 0&&K.useDefaults&&K.strictSchema&&(0,a.checkStrictMode)(j,"default is ignored in the schema root")}function D(j){const M=j.schema[j.opts.schemaId];M&&(j.baseId=(0,p.resolveUrl)(j.opts.uriResolver,j.baseId,M))}function V(j){if(j.schema.$async&&!j.schemaEnv.$async)throw new Error("async schema in sync schema")}function G({gen:j,schemaEnv:M,schema:K,errSchemaPath:H,opts:Q}){const ne=K.$comment;if(Q.$comment===!0)j.code((0,l._)`${d.default.self}.logger.log(${ne})`);else if(typeof Q.$comment=="function"){const fe=(0,l.str)`${H}/$comment`,ke=j.scopeValue("root",{ref:M.root});j.code((0,l._)`${d.default.self}.opts.$comment(${ne}, ${fe}, ${ke}.schema)`)}}function q(j){const{gen:M,schemaEnv:K,validateName:H,ValidationError:Q,opts:ne}=j;K.$async?M.if((0,l._)`${d.default.errors} === 0`,()=>M.return(d.default.data),()=>M.throw((0,l._)`new ${Q}(${d.default.vErrors})`)):(M.assign((0,l._)`${H}.errors`,d.default.vErrors),ne.unevaluated&&z(j),M.return((0,l._)`${d.default.errors} === 0`))}function z({gen:j,evaluated:M,props:K,items:H}){K instanceof l.Name&&j.assign((0,l._)`${M}.props`,K),H instanceof l.Name&&j.assign((0,l._)`${M}.items`,H)}function O(j,M,K,H){const{gen:Q,schema:ne,data:fe,allErrors:ke,opts:ge,self:he}=j,{RULES:ue}=he;if(ne.$ref&&(ge.ignoreKeywordsWithRef||!(0,a.schemaHasRulesButRef)(ne,ue))){Q.block(()=>Y(j,"$ref",ue.all.$ref.definition));return}ge.jtd||T(j,M),Q.block(()=>{for(const xe of ue.rules)qe(xe);qe(ue.post)});function qe(xe){(0,i.shouldUseGroup)(ne,xe)&&(xe.type?(Q.if((0,n.checkDataType)(xe.type,fe,ge.strictNumbers)),R(j,xe),M.length===1&&M[0]===xe.type&&K&&(Q.else(),(0,n.reportTypeError)(j)),Q.endIf()):R(j,xe),ke||Q.if((0,l._)`${d.default.errors} === ${H||0}`))}}function R(j,M){const{gen:K,schema:H,opts:{useDefaults:Q}}=j;Q&&(0,r.assignDefaults)(j,M.type),K.block(()=>{for(const ne of M.rules)(0,i.shouldUseRule)(H,ne)&&Y(j,ne.keyword,ne.definition,M.type)})}function T(j,M){j.schemaEnv.meta||!j.opts.strictTypes||(U(j,M),j.opts.allowUnionTypes||C(j,M),A(j,j.dataTypes))}function U(j,M){if(M.length){if(!j.dataTypes.length){j.dataTypes=M;return}M.forEach(K=>{N(j.dataTypes,K)||k(j,`type "${K}" not allowed by context "${j.dataTypes.join(",")}"`)}),_(j,M)}}function C(j,M){M.length>1&&!(M.length===2&&M.includes("null"))&&k(j,"use allowUnionTypes to allow union type keyword")}function A(j,M){const K=j.self.RULES.all;for(const H in K){const Q=K[H];if(typeof Q=="object"&&(0,i.shouldUseRule)(j.schema,Q)){const{type:ne}=Q.definition;ne.length&&!ne.some(fe=>I(M,fe))&&k(j,`missing type "${ne.join(",")}" for keyword "${H}"`)}}}function I(j,M){return j.includes(M)||M==="number"&&j.includes("integer")}function N(j,M){return j.includes(M)||M==="integer"&&j.includes("number")}function _(j,M){const K=[];for(const H of j.dataTypes)N(M,H)?K.push(H):M.includes("integer")&&H==="number"&&K.push("integer");j.dataTypes=K}function k(j,M){const K=j.schemaEnv.baseId+j.errSchemaPath;M+=` at "${K}" (strictTypes)`,(0,a.checkStrictMode)(j,M,j.opts.strictTypes)}class F{constructor(M,K,H){if((0,c.validateKeywordUsage)(M,K,H),this.gen=M.gen,this.allErrors=M.allErrors,this.keyword=H,this.data=M.data,this.schema=M.schema[H],this.$data=K.$data&&M.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,a.schemaRefOrVal)(M,this.schema,H,this.$data),this.schemaType=K.schemaType,this.parentSchema=M.schema,this.params={},this.it=M,this.def=K,this.$data)this.schemaCode=M.gen.const("vSchema",ee(this.$data,M));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,K.schemaType,K.allowUndefined))throw new Error(`${H} value must be ${JSON.stringify(K.schemaType)}`);("code"in K?K.trackErrors:K.errors!==!1)&&(this.errsCount=M.gen.const("_errs",d.default.errors))}result(M,K,H){this.failResult((0,l.not)(M),K,H)}failResult(M,K,H){this.gen.if(M),H?H():this.error(),K?(this.gen.else(),K(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(M,K){this.failResult((0,l.not)(M),void 0,K)}fail(M){if(M===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(M),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(M){if(!this.$data)return this.fail(M);const{schemaCode:K}=this;this.fail((0,l._)`${K} !== undefined && (${(0,l.or)(this.invalid$data(),M)})`)}error(M,K,H){if(K){this.setParams(K),this._error(M,H),this.setParams({});return}this._error(M,H)}_error(M,K){(M?s.reportExtraError:s.reportError)(this,this.def.error,K)}$dataError(){(0,s.reportError)(this,this.def.$dataError||s.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,s.resetErrorsCount)(this.gen,this.errsCount)}ok(M){this.allErrors||this.gen.if(M)}setParams(M,K){K?Object.assign(this.params,M):this.params=M}block$data(M,K,H=l.nil){this.gen.block(()=>{this.check$data(M,H),K()})}check$data(M=l.nil,K=l.nil){if(!this.$data)return;const{gen:H,schemaCode:Q,schemaType:ne,def:fe}=this;H.if((0,l.or)((0,l._)`${Q} === undefined`,K)),M!==l.nil&&H.assign(M,!0),(ne.length||fe.validateSchema)&&(H.elseIf(this.invalid$data()),this.$dataError(),M!==l.nil&&H.assign(M,!1)),H.else()}invalid$data(){const{gen:M,schemaCode:K,schemaType:H,def:Q,it:ne}=this;return(0,l.or)(fe(),ke());function fe(){if(H.length){if(!(K instanceof l.Name))throw new Error("ajv implementation error");const ge=Array.isArray(H)?H:[H];return(0,l._)`${(0,n.checkDataTypes)(ge,K,ne.opts.strictNumbers,n.DataType.Wrong)}`}return l.nil}function ke(){if(Q.validateSchema){const ge=M.scopeValue("validate$data",{ref:Q.validateSchema});return(0,l._)`!${ge}(${K})`}return l.nil}}subschema(M,K){const H=(0,o.getSubschema)(this.it,M);(0,o.extendSubschemaData)(H,this.it,M),(0,o.extendSubschemaMode)(H,M);const Q={...this.it,...H,items:void 0,props:void 0};return b(Q,K),Q}mergeEvaluated(M,K){const{it:H,gen:Q}=this;H.opts.unevaluated&&(H.props!==!0&&M.props!==void 0&&(H.props=a.mergeEvaluated.props(Q,M.props,H.props,K)),H.items!==!0&&M.items!==void 0&&(H.items=a.mergeEvaluated.items(Q,M.items,H.items,K)))}mergeValidEvaluated(M,K){const{it:H,gen:Q}=this;if(H.opts.unevaluated&&(H.props!==!0||H.items!==!0))return Q.if(K,()=>this.mergeEvaluated(M,l.Name)),!0}}We.KeywordCxt=F;function Y(j,M,K,H){const Q=new F(j,K,M);"code"in K?K.code(Q,H):Q.$data&&K.validate?(0,c.funcKeywordCode)(Q,K):"macro"in K?(0,c.macroKeywordCode)(Q,K):(K.compile||K.validate)&&(0,c.funcKeywordCode)(Q,K)}const W=/^\/(?:[^~]|~0|~1)*$/,ae=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ee(j,{dataLevel:M,dataNames:K,dataPathArr:H}){let Q,ne;if(j==="")return d.default.rootData;if(j[0]==="/"){if(!W.test(j))throw new Error(`Invalid JSON-pointer: ${j}`);Q=j,ne=d.default.rootData}else{const he=ae.exec(j);if(!he)throw new Error(`Invalid JSON-pointer: ${j}`);const ue=+he[1];if(Q=he[2],Q==="#"){if(ue>=M)throw new Error(ge("property/index",ue));return H[M-ue]}if(ue>M)throw new Error(ge("data",ue));if(ne=K[M-ue],!Q)return ne}let fe=ne;const ke=Q.split("/");for(const he of ke)he&&(ne=(0,l._)`${ne}${(0,l.getProperty)((0,a.unescapeJsonPointer)(he))}`,fe=(0,l._)`${fe} && ${ne}`);return fe;function ge(he,ue){return`Cannot access ${he} ${ue} levels up, current level is ${M}`}}return We.getData=ee,We}var Rn={},_l;function ua(){if(_l)return Rn;_l=1,Object.defineProperty(Rn,"__esModule",{value:!0});class e extends Error{constructor(i){super("validation failed"),this.errors=i,this.ajv=this.validation=!0}}return Rn.default=e,Rn}var An={},El;function hn(){if(El)return An;El=1,Object.defineProperty(An,"__esModule",{value:!0});const e=la();class t extends Error{constructor(n,r,c,o){super(o||`can't resolve reference ${c} from id ${r}`),this.missingRef=(0,e.resolveUrl)(n,r,c),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return An.default=t,An}var je={},kl;function pa(){if(kl)return je;kl=1,Object.defineProperty(je,"__esModule",{value:!0}),je.resolveSchema=je.getCompilingSchema=je.resolveRef=je.compileSchema=je.SchemaEnv=void 0;const e=ie(),t=ua(),i=De(),n=la(),r=se(),c=mn();class o{constructor(g){var y;this.refs={},this.dynamicAnchors={};let b;typeof g.schema=="object"&&(b=g.schema),this.schema=g.schema,this.schemaId=g.schemaId,this.root=g.root||this,this.baseId=(y=g.baseId)!==null&&y!==void 0?y:(0,n.normalizeId)(b?.[g.schemaId||"$id"]),this.schemaPath=g.schemaPath,this.localRefs=g.localRefs,this.meta=g.meta,this.$async=b?.$async,this.refs={}}}je.SchemaEnv=o;function l(v){const g=a.call(this,v);if(g)return g;const y=(0,n.getFullPath)(this.opts.uriResolver,v.root.baseId),{es5:b,lines:x}=this.opts.code,{ownProperties:w}=this.opts,S=new e.CodeGen(this.scope,{es5:b,lines:x,ownProperties:w});let $;v.$async&&($=S.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const E=S.scopeName("validate");v.validateName=E;const P={gen:S,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:S.scopeValue("schema",this.opts.code.source===!0?{ref:v.schema,code:(0,e.stringify)(v.schema)}:{ref:v.schema}),validateName:E,ValidationError:$,schema:v.schema,schemaEnv:v,rootId:y,baseId:v.baseId||y,schemaPath:e.nil,errSchemaPath:v.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let B;try{this._compilations.add(v),(0,c.validateFunctionCode)(P),S.optimize(this.opts.code.optimize);const D=S.toString();B=`${S.scopeRefs(i.default.scope)}return ${D}`,this.opts.code.process&&(B=this.opts.code.process(B,v));const G=new Function(`${i.default.self}`,`${i.default.scope}`,B)(this,this.scope.get());if(this.scope.value(E,{ref:G}),G.errors=null,G.schema=v.schema,G.schemaEnv=v,v.$async&&(G.$async=!0),this.opts.code.source===!0&&(G.source={validateName:E,validateCode:D,scopeValues:S._values}),this.opts.unevaluated){const{props:q,items:z}=P;G.evaluated={props:q instanceof e.Name?void 0:q,items:z instanceof e.Name?void 0:z,dynamicProps:q instanceof e.Name,dynamicItems:z instanceof e.Name},G.source&&(G.source.evaluated=(0,e.stringify)(G.evaluated))}return v.validate=G,v}catch(D){throw delete v.validate,delete v.validateName,B&&this.logger.error("Error compiling schema, function code:",B),D}finally{this._compilations.delete(v)}}je.compileSchema=l;function d(v,g,y){var b;y=(0,n.resolveUrl)(this.opts.uriResolver,g,y);const x=v.refs[y];if(x)return x;let w=u.call(this,v,y);if(w===void 0){const S=(b=v.localRefs)===null||b===void 0?void 0:b[y],{schemaId:$}=this.opts;S&&(w=new o({schema:S,schemaId:$,root:v,baseId:g}))}if(w!==void 0)return v.refs[y]=p.call(this,w)}je.resolveRef=d;function p(v){return(0,n.inlineRef)(v.schema,this.opts.inlineRefs)?v.schema:v.validate?v:l.call(this,v)}function a(v){for(const g of this._compilations)if(s(g,v))return g}je.getCompilingSchema=a;function s(v,g){return v.schema===g.schema&&v.root===g.root&&v.baseId===g.baseId}function u(v,g){let y;for(;typeof(y=this.refs[g])=="string";)g=y;return y||this.schemas[g]||m.call(this,v,g)}function m(v,g){const y=this.opts.uriResolver.parse(g),b=(0,n._getFullPath)(this.opts.uriResolver,y);let x=(0,n.getFullPath)(this.opts.uriResolver,v.baseId,void 0);if(Object.keys(v.schema).length>0&&b===x)return h.call(this,y,v);const w=(0,n.normalizeId)(b),S=this.refs[w]||this.schemas[w];if(typeof S=="string"){const $=m.call(this,v,S);return typeof $?.schema!="object"?void 0:h.call(this,y,$)}if(typeof S?.schema=="object"){if(S.validate||l.call(this,S),w===(0,n.normalizeId)(g)){const{schema:$}=S,{schemaId:E}=this.opts,P=$[E];return P&&(x=(0,n.resolveUrl)(this.opts.uriResolver,x,P)),new o({schema:$,schemaId:E,root:v,baseId:x})}return h.call(this,y,S)}}je.resolveSchema=m;const f=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(v,{baseId:g,schema:y,root:b}){var x;if(((x=v.fragment)===null||x===void 0?void 0:x[0])!=="/")return;for(const $ of v.fragment.slice(1).split("/")){if(typeof y=="boolean")return;const E=y[(0,r.unescapeFragment)($)];if(E===void 0)return;y=E;const P=typeof y=="object"&&y[this.opts.schemaId];!f.has($)&&P&&(g=(0,n.resolveUrl)(this.opts.uriResolver,g,P))}let w;if(typeof y!="boolean"&&y.$ref&&!(0,r.schemaHasRulesButRef)(y,this.RULES)){const $=(0,n.resolveUrl)(this.opts.uriResolver,g,y.$ref);w=m.call(this,b,$)}const{schemaId:S}=this.opts;if(w=w||new o({schema:y,schemaId:S,root:b,baseId:g}),w.schema!==w.root.schema)return w}return je}const Rg="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Ag="Meta-schema for $data reference (JSON AnySchema extension proposal)",Pg="object",Tg=["$data"],Og={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Ng=!1,jg={$id:Rg,description:Ag,type:Pg,required:Tg,properties:Og,additionalProperties:Ng};var Pn={},Yt={exports:{}},Ka,Rl;function Cg(){return Rl||(Rl=1,Ka={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),Ka}var Ga,Al;function Ig(){if(Al)return Ga;Al=1;const{HEX:e}=Cg(),t=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function i(h){if(l(h,".")<3)return{host:h,isIPV4:!1};const v=h.match(t)||[],[g]=v;return g?{host:o(g,"."),isIPV4:!0}:{host:h,isIPV4:!1}}function n(h,v=!1){let g="",y=!0;for(const b of h){if(e[b]===void 0)return;b!=="0"&&y===!0&&(y=!1),y||(g+=b)}return v&&g.length===0&&(g="0"),g}function r(h){let v=0;const g={error:!1,address:"",zone:""},y=[],b=[];let x=!1,w=!1,S=!1;function $(){if(b.length){if(x===!1){const E=n(b);if(E!==void 0)y.push(E);else return g.error=!0,!1}b.length=0}return!0}for(let E=0;E<h.length;E++){const P=h[E];if(!(P==="["||P==="]"))if(P===":"){if(w===!0&&(S=!0),!$())break;if(v++,y.push(":"),v>7){g.error=!0;break}E-1>=0&&h[E-1]===":"&&(w=!0);continue}else if(P==="%"){if(!$())break;x=!0}else{b.push(P);continue}}return b.length&&(x?g.zone=b.join(""):S?y.push(b.join("")):y.push(n(b))),g.address=y.join(""),g}function c(h){if(l(h,":")<2)return{host:h,isIPV6:!1};const v=r(h);if(v.error)return{host:h,isIPV6:!1};{let g=v.address,y=v.address;return v.zone&&(g+="%"+v.zone,y+="%25"+v.zone),{host:g,escapedHost:y,isIPV6:!0}}}function o(h,v){let g="",y=!0;const b=h.length;for(let x=0;x<b;x++){const w=h[x];w==="0"&&y?(x+1<=b&&h[x+1]===v||x+1===b)&&(g+=w,y=!1):(w===v?y=!0:y=!1,g+=w)}return g}function l(h,v){let g=0;for(let y=0;y<h.length;y++)h[y]===v&&g++;return g}const d=/^\.\.?\//u,p=/^\/\.(?:\/|$)/u,a=/^\/\.\.(?:\/|$)/u,s=/^\/?(?:.|\n)*?(?=\/|$)/u;function u(h){const v=[];for(;h.length;)if(h.match(d))h=h.replace(d,"");else if(h.match(p))h=h.replace(p,"/");else if(h.match(a))h=h.replace(a,"/"),v.pop();else if(h==="."||h==="..")h="";else{const g=h.match(s);if(g){const y=g[0];h=h.slice(y.length),v.push(y)}else throw new Error("Unexpected dot segment condition")}return v.join("")}function m(h,v){const g=v!==!0?escape:unescape;return h.scheme!==void 0&&(h.scheme=g(h.scheme)),h.userinfo!==void 0&&(h.userinfo=g(h.userinfo)),h.host!==void 0&&(h.host=g(h.host)),h.path!==void 0&&(h.path=g(h.path)),h.query!==void 0&&(h.query=g(h.query)),h.fragment!==void 0&&(h.fragment=g(h.fragment)),h}function f(h){const v=[];if(h.userinfo!==void 0&&(v.push(h.userinfo),v.push("@")),h.host!==void 0){let g=unescape(h.host);const y=i(g);if(y.isIPV4)g=y.host;else{const b=c(y.host);b.isIPV6===!0?g=`[${b.escapedHost}]`:g=h.host}v.push(g)}return(typeof h.port=="number"||typeof h.port=="string")&&(v.push(":"),v.push(String(h.port))),v.length?v.join(""):void 0}return Ga={recomposeAuthority:f,normalizeComponentEncoding:m,removeDotSegments:u,normalizeIPv4:i,normalizeIPv6:c,stringArrayToHexStripped:n},Ga}var Ha,Pl;function qg(){if(Pl)return Ha;Pl=1;const e=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function i(y){return typeof y.secure=="boolean"?y.secure:String(y.scheme).toLowerCase()==="wss"}function n(y){return y.host||(y.error=y.error||"HTTP URIs must have a host."),y}function r(y){const b=String(y.scheme).toLowerCase()==="https";return(y.port===(b?443:80)||y.port==="")&&(y.port=void 0),y.path||(y.path="/"),y}function c(y){return y.secure=i(y),y.resourceName=(y.path||"/")+(y.query?"?"+y.query:""),y.path=void 0,y.query=void 0,y}function o(y){if((y.port===(i(y)?443:80)||y.port==="")&&(y.port=void 0),typeof y.secure=="boolean"&&(y.scheme=y.secure?"wss":"ws",y.secure=void 0),y.resourceName){const[b,x]=y.resourceName.split("?");y.path=b&&b!=="/"?b:void 0,y.query=x,y.resourceName=void 0}return y.fragment=void 0,y}function l(y,b){if(!y.path)return y.error="URN can not be parsed",y;const x=y.path.match(t);if(x){const w=b.scheme||y.scheme||"urn";y.nid=x[1].toLowerCase(),y.nss=x[2];const S=`${w}:${b.nid||y.nid}`,$=g[S];y.path=void 0,$&&(y=$.parse(y,b))}else y.error=y.error||"URN can not be parsed.";return y}function d(y,b){const x=b.scheme||y.scheme||"urn",w=y.nid.toLowerCase(),S=`${x}:${b.nid||w}`,$=g[S];$&&(y=$.serialize(y,b));const E=y,P=y.nss;return E.path=`${w||b.nid}:${P}`,b.skipEscape=!0,E}function p(y,b){const x=y;return x.uuid=x.nss,x.nss=void 0,!b.tolerant&&(!x.uuid||!e.test(x.uuid))&&(x.error=x.error||"UUID is not valid."),x}function a(y){const b=y;return b.nss=(y.uuid||"").toLowerCase(),b}const s={scheme:"http",domainHost:!0,parse:n,serialize:r},u={scheme:"https",domainHost:s.domainHost,parse:n,serialize:r},m={scheme:"ws",domainHost:!0,parse:c,serialize:o},f={scheme:"wss",domainHost:m.domainHost,parse:m.parse,serialize:m.serialize},g={http:s,https:u,ws:m,wss:f,urn:{scheme:"urn",parse:l,serialize:d,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:p,serialize:a,skipNormalize:!0}};return Ha=g,Ha}var Tl;function Lg(){if(Tl)return Yt.exports;Tl=1;const{normalizeIPv6:e,normalizeIPv4:t,removeDotSegments:i,recomposeAuthority:n,normalizeComponentEncoding:r}=Ig(),c=qg();function o(v,g){return typeof v=="string"?v=a(f(v,g),g):typeof v=="object"&&(v=f(a(v,g),g)),v}function l(v,g,y){const b=Object.assign({scheme:"null"},y),x=d(f(v,b),f(g,b),b,!0);return a(x,{...b,skipEscape:!0})}function d(v,g,y,b){const x={};return b||(v=f(a(v,y),y),g=f(a(g,y),y)),y=y||{},!y.tolerant&&g.scheme?(x.scheme=g.scheme,x.userinfo=g.userinfo,x.host=g.host,x.port=g.port,x.path=i(g.path||""),x.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?(x.userinfo=g.userinfo,x.host=g.host,x.port=g.port,x.path=i(g.path||""),x.query=g.query):(g.path?(g.path.charAt(0)==="/"?x.path=i(g.path):((v.userinfo!==void 0||v.host!==void 0||v.port!==void 0)&&!v.path?x.path="/"+g.path:v.path?x.path=v.path.slice(0,v.path.lastIndexOf("/")+1)+g.path:x.path=g.path,x.path=i(x.path)),x.query=g.query):(x.path=v.path,g.query!==void 0?x.query=g.query:x.query=v.query),x.userinfo=v.userinfo,x.host=v.host,x.port=v.port),x.scheme=v.scheme),x.fragment=g.fragment,x}function p(v,g,y){return typeof v=="string"?(v=unescape(v),v=a(r(f(v,y),!0),{...y,skipEscape:!0})):typeof v=="object"&&(v=a(r(v,!0),{...y,skipEscape:!0})),typeof g=="string"?(g=unescape(g),g=a(r(f(g,y),!0),{...y,skipEscape:!0})):typeof g=="object"&&(g=a(r(g,!0),{...y,skipEscape:!0})),v.toLowerCase()===g.toLowerCase()}function a(v,g){const y={host:v.host,scheme:v.scheme,userinfo:v.userinfo,port:v.port,path:v.path,query:v.query,nid:v.nid,nss:v.nss,uuid:v.uuid,fragment:v.fragment,reference:v.reference,resourceName:v.resourceName,secure:v.secure,error:""},b=Object.assign({},g),x=[],w=c[(b.scheme||y.scheme||"").toLowerCase()];w&&w.serialize&&w.serialize(y,b),y.path!==void 0&&(b.skipEscape?y.path=unescape(y.path):(y.path=escape(y.path),y.scheme!==void 0&&(y.path=y.path.split("%3A").join(":")))),b.reference!=="suffix"&&y.scheme&&x.push(y.scheme,":");const S=n(y);if(S!==void 0&&(b.reference!=="suffix"&&x.push("//"),x.push(S),y.path&&y.path.charAt(0)!=="/"&&x.push("/")),y.path!==void 0){let $=y.path;!b.absolutePath&&(!w||!w.absolutePath)&&($=i($)),S===void 0&&($=$.replace(/^\/\//u,"/%2F")),x.push($)}return y.query!==void 0&&x.push("?",y.query),y.fragment!==void 0&&x.push("#",y.fragment),x.join("")}const s=Array.from({length:127},(v,g)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(g)));function u(v){let g=0;for(let y=0,b=v.length;y<b;++y)if(g=v.charCodeAt(y),g>126||s[g])return!0;return!1}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function f(v,g){const y=Object.assign({},g),b={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},x=v.indexOf("%")!==-1;let w=!1;y.reference==="suffix"&&(v=(y.scheme?y.scheme+":":"")+"//"+v);const S=v.match(m);if(S){if(b.scheme=S[1],b.userinfo=S[3],b.host=S[4],b.port=parseInt(S[5],10),b.path=S[6]||"",b.query=S[7],b.fragment=S[8],isNaN(b.port)&&(b.port=S[5]),b.host){const E=t(b.host);if(E.isIPV4===!1){const P=e(E.host);b.host=P.host.toLowerCase(),w=P.isIPV6}else b.host=E.host,w=!0}b.scheme===void 0&&b.userinfo===void 0&&b.host===void 0&&b.port===void 0&&b.query===void 0&&!b.path?b.reference="same-document":b.scheme===void 0?b.reference="relative":b.fragment===void 0?b.reference="absolute":b.reference="uri",y.reference&&y.reference!=="suffix"&&y.reference!==b.reference&&(b.error=b.error||"URI is not a "+y.reference+" reference.");const $=c[(y.scheme||b.scheme||"").toLowerCase()];if(!y.unicodeSupport&&(!$||!$.unicodeSupport)&&b.host&&(y.domainHost||$&&$.domainHost)&&w===!1&&u(b.host))try{b.host=URL.domainToASCII(b.host.toLowerCase())}catch(E){b.error=b.error||"Host's domain name can not be converted to ASCII: "+E}(!$||$&&!$.skipNormalize)&&(x&&b.scheme!==void 0&&(b.scheme=unescape(b.scheme)),x&&b.host!==void 0&&(b.host=unescape(b.host)),b.path&&(b.path=escape(unescape(b.path))),b.fragment&&(b.fragment=encodeURI(decodeURIComponent(b.fragment)))),$&&$.parse&&$.parse(b,y)}else b.error=b.error||"URI can not be parsed.";return b}const h={SCHEMES:c,normalize:o,resolve:l,resolveComponents:d,equal:p,serialize:a,parse:f};return Yt.exports=h,Yt.exports.default=h,Yt.exports.fastUri=h,Yt.exports}var Ol;function Mg(){if(Ol)return Pn;Ol=1,Object.defineProperty(Pn,"__esModule",{value:!0});const e=Lg();return e.code='require("ajv/dist/runtime/uri").default',Pn.default=e,Pn}var Nl;function Qm(){return Nl||(Nl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=mn();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var i=ie();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});const n=ua(),r=hn(),c=Ym(),o=pa(),l=ie(),d=la(),p=Xi(),a=se(),s=jg,u=Mg(),m=(C,A)=>new RegExp(C,A);m.code="new RegExp";const f=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},g={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},y=200;function b(C){var A,I,N,_,k,F,Y,W,ae,ee,j,M,K,H,Q,ne,fe,ke,ge,he,ue,qe,xe,Xe,Ca;const Kt=C.strict,Ia=(A=C.code)===null||A===void 0?void 0:A.optimize,Zc=Ia===!0||Ia===void 0?1:Ia||0,el=(N=(I=C.code)===null||I===void 0?void 0:I.regExp)!==null&&N!==void 0?N:m,Dv=(_=C.uriResolver)!==null&&_!==void 0?_:u.default;return{strictSchema:(F=(k=C.strictSchema)!==null&&k!==void 0?k:Kt)!==null&&F!==void 0?F:!0,strictNumbers:(W=(Y=C.strictNumbers)!==null&&Y!==void 0?Y:Kt)!==null&&W!==void 0?W:!0,strictTypes:(ee=(ae=C.strictTypes)!==null&&ae!==void 0?ae:Kt)!==null&&ee!==void 0?ee:"log",strictTuples:(M=(j=C.strictTuples)!==null&&j!==void 0?j:Kt)!==null&&M!==void 0?M:"log",strictRequired:(H=(K=C.strictRequired)!==null&&K!==void 0?K:Kt)!==null&&H!==void 0?H:!1,code:C.code?{...C.code,optimize:Zc,regExp:el}:{optimize:Zc,regExp:el},loopRequired:(Q=C.loopRequired)!==null&&Q!==void 0?Q:y,loopEnum:(ne=C.loopEnum)!==null&&ne!==void 0?ne:y,meta:(fe=C.meta)!==null&&fe!==void 0?fe:!0,messages:(ke=C.messages)!==null&&ke!==void 0?ke:!0,inlineRefs:(ge=C.inlineRefs)!==null&&ge!==void 0?ge:!0,schemaId:(he=C.schemaId)!==null&&he!==void 0?he:"$id",addUsedSchema:(ue=C.addUsedSchema)!==null&&ue!==void 0?ue:!0,validateSchema:(qe=C.validateSchema)!==null&&qe!==void 0?qe:!0,validateFormats:(xe=C.validateFormats)!==null&&xe!==void 0?xe:!0,unicodeRegExp:(Xe=C.unicodeRegExp)!==null&&Xe!==void 0?Xe:!0,int32range:(Ca=C.int32range)!==null&&Ca!==void 0?Ca:!0,uriResolver:Dv}}class x{constructor(A={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,A=this.opts={...A,...b(A)};const{es5:I,lines:N}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:h,es5:I,lines:N}),this.logger=V(A.logger);const _=A.validateFormats;A.validateFormats=!1,this.RULES=(0,c.getRules)(),w.call(this,v,A,"NOT SUPPORTED"),w.call(this,g,A,"DEPRECATED","warn"),this._metaOpts=B.call(this),A.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),A.keywords&&P.call(this,A.keywords),typeof A.meta=="object"&&this.addMetaSchema(A.meta),$.call(this),A.validateFormats=_}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:A,meta:I,schemaId:N}=this.opts;let _=s;N==="id"&&(_={...s},_.id=_.$id,delete _.$id),I&&A&&this.addMetaSchema(_,_[N],!1)}defaultMeta(){const{meta:A,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof A=="object"?A[I]||A:void 0}validate(A,I){let N;if(typeof A=="string"){if(N=this.getSchema(A),!N)throw new Error(`no schema with key or ref "${A}"`)}else N=this.compile(A);const _=N(I);return"$async"in N||(this.errors=N.errors),_}compile(A,I){const N=this._addSchema(A,I);return N.validate||this._compileSchemaEnv(N)}compileAsync(A,I){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:N}=this.opts;return _.call(this,A,I);async function _(ee,j){await k.call(this,ee.$schema);const M=this._addSchema(ee,j);return M.validate||F.call(this,M)}async function k(ee){ee&&!this.getSchema(ee)&&await _.call(this,{$ref:ee},!0)}async function F(ee){try{return this._compileSchemaEnv(ee)}catch(j){if(!(j instanceof r.default))throw j;return Y.call(this,j),await W.call(this,j.missingSchema),F.call(this,ee)}}function Y({missingSchema:ee,missingRef:j}){if(this.refs[ee])throw new Error(`AnySchema ${ee} is loaded but ${j} cannot be resolved`)}async function W(ee){const j=await ae.call(this,ee);this.refs[ee]||await k.call(this,j.$schema),this.refs[ee]||this.addSchema(j,ee,I)}async function ae(ee){const j=this._loading[ee];if(j)return j;try{return await(this._loading[ee]=N(ee))}finally{delete this._loading[ee]}}}addSchema(A,I,N,_=this.opts.validateSchema){if(Array.isArray(A)){for(const F of A)this.addSchema(F,void 0,N,_);return this}let k;if(typeof A=="object"){const{schemaId:F}=this.opts;if(k=A[F],k!==void 0&&typeof k!="string")throw new Error(`schema ${F} must be string`)}return I=(0,d.normalizeId)(I||k),this._checkUnique(I),this.schemas[I]=this._addSchema(A,N,I,_,!0),this}addMetaSchema(A,I,N=this.opts.validateSchema){return this.addSchema(A,I,!0,N),this}validateSchema(A,I){if(typeof A=="boolean")return!0;let N;if(N=A.$schema,N!==void 0&&typeof N!="string")throw new Error("$schema must be a string");if(N=N||this.opts.defaultMeta||this.defaultMeta(),!N)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const _=this.validate(N,A);if(!_&&I){const k="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(k);else throw new Error(k)}return _}getSchema(A){let I;for(;typeof(I=S.call(this,A))=="string";)A=I;if(I===void 0){const{schemaId:N}=this.opts,_=new o.SchemaEnv({schema:{},schemaId:N});if(I=o.resolveSchema.call(this,_,A),!I)return;this.refs[A]=I}return I.validate||this._compileSchemaEnv(I)}removeSchema(A){if(A instanceof RegExp)return this._removeAllSchemas(this.schemas,A),this._removeAllSchemas(this.refs,A),this;switch(typeof A){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const I=S.call(this,A);return typeof I=="object"&&this._cache.delete(I.schema),delete this.schemas[A],delete this.refs[A],this}case"object":{const I=A;this._cache.delete(I);let N=A[this.opts.schemaId];return N&&(N=(0,d.normalizeId)(N),delete this.schemas[N],delete this.refs[N]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(A){for(const I of A)this.addKeyword(I);return this}addKeyword(A,I){let N;if(typeof A=="string")N=A,typeof I=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=N);else if(typeof A=="object"&&I===void 0){if(I=A,N=I.keyword,Array.isArray(N)&&!N.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(q.call(this,N,I),!I)return(0,a.eachItem)(N,k=>z.call(this,k)),this;R.call(this,I);const _={...I,type:(0,p.getJSONTypes)(I.type),schemaType:(0,p.getJSONTypes)(I.schemaType)};return(0,a.eachItem)(N,_.type.length===0?k=>z.call(this,k,_):k=>_.type.forEach(F=>z.call(this,k,_,F))),this}getKeyword(A){const I=this.RULES.all[A];return typeof I=="object"?I.definition:!!I}removeKeyword(A){const{RULES:I}=this;delete I.keywords[A],delete I.all[A];for(const N of I.rules){const _=N.rules.findIndex(k=>k.keyword===A);_>=0&&N.rules.splice(_,1)}return this}addFormat(A,I){return typeof I=="string"&&(I=new RegExp(I)),this.formats[A]=I,this}errorsText(A=this.errors,{separator:I=", ",dataVar:N="data"}={}){return!A||A.length===0?"No errors":A.map(_=>`${N}${_.instancePath} ${_.message}`).reduce((_,k)=>_+I+k)}$dataMetaSchema(A,I){const N=this.RULES.all;A=JSON.parse(JSON.stringify(A));for(const _ of I){const k=_.split("/").slice(1);let F=A;for(const Y of k)F=F[Y];for(const Y in N){const W=N[Y];if(typeof W!="object")continue;const{$data:ae}=W.definition,ee=F[Y];ae&&ee&&(F[Y]=U(ee))}}return A}_removeAllSchemas(A,I){for(const N in A){const _=A[N];(!I||I.test(N))&&(typeof _=="string"?delete A[N]:_&&!_.meta&&(this._cache.delete(_.schema),delete A[N]))}}_addSchema(A,I,N,_=this.opts.validateSchema,k=this.opts.addUsedSchema){let F;const{schemaId:Y}=this.opts;if(typeof A=="object")F=A[Y];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof A!="boolean")throw new Error("schema must be object or boolean")}let W=this._cache.get(A);if(W!==void 0)return W;N=(0,d.normalizeId)(F||N);const ae=d.getSchemaRefs.call(this,A,N);return W=new o.SchemaEnv({schema:A,schemaId:Y,meta:I,baseId:N,localRefs:ae}),this._cache.set(W.schema,W),k&&!N.startsWith("#")&&(N&&this._checkUnique(N),this.refs[N]=W),_&&this.validateSchema(A,!0),W}_checkUnique(A){if(this.schemas[A]||this.refs[A])throw new Error(`schema with key or id "${A}" already exists`)}_compileSchemaEnv(A){if(A.meta?this._compileMetaSchema(A):o.compileSchema.call(this,A),!A.validate)throw new Error("ajv implementation error");return A.validate}_compileMetaSchema(A){const I=this.opts;this.opts=this._metaOpts;try{o.compileSchema.call(this,A)}finally{this.opts=I}}}x.ValidationError=n.default,x.MissingRefError=r.default,e.default=x;function w(C,A,I,N="error"){for(const _ in C){const k=_;k in A&&this.logger[N](`${I}: option ${_}. ${C[k]}`)}}function S(C){return C=(0,d.normalizeId)(C),this.schemas[C]||this.refs[C]}function $(){const C=this.opts.schemas;if(C)if(Array.isArray(C))this.addSchema(C);else for(const A in C)this.addSchema(C[A],A)}function E(){for(const C in this.opts.formats){const A=this.opts.formats[C];A&&this.addFormat(C,A)}}function P(C){if(Array.isArray(C)){this.addVocabulary(C);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const A in C){const I=C[A];I.keyword||(I.keyword=A),this.addKeyword(I)}}function B(){const C={...this.opts};for(const A of f)delete C[A];return C}const D={log(){},warn(){},error(){}};function V(C){if(C===!1)return D;if(C===void 0)return console;if(C.log&&C.warn&&C.error)return C;throw new Error("logger must implement log, warn and error methods")}const G=/^[a-z_$][a-z0-9_$:-]*$/i;function q(C,A){const{RULES:I}=this;if((0,a.eachItem)(C,N=>{if(I.keywords[N])throw new Error(`Keyword ${N} is already defined`);if(!G.test(N))throw new Error(`Keyword ${N} has invalid name`)}),!!A&&A.$data&&!("code"in A||"validate"in A))throw new Error('$data keyword must have "code" or "validate" function')}function z(C,A,I){var N;const _=A?.post;if(I&&_)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:k}=this;let F=_?k.post:k.rules.find(({type:W})=>W===I);if(F||(F={type:I,rules:[]},k.rules.push(F)),k.keywords[C]=!0,!A)return;const Y={keyword:C,definition:{...A,type:(0,p.getJSONTypes)(A.type),schemaType:(0,p.getJSONTypes)(A.schemaType)}};A.before?O.call(this,F,Y,A.before):F.rules.push(Y),k.all[C]=Y,(N=A.implements)===null||N===void 0||N.forEach(W=>this.addKeyword(W))}function O(C,A,I){const N=C.rules.findIndex(_=>_.keyword===I);N>=0?C.rules.splice(N,0,A):(C.rules.push(A),this.logger.warn(`rule ${I} is not defined`))}function R(C){let{metaSchema:A}=C;A!==void 0&&(C.$data&&this.opts.$data&&(A=U(A)),C.validateSchema=this.compile(A,!0))}const T={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function U(C){return{anyOf:[C,T]}}})(Ma)),Ma}var Tn={},On={},Nn={},jl;function Dg(){if(jl)return Nn;jl=1,Object.defineProperty(Nn,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Nn.default=e,Nn}var tt={},Cl;function fc(){if(Cl)return tt;Cl=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.callRef=tt.getValidate=void 0;const e=hn(),t=Fe(),i=ie(),n=De(),r=pa(),c=se(),o={keyword:"$ref",schemaType:"string",code(p){const{gen:a,schema:s,it:u}=p,{baseId:m,schemaEnv:f,validateName:h,opts:v,self:g}=u,{root:y}=f;if((s==="#"||s==="#/")&&m===y.baseId)return x();const b=r.resolveRef.call(g,y,m,s);if(b===void 0)throw new e.default(u.opts.uriResolver,m,s);if(b instanceof r.SchemaEnv)return w(b);return S(b);function x(){if(f===y)return d(p,h,f,f.$async);const $=a.scopeValue("root",{ref:y});return d(p,(0,i._)`${$}.validate`,y,y.$async)}function w($){const E=l(p,$);d(p,E,$,$.$async)}function S($){const E=a.scopeValue("schema",v.code.source===!0?{ref:$,code:(0,i.stringify)($)}:{ref:$}),P=a.name("valid"),B=p.subschema({schema:$,dataTypes:[],schemaPath:i.nil,topSchemaRef:E,errSchemaPath:s},P);p.mergeEvaluated(B),p.ok(P)}}};function l(p,a){const{gen:s}=p;return a.validate?s.scopeValue("validate",{ref:a.validate}):(0,i._)`${s.scopeValue("wrapper",{ref:a})}.validate`}tt.getValidate=l;function d(p,a,s,u){const{gen:m,it:f}=p,{allErrors:h,schemaEnv:v,opts:g}=f,y=g.passContext?n.default.this:i.nil;u?b():x();function b(){if(!v.$async)throw new Error("async schema referenced by sync schema");const $=m.let("valid");m.try(()=>{m.code((0,i._)`await ${(0,t.callValidateCode)(p,a,y)}`),S(a),h||m.assign($,!0)},E=>{m.if((0,i._)`!(${E} instanceof ${f.ValidationError})`,()=>m.throw(E)),w(E),h||m.assign($,!1)}),p.ok($)}function x(){p.result((0,t.callValidateCode)(p,a,y),()=>S(a),()=>w(a))}function w($){const E=(0,i._)`${$}.errors`;m.assign(n.default.vErrors,(0,i._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`),m.assign(n.default.errors,(0,i._)`${n.default.vErrors}.length`)}function S($){var E;if(!f.opts.unevaluated)return;const P=(E=s?.validate)===null||E===void 0?void 0:E.evaluated;if(f.props!==!0)if(P&&!P.dynamicProps)P.props!==void 0&&(f.props=c.mergeEvaluated.props(m,P.props,f.props));else{const B=m.var("props",(0,i._)`${$}.evaluated.props`);f.props=c.mergeEvaluated.props(m,B,f.props,i.Name)}if(f.items!==!0)if(P&&!P.dynamicItems)P.items!==void 0&&(f.items=c.mergeEvaluated.items(m,P.items,f.items));else{const B=m.var("items",(0,i._)`${$}.evaluated.items`);f.items=c.mergeEvaluated.items(m,B,f.items,i.Name)}}}return tt.callRef=d,tt.default=o,tt}var Il;function Zm(){if(Il)return On;Il=1,Object.defineProperty(On,"__esModule",{value:!0});const e=Dg(),t=fc(),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return On.default=i,On}var jn={},Cn={},ql;function Fg(){if(ql)return Cn;ql=1,Object.defineProperty(Cn,"__esModule",{value:!0});const e=ie(),t=e.operators,i={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:c,schemaCode:o})=>(0,e.str)`must be ${i[c].okStr} ${o}`,params:({keyword:c,schemaCode:o})=>(0,e._)`{comparison: ${i[c].okStr}, limit: ${o}}`},r={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:n,code(c){const{keyword:o,data:l,schemaCode:d}=c;c.fail$data((0,e._)`${l} ${i[o].fail} ${d} || isNaN(${l})`)}};return Cn.default=r,Cn}var In={},Ll;function Ug(){if(Ll)return In;Ll=1,Object.defineProperty(In,"__esModule",{value:!0});const e=ie(),i={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must be multiple of ${n}`,params:({schemaCode:n})=>(0,e._)`{multipleOf: ${n}}`},code(n){const{gen:r,data:c,schemaCode:o,it:l}=n,d=l.opts.multipleOfPrecision,p=r.let("res"),a=d?(0,e._)`Math.abs(Math.round(${p}) - ${p}) > 1e-${d}`:(0,e._)`${p} !== parseInt(${p})`;n.fail$data((0,e._)`(${o} === 0 || (${p} = ${c}/${o}, ${a}))`)}};return In.default=i,In}var qn={},Ln={},Ml;function zg(){if(Ml)return Ln;Ml=1,Object.defineProperty(Ln,"__esModule",{value:!0});function e(t){const i=t.length;let n=0,r=0,c;for(;r<i;)n++,c=t.charCodeAt(r++),c>=55296&&c<=56319&&r<i&&(c=t.charCodeAt(r),(c&64512)===56320&&r++);return n}return Ln.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',Ln}var Dl;function Bg(){if(Dl)return qn;Dl=1,Object.defineProperty(qn,"__esModule",{value:!0});const e=ie(),t=se(),i=zg(),r={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:c,schemaCode:o}){const l=c==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${l} than ${o} characters`},params:({schemaCode:c})=>(0,e._)`{limit: ${c}}`},code(c){const{keyword:o,data:l,schemaCode:d,it:p}=c,a=o==="maxLength"?e.operators.GT:e.operators.LT,s=p.opts.unicode===!1?(0,e._)`${l}.length`:(0,e._)`${(0,t.useFunc)(c.gen,i.default)}(${l})`;c.fail$data((0,e._)`${s} ${a} ${d}`)}};return qn.default=r,qn}var Mn={},Fl;function Vg(){if(Fl)return Mn;Fl=1,Object.defineProperty(Mn,"__esModule",{value:!0});const e=Fe(),t=ie(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,t.str)`must match pattern "${r}"`,params:({schemaCode:r})=>(0,t._)`{pattern: ${r}}`},code(r){const{data:c,$data:o,schema:l,schemaCode:d,it:p}=r,a=p.opts.unicodeRegExp?"u":"",s=o?(0,t._)`(new RegExp(${d}, ${a}))`:(0,e.usePattern)(r,l);r.fail$data((0,t._)`!${s}.test(${c})`)}};return Mn.default=n,Mn}var Dn={},Ul;function Kg(){if(Ul)return Dn;Ul=1,Object.defineProperty(Dn,"__esModule",{value:!0});const e=ie(),i={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:r}){const c=n==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${c} than ${r} properties`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:r,data:c,schemaCode:o}=n,l=r==="maxProperties"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`Object.keys(${c}).length ${l} ${o}`)}};return Dn.default=i,Dn}var Fn={},zl;function Gg(){if(zl)return Fn;zl=1,Object.defineProperty(Fn,"__esModule",{value:!0});const e=Fe(),t=ie(),i=se(),r={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:c}})=>(0,t.str)`must have required property '${c}'`,params:({params:{missingProperty:c}})=>(0,t._)`{missingProperty: ${c}}`},code(c){const{gen:o,schema:l,schemaCode:d,data:p,$data:a,it:s}=c,{opts:u}=s;if(!a&&l.length===0)return;const m=l.length>=u.loopRequired;if(s.allErrors?f():h(),u.strictRequired){const y=c.parentSchema.properties,{definedProperties:b}=c.it;for(const x of l)if(y?.[x]===void 0&&!b.has(x)){const w=s.schemaEnv.baseId+s.errSchemaPath,S=`required property "${x}" is not defined at "${w}" (strictRequired)`;(0,i.checkStrictMode)(s,S,s.opts.strictRequired)}}function f(){if(m||a)c.block$data(t.nil,v);else for(const y of l)(0,e.checkReportMissingProp)(c,y)}function h(){const y=o.let("missing");if(m||a){const b=o.let("valid",!0);c.block$data(b,()=>g(y,b)),c.ok(b)}else o.if((0,e.checkMissingProp)(c,l,y)),(0,e.reportMissingProp)(c,y),o.else()}function v(){o.forOf("prop",d,y=>{c.setParams({missingProperty:y}),o.if((0,e.noPropertyInData)(o,p,y,u.ownProperties),()=>c.error())})}function g(y,b){c.setParams({missingProperty:y}),o.forOf(y,d,()=>{o.assign(b,(0,e.propertyInData)(o,p,y,u.ownProperties)),o.if((0,t.not)(b),()=>{c.error(),o.break()})},t.nil)}}};return Fn.default=r,Fn}var Un={},Bl;function Hg(){if(Bl)return Un;Bl=1,Object.defineProperty(Un,"__esModule",{value:!0});const e=ie(),i={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:r}){const c=n==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${c} than ${r} items`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:r,data:c,schemaCode:o}=n,l=r==="maxItems"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`${c}.length ${l} ${o}`)}};return Un.default=i,Un}var zn={},Bn={},Vl;function mc(){if(Vl)return Bn;Vl=1,Object.defineProperty(Bn,"__esModule",{value:!0});const e=Xm();return e.code='require("ajv/dist/runtime/equal").default',Bn.default=e,Bn}var Kl;function Wg(){if(Kl)return zn;Kl=1,Object.defineProperty(zn,"__esModule",{value:!0});const e=Xi(),t=ie(),i=se(),n=mc(),c={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:o,j:l}})=>(0,t.str)`must NOT have duplicate items (items ## ${l} and ${o} are identical)`,params:({params:{i:o,j:l}})=>(0,t._)`{i: ${o}, j: ${l}}`},code(o){const{gen:l,data:d,$data:p,schema:a,parentSchema:s,schemaCode:u,it:m}=o;if(!p&&!a)return;const f=l.let("valid"),h=s.items?(0,e.getSchemaTypes)(s.items):[];o.block$data(f,v,(0,t._)`${u} === false`),o.ok(f);function v(){const x=l.let("i",(0,t._)`${d}.length`),w=l.let("j");o.setParams({i:x,j:w}),l.assign(f,!0),l.if((0,t._)`${x} > 1`,()=>(g()?y:b)(x,w))}function g(){return h.length>0&&!h.some(x=>x==="object"||x==="array")}function y(x,w){const S=l.name("item"),$=(0,e.checkDataTypes)(h,S,m.opts.strictNumbers,e.DataType.Wrong),E=l.const("indices",(0,t._)`{}`);l.for((0,t._)`;${x}--;`,()=>{l.let(S,(0,t._)`${d}[${x}]`),l.if($,(0,t._)`continue`),h.length>1&&l.if((0,t._)`typeof ${S} == "string"`,(0,t._)`${S} += "_"`),l.if((0,t._)`typeof ${E}[${S}] == "number"`,()=>{l.assign(w,(0,t._)`${E}[${S}]`),o.error(),l.assign(f,!1).break()}).code((0,t._)`${E}[${S}] = ${x}`)})}function b(x,w){const S=(0,i.useFunc)(l,n.default),$=l.name("outer");l.label($).for((0,t._)`;${x}--;`,()=>l.for((0,t._)`${w} = ${x}; ${w}--;`,()=>l.if((0,t._)`${S}(${d}[${x}], ${d}[${w}])`,()=>{o.error(),l.assign(f,!1).break($)})))}}};return zn.default=c,zn}var Vn={},Gl;function Yg(){if(Gl)return Vn;Gl=1,Object.defineProperty(Vn,"__esModule",{value:!0});const e=ie(),t=se(),i=mc(),r={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:c})=>(0,e._)`{allowedValue: ${c}}`},code(c){const{gen:o,data:l,$data:d,schemaCode:p,schema:a}=c;d||a&&typeof a=="object"?c.fail$data((0,e._)`!${(0,t.useFunc)(o,i.default)}(${l}, ${p})`):c.fail((0,e._)`${a} !== ${l}`)}};return Vn.default=r,Vn}var Kn={},Hl;function Jg(){if(Hl)return Kn;Hl=1,Object.defineProperty(Kn,"__esModule",{value:!0});const e=ie(),t=se(),i=mc(),r={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:c})=>(0,e._)`{allowedValues: ${c}}`},code(c){const{gen:o,data:l,$data:d,schema:p,schemaCode:a,it:s}=c;if(!d&&p.length===0)throw new Error("enum must have non-empty array");const u=p.length>=s.opts.loopEnum;let m;const f=()=>m??(m=(0,t.useFunc)(o,i.default));let h;if(u||d)h=o.let("valid"),c.block$data(h,v);else{if(!Array.isArray(p))throw new Error("ajv implementation error");const y=o.const("vSchema",a);h=(0,e.or)(...p.map((b,x)=>g(y,x)))}c.pass(h);function v(){o.assign(h,!1),o.forOf("v",a,y=>o.if((0,e._)`${f()}(${l}, ${y})`,()=>o.assign(h,!0).break()))}function g(y,b){const x=p[b];return typeof x=="object"&&x!==null?(0,e._)`${f()}(${l}, ${y}[${b}])`:(0,e._)`${l} === ${x}`}}};return Kn.default=r,Kn}var Wl;function eh(){if(Wl)return jn;Wl=1,Object.defineProperty(jn,"__esModule",{value:!0});const e=Fg(),t=Ug(),i=Bg(),n=Vg(),r=Kg(),c=Gg(),o=Hg(),l=Wg(),d=Yg(),p=Jg(),a=[e.default,t.default,i.default,n.default,r.default,c.default,o.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,p.default];return jn.default=a,jn}var Gn={},$t={},Yl;function th(){if(Yl)return $t;Yl=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.validateAdditionalItems=void 0;const e=ie(),t=se(),n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:c}})=>(0,e.str)`must NOT have more than ${c} items`,params:({params:{len:c}})=>(0,e._)`{limit: ${c}}`},code(c){const{parentSchema:o,it:l}=c,{items:d}=o;if(!Array.isArray(d)){(0,t.checkStrictMode)(l,'"additionalItems" is ignored when "items" is not an array of schemas');return}r(c,d)}};function r(c,o){const{gen:l,schema:d,data:p,keyword:a,it:s}=c;s.items=!0;const u=l.const("len",(0,e._)`${p}.length`);if(d===!1)c.setParams({len:o.length}),c.pass((0,e._)`${u} <= ${o.length}`);else if(typeof d=="object"&&!(0,t.alwaysValidSchema)(s,d)){const f=l.var("valid",(0,e._)`${u} <= ${o.length}`);l.if((0,e.not)(f),()=>m(f)),c.ok(f)}function m(f){l.forRange("i",o.length,u,h=>{c.subschema({keyword:a,dataProp:h,dataPropType:t.Type.Num},f),s.allErrors||l.if((0,e.not)(f),()=>l.break())})}}return $t.validateAdditionalItems=r,$t.default=n,$t}var Hn={},_t={},Jl;function nh(){if(Jl)return _t;Jl=1,Object.defineProperty(_t,"__esModule",{value:!0}),_t.validateTuple=void 0;const e=ie(),t=se(),i=Fe(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(c){const{schema:o,it:l}=c;if(Array.isArray(o))return r(c,"additionalItems",o);l.items=!0,!(0,t.alwaysValidSchema)(l,o)&&c.ok((0,i.validateArray)(c))}};function r(c,o,l=c.schema){const{gen:d,parentSchema:p,data:a,keyword:s,it:u}=c;h(p),u.opts.unevaluated&&l.length&&u.items!==!0&&(u.items=t.mergeEvaluated.items(d,l.length,u.items));const m=d.name("valid"),f=d.const("len",(0,e._)`${a}.length`);l.forEach((v,g)=>{(0,t.alwaysValidSchema)(u,v)||(d.if((0,e._)`${f} > ${g}`,()=>c.subschema({keyword:s,schemaProp:g,dataProp:g},m)),c.ok(m))});function h(v){const{opts:g,errSchemaPath:y}=u,b=l.length,x=b===v.minItems&&(b===v.maxItems||v[o]===!1);if(g.strictTuples&&!x){const w=`"${s}" is ${b}-tuple, but minItems or maxItems/${o} are not specified or different at path "${y}"`;(0,t.checkStrictMode)(u,w,g.strictTuples)}}}return _t.validateTuple=r,_t.default=n,_t}var Xl;function Xg(){if(Xl)return Hn;Xl=1,Object.defineProperty(Hn,"__esModule",{value:!0});const e=nh(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:i=>(0,e.validateTuple)(i,"items")};return Hn.default=t,Hn}var Wn={},Ql;function Qg(){if(Ql)return Wn;Ql=1,Object.defineProperty(Wn,"__esModule",{value:!0});const e=ie(),t=se(),i=Fe(),n=th(),c={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{schema:l,parentSchema:d,it:p}=o,{prefixItems:a}=d;p.items=!0,!(0,t.alwaysValidSchema)(p,l)&&(a?(0,n.validateAdditionalItems)(o,a):o.ok((0,i.validateArray)(o)))}};return Wn.default=c,Wn}var Yn={},Zl;function Zg(){if(Zl)return Yn;Zl=1,Object.defineProperty(Yn,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:r,max:c}})=>c===void 0?(0,e.str)`must contain at least ${r} valid item(s)`:(0,e.str)`must contain at least ${r} and no more than ${c} valid item(s)`,params:({params:{min:r,max:c}})=>c===void 0?(0,e._)`{minContains: ${r}}`:(0,e._)`{minContains: ${r}, maxContains: ${c}}`},code(r){const{gen:c,schema:o,parentSchema:l,data:d,it:p}=r;let a,s;const{minContains:u,maxContains:m}=l;p.opts.next?(a=u===void 0?1:u,s=m):a=1;const f=c.const("len",(0,e._)`${d}.length`);if(r.setParams({min:a,max:s}),s===void 0&&a===0){(0,t.checkStrictMode)(p,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&a>s){(0,t.checkStrictMode)(p,'"minContains" > "maxContains" is always invalid'),r.fail();return}if((0,t.alwaysValidSchema)(p,o)){let b=(0,e._)`${f} >= ${a}`;s!==void 0&&(b=(0,e._)`${b} && ${f} <= ${s}`),r.pass(b);return}p.items=!0;const h=c.name("valid");s===void 0&&a===1?g(h,()=>c.if(h,()=>c.break())):a===0?(c.let(h,!0),s!==void 0&&c.if((0,e._)`${d}.length > 0`,v)):(c.let(h,!1),v()),r.result(h,()=>r.reset());function v(){const b=c.name("_valid"),x=c.let("count",0);g(b,()=>c.if(b,()=>y(x)))}function g(b,x){c.forRange("i",0,f,w=>{r.subschema({keyword:"contains",dataProp:w,dataPropType:t.Type.Num,compositeRule:!0},b),x()})}function y(b){c.code((0,e._)`${b}++`),s===void 0?c.if((0,e._)`${b} >= ${a}`,()=>c.assign(h,!0).break()):(c.if((0,e._)`${b} > ${s}`,()=>c.assign(h,!1).break()),a===1?c.assign(h,!0):c.if((0,e._)`${b} >= ${a}`,()=>c.assign(h,!0)))}}};return Yn.default=n,Yn}var Wa={},eu;function hc(){return eu||(eu=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ie(),i=se(),n=Fe();e.error={message:({params:{property:d,depsCount:p,deps:a}})=>{const s=p===1?"property":"properties";return(0,t.str)`must have ${s} ${a} when property ${d} is present`},params:({params:{property:d,depsCount:p,deps:a,missingProperty:s}})=>(0,t._)`{property: ${d},
6
- missingProperty: ${s},
1
+ "use strict";require("reflect-metadata");const X=require("electron"),Q=require("node:path"),he=require("node:process"),xe=require("node:util"),ee=require("node:fs"),ut=require("node:crypto"),sl=require("node:assert"),fn=require("node:os"),Wt=require("node:url"),zt=require("util"),Ce=require("stream"),Hm=require("path"),fc=require("http"),mc=require("https"),la=require("url"),Kv=require("fs"),Wm=require("crypto"),Gv=require("assert"),Hv=require("tty"),Wv=require("os"),st=require("zlib"),Yv=require("events"),hc=require("process"),Jv=require("buffer"),Xv=require("node:fs/promises");function Ym(e,t,i){for(const n of e)t.includes(`${n.role}`)?i.insert(0,n):n.submenu!=null&&Ym(n.submenu.items,t,i)}function Qv(e){const t=X.Menu.getApplicationMenu(),i=new X.Menu,n=["toggledevtools","resetzoom","zoomin","zoomout","togglefullscreen"];t?.items&&Ym(t?.items,n,i),e.setMenu(i),X.Menu.setApplicationMenu(t),e.setMenuBarVisibility(!1)}function Ki(e){return e.loadFile(Q.resolve(X.app.getAppPath(),"./renderer/dist/index.html"))}async function Zv(){const e=new X.BrowserWindow({show:!1,webPreferences:{nodeIntegration:!1,contextIsolation:!0,sandbox:!1,webviewTag:!1,preload:Q.join(X.app.getAppPath(),"./preload/dist/index.cjs")}});return Qv(e),e.webContents.setWindowOpenHandler(({url:t})=>(X.shell.openExternal(t),{action:"deny"})),e.on("ready-to-show",()=>{e?.show()}),await Ki(e),e}async function Xo(){let e=X.BrowserWindow.getAllWindows().find(t=>!t.isDestroyed());return e===void 0&&(e=await Zv()),e.isMinimized()&&e.restore(),e.focus(),e}const eg={FileSystem:{name:"FileSystem",configType:"FileSystem",serverRendering:!1,offline:!1,designSystem:"vuetify",editor:"blocknote"},FileSystemSL:{name:"FileSystemSL",configType:"FileSystem",serverRendering:!1,offline:!1,designSystem:"shoelace",editor:"blocknote"},XWiki:{name:"XWiki",configType:"XWiki",serverRendering:!1,offline:!1,baseURL:"https://cristal-backend.demo.xwiki.com/xwiki",baseRestURL:"/rest/cristal/page?media=json",homePage:"Main.WebHome",designSystem:"vuetify",editor:"blocknote",realtimeURL:"https://cristal.demo.xwiki.com:8093/collaboration"},XWikiSL:{name:"XWikiSL",configType:"XWiki",serverRendering:!1,offline:!1,baseURL:"https://cristal-backend.demo.xwiki.com/xwiki",baseRestURL:"/rest/cristal/page?media=json",homePage:"Main.WebHome",designSystem:"shoelace",editor:"blocknote",realtimeURL:"https://cristal.demo.xwiki.com:8093/collaboration"}},tg={configuration:eg},yt=e=>{const t=typeof e;return e!==null&&(t==="object"||t==="function")},Jm=new Set(["__proto__","prototype","constructor"]),Xm=1e6,ng=e=>e>="0"&&e<="9";function Qm(e){if(e==="0")return!0;if(/^[1-9]\d*$/.test(e)){const t=Number.parseInt(e,10);return t<=Number.MAX_SAFE_INTEGER&&t<=Xm}return!1}function Ma(e,t){return Jm.has(e)?!1:(e&&Qm(e)?t.push(Number.parseInt(e,10)):t.push(e),!0)}function ig(e){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);const t=[];let i="",n="start",r=!1,c=0;for(const s of e){if(c++,r){i+=s,r=!1;continue}if(s==="\\"){if(n==="index")throw new Error(`Invalid character '${s}' in an index at position ${c}`);if(n==="indexEnd")throw new Error(`Invalid character '${s}' after an index at position ${c}`);r=!0,n=n==="start"?"property":n;continue}switch(s){case".":{if(n==="index")throw new Error(`Invalid character '${s}' in an index at position ${c}`);if(n==="indexEnd"){n="property";break}if(!Ma(i,t))return[];i="",n="property";break}case"[":{if(n==="index")throw new Error(`Invalid character '${s}' in an index at position ${c}`);if(n==="indexEnd"){n="index";break}if(n==="property"||n==="start"){if((i||n==="property")&&!Ma(i,t))return[];i=""}n="index";break}case"]":{if(n==="index"){if(i==="")i=(t.pop()||"")+"[]",n="property";else{const l=Number.parseInt(i,10);!Number.isNaN(l)&&Number.isFinite(l)&&l>=0&&l<=Number.MAX_SAFE_INTEGER&&l<=Xm&&i===String(l)?t.push(l):t.push(i),i="",n="indexEnd"}break}if(n==="indexEnd")throw new Error(`Invalid character '${s}' after an index at position ${c}`);i+=s;break}default:{if(n==="index"&&!ng(s))throw new Error(`Invalid character '${s}' in an index at position ${c}`);if(n==="indexEnd")throw new Error(`Invalid character '${s}' after an index at position ${c}`);n==="start"&&(n="property"),i+=s}}}switch(r&&(i+="\\"),n){case"property":{if(!Ma(i,t))return[];break}case"index":throw new Error("Index was not closed");case"start":{t.push("");break}}return t}function ua(e){if(typeof e=="string")return ig(e);if(Array.isArray(e)){const t=[];for(const[i,n]of e.entries()){if(typeof n!="string"&&typeof n!="number")throw new TypeError(`Expected a string or number for path segment at index ${i}, got ${typeof n}`);if(typeof n=="number"&&!Number.isFinite(n))throw new TypeError(`Path segment at index ${i} must be a finite number, got ${n}`);if(Jm.has(n))return[];typeof n=="string"&&Qm(n)?t.push(Number.parseInt(n,10)):t.push(n)}return t}return[]}function ol(e,t,i){if(!yt(e)||typeof t!="string"&&!Array.isArray(t))return i===void 0?e:i;const n=ua(t);if(n.length===0)return i;for(let r=0;r<n.length;r++){const c=n[r];if(e=e[c],e==null){if(r!==n.length-1)return i;break}}return e===void 0?i:e}function kn(e,t,i){if(!yt(e)||typeof t!="string"&&!Array.isArray(t))return e;const n=e,r=ua(t);if(r.length===0)return e;for(let c=0;c<r.length;c++){const s=r[c];if(c===r.length-1)e[s]=i;else if(!yt(e[s])){const d=typeof r[c+1]=="number";e[s]=d?[]:{}}e=e[s]}return n}function ag(e,t){if(!yt(e)||typeof t!="string"&&!Array.isArray(t))return!1;const i=ua(t);if(i.length===0)return!1;for(let n=0;n<i.length;n++){const r=i[n];if(n===i.length-1)return Object.hasOwn(e,r)?(delete e[r],!0):!1;if(e=e[r],!yt(e))return!1}}function Fa(e,t){if(!yt(e)||typeof t!="string"&&!Array.isArray(t))return!1;const i=ua(t);if(i.length===0)return!1;for(const n of i){if(!yt(e)||!(n in e))return!1;e=e[n]}return!0}const rt=fn.homedir(),vc=fn.tmpdir(),{env:Lt}=he,rg=e=>{const t=Q.join(rt,"Library");return{data:Q.join(t,"Application Support",e),config:Q.join(t,"Preferences",e),cache:Q.join(t,"Caches",e),log:Q.join(t,"Logs",e),temp:Q.join(vc,e)}},sg=e=>{const t=Lt.APPDATA||Q.join(rt,"AppData","Roaming"),i=Lt.LOCALAPPDATA||Q.join(rt,"AppData","Local");return{data:Q.join(i,e,"Data"),config:Q.join(t,e,"Config"),cache:Q.join(i,e,"Cache"),log:Q.join(i,e,"Log"),temp:Q.join(vc,e)}},og=e=>{const t=Q.basename(rt);return{data:Q.join(Lt.XDG_DATA_HOME||Q.join(rt,".local","share"),e),config:Q.join(Lt.XDG_CONFIG_HOME||Q.join(rt,".config"),e),cache:Q.join(Lt.XDG_CACHE_HOME||Q.join(rt,".cache"),e),log:Q.join(Lt.XDG_STATE_HOME||Q.join(rt,".local","state"),e),temp:Q.join(vc,t,e)}};function cg(e,{suffix:t="nodejs"}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);return t&&(e+=`-${t}`),he.platform==="darwin"?rg(e):he.platform==="win32"?sg(e):og(e)}const Qe=(e,t)=>function(...n){return e.apply(void 0,n).catch(t)},He=(e,t)=>function(...n){try{return e.apply(void 0,n)}catch(r){return t(r)}},lg=he.getuid?!he.getuid():!1,ug=1e4,Ne=()=>{},de={isChangeErrorOk:e=>{if(!de.isNodeError(e))return!1;const{code:t}=e;return t==="ENOSYS"||!lg&&(t==="EINVAL"||t==="EPERM")},isNodeError:e=>e instanceof Error,isRetriableError:e=>{if(!de.isNodeError(e))return!1;const{code:t}=e;return t==="EMFILE"||t==="ENFILE"||t==="EAGAIN"||t==="EBUSY"||t==="EACCESS"||t==="EACCES"||t==="EACCS"||t==="EPERM"},onChangeError:e=>{if(!de.isNodeError(e))throw e;if(!de.isChangeErrorOk(e))throw e}};class pg{constructor(){this.interval=25,this.intervalId=void 0,this.limit=ug,this.queueActive=new Set,this.queueWaiting=new Set,this.init=()=>{this.intervalId||(this.intervalId=setInterval(this.tick,this.interval))},this.reset=()=>{this.intervalId&&(clearInterval(this.intervalId),delete this.intervalId)},this.add=t=>{this.queueWaiting.add(t),this.queueActive.size<this.limit/2?this.tick():this.init()},this.remove=t=>{this.queueWaiting.delete(t),this.queueActive.delete(t)},this.schedule=()=>new Promise(t=>{const i=()=>this.remove(n),n=()=>t(i);this.add(n)}),this.tick=()=>{if(!(this.queueActive.size>=this.limit)){if(!this.queueWaiting.size)return this.reset();for(const t of this.queueWaiting){if(this.queueActive.size>=this.limit)break;this.queueWaiting.delete(t),this.queueActive.add(t),t()}}}}}const dg=new pg,Ze=(e,t)=>function(n){return function r(...c){return dg.schedule().then(s=>{const l=p=>(s(),p),d=p=>{if(s(),Date.now()>=n)throw p;if(t(p)){const a=Math.round(100*Math.random());return new Promise(u=>setTimeout(u,a)).then(()=>r.apply(void 0,c))}throw p};return e.apply(void 0,c).then(l,d)})}},et=(e,t)=>function(n){return function r(...c){try{return e.apply(void 0,c)}catch(s){if(Date.now()>n)throw s;if(t(s))return r.apply(void 0,c);throw s}}},$e={attempt:{chmod:Qe(xe.promisify(ee.chmod),de.onChangeError),chown:Qe(xe.promisify(ee.chown),de.onChangeError),close:Qe(xe.promisify(ee.close),Ne),fsync:Qe(xe.promisify(ee.fsync),Ne),mkdir:Qe(xe.promisify(ee.mkdir),Ne),realpath:Qe(xe.promisify(ee.realpath),Ne),stat:Qe(xe.promisify(ee.stat),Ne),unlink:Qe(xe.promisify(ee.unlink),Ne),chmodSync:He(ee.chmodSync,de.onChangeError),chownSync:He(ee.chownSync,de.onChangeError),closeSync:He(ee.closeSync,Ne),existsSync:He(ee.existsSync,Ne),fsyncSync:He(ee.fsync,Ne),mkdirSync:He(ee.mkdirSync,Ne),realpathSync:He(ee.realpathSync,Ne),statSync:He(ee.statSync,Ne),unlinkSync:He(ee.unlinkSync,Ne)},retry:{close:Ze(xe.promisify(ee.close),de.isRetriableError),fsync:Ze(xe.promisify(ee.fsync),de.isRetriableError),open:Ze(xe.promisify(ee.open),de.isRetriableError),readFile:Ze(xe.promisify(ee.readFile),de.isRetriableError),rename:Ze(xe.promisify(ee.rename),de.isRetriableError),stat:Ze(xe.promisify(ee.stat),de.isRetriableError),write:Ze(xe.promisify(ee.write),de.isRetriableError),writeFile:Ze(xe.promisify(ee.writeFile),de.isRetriableError),closeSync:et(ee.closeSync,de.isRetriableError),fsyncSync:et(ee.fsyncSync,de.isRetriableError),openSync:et(ee.openSync,de.isRetriableError),readFileSync:et(ee.readFileSync,de.isRetriableError),renameSync:et(ee.renameSync,de.isRetriableError),statSync:et(ee.statSync,de.isRetriableError),writeSync:et(ee.writeSync,de.isRetriableError),writeFileSync:et(ee.writeFileSync,de.isRetriableError)}},fg="utf8",cl=438,mg=511,hg={},vg=fn.userInfo().uid,gg=fn.userInfo().gid,yg=1e3,bg=!!he.getuid;he.getuid&&he.getuid();const ll=128,xg=e=>e instanceof Error&&"code"in e,ul=e=>typeof e=="string",za=e=>e===void 0,wg=he.platform==="linux",Zm=he.platform==="win32",gc=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];Zm||gc.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");wg&&gc.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");class Sg{constructor(){this.callbacks=new Set,this.exited=!1,this.exit=t=>{if(!this.exited){this.exited=!0;for(const i of this.callbacks)i();t&&(Zm&&t!=="SIGINT"&&t!=="SIGTERM"&&t!=="SIGKILL"?he.kill(he.pid,"SIGTERM"):he.kill(he.pid,t))}},this.hook=()=>{he.once("exit",()=>this.exit());for(const t of gc)try{he.once(t,()=>this.exit(t))}catch{}},this.register=t=>(this.callbacks.add(t),()=>{this.callbacks.delete(t)}),this.hook()}}const _g=new Sg,$g=_g.register,Ee={store:{},create:e=>{const t=`000000${Math.floor(Math.random()*16777215).toString(16)}`.slice(-6),r=`.tmp-${Date.now().toString().slice(-10)}${t}`;return`${e}${r}`},get:(e,t,i=!0)=>{const n=Ee.truncate(t(e));return n in Ee.store?Ee.get(e,t,i):(Ee.store[n]=i,[n,()=>delete Ee.store[n]])},purge:e=>{Ee.store[e]&&(delete Ee.store[e],$e.attempt.unlink(e))},purgeSync:e=>{Ee.store[e]&&(delete Ee.store[e],$e.attempt.unlinkSync(e))},purgeSyncAll:()=>{for(const e in Ee.store)Ee.purgeSync(e)},truncate:e=>{const t=Q.basename(e);if(t.length<=ll)return e;const i=/^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(t);if(!i)return e;const n=t.length-ll;return`${e.slice(0,-t.length)}${i[1]}${i[2].slice(0,-n)}${i[3]}`}};$g(Ee.purgeSyncAll);function eh(e,t,i=hg){if(ul(i))return eh(e,t,{encoding:i});const n=Date.now()+((i.timeout??yg)||-1);let r=null,c=null,s=null;try{const l=$e.attempt.realpathSync(e),d=!!l;e=l||e,[c,r]=Ee.get(e,i.tmpCreate||Ee.create,i.tmpPurge!==!1);const p=bg&&za(i.chown),a=za(i.mode);if(d&&(p||a)){const o=$e.attempt.statSync(e);o&&(i={...i},p&&(i.chown={uid:o.uid,gid:o.gid}),a&&(i.mode=o.mode))}if(!d){const o=Q.dirname(e);$e.attempt.mkdirSync(o,{mode:mg,recursive:!0})}s=$e.retry.openSync(n)(c,"w",i.mode||cl),i.tmpCreated&&i.tmpCreated(c),ul(t)?$e.retry.writeSync(n)(s,t,0,i.encoding||fg):za(t)||$e.retry.writeSync(n)(s,t,0,t.length,0),i.fsync!==!1&&(i.fsyncWait!==!1?$e.retry.fsyncSync(n)(s):$e.attempt.fsync(s)),$e.retry.closeSync(n)(s),s=null,i.chown&&(i.chown.uid!==vg||i.chown.gid!==gg)&&$e.attempt.chownSync(c,i.chown.uid,i.chown.gid),i.mode&&i.mode!==cl&&$e.attempt.chmodSync(c,i.mode);try{$e.retry.renameSync(n)(c,e)}catch(o){if(!xg(o)||o.code!=="ENAMETOOLONG")throw o;$e.retry.renameSync(n)(c,Ee.truncate(e))}r(),c=null}finally{s&&$e.attempt.closeSync(s),c&&Ee.purge(c)}}function mn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rn={exports:{}},Ua={},We={},pt={},Ba={},Va={},Ka={},pl;function Zi(){return pl||(pl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class i extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=i;class n extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((b,x)=>`${b}${x}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((b,x)=>(x instanceof i&&(b[x.str]=(b[x.str]||0)+1),b),{})}}e._Code=n,e.nil=new n("");function r(g,...y){const b=[g[0]];let x=0;for(;x<y.length;)l(b,y[x]),b.push(g[++x]);return new n(b)}e._=r;const c=new n("+");function s(g,...y){const b=[m(g[0])];let x=0;for(;x<y.length;)b.push(c),l(b,y[x]),b.push(c,m(g[++x]));return d(b),new n(b)}e.str=s;function l(g,y){y instanceof n?g.push(...y._items):y instanceof i?g.push(y):g.push(o(y))}e.addCodeArg=l;function d(g){let y=1;for(;y<g.length-1;){if(g[y]===c){const b=p(g[y-1],g[y+1]);if(b!==void 0){g.splice(y-1,3,b);continue}g[y++]="+"}y++}}function p(g,y){if(y==='""')return g;if(g==='""')return y;if(typeof g=="string")return y instanceof i||g[g.length-1]!=='"'?void 0:typeof y!="string"?`${g.slice(0,-1)}${y}"`:y[0]==='"'?g.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(g instanceof i))return`"${g}${y.slice(1)}`}function a(g,y){return y.emptyStr()?g:g.emptyStr()?y:s`${g}${y}`}e.strConcat=a;function o(g){return typeof g=="number"||typeof g=="boolean"||g===null?g:m(Array.isArray(g)?g.join(","):g)}function u(g){return new n(m(g))}e.stringify=u;function m(g){return JSON.stringify(g).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function f(g){return typeof g=="string"&&e.IDENTIFIER.test(g)?new n(`.${g}`):r`[${g}]`}e.getProperty=f;function h(g){if(typeof g=="string"&&e.IDENTIFIER.test(g))return new n(`${g}`);throw new Error(`CodeGen: invalid export name: ${g}, use explicit $id name mapping`)}e.getEsmExportName=h;function v(g){return new n(g.toString())}e.regexpCode=v})(Ka)),Ka}var Ga={},dl;function fl(){return dl||(dl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Zi();class i extends Error{constructor(p){super(`CodeGen: "code" for ${p} not defined`),this.value=p.value}}var n;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class r{constructor({prefixes:p,parent:a}={}){this._names={},this._prefixes=p,this._parent=a}toName(p){return p instanceof t.Name?p:this.name(p)}name(p){return new t.Name(this._newName(p))}_newName(p){const a=this._names[p]||this._nameGroup(p);return`${p}${a.index++}`}_nameGroup(p){var a,o;if(!((o=(a=this._parent)===null||a===void 0?void 0:a._prefixes)===null||o===void 0)&&o.has(p)||this._prefixes&&!this._prefixes.has(p))throw new Error(`CodeGen: prefix "${p}" is not allowed in this scope`);return this._names[p]={prefix:p,index:0}}}e.Scope=r;class c extends t.Name{constructor(p,a){super(a),this.prefix=p}setValue(p,{property:a,itemIndex:o}){this.value=p,this.scopePath=(0,t._)`.${new t.Name(a)}[${o}]`}}e.ValueScopeName=c;const s=(0,t._)`\n`;class l extends r{constructor(p){super(p),this._values={},this._scope=p.scope,this.opts={...p,_n:p.lines?s:t.nil}}get(){return this._scope}name(p){return new c(p,this._newName(p))}value(p,a){var o;if(a.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const u=this.toName(p),{prefix:m}=u,f=(o=a.key)!==null&&o!==void 0?o:a.ref;let h=this._values[m];if(h){const y=h.get(f);if(y)return y}else h=this._values[m]=new Map;h.set(f,u);const v=this._scope[m]||(this._scope[m]=[]),g=v.length;return v[g]=a.ref,u.setValue(a,{property:m,itemIndex:g}),u}getValue(p,a){const o=this._values[p];if(o)return o.get(a)}scopeRefs(p,a=this._values){return this._reduceValues(a,o=>{if(o.scopePath===void 0)throw new Error(`CodeGen: name "${o}" has no value`);return(0,t._)`${p}${o.scopePath}`})}scopeCode(p=this._values,a,o){return this._reduceValues(p,u=>{if(u.value===void 0)throw new Error(`CodeGen: name "${u}" has no value`);return u.value.code},a,o)}_reduceValues(p,a,o={},u){let m=t.nil;for(const f in p){const h=p[f];if(!h)continue;const v=o[f]=o[f]||new Map;h.forEach(g=>{if(v.has(g))return;v.set(g,n.Started);let y=a(g);if(y){const b=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${b} ${g} = ${y};${this.opts._n}`}else if(y=u?.(g))m=(0,t._)`${m}${y}${this.opts._n}`;else throw new i(g);v.set(g,n.Completed)})}return m}}e.ValueScope=l})(Ga)),Ga}var ml;function ie(){return ml||(ml=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Zi(),i=fl();var n=Zi();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var r=fl();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return r.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return r.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return r.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return r.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class c{optimizeNodes(){return this}optimizeNames($,k){return this}}class s extends c{constructor($,k,F){super(),this.varKind=$,this.name=k,this.rhs=F}render({es5:$,_n:k}){const F=$?i.varKinds.var:this.varKind,Y=this.rhs===void 0?"":` = ${this.rhs}`;return`${F} ${this.name}${Y};`+k}optimizeNames($,k){if($[this.name.str])return this.rhs&&(this.rhs=C(this.rhs,$,k)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class l extends c{constructor($,k,F){super(),this.lhs=$,this.rhs=k,this.sideEffects=F}render({_n:$}){return`${this.lhs} = ${this.rhs};`+$}optimizeNames($,k){if(!(this.lhs instanceof t.Name&&!$[this.lhs.str]&&!this.sideEffects))return this.rhs=C(this.rhs,$,k),this}get names(){const $=this.lhs instanceof t.Name?{}:{...this.lhs.names};return G($,this.rhs)}}class d extends l{constructor($,k,F,Y){super($,F,Y),this.op=k}render({_n:$}){return`${this.lhs} ${this.op}= ${this.rhs};`+$}}class p extends c{constructor($){super(),this.label=$,this.names={}}render({_n:$}){return`${this.label}:`+$}}class a extends c{constructor($){super(),this.label=$,this.names={}}render({_n:$}){return`break${this.label?` ${this.label}`:""};`+$}}class o extends c{constructor($){super(),this.error=$}render({_n:$}){return`throw ${this.error};`+$}get names(){return this.error.names}}class u extends c{constructor($){super(),this.code=$}render({_n:$}){return`${this.code};`+$}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames($,k){return this.code=C(this.code,$,k),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends c{constructor($=[]){super(),this.nodes=$}render($){return this.nodes.reduce((k,F)=>k+F.render($),"")}optimizeNodes(){const{nodes:$}=this;let k=$.length;for(;k--;){const F=$[k].optimizeNodes();Array.isArray(F)?$.splice(k,1,...F):F?$[k]=F:$.splice(k,1)}return $.length>0?this:void 0}optimizeNames($,k){const{nodes:F}=this;let Y=F.length;for(;Y--;){const W=F[Y];W.optimizeNames($,k)||(V($,W.names),F.splice(Y,1))}return F.length>0?this:void 0}get names(){return this.nodes.reduce(($,k)=>B($,k.names),{})}}class f extends m{render($){return"{"+$._n+super.render($)+"}"+$._n}}class h extends m{}class v extends f{}v.kind="else";class g extends f{constructor($,k){super(k),this.condition=$}render($){let k=`if(${this.condition})`+super.render($);return this.else&&(k+="else "+this.else.render($)),k}optimizeNodes(){super.optimizeNodes();const $=this.condition;if($===!0)return this.nodes;let k=this.else;if(k){const F=k.optimizeNodes();k=this.else=Array.isArray(F)?new v(F):F}if(k)return $===!1?k instanceof g?k:k.nodes:this.nodes.length?this:new g(T($),k instanceof g?[k]:k.nodes);if(!($===!1||!this.nodes.length))return this}optimizeNames($,k){var F;if(this.else=(F=this.else)===null||F===void 0?void 0:F.optimizeNames($,k),!!(super.optimizeNames($,k)||this.else))return this.condition=C(this.condition,$,k),this}get names(){const $=super.names;return G($,this.condition),this.else&&B($,this.else.names),$}}g.kind="if";class y extends f{}y.kind="for";class b extends y{constructor($){super(),this.iteration=$}render($){return`for(${this.iteration})`+super.render($)}optimizeNames($,k){if(super.optimizeNames($,k))return this.iteration=C(this.iteration,$,k),this}get names(){return B(super.names,this.iteration.names)}}class x extends y{constructor($,k,F,Y){super(),this.varKind=$,this.name=k,this.from=F,this.to=Y}render($){const k=$.es5?i.varKinds.var:this.varKind,{name:F,from:Y,to:W}=this;return`for(${k} ${F}=${Y}; ${F}<${W}; ${F}++)`+super.render($)}get names(){const $=G(super.names,this.from);return G($,this.to)}}class w extends y{constructor($,k,F,Y){super(),this.loop=$,this.varKind=k,this.name=F,this.iterable=Y}render($){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render($)}optimizeNames($,k){if(super.optimizeNames($,k))return this.iterable=C(this.iterable,$,k),this}get names(){return B(super.names,this.iterable.names)}}class S extends f{constructor($,k,F){super(),this.name=$,this.args=k,this.async=F}render($){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render($)}}S.kind="func";class _ extends m{render($){return"return "+super.render($)}}_.kind="return";class E extends f{render($){let k="try"+super.render($);return this.catch&&(k+=this.catch.render($)),this.finally&&(k+=this.finally.render($)),k}optimizeNodes(){var $,k;return super.optimizeNodes(),($=this.catch)===null||$===void 0||$.optimizeNodes(),(k=this.finally)===null||k===void 0||k.optimizeNodes(),this}optimizeNames($,k){var F,Y;return super.optimizeNames($,k),(F=this.catch)===null||F===void 0||F.optimizeNames($,k),(Y=this.finally)===null||Y===void 0||Y.optimizeNames($,k),this}get names(){const $=super.names;return this.catch&&B($,this.catch.names),this.finally&&B($,this.finally.names),$}}class O extends f{constructor($){super(),this.error=$}render($){return`catch(${this.error})`+super.render($)}}O.kind="catch";class U extends f{render($){return"finally"+super.render($)}}U.kind="finally";class M{constructor($,k={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...k,_n:k.lines?`
2
+ `:""},this._extScope=$,this._scope=new i.Scope({parent:$}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name($){return this._scope.name($)}scopeName($){return this._extScope.name($)}scopeValue($,k){const F=this._extScope.value($,k);return(this._values[F.prefix]||(this._values[F.prefix]=new Set)).add(F),F}getScopeValue($,k){return this._extScope.getValue($,k)}scopeRefs($){return this._extScope.scopeRefs($,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def($,k,F,Y){const W=this._scope.toName(k);return F!==void 0&&Y&&(this._constants[W.str]=F),this._leafNode(new s($,W,F)),W}const($,k,F){return this._def(i.varKinds.const,$,k,F)}let($,k,F){return this._def(i.varKinds.let,$,k,F)}var($,k,F){return this._def(i.varKinds.var,$,k,F)}assign($,k,F){return this._leafNode(new l($,k,F))}add($,k){return this._leafNode(new d($,e.operators.ADD,k))}code($){return typeof $=="function"?$():$!==t.nil&&this._leafNode(new u($)),this}object(...$){const k=["{"];for(const[F,Y]of $)k.length>1&&k.push(","),k.push(F),(F!==Y||this.opts.es5)&&(k.push(":"),(0,t.addCodeArg)(k,Y));return k.push("}"),new t._Code(k)}if($,k,F){if(this._blockNode(new g($)),k&&F)this.code(k).else().code(F).endIf();else if(k)this.code(k).endIf();else if(F)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf($){return this._elseNode(new g($))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(g,v)}_for($,k){return this._blockNode($),k&&this.code(k).endFor(),this}for($,k){return this._for(new b($),k)}forRange($,k,F,Y,W=this.opts.es5?i.varKinds.var:i.varKinds.let){const ae=this._scope.toName($);return this._for(new x(W,ae,k,F),()=>Y(ae))}forOf($,k,F,Y=i.varKinds.const){const W=this._scope.toName($);if(this.opts.es5){const ae=k instanceof t.Name?k:this.var("_arr",k);return this.forRange("_i",0,(0,t._)`${ae}.length`,te=>{this.var(W,(0,t._)`${ae}[${te}]`),F(W)})}return this._for(new w("of",Y,W,k),()=>F(W))}forIn($,k,F,Y=this.opts.es5?i.varKinds.var:i.varKinds.const){if(this.opts.ownProperties)return this.forOf($,(0,t._)`Object.keys(${k})`,F);const W=this._scope.toName($);return this._for(new w("in",Y,W,k),()=>F(W))}endFor(){return this._endBlockNode(y)}label($){return this._leafNode(new p($))}break($){return this._leafNode(new a($))}return($){const k=new _;if(this._blockNode(k),this.code($),k.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try($,k,F){if(!k&&!F)throw new Error('CodeGen: "try" without "catch" and "finally"');const Y=new E;if(this._blockNode(Y),this.code($),k){const W=this.name("e");this._currNode=Y.catch=new O(W),k(W)}return F&&(this._currNode=Y.finally=new U,this.code(F)),this._endBlockNode(O,U)}throw($){return this._leafNode(new o($))}block($,k){return this._blockStarts.push(this._nodes.length),$&&this.code($).endBlock(k),this}endBlock($){const k=this._blockStarts.pop();if(k===void 0)throw new Error("CodeGen: not in self-balancing block");const F=this._nodes.length-k;if(F<0||$!==void 0&&F!==$)throw new Error(`CodeGen: wrong number of nodes: ${F} vs ${$} expected`);return this._nodes.length=k,this}func($,k=t.nil,F,Y){return this._blockNode(new S($,k,F)),Y&&this.code(Y).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize($=1){for(;$-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode($){return this._currNode.nodes.push($),this}_blockNode($){this._currNode.nodes.push($),this._nodes.push($)}_endBlockNode($,k){const F=this._currNode;if(F instanceof $||k&&F instanceof k)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${k?`${$.kind}/${k.kind}`:$.kind}"`)}_elseNode($){const k=this._currNode;if(!(k instanceof g))throw new Error('CodeGen: "else" without "if"');return this._currNode=k.else=$,this}get _root(){return this._nodes[0]}get _currNode(){const $=this._nodes;return $[$.length-1]}set _currNode($){const k=this._nodes;k[k.length-1]=$}}e.CodeGen=M;function B(N,$){for(const k in $)N[k]=(N[k]||0)+($[k]||0);return N}function G(N,$){return $ instanceof t._CodeOrName?B(N,$.names):N}function C(N,$,k){if(N instanceof t.Name)return F(N);if(!Y(N))return N;return new t._Code(N._items.reduce((W,ae)=>(ae instanceof t.Name&&(ae=F(ae)),ae instanceof t._Code?W.push(...ae._items):W.push(ae),W),[]));function F(W){const ae=k[W.str];return ae===void 0||$[W.str]!==1?W:(delete $[W.str],ae)}function Y(W){return W instanceof t._Code&&W._items.some(ae=>ae instanceof t.Name&&$[ae.str]===1&&k[ae.str]!==void 0)}}function V(N,$){for(const k in $)N[k]=(N[k]||0)-($[k]||0)}function T(N){return typeof N=="boolean"||typeof N=="number"||N===null?!N:(0,t._)`!${I(N)}`}e.not=T;const A=R(e.operators.AND);function P(...N){return N.reduce(A)}e.and=P;const z=R(e.operators.OR);function q(...N){return N.reduce(z)}e.or=q;function R(N){return($,k)=>$===t.nil?k:k===t.nil?$:(0,t._)`${I($)} ${N} ${I(k)}`}function I(N){return N instanceof t.Name?N:(0,t._)`(${N})`}})(Va)),Va}var re={},hl;function se(){if(hl)return re;hl=1,Object.defineProperty(re,"__esModule",{value:!0}),re.checkStrictMode=re.getErrorPath=re.Type=re.useFunc=re.setEvaluated=re.evaluatedPropsToName=re.mergeEvaluated=re.eachItem=re.unescapeJsonPointer=re.escapeJsonPointer=re.escapeFragment=re.unescapeFragment=re.schemaRefOrVal=re.schemaHasRulesButRef=re.schemaHasRules=re.checkUnknownRules=re.alwaysValidSchema=re.toHash=void 0;const e=ie(),t=Zi();function i(w){const S={};for(const _ of w)S[_]=!0;return S}re.toHash=i;function n(w,S){return typeof S=="boolean"?S:Object.keys(S).length===0?!0:(r(w,S),!c(S,w.self.RULES.all))}re.alwaysValidSchema=n;function r(w,S=w.schema){const{opts:_,self:E}=w;if(!_.strictSchema||typeof S=="boolean")return;const O=E.RULES.keywords;for(const U in S)O[U]||x(w,`unknown keyword: "${U}"`)}re.checkUnknownRules=r;function c(w,S){if(typeof w=="boolean")return!w;for(const _ in w)if(S[_])return!0;return!1}re.schemaHasRules=c;function s(w,S){if(typeof w=="boolean")return!w;for(const _ in w)if(_!=="$ref"&&S.all[_])return!0;return!1}re.schemaHasRulesButRef=s;function l({topSchemaRef:w,schemaPath:S},_,E,O){if(!O){if(typeof _=="number"||typeof _=="boolean")return _;if(typeof _=="string")return(0,e._)`${_}`}return(0,e._)`${w}${S}${(0,e.getProperty)(E)}`}re.schemaRefOrVal=l;function d(w){return o(decodeURIComponent(w))}re.unescapeFragment=d;function p(w){return encodeURIComponent(a(w))}re.escapeFragment=p;function a(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}re.escapeJsonPointer=a;function o(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}re.unescapeJsonPointer=o;function u(w,S){if(Array.isArray(w))for(const _ of w)S(_);else S(w)}re.eachItem=u;function m({mergeNames:w,mergeToName:S,mergeValues:_,resultToName:E}){return(O,U,M,B)=>{const G=M===void 0?U:M instanceof e.Name?(U instanceof e.Name?w(O,U,M):S(O,U,M),M):U instanceof e.Name?(S(O,M,U),U):_(U,M);return B===e.Name&&!(G instanceof e.Name)?E(O,G):G}}re.mergeEvaluated={props:m({mergeNames:(w,S,_)=>w.if((0,e._)`${_} !== true && ${S} !== undefined`,()=>{w.if((0,e._)`${S} === true`,()=>w.assign(_,!0),()=>w.assign(_,(0,e._)`${_} || {}`).code((0,e._)`Object.assign(${_}, ${S})`))}),mergeToName:(w,S,_)=>w.if((0,e._)`${_} !== true`,()=>{S===!0?w.assign(_,!0):(w.assign(_,(0,e._)`${_} || {}`),h(w,_,S))}),mergeValues:(w,S)=>w===!0?!0:{...w,...S},resultToName:f}),items:m({mergeNames:(w,S,_)=>w.if((0,e._)`${_} !== true && ${S} !== undefined`,()=>w.assign(_,(0,e._)`${S} === true ? true : ${_} > ${S} ? ${_} : ${S}`)),mergeToName:(w,S,_)=>w.if((0,e._)`${_} !== true`,()=>w.assign(_,S===!0?!0:(0,e._)`${_} > ${S} ? ${_} : ${S}`)),mergeValues:(w,S)=>w===!0?!0:Math.max(w,S),resultToName:(w,S)=>w.var("items",S)})};function f(w,S){if(S===!0)return w.var("props",!0);const _=w.var("props",(0,e._)`{}`);return S!==void 0&&h(w,_,S),_}re.evaluatedPropsToName=f;function h(w,S,_){Object.keys(_).forEach(E=>w.assign((0,e._)`${S}${(0,e.getProperty)(E)}`,!0))}re.setEvaluated=h;const v={};function g(w,S){return w.scopeValue("func",{ref:S,code:v[S.code]||(v[S.code]=new t._Code(S.code))})}re.useFunc=g;var y;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(y||(re.Type=y={}));function b(w,S,_){if(w instanceof e.Name){const E=S===y.Num;return _?E?(0,e._)`"[" + ${w} + "]"`:(0,e._)`"['" + ${w} + "']"`:E?(0,e._)`"/" + ${w}`:(0,e._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return _?(0,e.getProperty)(w).toString():"/"+a(w)}re.getErrorPath=b;function x(w,S,_=w.opts.strictSchema){if(_){if(S=`strict mode: ${S}`,_===!0)throw new Error(S);w.self.logger.warn(S)}}return re.checkStrictMode=x,re}var An={},vl;function Me(){if(vl)return An;vl=1,Object.defineProperty(An,"__esModule",{value:!0});const e=ie(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return An.default=t,An}var gl;function pa(){return gl||(gl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=ie(),i=se(),n=Me();e.keywordError={message:({keyword:v})=>(0,t.str)`must pass "${v}" keyword validation`},e.keyword$DataError={message:({keyword:v,schemaType:g})=>g?(0,t.str)`"${v}" keyword must be ${g} ($data)`:(0,t.str)`"${v}" keyword is invalid ($data)`};function r(v,g=e.keywordError,y,b){const{it:x}=v,{gen:w,compositeRule:S,allErrors:_}=x,E=o(v,g,y);b??(S||_)?d(w,E):p(x,(0,t._)`[${E}]`)}e.reportError=r;function c(v,g=e.keywordError,y){const{it:b}=v,{gen:x,compositeRule:w,allErrors:S}=b,_=o(v,g,y);d(x,_),w||S||p(b,n.default.vErrors)}e.reportExtraError=c;function s(v,g){v.assign(n.default.errors,g),v.if((0,t._)`${n.default.vErrors} !== null`,()=>v.if(g,()=>v.assign((0,t._)`${n.default.vErrors}.length`,g),()=>v.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function l({gen:v,keyword:g,schemaValue:y,data:b,errsCount:x,it:w}){if(x===void 0)throw new Error("ajv implementation error");const S=v.name("err");v.forRange("i",x,n.default.errors,_=>{v.const(S,(0,t._)`${n.default.vErrors}[${_}]`),v.if((0,t._)`${S}.instancePath === undefined`,()=>v.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,w.errorPath))),v.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${w.errSchemaPath}/${g}`),w.opts.verbose&&(v.assign((0,t._)`${S}.schema`,y),v.assign((0,t._)`${S}.data`,b))})}e.extendErrors=l;function d(v,g){const y=v.const("err",g);v.if((0,t._)`${n.default.vErrors} === null`,()=>v.assign(n.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${n.default.vErrors}.push(${y})`),v.code((0,t._)`${n.default.errors}++`)}function p(v,g){const{gen:y,validateName:b,schemaEnv:x}=v;x.$async?y.throw((0,t._)`new ${v.ValidationError}(${g})`):(y.assign((0,t._)`${b}.errors`,g),y.return(!1))}const a={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function o(v,g,y){const{createErrors:b}=v.it;return b===!1?(0,t._)`{}`:u(v,g,y)}function u(v,g,y={}){const{gen:b,it:x}=v,w=[m(x,y),f(v,y)];return h(v,g,w),b.object(...w)}function m({errorPath:v},{instancePath:g}){const y=g?(0,t.str)`${v}${(0,i.getErrorPath)(g,i.Type.Str)}`:v;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,y)]}function f({keyword:v,it:{errSchemaPath:g}},{schemaPath:y,parentSchema:b}){let x=b?g:(0,t.str)`${g}/${v}`;return y&&(x=(0,t.str)`${x}${(0,i.getErrorPath)(y,i.Type.Str)}`),[a.schemaPath,x]}function h(v,{params:g,message:y},b){const{keyword:x,data:w,schemaValue:S,it:_}=v,{opts:E,propertyName:O,topSchemaRef:U,schemaPath:M}=_;b.push([a.keyword,x],[a.params,typeof g=="function"?g(v):g||(0,t._)`{}`]),E.messages&&b.push([a.message,typeof y=="function"?y(v):y]),E.verbose&&b.push([a.schema,S],[a.parentSchema,(0,t._)`${U}${M}`],[n.default.data,w]),O&&b.push([a.propertyName,O])}})(Ba)),Ba}var yl;function Eg(){if(yl)return pt;yl=1,Object.defineProperty(pt,"__esModule",{value:!0}),pt.boolOrEmptySchema=pt.topBoolOrEmptySchema=void 0;const e=pa(),t=ie(),i=Me(),n={message:"boolean schema is false"};function r(l){const{gen:d,schema:p,validateName:a}=l;p===!1?s(l,!1):typeof p=="object"&&p.$async===!0?d.return(i.default.data):(d.assign((0,t._)`${a}.errors`,null),d.return(!0))}pt.topBoolOrEmptySchema=r;function c(l,d){const{gen:p,schema:a}=l;a===!1?(p.var(d,!1),s(l)):p.var(d,!0)}pt.boolOrEmptySchema=c;function s(l,d){const{gen:p,data:a}=l,o={gen:p,keyword:"false schema",data:a,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:l};(0,e.reportError)(o,n,void 0,d)}return pt}var Se={},dt={},bl;function th(){if(bl)return dt;bl=1,Object.defineProperty(dt,"__esModule",{value:!0}),dt.getRules=dt.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function i(r){return typeof r=="string"&&t.has(r)}dt.isJSONType=i;function n(){const r={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...r,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},r.number,r.string,r.array,r.object],post:{rules:[]},all:{},keywords:{}}}return dt.getRules=n,dt}var Ye={},xl;function nh(){if(xl)return Ye;xl=1,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.shouldUseRule=Ye.shouldUseGroup=Ye.schemaHasRulesForType=void 0;function e({schema:n,self:r},c){const s=r.RULES.types[c];return s&&s!==!0&&t(n,s)}Ye.schemaHasRulesForType=e;function t(n,r){return r.rules.some(c=>i(n,c))}Ye.shouldUseGroup=t;function i(n,r){var c;return n[r.keyword]!==void 0||((c=r.definition.implements)===null||c===void 0?void 0:c.some(s=>n[s]!==void 0))}return Ye.shouldUseRule=i,Ye}var wl;function ea(){if(wl)return Se;wl=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.reportTypeError=Se.checkDataTypes=Se.checkDataType=Se.coerceAndCheckDataType=Se.getJSONTypes=Se.getSchemaTypes=Se.DataType=void 0;const e=th(),t=nh(),i=pa(),n=ie(),r=se();var c;(function(y){y[y.Correct=0]="Correct",y[y.Wrong=1]="Wrong"})(c||(Se.DataType=c={}));function s(y){const b=l(y.type);if(b.includes("null")){if(y.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&y.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');y.nullable===!0&&b.push("null")}return b}Se.getSchemaTypes=s;function l(y){const b=Array.isArray(y)?y:y?[y]:[];if(b.every(e.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}Se.getJSONTypes=l;function d(y,b){const{gen:x,data:w,opts:S}=y,_=a(b,S.coerceTypes),E=b.length>0&&!(_.length===0&&b.length===1&&(0,t.schemaHasRulesForType)(y,b[0]));if(E){const O=f(b,w,S.strictNumbers,c.Wrong);x.if(O,()=>{_.length?o(y,b,_):v(y)})}return E}Se.coerceAndCheckDataType=d;const p=new Set(["string","number","integer","boolean","null"]);function a(y,b){return b?y.filter(x=>p.has(x)||b==="array"&&x==="array"):[]}function o(y,b,x){const{gen:w,data:S,opts:_}=y,E=w.let("dataType",(0,n._)`typeof ${S}`),O=w.let("coerced",(0,n._)`undefined`);_.coerceTypes==="array"&&w.if((0,n._)`${E} == 'object' && Array.isArray(${S}) && ${S}.length == 1`,()=>w.assign(S,(0,n._)`${S}[0]`).assign(E,(0,n._)`typeof ${S}`).if(f(b,S,_.strictNumbers),()=>w.assign(O,S))),w.if((0,n._)`${O} !== undefined`);for(const M of x)(p.has(M)||M==="array"&&_.coerceTypes==="array")&&U(M);w.else(),v(y),w.endIf(),w.if((0,n._)`${O} !== undefined`,()=>{w.assign(S,O),u(y,O)});function U(M){switch(M){case"string":w.elseIf((0,n._)`${E} == "number" || ${E} == "boolean"`).assign(O,(0,n._)`"" + ${S}`).elseIf((0,n._)`${S} === null`).assign(O,(0,n._)`""`);return;case"number":w.elseIf((0,n._)`${E} == "boolean" || ${S} === null
3
+ || (${E} == "string" && ${S} && ${S} == +${S})`).assign(O,(0,n._)`+${S}`);return;case"integer":w.elseIf((0,n._)`${E} === "boolean" || ${S} === null
4
+ || (${E} === "string" && ${S} && ${S} == +${S} && !(${S} % 1))`).assign(O,(0,n._)`+${S}`);return;case"boolean":w.elseIf((0,n._)`${S} === "false" || ${S} === 0 || ${S} === null`).assign(O,!1).elseIf((0,n._)`${S} === "true" || ${S} === 1`).assign(O,!0);return;case"null":w.elseIf((0,n._)`${S} === "" || ${S} === 0 || ${S} === false`),w.assign(O,null);return;case"array":w.elseIf((0,n._)`${E} === "string" || ${E} === "number"
5
+ || ${E} === "boolean" || ${S} === null`).assign(O,(0,n._)`[${S}]`)}}}function u({gen:y,parentData:b,parentDataProperty:x},w){y.if((0,n._)`${b} !== undefined`,()=>y.assign((0,n._)`${b}[${x}]`,w))}function m(y,b,x,w=c.Correct){const S=w===c.Correct?n.operators.EQ:n.operators.NEQ;let _;switch(y){case"null":return(0,n._)`${b} ${S} null`;case"array":_=(0,n._)`Array.isArray(${b})`;break;case"object":_=(0,n._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":_=E((0,n._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":_=E();break;default:return(0,n._)`typeof ${b} ${S} ${y}`}return w===c.Correct?_:(0,n.not)(_);function E(O=n.nil){return(0,n.and)((0,n._)`typeof ${b} == "number"`,O,x?(0,n._)`isFinite(${b})`:n.nil)}}Se.checkDataType=m;function f(y,b,x,w){if(y.length===1)return m(y[0],b,x,w);let S;const _=(0,r.toHash)(y);if(_.array&&_.object){const E=(0,n._)`typeof ${b} != "object"`;S=_.null?E:(0,n._)`!${b} || ${E}`,delete _.null,delete _.array,delete _.object}else S=n.nil;_.number&&delete _.integer;for(const E in _)S=(0,n.and)(S,m(E,b,x,w));return S}Se.checkDataTypes=f;const h={message:({schema:y})=>`must be ${y}`,params:({schema:y,schemaValue:b})=>typeof y=="string"?(0,n._)`{type: ${y}}`:(0,n._)`{type: ${b}}`};function v(y){const b=g(y);(0,i.reportError)(b,h)}Se.reportTypeError=v;function g(y){const{gen:b,data:x,schema:w}=y,S=(0,r.schemaRefOrVal)(y,w,"type");return{gen:b,keyword:"type",data:x,schema:w.type,schemaCode:S,schemaValue:S,parentSchema:w,params:{},it:y}}return Se}var Yt={},Sl;function kg(){if(Sl)return Yt;Sl=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.assignDefaults=void 0;const e=ie(),t=se();function i(r,c){const{properties:s,items:l}=r.schema;if(c==="object"&&s)for(const d in s)n(r,d,s[d].default);else c==="array"&&Array.isArray(l)&&l.forEach((d,p)=>n(r,p,d.default))}Yt.assignDefaults=i;function n(r,c,s){const{gen:l,compositeRule:d,data:p,opts:a}=r;if(s===void 0)return;const o=(0,e._)`${p}${(0,e.getProperty)(c)}`;if(d){(0,t.checkStrictMode)(r,`default is ignored for: ${o}`);return}let u=(0,e._)`${o} === undefined`;a.useDefaults==="empty"&&(u=(0,e._)`${u} || ${o} === null || ${o} === ""`),l.if(u,(0,e._)`${o} = ${(0,e.stringify)(s)}`)}return Yt}var Le={},le={},_l;function Fe(){if(_l)return le;_l=1,Object.defineProperty(le,"__esModule",{value:!0}),le.validateUnion=le.validateArray=le.usePattern=le.callValidateCode=le.schemaProperties=le.allSchemaProperties=le.noPropertyInData=le.propertyInData=le.isOwnProperty=le.hasPropFunc=le.reportMissingProp=le.checkMissingProp=le.checkReportMissingProp=void 0;const e=ie(),t=se(),i=Me(),n=se();function r(y,b){const{gen:x,data:w,it:S}=y;x.if(a(x,w,b,S.opts.ownProperties),()=>{y.setParams({missingProperty:(0,e._)`${b}`},!0),y.error()})}le.checkReportMissingProp=r;function c({gen:y,data:b,it:{opts:x}},w,S){return(0,e.or)(...w.map(_=>(0,e.and)(a(y,b,_,x.ownProperties),(0,e._)`${S} = ${_}`)))}le.checkMissingProp=c;function s(y,b){y.setParams({missingProperty:b},!0),y.error()}le.reportMissingProp=s;function l(y){return y.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}le.hasPropFunc=l;function d(y,b,x){return(0,e._)`${l(y)}.call(${b}, ${x})`}le.isOwnProperty=d;function p(y,b,x,w){const S=(0,e._)`${b}${(0,e.getProperty)(x)} !== undefined`;return w?(0,e._)`${S} && ${d(y,b,x)}`:S}le.propertyInData=p;function a(y,b,x,w){const S=(0,e._)`${b}${(0,e.getProperty)(x)} === undefined`;return w?(0,e.or)(S,(0,e.not)(d(y,b,x))):S}le.noPropertyInData=a;function o(y){return y?Object.keys(y).filter(b=>b!=="__proto__"):[]}le.allSchemaProperties=o;function u(y,b){return o(b).filter(x=>!(0,t.alwaysValidSchema)(y,b[x]))}le.schemaProperties=u;function m({schemaCode:y,data:b,it:{gen:x,topSchemaRef:w,schemaPath:S,errorPath:_},it:E},O,U,M){const B=M?(0,e._)`${y}, ${b}, ${w}${S}`:b,G=[[i.default.instancePath,(0,e.strConcat)(i.default.instancePath,_)],[i.default.parentData,E.parentData],[i.default.parentDataProperty,E.parentDataProperty],[i.default.rootData,i.default.rootData]];E.opts.dynamicRef&&G.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const C=(0,e._)`${B}, ${x.object(...G)}`;return U!==e.nil?(0,e._)`${O}.call(${U}, ${C})`:(0,e._)`${O}(${C})`}le.callValidateCode=m;const f=(0,e._)`new RegExp`;function h({gen:y,it:{opts:b}},x){const w=b.unicodeRegExp?"u":"",{regExp:S}=b.code,_=S(x,w);return y.scopeValue("pattern",{key:_.toString(),ref:_,code:(0,e._)`${S.code==="new RegExp"?f:(0,n.useFunc)(y,S)}(${x}, ${w})`})}le.usePattern=h;function v(y){const{gen:b,data:x,keyword:w,it:S}=y,_=b.name("valid");if(S.allErrors){const O=b.let("valid",!0);return E(()=>b.assign(O,!1)),O}return b.var(_,!0),E(()=>b.break()),_;function E(O){const U=b.const("len",(0,e._)`${x}.length`);b.forRange("i",0,U,M=>{y.subschema({keyword:w,dataProp:M,dataPropType:t.Type.Num},_),b.if((0,e.not)(_),O)})}}le.validateArray=v;function g(y){const{gen:b,schema:x,keyword:w,it:S}=y;if(!Array.isArray(x))throw new Error("ajv implementation error");if(x.some(U=>(0,t.alwaysValidSchema)(S,U))&&!S.opts.unevaluated)return;const E=b.let("valid",!1),O=b.name("_valid");b.block(()=>x.forEach((U,M)=>{const B=y.subschema({keyword:w,schemaProp:M,compositeRule:!0},O);b.assign(E,(0,e._)`${E} || ${O}`),y.mergeValidEvaluated(B,O)||b.if((0,e.not)(E))})),y.result(E,()=>y.reset(),()=>y.error(!0))}return le.validateUnion=g,le}var $l;function Rg(){if($l)return Le;$l=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.validateKeywordUsage=Le.validSchemaType=Le.funcKeywordCode=Le.macroKeywordCode=void 0;const e=ie(),t=Me(),i=Fe(),n=pa();function r(u,m){const{gen:f,keyword:h,schema:v,parentSchema:g,it:y}=u,b=m.macro.call(y.self,v,g,y),x=p(f,h,b);y.opts.validateSchema!==!1&&y.self.validateSchema(b,!0);const w=f.name("valid");u.subschema({schema:b,schemaPath:e.nil,errSchemaPath:`${y.errSchemaPath}/${h}`,topSchemaRef:x,compositeRule:!0},w),u.pass(w,()=>u.error(!0))}Le.macroKeywordCode=r;function c(u,m){var f;const{gen:h,keyword:v,schema:g,parentSchema:y,$data:b,it:x}=u;d(x,m);const w=!b&&m.compile?m.compile.call(x.self,g,y,x):m.validate,S=p(h,v,w),_=h.let("valid");u.block$data(_,E),u.ok((f=m.valid)!==null&&f!==void 0?f:_);function E(){if(m.errors===!1)M(),m.modifying&&s(u),B(()=>u.error());else{const G=m.async?O():U();m.modifying&&s(u),B(()=>l(u,G))}}function O(){const G=h.let("ruleErrs",null);return h.try(()=>M((0,e._)`await `),C=>h.assign(_,!1).if((0,e._)`${C} instanceof ${x.ValidationError}`,()=>h.assign(G,(0,e._)`${C}.errors`),()=>h.throw(C))),G}function U(){const G=(0,e._)`${S}.errors`;return h.assign(G,null),M(e.nil),G}function M(G=m.async?(0,e._)`await `:e.nil){const C=x.opts.passContext?t.default.this:t.default.self,V=!("compile"in m&&!b||m.schema===!1);h.assign(_,(0,e._)`${G}${(0,i.callValidateCode)(u,S,C,V)}`,m.modifying)}function B(G){var C;h.if((0,e.not)((C=m.valid)!==null&&C!==void 0?C:_),G)}}Le.funcKeywordCode=c;function s(u){const{gen:m,data:f,it:h}=u;m.if(h.parentData,()=>m.assign(f,(0,e._)`${h.parentData}[${h.parentDataProperty}]`))}function l(u,m){const{gen:f}=u;f.if((0,e._)`Array.isArray(${m})`,()=>{f.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${m} : ${t.default.vErrors}.concat(${m})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(u)},()=>u.error())}function d({schemaEnv:u},m){if(m.async&&!u.$async)throw new Error("async keyword in sync schema")}function p(u,m,f){if(f===void 0)throw new Error(`keyword "${m}" failed to compile`);return u.scopeValue("keyword",typeof f=="function"?{ref:f}:{ref:f,code:(0,e.stringify)(f)})}function a(u,m,f=!1){return!m.length||m.some(h=>h==="array"?Array.isArray(u):h==="object"?u&&typeof u=="object"&&!Array.isArray(u):typeof u==h||f&&typeof u>"u")}Le.validSchemaType=a;function o({schema:u,opts:m,self:f,errSchemaPath:h},v,g){if(Array.isArray(v.keyword)?!v.keyword.includes(g):v.keyword!==g)throw new Error("ajv implementation error");const y=v.dependencies;if(y?.some(b=>!Object.prototype.hasOwnProperty.call(u,b)))throw new Error(`parent schema must have dependencies of ${g}: ${y.join(",")}`);if(v.validateSchema&&!v.validateSchema(u[g])){const x=`keyword "${g}" value is invalid at path "${h}": `+f.errorsText(v.validateSchema.errors);if(m.validateSchema==="log")f.logger.error(x);else throw new Error(x)}}return Le.validateKeywordUsage=o,Le}var Je={},El;function Ag(){if(El)return Je;El=1,Object.defineProperty(Je,"__esModule",{value:!0}),Je.extendSubschemaMode=Je.extendSubschemaData=Je.getSubschema=void 0;const e=ie(),t=se();function i(c,{keyword:s,schemaProp:l,schema:d,schemaPath:p,errSchemaPath:a,topSchemaRef:o}){if(s!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(s!==void 0){const u=c.schema[s];return l===void 0?{schema:u,schemaPath:(0,e._)`${c.schemaPath}${(0,e.getProperty)(s)}`,errSchemaPath:`${c.errSchemaPath}/${s}`}:{schema:u[l],schemaPath:(0,e._)`${c.schemaPath}${(0,e.getProperty)(s)}${(0,e.getProperty)(l)}`,errSchemaPath:`${c.errSchemaPath}/${s}/${(0,t.escapeFragment)(l)}`}}if(d!==void 0){if(p===void 0||a===void 0||o===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:p,topSchemaRef:o,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}Je.getSubschema=i;function n(c,s,{dataProp:l,dataPropType:d,data:p,dataTypes:a,propertyName:o}){if(p!==void 0&&l!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:u}=s;if(l!==void 0){const{errorPath:f,dataPathArr:h,opts:v}=s,g=u.let("data",(0,e._)`${s.data}${(0,e.getProperty)(l)}`,!0);m(g),c.errorPath=(0,e.str)`${f}${(0,t.getErrorPath)(l,d,v.jsPropertySyntax)}`,c.parentDataProperty=(0,e._)`${l}`,c.dataPathArr=[...h,c.parentDataProperty]}if(p!==void 0){const f=p instanceof e.Name?p:u.let("data",p,!0);m(f),o!==void 0&&(c.propertyName=o)}a&&(c.dataTypes=a);function m(f){c.data=f,c.dataLevel=s.dataLevel+1,c.dataTypes=[],s.definedProperties=new Set,c.parentData=s.data,c.dataNames=[...s.dataNames,f]}}Je.extendSubschemaData=n;function r(c,{jtdDiscriminator:s,jtdMetadata:l,compositeRule:d,createErrors:p,allErrors:a}){d!==void 0&&(c.compositeRule=d),p!==void 0&&(c.createErrors=p),a!==void 0&&(c.allErrors=a),c.jtdDiscriminator=s,c.jtdMetadata=l}return Je.extendSubschemaMode=r,Je}var Re={},Ha,kl;function ih(){return kl||(kl=1,Ha=function e(t,i){if(t===i)return!0;if(t&&i&&typeof t=="object"&&typeof i=="object"){if(t.constructor!==i.constructor)return!1;var n,r,c;if(Array.isArray(t)){if(n=t.length,n!=i.length)return!1;for(r=n;r--!==0;)if(!e(t[r],i[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if(c=Object.keys(t),n=c.length,n!==Object.keys(i).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,c[r]))return!1;for(r=n;r--!==0;){var s=c[r];if(!e(t[s],i[s]))return!1}return!0}return t!==t&&i!==i}),Ha}var Wa={exports:{}},Rl;function Pg(){if(Rl)return Wa.exports;Rl=1;var e=Wa.exports=function(n,r,c){typeof r=="function"&&(c=r,r={}),c=r.cb||c;var s=typeof c=="function"?c:c.pre||function(){},l=c.post||function(){};t(r,s,l,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,r,c,s,l,d,p,a,o,u){if(s&&typeof s=="object"&&!Array.isArray(s)){r(s,l,d,p,a,o,u);for(var m in s){var f=s[m];if(Array.isArray(f)){if(m in e.arrayKeywords)for(var h=0;h<f.length;h++)t(n,r,c,f[h],l+"/"+m+"/"+h,d,l,m,s,h)}else if(m in e.propsKeywords){if(f&&typeof f=="object")for(var v in f)t(n,r,c,f[v],l+"/"+m+"/"+i(v),d,l,m,s,v)}else(m in e.keywords||n.allKeys&&!(m in e.skipKeywords))&&t(n,r,c,f,l+"/"+m,d,l,m,s)}c(s,l,d,p,a,o,u)}}function i(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}return Wa.exports}var Al;function da(){if(Al)return Re;Al=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.getSchemaRefs=Re.resolveUrl=Re.normalizeId=Re._getFullPath=Re.getFullPath=Re.inlineRef=void 0;const e=se(),t=ih(),i=Pg(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function r(h,v=!0){return typeof h=="boolean"?!0:v===!0?!s(h):v?l(h)<=v:!1}Re.inlineRef=r;const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function s(h){for(const v in h){if(c.has(v))return!0;const g=h[v];if(Array.isArray(g)&&g.some(s)||typeof g=="object"&&s(g))return!0}return!1}function l(h){let v=0;for(const g in h){if(g==="$ref")return 1/0;if(v++,!n.has(g)&&(typeof h[g]=="object"&&(0,e.eachItem)(h[g],y=>v+=l(y)),v===1/0))return 1/0}return v}function d(h,v="",g){g!==!1&&(v=o(v));const y=h.parse(v);return p(h,y)}Re.getFullPath=d;function p(h,v){return h.serialize(v).split("#")[0]+"#"}Re._getFullPath=p;const a=/#\/?$/;function o(h){return h?h.replace(a,""):""}Re.normalizeId=o;function u(h,v,g){return g=o(g),h.resolve(v,g)}Re.resolveUrl=u;const m=/^[a-z_][-a-z0-9._]*$/i;function f(h,v){if(typeof h=="boolean")return{};const{schemaId:g,uriResolver:y}=this.opts,b=o(h[g]||v),x={"":b},w=d(y,b,!1),S={},_=new Set;return i(h,{allKeys:!0},(U,M,B,G)=>{if(G===void 0)return;const C=w+M;let V=x[G];typeof U[g]=="string"&&(V=T.call(this,U[g])),A.call(this,U.$anchor),A.call(this,U.$dynamicAnchor),x[M]=V;function T(P){const z=this.opts.uriResolver.resolve;if(P=o(V?z(V,P):P),_.has(P))throw O(P);_.add(P);let q=this.refs[P];return typeof q=="string"&&(q=this.refs[q]),typeof q=="object"?E(U,q.schema,P):P!==o(C)&&(P[0]==="#"?(E(U,S[P],P),S[P]=U):this.refs[P]=C),P}function A(P){if(typeof P=="string"){if(!m.test(P))throw new Error(`invalid anchor "${P}"`);T.call(this,`#${P}`)}}}),S;function E(U,M,B){if(M!==void 0&&!t(U,M))throw O(B)}function O(U){return new Error(`reference "${U}" resolves to more than one schema`)}}return Re.getSchemaRefs=f,Re}var Pl;function hn(){if(Pl)return We;Pl=1,Object.defineProperty(We,"__esModule",{value:!0}),We.getData=We.KeywordCxt=We.validateFunctionCode=void 0;const e=Eg(),t=ea(),i=nh(),n=ea(),r=kg(),c=Rg(),s=Ag(),l=ie(),d=Me(),p=da(),a=se(),o=pa();function u(j){if(w(j)&&(_(j),x(j))){v(j);return}m(j,()=>(0,e.topBoolOrEmptySchema)(j))}We.validateFunctionCode=u;function m({gen:j,validateName:D,schema:K,schemaEnv:H,opts:Z},ne){Z.code.es5?j.func(D,(0,l._)`${d.default.data}, ${d.default.valCxt}`,H.$async,()=>{j.code((0,l._)`"use strict"; ${y(K,Z)}`),h(j,Z),j.code(ne)}):j.func(D,(0,l._)`${d.default.data}, ${f(Z)}`,H.$async,()=>j.code(y(K,Z)).code(ne))}function f(j){return(0,l._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${j.dynamicRef?(0,l._)`, ${d.default.dynamicAnchors}={}`:l.nil}}={}`}function h(j,D){j.if(d.default.valCxt,()=>{j.var(d.default.instancePath,(0,l._)`${d.default.valCxt}.${d.default.instancePath}`),j.var(d.default.parentData,(0,l._)`${d.default.valCxt}.${d.default.parentData}`),j.var(d.default.parentDataProperty,(0,l._)`${d.default.valCxt}.${d.default.parentDataProperty}`),j.var(d.default.rootData,(0,l._)`${d.default.valCxt}.${d.default.rootData}`),D.dynamicRef&&j.var(d.default.dynamicAnchors,(0,l._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{j.var(d.default.instancePath,(0,l._)`""`),j.var(d.default.parentData,(0,l._)`undefined`),j.var(d.default.parentDataProperty,(0,l._)`undefined`),j.var(d.default.rootData,d.default.data),D.dynamicRef&&j.var(d.default.dynamicAnchors,(0,l._)`{}`)})}function v(j){const{schema:D,opts:K,gen:H}=j;m(j,()=>{K.$comment&&D.$comment&&G(j),U(j),H.let(d.default.vErrors,null),H.let(d.default.errors,0),K.unevaluated&&g(j),E(j),C(j)})}function g(j){const{gen:D,validateName:K}=j;j.evaluated=D.const("evaluated",(0,l._)`${K}.evaluated`),D.if((0,l._)`${j.evaluated}.dynamicProps`,()=>D.assign((0,l._)`${j.evaluated}.props`,(0,l._)`undefined`)),D.if((0,l._)`${j.evaluated}.dynamicItems`,()=>D.assign((0,l._)`${j.evaluated}.items`,(0,l._)`undefined`))}function y(j,D){const K=typeof j=="object"&&j[D.schemaId];return K&&(D.code.source||D.code.process)?(0,l._)`/*# sourceURL=${K} */`:l.nil}function b(j,D){if(w(j)&&(_(j),x(j))){S(j,D);return}(0,e.boolOrEmptySchema)(j,D)}function x({schema:j,self:D}){if(typeof j=="boolean")return!j;for(const K in j)if(D.RULES.all[K])return!0;return!1}function w(j){return typeof j.schema!="boolean"}function S(j,D){const{schema:K,gen:H,opts:Z}=j;Z.$comment&&K.$comment&&G(j),M(j),B(j);const ne=H.const("_errs",d.default.errors);E(j,ne),H.var(D,(0,l._)`${ne} === ${d.default.errors}`)}function _(j){(0,a.checkUnknownRules)(j),O(j)}function E(j,D){if(j.opts.jtd)return T(j,[],!1,D);const K=(0,t.getSchemaTypes)(j.schema),H=(0,t.coerceAndCheckDataType)(j,K);T(j,K,!H,D)}function O(j){const{schema:D,errSchemaPath:K,opts:H,self:Z}=j;D.$ref&&H.ignoreKeywordsWithRef&&(0,a.schemaHasRulesButRef)(D,Z.RULES)&&Z.logger.warn(`$ref: keywords ignored in schema at path "${K}"`)}function U(j){const{schema:D,opts:K}=j;D.default!==void 0&&K.useDefaults&&K.strictSchema&&(0,a.checkStrictMode)(j,"default is ignored in the schema root")}function M(j){const D=j.schema[j.opts.schemaId];D&&(j.baseId=(0,p.resolveUrl)(j.opts.uriResolver,j.baseId,D))}function B(j){if(j.schema.$async&&!j.schemaEnv.$async)throw new Error("async schema in sync schema")}function G({gen:j,schemaEnv:D,schema:K,errSchemaPath:H,opts:Z}){const ne=K.$comment;if(Z.$comment===!0)j.code((0,l._)`${d.default.self}.logger.log(${ne})`);else if(typeof Z.$comment=="function"){const fe=(0,l.str)`${H}/$comment`,ke=j.scopeValue("root",{ref:D.root});j.code((0,l._)`${d.default.self}.opts.$comment(${ne}, ${fe}, ${ke}.schema)`)}}function C(j){const{gen:D,schemaEnv:K,validateName:H,ValidationError:Z,opts:ne}=j;K.$async?D.if((0,l._)`${d.default.errors} === 0`,()=>D.return(d.default.data),()=>D.throw((0,l._)`new ${Z}(${d.default.vErrors})`)):(D.assign((0,l._)`${H}.errors`,d.default.vErrors),ne.unevaluated&&V(j),D.return((0,l._)`${d.default.errors} === 0`))}function V({gen:j,evaluated:D,props:K,items:H}){K instanceof l.Name&&j.assign((0,l._)`${D}.props`,K),H instanceof l.Name&&j.assign((0,l._)`${D}.items`,H)}function T(j,D,K,H){const{gen:Z,schema:ne,data:fe,allErrors:ke,opts:ge,self:ve}=j,{RULES:ue}=ve;if(ne.$ref&&(ge.ignoreKeywordsWithRef||!(0,a.schemaHasRulesButRef)(ne,ue))){Z.block(()=>Y(j,"$ref",ue.all.$ref.definition));return}ge.jtd||P(j,D),Z.block(()=>{for(const we of ue.rules)qe(we);qe(ue.post)});function qe(we){(0,i.shouldUseGroup)(ne,we)&&(we.type?(Z.if((0,n.checkDataType)(we.type,fe,ge.strictNumbers)),A(j,we),D.length===1&&D[0]===we.type&&K&&(Z.else(),(0,n.reportTypeError)(j)),Z.endIf()):A(j,we),ke||Z.if((0,l._)`${d.default.errors} === ${H||0}`))}}function A(j,D){const{gen:K,schema:H,opts:{useDefaults:Z}}=j;Z&&(0,r.assignDefaults)(j,D.type),K.block(()=>{for(const ne of D.rules)(0,i.shouldUseRule)(H,ne)&&Y(j,ne.keyword,ne.definition,D.type)})}function P(j,D){j.schemaEnv.meta||!j.opts.strictTypes||(z(j,D),j.opts.allowUnionTypes||q(j,D),R(j,j.dataTypes))}function z(j,D){if(D.length){if(!j.dataTypes.length){j.dataTypes=D;return}D.forEach(K=>{N(j.dataTypes,K)||k(j,`type "${K}" not allowed by context "${j.dataTypes.join(",")}"`)}),$(j,D)}}function q(j,D){D.length>1&&!(D.length===2&&D.includes("null"))&&k(j,"use allowUnionTypes to allow union type keyword")}function R(j,D){const K=j.self.RULES.all;for(const H in K){const Z=K[H];if(typeof Z=="object"&&(0,i.shouldUseRule)(j.schema,Z)){const{type:ne}=Z.definition;ne.length&&!ne.some(fe=>I(D,fe))&&k(j,`missing type "${ne.join(",")}" for keyword "${H}"`)}}}function I(j,D){return j.includes(D)||D==="number"&&j.includes("integer")}function N(j,D){return j.includes(D)||D==="integer"&&j.includes("number")}function $(j,D){const K=[];for(const H of j.dataTypes)N(D,H)?K.push(H):D.includes("integer")&&H==="number"&&K.push("integer");j.dataTypes=K}function k(j,D){const K=j.schemaEnv.baseId+j.errSchemaPath;D+=` at "${K}" (strictTypes)`,(0,a.checkStrictMode)(j,D,j.opts.strictTypes)}class F{constructor(D,K,H){if((0,c.validateKeywordUsage)(D,K,H),this.gen=D.gen,this.allErrors=D.allErrors,this.keyword=H,this.data=D.data,this.schema=D.schema[H],this.$data=K.$data&&D.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,a.schemaRefOrVal)(D,this.schema,H,this.$data),this.schemaType=K.schemaType,this.parentSchema=D.schema,this.params={},this.it=D,this.def=K,this.$data)this.schemaCode=D.gen.const("vSchema",te(this.$data,D));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,K.schemaType,K.allowUndefined))throw new Error(`${H} value must be ${JSON.stringify(K.schemaType)}`);("code"in K?K.trackErrors:K.errors!==!1)&&(this.errsCount=D.gen.const("_errs",d.default.errors))}result(D,K,H){this.failResult((0,l.not)(D),K,H)}failResult(D,K,H){this.gen.if(D),H?H():this.error(),K?(this.gen.else(),K(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(D,K){this.failResult((0,l.not)(D),void 0,K)}fail(D){if(D===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(D),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(D){if(!this.$data)return this.fail(D);const{schemaCode:K}=this;this.fail((0,l._)`${K} !== undefined && (${(0,l.or)(this.invalid$data(),D)})`)}error(D,K,H){if(K){this.setParams(K),this._error(D,H),this.setParams({});return}this._error(D,H)}_error(D,K){(D?o.reportExtraError:o.reportError)(this,this.def.error,K)}$dataError(){(0,o.reportError)(this,this.def.$dataError||o.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,o.resetErrorsCount)(this.gen,this.errsCount)}ok(D){this.allErrors||this.gen.if(D)}setParams(D,K){K?Object.assign(this.params,D):this.params=D}block$data(D,K,H=l.nil){this.gen.block(()=>{this.check$data(D,H),K()})}check$data(D=l.nil,K=l.nil){if(!this.$data)return;const{gen:H,schemaCode:Z,schemaType:ne,def:fe}=this;H.if((0,l.or)((0,l._)`${Z} === undefined`,K)),D!==l.nil&&H.assign(D,!0),(ne.length||fe.validateSchema)&&(H.elseIf(this.invalid$data()),this.$dataError(),D!==l.nil&&H.assign(D,!1)),H.else()}invalid$data(){const{gen:D,schemaCode:K,schemaType:H,def:Z,it:ne}=this;return(0,l.or)(fe(),ke());function fe(){if(H.length){if(!(K instanceof l.Name))throw new Error("ajv implementation error");const ge=Array.isArray(H)?H:[H];return(0,l._)`${(0,n.checkDataTypes)(ge,K,ne.opts.strictNumbers,n.DataType.Wrong)}`}return l.nil}function ke(){if(Z.validateSchema){const ge=D.scopeValue("validate$data",{ref:Z.validateSchema});return(0,l._)`!${ge}(${K})`}return l.nil}}subschema(D,K){const H=(0,s.getSubschema)(this.it,D);(0,s.extendSubschemaData)(H,this.it,D),(0,s.extendSubschemaMode)(H,D);const Z={...this.it,...H,items:void 0,props:void 0};return b(Z,K),Z}mergeEvaluated(D,K){const{it:H,gen:Z}=this;H.opts.unevaluated&&(H.props!==!0&&D.props!==void 0&&(H.props=a.mergeEvaluated.props(Z,D.props,H.props,K)),H.items!==!0&&D.items!==void 0&&(H.items=a.mergeEvaluated.items(Z,D.items,H.items,K)))}mergeValidEvaluated(D,K){const{it:H,gen:Z}=this;if(H.opts.unevaluated&&(H.props!==!0||H.items!==!0))return Z.if(K,()=>this.mergeEvaluated(D,l.Name)),!0}}We.KeywordCxt=F;function Y(j,D,K,H){const Z=new F(j,K,D);"code"in K?K.code(Z,H):Z.$data&&K.validate?(0,c.funcKeywordCode)(Z,K):"macro"in K?(0,c.macroKeywordCode)(Z,K):(K.compile||K.validate)&&(0,c.funcKeywordCode)(Z,K)}const W=/^\/(?:[^~]|~0|~1)*$/,ae=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function te(j,{dataLevel:D,dataNames:K,dataPathArr:H}){let Z,ne;if(j==="")return d.default.rootData;if(j[0]==="/"){if(!W.test(j))throw new Error(`Invalid JSON-pointer: ${j}`);Z=j,ne=d.default.rootData}else{const ve=ae.exec(j);if(!ve)throw new Error(`Invalid JSON-pointer: ${j}`);const ue=+ve[1];if(Z=ve[2],Z==="#"){if(ue>=D)throw new Error(ge("property/index",ue));return H[D-ue]}if(ue>D)throw new Error(ge("data",ue));if(ne=K[D-ue],!Z)return ne}let fe=ne;const ke=Z.split("/");for(const ve of ke)ve&&(ne=(0,l._)`${ne}${(0,l.getProperty)((0,a.unescapeJsonPointer)(ve))}`,fe=(0,l._)`${fe} && ${ne}`);return fe;function ge(ve,ue){return`Cannot access ${ve} ${ue} levels up, current level is ${D}`}}return We.getData=te,We}var Pn={},Tl;function fa(){if(Tl)return Pn;Tl=1,Object.defineProperty(Pn,"__esModule",{value:!0});class e extends Error{constructor(i){super("validation failed"),this.errors=i,this.ajv=this.validation=!0}}return Pn.default=e,Pn}var Tn={},Ol;function vn(){if(Ol)return Tn;Ol=1,Object.defineProperty(Tn,"__esModule",{value:!0});const e=da();class t extends Error{constructor(n,r,c,s){super(s||`can't resolve reference ${c} from id ${r}`),this.missingRef=(0,e.resolveUrl)(n,r,c),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return Tn.default=t,Tn}var je={},Nl;function ma(){if(Nl)return je;Nl=1,Object.defineProperty(je,"__esModule",{value:!0}),je.resolveSchema=je.getCompilingSchema=je.resolveRef=je.compileSchema=je.SchemaEnv=void 0;const e=ie(),t=fa(),i=Me(),n=da(),r=se(),c=hn();class s{constructor(g){var y;this.refs={},this.dynamicAnchors={};let b;typeof g.schema=="object"&&(b=g.schema),this.schema=g.schema,this.schemaId=g.schemaId,this.root=g.root||this,this.baseId=(y=g.baseId)!==null&&y!==void 0?y:(0,n.normalizeId)(b?.[g.schemaId||"$id"]),this.schemaPath=g.schemaPath,this.localRefs=g.localRefs,this.meta=g.meta,this.$async=b?.$async,this.refs={}}}je.SchemaEnv=s;function l(v){const g=a.call(this,v);if(g)return g;const y=(0,n.getFullPath)(this.opts.uriResolver,v.root.baseId),{es5:b,lines:x}=this.opts.code,{ownProperties:w}=this.opts,S=new e.CodeGen(this.scope,{es5:b,lines:x,ownProperties:w});let _;v.$async&&(_=S.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const E=S.scopeName("validate");v.validateName=E;const O={gen:S,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:S.scopeValue("schema",this.opts.code.source===!0?{ref:v.schema,code:(0,e.stringify)(v.schema)}:{ref:v.schema}),validateName:E,ValidationError:_,schema:v.schema,schemaEnv:v,rootId:y,baseId:v.baseId||y,schemaPath:e.nil,errSchemaPath:v.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let U;try{this._compilations.add(v),(0,c.validateFunctionCode)(O),S.optimize(this.opts.code.optimize);const M=S.toString();U=`${S.scopeRefs(i.default.scope)}return ${M}`,this.opts.code.process&&(U=this.opts.code.process(U,v));const G=new Function(`${i.default.self}`,`${i.default.scope}`,U)(this,this.scope.get());if(this.scope.value(E,{ref:G}),G.errors=null,G.schema=v.schema,G.schemaEnv=v,v.$async&&(G.$async=!0),this.opts.code.source===!0&&(G.source={validateName:E,validateCode:M,scopeValues:S._values}),this.opts.unevaluated){const{props:C,items:V}=O;G.evaluated={props:C instanceof e.Name?void 0:C,items:V instanceof e.Name?void 0:V,dynamicProps:C instanceof e.Name,dynamicItems:V instanceof e.Name},G.source&&(G.source.evaluated=(0,e.stringify)(G.evaluated))}return v.validate=G,v}catch(M){throw delete v.validate,delete v.validateName,U&&this.logger.error("Error compiling schema, function code:",U),M}finally{this._compilations.delete(v)}}je.compileSchema=l;function d(v,g,y){var b;y=(0,n.resolveUrl)(this.opts.uriResolver,g,y);const x=v.refs[y];if(x)return x;let w=u.call(this,v,y);if(w===void 0){const S=(b=v.localRefs)===null||b===void 0?void 0:b[y],{schemaId:_}=this.opts;S&&(w=new s({schema:S,schemaId:_,root:v,baseId:g}))}if(w!==void 0)return v.refs[y]=p.call(this,w)}je.resolveRef=d;function p(v){return(0,n.inlineRef)(v.schema,this.opts.inlineRefs)?v.schema:v.validate?v:l.call(this,v)}function a(v){for(const g of this._compilations)if(o(g,v))return g}je.getCompilingSchema=a;function o(v,g){return v.schema===g.schema&&v.root===g.root&&v.baseId===g.baseId}function u(v,g){let y;for(;typeof(y=this.refs[g])=="string";)g=y;return y||this.schemas[g]||m.call(this,v,g)}function m(v,g){const y=this.opts.uriResolver.parse(g),b=(0,n._getFullPath)(this.opts.uriResolver,y);let x=(0,n.getFullPath)(this.opts.uriResolver,v.baseId,void 0);if(Object.keys(v.schema).length>0&&b===x)return h.call(this,y,v);const w=(0,n.normalizeId)(b),S=this.refs[w]||this.schemas[w];if(typeof S=="string"){const _=m.call(this,v,S);return typeof _?.schema!="object"?void 0:h.call(this,y,_)}if(typeof S?.schema=="object"){if(S.validate||l.call(this,S),w===(0,n.normalizeId)(g)){const{schema:_}=S,{schemaId:E}=this.opts,O=_[E];return O&&(x=(0,n.resolveUrl)(this.opts.uriResolver,x,O)),new s({schema:_,schemaId:E,root:v,baseId:x})}return h.call(this,y,S)}}je.resolveSchema=m;const f=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(v,{baseId:g,schema:y,root:b}){var x;if(((x=v.fragment)===null||x===void 0?void 0:x[0])!=="/")return;for(const _ of v.fragment.slice(1).split("/")){if(typeof y=="boolean")return;const E=y[(0,r.unescapeFragment)(_)];if(E===void 0)return;y=E;const O=typeof y=="object"&&y[this.opts.schemaId];!f.has(_)&&O&&(g=(0,n.resolveUrl)(this.opts.uriResolver,g,O))}let w;if(typeof y!="boolean"&&y.$ref&&!(0,r.schemaHasRulesButRef)(y,this.RULES)){const _=(0,n.resolveUrl)(this.opts.uriResolver,g,y.$ref);w=m.call(this,b,_)}const{schemaId:S}=this.opts;if(w=w||new s({schema:y,schemaId:S,root:b,baseId:g}),w.schema!==w.root.schema)return w}return je}const Tg="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Og="Meta-schema for $data reference (JSON AnySchema extension proposal)",Ng="object",jg=["$data"],Cg={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Ig=!1,qg={$id:Tg,description:Og,type:Ng,required:jg,properties:Cg,additionalProperties:Ig};var On={},Jt={exports:{}},Ya,jl;function Lg(){return jl||(jl=1,Ya={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),Ya}var Ja,Cl;function Dg(){if(Cl)return Ja;Cl=1;const{HEX:e}=Lg(),t=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function i(h){if(l(h,".")<3)return{host:h,isIPV4:!1};const v=h.match(t)||[],[g]=v;return g?{host:s(g,"."),isIPV4:!0}:{host:h,isIPV4:!1}}function n(h,v=!1){let g="",y=!0;for(const b of h){if(e[b]===void 0)return;b!=="0"&&y===!0&&(y=!1),y||(g+=b)}return v&&g.length===0&&(g="0"),g}function r(h){let v=0;const g={error:!1,address:"",zone:""},y=[],b=[];let x=!1,w=!1,S=!1;function _(){if(b.length){if(x===!1){const E=n(b);if(E!==void 0)y.push(E);else return g.error=!0,!1}b.length=0}return!0}for(let E=0;E<h.length;E++){const O=h[E];if(!(O==="["||O==="]"))if(O===":"){if(w===!0&&(S=!0),!_())break;if(v++,y.push(":"),v>7){g.error=!0;break}E-1>=0&&h[E-1]===":"&&(w=!0);continue}else if(O==="%"){if(!_())break;x=!0}else{b.push(O);continue}}return b.length&&(x?g.zone=b.join(""):S?y.push(b.join("")):y.push(n(b))),g.address=y.join(""),g}function c(h){if(l(h,":")<2)return{host:h,isIPV6:!1};const v=r(h);if(v.error)return{host:h,isIPV6:!1};{let g=v.address,y=v.address;return v.zone&&(g+="%"+v.zone,y+="%25"+v.zone),{host:g,escapedHost:y,isIPV6:!0}}}function s(h,v){let g="",y=!0;const b=h.length;for(let x=0;x<b;x++){const w=h[x];w==="0"&&y?(x+1<=b&&h[x+1]===v||x+1===b)&&(g+=w,y=!1):(w===v?y=!0:y=!1,g+=w)}return g}function l(h,v){let g=0;for(let y=0;y<h.length;y++)h[y]===v&&g++;return g}const d=/^\.\.?\//u,p=/^\/\.(?:\/|$)/u,a=/^\/\.\.(?:\/|$)/u,o=/^\/?(?:.|\n)*?(?=\/|$)/u;function u(h){const v=[];for(;h.length;)if(h.match(d))h=h.replace(d,"");else if(h.match(p))h=h.replace(p,"/");else if(h.match(a))h=h.replace(a,"/"),v.pop();else if(h==="."||h==="..")h="";else{const g=h.match(o);if(g){const y=g[0];h=h.slice(y.length),v.push(y)}else throw new Error("Unexpected dot segment condition")}return v.join("")}function m(h,v){const g=v!==!0?escape:unescape;return h.scheme!==void 0&&(h.scheme=g(h.scheme)),h.userinfo!==void 0&&(h.userinfo=g(h.userinfo)),h.host!==void 0&&(h.host=g(h.host)),h.path!==void 0&&(h.path=g(h.path)),h.query!==void 0&&(h.query=g(h.query)),h.fragment!==void 0&&(h.fragment=g(h.fragment)),h}function f(h){const v=[];if(h.userinfo!==void 0&&(v.push(h.userinfo),v.push("@")),h.host!==void 0){let g=unescape(h.host);const y=i(g);if(y.isIPV4)g=y.host;else{const b=c(y.host);b.isIPV6===!0?g=`[${b.escapedHost}]`:g=h.host}v.push(g)}return(typeof h.port=="number"||typeof h.port=="string")&&(v.push(":"),v.push(String(h.port))),v.length?v.join(""):void 0}return Ja={recomposeAuthority:f,normalizeComponentEncoding:m,removeDotSegments:u,normalizeIPv4:i,normalizeIPv6:c,stringArrayToHexStripped:n},Ja}var Xa,Il;function Mg(){if(Il)return Xa;Il=1;const e=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function i(y){return typeof y.secure=="boolean"?y.secure:String(y.scheme).toLowerCase()==="wss"}function n(y){return y.host||(y.error=y.error||"HTTP URIs must have a host."),y}function r(y){const b=String(y.scheme).toLowerCase()==="https";return(y.port===(b?443:80)||y.port==="")&&(y.port=void 0),y.path||(y.path="/"),y}function c(y){return y.secure=i(y),y.resourceName=(y.path||"/")+(y.query?"?"+y.query:""),y.path=void 0,y.query=void 0,y}function s(y){if((y.port===(i(y)?443:80)||y.port==="")&&(y.port=void 0),typeof y.secure=="boolean"&&(y.scheme=y.secure?"wss":"ws",y.secure=void 0),y.resourceName){const[b,x]=y.resourceName.split("?");y.path=b&&b!=="/"?b:void 0,y.query=x,y.resourceName=void 0}return y.fragment=void 0,y}function l(y,b){if(!y.path)return y.error="URN can not be parsed",y;const x=y.path.match(t);if(x){const w=b.scheme||y.scheme||"urn";y.nid=x[1].toLowerCase(),y.nss=x[2];const S=`${w}:${b.nid||y.nid}`,_=g[S];y.path=void 0,_&&(y=_.parse(y,b))}else y.error=y.error||"URN can not be parsed.";return y}function d(y,b){const x=b.scheme||y.scheme||"urn",w=y.nid.toLowerCase(),S=`${x}:${b.nid||w}`,_=g[S];_&&(y=_.serialize(y,b));const E=y,O=y.nss;return E.path=`${w||b.nid}:${O}`,b.skipEscape=!0,E}function p(y,b){const x=y;return x.uuid=x.nss,x.nss=void 0,!b.tolerant&&(!x.uuid||!e.test(x.uuid))&&(x.error=x.error||"UUID is not valid."),x}function a(y){const b=y;return b.nss=(y.uuid||"").toLowerCase(),b}const o={scheme:"http",domainHost:!0,parse:n,serialize:r},u={scheme:"https",domainHost:o.domainHost,parse:n,serialize:r},m={scheme:"ws",domainHost:!0,parse:c,serialize:s},f={scheme:"wss",domainHost:m.domainHost,parse:m.parse,serialize:m.serialize},g={http:o,https:u,ws:m,wss:f,urn:{scheme:"urn",parse:l,serialize:d,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:p,serialize:a,skipNormalize:!0}};return Xa=g,Xa}var ql;function Fg(){if(ql)return Jt.exports;ql=1;const{normalizeIPv6:e,normalizeIPv4:t,removeDotSegments:i,recomposeAuthority:n,normalizeComponentEncoding:r}=Dg(),c=Mg();function s(v,g){return typeof v=="string"?v=a(f(v,g),g):typeof v=="object"&&(v=f(a(v,g),g)),v}function l(v,g,y){const b=Object.assign({scheme:"null"},y),x=d(f(v,b),f(g,b),b,!0);return a(x,{...b,skipEscape:!0})}function d(v,g,y,b){const x={};return b||(v=f(a(v,y),y),g=f(a(g,y),y)),y=y||{},!y.tolerant&&g.scheme?(x.scheme=g.scheme,x.userinfo=g.userinfo,x.host=g.host,x.port=g.port,x.path=i(g.path||""),x.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?(x.userinfo=g.userinfo,x.host=g.host,x.port=g.port,x.path=i(g.path||""),x.query=g.query):(g.path?(g.path.charAt(0)==="/"?x.path=i(g.path):((v.userinfo!==void 0||v.host!==void 0||v.port!==void 0)&&!v.path?x.path="/"+g.path:v.path?x.path=v.path.slice(0,v.path.lastIndexOf("/")+1)+g.path:x.path=g.path,x.path=i(x.path)),x.query=g.query):(x.path=v.path,g.query!==void 0?x.query=g.query:x.query=v.query),x.userinfo=v.userinfo,x.host=v.host,x.port=v.port),x.scheme=v.scheme),x.fragment=g.fragment,x}function p(v,g,y){return typeof v=="string"?(v=unescape(v),v=a(r(f(v,y),!0),{...y,skipEscape:!0})):typeof v=="object"&&(v=a(r(v,!0),{...y,skipEscape:!0})),typeof g=="string"?(g=unescape(g),g=a(r(f(g,y),!0),{...y,skipEscape:!0})):typeof g=="object"&&(g=a(r(g,!0),{...y,skipEscape:!0})),v.toLowerCase()===g.toLowerCase()}function a(v,g){const y={host:v.host,scheme:v.scheme,userinfo:v.userinfo,port:v.port,path:v.path,query:v.query,nid:v.nid,nss:v.nss,uuid:v.uuid,fragment:v.fragment,reference:v.reference,resourceName:v.resourceName,secure:v.secure,error:""},b=Object.assign({},g),x=[],w=c[(b.scheme||y.scheme||"").toLowerCase()];w&&w.serialize&&w.serialize(y,b),y.path!==void 0&&(b.skipEscape?y.path=unescape(y.path):(y.path=escape(y.path),y.scheme!==void 0&&(y.path=y.path.split("%3A").join(":")))),b.reference!=="suffix"&&y.scheme&&x.push(y.scheme,":");const S=n(y);if(S!==void 0&&(b.reference!=="suffix"&&x.push("//"),x.push(S),y.path&&y.path.charAt(0)!=="/"&&x.push("/")),y.path!==void 0){let _=y.path;!b.absolutePath&&(!w||!w.absolutePath)&&(_=i(_)),S===void 0&&(_=_.replace(/^\/\//u,"/%2F")),x.push(_)}return y.query!==void 0&&x.push("?",y.query),y.fragment!==void 0&&x.push("#",y.fragment),x.join("")}const o=Array.from({length:127},(v,g)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(g)));function u(v){let g=0;for(let y=0,b=v.length;y<b;++y)if(g=v.charCodeAt(y),g>126||o[g])return!0;return!1}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function f(v,g){const y=Object.assign({},g),b={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},x=v.indexOf("%")!==-1;let w=!1;y.reference==="suffix"&&(v=(y.scheme?y.scheme+":":"")+"//"+v);const S=v.match(m);if(S){if(b.scheme=S[1],b.userinfo=S[3],b.host=S[4],b.port=parseInt(S[5],10),b.path=S[6]||"",b.query=S[7],b.fragment=S[8],isNaN(b.port)&&(b.port=S[5]),b.host){const E=t(b.host);if(E.isIPV4===!1){const O=e(E.host);b.host=O.host.toLowerCase(),w=O.isIPV6}else b.host=E.host,w=!0}b.scheme===void 0&&b.userinfo===void 0&&b.host===void 0&&b.port===void 0&&b.query===void 0&&!b.path?b.reference="same-document":b.scheme===void 0?b.reference="relative":b.fragment===void 0?b.reference="absolute":b.reference="uri",y.reference&&y.reference!=="suffix"&&y.reference!==b.reference&&(b.error=b.error||"URI is not a "+y.reference+" reference.");const _=c[(y.scheme||b.scheme||"").toLowerCase()];if(!y.unicodeSupport&&(!_||!_.unicodeSupport)&&b.host&&(y.domainHost||_&&_.domainHost)&&w===!1&&u(b.host))try{b.host=URL.domainToASCII(b.host.toLowerCase())}catch(E){b.error=b.error||"Host's domain name can not be converted to ASCII: "+E}(!_||_&&!_.skipNormalize)&&(x&&b.scheme!==void 0&&(b.scheme=unescape(b.scheme)),x&&b.host!==void 0&&(b.host=unescape(b.host)),b.path&&(b.path=escape(unescape(b.path))),b.fragment&&(b.fragment=encodeURI(decodeURIComponent(b.fragment)))),_&&_.parse&&_.parse(b,y)}else b.error=b.error||"URI can not be parsed.";return b}const h={SCHEMES:c,normalize:s,resolve:l,resolveComponents:d,equal:p,serialize:a,parse:f};return Jt.exports=h,Jt.exports.default=h,Jt.exports.fastUri=h,Jt.exports}var Ll;function zg(){if(Ll)return On;Ll=1,Object.defineProperty(On,"__esModule",{value:!0});const e=Fg();return e.code='require("ajv/dist/runtime/uri").default',On.default=e,On}var Dl;function ah(){return Dl||(Dl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=hn();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var i=ie();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});const n=fa(),r=vn(),c=th(),s=ma(),l=ie(),d=da(),p=ea(),a=se(),o=qg,u=zg(),m=(q,R)=>new RegExp(q,R);m.code="new RegExp";const f=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},g={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},y=200;function b(q){var R,I,N,$,k,F,Y,W,ae,te,j,D,K,H,Z,ne,fe,ke,ge,ve,ue,qe,we,Xe,La;const Ht=q.strict,Da=(R=q.code)===null||R===void 0?void 0:R.optimize,al=Da===!0||Da===void 0?1:Da||0,rl=(N=(I=q.code)===null||I===void 0?void 0:I.regExp)!==null&&N!==void 0?N:m,Vv=($=q.uriResolver)!==null&&$!==void 0?$:u.default;return{strictSchema:(F=(k=q.strictSchema)!==null&&k!==void 0?k:Ht)!==null&&F!==void 0?F:!0,strictNumbers:(W=(Y=q.strictNumbers)!==null&&Y!==void 0?Y:Ht)!==null&&W!==void 0?W:!0,strictTypes:(te=(ae=q.strictTypes)!==null&&ae!==void 0?ae:Ht)!==null&&te!==void 0?te:"log",strictTuples:(D=(j=q.strictTuples)!==null&&j!==void 0?j:Ht)!==null&&D!==void 0?D:"log",strictRequired:(H=(K=q.strictRequired)!==null&&K!==void 0?K:Ht)!==null&&H!==void 0?H:!1,code:q.code?{...q.code,optimize:al,regExp:rl}:{optimize:al,regExp:rl},loopRequired:(Z=q.loopRequired)!==null&&Z!==void 0?Z:y,loopEnum:(ne=q.loopEnum)!==null&&ne!==void 0?ne:y,meta:(fe=q.meta)!==null&&fe!==void 0?fe:!0,messages:(ke=q.messages)!==null&&ke!==void 0?ke:!0,inlineRefs:(ge=q.inlineRefs)!==null&&ge!==void 0?ge:!0,schemaId:(ve=q.schemaId)!==null&&ve!==void 0?ve:"$id",addUsedSchema:(ue=q.addUsedSchema)!==null&&ue!==void 0?ue:!0,validateSchema:(qe=q.validateSchema)!==null&&qe!==void 0?qe:!0,validateFormats:(we=q.validateFormats)!==null&&we!==void 0?we:!0,unicodeRegExp:(Xe=q.unicodeRegExp)!==null&&Xe!==void 0?Xe:!0,int32range:(La=q.int32range)!==null&&La!==void 0?La:!0,uriResolver:Vv}}class x{constructor(R={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,R=this.opts={...R,...b(R)};const{es5:I,lines:N}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:h,es5:I,lines:N}),this.logger=B(R.logger);const $=R.validateFormats;R.validateFormats=!1,this.RULES=(0,c.getRules)(),w.call(this,v,R,"NOT SUPPORTED"),w.call(this,g,R,"DEPRECATED","warn"),this._metaOpts=U.call(this),R.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),R.keywords&&O.call(this,R.keywords),typeof R.meta=="object"&&this.addMetaSchema(R.meta),_.call(this),R.validateFormats=$}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:R,meta:I,schemaId:N}=this.opts;let $=o;N==="id"&&($={...o},$.id=$.$id,delete $.$id),I&&R&&this.addMetaSchema($,$[N],!1)}defaultMeta(){const{meta:R,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof R=="object"?R[I]||R:void 0}validate(R,I){let N;if(typeof R=="string"){if(N=this.getSchema(R),!N)throw new Error(`no schema with key or ref "${R}"`)}else N=this.compile(R);const $=N(I);return"$async"in N||(this.errors=N.errors),$}compile(R,I){const N=this._addSchema(R,I);return N.validate||this._compileSchemaEnv(N)}compileAsync(R,I){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:N}=this.opts;return $.call(this,R,I);async function $(te,j){await k.call(this,te.$schema);const D=this._addSchema(te,j);return D.validate||F.call(this,D)}async function k(te){te&&!this.getSchema(te)&&await $.call(this,{$ref:te},!0)}async function F(te){try{return this._compileSchemaEnv(te)}catch(j){if(!(j instanceof r.default))throw j;return Y.call(this,j),await W.call(this,j.missingSchema),F.call(this,te)}}function Y({missingSchema:te,missingRef:j}){if(this.refs[te])throw new Error(`AnySchema ${te} is loaded but ${j} cannot be resolved`)}async function W(te){const j=await ae.call(this,te);this.refs[te]||await k.call(this,j.$schema),this.refs[te]||this.addSchema(j,te,I)}async function ae(te){const j=this._loading[te];if(j)return j;try{return await(this._loading[te]=N(te))}finally{delete this._loading[te]}}}addSchema(R,I,N,$=this.opts.validateSchema){if(Array.isArray(R)){for(const F of R)this.addSchema(F,void 0,N,$);return this}let k;if(typeof R=="object"){const{schemaId:F}=this.opts;if(k=R[F],k!==void 0&&typeof k!="string")throw new Error(`schema ${F} must be string`)}return I=(0,d.normalizeId)(I||k),this._checkUnique(I),this.schemas[I]=this._addSchema(R,N,I,$,!0),this}addMetaSchema(R,I,N=this.opts.validateSchema){return this.addSchema(R,I,!0,N),this}validateSchema(R,I){if(typeof R=="boolean")return!0;let N;if(N=R.$schema,N!==void 0&&typeof N!="string")throw new Error("$schema must be a string");if(N=N||this.opts.defaultMeta||this.defaultMeta(),!N)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const $=this.validate(N,R);if(!$&&I){const k="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(k);else throw new Error(k)}return $}getSchema(R){let I;for(;typeof(I=S.call(this,R))=="string";)R=I;if(I===void 0){const{schemaId:N}=this.opts,$=new s.SchemaEnv({schema:{},schemaId:N});if(I=s.resolveSchema.call(this,$,R),!I)return;this.refs[R]=I}return I.validate||this._compileSchemaEnv(I)}removeSchema(R){if(R instanceof RegExp)return this._removeAllSchemas(this.schemas,R),this._removeAllSchemas(this.refs,R),this;switch(typeof R){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const I=S.call(this,R);return typeof I=="object"&&this._cache.delete(I.schema),delete this.schemas[R],delete this.refs[R],this}case"object":{const I=R;this._cache.delete(I);let N=R[this.opts.schemaId];return N&&(N=(0,d.normalizeId)(N),delete this.schemas[N],delete this.refs[N]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(R){for(const I of R)this.addKeyword(I);return this}addKeyword(R,I){let N;if(typeof R=="string")N=R,typeof I=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=N);else if(typeof R=="object"&&I===void 0){if(I=R,N=I.keyword,Array.isArray(N)&&!N.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(C.call(this,N,I),!I)return(0,a.eachItem)(N,k=>V.call(this,k)),this;A.call(this,I);const $={...I,type:(0,p.getJSONTypes)(I.type),schemaType:(0,p.getJSONTypes)(I.schemaType)};return(0,a.eachItem)(N,$.type.length===0?k=>V.call(this,k,$):k=>$.type.forEach(F=>V.call(this,k,$,F))),this}getKeyword(R){const I=this.RULES.all[R];return typeof I=="object"?I.definition:!!I}removeKeyword(R){const{RULES:I}=this;delete I.keywords[R],delete I.all[R];for(const N of I.rules){const $=N.rules.findIndex(k=>k.keyword===R);$>=0&&N.rules.splice($,1)}return this}addFormat(R,I){return typeof I=="string"&&(I=new RegExp(I)),this.formats[R]=I,this}errorsText(R=this.errors,{separator:I=", ",dataVar:N="data"}={}){return!R||R.length===0?"No errors":R.map($=>`${N}${$.instancePath} ${$.message}`).reduce(($,k)=>$+I+k)}$dataMetaSchema(R,I){const N=this.RULES.all;R=JSON.parse(JSON.stringify(R));for(const $ of I){const k=$.split("/").slice(1);let F=R;for(const Y of k)F=F[Y];for(const Y in N){const W=N[Y];if(typeof W!="object")continue;const{$data:ae}=W.definition,te=F[Y];ae&&te&&(F[Y]=z(te))}}return R}_removeAllSchemas(R,I){for(const N in R){const $=R[N];(!I||I.test(N))&&(typeof $=="string"?delete R[N]:$&&!$.meta&&(this._cache.delete($.schema),delete R[N]))}}_addSchema(R,I,N,$=this.opts.validateSchema,k=this.opts.addUsedSchema){let F;const{schemaId:Y}=this.opts;if(typeof R=="object")F=R[Y];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof R!="boolean")throw new Error("schema must be object or boolean")}let W=this._cache.get(R);if(W!==void 0)return W;N=(0,d.normalizeId)(F||N);const ae=d.getSchemaRefs.call(this,R,N);return W=new s.SchemaEnv({schema:R,schemaId:Y,meta:I,baseId:N,localRefs:ae}),this._cache.set(W.schema,W),k&&!N.startsWith("#")&&(N&&this._checkUnique(N),this.refs[N]=W),$&&this.validateSchema(R,!0),W}_checkUnique(R){if(this.schemas[R]||this.refs[R])throw new Error(`schema with key or id "${R}" already exists`)}_compileSchemaEnv(R){if(R.meta?this._compileMetaSchema(R):s.compileSchema.call(this,R),!R.validate)throw new Error("ajv implementation error");return R.validate}_compileMetaSchema(R){const I=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,R)}finally{this.opts=I}}}x.ValidationError=n.default,x.MissingRefError=r.default,e.default=x;function w(q,R,I,N="error"){for(const $ in q){const k=$;k in R&&this.logger[N](`${I}: option ${$}. ${q[k]}`)}}function S(q){return q=(0,d.normalizeId)(q),this.schemas[q]||this.refs[q]}function _(){const q=this.opts.schemas;if(q)if(Array.isArray(q))this.addSchema(q);else for(const R in q)this.addSchema(q[R],R)}function E(){for(const q in this.opts.formats){const R=this.opts.formats[q];R&&this.addFormat(q,R)}}function O(q){if(Array.isArray(q)){this.addVocabulary(q);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const R in q){const I=q[R];I.keyword||(I.keyword=R),this.addKeyword(I)}}function U(){const q={...this.opts};for(const R of f)delete q[R];return q}const M={log(){},warn(){},error(){}};function B(q){if(q===!1)return M;if(q===void 0)return console;if(q.log&&q.warn&&q.error)return q;throw new Error("logger must implement log, warn and error methods")}const G=/^[a-z_$][a-z0-9_$:-]*$/i;function C(q,R){const{RULES:I}=this;if((0,a.eachItem)(q,N=>{if(I.keywords[N])throw new Error(`Keyword ${N} is already defined`);if(!G.test(N))throw new Error(`Keyword ${N} has invalid name`)}),!!R&&R.$data&&!("code"in R||"validate"in R))throw new Error('$data keyword must have "code" or "validate" function')}function V(q,R,I){var N;const $=R?.post;if(I&&$)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:k}=this;let F=$?k.post:k.rules.find(({type:W})=>W===I);if(F||(F={type:I,rules:[]},k.rules.push(F)),k.keywords[q]=!0,!R)return;const Y={keyword:q,definition:{...R,type:(0,p.getJSONTypes)(R.type),schemaType:(0,p.getJSONTypes)(R.schemaType)}};R.before?T.call(this,F,Y,R.before):F.rules.push(Y),k.all[q]=Y,(N=R.implements)===null||N===void 0||N.forEach(W=>this.addKeyword(W))}function T(q,R,I){const N=q.rules.findIndex($=>$.keyword===I);N>=0?q.rules.splice(N,0,R):(q.rules.push(R),this.logger.warn(`rule ${I} is not defined`))}function A(q){let{metaSchema:R}=q;R!==void 0&&(q.$data&&this.opts.$data&&(R=z(R)),q.validateSchema=this.compile(R,!0))}const P={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function z(q){return{anyOf:[q,P]}}})(Ua)),Ua}var Nn={},jn={},Cn={},Ml;function Ug(){if(Ml)return Cn;Ml=1,Object.defineProperty(Cn,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Cn.default=e,Cn}var tt={},Fl;function yc(){if(Fl)return tt;Fl=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.callRef=tt.getValidate=void 0;const e=vn(),t=Fe(),i=ie(),n=Me(),r=ma(),c=se(),s={keyword:"$ref",schemaType:"string",code(p){const{gen:a,schema:o,it:u}=p,{baseId:m,schemaEnv:f,validateName:h,opts:v,self:g}=u,{root:y}=f;if((o==="#"||o==="#/")&&m===y.baseId)return x();const b=r.resolveRef.call(g,y,m,o);if(b===void 0)throw new e.default(u.opts.uriResolver,m,o);if(b instanceof r.SchemaEnv)return w(b);return S(b);function x(){if(f===y)return d(p,h,f,f.$async);const _=a.scopeValue("root",{ref:y});return d(p,(0,i._)`${_}.validate`,y,y.$async)}function w(_){const E=l(p,_);d(p,E,_,_.$async)}function S(_){const E=a.scopeValue("schema",v.code.source===!0?{ref:_,code:(0,i.stringify)(_)}:{ref:_}),O=a.name("valid"),U=p.subschema({schema:_,dataTypes:[],schemaPath:i.nil,topSchemaRef:E,errSchemaPath:o},O);p.mergeEvaluated(U),p.ok(O)}}};function l(p,a){const{gen:o}=p;return a.validate?o.scopeValue("validate",{ref:a.validate}):(0,i._)`${o.scopeValue("wrapper",{ref:a})}.validate`}tt.getValidate=l;function d(p,a,o,u){const{gen:m,it:f}=p,{allErrors:h,schemaEnv:v,opts:g}=f,y=g.passContext?n.default.this:i.nil;u?b():x();function b(){if(!v.$async)throw new Error("async schema referenced by sync schema");const _=m.let("valid");m.try(()=>{m.code((0,i._)`await ${(0,t.callValidateCode)(p,a,y)}`),S(a),h||m.assign(_,!0)},E=>{m.if((0,i._)`!(${E} instanceof ${f.ValidationError})`,()=>m.throw(E)),w(E),h||m.assign(_,!1)}),p.ok(_)}function x(){p.result((0,t.callValidateCode)(p,a,y),()=>S(a),()=>w(a))}function w(_){const E=(0,i._)`${_}.errors`;m.assign(n.default.vErrors,(0,i._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`),m.assign(n.default.errors,(0,i._)`${n.default.vErrors}.length`)}function S(_){var E;if(!f.opts.unevaluated)return;const O=(E=o?.validate)===null||E===void 0?void 0:E.evaluated;if(f.props!==!0)if(O&&!O.dynamicProps)O.props!==void 0&&(f.props=c.mergeEvaluated.props(m,O.props,f.props));else{const U=m.var("props",(0,i._)`${_}.evaluated.props`);f.props=c.mergeEvaluated.props(m,U,f.props,i.Name)}if(f.items!==!0)if(O&&!O.dynamicItems)O.items!==void 0&&(f.items=c.mergeEvaluated.items(m,O.items,f.items));else{const U=m.var("items",(0,i._)`${_}.evaluated.items`);f.items=c.mergeEvaluated.items(m,U,f.items,i.Name)}}}return tt.callRef=d,tt.default=s,tt}var zl;function rh(){if(zl)return jn;zl=1,Object.defineProperty(jn,"__esModule",{value:!0});const e=Ug(),t=yc(),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return jn.default=i,jn}var In={},qn={},Ul;function Bg(){if(Ul)return qn;Ul=1,Object.defineProperty(qn,"__esModule",{value:!0});const e=ie(),t=e.operators,i={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:c,schemaCode:s})=>(0,e.str)`must be ${i[c].okStr} ${s}`,params:({keyword:c,schemaCode:s})=>(0,e._)`{comparison: ${i[c].okStr}, limit: ${s}}`},r={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:n,code(c){const{keyword:s,data:l,schemaCode:d}=c;c.fail$data((0,e._)`${l} ${i[s].fail} ${d} || isNaN(${l})`)}};return qn.default=r,qn}var Ln={},Bl;function Vg(){if(Bl)return Ln;Bl=1,Object.defineProperty(Ln,"__esModule",{value:!0});const e=ie(),i={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must be multiple of ${n}`,params:({schemaCode:n})=>(0,e._)`{multipleOf: ${n}}`},code(n){const{gen:r,data:c,schemaCode:s,it:l}=n,d=l.opts.multipleOfPrecision,p=r.let("res"),a=d?(0,e._)`Math.abs(Math.round(${p}) - ${p}) > 1e-${d}`:(0,e._)`${p} !== parseInt(${p})`;n.fail$data((0,e._)`(${s} === 0 || (${p} = ${c}/${s}, ${a}))`)}};return Ln.default=i,Ln}var Dn={},Mn={},Vl;function Kg(){if(Vl)return Mn;Vl=1,Object.defineProperty(Mn,"__esModule",{value:!0});function e(t){const i=t.length;let n=0,r=0,c;for(;r<i;)n++,c=t.charCodeAt(r++),c>=55296&&c<=56319&&r<i&&(c=t.charCodeAt(r),(c&64512)===56320&&r++);return n}return Mn.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',Mn}var Kl;function Gg(){if(Kl)return Dn;Kl=1,Object.defineProperty(Dn,"__esModule",{value:!0});const e=ie(),t=se(),i=Kg(),r={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:c,schemaCode:s}){const l=c==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${l} than ${s} characters`},params:({schemaCode:c})=>(0,e._)`{limit: ${c}}`},code(c){const{keyword:s,data:l,schemaCode:d,it:p}=c,a=s==="maxLength"?e.operators.GT:e.operators.LT,o=p.opts.unicode===!1?(0,e._)`${l}.length`:(0,e._)`${(0,t.useFunc)(c.gen,i.default)}(${l})`;c.fail$data((0,e._)`${o} ${a} ${d}`)}};return Dn.default=r,Dn}var Fn={},Gl;function Hg(){if(Gl)return Fn;Gl=1,Object.defineProperty(Fn,"__esModule",{value:!0});const e=Fe(),t=ie(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,t.str)`must match pattern "${r}"`,params:({schemaCode:r})=>(0,t._)`{pattern: ${r}}`},code(r){const{data:c,$data:s,schema:l,schemaCode:d,it:p}=r,a=p.opts.unicodeRegExp?"u":"",o=s?(0,t._)`(new RegExp(${d}, ${a}))`:(0,e.usePattern)(r,l);r.fail$data((0,t._)`!${o}.test(${c})`)}};return Fn.default=n,Fn}var zn={},Hl;function Wg(){if(Hl)return zn;Hl=1,Object.defineProperty(zn,"__esModule",{value:!0});const e=ie(),i={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:r}){const c=n==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${c} than ${r} properties`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:r,data:c,schemaCode:s}=n,l=r==="maxProperties"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`Object.keys(${c}).length ${l} ${s}`)}};return zn.default=i,zn}var Un={},Wl;function Yg(){if(Wl)return Un;Wl=1,Object.defineProperty(Un,"__esModule",{value:!0});const e=Fe(),t=ie(),i=se(),r={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:c}})=>(0,t.str)`must have required property '${c}'`,params:({params:{missingProperty:c}})=>(0,t._)`{missingProperty: ${c}}`},code(c){const{gen:s,schema:l,schemaCode:d,data:p,$data:a,it:o}=c,{opts:u}=o;if(!a&&l.length===0)return;const m=l.length>=u.loopRequired;if(o.allErrors?f():h(),u.strictRequired){const y=c.parentSchema.properties,{definedProperties:b}=c.it;for(const x of l)if(y?.[x]===void 0&&!b.has(x)){const w=o.schemaEnv.baseId+o.errSchemaPath,S=`required property "${x}" is not defined at "${w}" (strictRequired)`;(0,i.checkStrictMode)(o,S,o.opts.strictRequired)}}function f(){if(m||a)c.block$data(t.nil,v);else for(const y of l)(0,e.checkReportMissingProp)(c,y)}function h(){const y=s.let("missing");if(m||a){const b=s.let("valid",!0);c.block$data(b,()=>g(y,b)),c.ok(b)}else s.if((0,e.checkMissingProp)(c,l,y)),(0,e.reportMissingProp)(c,y),s.else()}function v(){s.forOf("prop",d,y=>{c.setParams({missingProperty:y}),s.if((0,e.noPropertyInData)(s,p,y,u.ownProperties),()=>c.error())})}function g(y,b){c.setParams({missingProperty:y}),s.forOf(y,d,()=>{s.assign(b,(0,e.propertyInData)(s,p,y,u.ownProperties)),s.if((0,t.not)(b),()=>{c.error(),s.break()})},t.nil)}}};return Un.default=r,Un}var Bn={},Yl;function Jg(){if(Yl)return Bn;Yl=1,Object.defineProperty(Bn,"__esModule",{value:!0});const e=ie(),i={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:r}){const c=n==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${c} than ${r} items`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:r,data:c,schemaCode:s}=n,l=r==="maxItems"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`${c}.length ${l} ${s}`)}};return Bn.default=i,Bn}var Vn={},Kn={},Jl;function bc(){if(Jl)return Kn;Jl=1,Object.defineProperty(Kn,"__esModule",{value:!0});const e=ih();return e.code='require("ajv/dist/runtime/equal").default',Kn.default=e,Kn}var Xl;function Xg(){if(Xl)return Vn;Xl=1,Object.defineProperty(Vn,"__esModule",{value:!0});const e=ea(),t=ie(),i=se(),n=bc(),c={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:l}})=>(0,t.str)`must NOT have duplicate items (items ## ${l} and ${s} are identical)`,params:({params:{i:s,j:l}})=>(0,t._)`{i: ${s}, j: ${l}}`},code(s){const{gen:l,data:d,$data:p,schema:a,parentSchema:o,schemaCode:u,it:m}=s;if(!p&&!a)return;const f=l.let("valid"),h=o.items?(0,e.getSchemaTypes)(o.items):[];s.block$data(f,v,(0,t._)`${u} === false`),s.ok(f);function v(){const x=l.let("i",(0,t._)`${d}.length`),w=l.let("j");s.setParams({i:x,j:w}),l.assign(f,!0),l.if((0,t._)`${x} > 1`,()=>(g()?y:b)(x,w))}function g(){return h.length>0&&!h.some(x=>x==="object"||x==="array")}function y(x,w){const S=l.name("item"),_=(0,e.checkDataTypes)(h,S,m.opts.strictNumbers,e.DataType.Wrong),E=l.const("indices",(0,t._)`{}`);l.for((0,t._)`;${x}--;`,()=>{l.let(S,(0,t._)`${d}[${x}]`),l.if(_,(0,t._)`continue`),h.length>1&&l.if((0,t._)`typeof ${S} == "string"`,(0,t._)`${S} += "_"`),l.if((0,t._)`typeof ${E}[${S}] == "number"`,()=>{l.assign(w,(0,t._)`${E}[${S}]`),s.error(),l.assign(f,!1).break()}).code((0,t._)`${E}[${S}] = ${x}`)})}function b(x,w){const S=(0,i.useFunc)(l,n.default),_=l.name("outer");l.label(_).for((0,t._)`;${x}--;`,()=>l.for((0,t._)`${w} = ${x}; ${w}--;`,()=>l.if((0,t._)`${S}(${d}[${x}], ${d}[${w}])`,()=>{s.error(),l.assign(f,!1).break(_)})))}}};return Vn.default=c,Vn}var Gn={},Ql;function Qg(){if(Ql)return Gn;Ql=1,Object.defineProperty(Gn,"__esModule",{value:!0});const e=ie(),t=se(),i=bc(),r={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:c})=>(0,e._)`{allowedValue: ${c}}`},code(c){const{gen:s,data:l,$data:d,schemaCode:p,schema:a}=c;d||a&&typeof a=="object"?c.fail$data((0,e._)`!${(0,t.useFunc)(s,i.default)}(${l}, ${p})`):c.fail((0,e._)`${a} !== ${l}`)}};return Gn.default=r,Gn}var Hn={},Zl;function Zg(){if(Zl)return Hn;Zl=1,Object.defineProperty(Hn,"__esModule",{value:!0});const e=ie(),t=se(),i=bc(),r={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:c})=>(0,e._)`{allowedValues: ${c}}`},code(c){const{gen:s,data:l,$data:d,schema:p,schemaCode:a,it:o}=c;if(!d&&p.length===0)throw new Error("enum must have non-empty array");const u=p.length>=o.opts.loopEnum;let m;const f=()=>m??(m=(0,t.useFunc)(s,i.default));let h;if(u||d)h=s.let("valid"),c.block$data(h,v);else{if(!Array.isArray(p))throw new Error("ajv implementation error");const y=s.const("vSchema",a);h=(0,e.or)(...p.map((b,x)=>g(y,x)))}c.pass(h);function v(){s.assign(h,!1),s.forOf("v",a,y=>s.if((0,e._)`${f()}(${l}, ${y})`,()=>s.assign(h,!0).break()))}function g(y,b){const x=p[b];return typeof x=="object"&&x!==null?(0,e._)`${f()}(${l}, ${y}[${b}])`:(0,e._)`${l} === ${x}`}}};return Hn.default=r,Hn}var eu;function sh(){if(eu)return In;eu=1,Object.defineProperty(In,"__esModule",{value:!0});const e=Bg(),t=Vg(),i=Gg(),n=Hg(),r=Wg(),c=Yg(),s=Jg(),l=Xg(),d=Qg(),p=Zg(),a=[e.default,t.default,i.default,n.default,r.default,c.default,s.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,p.default];return In.default=a,In}var Wn={},kt={},tu;function oh(){if(tu)return kt;tu=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.validateAdditionalItems=void 0;const e=ie(),t=se(),n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:c}})=>(0,e.str)`must NOT have more than ${c} items`,params:({params:{len:c}})=>(0,e._)`{limit: ${c}}`},code(c){const{parentSchema:s,it:l}=c,{items:d}=s;if(!Array.isArray(d)){(0,t.checkStrictMode)(l,'"additionalItems" is ignored when "items" is not an array of schemas');return}r(c,d)}};function r(c,s){const{gen:l,schema:d,data:p,keyword:a,it:o}=c;o.items=!0;const u=l.const("len",(0,e._)`${p}.length`);if(d===!1)c.setParams({len:s.length}),c.pass((0,e._)`${u} <= ${s.length}`);else if(typeof d=="object"&&!(0,t.alwaysValidSchema)(o,d)){const f=l.var("valid",(0,e._)`${u} <= ${s.length}`);l.if((0,e.not)(f),()=>m(f)),c.ok(f)}function m(f){l.forRange("i",s.length,u,h=>{c.subschema({keyword:a,dataProp:h,dataPropType:t.Type.Num},f),o.allErrors||l.if((0,e.not)(f),()=>l.break())})}}return kt.validateAdditionalItems=r,kt.default=n,kt}var Yn={},Rt={},nu;function ch(){if(nu)return Rt;nu=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.validateTuple=void 0;const e=ie(),t=se(),i=Fe(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(c){const{schema:s,it:l}=c;if(Array.isArray(s))return r(c,"additionalItems",s);l.items=!0,!(0,t.alwaysValidSchema)(l,s)&&c.ok((0,i.validateArray)(c))}};function r(c,s,l=c.schema){const{gen:d,parentSchema:p,data:a,keyword:o,it:u}=c;h(p),u.opts.unevaluated&&l.length&&u.items!==!0&&(u.items=t.mergeEvaluated.items(d,l.length,u.items));const m=d.name("valid"),f=d.const("len",(0,e._)`${a}.length`);l.forEach((v,g)=>{(0,t.alwaysValidSchema)(u,v)||(d.if((0,e._)`${f} > ${g}`,()=>c.subschema({keyword:o,schemaProp:g,dataProp:g},m)),c.ok(m))});function h(v){const{opts:g,errSchemaPath:y}=u,b=l.length,x=b===v.minItems&&(b===v.maxItems||v[s]===!1);if(g.strictTuples&&!x){const w=`"${o}" is ${b}-tuple, but minItems or maxItems/${s} are not specified or different at path "${y}"`;(0,t.checkStrictMode)(u,w,g.strictTuples)}}}return Rt.validateTuple=r,Rt.default=n,Rt}var iu;function ey(){if(iu)return Yn;iu=1,Object.defineProperty(Yn,"__esModule",{value:!0});const e=ch(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:i=>(0,e.validateTuple)(i,"items")};return Yn.default=t,Yn}var Jn={},au;function ty(){if(au)return Jn;au=1,Object.defineProperty(Jn,"__esModule",{value:!0});const e=ie(),t=se(),i=Fe(),n=oh(),c={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:l,parentSchema:d,it:p}=s,{prefixItems:a}=d;p.items=!0,!(0,t.alwaysValidSchema)(p,l)&&(a?(0,n.validateAdditionalItems)(s,a):s.ok((0,i.validateArray)(s)))}};return Jn.default=c,Jn}var Xn={},ru;function ny(){if(ru)return Xn;ru=1,Object.defineProperty(Xn,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:r,max:c}})=>c===void 0?(0,e.str)`must contain at least ${r} valid item(s)`:(0,e.str)`must contain at least ${r} and no more than ${c} valid item(s)`,params:({params:{min:r,max:c}})=>c===void 0?(0,e._)`{minContains: ${r}}`:(0,e._)`{minContains: ${r}, maxContains: ${c}}`},code(r){const{gen:c,schema:s,parentSchema:l,data:d,it:p}=r;let a,o;const{minContains:u,maxContains:m}=l;p.opts.next?(a=u===void 0?1:u,o=m):a=1;const f=c.const("len",(0,e._)`${d}.length`);if(r.setParams({min:a,max:o}),o===void 0&&a===0){(0,t.checkStrictMode)(p,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&a>o){(0,t.checkStrictMode)(p,'"minContains" > "maxContains" is always invalid'),r.fail();return}if((0,t.alwaysValidSchema)(p,s)){let b=(0,e._)`${f} >= ${a}`;o!==void 0&&(b=(0,e._)`${b} && ${f} <= ${o}`),r.pass(b);return}p.items=!0;const h=c.name("valid");o===void 0&&a===1?g(h,()=>c.if(h,()=>c.break())):a===0?(c.let(h,!0),o!==void 0&&c.if((0,e._)`${d}.length > 0`,v)):(c.let(h,!1),v()),r.result(h,()=>r.reset());function v(){const b=c.name("_valid"),x=c.let("count",0);g(b,()=>c.if(b,()=>y(x)))}function g(b,x){c.forRange("i",0,f,w=>{r.subschema({keyword:"contains",dataProp:w,dataPropType:t.Type.Num,compositeRule:!0},b),x()})}function y(b){c.code((0,e._)`${b}++`),o===void 0?c.if((0,e._)`${b} >= ${a}`,()=>c.assign(h,!0).break()):(c.if((0,e._)`${b} > ${o}`,()=>c.assign(h,!1).break()),a===1?c.assign(h,!0):c.if((0,e._)`${b} >= ${a}`,()=>c.assign(h,!0)))}}};return Xn.default=n,Xn}var Qa={},su;function xc(){return su||(su=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ie(),i=se(),n=Fe();e.error={message:({params:{property:d,depsCount:p,deps:a}})=>{const o=p===1?"property":"properties";return(0,t.str)`must have ${o} ${a} when property ${d} is present`},params:({params:{property:d,depsCount:p,deps:a,missingProperty:o}})=>(0,t._)`{property: ${d},
6
+ missingProperty: ${o},
7
7
  depsCount: ${p},
8
- deps: ${a}}`};const r={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[p,a]=c(d);o(d,p),l(d,a)}};function c({schema:d}){const p={},a={};for(const s in d){if(s==="__proto__")continue;const u=Array.isArray(d[s])?p:a;u[s]=d[s]}return[p,a]}function o(d,p=d.schema){const{gen:a,data:s,it:u}=d;if(Object.keys(p).length===0)return;const m=a.let("missing");for(const f in p){const h=p[f];if(h.length===0)continue;const v=(0,n.propertyInData)(a,s,f,u.opts.ownProperties);d.setParams({property:f,depsCount:h.length,deps:h.join(", ")}),u.allErrors?a.if(v,()=>{for(const g of h)(0,n.checkReportMissingProp)(d,g)}):(a.if((0,t._)`${v} && (${(0,n.checkMissingProp)(d,h,m)})`),(0,n.reportMissingProp)(d,m),a.else())}}e.validatePropertyDeps=o;function l(d,p=d.schema){const{gen:a,data:s,keyword:u,it:m}=d,f=a.name("valid");for(const h in p)(0,i.alwaysValidSchema)(m,p[h])||(a.if((0,n.propertyInData)(a,s,h,m.opts.ownProperties),()=>{const v=d.subschema({keyword:u,schemaProp:h},f);d.mergeValidEvaluated(v,f)},()=>a.var(f,!0)),d.ok(f))}e.validateSchemaDeps=l,e.default=r})(Wa)),Wa}var Jn={},tu;function ey(){if(tu)return Jn;tu=1,Object.defineProperty(Jn,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:r})=>(0,e._)`{propertyName: ${r.propertyName}}`},code(r){const{gen:c,schema:o,data:l,it:d}=r;if((0,t.alwaysValidSchema)(d,o))return;const p=c.name("valid");c.forIn("key",l,a=>{r.setParams({propertyName:a}),r.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},p),c.if((0,e.not)(p),()=>{r.error(!0),d.allErrors||c.break()})}),r.ok(p)}};return Jn.default=n,Jn}var Xn={},nu;function ih(){if(nu)return Xn;nu=1,Object.defineProperty(Xn,"__esModule",{value:!0});const e=Fe(),t=ie(),i=De(),n=se(),c={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:o})=>(0,t._)`{additionalProperty: ${o.additionalProperty}}`},code(o){const{gen:l,schema:d,parentSchema:p,data:a,errsCount:s,it:u}=o;if(!s)throw new Error("ajv implementation error");const{allErrors:m,opts:f}=u;if(u.props=!0,f.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(u,d))return;const h=(0,e.allSchemaProperties)(p.properties),v=(0,e.allSchemaProperties)(p.patternProperties);g(),o.ok((0,t._)`${s} === ${i.default.errors}`);function g(){l.forIn("key",a,S=>{!h.length&&!v.length?x(S):l.if(y(S),()=>x(S))})}function y(S){let $;if(h.length>8){const E=(0,n.schemaRefOrVal)(u,p.properties,"properties");$=(0,e.isOwnProperty)(l,E,S)}else h.length?$=(0,t.or)(...h.map(E=>(0,t._)`${S} === ${E}`)):$=t.nil;return v.length&&($=(0,t.or)($,...v.map(E=>(0,t._)`${(0,e.usePattern)(o,E)}.test(${S})`))),(0,t.not)($)}function b(S){l.code((0,t._)`delete ${a}[${S}]`)}function x(S){if(f.removeAdditional==="all"||f.removeAdditional&&d===!1){b(S);return}if(d===!1){o.setParams({additionalProperty:S}),o.error(),m||l.break();return}if(typeof d=="object"&&!(0,n.alwaysValidSchema)(u,d)){const $=l.name("valid");f.removeAdditional==="failing"?(w(S,$,!1),l.if((0,t.not)($),()=>{o.reset(),b(S)})):(w(S,$),m||l.if((0,t.not)($),()=>l.break()))}}function w(S,$,E){const P={keyword:"additionalProperties",dataProp:S,dataPropType:n.Type.Str};E===!1&&Object.assign(P,{compositeRule:!0,createErrors:!1,allErrors:!1}),o.subschema(P,$)}}};return Xn.default=c,Xn}var Qn={},iu;function ty(){if(iu)return Qn;iu=1,Object.defineProperty(Qn,"__esModule",{value:!0});const e=mn(),t=Fe(),i=se(),n=ih(),r={keyword:"properties",type:"object",schemaType:"object",code(c){const{gen:o,schema:l,parentSchema:d,data:p,it:a}=c;a.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(a,n.default,"additionalProperties"));const s=(0,t.allSchemaProperties)(l);for(const v of s)a.definedProperties.add(v);a.opts.unevaluated&&s.length&&a.props!==!0&&(a.props=i.mergeEvaluated.props(o,(0,i.toHash)(s),a.props));const u=s.filter(v=>!(0,i.alwaysValidSchema)(a,l[v]));if(u.length===0)return;const m=o.name("valid");for(const v of u)f(v)?h(v):(o.if((0,t.propertyInData)(o,p,v,a.opts.ownProperties)),h(v),a.allErrors||o.else().var(m,!0),o.endIf()),c.it.definedProperties.add(v),c.ok(m);function f(v){return a.opts.useDefaults&&!a.compositeRule&&l[v].default!==void 0}function h(v){c.subschema({keyword:"properties",schemaProp:v,dataProp:v},m)}}};return Qn.default=r,Qn}var Zn={},au;function ny(){if(au)return Zn;au=1,Object.defineProperty(Zn,"__esModule",{value:!0});const e=Fe(),t=ie(),i=se(),n=se(),r={keyword:"patternProperties",type:"object",schemaType:"object",code(c){const{gen:o,schema:l,data:d,parentSchema:p,it:a}=c,{opts:s}=a,u=(0,e.allSchemaProperties)(l),m=u.filter(x=>(0,i.alwaysValidSchema)(a,l[x]));if(u.length===0||m.length===u.length&&(!a.opts.unevaluated||a.props===!0))return;const f=s.strictSchema&&!s.allowMatchingProperties&&p.properties,h=o.name("valid");a.props!==!0&&!(a.props instanceof t.Name)&&(a.props=(0,n.evaluatedPropsToName)(o,a.props));const{props:v}=a;g();function g(){for(const x of u)f&&y(x),a.allErrors?b(x):(o.var(h,!0),b(x),o.if(h))}function y(x){for(const w in f)new RegExp(x).test(w)&&(0,i.checkStrictMode)(a,`property ${w} matches pattern ${x} (use allowMatchingProperties)`)}function b(x){o.forIn("key",d,w=>{o.if((0,t._)`${(0,e.usePattern)(c,x)}.test(${w})`,()=>{const S=m.includes(x);S||c.subschema({keyword:"patternProperties",schemaProp:x,dataProp:w,dataPropType:n.Type.Str},h),a.opts.unevaluated&&v!==!0?o.assign((0,t._)`${v}[${w}]`,!0):!S&&!a.allErrors&&o.if((0,t.not)(h),()=>o.break())})})}}};return Zn.default=r,Zn}var ei={},ru;function iy(){if(ru)return ei;ru=1,Object.defineProperty(ei,"__esModule",{value:!0});const e=se(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(i){const{gen:n,schema:r,it:c}=i;if((0,e.alwaysValidSchema)(c,r)){i.fail();return}const o=n.name("valid");i.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),i.failResult(o,()=>i.reset(),()=>i.error())},error:{message:"must NOT be valid"}};return ei.default=t,ei}var ti={},su;function ay(){if(su)return ti;su=1,Object.defineProperty(ti,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Fe().validateUnion,error:{message:"must match a schema in anyOf"}};return ti.default=t,ti}var ni={},ou;function ry(){if(ou)return ni;ou=1,Object.defineProperty(ni,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:r})=>(0,e._)`{passingSchemas: ${r.passing}}`},code(r){const{gen:c,schema:o,parentSchema:l,it:d}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");if(d.opts.discriminator&&l.discriminator)return;const p=o,a=c.let("valid",!1),s=c.let("passing",null),u=c.name("_valid");r.setParams({passing:s}),c.block(m),r.result(a,()=>r.reset(),()=>r.error(!0));function m(){p.forEach((f,h)=>{let v;(0,t.alwaysValidSchema)(d,f)?c.var(u,!0):v=r.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},u),h>0&&c.if((0,e._)`${u} && ${a}`).assign(a,!1).assign(s,(0,e._)`[${s}, ${h}]`).else(),c.if(u,()=>{c.assign(a,!0),c.assign(s,h),v&&r.mergeEvaluated(v,e.Name)})})}}};return ni.default=n,ni}var ii={},cu;function sy(){if(cu)return ii;cu=1,Object.defineProperty(ii,"__esModule",{value:!0});const e=se(),t={keyword:"allOf",schemaType:"array",code(i){const{gen:n,schema:r,it:c}=i;if(!Array.isArray(r))throw new Error("ajv implementation error");const o=n.name("valid");r.forEach((l,d)=>{if((0,e.alwaysValidSchema)(c,l))return;const p=i.subschema({keyword:"allOf",schemaProp:d},o);i.ok(o),i.mergeEvaluated(p)})}};return ii.default=t,ii}var ai={},lu;function oy(){if(lu)return ai;lu=1,Object.defineProperty(ai,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:c})=>(0,e.str)`must match "${c.ifClause}" schema`,params:({params:c})=>(0,e._)`{failingKeyword: ${c.ifClause}}`},code(c){const{gen:o,parentSchema:l,it:d}=c;l.then===void 0&&l.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const p=r(d,"then"),a=r(d,"else");if(!p&&!a)return;const s=o.let("valid",!0),u=o.name("_valid");if(m(),c.reset(),p&&a){const h=o.let("ifClause");c.setParams({ifClause:h}),o.if(u,f("then",h),f("else",h))}else p?o.if(u,f("then")):o.if((0,e.not)(u),f("else"));c.pass(s,()=>c.error(!0));function m(){const h=c.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);c.mergeEvaluated(h)}function f(h,v){return()=>{const g=c.subschema({keyword:h},u);o.assign(s,u),c.mergeValidEvaluated(g,s),v?o.assign(v,(0,e._)`${h}`):c.setParams({ifClause:h})}}}};function r(c,o){const l=c.schema[o];return l!==void 0&&!(0,t.alwaysValidSchema)(c,l)}return ai.default=n,ai}var ri={},uu;function cy(){if(uu)return ri;uu=1,Object.defineProperty(ri,"__esModule",{value:!0});const e=se(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:i,parentSchema:n,it:r}){n.if===void 0&&(0,e.checkStrictMode)(r,`"${i}" without "if" is ignored`)}};return ri.default=t,ri}var pu;function ah(){if(pu)return Gn;pu=1,Object.defineProperty(Gn,"__esModule",{value:!0});const e=th(),t=Xg(),i=nh(),n=Qg(),r=Zg(),c=hc(),o=ey(),l=ih(),d=ty(),p=ny(),a=iy(),s=ay(),u=ry(),m=sy(),f=oy(),h=cy();function v(g=!1){const y=[a.default,s.default,u.default,m.default,f.default,h.default,o.default,l.default,c.default,d.default,p.default];return g?y.push(t.default,n.default):y.push(e.default,i.default),y.push(r.default),y}return Gn.default=v,Gn}var si={},Et={},du;function rh(){if(du)return Et;du=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.dynamicAnchor=void 0;const e=ie(),t=De(),i=pa(),n=fc(),r={keyword:"$dynamicAnchor",schemaType:"string",code:l=>c(l,l.schema)};function c(l,d){const{gen:p,it:a}=l;a.schemaEnv.root.dynamicAnchors[d]=!0;const s=(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(d)}`,u=a.errSchemaPath==="#"?a.validateName:o(l);p.if((0,e._)`!${s}`,()=>p.assign(s,u))}Et.dynamicAnchor=c;function o(l){const{schemaEnv:d,schema:p,self:a}=l.it,{root:s,baseId:u,localRefs:m,meta:f}=d.root,{schemaId:h}=a.opts,v=new i.SchemaEnv({schema:p,schemaId:h,root:s,baseId:u,localRefs:m,meta:f});return i.compileSchema.call(a,v),(0,n.getValidate)(l,v)}return Et.default=r,Et}var kt={},fu;function sh(){if(fu)return kt;fu=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.dynamicRef=void 0;const e=ie(),t=De(),i=fc(),n={keyword:"$dynamicRef",schemaType:"string",code:c=>r(c,c.schema)};function r(c,o){const{gen:l,keyword:d,it:p}=c;if(o[0]!=="#")throw new Error(`"${d}" only supports hash fragment reference`);const a=o.slice(1);if(p.allErrors)s();else{const m=l.let("valid",!1);s(m),c.ok(m)}function s(m){if(p.schemaEnv.root.dynamicAnchors[a]){const f=l.let("_v",(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(a)}`);l.if(f,u(f,m),u(p.validateName,m))}else u(p.validateName,m)()}function u(m,f){return f?()=>l.block(()=>{(0,i.callRef)(c,m),l.let(f,!0)}):()=>(0,i.callRef)(c,m)}}return kt.dynamicRef=r,kt.default=n,kt}var oi={},mu;function ly(){if(mu)return oi;mu=1,Object.defineProperty(oi,"__esModule",{value:!0});const e=rh(),t=se(),i={keyword:"$recursiveAnchor",schemaType:"boolean",code(n){n.schema?(0,e.dynamicAnchor)(n,""):(0,t.checkStrictMode)(n.it,"$recursiveAnchor: false is ignored")}};return oi.default=i,oi}var ci={},hu;function uy(){if(hu)return ci;hu=1,Object.defineProperty(ci,"__esModule",{value:!0});const e=sh(),t={keyword:"$recursiveRef",schemaType:"string",code:i=>(0,e.dynamicRef)(i,i.schema)};return ci.default=t,ci}var vu;function py(){if(vu)return si;vu=1,Object.defineProperty(si,"__esModule",{value:!0});const e=rh(),t=sh(),i=ly(),n=uy(),r=[e.default,t.default,i.default,n.default];return si.default=r,si}var li={},ui={},gu;function dy(){if(gu)return ui;gu=1,Object.defineProperty(ui,"__esModule",{value:!0});const e=hc(),t={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:i=>(0,e.validatePropertyDeps)(i)};return ui.default=t,ui}var pi={},yu;function fy(){if(yu)return pi;yu=1,Object.defineProperty(pi,"__esModule",{value:!0});const e=hc(),t={keyword:"dependentSchemas",type:"object",schemaType:"object",code:i=>(0,e.validateSchemaDeps)(i)};return pi.default=t,pi}var di={},bu;function my(){if(bu)return di;bu=1,Object.defineProperty(di,"__esModule",{value:!0});const e=se(),t={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:i,parentSchema:n,it:r}){n.contains===void 0&&(0,e.checkStrictMode)(r,`"${i}" without "contains" is ignored`)}};return di.default=t,di}var xu;function hy(){if(xu)return li;xu=1,Object.defineProperty(li,"__esModule",{value:!0});const e=dy(),t=fy(),i=my(),n=[e.default,t.default,i.default];return li.default=n,li}var fi={},mi={},wu;function vy(){if(wu)return mi;wu=1,Object.defineProperty(mi,"__esModule",{value:!0});const e=ie(),t=se(),i=De(),r={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:c})=>(0,e._)`{unevaluatedProperty: ${c.unevaluatedProperty}}`},code(c){const{gen:o,schema:l,data:d,errsCount:p,it:a}=c;if(!p)throw new Error("ajv implementation error");const{allErrors:s,props:u}=a;u instanceof e.Name?o.if((0,e._)`${u} !== true`,()=>o.forIn("key",d,v=>o.if(f(u,v),()=>m(v)))):u!==!0&&o.forIn("key",d,v=>u===void 0?m(v):o.if(h(u,v),()=>m(v))),a.props=!0,c.ok((0,e._)`${p} === ${i.default.errors}`);function m(v){if(l===!1){c.setParams({unevaluatedProperty:v}),c.error(),s||o.break();return}if(!(0,t.alwaysValidSchema)(a,l)){const g=o.name("valid");c.subschema({keyword:"unevaluatedProperties",dataProp:v,dataPropType:t.Type.Str},g),s||o.if((0,e.not)(g),()=>o.break())}}function f(v,g){return(0,e._)`!${v} || !${v}[${g}]`}function h(v,g){const y=[];for(const b in v)v[b]===!0&&y.push((0,e._)`${g} !== ${b}`);return(0,e.and)(...y)}}};return mi.default=r,mi}var hi={},Su;function gy(){if(Su)return hi;Su=1,Object.defineProperty(hi,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:r}})=>(0,e.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,e._)`{limit: ${r}}`},code(r){const{gen:c,schema:o,data:l,it:d}=r,p=d.items||0;if(p===!0)return;const a=c.const("len",(0,e._)`${l}.length`);if(o===!1)r.setParams({len:p}),r.fail((0,e._)`${a} > ${p}`);else if(typeof o=="object"&&!(0,t.alwaysValidSchema)(d,o)){const u=c.var("valid",(0,e._)`${a} <= ${p}`);c.if((0,e.not)(u),()=>s(u,p)),r.ok(u)}d.items=!0;function s(u,m){c.forRange("i",m,a,f=>{r.subschema({keyword:"unevaluatedItems",dataProp:f,dataPropType:t.Type.Num},u),d.allErrors||c.if((0,e.not)(u),()=>c.break())})}}};return hi.default=n,hi}var $u;function yy(){if($u)return fi;$u=1,Object.defineProperty(fi,"__esModule",{value:!0});const e=vy(),t=gy(),i=[e.default,t.default];return fi.default=i,fi}var vi={},gi={},_u;function by(){if(_u)return gi;_u=1,Object.defineProperty(gi,"__esModule",{value:!0});const e=ie(),i={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must match format "${n}"`,params:({schemaCode:n})=>(0,e._)`{format: ${n}}`},code(n,r){const{gen:c,data:o,$data:l,schema:d,schemaCode:p,it:a}=n,{opts:s,errSchemaPath:u,schemaEnv:m,self:f}=a;if(!s.validateFormats)return;l?h():v();function h(){const g=c.scopeValue("formats",{ref:f.formats,code:s.code.formats}),y=c.const("fDef",(0,e._)`${g}[${p}]`),b=c.let("fType"),x=c.let("format");c.if((0,e._)`typeof ${y} == "object" && !(${y} instanceof RegExp)`,()=>c.assign(b,(0,e._)`${y}.type || "string"`).assign(x,(0,e._)`${y}.validate`),()=>c.assign(b,(0,e._)`"string"`).assign(x,y)),n.fail$data((0,e.or)(w(),S()));function w(){return s.strictSchema===!1?e.nil:(0,e._)`${p} && !${x}`}function S(){const $=m.$async?(0,e._)`(${y}.async ? await ${x}(${o}) : ${x}(${o}))`:(0,e._)`${x}(${o})`,E=(0,e._)`(typeof ${x} == "function" ? ${$} : ${x}.test(${o}))`;return(0,e._)`${x} && ${x} !== true && ${b} === ${r} && !${E}`}}function v(){const g=f.formats[d];if(!g){w();return}if(g===!0)return;const[y,b,x]=S(g);y===r&&n.pass($());function w(){if(s.strictSchema===!1){f.logger.warn(E());return}throw new Error(E());function E(){return`unknown format "${d}" ignored in schema at path "${u}"`}}function S(E){const P=E instanceof RegExp?(0,e.regexpCode)(E):s.code.formats?(0,e._)`${s.code.formats}${(0,e.getProperty)(d)}`:void 0,B=c.scopeValue("formats",{key:d,ref:E,code:P});return typeof E=="object"&&!(E instanceof RegExp)?[E.type||"string",E.validate,(0,e._)`${B}.validate`]:["string",E,B]}function $(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!m.$async)throw new Error("async format in sync schema");return(0,e._)`await ${x}(${o})`}return typeof b=="function"?(0,e._)`${x}(${o})`:(0,e._)`${x}.test(${o})`}}}};return gi.default=i,gi}var Eu;function oh(){if(Eu)return vi;Eu=1,Object.defineProperty(vi,"__esModule",{value:!0});const t=[by().default];return vi.default=t,vi}var ut={},ku;function ch(){return ku||(ku=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.contentVocabulary=ut.metadataVocabulary=void 0,ut.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],ut.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),ut}var Ru;function xy(){if(Ru)return Tn;Ru=1,Object.defineProperty(Tn,"__esModule",{value:!0});const e=Zm(),t=eh(),i=ah(),n=py(),r=hy(),c=yy(),o=oh(),l=ch(),d=[n.default,e.default,t.default,(0,i.default)(!0),o.default,l.metadataVocabulary,l.contentVocabulary,r.default,c.default];return Tn.default=d,Tn}var yi={},Jt={},Au;function wy(){if(Au)return Jt;Au=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Jt.DiscrError=e={})),Jt}var Pu;function lh(){if(Pu)return yi;Pu=1,Object.defineProperty(yi,"__esModule",{value:!0});const e=ie(),t=wy(),i=pa(),n=hn(),r=se(),o={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:l,tagName:d}})=>l===t.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:l,tag:d,tagName:p}})=>(0,e._)`{error: ${l}, tag: ${p}, tagValue: ${d}}`},code(l){const{gen:d,data:p,schema:a,parentSchema:s,it:u}=l,{oneOf:m}=s;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=a.propertyName;if(typeof f!="string")throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!m)throw new Error("discriminator: requires oneOf keyword");const h=d.let("valid",!1),v=d.const("tag",(0,e._)`${p}${(0,e.getProperty)(f)}`);d.if((0,e._)`typeof ${v} == "string"`,()=>g(),()=>l.error(!1,{discrError:t.DiscrError.Tag,tag:v,tagName:f})),l.ok(h);function g(){const x=b();d.if(!1);for(const w in x)d.elseIf((0,e._)`${v} === ${w}`),d.assign(h,y(x[w]));d.else(),l.error(!1,{discrError:t.DiscrError.Mapping,tag:v,tagName:f}),d.endIf()}function y(x){const w=d.name("valid"),S=l.subschema({keyword:"oneOf",schemaProp:x},w);return l.mergeEvaluated(S,e.Name),w}function b(){var x;const w={},S=E(s);let $=!0;for(let D=0;D<m.length;D++){let V=m[D];if(V?.$ref&&!(0,r.schemaHasRulesButRef)(V,u.self.RULES)){const q=V.$ref;if(V=i.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,q),V instanceof i.SchemaEnv&&(V=V.schema),V===void 0)throw new n.default(u.opts.uriResolver,u.baseId,q)}const G=(x=V?.properties)===null||x===void 0?void 0:x[f];if(typeof G!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);$=$&&(S||E(V)),P(G,D)}if(!$)throw new Error(`discriminator: "${f}" must be required`);return w;function E({required:D}){return Array.isArray(D)&&D.includes(f)}function P(D,V){if(D.const)B(D.const,V);else if(D.enum)for(const G of D.enum)B(G,V);else throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`)}function B(D,V){if(typeof D!="string"||D in w)throw new Error(`discriminator: "${f}" values must be unique strings`);w[D]=V}}}};return yi.default=o,yi}var bi={};const Sy="https://json-schema.org/draft/2020-12/schema",$y="https://json-schema.org/draft/2020-12/schema",_y={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},Ey="meta",ky="Core and Validation specifications meta-schema",Ry=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],Ay=["object","boolean"],Py="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",Ty={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},Oy={$schema:Sy,$id:$y,$vocabulary:_y,$dynamicAnchor:Ey,title:ky,allOf:Ry,type:Ay,$comment:Py,properties:Ty},Ny="https://json-schema.org/draft/2020-12/schema",jy="https://json-schema.org/draft/2020-12/meta/applicator",Cy={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},Iy="meta",qy="Applicator vocabulary meta-schema",Ly=["object","boolean"],My={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},Dy={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},Fy={$schema:Ny,$id:jy,$vocabulary:Cy,$dynamicAnchor:Iy,title:qy,type:Ly,properties:My,$defs:Dy},Uy="https://json-schema.org/draft/2020-12/schema",zy="https://json-schema.org/draft/2020-12/meta/unevaluated",By={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},Vy="meta",Ky="Unevaluated applicator vocabulary meta-schema",Gy=["object","boolean"],Hy={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Wy={$schema:Uy,$id:zy,$vocabulary:By,$dynamicAnchor:Vy,title:Ky,type:Gy,properties:Hy},Yy="https://json-schema.org/draft/2020-12/schema",Jy="https://json-schema.org/draft/2020-12/meta/content",Xy={"https://json-schema.org/draft/2020-12/vocab/content":!0},Qy="meta",Zy="Content vocabulary meta-schema",eb=["object","boolean"],tb={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},nb={$schema:Yy,$id:Jy,$vocabulary:Xy,$dynamicAnchor:Qy,title:Zy,type:eb,properties:tb},ib="https://json-schema.org/draft/2020-12/schema",ab="https://json-schema.org/draft/2020-12/meta/core",rb={"https://json-schema.org/draft/2020-12/vocab/core":!0},sb="meta",ob="Core vocabulary meta-schema",cb=["object","boolean"],lb={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},ub={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},pb={$schema:ib,$id:ab,$vocabulary:rb,$dynamicAnchor:sb,title:ob,type:cb,properties:lb,$defs:ub},db="https://json-schema.org/draft/2020-12/schema",fb="https://json-schema.org/draft/2020-12/meta/format-annotation",mb={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},hb="meta",vb="Format vocabulary meta-schema for annotation results",gb=["object","boolean"],yb={format:{type:"string"}},bb={$schema:db,$id:fb,$vocabulary:mb,$dynamicAnchor:hb,title:vb,type:gb,properties:yb},xb="https://json-schema.org/draft/2020-12/schema",wb="https://json-schema.org/draft/2020-12/meta/meta-data",Sb={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$b="meta",_b="Meta-data vocabulary meta-schema",Eb=["object","boolean"],kb={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Rb={$schema:xb,$id:wb,$vocabulary:Sb,$dynamicAnchor:$b,title:_b,type:Eb,properties:kb},Ab="https://json-schema.org/draft/2020-12/schema",Pb="https://json-schema.org/draft/2020-12/meta/validation",Tb={"https://json-schema.org/draft/2020-12/vocab/validation":!0},Ob="meta",Nb="Validation vocabulary meta-schema",jb=["object","boolean"],Cb={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},Ib={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},qb={$schema:Ab,$id:Pb,$vocabulary:Tb,$dynamicAnchor:Ob,title:Nb,type:jb,properties:Cb,$defs:Ib};var Tu;function Lb(){if(Tu)return bi;Tu=1,Object.defineProperty(bi,"__esModule",{value:!0});const e=Oy,t=Fy,i=Wy,n=nb,r=pb,c=bb,o=Rb,l=qb,d=["/properties"];function p(a){return[e,t,i,n,r,s(this,c),o,s(this,l)].forEach(u=>this.addMetaSchema(u,void 0,!1)),this;function s(u,m){return a?u.$dataMetaSchema(m,d):m}}return bi.default=p,bi}var Ou;function Mb(){return Ou||(Ou=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const i=Qm(),n=xy(),r=lh(),c=Lb(),o="https://json-schema.org/draft/2020-12/schema";class l extends i.default{constructor(m={}){super({...m,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),n.default.forEach(m=>this.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:m,meta:f}=this.opts;f&&(c.default.call(this,m),this.refs["http://json-schema.org/schema"]=o)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(o)?o:void 0)}}t.Ajv2020=l,e.exports=t=l,e.exports.Ajv2020=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var d=mn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var p=ie();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}});var a=ua();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return a.default}});var s=hn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return s.default}})})(En,En.exports)),En.exports}var Db=Mb(),xi={exports:{}},Ya={},Nu;function Fb(){return Nu||(Nu=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(D,V){return{validate:D,compare:V}}e.fullFormats={date:t(c,o),time:t(d(!0),p),"date-time":t(u(!0),m),"iso-time":t(d(),a),"iso-date-time":t(u(),f),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:g,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:B,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:b,int32:{type:"number",validate:S},int64:{type:"number",validate:$},float:{type:"number",validate:E},double:{type:"number",validate:E},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,o),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,m),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,a),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,f),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function i(D){return D%4===0&&(D%100!==0||D%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,r=[0,31,28,31,30,31,30,31,31,30,31,30,31];function c(D){const V=n.exec(D);if(!V)return!1;const G=+V[1],q=+V[2],z=+V[3];return q>=1&&q<=12&&z>=1&&z<=(q===2&&i(G)?29:r[q])}function o(D,V){if(D&&V)return D>V?1:D<V?-1:0}const l=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(D){return function(G){const q=l.exec(G);if(!q)return!1;const z=+q[1],O=+q[2],R=+q[3],T=q[4],U=q[5]==="-"?-1:1,C=+(q[6]||0),A=+(q[7]||0);if(C>23||A>59||D&&!T)return!1;if(z<=23&&O<=59&&R<60)return!0;const I=O-A*U,N=z-C*U-(I<0?1:0);return(N===23||N===-1)&&(I===59||I===-1)&&R<61}}function p(D,V){if(!(D&&V))return;const G=new Date("2020-01-01T"+D).valueOf(),q=new Date("2020-01-01T"+V).valueOf();if(G&&q)return G-q}function a(D,V){if(!(D&&V))return;const G=l.exec(D),q=l.exec(V);if(G&&q)return D=G[1]+G[2]+G[3],V=q[1]+q[2]+q[3],D>V?1:D<V?-1:0}const s=/t|\s/i;function u(D){const V=d(D);return function(q){const z=q.split(s);return z.length===2&&c(z[0])&&V(z[1])}}function m(D,V){if(!(D&&V))return;const G=new Date(D).valueOf(),q=new Date(V).valueOf();if(G&&q)return G-q}function f(D,V){if(!(D&&V))return;const[G,q]=D.split(s),[z,O]=V.split(s),R=o(G,z);if(R!==void 0)return R||p(q,O)}const h=/\/|:/,v=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function g(D){return h.test(D)&&v.test(D)}const y=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function b(D){return y.lastIndex=0,y.test(D)}const x=-2147483648,w=2**31-1;function S(D){return Number.isInteger(D)&&D<=w&&D>=x}function $(D){return Number.isInteger(D)}function E(){return!0}const P=/[^\\]\\Z/;function B(D){if(P.test(D))return!1;try{return new RegExp(D),!0}catch{return!1}}})(Ya)),Ya}var Ja={},wi={exports:{}},Si={},ju;function Ub(){if(ju)return Si;ju=1,Object.defineProperty(Si,"__esModule",{value:!0});const e=Zm(),t=eh(),i=ah(),n=oh(),r=ch(),c=[e.default,t.default,(0,i.default)(),n.default,r.metadataVocabulary,r.contentVocabulary];return Si.default=c,Si}const zb="http://json-schema.org/draft-07/schema#",Bb="http://json-schema.org/draft-07/schema#",Vb="Core schema meta-schema",Kb={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Gb=["object","boolean"],Hb={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},Wb={$schema:zb,$id:Bb,title:Vb,definitions:Kb,type:Gb,properties:Hb,default:!0};var Cu;function Yb(){return Cu||(Cu=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const i=Qm(),n=Ub(),r=lh(),c=Wb,o=["/properties"],l="http://json-schema.org/draft-07/schema";class d extends i.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(f=>this.addVocabulary(f)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const f=this.opts.$data?this.$dataMetaSchema(c,o):c;this.addMetaSchema(f,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var p=mn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return p.KeywordCxt}});var a=ie();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});var s=ua();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return s.default}});var u=hn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return u.default}})})(wi,wi.exports)),wi.exports}var Iu;function Jb(){return Iu||(Iu=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=Yb(),i=ie(),n=i.operators,r={formatMaximum:{okStr:"<=",ok:n.LTE,fail:n.GT},formatMinimum:{okStr:">=",ok:n.GTE,fail:n.LT},formatExclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},formatExclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},c={message:({keyword:l,schemaCode:d})=>(0,i.str)`should be ${r[l].okStr} ${d}`,params:({keyword:l,schemaCode:d})=>(0,i._)`{comparison: ${r[l].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(r),type:"string",schemaType:"string",$data:!0,error:c,code(l){const{gen:d,data:p,schemaCode:a,keyword:s,it:u}=l,{opts:m,self:f}=u;if(!m.validateFormats)return;const h=new t.KeywordCxt(u,f.RULES.all.format.definition,"format");h.$data?v():g();function v(){const b=d.scopeValue("formats",{ref:f.formats,code:m.code.formats}),x=d.const("fmt",(0,i._)`${b}[${h.schemaCode}]`);l.fail$data((0,i.or)((0,i._)`typeof ${x} != "object"`,(0,i._)`${x} instanceof RegExp`,(0,i._)`typeof ${x}.compare != "function"`,y(x)))}function g(){const b=h.schema,x=f.formats[b];if(!x||x===!0)return;if(typeof x!="object"||x instanceof RegExp||typeof x.compare!="function")throw new Error(`"${s}": format "${b}" does not define "compare" function`);const w=d.scopeValue("formats",{key:b,ref:x,code:m.code.formats?(0,i._)`${m.code.formats}${(0,i.getProperty)(b)}`:void 0});l.fail$data(y(w))}function y(b){return(0,i._)`${b}.compare(${p}, ${a}) ${r[s].fail} 0`}},dependencies:["format"]};const o=l=>(l.addKeyword(e.formatLimitDefinition),l);e.default=o})(Ja)),Ja}var qu;function Xb(){return qu||(qu=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const i=Fb(),n=Jb(),r=ie(),c=new r.Name("fullFormats"),o=new r.Name("fastFormats"),l=(p,a={keywords:!0})=>{if(Array.isArray(a))return d(p,a,i.fullFormats,c),p;const[s,u]=a.mode==="fast"?[i.fastFormats,o]:[i.fullFormats,c],m=a.formats||i.formatNames;return d(p,m,s,u),a.keywords&&(0,n.default)(p),p};l.get=(p,a="full")=>{const u=(a==="fast"?i.fastFormats:i.fullFormats)[p];if(!u)throw new Error(`Unknown format "${p}"`);return u};function d(p,a,s,u){var m,f;(m=(f=p.opts.code).formats)!==null&&m!==void 0||(f.formats=(0,r._)`require("ajv-formats/dist/formats").${u}`);for(const h of a)p.addFormat(h,s[h])}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l})(xi,xi.exports)),xi.exports}var Qb=Xb();const Zb=fn(Qb),ex=(e,t,i,n)=>{if(i==="length"||i==="prototype"||i==="arguments"||i==="caller")return;const r=Object.getOwnPropertyDescriptor(e,i),c=Object.getOwnPropertyDescriptor(t,i);!tx(r,c)&&n||Object.defineProperty(e,i,c)},tx=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},nx=(e,t)=>{const i=Object.getPrototypeOf(t);i!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,i)},ix=(e,t)=>`/* Wrapped ${e}*/
9
- ${t}`,ax=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),rx=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),sx=(e,t,i)=>{const n=i===""?"":`with ${i.trim()}() `,r=ix.bind(null,n,t.toString());Object.defineProperty(r,"name",rx);const{writable:c,enumerable:o,configurable:l}=ax;Object.defineProperty(e,"toString",{value:r,writable:c,enumerable:o,configurable:l})};function ox(e,t,{ignoreNonConfigurable:i=!1}={}){const{name:n}=e;for(const r of Reflect.ownKeys(t))ex(e,t,r,i);return nx(e,t),sx(e,t,n),e}const Lu=(e,t={})=>{if(typeof e!="function")throw new TypeError(`Expected the first argument to be a function, got \`${typeof e}\``);const{wait:i=0,maxWait:n=Number.POSITIVE_INFINITY,before:r=!1,after:c=!0}=t;if(i<0||n<0)throw new RangeError("`wait` and `maxWait` must not be negative.");if(!r&&!c)throw new Error("Both `before` and `after` are false, function wouldn't be called.");let o,l,d;const p=function(...a){const s=this,u=()=>{o=void 0,l&&(clearTimeout(l),l=void 0),c&&(d=e.apply(s,a))},m=()=>{l=void 0,o&&(clearTimeout(o),o=void 0),c&&(d=e.apply(s,a))},f=r&&!o;return clearTimeout(o),o=setTimeout(u,i),n>0&&n!==Number.POSITIVE_INFINITY&&!l&&(l=setTimeout(m,n)),f&&(d=e.apply(s,a)),d};return ox(p,e),p.cancel=()=>{o&&(clearTimeout(o),o=void 0),l&&(clearTimeout(l),l=void 0)},p};var $i={exports:{}},Xa,Mu;function da(){if(Mu)return Xa;Mu=1;const e="2.0.0",t=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,n=16,r=t-6;return Xa={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_SAFE_INTEGER:i,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Xa}var Qa,Du;function fa(){return Du||(Du=1,Qa=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{}),Qa}var Fu;function vn(){return Fu||(Fu=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=da(),c=fa();t=e.exports={};const o=t.re=[],l=t.safeRe=[],d=t.src=[],p=t.safeSrc=[],a=t.t={};let s=0;const u="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",r],[u,n]],f=v=>{for(const[g,y]of m)v=v.split(`${g}*`).join(`${g}{0,${y}}`).split(`${g}+`).join(`${g}{1,${y}}`);return v},h=(v,g,y)=>{const b=f(g),x=s++;c(v,x,g),a[v]=x,d[x]=g,p[x]=b,o[x]=new RegExp(g,y?"g":void 0),l[x]=new RegExp(b,y?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),h("MAINVERSION",`(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${d[a.PRERELEASEIDENTIFIER]}(?:\\.${d[a.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${d[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[a.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${u}+`),h("BUILD",`(?:\\+(${d[a.BUILDIDENTIFIER]}(?:\\.${d[a.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${d[a.MAINVERSION]}${d[a.PRERELEASE]}?${d[a.BUILD]}?`),h("FULL",`^${d[a.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${d[a.MAINVERSIONLOOSE]}${d[a.PRERELEASELOOSE]}?${d[a.BUILD]}?`),h("LOOSE",`^${d[a.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${d[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${d[a.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:${d[a.PRERELEASE]})?${d[a.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:${d[a.PRERELEASELOOSE]})?${d[a.BUILD]}?)?)?`),h("XRANGE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),h("COERCE",`${d[a.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",d[a.COERCEPLAIN]+`(?:${d[a.PRERELEASE]})?(?:${d[a.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",d[a.COERCE],!0),h("COERCERTLFULL",d[a.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${d[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${d[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${d[a.LONECARET]}${d[a.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${d[a.LONECARET]}${d[a.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${d[a.GTLT]}\\s*(${d[a.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]}|${d[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${d[a.XRANGEPLAIN]})\\s+-\\s+(${d[a.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${d[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[a.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})($i,$i.exports)),$i.exports}var Za,Uu;function vc(){if(Uu)return Za;Uu=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return Za=n=>n?typeof n!="object"?e:n:t,Za}var er,zu;function uh(){if(zu)return er;zu=1;const e=/^[0-9]+$/,t=(n,r)=>{const c=e.test(n),o=e.test(r);return c&&o&&(n=+n,r=+r),n===r?0:c&&!o?-1:o&&!c?1:n<r?-1:1};return er={compareIdentifiers:t,rcompareIdentifiers:(n,r)=>t(r,n)},er}var tr,Bu;function Pe(){if(Bu)return tr;Bu=1;const e=fa(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:i}=da(),{safeRe:n,t:r}=vn(),c=vc(),{compareIdentifiers:o}=uh();class l{constructor(p,a){if(a=c(a),p instanceof l){if(p.loose===!!a.loose&&p.includePrerelease===!!a.includePrerelease)return p;p=p.version}else if(typeof p!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof p}".`);if(p.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",p,a),this.options=a,this.loose=!!a.loose,this.includePrerelease=!!a.includePrerelease;const s=p.trim().match(a.loose?n[r.LOOSE]:n[r.FULL]);if(!s)throw new TypeError(`Invalid Version: ${p}`);if(this.raw=p,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(u=>{if(/^[0-9]+$/.test(u)){const m=+u;if(m>=0&&m<i)return m}return u}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(p){if(e("SemVer.compare",this.version,this.options,p),!(p instanceof l)){if(typeof p=="string"&&p===this.version)return 0;p=new l(p,this.options)}return p.version===this.version?0:this.compareMain(p)||this.comparePre(p)}compareMain(p){return p instanceof l||(p=new l(p,this.options)),o(this.major,p.major)||o(this.minor,p.minor)||o(this.patch,p.patch)}comparePre(p){if(p instanceof l||(p=new l(p,this.options)),this.prerelease.length&&!p.prerelease.length)return-1;if(!this.prerelease.length&&p.prerelease.length)return 1;if(!this.prerelease.length&&!p.prerelease.length)return 0;let a=0;do{const s=this.prerelease[a],u=p.prerelease[a];if(e("prerelease compare",a,s,u),s===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(s===void 0)return-1;if(s===u)continue;return o(s,u)}while(++a)}compareBuild(p){p instanceof l||(p=new l(p,this.options));let a=0;do{const s=this.build[a],u=p.build[a];if(e("build compare",a,s,u),s===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(s===void 0)return-1;if(s===u)continue;return o(s,u)}while(++a)}inc(p,a,s){if(p.startsWith("pre")){if(!a&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(a){const u=`-${a}`.match(this.options.loose?n[r.PRERELEASELOOSE]:n[r.PRERELEASE]);if(!u||u[1]!==a)throw new Error(`invalid identifier: ${a}`)}}switch(p){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",a,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",a,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",a,s),this.inc("pre",a,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",a,s),this.inc("pre",a,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const u=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[u];else{let m=this.prerelease.length;for(;--m>=0;)typeof this.prerelease[m]=="number"&&(this.prerelease[m]++,m=-2);if(m===-1){if(a===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(u)}}if(a){let m=[a,u];s===!1&&(m=[a]),o(this.prerelease[0],a)===0?isNaN(this.prerelease[1])&&(this.prerelease=m):this.prerelease=m}break}default:throw new Error(`invalid increment argument: ${p}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return tr=l,tr}var nr,Vu;function Ft(){if(Vu)return nr;Vu=1;const e=Pe();return nr=(i,n,r=!1)=>{if(i instanceof e)return i;try{return new e(i,n)}catch(c){if(!r)return null;throw c}},nr}var ir,Ku;function cx(){if(Ku)return ir;Ku=1;const e=Ft();return ir=(i,n)=>{const r=e(i,n);return r?r.version:null},ir}var ar,Gu;function lx(){if(Gu)return ar;Gu=1;const e=Ft();return ar=(i,n)=>{const r=e(i.trim().replace(/^[=v]+/,""),n);return r?r.version:null},ar}var rr,Hu;function ux(){if(Hu)return rr;Hu=1;const e=Pe();return rr=(i,n,r,c,o)=>{typeof r=="string"&&(o=c,c=r,r=void 0);try{return new e(i instanceof e?i.version:i,r).inc(n,c,o).version}catch{return null}},rr}var sr,Wu;function px(){if(Wu)return sr;Wu=1;const e=Ft();return sr=(i,n)=>{const r=e(i,null,!0),c=e(n,null,!0),o=r.compare(c);if(o===0)return null;const l=o>0,d=l?r:c,p=l?c:r,a=!!d.prerelease.length;if(!!p.prerelease.length&&!a){if(!p.patch&&!p.minor)return"major";if(p.compareMain(d)===0)return p.minor&&!p.patch?"minor":"patch"}const u=a?"pre":"";return r.major!==c.major?u+"major":r.minor!==c.minor?u+"minor":r.patch!==c.patch?u+"patch":"prerelease"},sr}var or,Yu;function dx(){if(Yu)return or;Yu=1;const e=Pe();return or=(i,n)=>new e(i,n).major,or}var cr,Ju;function fx(){if(Ju)return cr;Ju=1;const e=Pe();return cr=(i,n)=>new e(i,n).minor,cr}var lr,Xu;function mx(){if(Xu)return lr;Xu=1;const e=Pe();return lr=(i,n)=>new e(i,n).patch,lr}var ur,Qu;function hx(){if(Qu)return ur;Qu=1;const e=Ft();return ur=(i,n)=>{const r=e(i,n);return r&&r.prerelease.length?r.prerelease:null},ur}var pr,Zu;function Ue(){if(Zu)return pr;Zu=1;const e=Pe();return pr=(i,n,r)=>new e(i,r).compare(new e(n,r)),pr}var dr,ep;function vx(){if(ep)return dr;ep=1;const e=Ue();return dr=(i,n,r)=>e(n,i,r),dr}var fr,tp;function gx(){if(tp)return fr;tp=1;const e=Ue();return fr=(i,n)=>e(i,n,!0),fr}var mr,np;function gc(){if(np)return mr;np=1;const e=Pe();return mr=(i,n,r)=>{const c=new e(i,r),o=new e(n,r);return c.compare(o)||c.compareBuild(o)},mr}var hr,ip;function yx(){if(ip)return hr;ip=1;const e=gc();return hr=(i,n)=>i.sort((r,c)=>e(r,c,n)),hr}var vr,ap;function bx(){if(ap)return vr;ap=1;const e=gc();return vr=(i,n)=>i.sort((r,c)=>e(c,r,n)),vr}var gr,rp;function ma(){if(rp)return gr;rp=1;const e=Ue();return gr=(i,n,r)=>e(i,n,r)>0,gr}var yr,sp;function yc(){if(sp)return yr;sp=1;const e=Ue();return yr=(i,n,r)=>e(i,n,r)<0,yr}var br,op;function ph(){if(op)return br;op=1;const e=Ue();return br=(i,n,r)=>e(i,n,r)===0,br}var xr,cp;function dh(){if(cp)return xr;cp=1;const e=Ue();return xr=(i,n,r)=>e(i,n,r)!==0,xr}var wr,lp;function bc(){if(lp)return wr;lp=1;const e=Ue();return wr=(i,n,r)=>e(i,n,r)>=0,wr}var Sr,up;function xc(){if(up)return Sr;up=1;const e=Ue();return Sr=(i,n,r)=>e(i,n,r)<=0,Sr}var $r,pp;function fh(){if(pp)return $r;pp=1;const e=ph(),t=dh(),i=ma(),n=bc(),r=yc(),c=xc();return $r=(l,d,p,a)=>{switch(d){case"===":return typeof l=="object"&&(l=l.version),typeof p=="object"&&(p=p.version),l===p;case"!==":return typeof l=="object"&&(l=l.version),typeof p=="object"&&(p=p.version),l!==p;case"":case"=":case"==":return e(l,p,a);case"!=":return t(l,p,a);case">":return i(l,p,a);case">=":return n(l,p,a);case"<":return r(l,p,a);case"<=":return c(l,p,a);default:throw new TypeError(`Invalid operator: ${d}`)}},$r}var _r,dp;function xx(){if(dp)return _r;dp=1;const e=Pe(),t=Ft(),{safeRe:i,t:n}=vn();return _r=(c,o)=>{if(c instanceof e)return c;if(typeof c=="number"&&(c=String(c)),typeof c!="string")return null;o=o||{};let l=null;if(!o.rtl)l=c.match(o.includePrerelease?i[n.COERCEFULL]:i[n.COERCE]);else{const m=o.includePrerelease?i[n.COERCERTLFULL]:i[n.COERCERTL];let f;for(;(f=m.exec(c))&&(!l||l.index+l[0].length!==c.length);)(!l||f.index+f[0].length!==l.index+l[0].length)&&(l=f),m.lastIndex=f.index+f[1].length+f[2].length;m.lastIndex=-1}if(l===null)return null;const d=l[2],p=l[3]||"0",a=l[4]||"0",s=o.includePrerelease&&l[5]?`-${l[5]}`:"",u=o.includePrerelease&&l[6]?`+${l[6]}`:"";return t(`${d}.${p}.${a}${s}${u}`,o)},_r}var Er,fp;function wx(){if(fp)return Er;fp=1;class e{constructor(){this.max=1e3,this.map=new Map}get(i){const n=this.map.get(i);if(n!==void 0)return this.map.delete(i),this.map.set(i,n),n}delete(i){return this.map.delete(i)}set(i,n){if(!this.delete(i)&&n!==void 0){if(this.map.size>=this.max){const c=this.map.keys().next().value;this.delete(c)}this.map.set(i,n)}return this}}return Er=e,Er}var kr,mp;function ze(){if(mp)return kr;mp=1;const e=/\s+/g;class t{constructor(z,O){if(O=r(O),z instanceof t)return z.loose===!!O.loose&&z.includePrerelease===!!O.includePrerelease?z:new t(z.raw,O);if(z instanceof c)return this.raw=z.value,this.set=[[z]],this.formatted=void 0,this;if(this.options=O,this.loose=!!O.loose,this.includePrerelease=!!O.includePrerelease,this.raw=z.trim().replace(e," "),this.set=this.raw.split("||").map(R=>this.parseRange(R.trim())).filter(R=>R.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const R=this.set[0];if(this.set=this.set.filter(T=>!h(T[0])),this.set.length===0)this.set=[R];else if(this.set.length>1){for(const T of this.set)if(T.length===1&&v(T[0])){this.set=[T];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let z=0;z<this.set.length;z++){z>0&&(this.formatted+="||");const O=this.set[z];for(let R=0;R<O.length;R++)R>0&&(this.formatted+=" "),this.formatted+=O[R].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(z){const R=((this.options.includePrerelease&&m)|(this.options.loose&&f))+":"+z,T=n.get(R);if(T)return T;const U=this.options.loose,C=U?d[p.HYPHENRANGELOOSE]:d[p.HYPHENRANGE];z=z.replace(C,V(this.options.includePrerelease)),o("hyphen replace",z),z=z.replace(d[p.COMPARATORTRIM],a),o("comparator trim",z),z=z.replace(d[p.TILDETRIM],s),o("tilde trim",z),z=z.replace(d[p.CARETTRIM],u),o("caret trim",z);let A=z.split(" ").map(k=>y(k,this.options)).join(" ").split(/\s+/).map(k=>D(k,this.options));U&&(A=A.filter(k=>(o("loose invalid filter",k,this.options),!!k.match(d[p.COMPARATORLOOSE])))),o("range list",A);const I=new Map,N=A.map(k=>new c(k,this.options));for(const k of N){if(h(k))return[k];I.set(k.value,k)}I.size>1&&I.has("")&&I.delete("");const _=[...I.values()];return n.set(R,_),_}intersects(z,O){if(!(z instanceof t))throw new TypeError("a Range is required");return this.set.some(R=>g(R,O)&&z.set.some(T=>g(T,O)&&R.every(U=>T.every(C=>U.intersects(C,O)))))}test(z){if(!z)return!1;if(typeof z=="string")try{z=new l(z,this.options)}catch{return!1}for(let O=0;O<this.set.length;O++)if(G(this.set[O],z,this.options))return!0;return!1}}kr=t;const i=wx(),n=new i,r=vc(),c=ha(),o=fa(),l=Pe(),{safeRe:d,t:p,comparatorTrimReplace:a,tildeTrimReplace:s,caretTrimReplace:u}=vn(),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:f}=da(),h=q=>q.value==="<0.0.0-0",v=q=>q.value==="",g=(q,z)=>{let O=!0;const R=q.slice();let T=R.pop();for(;O&&R.length;)O=R.every(U=>T.intersects(U,z)),T=R.pop();return O},y=(q,z)=>(o("comp",q,z),q=S(q,z),o("caret",q),q=x(q,z),o("tildes",q),q=E(q,z),o("xrange",q),q=B(q,z),o("stars",q),q),b=q=>!q||q.toLowerCase()==="x"||q==="*",x=(q,z)=>q.trim().split(/\s+/).map(O=>w(O,z)).join(" "),w=(q,z)=>{const O=z.loose?d[p.TILDELOOSE]:d[p.TILDE];return q.replace(O,(R,T,U,C,A)=>{o("tilde",q,R,T,U,C,A);let I;return b(T)?I="":b(U)?I=`>=${T}.0.0 <${+T+1}.0.0-0`:b(C)?I=`>=${T}.${U}.0 <${T}.${+U+1}.0-0`:A?(o("replaceTilde pr",A),I=`>=${T}.${U}.${C}-${A} <${T}.${+U+1}.0-0`):I=`>=${T}.${U}.${C} <${T}.${+U+1}.0-0`,o("tilde return",I),I})},S=(q,z)=>q.trim().split(/\s+/).map(O=>$(O,z)).join(" "),$=(q,z)=>{o("caret",q,z);const O=z.loose?d[p.CARETLOOSE]:d[p.CARET],R=z.includePrerelease?"-0":"";return q.replace(O,(T,U,C,A,I)=>{o("caret",q,T,U,C,A,I);let N;return b(U)?N="":b(C)?N=`>=${U}.0.0${R} <${+U+1}.0.0-0`:b(A)?U==="0"?N=`>=${U}.${C}.0${R} <${U}.${+C+1}.0-0`:N=`>=${U}.${C}.0${R} <${+U+1}.0.0-0`:I?(o("replaceCaret pr",I),U==="0"?C==="0"?N=`>=${U}.${C}.${A}-${I} <${U}.${C}.${+A+1}-0`:N=`>=${U}.${C}.${A}-${I} <${U}.${+C+1}.0-0`:N=`>=${U}.${C}.${A}-${I} <${+U+1}.0.0-0`):(o("no pr"),U==="0"?C==="0"?N=`>=${U}.${C}.${A}${R} <${U}.${C}.${+A+1}-0`:N=`>=${U}.${C}.${A}${R} <${U}.${+C+1}.0-0`:N=`>=${U}.${C}.${A} <${+U+1}.0.0-0`),o("caret return",N),N})},E=(q,z)=>(o("replaceXRanges",q,z),q.split(/\s+/).map(O=>P(O,z)).join(" ")),P=(q,z)=>{q=q.trim();const O=z.loose?d[p.XRANGELOOSE]:d[p.XRANGE];return q.replace(O,(R,T,U,C,A,I)=>{o("xRange",q,R,T,U,C,A,I);const N=b(U),_=N||b(C),k=_||b(A),F=k;return T==="="&&F&&(T=""),I=z.includePrerelease?"-0":"",N?T===">"||T==="<"?R="<0.0.0-0":R="*":T&&F?(_&&(C=0),A=0,T===">"?(T=">=",_?(U=+U+1,C=0,A=0):(C=+C+1,A=0)):T==="<="&&(T="<",_?U=+U+1:C=+C+1),T==="<"&&(I="-0"),R=`${T+U}.${C}.${A}${I}`):_?R=`>=${U}.0.0${I} <${+U+1}.0.0-0`:k&&(R=`>=${U}.${C}.0${I} <${U}.${+C+1}.0-0`),o("xRange return",R),R})},B=(q,z)=>(o("replaceStars",q,z),q.trim().replace(d[p.STAR],"")),D=(q,z)=>(o("replaceGTE0",q,z),q.trim().replace(d[z.includePrerelease?p.GTE0PRE:p.GTE0],"")),V=q=>(z,O,R,T,U,C,A,I,N,_,k,F)=>(b(R)?O="":b(T)?O=`>=${R}.0.0${q?"-0":""}`:b(U)?O=`>=${R}.${T}.0${q?"-0":""}`:C?O=`>=${O}`:O=`>=${O}${q?"-0":""}`,b(N)?I="":b(_)?I=`<${+N+1}.0.0-0`:b(k)?I=`<${N}.${+_+1}.0-0`:F?I=`<=${N}.${_}.${k}-${F}`:q?I=`<${N}.${_}.${+k+1}-0`:I=`<=${I}`,`${O} ${I}`.trim()),G=(q,z,O)=>{for(let R=0;R<q.length;R++)if(!q[R].test(z))return!1;if(z.prerelease.length&&!O.includePrerelease){for(let R=0;R<q.length;R++)if(o(q[R].semver),q[R].semver!==c.ANY&&q[R].semver.prerelease.length>0){const T=q[R].semver;if(T.major===z.major&&T.minor===z.minor&&T.patch===z.patch)return!0}return!1}return!0};return kr}var Rr,hp;function ha(){if(hp)return Rr;hp=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(a,s){if(s=i(s),a instanceof t){if(a.loose===!!s.loose)return a;a=a.value}a=a.trim().split(/\s+/).join(" "),o("comparator",a,s),this.options=s,this.loose=!!s.loose,this.parse(a),this.semver===e?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(a){const s=this.options.loose?n[r.COMPARATORLOOSE]:n[r.COMPARATOR],u=a.match(s);if(!u)throw new TypeError(`Invalid comparator: ${a}`);this.operator=u[1]!==void 0?u[1]:"",this.operator==="="&&(this.operator=""),u[2]?this.semver=new l(u[2],this.options.loose):this.semver=e}toString(){return this.value}test(a){if(o("Comparator.test",a,this.options.loose),this.semver===e||a===e)return!0;if(typeof a=="string")try{a=new l(a,this.options)}catch{return!1}return c(a,this.operator,this.semver,this.options)}intersects(a,s){if(!(a instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new d(a.value,s).test(this.value):a.operator===""?a.value===""?!0:new d(this.value,s).test(a.semver):(s=i(s),s.includePrerelease&&(this.value==="<0.0.0-0"||a.value==="<0.0.0-0")||!s.includePrerelease&&(this.value.startsWith("<0.0.0")||a.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&a.operator.startsWith(">")||this.operator.startsWith("<")&&a.operator.startsWith("<")||this.semver.version===a.semver.version&&this.operator.includes("=")&&a.operator.includes("=")||c(this.semver,"<",a.semver,s)&&this.operator.startsWith(">")&&a.operator.startsWith("<")||c(this.semver,">",a.semver,s)&&this.operator.startsWith("<")&&a.operator.startsWith(">")))}}Rr=t;const i=vc(),{safeRe:n,t:r}=vn(),c=fh(),o=fa(),l=Pe(),d=ze();return Rr}var Ar,vp;function va(){if(vp)return Ar;vp=1;const e=ze();return Ar=(i,n,r)=>{try{n=new e(n,r)}catch{return!1}return n.test(i)},Ar}var Pr,gp;function Sx(){if(gp)return Pr;gp=1;const e=ze();return Pr=(i,n)=>new e(i,n).set.map(r=>r.map(c=>c.value).join(" ").trim().split(" ")),Pr}var Tr,yp;function $x(){if(yp)return Tr;yp=1;const e=Pe(),t=ze();return Tr=(n,r,c)=>{let o=null,l=null,d=null;try{d=new t(r,c)}catch{return null}return n.forEach(p=>{d.test(p)&&(!o||l.compare(p)===-1)&&(o=p,l=new e(o,c))}),o},Tr}var Or,bp;function _x(){if(bp)return Or;bp=1;const e=Pe(),t=ze();return Or=(n,r,c)=>{let o=null,l=null,d=null;try{d=new t(r,c)}catch{return null}return n.forEach(p=>{d.test(p)&&(!o||l.compare(p)===1)&&(o=p,l=new e(o,c))}),o},Or}var Nr,xp;function Ex(){if(xp)return Nr;xp=1;const e=Pe(),t=ze(),i=ma();return Nr=(r,c)=>{r=new t(r,c);let o=new e("0.0.0");if(r.test(o)||(o=new e("0.0.0-0"),r.test(o)))return o;o=null;for(let l=0;l<r.set.length;++l){const d=r.set[l];let p=null;d.forEach(a=>{const s=new e(a.semver.version);switch(a.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!p||i(s,p))&&(p=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),p&&(!o||i(o,p))&&(o=p)}return o&&r.test(o)?o:null},Nr}var jr,wp;function kx(){if(wp)return jr;wp=1;const e=ze();return jr=(i,n)=>{try{return new e(i,n).range||"*"}catch{return null}},jr}var Cr,Sp;function wc(){if(Sp)return Cr;Sp=1;const e=Pe(),t=ha(),{ANY:i}=t,n=ze(),r=va(),c=ma(),o=yc(),l=xc(),d=bc();return Cr=(a,s,u,m)=>{a=new e(a,m),s=new n(s,m);let f,h,v,g,y;switch(u){case">":f=c,h=l,v=o,g=">",y=">=";break;case"<":f=o,h=d,v=c,g="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(r(a,s,m))return!1;for(let b=0;b<s.set.length;++b){const x=s.set[b];let w=null,S=null;if(x.forEach($=>{$.semver===i&&($=new t(">=0.0.0")),w=w||$,S=S||$,f($.semver,w.semver,m)?w=$:v($.semver,S.semver,m)&&(S=$)}),w.operator===g||w.operator===y||(!S.operator||S.operator===g)&&h(a,S.semver))return!1;if(S.operator===y&&v(a,S.semver))return!1}return!0},Cr}var Ir,$p;function Rx(){if($p)return Ir;$p=1;const e=wc();return Ir=(i,n,r)=>e(i,n,">",r),Ir}var qr,_p;function Ax(){if(_p)return qr;_p=1;const e=wc();return qr=(i,n,r)=>e(i,n,"<",r),qr}var Lr,Ep;function Px(){if(Ep)return Lr;Ep=1;const e=ze();return Lr=(i,n,r)=>(i=new e(i,r),n=new e(n,r),i.intersects(n,r)),Lr}var Mr,kp;function Tx(){if(kp)return Mr;kp=1;const e=va(),t=Ue();return Mr=(i,n,r)=>{const c=[];let o=null,l=null;const d=i.sort((u,m)=>t(u,m,r));for(const u of d)e(u,n,r)?(l=u,o||(o=u)):(l&&c.push([o,l]),l=null,o=null);o&&c.push([o,null]);const p=[];for(const[u,m]of c)u===m?p.push(u):!m&&u===d[0]?p.push("*"):m?u===d[0]?p.push(`<=${m}`):p.push(`${u} - ${m}`):p.push(`>=${u}`);const a=p.join(" || "),s=typeof n.raw=="string"?n.raw:String(n);return a.length<s.length?a:n},Mr}var Dr,Rp;function Ox(){if(Rp)return Dr;Rp=1;const e=ze(),t=ha(),{ANY:i}=t,n=va(),r=Ue(),c=(s,u,m={})=>{if(s===u)return!0;s=new e(s,m),u=new e(u,m);let f=!1;e:for(const h of s.set){for(const v of u.set){const g=d(h,v,m);if(f=f||g!==null,g)continue e}if(f)return!1}return!0},o=[new t(">=0.0.0-0")],l=[new t(">=0.0.0")],d=(s,u,m)=>{if(s===u)return!0;if(s.length===1&&s[0].semver===i){if(u.length===1&&u[0].semver===i)return!0;m.includePrerelease?s=o:s=l}if(u.length===1&&u[0].semver===i){if(m.includePrerelease)return!0;u=l}const f=new Set;let h,v;for(const E of s)E.operator===">"||E.operator===">="?h=p(h,E,m):E.operator==="<"||E.operator==="<="?v=a(v,E,m):f.add(E.semver);if(f.size>1)return null;let g;if(h&&v){if(g=r(h.semver,v.semver,m),g>0)return null;if(g===0&&(h.operator!==">="||v.operator!=="<="))return null}for(const E of f){if(h&&!n(E,String(h),m)||v&&!n(E,String(v),m))return null;for(const P of u)if(!n(E,String(P),m))return!1;return!0}let y,b,x,w,S=v&&!m.includePrerelease&&v.semver.prerelease.length?v.semver:!1,$=h&&!m.includePrerelease&&h.semver.prerelease.length?h.semver:!1;S&&S.prerelease.length===1&&v.operator==="<"&&S.prerelease[0]===0&&(S=!1);for(const E of u){if(w=w||E.operator===">"||E.operator===">=",x=x||E.operator==="<"||E.operator==="<=",h){if($&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===$.major&&E.semver.minor===$.minor&&E.semver.patch===$.patch&&($=!1),E.operator===">"||E.operator===">="){if(y=p(h,E,m),y===E&&y!==h)return!1}else if(h.operator===">="&&!n(h.semver,String(E),m))return!1}if(v){if(S&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===S.major&&E.semver.minor===S.minor&&E.semver.patch===S.patch&&(S=!1),E.operator==="<"||E.operator==="<="){if(b=a(v,E,m),b===E&&b!==v)return!1}else if(v.operator==="<="&&!n(v.semver,String(E),m))return!1}if(!E.operator&&(v||h)&&g!==0)return!1}return!(h&&x&&!v&&g!==0||v&&w&&!h&&g!==0||$||S)},p=(s,u,m)=>{if(!s)return u;const f=r(s.semver,u.semver,m);return f>0?s:f<0||u.operator===">"&&s.operator===">="?u:s},a=(s,u,m)=>{if(!s)return u;const f=r(s.semver,u.semver,m);return f<0?s:f>0||u.operator==="<"&&s.operator==="<="?u:s};return Dr=c,Dr}var Fr,Ap;function Nx(){if(Ap)return Fr;Ap=1;const e=vn(),t=da(),i=Pe(),n=uh(),r=Ft(),c=cx(),o=lx(),l=ux(),d=px(),p=dx(),a=fx(),s=mx(),u=hx(),m=Ue(),f=vx(),h=gx(),v=gc(),g=yx(),y=bx(),b=ma(),x=yc(),w=ph(),S=dh(),$=bc(),E=xc(),P=fh(),B=xx(),D=ha(),V=ze(),G=va(),q=Sx(),z=$x(),O=_x(),R=Ex(),T=kx(),U=wc(),C=Rx(),A=Ax(),I=Px(),N=Tx(),_=Ox();return Fr={parse:r,valid:c,clean:o,inc:l,diff:d,major:p,minor:a,patch:s,prerelease:u,compare:m,rcompare:f,compareLoose:h,compareBuild:v,sort:g,rsort:y,gt:b,lt:x,eq:w,neq:S,gte:$,lte:E,cmp:P,coerce:B,Comparator:D,Range:V,satisfies:G,toComparators:q,maxSatisfying:z,minSatisfying:O,minVersion:R,validRange:T,outside:U,gtr:C,ltr:A,intersects:I,simplifyRange:N,subset:_,SemVer:i,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,RELEASE_TYPES:t.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers},Fr}var jx=Nx();const Rt=fn(jx),Cx=Object.prototype.toString,Ix="[object Uint8Array]",qx="[object ArrayBuffer]";function mh(e,t,i){return e?e.constructor===t?!0:Cx.call(e)===i:!1}function hh(e){return mh(e,Uint8Array,Ix)}function Lx(e){return mh(e,ArrayBuffer,qx)}function Mx(e){return hh(e)||Lx(e)}function Dx(e){if(!hh(e))throw new TypeError(`Expected \`Uint8Array\`, got \`${typeof e}\``)}function Fx(e){if(!Mx(e))throw new TypeError(`Expected \`Uint8Array\` or \`ArrayBuffer\`, got \`${typeof e}\``)}function Pp(e,t){if(e.length===0)return new Uint8Array(0);t??=e.reduce((r,c)=>r+c.length,0);const i=new Uint8Array(t);let n=0;for(const r of e)Dx(r),i.set(r,n),n+=r.length;return i}const Tp={utf8:new globalThis.TextDecoder("utf8")};function Op(e,t="utf8"){return Fx(e),Tp[t]??=new globalThis.TextDecoder(t),Tp[t].decode(e)}function Ux(e){if(typeof e!="string")throw new TypeError(`Expected \`string\`, got \`${typeof e}\``)}const zx=new globalThis.TextEncoder;function Ur(e){return Ux(e),zx.encode(e)}Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));const Bx=Zb.default,Np="aes-256-cbc",At=()=>Object.create(null),Vx=e=>e!=null,Kx=(e,t)=>{const i=new Set(["undefined","symbol","function"]),n=typeof t;if(i.has(n))throw new TypeError(`Setting a value of type \`${n}\` for key \`${e}\` is not allowed as it's not supported by JSON`)},zi="__internal__",zr=`${zi}.migrations.version`;class Gx{path;events;#i;#t;#e;#n={};constructor(t={}){const i={configName:"config",fileExtension:"json",projectSuffix:"nodejs",clearInvalidConfig:!1,accessPropertiesByDotNotation:!0,configFileMode:438,...t};if(!i.cwd){if(!i.projectName)throw new Error("Please specify the `projectName` option.");i.cwd=rg(i.projectName,{suffix:i.projectSuffix}).config}if(this.#e=i,i.schema??i.ajvOptions??i.rootSchema){if(i.schema&&typeof i.schema!="object")throw new TypeError("The `schema` option must be an object.");const o=new Db.Ajv2020({allErrors:!0,useDefaults:!0,...i.ajvOptions});Bx(o);const l={...i.rootSchema,type:"object",properties:i.schema};this.#i=o.compile(l);for(const[d,p]of Object.entries(i.schema??{}))p?.default&&(this.#n[d]=p.default)}i.defaults&&(this.#n={...this.#n,...i.defaults}),i.serialize&&(this._serialize=i.serialize),i.deserialize&&(this._deserialize=i.deserialize),this.events=new EventTarget,this.#t=i.encryptionKey;const n=i.fileExtension?`.${i.fileExtension}`:"";this.path=Z.resolve(i.cwd,`${i.configName??"config"}${n}`);const r=this.store,c=Object.assign(At(),i.defaults,r);if(i.migrations){if(!i.projectVersion)throw new Error("Please specify the `projectVersion` option.");this._migrate(i.migrations,i.projectVersion,i.beforeEachMigration)}this._validate(c);try{Fv.deepEqual(r,c)}catch{this.store=c}i.watch&&this._watch()}get(t,i){if(this.#e.accessPropertiesByDotNotation)return this._get(t,i);const{store:n}=this;return t in n?n[t]:i}set(t,i){if(typeof t!="string"&&typeof t!="object")throw new TypeError(`Expected \`key\` to be of type \`string\` or \`object\`, got ${typeof t}`);if(typeof t!="object"&&i===void 0)throw new TypeError("Use `delete()` to clear values");if(this._containsReservedKey(t))throw new TypeError(`Please don't use the ${zi} key, as it's used to manage this module internal operations.`);const{store:n}=this,r=(c,o)=>{Kx(c,o),this.#e.accessPropertiesByDotNotation?tl(n,c,o):n[c]=o};if(typeof t=="object"){const c=t;for(const[o,l]of Object.entries(c))r(o,l)}else r(t,i);this.store=n}has(t){return this.#e.accessPropertiesByDotNotation?tg(this.store,t):t in this.store}reset(...t){for(const i of t)Vx(this.#n[i])&&this.set(i,this.#n[i])}delete(t){const{store:i}=this;this.#e.accessPropertiesByDotNotation?eg(i,t):delete i[t],this.store=i}clear(){this.store=At();for(const t of Object.keys(this.#n))this.reset(t)}onDidChange(t,i){if(typeof t!="string")throw new TypeError(`Expected \`key\` to be of type \`string\`, got ${typeof t}`);if(typeof i!="function")throw new TypeError(`Expected \`callback\` to be of type \`function\`, got ${typeof i}`);return this._handleChange(()=>this.get(t),i)}onDidAnyChange(t){if(typeof t!="function")throw new TypeError(`Expected \`callback\` to be of type \`function\`, got ${typeof t}`);return this._handleChange(()=>this.store,t)}get size(){return Object.keys(this.store).length}get store(){try{const t=te.readFileSync(this.path,this.#t?null:"utf8"),i=this._encryptData(t),n=this._deserialize(i);return this._validate(n),Object.assign(At(),n)}catch(t){if(t?.code==="ENOENT")return this._ensureDirectory(),At();if(this.#e.clearInvalidConfig&&t.name==="SyntaxError")return At();throw t}}set store(t){this._ensureDirectory(),this._validate(t),this._write(t),this.events.dispatchEvent(new Event("change"))}*[Symbol.iterator](){for(const[t,i]of Object.entries(this.store))yield[t,i]}_encryptData(t){if(!this.#t)return typeof t=="string"?t:Op(t);try{const i=t.slice(0,16),n=Gt.pbkdf2Sync(this.#t,i.toString(),1e4,32,"sha512"),r=Gt.createDecipheriv(Np,n,i),c=t.slice(17),o=typeof c=="string"?Ur(c):c;return Op(Pp([r.update(o),r.final()]))}catch{}return t.toString()}_handleChange(t,i){let n=t();const r=()=>{const c=n,o=t();Se.isDeepStrictEqual(o,c)||(n=o,i.call(this,o,c))};return this.events.addEventListener("change",r),()=>{this.events.removeEventListener("change",r)}}_deserialize=t=>JSON.parse(t);_serialize=t=>JSON.stringify(t,void 0," ");_validate(t){if(!this.#i||this.#i(t)||!this.#i.errors)return;const n=this.#i.errors.map(({instancePath:r,message:c=""})=>`\`${r.slice(1)}\` ${c}`);throw new Error("Config schema violation: "+n.join("; "))}_ensureDirectory(){te.mkdirSync(Z.dirname(this.path),{recursive:!0})}_write(t){let i=this._serialize(t);if(this.#t){const n=Gt.randomBytes(16),r=Gt.pbkdf2Sync(this.#t,n.toString(),1e4,32,"sha512"),c=Gt.createCipheriv(Np,r,n);i=Pp([n,Ur(":"),c.update(Ur(i)),c.final()])}if(ve.env.SNAP)te.writeFileSync(this.path,i,{mode:this.#e.configFileMode});else try{Wm(this.path,i,{mode:this.#e.configFileMode})}catch(n){if(n?.code==="EXDEV"){te.writeFileSync(this.path,i,{mode:this.#e.configFileMode});return}throw n}}_watch(){this._ensureDirectory(),te.existsSync(this.path)||this._write(At()),ve.platform==="win32"?te.watch(this.path,{persistent:!1},Lu(()=>{this.events.dispatchEvent(new Event("change"))},{wait:100})):te.watchFile(this.path,{persistent:!1},Lu(()=>{this.events.dispatchEvent(new Event("change"))},{wait:5e3}))}_migrate(t,i,n){let r=this._get(zr,"0.0.0");const c=Object.keys(t).filter(l=>this._shouldPerformMigration(l,r,i));let o={...this.store};for(const l of c)try{n&&n(this,{fromVersion:r,toVersion:l,finalVersion:i,versions:c});const d=t[l];d?.(this),this._set(zr,l),r=l,o={...this.store}}catch(d){throw this.store=o,new Error(`Something went wrong during the migration! Changes applied to the store until this failed migration will be restored. ${d}`)}(this._isVersionInRangeFormat(r)||!Rt.eq(r,i))&&this._set(zr,i)}_containsReservedKey(t){return typeof t=="object"&&Object.keys(t)[0]===zi?!0:typeof t!="string"?!1:this.#e.accessPropertiesByDotNotation?!!t.startsWith(`${zi}.`):!1}_isVersionInRangeFormat(t){return Rt.clean(t)===null}_shouldPerformMigration(t,i,n){return this._isVersionInRangeFormat(t)?i!=="0.0.0"&&Rt.satisfies(i,t)?!1:Rt.satisfies(n,t):!(Rt.lte(t,i)||Rt.gt(t,n))}_get(t,i){return Zv(this.store,t,i)}_set(t,i){const{store:n}=this;tl(n,t,i),this.store=n}}const{app:Bi,ipcMain:Go,shell:Hx}=X;let jp=!1;const Cp=()=>{if(!Go||!Bi)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");const e={defaultCwd:Bi.getPath("userData"),appVersion:Bi.getVersion()};return jp||(Go.on("electron-store-get-data",t=>{t.returnValue=e}),jp=!0),e};class ga extends Gx{constructor(t){let i,n;if(ve.type==="renderer"){const r=X.ipcRenderer.sendSync("electron-store-get-data");if(!r)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");({defaultCwd:i,appVersion:n}=r)}else Go&&Bi&&({defaultCwd:i,appVersion:n}=Cp());t={name:"config",...t},t.projectVersion||=n,t.cwd?t.cwd=Z.isAbsolute(t.cwd)?t.cwd:Z.join(i,t.cwd):t.cwd=i,t.configName=t.name,delete t.name,super(t)}static initRenderer(){Cp()}async openInEditor(){const t=await Hx.openPath(this.path);if(t)throw new Error(t)}}const Wx="configuration",vh="_raw",Yx={_raw:{type:"string"},configuration:{type:"object"}},Qi=new ga({name:"settings",serialize:e=>e._raw,deserialize:e=>({_raw:e,...JSON.parse(e)}),schema:Yx});function gh(e){Qi.set(vh,e)}function Jx(){return Qi.size<2&&gh(JSON.stringify(Xv,null,2)),Qi.get(vh)}function Xx(){return Qi.get(Wx)}function Qx(e){gh(e)}function Zx(){return Jx()}function ew(){X.ipcMain.handle("settings:save",async(e,{settings:t})=>{Qx(t)}),X.ipcMain.handle("settings:load",async()=>Zx())}const Ho=new Map([]);Ho.set("http://localhost:15680",new Set);const tw=new Set(["https://github.com"]);X.app.on("web-contents-created",(e,t)=>{t.on("will-navigate",(i,n)=>{const r=Xx(),{origin:c}=new Ht.URL(n);Object.values(r).some(l=>{const d=l.baseURL;return d?new Ht.URL(d).origin==c:!1})||i.preventDefault()}),t.session.setPermissionRequestHandler((i,n,r)=>{const{origin:c}=new Ht.URL(i.getURL()),o=!!Ho.get(c)?.has(n);r(o)}),t.setWindowOpenHandler(({url:i})=>{const{origin:n}=new Ht.URL(i);return tw.has(n)&&X.shell.openExternal(i).catch(console.error),{action:"deny"}}),t.on("will-attach-webview",(i,n,r)=>{const{origin:c}=new Ht.URL(r.src);if(!Ho.has(c)){i.preventDefault();return}delete n.preload,delete n.preloadURL,n.nodeIntegration=!1,n.contextIsolation=!0})});const yh={};function nw(e){yh.storageRoot=e}function iw(){return yh.storageRoot}function aw(e){e.loadFile(Z.resolve(X.app.getAppPath(),"./renderer/dist/index.html"))}function rw(e){nw(e)}function sw(e){X.ipcMain.handle("reloadBrowser",()=>aw(e)),X.ipcMain.handle("setStorageRoot",(t,{storageRoot:i})=>rw(i))}const Sc="tokenType",$c="accessToken",ow={tokenType:{type:"string"},accessToken:{type:"string"}},Ut=new ga({name:"authentication-github-main",schema:ow});function cw(e){Ut.set(Sc,e)}function lw(e){Ut.set($c,e)}function Wo(){return Ut.get(Sc)}function Yo(){return Ut.get($c)}function uw(){Ut.delete(Sc)}function pw(){Ut.delete($c)}function bh(e,t){return function(){return e.apply(t,arguments)}}const{toString:dw}=Object.prototype,{getPrototypeOf:_c}=Object,{iterator:ya,toStringTag:xh}=Symbol,ba=(e=>t=>{const i=dw.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Be=e=>(e=e.toLowerCase(),t=>ba(t)===e),xa=e=>t=>typeof t===e,{isArray:zt}=Array,Lt=xa("undefined");function gn(e){return e!==null&&!Lt(e)&&e.constructor!==null&&!Lt(e.constructor)&&Oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wh=Be("ArrayBuffer");function fw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wh(e.buffer),t}const mw=xa("string"),Oe=xa("function"),Sh=xa("number"),yn=e=>e!==null&&typeof e=="object",hw=e=>e===!0||e===!1,Vi=e=>{if(ba(e)!=="object")return!1;const t=_c(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(xh in e)&&!(ya in e)},vw=e=>{if(!yn(e)||gn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},gw=Be("Date"),yw=Be("File"),bw=Be("Blob"),xw=Be("FileList"),ww=e=>yn(e)&&Oe(e.pipe),Sw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Oe(e.append)&&((t=ba(e))==="formdata"||t==="object"&&Oe(e.toString)&&e.toString()==="[object FormData]"))},$w=Be("URLSearchParams"),[_w,Ew,kw,Rw]=["ReadableStream","Request","Response","Headers"].map(Be),Aw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function bn(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),zt(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{if(gn(e))return;const c=i?Object.getOwnPropertyNames(e):Object.keys(e),o=c.length;let l;for(n=0;n<o;n++)l=c[n],t.call(null,e[l],l,e)}}function $h(e,t){if(gn(e))return null;t=t.toLowerCase();const i=Object.keys(e);let n=i.length,r;for(;n-- >0;)if(r=i[n],t===r.toLowerCase())return r;return null}const dt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_h=e=>!Lt(e)&&e!==dt;function Jo(){const{caseless:e,skipUndefined:t}=_h(this)&&this||{},i={},n=(r,c)=>{const o=e&&$h(i,c)||c;Vi(i[o])&&Vi(r)?i[o]=Jo(i[o],r):Vi(r)?i[o]=Jo({},r):zt(r)?i[o]=r.slice():(!t||!Lt(r))&&(i[o]=r)};for(let r=0,c=arguments.length;r<c;r++)arguments[r]&&bn(arguments[r],n);return i}const Pw=(e,t,i,{allOwnKeys:n}={})=>(bn(t,(r,c)=>{i&&Oe(r)?e[c]=bh(r,i):e[c]=r},{allOwnKeys:n}),e),Tw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ow=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},Nw=(e,t,i,n)=>{let r,c,o;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),c=r.length;c-- >0;)o=r[c],(!n||n(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=i!==!1&&_c(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},jw=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return n!==-1&&n===i},Cw=e=>{if(!e)return null;if(zt(e))return e;let t=e.length;if(!Sh(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Iw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_c(Uint8Array)),qw=(e,t)=>{const n=(e&&e[ya]).call(e);let r;for(;(r=n.next())&&!r.done;){const c=r.value;t.call(e,c[0],c[1])}},Lw=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Mw=Be("HTMLFormElement"),Dw=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),Ip=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),Fw=Be("RegExp"),Eh=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};bn(i,(r,c)=>{let o;(o=t(r,c,e))!==!1&&(n[c]=o||r)}),Object.defineProperties(e,n)},Uw=e=>{Eh(e,(t,i)=>{if(Oe(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Oe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},zw=(e,t)=>{const i={},n=r=>{r.forEach(c=>{i[c]=!0})};return zt(e)?n(e):n(String(e).split(t)),i},Bw=()=>{},Vw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Kw(e){return!!(e&&Oe(e.append)&&e[xh]==="FormData"&&e[ya])}const Gw=e=>{const t=new Array(10),i=(n,r)=>{if(yn(n)){if(t.indexOf(n)>=0)return;if(gn(n))return n;if(!("toJSON"in n)){t[r]=n;const c=zt(n)?[]:{};return bn(n,(o,l)=>{const d=i(o,r+1);!Lt(d)&&(c[l]=d)}),t[r]=void 0,c}}return n};return i(e,0)},Hw=Be("AsyncFunction"),Ww=e=>e&&(yn(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),kh=((e,t)=>e?setImmediate:t?((i,n)=>(dt.addEventListener("message",({source:r,data:c})=>{r===dt&&c===i&&n.length&&n.shift()()},!1),r=>{n.push(r),dt.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Oe(dt.postMessage)),Yw=typeof queueMicrotask<"u"?queueMicrotask.bind(dt):typeof process<"u"&&process.nextTick||kh,Jw=e=>e!=null&&Oe(e[ya]),L={isArray:zt,isArrayBuffer:wh,isBuffer:gn,isFormData:Sw,isArrayBufferView:fw,isString:mw,isNumber:Sh,isBoolean:hw,isObject:yn,isPlainObject:Vi,isEmptyObject:vw,isReadableStream:_w,isRequest:Ew,isResponse:kw,isHeaders:Rw,isUndefined:Lt,isDate:gw,isFile:yw,isBlob:bw,isRegExp:Fw,isFunction:Oe,isStream:ww,isURLSearchParams:$w,isTypedArray:Iw,isFileList:xw,forEach:bn,merge:Jo,extend:Pw,trim:Aw,stripBOM:Tw,inherits:Ow,toFlatObject:Nw,kindOf:ba,kindOfTest:Be,endsWith:jw,toArray:Cw,forEachEntry:qw,matchAll:Lw,isHTMLForm:Mw,hasOwnProperty:Ip,hasOwnProp:Ip,reduceDescriptors:Eh,freezeMethods:Uw,toObjectSet:zw,toCamelCase:Dw,noop:Bw,toFiniteNumber:Vw,findKey:$h,global:dt,isContextDefined:_h,isSpecCompliantForm:Kw,toJSONObject:Gw,isAsyncFn:Hw,isThenable:Ww,setImmediate:kh,asap:Yw,isIterable:Jw};function J(e,t,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}L.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.status}}});const Rh=J.prototype,Ah={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ah[e]={value:e}});Object.defineProperties(J,Ah);Object.defineProperty(Rh,"isAxiosError",{value:!0});J.from=(e,t,i,n,r,c)=>{const o=Object.create(Rh);L.toFlatObject(e,o,function(a){return a!==Error.prototype},p=>p!=="isAxiosError");const l=e&&e.message?e.message:"Error",d=t==null&&e?e.code:t;return J.call(o,l,d,i,n,r),e&&o.cause==null&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",c&&Object.assign(o,c),o};var Br,qp;function Xw(){if(qp)return Br;qp=1;var e=Ce.Stream,t=Dt;Br=i;function i(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return t.inherits(i,e),i.create=function(n,r){var c=new this;r=r||{};for(var o in r)c[o]=r[o];c.source=n;var l=n.emit;return n.emit=function(){return c._handleEmit(arguments),l.apply(n,arguments)},n.on("error",function(){}),c.pauseStream&&n.pause(),c},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(n){this.emit.apply(this,n)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var n=e.prototype.pipe.apply(this,arguments);return this.resume(),n},i.prototype._handleEmit=function(n){if(this._released){this.emit.apply(this,n);return}n[0]==="data"&&(this.dataSize+=n[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(n)},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(n))}},Br}var Vr,Lp;function Qw(){if(Lp)return Vr;Lp=1;var e=Dt,t=Ce.Stream,i=Xw();Vr=n;function n(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return e.inherits(n,t),n.create=function(r){var c=new this;r=r||{};for(var o in r)c[o]=r[o];return c},n.isStreamLike=function(r){return typeof r!="function"&&typeof r!="string"&&typeof r!="boolean"&&typeof r!="number"&&!Buffer.isBuffer(r)},n.prototype.append=function(r){var c=n.isStreamLike(r);if(c){if(!(r instanceof i)){var o=i.create(r,{maxDataSize:1/0,pauseStream:this.pauseStreams});r.on("data",this._checkDataSize.bind(this)),r=o}this._handleErrors(r),this.pauseStreams&&r.pause()}return this._streams.push(r),this},n.prototype.pipe=function(r,c){return t.prototype.pipe.call(this,r,c),this.resume(),r},n.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},n.prototype._realGetNext=function(){var r=this._streams.shift();if(typeof r>"u"){this.end();return}if(typeof r!="function"){this._pipeNext(r);return}var c=r;c(function(o){var l=n.isStreamLike(o);l&&(o.on("data",this._checkDataSize.bind(this)),this._handleErrors(o)),this._pipeNext(o)}.bind(this))},n.prototype._pipeNext=function(r){this._currentStream=r;var c=n.isStreamLike(r);if(c){r.on("end",this._getNext.bind(this)),r.pipe(this,{end:!1});return}var o=r;this.write(o),this._getNext()},n.prototype._handleErrors=function(r){var c=this;r.on("error",function(o){c._emitError(o)})},n.prototype.write=function(r){this.emit("data",r)},n.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))},n.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")},n.prototype.end=function(){this._reset(),this.emit("end")},n.prototype.destroy=function(){this._reset(),this.emit("close")},n.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},n.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(r))}},n.prototype._updateDataSize=function(){this.dataSize=0;var r=this;this._streams.forEach(function(c){c.dataSize&&(r.dataSize+=c.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},n.prototype._emitError=function(r){this._reset(),this.emit("error",r)},Vr}var Kr={};const Zw={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
8
+ deps: ${a}}`};const r={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[p,a]=c(d);s(d,p),l(d,a)}};function c({schema:d}){const p={},a={};for(const o in d){if(o==="__proto__")continue;const u=Array.isArray(d[o])?p:a;u[o]=d[o]}return[p,a]}function s(d,p=d.schema){const{gen:a,data:o,it:u}=d;if(Object.keys(p).length===0)return;const m=a.let("missing");for(const f in p){const h=p[f];if(h.length===0)continue;const v=(0,n.propertyInData)(a,o,f,u.opts.ownProperties);d.setParams({property:f,depsCount:h.length,deps:h.join(", ")}),u.allErrors?a.if(v,()=>{for(const g of h)(0,n.checkReportMissingProp)(d,g)}):(a.if((0,t._)`${v} && (${(0,n.checkMissingProp)(d,h,m)})`),(0,n.reportMissingProp)(d,m),a.else())}}e.validatePropertyDeps=s;function l(d,p=d.schema){const{gen:a,data:o,keyword:u,it:m}=d,f=a.name("valid");for(const h in p)(0,i.alwaysValidSchema)(m,p[h])||(a.if((0,n.propertyInData)(a,o,h,m.opts.ownProperties),()=>{const v=d.subschema({keyword:u,schemaProp:h},f);d.mergeValidEvaluated(v,f)},()=>a.var(f,!0)),d.ok(f))}e.validateSchemaDeps=l,e.default=r})(Qa)),Qa}var Qn={},ou;function iy(){if(ou)return Qn;ou=1,Object.defineProperty(Qn,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:r})=>(0,e._)`{propertyName: ${r.propertyName}}`},code(r){const{gen:c,schema:s,data:l,it:d}=r;if((0,t.alwaysValidSchema)(d,s))return;const p=c.name("valid");c.forIn("key",l,a=>{r.setParams({propertyName:a}),r.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},p),c.if((0,e.not)(p),()=>{r.error(!0),d.allErrors||c.break()})}),r.ok(p)}};return Qn.default=n,Qn}var Zn={},cu;function lh(){if(cu)return Zn;cu=1,Object.defineProperty(Zn,"__esModule",{value:!0});const e=Fe(),t=ie(),i=Me(),n=se(),c={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:l,schema:d,parentSchema:p,data:a,errsCount:o,it:u}=s;if(!o)throw new Error("ajv implementation error");const{allErrors:m,opts:f}=u;if(u.props=!0,f.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(u,d))return;const h=(0,e.allSchemaProperties)(p.properties),v=(0,e.allSchemaProperties)(p.patternProperties);g(),s.ok((0,t._)`${o} === ${i.default.errors}`);function g(){l.forIn("key",a,S=>{!h.length&&!v.length?x(S):l.if(y(S),()=>x(S))})}function y(S){let _;if(h.length>8){const E=(0,n.schemaRefOrVal)(u,p.properties,"properties");_=(0,e.isOwnProperty)(l,E,S)}else h.length?_=(0,t.or)(...h.map(E=>(0,t._)`${S} === ${E}`)):_=t.nil;return v.length&&(_=(0,t.or)(_,...v.map(E=>(0,t._)`${(0,e.usePattern)(s,E)}.test(${S})`))),(0,t.not)(_)}function b(S){l.code((0,t._)`delete ${a}[${S}]`)}function x(S){if(f.removeAdditional==="all"||f.removeAdditional&&d===!1){b(S);return}if(d===!1){s.setParams({additionalProperty:S}),s.error(),m||l.break();return}if(typeof d=="object"&&!(0,n.alwaysValidSchema)(u,d)){const _=l.name("valid");f.removeAdditional==="failing"?(w(S,_,!1),l.if((0,t.not)(_),()=>{s.reset(),b(S)})):(w(S,_),m||l.if((0,t.not)(_),()=>l.break()))}}function w(S,_,E){const O={keyword:"additionalProperties",dataProp:S,dataPropType:n.Type.Str};E===!1&&Object.assign(O,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(O,_)}}};return Zn.default=c,Zn}var ei={},lu;function ay(){if(lu)return ei;lu=1,Object.defineProperty(ei,"__esModule",{value:!0});const e=hn(),t=Fe(),i=se(),n=lh(),r={keyword:"properties",type:"object",schemaType:"object",code(c){const{gen:s,schema:l,parentSchema:d,data:p,it:a}=c;a.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(a,n.default,"additionalProperties"));const o=(0,t.allSchemaProperties)(l);for(const v of o)a.definedProperties.add(v);a.opts.unevaluated&&o.length&&a.props!==!0&&(a.props=i.mergeEvaluated.props(s,(0,i.toHash)(o),a.props));const u=o.filter(v=>!(0,i.alwaysValidSchema)(a,l[v]));if(u.length===0)return;const m=s.name("valid");for(const v of u)f(v)?h(v):(s.if((0,t.propertyInData)(s,p,v,a.opts.ownProperties)),h(v),a.allErrors||s.else().var(m,!0),s.endIf()),c.it.definedProperties.add(v),c.ok(m);function f(v){return a.opts.useDefaults&&!a.compositeRule&&l[v].default!==void 0}function h(v){c.subschema({keyword:"properties",schemaProp:v,dataProp:v},m)}}};return ei.default=r,ei}var ti={},uu;function ry(){if(uu)return ti;uu=1,Object.defineProperty(ti,"__esModule",{value:!0});const e=Fe(),t=ie(),i=se(),n=se(),r={keyword:"patternProperties",type:"object",schemaType:"object",code(c){const{gen:s,schema:l,data:d,parentSchema:p,it:a}=c,{opts:o}=a,u=(0,e.allSchemaProperties)(l),m=u.filter(x=>(0,i.alwaysValidSchema)(a,l[x]));if(u.length===0||m.length===u.length&&(!a.opts.unevaluated||a.props===!0))return;const f=o.strictSchema&&!o.allowMatchingProperties&&p.properties,h=s.name("valid");a.props!==!0&&!(a.props instanceof t.Name)&&(a.props=(0,n.evaluatedPropsToName)(s,a.props));const{props:v}=a;g();function g(){for(const x of u)f&&y(x),a.allErrors?b(x):(s.var(h,!0),b(x),s.if(h))}function y(x){for(const w in f)new RegExp(x).test(w)&&(0,i.checkStrictMode)(a,`property ${w} matches pattern ${x} (use allowMatchingProperties)`)}function b(x){s.forIn("key",d,w=>{s.if((0,t._)`${(0,e.usePattern)(c,x)}.test(${w})`,()=>{const S=m.includes(x);S||c.subschema({keyword:"patternProperties",schemaProp:x,dataProp:w,dataPropType:n.Type.Str},h),a.opts.unevaluated&&v!==!0?s.assign((0,t._)`${v}[${w}]`,!0):!S&&!a.allErrors&&s.if((0,t.not)(h),()=>s.break())})})}}};return ti.default=r,ti}var ni={},pu;function sy(){if(pu)return ni;pu=1,Object.defineProperty(ni,"__esModule",{value:!0});const e=se(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(i){const{gen:n,schema:r,it:c}=i;if((0,e.alwaysValidSchema)(c,r)){i.fail();return}const s=n.name("valid");i.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),i.failResult(s,()=>i.reset(),()=>i.error())},error:{message:"must NOT be valid"}};return ni.default=t,ni}var ii={},du;function oy(){if(du)return ii;du=1,Object.defineProperty(ii,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Fe().validateUnion,error:{message:"must match a schema in anyOf"}};return ii.default=t,ii}var ai={},fu;function cy(){if(fu)return ai;fu=1,Object.defineProperty(ai,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:r})=>(0,e._)`{passingSchemas: ${r.passing}}`},code(r){const{gen:c,schema:s,parentSchema:l,it:d}=r;if(!Array.isArray(s))throw new Error("ajv implementation error");if(d.opts.discriminator&&l.discriminator)return;const p=s,a=c.let("valid",!1),o=c.let("passing",null),u=c.name("_valid");r.setParams({passing:o}),c.block(m),r.result(a,()=>r.reset(),()=>r.error(!0));function m(){p.forEach((f,h)=>{let v;(0,t.alwaysValidSchema)(d,f)?c.var(u,!0):v=r.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},u),h>0&&c.if((0,e._)`${u} && ${a}`).assign(a,!1).assign(o,(0,e._)`[${o}, ${h}]`).else(),c.if(u,()=>{c.assign(a,!0),c.assign(o,h),v&&r.mergeEvaluated(v,e.Name)})})}}};return ai.default=n,ai}var ri={},mu;function ly(){if(mu)return ri;mu=1,Object.defineProperty(ri,"__esModule",{value:!0});const e=se(),t={keyword:"allOf",schemaType:"array",code(i){const{gen:n,schema:r,it:c}=i;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=n.name("valid");r.forEach((l,d)=>{if((0,e.alwaysValidSchema)(c,l))return;const p=i.subschema({keyword:"allOf",schemaProp:d},s);i.ok(s),i.mergeEvaluated(p)})}};return ri.default=t,ri}var si={},hu;function uy(){if(hu)return si;hu=1,Object.defineProperty(si,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:c})=>(0,e.str)`must match "${c.ifClause}" schema`,params:({params:c})=>(0,e._)`{failingKeyword: ${c.ifClause}}`},code(c){const{gen:s,parentSchema:l,it:d}=c;l.then===void 0&&l.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const p=r(d,"then"),a=r(d,"else");if(!p&&!a)return;const o=s.let("valid",!0),u=s.name("_valid");if(m(),c.reset(),p&&a){const h=s.let("ifClause");c.setParams({ifClause:h}),s.if(u,f("then",h),f("else",h))}else p?s.if(u,f("then")):s.if((0,e.not)(u),f("else"));c.pass(o,()=>c.error(!0));function m(){const h=c.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);c.mergeEvaluated(h)}function f(h,v){return()=>{const g=c.subschema({keyword:h},u);s.assign(o,u),c.mergeValidEvaluated(g,o),v?s.assign(v,(0,e._)`${h}`):c.setParams({ifClause:h})}}}};function r(c,s){const l=c.schema[s];return l!==void 0&&!(0,t.alwaysValidSchema)(c,l)}return si.default=n,si}var oi={},vu;function py(){if(vu)return oi;vu=1,Object.defineProperty(oi,"__esModule",{value:!0});const e=se(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:i,parentSchema:n,it:r}){n.if===void 0&&(0,e.checkStrictMode)(r,`"${i}" without "if" is ignored`)}};return oi.default=t,oi}var gu;function uh(){if(gu)return Wn;gu=1,Object.defineProperty(Wn,"__esModule",{value:!0});const e=oh(),t=ey(),i=ch(),n=ty(),r=ny(),c=xc(),s=iy(),l=lh(),d=ay(),p=ry(),a=sy(),o=oy(),u=cy(),m=ly(),f=uy(),h=py();function v(g=!1){const y=[a.default,o.default,u.default,m.default,f.default,h.default,s.default,l.default,c.default,d.default,p.default];return g?y.push(t.default,n.default):y.push(e.default,i.default),y.push(r.default),y}return Wn.default=v,Wn}var ci={},At={},yu;function ph(){if(yu)return At;yu=1,Object.defineProperty(At,"__esModule",{value:!0}),At.dynamicAnchor=void 0;const e=ie(),t=Me(),i=ma(),n=yc(),r={keyword:"$dynamicAnchor",schemaType:"string",code:l=>c(l,l.schema)};function c(l,d){const{gen:p,it:a}=l;a.schemaEnv.root.dynamicAnchors[d]=!0;const o=(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(d)}`,u=a.errSchemaPath==="#"?a.validateName:s(l);p.if((0,e._)`!${o}`,()=>p.assign(o,u))}At.dynamicAnchor=c;function s(l){const{schemaEnv:d,schema:p,self:a}=l.it,{root:o,baseId:u,localRefs:m,meta:f}=d.root,{schemaId:h}=a.opts,v=new i.SchemaEnv({schema:p,schemaId:h,root:o,baseId:u,localRefs:m,meta:f});return i.compileSchema.call(a,v),(0,n.getValidate)(l,v)}return At.default=r,At}var Pt={},bu;function dh(){if(bu)return Pt;bu=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.dynamicRef=void 0;const e=ie(),t=Me(),i=yc(),n={keyword:"$dynamicRef",schemaType:"string",code:c=>r(c,c.schema)};function r(c,s){const{gen:l,keyword:d,it:p}=c;if(s[0]!=="#")throw new Error(`"${d}" only supports hash fragment reference`);const a=s.slice(1);if(p.allErrors)o();else{const m=l.let("valid",!1);o(m),c.ok(m)}function o(m){if(p.schemaEnv.root.dynamicAnchors[a]){const f=l.let("_v",(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(a)}`);l.if(f,u(f,m),u(p.validateName,m))}else u(p.validateName,m)()}function u(m,f){return f?()=>l.block(()=>{(0,i.callRef)(c,m),l.let(f,!0)}):()=>(0,i.callRef)(c,m)}}return Pt.dynamicRef=r,Pt.default=n,Pt}var li={},xu;function dy(){if(xu)return li;xu=1,Object.defineProperty(li,"__esModule",{value:!0});const e=ph(),t=se(),i={keyword:"$recursiveAnchor",schemaType:"boolean",code(n){n.schema?(0,e.dynamicAnchor)(n,""):(0,t.checkStrictMode)(n.it,"$recursiveAnchor: false is ignored")}};return li.default=i,li}var ui={},wu;function fy(){if(wu)return ui;wu=1,Object.defineProperty(ui,"__esModule",{value:!0});const e=dh(),t={keyword:"$recursiveRef",schemaType:"string",code:i=>(0,e.dynamicRef)(i,i.schema)};return ui.default=t,ui}var Su;function my(){if(Su)return ci;Su=1,Object.defineProperty(ci,"__esModule",{value:!0});const e=ph(),t=dh(),i=dy(),n=fy(),r=[e.default,t.default,i.default,n.default];return ci.default=r,ci}var pi={},di={},_u;function hy(){if(_u)return di;_u=1,Object.defineProperty(di,"__esModule",{value:!0});const e=xc(),t={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:i=>(0,e.validatePropertyDeps)(i)};return di.default=t,di}var fi={},$u;function vy(){if($u)return fi;$u=1,Object.defineProperty(fi,"__esModule",{value:!0});const e=xc(),t={keyword:"dependentSchemas",type:"object",schemaType:"object",code:i=>(0,e.validateSchemaDeps)(i)};return fi.default=t,fi}var mi={},Eu;function gy(){if(Eu)return mi;Eu=1,Object.defineProperty(mi,"__esModule",{value:!0});const e=se(),t={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:i,parentSchema:n,it:r}){n.contains===void 0&&(0,e.checkStrictMode)(r,`"${i}" without "contains" is ignored`)}};return mi.default=t,mi}var ku;function yy(){if(ku)return pi;ku=1,Object.defineProperty(pi,"__esModule",{value:!0});const e=hy(),t=vy(),i=gy(),n=[e.default,t.default,i.default];return pi.default=n,pi}var hi={},vi={},Ru;function by(){if(Ru)return vi;Ru=1,Object.defineProperty(vi,"__esModule",{value:!0});const e=ie(),t=se(),i=Me(),r={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:c})=>(0,e._)`{unevaluatedProperty: ${c.unevaluatedProperty}}`},code(c){const{gen:s,schema:l,data:d,errsCount:p,it:a}=c;if(!p)throw new Error("ajv implementation error");const{allErrors:o,props:u}=a;u instanceof e.Name?s.if((0,e._)`${u} !== true`,()=>s.forIn("key",d,v=>s.if(f(u,v),()=>m(v)))):u!==!0&&s.forIn("key",d,v=>u===void 0?m(v):s.if(h(u,v),()=>m(v))),a.props=!0,c.ok((0,e._)`${p} === ${i.default.errors}`);function m(v){if(l===!1){c.setParams({unevaluatedProperty:v}),c.error(),o||s.break();return}if(!(0,t.alwaysValidSchema)(a,l)){const g=s.name("valid");c.subschema({keyword:"unevaluatedProperties",dataProp:v,dataPropType:t.Type.Str},g),o||s.if((0,e.not)(g),()=>s.break())}}function f(v,g){return(0,e._)`!${v} || !${v}[${g}]`}function h(v,g){const y=[];for(const b in v)v[b]===!0&&y.push((0,e._)`${g} !== ${b}`);return(0,e.and)(...y)}}};return vi.default=r,vi}var gi={},Au;function xy(){if(Au)return gi;Au=1,Object.defineProperty(gi,"__esModule",{value:!0});const e=ie(),t=se(),n={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:r}})=>(0,e.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,e._)`{limit: ${r}}`},code(r){const{gen:c,schema:s,data:l,it:d}=r,p=d.items||0;if(p===!0)return;const a=c.const("len",(0,e._)`${l}.length`);if(s===!1)r.setParams({len:p}),r.fail((0,e._)`${a} > ${p}`);else if(typeof s=="object"&&!(0,t.alwaysValidSchema)(d,s)){const u=c.var("valid",(0,e._)`${a} <= ${p}`);c.if((0,e.not)(u),()=>o(u,p)),r.ok(u)}d.items=!0;function o(u,m){c.forRange("i",m,a,f=>{r.subschema({keyword:"unevaluatedItems",dataProp:f,dataPropType:t.Type.Num},u),d.allErrors||c.if((0,e.not)(u),()=>c.break())})}}};return gi.default=n,gi}var Pu;function wy(){if(Pu)return hi;Pu=1,Object.defineProperty(hi,"__esModule",{value:!0});const e=by(),t=xy(),i=[e.default,t.default];return hi.default=i,hi}var yi={},bi={},Tu;function Sy(){if(Tu)return bi;Tu=1,Object.defineProperty(bi,"__esModule",{value:!0});const e=ie(),i={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must match format "${n}"`,params:({schemaCode:n})=>(0,e._)`{format: ${n}}`},code(n,r){const{gen:c,data:s,$data:l,schema:d,schemaCode:p,it:a}=n,{opts:o,errSchemaPath:u,schemaEnv:m,self:f}=a;if(!o.validateFormats)return;l?h():v();function h(){const g=c.scopeValue("formats",{ref:f.formats,code:o.code.formats}),y=c.const("fDef",(0,e._)`${g}[${p}]`),b=c.let("fType"),x=c.let("format");c.if((0,e._)`typeof ${y} == "object" && !(${y} instanceof RegExp)`,()=>c.assign(b,(0,e._)`${y}.type || "string"`).assign(x,(0,e._)`${y}.validate`),()=>c.assign(b,(0,e._)`"string"`).assign(x,y)),n.fail$data((0,e.or)(w(),S()));function w(){return o.strictSchema===!1?e.nil:(0,e._)`${p} && !${x}`}function S(){const _=m.$async?(0,e._)`(${y}.async ? await ${x}(${s}) : ${x}(${s}))`:(0,e._)`${x}(${s})`,E=(0,e._)`(typeof ${x} == "function" ? ${_} : ${x}.test(${s}))`;return(0,e._)`${x} && ${x} !== true && ${b} === ${r} && !${E}`}}function v(){const g=f.formats[d];if(!g){w();return}if(g===!0)return;const[y,b,x]=S(g);y===r&&n.pass(_());function w(){if(o.strictSchema===!1){f.logger.warn(E());return}throw new Error(E());function E(){return`unknown format "${d}" ignored in schema at path "${u}"`}}function S(E){const O=E instanceof RegExp?(0,e.regexpCode)(E):o.code.formats?(0,e._)`${o.code.formats}${(0,e.getProperty)(d)}`:void 0,U=c.scopeValue("formats",{key:d,ref:E,code:O});return typeof E=="object"&&!(E instanceof RegExp)?[E.type||"string",E.validate,(0,e._)`${U}.validate`]:["string",E,U]}function _(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!m.$async)throw new Error("async format in sync schema");return(0,e._)`await ${x}(${s})`}return typeof b=="function"?(0,e._)`${x}(${s})`:(0,e._)`${x}.test(${s})`}}}};return bi.default=i,bi}var Ou;function fh(){if(Ou)return yi;Ou=1,Object.defineProperty(yi,"__esModule",{value:!0});const t=[Sy().default];return yi.default=t,yi}var ft={},Nu;function mh(){return Nu||(Nu=1,Object.defineProperty(ft,"__esModule",{value:!0}),ft.contentVocabulary=ft.metadataVocabulary=void 0,ft.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],ft.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),ft}var ju;function _y(){if(ju)return Nn;ju=1,Object.defineProperty(Nn,"__esModule",{value:!0});const e=rh(),t=sh(),i=uh(),n=my(),r=yy(),c=wy(),s=fh(),l=mh(),d=[n.default,e.default,t.default,(0,i.default)(!0),s.default,l.metadataVocabulary,l.contentVocabulary,r.default,c.default];return Nn.default=d,Nn}var xi={},Xt={},Cu;function $y(){if(Cu)return Xt;Cu=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Xt.DiscrError=e={})),Xt}var Iu;function hh(){if(Iu)return xi;Iu=1,Object.defineProperty(xi,"__esModule",{value:!0});const e=ie(),t=$y(),i=ma(),n=vn(),r=se(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:l,tagName:d}})=>l===t.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:l,tag:d,tagName:p}})=>(0,e._)`{error: ${l}, tag: ${p}, tagValue: ${d}}`},code(l){const{gen:d,data:p,schema:a,parentSchema:o,it:u}=l,{oneOf:m}=o;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=a.propertyName;if(typeof f!="string")throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!m)throw new Error("discriminator: requires oneOf keyword");const h=d.let("valid",!1),v=d.const("tag",(0,e._)`${p}${(0,e.getProperty)(f)}`);d.if((0,e._)`typeof ${v} == "string"`,()=>g(),()=>l.error(!1,{discrError:t.DiscrError.Tag,tag:v,tagName:f})),l.ok(h);function g(){const x=b();d.if(!1);for(const w in x)d.elseIf((0,e._)`${v} === ${w}`),d.assign(h,y(x[w]));d.else(),l.error(!1,{discrError:t.DiscrError.Mapping,tag:v,tagName:f}),d.endIf()}function y(x){const w=d.name("valid"),S=l.subschema({keyword:"oneOf",schemaProp:x},w);return l.mergeEvaluated(S,e.Name),w}function b(){var x;const w={},S=E(o);let _=!0;for(let M=0;M<m.length;M++){let B=m[M];if(B?.$ref&&!(0,r.schemaHasRulesButRef)(B,u.self.RULES)){const C=B.$ref;if(B=i.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,C),B instanceof i.SchemaEnv&&(B=B.schema),B===void 0)throw new n.default(u.opts.uriResolver,u.baseId,C)}const G=(x=B?.properties)===null||x===void 0?void 0:x[f];if(typeof G!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);_=_&&(S||E(B)),O(G,M)}if(!_)throw new Error(`discriminator: "${f}" must be required`);return w;function E({required:M}){return Array.isArray(M)&&M.includes(f)}function O(M,B){if(M.const)U(M.const,B);else if(M.enum)for(const G of M.enum)U(G,B);else throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`)}function U(M,B){if(typeof M!="string"||M in w)throw new Error(`discriminator: "${f}" values must be unique strings`);w[M]=B}}}};return xi.default=s,xi}var wi={};const Ey="https://json-schema.org/draft/2020-12/schema",ky="https://json-schema.org/draft/2020-12/schema",Ry={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},Ay="meta",Py="Core and Validation specifications meta-schema",Ty=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],Oy=["object","boolean"],Ny="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",jy={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},Cy={$schema:Ey,$id:ky,$vocabulary:Ry,$dynamicAnchor:Ay,title:Py,allOf:Ty,type:Oy,$comment:Ny,properties:jy},Iy="https://json-schema.org/draft/2020-12/schema",qy="https://json-schema.org/draft/2020-12/meta/applicator",Ly={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},Dy="meta",My="Applicator vocabulary meta-schema",Fy=["object","boolean"],zy={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},Uy={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},By={$schema:Iy,$id:qy,$vocabulary:Ly,$dynamicAnchor:Dy,title:My,type:Fy,properties:zy,$defs:Uy},Vy="https://json-schema.org/draft/2020-12/schema",Ky="https://json-schema.org/draft/2020-12/meta/unevaluated",Gy={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},Hy="meta",Wy="Unevaluated applicator vocabulary meta-schema",Yy=["object","boolean"],Jy={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Xy={$schema:Vy,$id:Ky,$vocabulary:Gy,$dynamicAnchor:Hy,title:Wy,type:Yy,properties:Jy},Qy="https://json-schema.org/draft/2020-12/schema",Zy="https://json-schema.org/draft/2020-12/meta/content",eb={"https://json-schema.org/draft/2020-12/vocab/content":!0},tb="meta",nb="Content vocabulary meta-schema",ib=["object","boolean"],ab={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},rb={$schema:Qy,$id:Zy,$vocabulary:eb,$dynamicAnchor:tb,title:nb,type:ib,properties:ab},sb="https://json-schema.org/draft/2020-12/schema",ob="https://json-schema.org/draft/2020-12/meta/core",cb={"https://json-schema.org/draft/2020-12/vocab/core":!0},lb="meta",ub="Core vocabulary meta-schema",pb=["object","boolean"],db={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},fb={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},mb={$schema:sb,$id:ob,$vocabulary:cb,$dynamicAnchor:lb,title:ub,type:pb,properties:db,$defs:fb},hb="https://json-schema.org/draft/2020-12/schema",vb="https://json-schema.org/draft/2020-12/meta/format-annotation",gb={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},yb="meta",bb="Format vocabulary meta-schema for annotation results",xb=["object","boolean"],wb={format:{type:"string"}},Sb={$schema:hb,$id:vb,$vocabulary:gb,$dynamicAnchor:yb,title:bb,type:xb,properties:wb},_b="https://json-schema.org/draft/2020-12/schema",$b="https://json-schema.org/draft/2020-12/meta/meta-data",Eb={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},kb="meta",Rb="Meta-data vocabulary meta-schema",Ab=["object","boolean"],Pb={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Tb={$schema:_b,$id:$b,$vocabulary:Eb,$dynamicAnchor:kb,title:Rb,type:Ab,properties:Pb},Ob="https://json-schema.org/draft/2020-12/schema",Nb="https://json-schema.org/draft/2020-12/meta/validation",jb={"https://json-schema.org/draft/2020-12/vocab/validation":!0},Cb="meta",Ib="Validation vocabulary meta-schema",qb=["object","boolean"],Lb={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},Db={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Mb={$schema:Ob,$id:Nb,$vocabulary:jb,$dynamicAnchor:Cb,title:Ib,type:qb,properties:Lb,$defs:Db};var qu;function Fb(){if(qu)return wi;qu=1,Object.defineProperty(wi,"__esModule",{value:!0});const e=Cy,t=By,i=Xy,n=rb,r=mb,c=Sb,s=Tb,l=Mb,d=["/properties"];function p(a){return[e,t,i,n,r,o(this,c),s,o(this,l)].forEach(u=>this.addMetaSchema(u,void 0,!1)),this;function o(u,m){return a?u.$dataMetaSchema(m,d):m}}return wi.default=p,wi}var Lu;function zb(){return Lu||(Lu=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const i=ah(),n=_y(),r=hh(),c=Fb(),s="https://json-schema.org/draft/2020-12/schema";class l extends i.default{constructor(m={}){super({...m,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),n.default.forEach(m=>this.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:m,meta:f}=this.opts;f&&(c.default.call(this,m),this.refs["http://json-schema.org/schema"]=s)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}t.Ajv2020=l,e.exports=t=l,e.exports.Ajv2020=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var d=hn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var p=ie();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}});var a=fa();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return a.default}});var o=vn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return o.default}})})(Rn,Rn.exports)),Rn.exports}var Ub=zb(),Si={exports:{}},Za={},Du;function Bb(){return Du||(Du=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(M,B){return{validate:M,compare:B}}e.fullFormats={date:t(c,s),time:t(d(!0),p),"date-time":t(u(!0),m),"iso-time":t(d(),a),"iso-date-time":t(u(),f),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:g,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:U,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:b,int32:{type:"number",validate:S},int64:{type:"number",validate:_},float:{type:"number",validate:E},double:{type:"number",validate:E},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,s),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,m),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,a),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,f),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function i(M){return M%4===0&&(M%100!==0||M%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,r=[0,31,28,31,30,31,30,31,31,30,31,30,31];function c(M){const B=n.exec(M);if(!B)return!1;const G=+B[1],C=+B[2],V=+B[3];return C>=1&&C<=12&&V>=1&&V<=(C===2&&i(G)?29:r[C])}function s(M,B){if(M&&B)return M>B?1:M<B?-1:0}const l=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(M){return function(G){const C=l.exec(G);if(!C)return!1;const V=+C[1],T=+C[2],A=+C[3],P=C[4],z=C[5]==="-"?-1:1,q=+(C[6]||0),R=+(C[7]||0);if(q>23||R>59||M&&!P)return!1;if(V<=23&&T<=59&&A<60)return!0;const I=T-R*z,N=V-q*z-(I<0?1:0);return(N===23||N===-1)&&(I===59||I===-1)&&A<61}}function p(M,B){if(!(M&&B))return;const G=new Date("2020-01-01T"+M).valueOf(),C=new Date("2020-01-01T"+B).valueOf();if(G&&C)return G-C}function a(M,B){if(!(M&&B))return;const G=l.exec(M),C=l.exec(B);if(G&&C)return M=G[1]+G[2]+G[3],B=C[1]+C[2]+C[3],M>B?1:M<B?-1:0}const o=/t|\s/i;function u(M){const B=d(M);return function(C){const V=C.split(o);return V.length===2&&c(V[0])&&B(V[1])}}function m(M,B){if(!(M&&B))return;const G=new Date(M).valueOf(),C=new Date(B).valueOf();if(G&&C)return G-C}function f(M,B){if(!(M&&B))return;const[G,C]=M.split(o),[V,T]=B.split(o),A=s(G,V);if(A!==void 0)return A||p(C,T)}const h=/\/|:/,v=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function g(M){return h.test(M)&&v.test(M)}const y=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function b(M){return y.lastIndex=0,y.test(M)}const x=-2147483648,w=2**31-1;function S(M){return Number.isInteger(M)&&M<=w&&M>=x}function _(M){return Number.isInteger(M)}function E(){return!0}const O=/[^\\]\\Z/;function U(M){if(O.test(M))return!1;try{return new RegExp(M),!0}catch{return!1}}})(Za)),Za}var er={},_i={exports:{}},$i={},Mu;function Vb(){if(Mu)return $i;Mu=1,Object.defineProperty($i,"__esModule",{value:!0});const e=rh(),t=sh(),i=uh(),n=fh(),r=mh(),c=[e.default,t.default,(0,i.default)(),n.default,r.metadataVocabulary,r.contentVocabulary];return $i.default=c,$i}const Kb="http://json-schema.org/draft-07/schema#",Gb="http://json-schema.org/draft-07/schema#",Hb="Core schema meta-schema",Wb={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Yb=["object","boolean"],Jb={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},Xb={$schema:Kb,$id:Gb,title:Hb,definitions:Wb,type:Yb,properties:Jb,default:!0};var Fu;function Qb(){return Fu||(Fu=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const i=ah(),n=Vb(),r=hh(),c=Xb,s=["/properties"],l="http://json-schema.org/draft-07/schema";class d extends i.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(f=>this.addVocabulary(f)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const f=this.opts.$data?this.$dataMetaSchema(c,s):c;this.addMetaSchema(f,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var p=hn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return p.KeywordCxt}});var a=ie();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});var o=fa();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return o.default}});var u=vn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return u.default}})})(_i,_i.exports)),_i.exports}var zu;function Zb(){return zu||(zu=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=Qb(),i=ie(),n=i.operators,r={formatMaximum:{okStr:"<=",ok:n.LTE,fail:n.GT},formatMinimum:{okStr:">=",ok:n.GTE,fail:n.LT},formatExclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},formatExclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},c={message:({keyword:l,schemaCode:d})=>(0,i.str)`should be ${r[l].okStr} ${d}`,params:({keyword:l,schemaCode:d})=>(0,i._)`{comparison: ${r[l].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(r),type:"string",schemaType:"string",$data:!0,error:c,code(l){const{gen:d,data:p,schemaCode:a,keyword:o,it:u}=l,{opts:m,self:f}=u;if(!m.validateFormats)return;const h=new t.KeywordCxt(u,f.RULES.all.format.definition,"format");h.$data?v():g();function v(){const b=d.scopeValue("formats",{ref:f.formats,code:m.code.formats}),x=d.const("fmt",(0,i._)`${b}[${h.schemaCode}]`);l.fail$data((0,i.or)((0,i._)`typeof ${x} != "object"`,(0,i._)`${x} instanceof RegExp`,(0,i._)`typeof ${x}.compare != "function"`,y(x)))}function g(){const b=h.schema,x=f.formats[b];if(!x||x===!0)return;if(typeof x!="object"||x instanceof RegExp||typeof x.compare!="function")throw new Error(`"${o}": format "${b}" does not define "compare" function`);const w=d.scopeValue("formats",{key:b,ref:x,code:m.code.formats?(0,i._)`${m.code.formats}${(0,i.getProperty)(b)}`:void 0});l.fail$data(y(w))}function y(b){return(0,i._)`${b}.compare(${p}, ${a}) ${r[o].fail} 0`}},dependencies:["format"]};const s=l=>(l.addKeyword(e.formatLimitDefinition),l);e.default=s})(er)),er}var Uu;function ex(){return Uu||(Uu=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const i=Bb(),n=Zb(),r=ie(),c=new r.Name("fullFormats"),s=new r.Name("fastFormats"),l=(p,a={keywords:!0})=>{if(Array.isArray(a))return d(p,a,i.fullFormats,c),p;const[o,u]=a.mode==="fast"?[i.fastFormats,s]:[i.fullFormats,c],m=a.formats||i.formatNames;return d(p,m,o,u),a.keywords&&(0,n.default)(p),p};l.get=(p,a="full")=>{const u=(a==="fast"?i.fastFormats:i.fullFormats)[p];if(!u)throw new Error(`Unknown format "${p}"`);return u};function d(p,a,o,u){var m,f;(m=(f=p.opts.code).formats)!==null&&m!==void 0||(f.formats=(0,r._)`require("ajv-formats/dist/formats").${u}`);for(const h of a)p.addFormat(h,o[h])}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l})(Si,Si.exports)),Si.exports}var tx=ex();const nx=mn(tx),ix=(e,t,i,n)=>{if(i==="length"||i==="prototype"||i==="arguments"||i==="caller")return;const r=Object.getOwnPropertyDescriptor(e,i),c=Object.getOwnPropertyDescriptor(t,i);!ax(r,c)&&n||Object.defineProperty(e,i,c)},ax=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},rx=(e,t)=>{const i=Object.getPrototypeOf(t);i!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,i)},sx=(e,t)=>`/* Wrapped ${e}*/
9
+ ${t}`,ox=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),cx=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),lx=(e,t,i)=>{const n=i===""?"":`with ${i.trim()}() `,r=sx.bind(null,n,t.toString());Object.defineProperty(r,"name",cx);const{writable:c,enumerable:s,configurable:l}=ox;Object.defineProperty(e,"toString",{value:r,writable:c,enumerable:s,configurable:l})};function ux(e,t,{ignoreNonConfigurable:i=!1}={}){const{name:n}=e;for(const r of Reflect.ownKeys(t))ix(e,t,r,i);return rx(e,t),lx(e,t,n),e}const Bu=(e,t={})=>{if(typeof e!="function")throw new TypeError(`Expected the first argument to be a function, got \`${typeof e}\``);const{wait:i=0,maxWait:n=Number.POSITIVE_INFINITY,before:r=!1,after:c=!0}=t;if(i<0||n<0)throw new RangeError("`wait` and `maxWait` must not be negative.");if(!r&&!c)throw new Error("Both `before` and `after` are false, function wouldn't be called.");let s,l,d;const p=function(...a){const o=this,u=()=>{s=void 0,l&&(clearTimeout(l),l=void 0),c&&(d=e.apply(o,a))},m=()=>{l=void 0,s&&(clearTimeout(s),s=void 0),c&&(d=e.apply(o,a))},f=r&&!s;return clearTimeout(s),s=setTimeout(u,i),n>0&&n!==Number.POSITIVE_INFINITY&&!l&&(l=setTimeout(m,n)),f&&(d=e.apply(o,a)),d};return ux(p,e),p.cancel=()=>{s&&(clearTimeout(s),s=void 0),l&&(clearTimeout(l),l=void 0)},p};var Ei={exports:{}},tr,Vu;function ha(){if(Vu)return tr;Vu=1;const e="2.0.0",t=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,n=16,r=t-6;return tr={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_SAFE_INTEGER:i,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},tr}var nr,Ku;function va(){return Ku||(Ku=1,nr=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{}),nr}var Gu;function gn(){return Gu||(Gu=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=ha(),c=va();t=e.exports={};const s=t.re=[],l=t.safeRe=[],d=t.src=[],p=t.safeSrc=[],a=t.t={};let o=0;const u="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",r],[u,n]],f=v=>{for(const[g,y]of m)v=v.split(`${g}*`).join(`${g}{0,${y}}`).split(`${g}+`).join(`${g}{1,${y}}`);return v},h=(v,g,y)=>{const b=f(g),x=o++;c(v,x,g),a[v]=x,d[x]=g,p[x]=b,s[x]=new RegExp(g,y?"g":void 0),l[x]=new RegExp(b,y?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),h("MAINVERSION",`(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${d[a.PRERELEASEIDENTIFIER]}(?:\\.${d[a.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${d[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[a.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${u}+`),h("BUILD",`(?:\\+(${d[a.BUILDIDENTIFIER]}(?:\\.${d[a.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${d[a.MAINVERSION]}${d[a.PRERELEASE]}?${d[a.BUILD]}?`),h("FULL",`^${d[a.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${d[a.MAINVERSIONLOOSE]}${d[a.PRERELEASELOOSE]}?${d[a.BUILD]}?`),h("LOOSE",`^${d[a.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${d[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${d[a.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:${d[a.PRERELEASE]})?${d[a.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:${d[a.PRERELEASELOOSE]})?${d[a.BUILD]}?)?)?`),h("XRANGE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),h("COERCE",`${d[a.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",d[a.COERCEPLAIN]+`(?:${d[a.PRERELEASE]})?(?:${d[a.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",d[a.COERCE],!0),h("COERCERTLFULL",d[a.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${d[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${d[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${d[a.LONECARET]}${d[a.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${d[a.LONECARET]}${d[a.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${d[a.GTLT]}\\s*(${d[a.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]}|${d[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${d[a.XRANGEPLAIN]})\\s+-\\s+(${d[a.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${d[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[a.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Ei,Ei.exports)),Ei.exports}var ir,Hu;function wc(){if(Hu)return ir;Hu=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return ir=n=>n?typeof n!="object"?e:n:t,ir}var ar,Wu;function vh(){if(Wu)return ar;Wu=1;const e=/^[0-9]+$/,t=(n,r)=>{const c=e.test(n),s=e.test(r);return c&&s&&(n=+n,r=+r),n===r?0:c&&!s?-1:s&&!c?1:n<r?-1:1};return ar={compareIdentifiers:t,rcompareIdentifiers:(n,r)=>t(r,n)},ar}var rr,Yu;function Pe(){if(Yu)return rr;Yu=1;const e=va(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:i}=ha(),{safeRe:n,t:r}=gn(),c=wc(),{compareIdentifiers:s}=vh();class l{constructor(p,a){if(a=c(a),p instanceof l){if(p.loose===!!a.loose&&p.includePrerelease===!!a.includePrerelease)return p;p=p.version}else if(typeof p!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof p}".`);if(p.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",p,a),this.options=a,this.loose=!!a.loose,this.includePrerelease=!!a.includePrerelease;const o=p.trim().match(a.loose?n[r.LOOSE]:n[r.FULL]);if(!o)throw new TypeError(`Invalid Version: ${p}`);if(this.raw=p,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(u=>{if(/^[0-9]+$/.test(u)){const m=+u;if(m>=0&&m<i)return m}return u}):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(p){if(e("SemVer.compare",this.version,this.options,p),!(p instanceof l)){if(typeof p=="string"&&p===this.version)return 0;p=new l(p,this.options)}return p.version===this.version?0:this.compareMain(p)||this.comparePre(p)}compareMain(p){return p instanceof l||(p=new l(p,this.options)),s(this.major,p.major)||s(this.minor,p.minor)||s(this.patch,p.patch)}comparePre(p){if(p instanceof l||(p=new l(p,this.options)),this.prerelease.length&&!p.prerelease.length)return-1;if(!this.prerelease.length&&p.prerelease.length)return 1;if(!this.prerelease.length&&!p.prerelease.length)return 0;let a=0;do{const o=this.prerelease[a],u=p.prerelease[a];if(e("prerelease compare",a,o,u),o===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(o===void 0)return-1;if(o===u)continue;return s(o,u)}while(++a)}compareBuild(p){p instanceof l||(p=new l(p,this.options));let a=0;do{const o=this.build[a],u=p.build[a];if(e("build compare",a,o,u),o===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(o===void 0)return-1;if(o===u)continue;return s(o,u)}while(++a)}inc(p,a,o){if(p.startsWith("pre")){if(!a&&o===!1)throw new Error("invalid increment argument: identifier is empty");if(a){const u=`-${a}`.match(this.options.loose?n[r.PRERELEASELOOSE]:n[r.PRERELEASE]);if(!u||u[1]!==a)throw new Error(`invalid identifier: ${a}`)}}switch(p){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",a,o);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",a,o);break;case"prepatch":this.prerelease.length=0,this.inc("patch",a,o),this.inc("pre",a,o);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",a,o),this.inc("pre",a,o);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const u=Number(o)?1:0;if(this.prerelease.length===0)this.prerelease=[u];else{let m=this.prerelease.length;for(;--m>=0;)typeof this.prerelease[m]=="number"&&(this.prerelease[m]++,m=-2);if(m===-1){if(a===this.prerelease.join(".")&&o===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(u)}}if(a){let m=[a,u];o===!1&&(m=[a]),s(this.prerelease[0],a)===0?isNaN(this.prerelease[1])&&(this.prerelease=m):this.prerelease=m}break}default:throw new Error(`invalid increment argument: ${p}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return rr=l,rr}var sr,Ju;function Ut(){if(Ju)return sr;Ju=1;const e=Pe();return sr=(i,n,r=!1)=>{if(i instanceof e)return i;try{return new e(i,n)}catch(c){if(!r)return null;throw c}},sr}var or,Xu;function px(){if(Xu)return or;Xu=1;const e=Ut();return or=(i,n)=>{const r=e(i,n);return r?r.version:null},or}var cr,Qu;function dx(){if(Qu)return cr;Qu=1;const e=Ut();return cr=(i,n)=>{const r=e(i.trim().replace(/^[=v]+/,""),n);return r?r.version:null},cr}var lr,Zu;function fx(){if(Zu)return lr;Zu=1;const e=Pe();return lr=(i,n,r,c,s)=>{typeof r=="string"&&(s=c,c=r,r=void 0);try{return new e(i instanceof e?i.version:i,r).inc(n,c,s).version}catch{return null}},lr}var ur,ep;function mx(){if(ep)return ur;ep=1;const e=Ut();return ur=(i,n)=>{const r=e(i,null,!0),c=e(n,null,!0),s=r.compare(c);if(s===0)return null;const l=s>0,d=l?r:c,p=l?c:r,a=!!d.prerelease.length;if(!!p.prerelease.length&&!a){if(!p.patch&&!p.minor)return"major";if(p.compareMain(d)===0)return p.minor&&!p.patch?"minor":"patch"}const u=a?"pre":"";return r.major!==c.major?u+"major":r.minor!==c.minor?u+"minor":r.patch!==c.patch?u+"patch":"prerelease"},ur}var pr,tp;function hx(){if(tp)return pr;tp=1;const e=Pe();return pr=(i,n)=>new e(i,n).major,pr}var dr,np;function vx(){if(np)return dr;np=1;const e=Pe();return dr=(i,n)=>new e(i,n).minor,dr}var fr,ip;function gx(){if(ip)return fr;ip=1;const e=Pe();return fr=(i,n)=>new e(i,n).patch,fr}var mr,ap;function yx(){if(ap)return mr;ap=1;const e=Ut();return mr=(i,n)=>{const r=e(i,n);return r&&r.prerelease.length?r.prerelease:null},mr}var hr,rp;function ze(){if(rp)return hr;rp=1;const e=Pe();return hr=(i,n,r)=>new e(i,r).compare(new e(n,r)),hr}var vr,sp;function bx(){if(sp)return vr;sp=1;const e=ze();return vr=(i,n,r)=>e(n,i,r),vr}var gr,op;function xx(){if(op)return gr;op=1;const e=ze();return gr=(i,n)=>e(i,n,!0),gr}var yr,cp;function Sc(){if(cp)return yr;cp=1;const e=Pe();return yr=(i,n,r)=>{const c=new e(i,r),s=new e(n,r);return c.compare(s)||c.compareBuild(s)},yr}var br,lp;function wx(){if(lp)return br;lp=1;const e=Sc();return br=(i,n)=>i.sort((r,c)=>e(r,c,n)),br}var xr,up;function Sx(){if(up)return xr;up=1;const e=Sc();return xr=(i,n)=>i.sort((r,c)=>e(c,r,n)),xr}var wr,pp;function ga(){if(pp)return wr;pp=1;const e=ze();return wr=(i,n,r)=>e(i,n,r)>0,wr}var Sr,dp;function _c(){if(dp)return Sr;dp=1;const e=ze();return Sr=(i,n,r)=>e(i,n,r)<0,Sr}var _r,fp;function gh(){if(fp)return _r;fp=1;const e=ze();return _r=(i,n,r)=>e(i,n,r)===0,_r}var $r,mp;function yh(){if(mp)return $r;mp=1;const e=ze();return $r=(i,n,r)=>e(i,n,r)!==0,$r}var Er,hp;function $c(){if(hp)return Er;hp=1;const e=ze();return Er=(i,n,r)=>e(i,n,r)>=0,Er}var kr,vp;function Ec(){if(vp)return kr;vp=1;const e=ze();return kr=(i,n,r)=>e(i,n,r)<=0,kr}var Rr,gp;function bh(){if(gp)return Rr;gp=1;const e=gh(),t=yh(),i=ga(),n=$c(),r=_c(),c=Ec();return Rr=(l,d,p,a)=>{switch(d){case"===":return typeof l=="object"&&(l=l.version),typeof p=="object"&&(p=p.version),l===p;case"!==":return typeof l=="object"&&(l=l.version),typeof p=="object"&&(p=p.version),l!==p;case"":case"=":case"==":return e(l,p,a);case"!=":return t(l,p,a);case">":return i(l,p,a);case">=":return n(l,p,a);case"<":return r(l,p,a);case"<=":return c(l,p,a);default:throw new TypeError(`Invalid operator: ${d}`)}},Rr}var Ar,yp;function _x(){if(yp)return Ar;yp=1;const e=Pe(),t=Ut(),{safeRe:i,t:n}=gn();return Ar=(c,s)=>{if(c instanceof e)return c;if(typeof c=="number"&&(c=String(c)),typeof c!="string")return null;s=s||{};let l=null;if(!s.rtl)l=c.match(s.includePrerelease?i[n.COERCEFULL]:i[n.COERCE]);else{const m=s.includePrerelease?i[n.COERCERTLFULL]:i[n.COERCERTL];let f;for(;(f=m.exec(c))&&(!l||l.index+l[0].length!==c.length);)(!l||f.index+f[0].length!==l.index+l[0].length)&&(l=f),m.lastIndex=f.index+f[1].length+f[2].length;m.lastIndex=-1}if(l===null)return null;const d=l[2],p=l[3]||"0",a=l[4]||"0",o=s.includePrerelease&&l[5]?`-${l[5]}`:"",u=s.includePrerelease&&l[6]?`+${l[6]}`:"";return t(`${d}.${p}.${a}${o}${u}`,s)},Ar}var Pr,bp;function $x(){if(bp)return Pr;bp=1;class e{constructor(){this.max=1e3,this.map=new Map}get(i){const n=this.map.get(i);if(n!==void 0)return this.map.delete(i),this.map.set(i,n),n}delete(i){return this.map.delete(i)}set(i,n){if(!this.delete(i)&&n!==void 0){if(this.map.size>=this.max){const c=this.map.keys().next().value;this.delete(c)}this.map.set(i,n)}return this}}return Pr=e,Pr}var Tr,xp;function Ue(){if(xp)return Tr;xp=1;const e=/\s+/g;class t{constructor(V,T){if(T=r(T),V instanceof t)return V.loose===!!T.loose&&V.includePrerelease===!!T.includePrerelease?V:new t(V.raw,T);if(V instanceof c)return this.raw=V.value,this.set=[[V]],this.formatted=void 0,this;if(this.options=T,this.loose=!!T.loose,this.includePrerelease=!!T.includePrerelease,this.raw=V.trim().replace(e," "),this.set=this.raw.split("||").map(A=>this.parseRange(A.trim())).filter(A=>A.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const A=this.set[0];if(this.set=this.set.filter(P=>!h(P[0])),this.set.length===0)this.set=[A];else if(this.set.length>1){for(const P of this.set)if(P.length===1&&v(P[0])){this.set=[P];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let V=0;V<this.set.length;V++){V>0&&(this.formatted+="||");const T=this.set[V];for(let A=0;A<T.length;A++)A>0&&(this.formatted+=" "),this.formatted+=T[A].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(V){const A=((this.options.includePrerelease&&m)|(this.options.loose&&f))+":"+V,P=n.get(A);if(P)return P;const z=this.options.loose,q=z?d[p.HYPHENRANGELOOSE]:d[p.HYPHENRANGE];V=V.replace(q,B(this.options.includePrerelease)),s("hyphen replace",V),V=V.replace(d[p.COMPARATORTRIM],a),s("comparator trim",V),V=V.replace(d[p.TILDETRIM],o),s("tilde trim",V),V=V.replace(d[p.CARETTRIM],u),s("caret trim",V);let R=V.split(" ").map(k=>y(k,this.options)).join(" ").split(/\s+/).map(k=>M(k,this.options));z&&(R=R.filter(k=>(s("loose invalid filter",k,this.options),!!k.match(d[p.COMPARATORLOOSE])))),s("range list",R);const I=new Map,N=R.map(k=>new c(k,this.options));for(const k of N){if(h(k))return[k];I.set(k.value,k)}I.size>1&&I.has("")&&I.delete("");const $=[...I.values()];return n.set(A,$),$}intersects(V,T){if(!(V instanceof t))throw new TypeError("a Range is required");return this.set.some(A=>g(A,T)&&V.set.some(P=>g(P,T)&&A.every(z=>P.every(q=>z.intersects(q,T)))))}test(V){if(!V)return!1;if(typeof V=="string")try{V=new l(V,this.options)}catch{return!1}for(let T=0;T<this.set.length;T++)if(G(this.set[T],V,this.options))return!0;return!1}}Tr=t;const i=$x(),n=new i,r=wc(),c=ya(),s=va(),l=Pe(),{safeRe:d,t:p,comparatorTrimReplace:a,tildeTrimReplace:o,caretTrimReplace:u}=gn(),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:f}=ha(),h=C=>C.value==="<0.0.0-0",v=C=>C.value==="",g=(C,V)=>{let T=!0;const A=C.slice();let P=A.pop();for(;T&&A.length;)T=A.every(z=>P.intersects(z,V)),P=A.pop();return T},y=(C,V)=>(s("comp",C,V),C=S(C,V),s("caret",C),C=x(C,V),s("tildes",C),C=E(C,V),s("xrange",C),C=U(C,V),s("stars",C),C),b=C=>!C||C.toLowerCase()==="x"||C==="*",x=(C,V)=>C.trim().split(/\s+/).map(T=>w(T,V)).join(" "),w=(C,V)=>{const T=V.loose?d[p.TILDELOOSE]:d[p.TILDE];return C.replace(T,(A,P,z,q,R)=>{s("tilde",C,A,P,z,q,R);let I;return b(P)?I="":b(z)?I=`>=${P}.0.0 <${+P+1}.0.0-0`:b(q)?I=`>=${P}.${z}.0 <${P}.${+z+1}.0-0`:R?(s("replaceTilde pr",R),I=`>=${P}.${z}.${q}-${R} <${P}.${+z+1}.0-0`):I=`>=${P}.${z}.${q} <${P}.${+z+1}.0-0`,s("tilde return",I),I})},S=(C,V)=>C.trim().split(/\s+/).map(T=>_(T,V)).join(" "),_=(C,V)=>{s("caret",C,V);const T=V.loose?d[p.CARETLOOSE]:d[p.CARET],A=V.includePrerelease?"-0":"";return C.replace(T,(P,z,q,R,I)=>{s("caret",C,P,z,q,R,I);let N;return b(z)?N="":b(q)?N=`>=${z}.0.0${A} <${+z+1}.0.0-0`:b(R)?z==="0"?N=`>=${z}.${q}.0${A} <${z}.${+q+1}.0-0`:N=`>=${z}.${q}.0${A} <${+z+1}.0.0-0`:I?(s("replaceCaret pr",I),z==="0"?q==="0"?N=`>=${z}.${q}.${R}-${I} <${z}.${q}.${+R+1}-0`:N=`>=${z}.${q}.${R}-${I} <${z}.${+q+1}.0-0`:N=`>=${z}.${q}.${R}-${I} <${+z+1}.0.0-0`):(s("no pr"),z==="0"?q==="0"?N=`>=${z}.${q}.${R}${A} <${z}.${q}.${+R+1}-0`:N=`>=${z}.${q}.${R}${A} <${z}.${+q+1}.0-0`:N=`>=${z}.${q}.${R} <${+z+1}.0.0-0`),s("caret return",N),N})},E=(C,V)=>(s("replaceXRanges",C,V),C.split(/\s+/).map(T=>O(T,V)).join(" ")),O=(C,V)=>{C=C.trim();const T=V.loose?d[p.XRANGELOOSE]:d[p.XRANGE];return C.replace(T,(A,P,z,q,R,I)=>{s("xRange",C,A,P,z,q,R,I);const N=b(z),$=N||b(q),k=$||b(R),F=k;return P==="="&&F&&(P=""),I=V.includePrerelease?"-0":"",N?P===">"||P==="<"?A="<0.0.0-0":A="*":P&&F?($&&(q=0),R=0,P===">"?(P=">=",$?(z=+z+1,q=0,R=0):(q=+q+1,R=0)):P==="<="&&(P="<",$?z=+z+1:q=+q+1),P==="<"&&(I="-0"),A=`${P+z}.${q}.${R}${I}`):$?A=`>=${z}.0.0${I} <${+z+1}.0.0-0`:k&&(A=`>=${z}.${q}.0${I} <${z}.${+q+1}.0-0`),s("xRange return",A),A})},U=(C,V)=>(s("replaceStars",C,V),C.trim().replace(d[p.STAR],"")),M=(C,V)=>(s("replaceGTE0",C,V),C.trim().replace(d[V.includePrerelease?p.GTE0PRE:p.GTE0],"")),B=C=>(V,T,A,P,z,q,R,I,N,$,k,F)=>(b(A)?T="":b(P)?T=`>=${A}.0.0${C?"-0":""}`:b(z)?T=`>=${A}.${P}.0${C?"-0":""}`:q?T=`>=${T}`:T=`>=${T}${C?"-0":""}`,b(N)?I="":b($)?I=`<${+N+1}.0.0-0`:b(k)?I=`<${N}.${+$+1}.0-0`:F?I=`<=${N}.${$}.${k}-${F}`:C?I=`<${N}.${$}.${+k+1}-0`:I=`<=${I}`,`${T} ${I}`.trim()),G=(C,V,T)=>{for(let A=0;A<C.length;A++)if(!C[A].test(V))return!1;if(V.prerelease.length&&!T.includePrerelease){for(let A=0;A<C.length;A++)if(s(C[A].semver),C[A].semver!==c.ANY&&C[A].semver.prerelease.length>0){const P=C[A].semver;if(P.major===V.major&&P.minor===V.minor&&P.patch===V.patch)return!0}return!1}return!0};return Tr}var Or,wp;function ya(){if(wp)return Or;wp=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(a,o){if(o=i(o),a instanceof t){if(a.loose===!!o.loose)return a;a=a.value}a=a.trim().split(/\s+/).join(" "),s("comparator",a,o),this.options=o,this.loose=!!o.loose,this.parse(a),this.semver===e?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(a){const o=this.options.loose?n[r.COMPARATORLOOSE]:n[r.COMPARATOR],u=a.match(o);if(!u)throw new TypeError(`Invalid comparator: ${a}`);this.operator=u[1]!==void 0?u[1]:"",this.operator==="="&&(this.operator=""),u[2]?this.semver=new l(u[2],this.options.loose):this.semver=e}toString(){return this.value}test(a){if(s("Comparator.test",a,this.options.loose),this.semver===e||a===e)return!0;if(typeof a=="string")try{a=new l(a,this.options)}catch{return!1}return c(a,this.operator,this.semver,this.options)}intersects(a,o){if(!(a instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new d(a.value,o).test(this.value):a.operator===""?a.value===""?!0:new d(this.value,o).test(a.semver):(o=i(o),o.includePrerelease&&(this.value==="<0.0.0-0"||a.value==="<0.0.0-0")||!o.includePrerelease&&(this.value.startsWith("<0.0.0")||a.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&a.operator.startsWith(">")||this.operator.startsWith("<")&&a.operator.startsWith("<")||this.semver.version===a.semver.version&&this.operator.includes("=")&&a.operator.includes("=")||c(this.semver,"<",a.semver,o)&&this.operator.startsWith(">")&&a.operator.startsWith("<")||c(this.semver,">",a.semver,o)&&this.operator.startsWith("<")&&a.operator.startsWith(">")))}}Or=t;const i=wc(),{safeRe:n,t:r}=gn(),c=bh(),s=va(),l=Pe(),d=Ue();return Or}var Nr,Sp;function ba(){if(Sp)return Nr;Sp=1;const e=Ue();return Nr=(i,n,r)=>{try{n=new e(n,r)}catch{return!1}return n.test(i)},Nr}var jr,_p;function Ex(){if(_p)return jr;_p=1;const e=Ue();return jr=(i,n)=>new e(i,n).set.map(r=>r.map(c=>c.value).join(" ").trim().split(" ")),jr}var Cr,$p;function kx(){if($p)return Cr;$p=1;const e=Pe(),t=Ue();return Cr=(n,r,c)=>{let s=null,l=null,d=null;try{d=new t(r,c)}catch{return null}return n.forEach(p=>{d.test(p)&&(!s||l.compare(p)===-1)&&(s=p,l=new e(s,c))}),s},Cr}var Ir,Ep;function Rx(){if(Ep)return Ir;Ep=1;const e=Pe(),t=Ue();return Ir=(n,r,c)=>{let s=null,l=null,d=null;try{d=new t(r,c)}catch{return null}return n.forEach(p=>{d.test(p)&&(!s||l.compare(p)===1)&&(s=p,l=new e(s,c))}),s},Ir}var qr,kp;function Ax(){if(kp)return qr;kp=1;const e=Pe(),t=Ue(),i=ga();return qr=(r,c)=>{r=new t(r,c);let s=new e("0.0.0");if(r.test(s)||(s=new e("0.0.0-0"),r.test(s)))return s;s=null;for(let l=0;l<r.set.length;++l){const d=r.set[l];let p=null;d.forEach(a=>{const o=new e(a.semver.version);switch(a.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!p||i(o,p))&&(p=o);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),p&&(!s||i(s,p))&&(s=p)}return s&&r.test(s)?s:null},qr}var Lr,Rp;function Px(){if(Rp)return Lr;Rp=1;const e=Ue();return Lr=(i,n)=>{try{return new e(i,n).range||"*"}catch{return null}},Lr}var Dr,Ap;function kc(){if(Ap)return Dr;Ap=1;const e=Pe(),t=ya(),{ANY:i}=t,n=Ue(),r=ba(),c=ga(),s=_c(),l=Ec(),d=$c();return Dr=(a,o,u,m)=>{a=new e(a,m),o=new n(o,m);let f,h,v,g,y;switch(u){case">":f=c,h=l,v=s,g=">",y=">=";break;case"<":f=s,h=d,v=c,g="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(r(a,o,m))return!1;for(let b=0;b<o.set.length;++b){const x=o.set[b];let w=null,S=null;if(x.forEach(_=>{_.semver===i&&(_=new t(">=0.0.0")),w=w||_,S=S||_,f(_.semver,w.semver,m)?w=_:v(_.semver,S.semver,m)&&(S=_)}),w.operator===g||w.operator===y||(!S.operator||S.operator===g)&&h(a,S.semver))return!1;if(S.operator===y&&v(a,S.semver))return!1}return!0},Dr}var Mr,Pp;function Tx(){if(Pp)return Mr;Pp=1;const e=kc();return Mr=(i,n,r)=>e(i,n,">",r),Mr}var Fr,Tp;function Ox(){if(Tp)return Fr;Tp=1;const e=kc();return Fr=(i,n,r)=>e(i,n,"<",r),Fr}var zr,Op;function Nx(){if(Op)return zr;Op=1;const e=Ue();return zr=(i,n,r)=>(i=new e(i,r),n=new e(n,r),i.intersects(n,r)),zr}var Ur,Np;function jx(){if(Np)return Ur;Np=1;const e=ba(),t=ze();return Ur=(i,n,r)=>{const c=[];let s=null,l=null;const d=i.sort((u,m)=>t(u,m,r));for(const u of d)e(u,n,r)?(l=u,s||(s=u)):(l&&c.push([s,l]),l=null,s=null);s&&c.push([s,null]);const p=[];for(const[u,m]of c)u===m?p.push(u):!m&&u===d[0]?p.push("*"):m?u===d[0]?p.push(`<=${m}`):p.push(`${u} - ${m}`):p.push(`>=${u}`);const a=p.join(" || "),o=typeof n.raw=="string"?n.raw:String(n);return a.length<o.length?a:n},Ur}var Br,jp;function Cx(){if(jp)return Br;jp=1;const e=Ue(),t=ya(),{ANY:i}=t,n=ba(),r=ze(),c=(o,u,m={})=>{if(o===u)return!0;o=new e(o,m),u=new e(u,m);let f=!1;e:for(const h of o.set){for(const v of u.set){const g=d(h,v,m);if(f=f||g!==null,g)continue e}if(f)return!1}return!0},s=[new t(">=0.0.0-0")],l=[new t(">=0.0.0")],d=(o,u,m)=>{if(o===u)return!0;if(o.length===1&&o[0].semver===i){if(u.length===1&&u[0].semver===i)return!0;m.includePrerelease?o=s:o=l}if(u.length===1&&u[0].semver===i){if(m.includePrerelease)return!0;u=l}const f=new Set;let h,v;for(const E of o)E.operator===">"||E.operator===">="?h=p(h,E,m):E.operator==="<"||E.operator==="<="?v=a(v,E,m):f.add(E.semver);if(f.size>1)return null;let g;if(h&&v){if(g=r(h.semver,v.semver,m),g>0)return null;if(g===0&&(h.operator!==">="||v.operator!=="<="))return null}for(const E of f){if(h&&!n(E,String(h),m)||v&&!n(E,String(v),m))return null;for(const O of u)if(!n(E,String(O),m))return!1;return!0}let y,b,x,w,S=v&&!m.includePrerelease&&v.semver.prerelease.length?v.semver:!1,_=h&&!m.includePrerelease&&h.semver.prerelease.length?h.semver:!1;S&&S.prerelease.length===1&&v.operator==="<"&&S.prerelease[0]===0&&(S=!1);for(const E of u){if(w=w||E.operator===">"||E.operator===">=",x=x||E.operator==="<"||E.operator==="<=",h){if(_&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===_.major&&E.semver.minor===_.minor&&E.semver.patch===_.patch&&(_=!1),E.operator===">"||E.operator===">="){if(y=p(h,E,m),y===E&&y!==h)return!1}else if(h.operator===">="&&!n(h.semver,String(E),m))return!1}if(v){if(S&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===S.major&&E.semver.minor===S.minor&&E.semver.patch===S.patch&&(S=!1),E.operator==="<"||E.operator==="<="){if(b=a(v,E,m),b===E&&b!==v)return!1}else if(v.operator==="<="&&!n(v.semver,String(E),m))return!1}if(!E.operator&&(v||h)&&g!==0)return!1}return!(h&&x&&!v&&g!==0||v&&w&&!h&&g!==0||_||S)},p=(o,u,m)=>{if(!o)return u;const f=r(o.semver,u.semver,m);return f>0?o:f<0||u.operator===">"&&o.operator===">="?u:o},a=(o,u,m)=>{if(!o)return u;const f=r(o.semver,u.semver,m);return f<0?o:f>0||u.operator==="<"&&o.operator==="<="?u:o};return Br=c,Br}var Vr,Cp;function Ix(){if(Cp)return Vr;Cp=1;const e=gn(),t=ha(),i=Pe(),n=vh(),r=Ut(),c=px(),s=dx(),l=fx(),d=mx(),p=hx(),a=vx(),o=gx(),u=yx(),m=ze(),f=bx(),h=xx(),v=Sc(),g=wx(),y=Sx(),b=ga(),x=_c(),w=gh(),S=yh(),_=$c(),E=Ec(),O=bh(),U=_x(),M=ya(),B=Ue(),G=ba(),C=Ex(),V=kx(),T=Rx(),A=Ax(),P=Px(),z=kc(),q=Tx(),R=Ox(),I=Nx(),N=jx(),$=Cx();return Vr={parse:r,valid:c,clean:s,inc:l,diff:d,major:p,minor:a,patch:o,prerelease:u,compare:m,rcompare:f,compareLoose:h,compareBuild:v,sort:g,rsort:y,gt:b,lt:x,eq:w,neq:S,gte:_,lte:E,cmp:O,coerce:U,Comparator:M,Range:B,satisfies:G,toComparators:C,maxSatisfying:V,minSatisfying:T,minVersion:A,validRange:P,outside:z,gtr:q,ltr:R,intersects:I,simplifyRange:N,subset:$,SemVer:i,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,RELEASE_TYPES:t.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers},Vr}var qx=Ix();const Tt=mn(qx),Lx=Object.prototype.toString,Dx="[object Uint8Array]",Mx="[object ArrayBuffer]";function xh(e,t,i){return e?e.constructor===t?!0:Lx.call(e)===i:!1}function wh(e){return xh(e,Uint8Array,Dx)}function Fx(e){return xh(e,ArrayBuffer,Mx)}function zx(e){return wh(e)||Fx(e)}function Ux(e){if(!wh(e))throw new TypeError(`Expected \`Uint8Array\`, got \`${typeof e}\``)}function Bx(e){if(!zx(e))throw new TypeError(`Expected \`Uint8Array\` or \`ArrayBuffer\`, got \`${typeof e}\``)}function Kr(e,t){if(e.length===0)return new Uint8Array(0);t??=e.reduce((r,c)=>r+c.length,0);const i=new Uint8Array(t);let n=0;for(const r of e)Ux(r),i.set(r,n),n+=r.length;return i}const Ip={utf8:new globalThis.TextDecoder("utf8")};function ki(e,t="utf8"){return Bx(e),Ip[t]??=new globalThis.TextDecoder(t),Ip[t].decode(e)}function Vx(e){if(typeof e!="string")throw new TypeError(`Expected \`string\`, got \`${typeof e}\``)}const Kx=new globalThis.TextEncoder;function Ri(e){return Vx(e),Kx.encode(e)}Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));const Gr="aes-256-cbc",nt=()=>Object.create(null),qp=e=>e!==void 0,Hr=(e,t)=>{const i=new Set(["undefined","symbol","function"]),n=typeof t;if(i.has(n))throw new TypeError(`Setting a value of type \`${n}\` for key \`${e}\` is not allowed as it's not supported by JSON`)},it="__internal__",Wr=`${it}.migrations.version`;class Gx{path;events;#a;#n;#e;#t={};#r=!1;#s;#o;#i;constructor(t={}){const i=this.#c(t);this.#e=i,this.#l(i),this.#p(i),this.#d(i),this.events=new EventTarget,this.#n=i.encryptionKey,this.path=this.#f(i),this.#m(i),i.watch&&this._watch()}get(t,i){if(this.#e.accessPropertiesByDotNotation)return this._get(t,i);const{store:n}=this;return t in n?n[t]:i}set(t,i){if(typeof t!="string"&&typeof t!="object")throw new TypeError(`Expected \`key\` to be of type \`string\` or \`object\`, got ${typeof t}`);if(typeof t!="object"&&i===void 0)throw new TypeError("Use `delete()` to clear values");if(this._containsReservedKey(t))throw new TypeError(`Please don't use the ${it} key, as it's used to manage this module internal operations.`);const{store:n}=this,r=(c,s)=>{if(Hr(c,s),this.#e.accessPropertiesByDotNotation)kn(n,c,s);else{if(c==="__proto__"||c==="constructor"||c==="prototype")return;n[c]=s}};if(typeof t=="object"){const c=t;for(const[s,l]of Object.entries(c))r(s,l)}else r(t,i);this.store=n}has(t){return this.#e.accessPropertiesByDotNotation?Fa(this.store,t):t in this.store}appendToArray(t,i){Hr(t,i);const n=this.#e.accessPropertiesByDotNotation?this._get(t,[]):t in this.store?this.store[t]:[];if(!Array.isArray(n))throw new TypeError(`The key \`${t}\` is already set to a non-array value`);this.set(t,[...n,i])}reset(...t){for(const i of t)qp(this.#t[i])&&this.set(i,this.#t[i])}delete(t){const{store:i}=this;this.#e.accessPropertiesByDotNotation?ag(i,t):delete i[t],this.store=i}clear(){const t=nt();for(const i of Object.keys(this.#t))qp(this.#t[i])&&(Hr(i,this.#t[i]),this.#e.accessPropertiesByDotNotation?kn(t,i,this.#t[i]):t[i]=this.#t[i]);this.store=t}onDidChange(t,i){if(typeof t!="string")throw new TypeError(`Expected \`key\` to be of type \`string\`, got ${typeof t}`);if(typeof i!="function")throw new TypeError(`Expected \`callback\` to be of type \`function\`, got ${typeof i}`);return this._handleValueChange(()=>this.get(t),i)}onDidAnyChange(t){if(typeof t!="function")throw new TypeError(`Expected \`callback\` to be of type \`function\`, got ${typeof t}`);return this._handleStoreChange(t)}get size(){return Object.keys(this.store).filter(i=>!this._isReservedKeyPath(i)).length}get store(){try{const t=ee.readFileSync(this.path,this.#n?null:"utf8"),i=this._decryptData(t),n=this._deserialize(i);return this.#r||this._validate(n),Object.assign(nt(),n)}catch(t){if(t?.code==="ENOENT")return this._ensureDirectory(),nt();if(this.#e.clearInvalidConfig){const i=t;if(i.name==="SyntaxError"||i.message?.startsWith("Config schema violation:"))return nt()}throw t}}set store(t){if(this._ensureDirectory(),!Fa(t,it))try{const i=ee.readFileSync(this.path,this.#n?null:"utf8"),n=this._decryptData(i),r=this._deserialize(n);Fa(r,it)&&kn(t,it,ol(r,it))}catch{}this.#r||this._validate(t),this._write(t),this.events.dispatchEvent(new Event("change"))}*[Symbol.iterator](){for(const[t,i]of Object.entries(this.store))this._isReservedKeyPath(t)||(yield[t,i])}_closeWatcher(){this.#s&&(this.#s.close(),this.#s=void 0),this.#o&&(ee.unwatchFile(this.path),this.#o=!1),this.#i=void 0}_decryptData(t){if(!this.#n)return typeof t=="string"?t:ki(t);try{const i=t.slice(0,16),n=ut.pbkdf2Sync(this.#n,i,1e4,32,"sha512"),r=ut.createDecipheriv(Gr,n,i),c=t.slice(17),s=typeof c=="string"?Ri(c):c;return ki(Kr([r.update(s),r.final()]))}catch{try{const i=t.slice(0,16),n=ut.pbkdf2Sync(this.#n,i.toString(),1e4,32,"sha512"),r=ut.createDecipheriv(Gr,n,i),c=t.slice(17),s=typeof c=="string"?Ri(c):c;return ki(Kr([r.update(s),r.final()]))}catch{}}return typeof t=="string"?t:ki(t)}_handleStoreChange(t){let i=this.store;const n=()=>{const r=i,c=this.store;xe.isDeepStrictEqual(c,r)||(i=c,t.call(this,c,r))};return this.events.addEventListener("change",n),()=>{this.events.removeEventListener("change",n)}}_handleValueChange(t,i){let n=t();const r=()=>{const c=n,s=t();xe.isDeepStrictEqual(s,c)||(n=s,i.call(this,s,c))};return this.events.addEventListener("change",r),()=>{this.events.removeEventListener("change",r)}}_deserialize=t=>JSON.parse(t);_serialize=t=>JSON.stringify(t,void 0," ");_validate(t){if(!this.#a||this.#a(t)||!this.#a.errors)return;const n=this.#a.errors.map(({instancePath:r,message:c=""})=>`\`${r.slice(1)}\` ${c}`);throw new Error("Config schema violation: "+n.join("; "))}_ensureDirectory(){ee.mkdirSync(Q.dirname(this.path),{recursive:!0})}_write(t){let i=this._serialize(t);if(this.#n){const n=ut.randomBytes(16),r=ut.pbkdf2Sync(this.#n,n,1e4,32,"sha512"),c=ut.createCipheriv(Gr,r,n);i=Kr([n,Ri(":"),c.update(Ri(i)),c.final()])}if(he.env.SNAP)ee.writeFileSync(this.path,i,{mode:this.#e.configFileMode});else try{eh(this.path,i,{mode:this.#e.configFileMode})}catch(n){if(n?.code==="EXDEV"){ee.writeFileSync(this.path,i,{mode:this.#e.configFileMode});return}throw n}}_watch(){if(this._ensureDirectory(),ee.existsSync(this.path)||this._write(nt()),he.platform==="win32"||he.platform==="darwin"){this.#i??=Bu(()=>{this.events.dispatchEvent(new Event("change"))},{wait:100});const t=Q.dirname(this.path),i=Q.basename(this.path);this.#s=ee.watch(t,{persistent:!1,encoding:"utf8"},(n,r)=>{r&&r!==i||typeof this.#i=="function"&&this.#i()})}else this.#i??=Bu(()=>{this.events.dispatchEvent(new Event("change"))},{wait:1e3}),ee.watchFile(this.path,{persistent:!1},(t,i)=>{typeof this.#i=="function"&&this.#i()}),this.#o=!0}_migrate(t,i,n){let r=this._get(Wr,"0.0.0");const c=Object.keys(t).filter(l=>this._shouldPerformMigration(l,r,i));let s=structuredClone(this.store);for(const l of c)try{n&&n(this,{fromVersion:r,toVersion:l,finalVersion:i,versions:c});const d=t[l];d?.(this),this._set(Wr,l),r=l,s=structuredClone(this.store)}catch(d){this.store=s;try{this._write(s)}catch{}const p=d instanceof Error?d.message:String(d);throw new Error(`Something went wrong during the migration! Changes applied to the store until this failed migration will be restored. ${p}`)}(this._isVersionInRangeFormat(r)||!Tt.eq(r,i))&&this._set(Wr,i)}_containsReservedKey(t){return typeof t=="string"?this._isReservedKeyPath(t):!t||typeof t!="object"?!1:this._objectContainsReservedKey(t)}_objectContainsReservedKey(t){if(!t||typeof t!="object")return!1;for(const[i,n]of Object.entries(t))if(this._isReservedKeyPath(i)||this._objectContainsReservedKey(n))return!0;return!1}_isReservedKeyPath(t){return t===it||t.startsWith(`${it}.`)}_isVersionInRangeFormat(t){return Tt.clean(t)===null}_shouldPerformMigration(t,i,n){return this._isVersionInRangeFormat(t)?i!=="0.0.0"&&Tt.satisfies(i,t)?!1:Tt.satisfies(n,t):!(Tt.lte(t,i)||Tt.gt(t,n))}_get(t,i){return ol(this.store,t,i)}_set(t,i){const{store:n}=this;kn(n,t,i),this.store=n}#c(t){const i={configName:"config",fileExtension:"json",projectSuffix:"nodejs",clearInvalidConfig:!1,accessPropertiesByDotNotation:!0,configFileMode:438,...t};if(!i.cwd){if(!i.projectName)throw new Error("Please specify the `projectName` option.");i.cwd=cg(i.projectName,{suffix:i.projectSuffix}).config}return typeof i.fileExtension=="string"&&(i.fileExtension=i.fileExtension.replace(/^\.+/,"")),i}#l(t){if(!(t.schema??t.ajvOptions??t.rootSchema))return;if(t.schema&&typeof t.schema!="object")throw new TypeError("The `schema` option must be an object.");const i=nx.default,n=new Ub.Ajv2020({allErrors:!0,useDefaults:!0,...t.ajvOptions});i(n);const r={...t.rootSchema,type:"object",properties:t.schema};this.#a=n.compile(r),this.#u(t.schema)}#u(t){const i=Object.entries(t??{});for(const[n,r]of i){if(!r||typeof r!="object"||!Object.hasOwn(r,"default"))continue;const{default:c}=r;c!==void 0&&(this.#t[n]=c)}}#p(t){t.defaults&&Object.assign(this.#t,t.defaults)}#d(t){t.serialize&&(this._serialize=t.serialize),t.deserialize&&(this._deserialize=t.deserialize)}#f(t){const i=typeof t.fileExtension=="string"?t.fileExtension:void 0,n=i?`.${i}`:"";return Q.resolve(t.cwd,`${t.configName??"config"}${n}`)}#m(t){if(t.migrations){this.#h(t),this._validate(this.store);return}const i=this.store,n=Object.assign(nt(),t.defaults??{},i);this._validate(n);try{sl.deepEqual(i,n)}catch{this.store=n}}#h(t){const{migrations:i,projectVersion:n}=t;if(i){if(!n)throw new Error("Please specify the `projectVersion` option.");this.#r=!0;try{const r=this.store,c=Object.assign(nt(),t.defaults??{},r);try{sl.deepEqual(r,c)}catch{this._write(c)}this._migrate(i,n,t.beforeEachMigration)}finally{this.#r=!1}}}}const{app:Gi,ipcMain:Qo,shell:Hx}=X;let Lp=!1;const Dp=()=>{if(!Qo||!Gi)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");const e={defaultCwd:Gi.getPath("userData"),appVersion:Gi.getVersion()};return Lp||(Qo.on("electron-store-get-data",t=>{t.returnValue=e}),Lp=!0),e};class xa extends Gx{constructor(t){let i,n;if(he.type==="renderer"){const r=X.ipcRenderer.sendSync("electron-store-get-data");if(!r)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");({defaultCwd:i,appVersion:n}=r)}else Qo&&Gi&&({defaultCwd:i,appVersion:n}=Dp());t={name:"config",...t},t.projectVersion||=n,t.cwd?t.cwd=Q.isAbsolute(t.cwd)?t.cwd:Q.join(i,t.cwd):t.cwd=i,t.configName=t.name,delete t.name,super(t)}static initRenderer(){Dp()}async openInEditor(){const t=await Hx.openPath(this.path);if(t)throw new Error(t)}}const Wx="configuration",Sh="_raw",Yx={_raw:{type:"string"},configuration:{type:"object"}},ta=new xa({name:"settings",serialize:e=>e._raw,deserialize:e=>({_raw:e,...JSON.parse(e)}),schema:Yx});function _h(e){ta.set(Sh,e)}function Jx(){return ta.size<2&&_h(JSON.stringify(tg,null,2)),ta.get(Sh)}function Xx(){return ta.get(Wx)}function Qx(e){_h(e)}function Zx(){return Jx()}function ew(){X.ipcMain.handle("settings:save",async(e,{settings:t})=>{Qx(t)}),X.ipcMain.handle("settings:load",async()=>Zx())}const Zo=new Map([]);Zo.set("http://localhost:15680",new Set);const tw=new Set(["https://github.com"]);X.app.on("web-contents-created",(e,t)=>{t.on("will-navigate",(i,n)=>{const r=Xx(),{origin:c}=new Wt.URL(n);Object.values(r).some(l=>{const d=l.baseURL;return d?new Wt.URL(d).origin==c:!1})||i.preventDefault()}),t.session.setPermissionRequestHandler((i,n,r)=>{const{origin:c}=new Wt.URL(i.getURL()),s=!!Zo.get(c)?.has(n);r(s)}),t.setWindowOpenHandler(({url:i})=>{const{origin:n}=new Wt.URL(i);return tw.has(n)&&X.shell.openExternal(i).catch(console.error),{action:"deny"}}),t.on("will-attach-webview",(i,n,r)=>{const{origin:c}=new Wt.URL(r.src);if(!Zo.has(c)){i.preventDefault();return}delete n.preload,delete n.preloadURL,n.nodeIntegration=!1,n.contextIsolation=!0})});const $h={};function nw(e){$h.storageRoot=e}function iw(){return $h.storageRoot}function aw(e){e.loadFile(Q.resolve(X.app.getAppPath(),"./renderer/dist/index.html"))}function rw(e){nw(e)}function sw(e){X.ipcMain.handle("reloadBrowser",()=>aw(e)),X.ipcMain.handle("setStorageRoot",(t,{storageRoot:i})=>rw(i))}const Rc="tokenType",Ac="accessToken",ow={tokenType:{type:"string"},accessToken:{type:"string"}},Bt=new xa({name:"authentication-github-main",schema:ow});function cw(e){Bt.set(Rc,e)}function lw(e){Bt.set(Ac,e)}function ec(){return Bt.get(Rc)}function tc(){return Bt.get(Ac)}function uw(){Bt.delete(Rc)}function pw(){Bt.delete(Ac)}function Eh(e,t){return function(){return e.apply(t,arguments)}}const{toString:dw}=Object.prototype,{getPrototypeOf:Pc}=Object,{iterator:wa,toStringTag:kh}=Symbol,Sa=(e=>t=>{const i=dw.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Be=e=>(e=e.toLowerCase(),t=>Sa(t)===e),_a=e=>t=>typeof t===e,{isArray:Vt}=Array,Mt=_a("undefined");function yn(e){return e!==null&&!Mt(e)&&e.constructor!==null&&!Mt(e.constructor)&&Oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Rh=Be("ArrayBuffer");function fw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Rh(e.buffer),t}const mw=_a("string"),Oe=_a("function"),Ah=_a("number"),bn=e=>e!==null&&typeof e=="object",hw=e=>e===!0||e===!1,Hi=e=>{if(Sa(e)!=="object")return!1;const t=Pc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(kh in e)&&!(wa in e)},vw=e=>{if(!bn(e)||yn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},gw=Be("Date"),yw=Be("File"),bw=Be("Blob"),xw=Be("FileList"),ww=e=>bn(e)&&Oe(e.pipe),Sw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Oe(e.append)&&((t=Sa(e))==="formdata"||t==="object"&&Oe(e.toString)&&e.toString()==="[object FormData]"))},_w=Be("URLSearchParams"),[$w,Ew,kw,Rw]=["ReadableStream","Request","Response","Headers"].map(Be),Aw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xn(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),Vt(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{if(yn(e))return;const c=i?Object.getOwnPropertyNames(e):Object.keys(e),s=c.length;let l;for(n=0;n<s;n++)l=c[n],t.call(null,e[l],l,e)}}function Ph(e,t){if(yn(e))return null;t=t.toLowerCase();const i=Object.keys(e);let n=i.length,r;for(;n-- >0;)if(r=i[n],t===r.toLowerCase())return r;return null}const ht=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Th=e=>!Mt(e)&&e!==ht;function nc(){const{caseless:e,skipUndefined:t}=Th(this)&&this||{},i={},n=(r,c)=>{const s=e&&Ph(i,c)||c;Hi(i[s])&&Hi(r)?i[s]=nc(i[s],r):Hi(r)?i[s]=nc({},r):Vt(r)?i[s]=r.slice():(!t||!Mt(r))&&(i[s]=r)};for(let r=0,c=arguments.length;r<c;r++)arguments[r]&&xn(arguments[r],n);return i}const Pw=(e,t,i,{allOwnKeys:n}={})=>(xn(t,(r,c)=>{i&&Oe(r)?e[c]=Eh(r,i):e[c]=r},{allOwnKeys:n}),e),Tw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ow=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},Nw=(e,t,i,n)=>{let r,c,s;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),c=r.length;c-- >0;)s=r[c],(!n||n(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=i!==!1&&Pc(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},jw=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return n!==-1&&n===i},Cw=e=>{if(!e)return null;if(Vt(e))return e;let t=e.length;if(!Ah(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Iw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Pc(Uint8Array)),qw=(e,t)=>{const n=(e&&e[wa]).call(e);let r;for(;(r=n.next())&&!r.done;){const c=r.value;t.call(e,c[0],c[1])}},Lw=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Dw=Be("HTMLFormElement"),Mw=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),Mp=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),Fw=Be("RegExp"),Oh=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};xn(i,(r,c)=>{let s;(s=t(r,c,e))!==!1&&(n[c]=s||r)}),Object.defineProperties(e,n)},zw=e=>{Oh(e,(t,i)=>{if(Oe(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Oe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},Uw=(e,t)=>{const i={},n=r=>{r.forEach(c=>{i[c]=!0})};return Vt(e)?n(e):n(String(e).split(t)),i},Bw=()=>{},Vw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Kw(e){return!!(e&&Oe(e.append)&&e[kh]==="FormData"&&e[wa])}const Gw=e=>{const t=new Array(10),i=(n,r)=>{if(bn(n)){if(t.indexOf(n)>=0)return;if(yn(n))return n;if(!("toJSON"in n)){t[r]=n;const c=Vt(n)?[]:{};return xn(n,(s,l)=>{const d=i(s,r+1);!Mt(d)&&(c[l]=d)}),t[r]=void 0,c}}return n};return i(e,0)},Hw=Be("AsyncFunction"),Ww=e=>e&&(bn(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),Nh=((e,t)=>e?setImmediate:t?((i,n)=>(ht.addEventListener("message",({source:r,data:c})=>{r===ht&&c===i&&n.length&&n.shift()()},!1),r=>{n.push(r),ht.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Oe(ht.postMessage)),Yw=typeof queueMicrotask<"u"?queueMicrotask.bind(ht):typeof process<"u"&&process.nextTick||Nh,Jw=e=>e!=null&&Oe(e[wa]),L={isArray:Vt,isArrayBuffer:Rh,isBuffer:yn,isFormData:Sw,isArrayBufferView:fw,isString:mw,isNumber:Ah,isBoolean:hw,isObject:bn,isPlainObject:Hi,isEmptyObject:vw,isReadableStream:$w,isRequest:Ew,isResponse:kw,isHeaders:Rw,isUndefined:Mt,isDate:gw,isFile:yw,isBlob:bw,isRegExp:Fw,isFunction:Oe,isStream:ww,isURLSearchParams:_w,isTypedArray:Iw,isFileList:xw,forEach:xn,merge:nc,extend:Pw,trim:Aw,stripBOM:Tw,inherits:Ow,toFlatObject:Nw,kindOf:Sa,kindOfTest:Be,endsWith:jw,toArray:Cw,forEachEntry:qw,matchAll:Lw,isHTMLForm:Dw,hasOwnProperty:Mp,hasOwnProp:Mp,reduceDescriptors:Oh,freezeMethods:zw,toObjectSet:Uw,toCamelCase:Mw,noop:Bw,toFiniteNumber:Vw,findKey:Ph,global:ht,isContextDefined:Th,isSpecCompliantForm:Kw,toJSONObject:Gw,isAsyncFn:Hw,isThenable:Ww,setImmediate:Nh,asap:Yw,isIterable:Jw};function J(e,t,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}L.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.status}}});const jh=J.prototype,Ch={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ch[e]={value:e}});Object.defineProperties(J,Ch);Object.defineProperty(jh,"isAxiosError",{value:!0});J.from=(e,t,i,n,r,c)=>{const s=Object.create(jh);L.toFlatObject(e,s,function(a){return a!==Error.prototype},p=>p!=="isAxiosError");const l=e&&e.message?e.message:"Error",d=t==null&&e?e.code:t;return J.call(s,l,d,i,n,r),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",c&&Object.assign(s,c),s};var Yr,Fp;function Xw(){if(Fp)return Yr;Fp=1;var e=Ce.Stream,t=zt;Yr=i;function i(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return t.inherits(i,e),i.create=function(n,r){var c=new this;r=r||{};for(var s in r)c[s]=r[s];c.source=n;var l=n.emit;return n.emit=function(){return c._handleEmit(arguments),l.apply(n,arguments)},n.on("error",function(){}),c.pauseStream&&n.pause(),c},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(n){this.emit.apply(this,n)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var n=e.prototype.pipe.apply(this,arguments);return this.resume(),n},i.prototype._handleEmit=function(n){if(this._released){this.emit.apply(this,n);return}n[0]==="data"&&(this.dataSize+=n[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(n)},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(n))}},Yr}var Jr,zp;function Qw(){if(zp)return Jr;zp=1;var e=zt,t=Ce.Stream,i=Xw();Jr=n;function n(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return e.inherits(n,t),n.create=function(r){var c=new this;r=r||{};for(var s in r)c[s]=r[s];return c},n.isStreamLike=function(r){return typeof r!="function"&&typeof r!="string"&&typeof r!="boolean"&&typeof r!="number"&&!Buffer.isBuffer(r)},n.prototype.append=function(r){var c=n.isStreamLike(r);if(c){if(!(r instanceof i)){var s=i.create(r,{maxDataSize:1/0,pauseStream:this.pauseStreams});r.on("data",this._checkDataSize.bind(this)),r=s}this._handleErrors(r),this.pauseStreams&&r.pause()}return this._streams.push(r),this},n.prototype.pipe=function(r,c){return t.prototype.pipe.call(this,r,c),this.resume(),r},n.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},n.prototype._realGetNext=function(){var r=this._streams.shift();if(typeof r>"u"){this.end();return}if(typeof r!="function"){this._pipeNext(r);return}var c=r;c(function(s){var l=n.isStreamLike(s);l&&(s.on("data",this._checkDataSize.bind(this)),this._handleErrors(s)),this._pipeNext(s)}.bind(this))},n.prototype._pipeNext=function(r){this._currentStream=r;var c=n.isStreamLike(r);if(c){r.on("end",this._getNext.bind(this)),r.pipe(this,{end:!1});return}var s=r;this.write(s),this._getNext()},n.prototype._handleErrors=function(r){var c=this;r.on("error",function(s){c._emitError(s)})},n.prototype.write=function(r){this.emit("data",r)},n.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))},n.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")},n.prototype.end=function(){this._reset(),this.emit("end")},n.prototype.destroy=function(){this._reset(),this.emit("close")},n.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},n.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(r))}},n.prototype._updateDataSize=function(){this.dataSize=0;var r=this;this._streams.forEach(function(c){c.dataSize&&(r.dataSize+=c.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},n.prototype._emitError=function(r){this._reset(),this.emit("error",r)},Jr}var Xr={};const Zw={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
10
10
  * mime-db
11
11
  * Copyright(c) 2014 Jonathan Ong
12
12
  * Copyright(c) 2015-2022 Douglas Christopher Wilson
13
13
  * MIT Licensed
14
- */var Gr,Mp;function e0(){return Mp||(Mp=1,Gr=Zw),Gr}/*!
14
+ */var Qr,Up;function e0(){return Up||(Up=1,Qr=Zw),Qr}/*!
15
15
  * mime-types
16
16
  * Copyright(c) 2014 Jonathan Ong
17
17
  * Copyright(c) 2015 Douglas Christopher Wilson
18
18
  * MIT Licensed
19
- */var Dp;function t0(){return Dp||(Dp=1,(function(e){var t=e0(),i=Bm.extname,n=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;e.charset=c,e.charsets={lookup:c},e.contentType=o,e.extension=l,e.extensions=Object.create(null),e.lookup=d,e.types=Object.create(null),p(e.extensions,e.types);function c(a){if(!a||typeof a!="string")return!1;var s=n.exec(a),u=s&&t[s[1].toLowerCase()];return u&&u.charset?u.charset:s&&r.test(s[1])?"UTF-8":!1}function o(a){if(!a||typeof a!="string")return!1;var s=a.indexOf("/")===-1?e.lookup(a):a;if(!s)return!1;if(s.indexOf("charset")===-1){var u=e.charset(s);u&&(s+="; charset="+u.toLowerCase())}return s}function l(a){if(!a||typeof a!="string")return!1;var s=n.exec(a),u=s&&e.extensions[s[1].toLowerCase()];return!u||!u.length?!1:u[0]}function d(a){if(!a||typeof a!="string")return!1;var s=i("x."+a).toLowerCase().substr(1);return s&&e.types[s]||!1}function p(a,s){var u=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(f){var h=t[f],v=h.extensions;if(!(!v||!v.length)){a[f]=v;for(var g=0;g<v.length;g++){var y=v[g];if(s[y]){var b=u.indexOf(t[s[y]].source),x=u.indexOf(h.source);if(s[y]!=="application/octet-stream"&&(b>x||b===x&&s[y].substr(0,12)==="application/"))continue}s[y]=f}}})}})(Kr)),Kr}var Hr,Fp;function n0(){if(Fp)return Hr;Fp=1,Hr=e;function e(t){var i=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;i?i(t):setTimeout(t,0)}return Hr}var Wr,Up;function Ph(){if(Up)return Wr;Up=1;var e=n0();Wr=t;function t(i){var n=!1;return e(function(){n=!0}),function(c,o){n?i(c,o):e(function(){i(c,o)})}}return Wr}var Yr,zp;function Th(){if(zp)return Yr;zp=1,Yr=e;function e(i){Object.keys(i.jobs).forEach(t.bind(i)),i.jobs={}}function t(i){typeof this.jobs[i]=="function"&&this.jobs[i]()}return Yr}var Jr,Bp;function Oh(){if(Bp)return Jr;Bp=1;var e=Ph(),t=Th();Jr=i;function i(r,c,o,l){var d=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[d]=n(c,d,r[d],function(p,a){d in o.jobs&&(delete o.jobs[d],p?t(o):o.results[d]=a,l(p,o.results))})}function n(r,c,o,l){var d;return r.length==2?d=r(o,e(l)):d=r(o,c,e(l)),d}return Jr}var Xr,Vp;function Nh(){if(Vp)return Xr;Vp=1,Xr=e;function e(t,i){var n=!Array.isArray(t),r={index:0,keyedList:n||i?Object.keys(t):null,jobs:{},results:n?{}:[],size:n?Object.keys(t).length:t.length};return i&&r.keyedList.sort(n?i:function(c,o){return i(t[c],t[o])}),r}return Xr}var Qr,Kp;function jh(){if(Kp)return Qr;Kp=1;var e=Th(),t=Ph();Qr=i;function i(n){Object.keys(this.jobs).length&&(this.index=this.size,e(this),t(n)(null,this.results))}return Qr}var Zr,Gp;function i0(){if(Gp)return Zr;Gp=1;var e=Oh(),t=Nh(),i=jh();Zr=n;function n(r,c,o){for(var l=t(r);l.index<(l.keyedList||r).length;)e(r,c,l,function(d,p){if(d){o(d,p);return}if(Object.keys(l.jobs).length===0){o(null,l.results);return}}),l.index++;return i.bind(l,o)}return Zr}var Xt={exports:{}},Hp;function Ch(){if(Hp)return Xt.exports;Hp=1;var e=Oh(),t=Nh(),i=jh();Xt.exports=n,Xt.exports.ascending=r,Xt.exports.descending=c;function n(o,l,d,p){var a=t(o,d);return e(o,l,a,function s(u,m){if(u){p(u,m);return}if(a.index++,a.index<(a.keyedList||o).length){e(o,l,a,s);return}p(null,a.results)}),i.bind(a,p)}function r(o,l){return o<l?-1:o>l?1:0}function c(o,l){return-1*r(o,l)}return Xt.exports}var es,Wp;function a0(){if(Wp)return es;Wp=1;var e=Ch();es=t;function t(i,n,r){return e(i,n,null,r)}return es}var ts,Yp;function r0(){return Yp||(Yp=1,ts={parallel:i0(),serial:a0(),serialOrdered:Ch()}),ts}var ns,Jp;function Ih(){return Jp||(Jp=1,ns=Object),ns}var is,Xp;function s0(){return Xp||(Xp=1,is=Error),is}var as,Qp;function o0(){return Qp||(Qp=1,as=EvalError),as}var rs,Zp;function c0(){return Zp||(Zp=1,rs=RangeError),rs}var ss,ed;function l0(){return ed||(ed=1,ss=ReferenceError),ss}var os,td;function u0(){return td||(td=1,os=SyntaxError),os}var cs,nd;function Ec(){return nd||(nd=1,cs=TypeError),cs}var ls,id;function p0(){return id||(id=1,ls=URIError),ls}var us,ad;function d0(){return ad||(ad=1,us=Math.abs),us}var ps,rd;function f0(){return rd||(rd=1,ps=Math.floor),ps}var ds,sd;function m0(){return sd||(sd=1,ds=Math.max),ds}var fs,od;function h0(){return od||(od=1,fs=Math.min),fs}var ms,cd;function v0(){return cd||(cd=1,ms=Math.pow),ms}var hs,ld;function g0(){return ld||(ld=1,hs=Math.round),hs}var vs,ud;function y0(){return ud||(ud=1,vs=Number.isNaN||function(t){return t!==t}),vs}var gs,pd;function b0(){if(pd)return gs;pd=1;var e=y0();return gs=function(i){return e(i)||i===0?i:i<0?-1:1},gs}var ys,dd;function x0(){return dd||(dd=1,ys=Object.getOwnPropertyDescriptor),ys}var bs,fd;function qh(){if(fd)return bs;fd=1;var e=x0();if(e)try{e([],"length")}catch{e=null}return bs=e,bs}var xs,md;function w0(){if(md)return xs;md=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return xs=e,xs}var ws,hd;function Lh(){return hd||(hd=1,ws=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},i=Symbol("test"),n=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var r=42;t[i]=r;for(var c in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==i||!Object.prototype.propertyIsEnumerable.call(t,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,i);if(l.value!==r||l.enumerable!==!0)return!1}return!0}),ws}var Ss,vd;function S0(){if(vd)return Ss;vd=1;var e=typeof Symbol<"u"&&Symbol,t=Lh();return Ss=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Ss}var $s,gd;function Mh(){return gd||(gd=1,$s=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),$s}var _s,yd;function Dh(){if(yd)return _s;yd=1;var e=Ih();return _s=e.getPrototypeOf||null,_s}var Es,bd;function $0(){if(bd)return Es;bd=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,i=Math.max,n="[object Function]",r=function(d,p){for(var a=[],s=0;s<d.length;s+=1)a[s]=d[s];for(var u=0;u<p.length;u+=1)a[u+d.length]=p[u];return a},c=function(d,p){for(var a=[],s=p,u=0;s<d.length;s+=1,u+=1)a[u]=d[s];return a},o=function(l,d){for(var p="",a=0;a<l.length;a+=1)p+=l[a],a+1<l.length&&(p+=d);return p};return Es=function(d){var p=this;if(typeof p!="function"||t.apply(p)!==n)throw new TypeError(e+p);for(var a=c(arguments,1),s,u=function(){if(this instanceof s){var g=p.apply(this,r(a,arguments));return Object(g)===g?g:this}return p.apply(d,r(a,arguments))},m=i(0,p.length-a.length),f=[],h=0;h<m;h++)f[h]="$"+h;if(s=Function("binder","return function ("+o(f,",")+"){ return binder.apply(this,arguments); }")(u),p.prototype){var v=function(){};v.prototype=p.prototype,s.prototype=new v,v.prototype=null}return s},Es}var ks,xd;function wa(){if(xd)return ks;xd=1;var e=$0();return ks=Function.prototype.bind||e,ks}var Rs,wd;function kc(){return wd||(wd=1,Rs=Function.prototype.call),Rs}var As,Sd;function Fh(){return Sd||(Sd=1,As=Function.prototype.apply),As}var Ps,$d;function _0(){return $d||($d=1,Ps=typeof Reflect<"u"&&Reflect&&Reflect.apply),Ps}var Ts,_d;function E0(){if(_d)return Ts;_d=1;var e=wa(),t=Fh(),i=kc(),n=_0();return Ts=n||e.call(i,t),Ts}var Os,Ed;function k0(){if(Ed)return Os;Ed=1;var e=wa(),t=Ec(),i=kc(),n=E0();return Os=function(c){if(c.length<1||typeof c[0]!="function")throw new t("a function is required");return n(e,i,c)},Os}var Ns,kd;function R0(){if(kd)return Ns;kd=1;var e=k0(),t=qh(),i;try{i=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!i&&t&&t(Object.prototype,"__proto__"),r=Object,c=r.getPrototypeOf;return Ns=n&&typeof n.get=="function"?e([n.get]):typeof c=="function"?function(l){return c(l==null?l:r(l))}:!1,Ns}var js,Rd;function A0(){if(Rd)return js;Rd=1;var e=Mh(),t=Dh(),i=R0();return js=e?function(r){return e(r)}:t?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return t(r)}:i?function(r){return i(r)}:null,js}var Cs,Ad;function Rc(){if(Ad)return Cs;Ad=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,i=wa();return Cs=i.call(e,t),Cs}var Is,Pd;function P0(){if(Pd)return Is;Pd=1;var e,t=Ih(),i=s0(),n=o0(),r=c0(),c=l0(),o=u0(),l=Ec(),d=p0(),p=d0(),a=f0(),s=m0(),u=h0(),m=v0(),f=g0(),h=b0(),v=Function,g=function(ae){try{return v('"use strict"; return ('+ae+").constructor;")()}catch{}},y=qh(),b=w0(),x=function(){throw new l},w=y?(function(){try{return arguments.callee,x}catch{try{return y(arguments,"callee").get}catch{return x}}})():x,S=S0()(),$=A0(),E=Dh(),P=Mh(),B=Fh(),D=kc(),V={},G=typeof Uint8Array>"u"||!$?e:$(Uint8Array),q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":S&&$?$([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":V,"%AsyncGenerator%":V,"%AsyncGeneratorFunction%":V,"%AsyncIteratorPrototype%":V,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":V,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&$?$($([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!S||!$?e:$(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":y,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":r,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!S||!$?e:$(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&$?$(""[Symbol.iterator]()):e,"%Symbol%":S?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":w,"%TypedArray%":G,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":B,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":E,"%Math.abs%":p,"%Math.floor%":a,"%Math.max%":s,"%Math.min%":u,"%Math.pow%":m,"%Math.round%":f,"%Math.sign%":h,"%Reflect.getPrototypeOf%":P};if($)try{null.error}catch(ae){var z=$($(ae));q["%Error.prototype%"]=z}var O=function ae(ee){var j;if(ee==="%AsyncFunction%")j=g("async function () {}");else if(ee==="%GeneratorFunction%")j=g("function* () {}");else if(ee==="%AsyncGeneratorFunction%")j=g("async function* () {}");else if(ee==="%AsyncGenerator%"){var M=ae("%AsyncGeneratorFunction%");M&&(j=M.prototype)}else if(ee==="%AsyncIteratorPrototype%"){var K=ae("%AsyncGenerator%");K&&$&&(j=$(K.prototype))}return q[ee]=j,j},R={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=wa(),U=Rc(),C=T.call(D,Array.prototype.concat),A=T.call(B,Array.prototype.splice),I=T.call(D,String.prototype.replace),N=T.call(D,String.prototype.slice),_=T.call(D,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,Y=function(ee){var j=N(ee,0,1),M=N(ee,-1);if(j==="%"&&M!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&j!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var K=[];return I(ee,k,function(H,Q,ne,fe){K[K.length]=ne?I(fe,F,"$1"):Q||H}),K},W=function(ee,j){var M=ee,K;if(U(R,M)&&(K=R[M],M="%"+K[0]+"%"),U(q,M)){var H=q[M];if(H===V&&(H=O(M)),typeof H>"u"&&!j)throw new l("intrinsic "+ee+" exists, but is not available. Please file an issue!");return{alias:K,name:M,value:H}}throw new o("intrinsic "+ee+" does not exist!")};return Is=function(ee,j){if(typeof ee!="string"||ee.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof j!="boolean")throw new l('"allowMissing" argument must be a boolean');if(_(/^%?[^%]*%?$/,ee)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=Y(ee),K=M.length>0?M[0]:"",H=W("%"+K+"%",j),Q=H.name,ne=H.value,fe=!1,ke=H.alias;ke&&(K=ke[0],A(M,C([0,1],ke)));for(var ge=1,he=!0;ge<M.length;ge+=1){var ue=M[ge],qe=N(ue,0,1),xe=N(ue,-1);if((qe==='"'||qe==="'"||qe==="`"||xe==='"'||xe==="'"||xe==="`")&&qe!==xe)throw new o("property names with quotes must have matching quotes");if((ue==="constructor"||!he)&&(fe=!0),K+="."+ue,Q="%"+K+"%",U(q,Q))ne=q[Q];else if(ne!=null){if(!(ue in ne)){if(!j)throw new l("base intrinsic for "+ee+" exists, but the property is not available.");return}if(y&&ge+1>=M.length){var Xe=y(ne,ue);he=!!Xe,he&&"get"in Xe&&!("originalValue"in Xe.get)?ne=Xe.get:ne=ne[ue]}else he=U(ne,ue),ne=ne[ue];he&&!fe&&(q[Q]=ne)}}return ne},Is}var qs,Td;function T0(){if(Td)return qs;Td=1;var e=Lh();return qs=function(){return e()&&!!Symbol.toStringTag},qs}var Ls,Od;function O0(){if(Od)return Ls;Od=1;var e=P0(),t=e("%Object.defineProperty%",!0),i=T0()(),n=Rc(),r=Ec(),c=i?Symbol.toStringTag:null;return Ls=function(l,d){var p=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof p<"u"&&typeof p!="boolean"||typeof a<"u"&&typeof a!="boolean")throw new r("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");c&&(p||!n(l,c))&&(t?t(l,c,{configurable:!a,enumerable:!1,value:d,writable:!1}):l[c]=d)},Ls}var Ms,Nd;function N0(){return Nd||(Nd=1,Ms=function(e,t){return Object.keys(t).forEach(function(i){e[i]=e[i]||t[i]}),e}),Ms}var Ds,jd;function j0(){if(jd)return Ds;jd=1;var e=Qw(),t=Dt,i=Bm,n=oc,r=cc,c=sa.parse,o=Uv,l=Ce.Stream,d=Vm,p=t0(),a=r0(),s=O0(),u=Rc(),m=N0();function f(h){if(!(this instanceof f))return new f(h);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),h=h||{};for(var v in h)this[v]=h[v]}return t.inherits(f,e),f.LINE_BREAK=`\r
20
- `,f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(h,v,g){g=g||{},typeof g=="string"&&(g={filename:g});var y=e.prototype.append.bind(this);if((typeof v=="number"||v==null)&&(v=String(v)),Array.isArray(v)){this._error(new Error("Arrays are not supported."));return}var b=this._multiPartHeader(h,v,g),x=this._multiPartFooter();y(b),y(v),y(x),this._trackLength(b,v,g)},f.prototype._trackLength=function(h,v,g){var y=0;g.knownLength!=null?y+=Number(g.knownLength):Buffer.isBuffer(v)?y=v.length:typeof v=="string"&&(y=Buffer.byteLength(v)),this._valueLength+=y,this._overheadLength+=Buffer.byteLength(h)+f.LINE_BREAK.length,!(!v||!v.path&&!(v.readable&&u(v,"httpVersion"))&&!(v instanceof l))&&(g.knownLength||this._valuesToMeasure.push(v))},f.prototype._lengthRetriever=function(h,v){u(h,"fd")?h.end!=null&&h.end!=1/0&&h.start!=null?v(null,h.end+1-(h.start?h.start:0)):o.stat(h.path,function(g,y){if(g){v(g);return}var b=y.size-(h.start?h.start:0);v(null,b)}):u(h,"httpVersion")?v(null,Number(h.headers["content-length"])):u(h,"httpModule")?(h.on("response",function(g){h.pause(),v(null,Number(g.headers["content-length"]))}),h.resume()):v("Unknown stream")},f.prototype._multiPartHeader=function(h,v,g){if(typeof g.header=="string")return g.header;var y=this._getContentDisposition(v,g),b=this._getContentType(v,g),x="",w={"Content-Disposition":["form-data",'name="'+h+'"'].concat(y||[]),"Content-Type":[].concat(b||[])};typeof g.header=="object"&&m(w,g.header);var S;for(var $ in w)if(u(w,$)){if(S=w[$],S==null)continue;Array.isArray(S)||(S=[S]),S.length&&(x+=$+": "+S.join("; ")+f.LINE_BREAK)}return"--"+this.getBoundary()+f.LINE_BREAK+x+f.LINE_BREAK},f.prototype._getContentDisposition=function(h,v){var g;if(typeof v.filepath=="string"?g=i.normalize(v.filepath).replace(/\\/g,"/"):v.filename||h&&(h.name||h.path)?g=i.basename(v.filename||h&&(h.name||h.path)):h&&h.readable&&u(h,"httpVersion")&&(g=i.basename(h.client._httpMessage.path||"")),g)return'filename="'+g+'"'},f.prototype._getContentType=function(h,v){var g=v.contentType;return!g&&h&&h.name&&(g=p.lookup(h.name)),!g&&h&&h.path&&(g=p.lookup(h.path)),!g&&h&&h.readable&&u(h,"httpVersion")&&(g=h.headers["content-type"]),!g&&(v.filepath||v.filename)&&(g=p.lookup(v.filepath||v.filename)),!g&&h&&typeof h=="object"&&(g=f.DEFAULT_CONTENT_TYPE),g},f.prototype._multiPartFooter=function(){return function(h){var v=f.LINE_BREAK,g=this._streams.length===0;g&&(v+=this._lastBoundary()),h(v)}.bind(this)},f.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+f.LINE_BREAK},f.prototype.getHeaders=function(h){var v,g={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(v in h)u(h,v)&&(g[v.toLowerCase()]=h[v]);return g},f.prototype.setBoundary=function(h){if(typeof h!="string")throw new TypeError("FormData boundary must be a string");this._boundary=h},f.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},f.prototype.getBuffer=function(){for(var h=new Buffer.alloc(0),v=this.getBoundary(),g=0,y=this._streams.length;g<y;g++)typeof this._streams[g]!="function"&&(Buffer.isBuffer(this._streams[g])?h=Buffer.concat([h,this._streams[g]]):h=Buffer.concat([h,Buffer.from(this._streams[g])]),(typeof this._streams[g]!="string"||this._streams[g].substring(2,v.length+2)!==v)&&(h=Buffer.concat([h,Buffer.from(f.LINE_BREAK)])));return Buffer.concat([h,Buffer.from(this._lastBoundary())])},f.prototype._generateBoundary=function(){this._boundary="--------------------------"+d.randomBytes(12).toString("hex")},f.prototype.getLengthSync=function(){var h=this._overheadLength+this._valueLength;return this._streams.length&&(h+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),h},f.prototype.hasKnownLength=function(){var h=!0;return this._valuesToMeasure.length&&(h=!1),h},f.prototype.getLength=function(h){var v=this._overheadLength+this._valueLength;if(this._streams.length&&(v+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(h.bind(this,null,v));return}a.parallel(this._valuesToMeasure,this._lengthRetriever,function(g,y){if(g){h(g);return}y.forEach(function(b){v+=b}),h(null,v)})},f.prototype.submit=function(h,v){var g,y,b={method:"post"};return typeof h=="string"?(h=c(h),y=m({port:h.port,path:h.pathname,host:h.hostname,protocol:h.protocol},b)):(y=m(h,b),y.port||(y.port=y.protocol==="https:"?443:80)),y.headers=this.getHeaders(h.headers),y.protocol==="https:"?g=r.request(y):g=n.request(y),this.getLength(function(x,w){if(x&&x!=="Unknown stream"){this._error(x);return}if(w&&g.setHeader("Content-Length",w),this.pipe(g),v){var S,$=function(E,P){return g.removeListener("error",$),g.removeListener("response",S),v.call(this,E,P)};S=$.bind(this,null),g.on("error",$),g.on("response",S)}}.bind(this)),g},f.prototype._error=function(h){this.error||(this.error=h,this.pause(),this.emit("error",h))},f.prototype.toString=function(){return"[object FormData]"},s(f,"FormData"),Ds=f,Ds}var C0=j0();const Uh=fn(C0);function Xo(e){return L.isPlainObject(e)||L.isArray(e)}function zh(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function Cd(e,t,i){return e?e.concat(t).map(function(r,c){return r=zh(r),!i&&c?"["+r+"]":r}).join(i?".":""):t}function I0(e){return L.isArray(e)&&!e.some(Xo)}const q0=L.toFlatObject(L,{},null,function(t){return/^is[A-Z]/.test(t)});function Sa(e,t,i){if(!L.isObject(e))throw new TypeError("target must be an object");t=t||new(Uh||FormData),i=L.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,v){return!L.isUndefined(v[h])});const n=i.metaTokens,r=i.visitor||a,c=i.dots,o=i.indexes,d=(i.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(t);if(!L.isFunction(r))throw new TypeError("visitor must be a function");function p(f){if(f===null)return"";if(L.isDate(f))return f.toISOString();if(L.isBoolean(f))return f.toString();if(!d&&L.isBlob(f))throw new J("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(f)||L.isTypedArray(f)?d&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function a(f,h,v){let g=f;if(f&&!v&&typeof f=="object"){if(L.endsWith(h,"{}"))h=n?h:h.slice(0,-2),f=JSON.stringify(f);else if(L.isArray(f)&&I0(f)||(L.isFileList(f)||L.endsWith(h,"[]"))&&(g=L.toArray(f)))return h=zh(h),g.forEach(function(b,x){!(L.isUndefined(b)||b===null)&&t.append(o===!0?Cd([h],x,c):o===null?h:h+"[]",p(b))}),!1}return Xo(f)?!0:(t.append(Cd(v,h,c),p(f)),!1)}const s=[],u=Object.assign(q0,{defaultVisitor:a,convertValue:p,isVisitable:Xo});function m(f,h){if(!L.isUndefined(f)){if(s.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));s.push(f),L.forEach(f,function(g,y){(!(L.isUndefined(g)||g===null)&&r.call(t,g,L.isString(y)?y.trim():y,h,u))===!0&&m(g,h?h.concat(y):[y])}),s.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Id(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Bh(e,t){this._pairs=[],e&&Sa(e,this,t)}const Vh=Bh.prototype;Vh.append=function(t,i){this._pairs.push([t,i])};Vh.toString=function(t){const i=t?function(n){return t.call(this,n,Id)}:Id;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function L0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ac(e,t,i){if(!t)return e;const n=i&&i.encode||L0;L.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let c;if(r?c=r(t,i):c=L.isURLSearchParams(t)?t.toString():new Bh(t,i).toString(n),c){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class qd{constructor(){this.handlers=[]}use(t,i,n){return this.handlers.push({fulfilled:t,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Pc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},M0=sa.URLSearchParams,Fs="abcdefghijklmnopqrstuvwxyz",Ld="0123456789",Kh={DIGIT:Ld,ALPHA:Fs,ALPHA_DIGIT:Fs+Fs.toUpperCase()+Ld},D0=(e=16,t=Kh.ALPHA_DIGIT)=>{let i="";const{length:n}=t,r=new Uint32Array(e);Vm.randomFillSync(r);for(let c=0;c<e;c++)i+=t[r[c]%n];return i},F0={isNode:!0,classes:{URLSearchParams:M0,FormData:Uh,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Kh,generateString:D0,protocols:["http","https","file","data"]},Tc=typeof window<"u"&&typeof document<"u",Qo=typeof navigator=="object"&&navigator||void 0,U0=Tc&&(!Qo||["ReactNative","NativeScript","NS"].indexOf(Qo.product)<0),z0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",B0=Tc&&window.location.href||"http://localhost",V0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tc,hasStandardBrowserEnv:U0,hasStandardBrowserWebWorkerEnv:z0,navigator:Qo,origin:B0},Symbol.toStringTag,{value:"Module"})),me={...V0,...F0};function K0(e,t){return Sa(e,new me.classes.URLSearchParams,{visitor:function(i,n,r,c){return me.isNode&&L.isBuffer(i)?(this.append(n,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...t})}function G0(e){return L.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function H0(e){const t={},i=Object.keys(e);let n;const r=i.length;let c;for(n=0;n<r;n++)c=i[n],t[c]=e[c];return t}function Gh(e){function t(i,n,r,c){let o=i[c++];if(o==="__proto__")return!0;const l=Number.isFinite(+o),d=c>=i.length;return o=!o&&L.isArray(r)?r.length:o,d?(L.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!l):((!r[o]||!L.isObject(r[o]))&&(r[o]=[]),t(i,n,r[o],c)&&L.isArray(r[o])&&(r[o]=H0(r[o])),!l)}if(L.isFormData(e)&&L.isFunction(e.entries)){const i={};return L.forEachEntry(e,(n,r)=>{t(G0(n),r,i,0)}),i}return null}function W0(e,t,i){if(L.isString(e))try{return(t||JSON.parse)(e),L.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(i||JSON.stringify)(e)}const xn={transitional:Pc,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,c=L.isObject(t);if(c&&L.isHTMLForm(t)&&(t=new FormData(t)),L.isFormData(t))return r?JSON.stringify(Gh(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t)||L.isReadableStream(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(c){if(n.indexOf("application/x-www-form-urlencoded")>-1)return K0(t,this.formSerializer).toString();if((l=L.isFileList(t))||n.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Sa(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return c||r?(i.setContentType("application/json",!1),W0(t)):t}],transformResponse:[function(t){const i=this.transitional||xn.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(L.isResponse(t)||L.isReadableStream(t))return t;if(t&&L.isString(t)&&(n&&!this.responseType||r)){const o=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(l){if(o)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],e=>{xn.headers[e]={}});const Y0=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),J0=e=>{const t={};let i,n,r;return e&&e.split(`
21
- `).forEach(function(o){r=o.indexOf(":"),i=o.substring(0,r).trim().toLowerCase(),n=o.substring(r+1).trim(),!(!i||t[i]&&Y0[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Md=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function Ki(e){return e===!1||e==null?e:L.isArray(e)?e.map(Ki):String(e)}function X0(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}const Q0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Us(e,t,i,n,r){if(L.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!L.isString(t)){if(L.isString(n))return t.indexOf(n)!==-1;if(L.isRegExp(n))return n.test(t)}}function Z0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function eS(e,t){const i=L.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+i,{value:function(r,c,o){return this[n].call(this,t,r,c,o)},configurable:!0})})}let $e=class{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function c(l,d,p){const a=Qt(d);if(!a)throw new Error("header name must be a non-empty string");const s=L.findKey(r,a);(!s||r[s]===void 0||p===!0||p===void 0&&r[s]!==!1)&&(r[s||d]=Ki(l))}const o=(l,d)=>L.forEach(l,(p,a)=>c(p,a,d));if(L.isPlainObject(t)||t instanceof this.constructor)o(t,i);else if(L.isString(t)&&(t=t.trim())&&!Q0(t))o(J0(t),i);else if(L.isObject(t)&&L.isIterable(t)){let l={},d,p;for(const a of t){if(!L.isArray(a))throw TypeError("Object iterator must return a key-value pair");l[p=a[0]]=(d=l[p])?L.isArray(d)?[...d,a[1]]:[d,a[1]]:a[1]}o(l,i)}else t!=null&&c(i,t,n);return this}get(t,i){if(t=Qt(t),t){const n=L.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return X0(r);if(L.isFunction(i))return i.call(this,r,n);if(L.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=Qt(t),t){const n=L.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||Us(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function c(o){if(o=Qt(o),o){const l=L.findKey(n,o);l&&(!i||Us(n,n[l],l,i))&&(delete n[l],r=!0)}}return L.isArray(t)?t.forEach(c):c(t),r}clear(t){const i=Object.keys(this);let n=i.length,r=!1;for(;n--;){const c=i[n];(!t||Us(this,this[c],c,t,!0))&&(delete this[c],r=!0)}return r}normalize(t){const i=this,n={};return L.forEach(this,(r,c)=>{const o=L.findKey(n,c);if(o){i[o]=Ki(r),delete i[c];return}const l=t?Z0(c):String(c).trim();l!==c&&delete i[c],i[l]=Ki(r),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return L.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&L.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
22
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const n=new this(t);return i.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[Md]=this[Md]={accessors:{}}).accessors,r=this.prototype;function c(o){const l=Qt(o);n[l]||(eS(r,o),n[l]=!0)}return L.isArray(t)?t.forEach(c):c(t),this}};$e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);L.reduceDescriptors($e.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}});L.freezeMethods($e);function zs(e,t){const i=this||xn,n=t||i,r=$e.from(n.headers);let c=n.data;return L.forEach(e,function(l){c=l.call(i,c,r.normalize(),t?t.status:void 0)}),r.normalize(),c}function Hh(e){return!!(e&&e.__CANCEL__)}function rt(e,t,i){J.call(this,e??"canceled",J.ERR_CANCELED,t,i),this.name="CanceledError"}L.inherits(rt,J,{__CANCEL__:!0});function qt(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new J("Request failed with status code "+i.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function tS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function nS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Oc(e,t,i){let n=!tS(t);return e&&(n||i==!1)?nS(e,t):t}var Bs={},Dd;function iS(){if(Dd)return Bs;Dd=1;var e=sa.parse,t={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},i=String.prototype.endsWith||function(o){return o.length<=this.length&&this.indexOf(o,this.length-o.length)!==-1};function n(o){var l=typeof o=="string"?e(o):o||{},d=l.protocol,p=l.host,a=l.port;if(typeof p!="string"||!p||typeof d!="string"||(d=d.split(":",1)[0],p=p.replace(/:\d*$/,""),a=parseInt(a)||t[d]||0,!r(p,a)))return"";var s=c("npm_config_"+d+"_proxy")||c(d+"_proxy")||c("npm_config_proxy")||c("all_proxy");return s&&s.indexOf("://")===-1&&(s=d+"://"+s),s}function r(o,l){var d=(c("npm_config_no_proxy")||c("no_proxy")).toLowerCase();return d?d==="*"?!1:d.split(/[,\s]/).every(function(p){if(!p)return!0;var a=p.match(/^(.+):(\d+)$/),s=a?a[1]:p,u=a?parseInt(a[2]):0;return u&&u!==l?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!i.call(o,s)):o!==s}):!0}function c(o){return process.env[o.toLowerCase()]||process.env[o.toUpperCase()]||""}return Bs.getProxyForUrl=n,Bs}var aS=iS();const rS=fn(aS);var _i={exports:{}},Ei={exports:{}},ki={exports:{}},Vs,Fd;function sS(){if(Fd)return Vs;Fd=1;var e=1e3,t=e*60,i=t*60,n=i*24,r=n*7,c=n*365.25;Vs=function(a,s){s=s||{};var u=typeof a;if(u==="string"&&a.length>0)return o(a);if(u==="number"&&isFinite(a))return s.long?d(a):l(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function o(a){if(a=String(a),!(a.length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(s){var u=parseFloat(s[1]),m=(s[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return u*c;case"weeks":case"week":case"w":return u*r;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*i;case"minutes":case"minute":case"mins":case"min":case"m":return u*t;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function l(a){var s=Math.abs(a);return s>=n?Math.round(a/n)+"d":s>=i?Math.round(a/i)+"h":s>=t?Math.round(a/t)+"m":s>=e?Math.round(a/e)+"s":a+"ms"}function d(a){var s=Math.abs(a);return s>=n?p(a,s,n,"day"):s>=i?p(a,s,i,"hour"):s>=t?p(a,s,t,"minute"):s>=e?p(a,s,e,"second"):a+" ms"}function p(a,s,u,m){var f=s>=u*1.5;return Math.round(a/u)+" "+m+(f?"s":"")}return Vs}var Ks,Ud;function Wh(){if(Ud)return Ks;Ud=1;function e(t){n.debug=n,n.default=n,n.coerce=p,n.disable=l,n.enable=c,n.enabled=d,n.humanize=sS(),n.destroy=a,Object.keys(t).forEach(s=>{n[s]=t[s]}),n.names=[],n.skips=[],n.formatters={};function i(s){let u=0;for(let m=0;m<s.length;m++)u=(u<<5)-u+s.charCodeAt(m),u|=0;return n.colors[Math.abs(u)%n.colors.length]}n.selectColor=i;function n(s){let u,m=null,f,h;function v(...g){if(!v.enabled)return;const y=v,b=Number(new Date),x=b-(u||b);y.diff=x,y.prev=u,y.curr=b,u=b,g[0]=n.coerce(g[0]),typeof g[0]!="string"&&g.unshift("%O");let w=0;g[0]=g[0].replace(/%([a-zA-Z%])/g,($,E)=>{if($==="%%")return"%";w++;const P=n.formatters[E];if(typeof P=="function"){const B=g[w];$=P.call(y,B),g.splice(w,1),w--}return $}),n.formatArgs.call(y,g),(y.log||n.log).apply(y,g)}return v.namespace=s,v.useColors=n.useColors(),v.color=n.selectColor(s),v.extend=r,v.destroy=n.destroy,Object.defineProperty(v,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(f!==n.namespaces&&(f=n.namespaces,h=n.enabled(s)),h),set:g=>{m=g}}),typeof n.init=="function"&&n.init(v),v}function r(s,u){const m=n(this.namespace+(typeof u>"u"?":":u)+s);return m.log=this.log,m}function c(s){n.save(s),n.namespaces=s,n.names=[],n.skips=[];const u=(typeof s=="string"?s:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const m of u)m[0]==="-"?n.skips.push(m.slice(1)):n.names.push(m)}function o(s,u){let m=0,f=0,h=-1,v=0;for(;m<s.length;)if(f<u.length&&(u[f]===s[m]||u[f]==="*"))u[f]==="*"?(h=f,v=m,f++):(m++,f++);else if(h!==-1)f=h+1,v++,m=v;else return!1;for(;f<u.length&&u[f]==="*";)f++;return f===u.length}function l(){const s=[...n.names,...n.skips.map(u=>"-"+u)].join(",");return n.enable(""),s}function d(s){for(const u of n.skips)if(o(s,u))return!1;for(const u of n.names)if(o(s,u))return!0;return!1}function p(s){return s instanceof Error?s.stack||s.message:s}function a(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Ks=e,Ks}var zd;function oS(){return zd||(zd=1,(function(e,t){t.formatArgs=n,t.save=r,t.load=c,t.useColors=i,t.storage=o(),t.destroy=(()=>{let d=!1;return()=>{d||(d=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function i(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let d;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(d=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(d[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(d){if(d[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+d[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;d.splice(1,0,p,"color: inherit");let a=0,s=0;d[0].replace(/%[a-zA-Z%]/g,u=>{u!=="%%"&&(a++,u==="%c"&&(s=a))}),d.splice(s,0,p)}t.log=console.debug||console.log||(()=>{});function r(d){try{d?t.storage.setItem("debug",d):t.storage.removeItem("debug")}catch{}}function c(){let d;try{d=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!d&&typeof process<"u"&&"env"in process&&(d=process.env.DEBUG),d}function o(){try{return localStorage}catch{}}e.exports=Wh()(t);const{formatters:l}=e.exports;l.j=function(d){try{return JSON.stringify(d)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(ki,ki.exports)),ki.exports}var Ri={exports:{}},Gs,Bd;function cS(){return Bd||(Bd=1,Gs=(e,t)=>{t=t||process.argv;const i=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(i+e),r=t.indexOf("--");return n!==-1&&(r===-1?!0:n<r)}),Gs}var Hs,Vd;function lS(){if(Vd)return Hs;Vd=1;const e=Vv,t=cS(),i=process.env;let n;t("no-color")||t("no-colors")||t("color=false")?n=!1:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(n=!0),"FORCE_COLOR"in i&&(n=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0);function r(l){return l===0?!1:{level:l,hasBasic:!0,has256:l>=2,has16m:l>=3}}function c(l){if(n===!1)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(l&&!l.isTTY&&n!==!0)return 0;const d=n?1:0;if(process.platform==="win32"){const p=e.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(p[0])>=10&&Number(p[2])>=10586?Number(p[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(p=>p in i)||i.CI_NAME==="codeship"?1:d;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){const p=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return p>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM==="dumb",d)}function o(l){const d=c(l);return r(d)}return Hs={supportsColor:o,stdout:o(process.stdout),stderr:o(process.stderr)},Hs}var Kd;function uS(){return Kd||(Kd=1,(function(e,t){const i=Bv,n=Dt;t.init=a,t.log=l,t.formatArgs=c,t.save=d,t.load=p,t.useColors=r,t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const u=lS();u&&(u.stderr||u).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}t.inspectOpts=Object.keys(process.env).filter(u=>/^debug_/i.test(u)).reduce((u,m)=>{const f=m.substring(6).toLowerCase().replace(/_([a-z])/g,(v,g)=>g.toUpperCase());let h=process.env[m];return/^(yes|on|true|enabled)$/i.test(h)?h=!0:/^(no|off|false|disabled)$/i.test(h)?h=!1:h==="null"?h=null:h=Number(h),u[f]=h,u},{});function r(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)}function c(u){const{namespace:m,useColors:f}=this;if(f){const h=this.color,v="\x1B[3"+(h<8?h:"8;5;"+h),g=` ${v};1m${m} \x1B[0m`;u[0]=g+u[0].split(`
19
+ */var Bp;function t0(){return Bp||(Bp=1,(function(e){var t=e0(),i=Hm.extname,n=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;e.charset=c,e.charsets={lookup:c},e.contentType=s,e.extension=l,e.extensions=Object.create(null),e.lookup=d,e.types=Object.create(null),p(e.extensions,e.types);function c(a){if(!a||typeof a!="string")return!1;var o=n.exec(a),u=o&&t[o[1].toLowerCase()];return u&&u.charset?u.charset:o&&r.test(o[1])?"UTF-8":!1}function s(a){if(!a||typeof a!="string")return!1;var o=a.indexOf("/")===-1?e.lookup(a):a;if(!o)return!1;if(o.indexOf("charset")===-1){var u=e.charset(o);u&&(o+="; charset="+u.toLowerCase())}return o}function l(a){if(!a||typeof a!="string")return!1;var o=n.exec(a),u=o&&e.extensions[o[1].toLowerCase()];return!u||!u.length?!1:u[0]}function d(a){if(!a||typeof a!="string")return!1;var o=i("x."+a).toLowerCase().substr(1);return o&&e.types[o]||!1}function p(a,o){var u=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(f){var h=t[f],v=h.extensions;if(!(!v||!v.length)){a[f]=v;for(var g=0;g<v.length;g++){var y=v[g];if(o[y]){var b=u.indexOf(t[o[y]].source),x=u.indexOf(h.source);if(o[y]!=="application/octet-stream"&&(b>x||b===x&&o[y].substr(0,12)==="application/"))continue}o[y]=f}}})}})(Xr)),Xr}var Zr,Vp;function n0(){if(Vp)return Zr;Vp=1,Zr=e;function e(t){var i=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;i?i(t):setTimeout(t,0)}return Zr}var es,Kp;function Ih(){if(Kp)return es;Kp=1;var e=n0();es=t;function t(i){var n=!1;return e(function(){n=!0}),function(c,s){n?i(c,s):e(function(){i(c,s)})}}return es}var ts,Gp;function qh(){if(Gp)return ts;Gp=1,ts=e;function e(i){Object.keys(i.jobs).forEach(t.bind(i)),i.jobs={}}function t(i){typeof this.jobs[i]=="function"&&this.jobs[i]()}return ts}var ns,Hp;function Lh(){if(Hp)return ns;Hp=1;var e=Ih(),t=qh();ns=i;function i(r,c,s,l){var d=s.keyedList?s.keyedList[s.index]:s.index;s.jobs[d]=n(c,d,r[d],function(p,a){d in s.jobs&&(delete s.jobs[d],p?t(s):s.results[d]=a,l(p,s.results))})}function n(r,c,s,l){var d;return r.length==2?d=r(s,e(l)):d=r(s,c,e(l)),d}return ns}var is,Wp;function Dh(){if(Wp)return is;Wp=1,is=e;function e(t,i){var n=!Array.isArray(t),r={index:0,keyedList:n||i?Object.keys(t):null,jobs:{},results:n?{}:[],size:n?Object.keys(t).length:t.length};return i&&r.keyedList.sort(n?i:function(c,s){return i(t[c],t[s])}),r}return is}var as,Yp;function Mh(){if(Yp)return as;Yp=1;var e=qh(),t=Ih();as=i;function i(n){Object.keys(this.jobs).length&&(this.index=this.size,e(this),t(n)(null,this.results))}return as}var rs,Jp;function i0(){if(Jp)return rs;Jp=1;var e=Lh(),t=Dh(),i=Mh();rs=n;function n(r,c,s){for(var l=t(r);l.index<(l.keyedList||r).length;)e(r,c,l,function(d,p){if(d){s(d,p);return}if(Object.keys(l.jobs).length===0){s(null,l.results);return}}),l.index++;return i.bind(l,s)}return rs}var Qt={exports:{}},Xp;function Fh(){if(Xp)return Qt.exports;Xp=1;var e=Lh(),t=Dh(),i=Mh();Qt.exports=n,Qt.exports.ascending=r,Qt.exports.descending=c;function n(s,l,d,p){var a=t(s,d);return e(s,l,a,function o(u,m){if(u){p(u,m);return}if(a.index++,a.index<(a.keyedList||s).length){e(s,l,a,o);return}p(null,a.results)}),i.bind(a,p)}function r(s,l){return s<l?-1:s>l?1:0}function c(s,l){return-1*r(s,l)}return Qt.exports}var ss,Qp;function a0(){if(Qp)return ss;Qp=1;var e=Fh();ss=t;function t(i,n,r){return e(i,n,null,r)}return ss}var os,Zp;function r0(){return Zp||(Zp=1,os={parallel:i0(),serial:a0(),serialOrdered:Fh()}),os}var cs,ed;function zh(){return ed||(ed=1,cs=Object),cs}var ls,td;function s0(){return td||(td=1,ls=Error),ls}var us,nd;function o0(){return nd||(nd=1,us=EvalError),us}var ps,id;function c0(){return id||(id=1,ps=RangeError),ps}var ds,ad;function l0(){return ad||(ad=1,ds=ReferenceError),ds}var fs,rd;function u0(){return rd||(rd=1,fs=SyntaxError),fs}var ms,sd;function Tc(){return sd||(sd=1,ms=TypeError),ms}var hs,od;function p0(){return od||(od=1,hs=URIError),hs}var vs,cd;function d0(){return cd||(cd=1,vs=Math.abs),vs}var gs,ld;function f0(){return ld||(ld=1,gs=Math.floor),gs}var ys,ud;function m0(){return ud||(ud=1,ys=Math.max),ys}var bs,pd;function h0(){return pd||(pd=1,bs=Math.min),bs}var xs,dd;function v0(){return dd||(dd=1,xs=Math.pow),xs}var ws,fd;function g0(){return fd||(fd=1,ws=Math.round),ws}var Ss,md;function y0(){return md||(md=1,Ss=Number.isNaN||function(t){return t!==t}),Ss}var _s,hd;function b0(){if(hd)return _s;hd=1;var e=y0();return _s=function(i){return e(i)||i===0?i:i<0?-1:1},_s}var $s,vd;function x0(){return vd||(vd=1,$s=Object.getOwnPropertyDescriptor),$s}var Es,gd;function Uh(){if(gd)return Es;gd=1;var e=x0();if(e)try{e([],"length")}catch{e=null}return Es=e,Es}var ks,yd;function w0(){if(yd)return ks;yd=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return ks=e,ks}var Rs,bd;function Bh(){return bd||(bd=1,Rs=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},i=Symbol("test"),n=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var r=42;t[i]=r;for(var c in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==i||!Object.prototype.propertyIsEnumerable.call(t,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,i);if(l.value!==r||l.enumerable!==!0)return!1}return!0}),Rs}var As,xd;function S0(){if(xd)return As;xd=1;var e=typeof Symbol<"u"&&Symbol,t=Bh();return As=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},As}var Ps,wd;function Vh(){return wd||(wd=1,Ps=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ps}var Ts,Sd;function Kh(){if(Sd)return Ts;Sd=1;var e=zh();return Ts=e.getPrototypeOf||null,Ts}var Os,_d;function _0(){if(_d)return Os;_d=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,i=Math.max,n="[object Function]",r=function(d,p){for(var a=[],o=0;o<d.length;o+=1)a[o]=d[o];for(var u=0;u<p.length;u+=1)a[u+d.length]=p[u];return a},c=function(d,p){for(var a=[],o=p,u=0;o<d.length;o+=1,u+=1)a[u]=d[o];return a},s=function(l,d){for(var p="",a=0;a<l.length;a+=1)p+=l[a],a+1<l.length&&(p+=d);return p};return Os=function(d){var p=this;if(typeof p!="function"||t.apply(p)!==n)throw new TypeError(e+p);for(var a=c(arguments,1),o,u=function(){if(this instanceof o){var g=p.apply(this,r(a,arguments));return Object(g)===g?g:this}return p.apply(d,r(a,arguments))},m=i(0,p.length-a.length),f=[],h=0;h<m;h++)f[h]="$"+h;if(o=Function("binder","return function ("+s(f,",")+"){ return binder.apply(this,arguments); }")(u),p.prototype){var v=function(){};v.prototype=p.prototype,o.prototype=new v,v.prototype=null}return o},Os}var Ns,$d;function $a(){if($d)return Ns;$d=1;var e=_0();return Ns=Function.prototype.bind||e,Ns}var js,Ed;function Oc(){return Ed||(Ed=1,js=Function.prototype.call),js}var Cs,kd;function Gh(){return kd||(kd=1,Cs=Function.prototype.apply),Cs}var Is,Rd;function $0(){return Rd||(Rd=1,Is=typeof Reflect<"u"&&Reflect&&Reflect.apply),Is}var qs,Ad;function E0(){if(Ad)return qs;Ad=1;var e=$a(),t=Gh(),i=Oc(),n=$0();return qs=n||e.call(i,t),qs}var Ls,Pd;function k0(){if(Pd)return Ls;Pd=1;var e=$a(),t=Tc(),i=Oc(),n=E0();return Ls=function(c){if(c.length<1||typeof c[0]!="function")throw new t("a function is required");return n(e,i,c)},Ls}var Ds,Td;function R0(){if(Td)return Ds;Td=1;var e=k0(),t=Uh(),i;try{i=[].__proto__===Array.prototype}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var n=!!i&&t&&t(Object.prototype,"__proto__"),r=Object,c=r.getPrototypeOf;return Ds=n&&typeof n.get=="function"?e([n.get]):typeof c=="function"?function(l){return c(l==null?l:r(l))}:!1,Ds}var Ms,Od;function A0(){if(Od)return Ms;Od=1;var e=Vh(),t=Kh(),i=R0();return Ms=e?function(r){return e(r)}:t?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return t(r)}:i?function(r){return i(r)}:null,Ms}var Fs,Nd;function Nc(){if(Nd)return Fs;Nd=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,i=$a();return Fs=i.call(e,t),Fs}var zs,jd;function P0(){if(jd)return zs;jd=1;var e,t=zh(),i=s0(),n=o0(),r=c0(),c=l0(),s=u0(),l=Tc(),d=p0(),p=d0(),a=f0(),o=m0(),u=h0(),m=v0(),f=g0(),h=b0(),v=Function,g=function(ae){try{return v('"use strict"; return ('+ae+").constructor;")()}catch{}},y=Uh(),b=w0(),x=function(){throw new l},w=y?(function(){try{return arguments.callee,x}catch{try{return y(arguments,"callee").get}catch{return x}}})():x,S=S0()(),_=A0(),E=Kh(),O=Vh(),U=Gh(),M=Oc(),B={},G=typeof Uint8Array>"u"||!_?e:_(Uint8Array),C={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":S&&_?_([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&_?_(_([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!S||!_?e:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":y,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":r,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!S||!_?e:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&_?_(""[Symbol.iterator]()):e,"%Symbol%":S?Symbol:e,"%SyntaxError%":s,"%ThrowTypeError%":w,"%TypedArray%":G,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":M,"%Function.prototype.apply%":U,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":E,"%Math.abs%":p,"%Math.floor%":a,"%Math.max%":o,"%Math.min%":u,"%Math.pow%":m,"%Math.round%":f,"%Math.sign%":h,"%Reflect.getPrototypeOf%":O};if(_)try{null.error}catch(ae){var V=_(_(ae));C["%Error.prototype%"]=V}var T=function ae(te){var j;if(te==="%AsyncFunction%")j=g("async function () {}");else if(te==="%GeneratorFunction%")j=g("function* () {}");else if(te==="%AsyncGeneratorFunction%")j=g("async function* () {}");else if(te==="%AsyncGenerator%"){var D=ae("%AsyncGeneratorFunction%");D&&(j=D.prototype)}else if(te==="%AsyncIteratorPrototype%"){var K=ae("%AsyncGenerator%");K&&_&&(j=_(K.prototype))}return C[te]=j,j},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=$a(),z=Nc(),q=P.call(M,Array.prototype.concat),R=P.call(U,Array.prototype.splice),I=P.call(M,String.prototype.replace),N=P.call(M,String.prototype.slice),$=P.call(M,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,Y=function(te){var j=N(te,0,1),D=N(te,-1);if(j==="%"&&D!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(D==="%"&&j!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var K=[];return I(te,k,function(H,Z,ne,fe){K[K.length]=ne?I(fe,F,"$1"):Z||H}),K},W=function(te,j){var D=te,K;if(z(A,D)&&(K=A[D],D="%"+K[0]+"%"),z(C,D)){var H=C[D];if(H===B&&(H=T(D)),typeof H>"u"&&!j)throw new l("intrinsic "+te+" exists, but is not available. Please file an issue!");return{alias:K,name:D,value:H}}throw new s("intrinsic "+te+" does not exist!")};return zs=function(te,j){if(typeof te!="string"||te.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof j!="boolean")throw new l('"allowMissing" argument must be a boolean');if($(/^%?[^%]*%?$/,te)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var D=Y(te),K=D.length>0?D[0]:"",H=W("%"+K+"%",j),Z=H.name,ne=H.value,fe=!1,ke=H.alias;ke&&(K=ke[0],R(D,q([0,1],ke)));for(var ge=1,ve=!0;ge<D.length;ge+=1){var ue=D[ge],qe=N(ue,0,1),we=N(ue,-1);if((qe==='"'||qe==="'"||qe==="`"||we==='"'||we==="'"||we==="`")&&qe!==we)throw new s("property names with quotes must have matching quotes");if((ue==="constructor"||!ve)&&(fe=!0),K+="."+ue,Z="%"+K+"%",z(C,Z))ne=C[Z];else if(ne!=null){if(!(ue in ne)){if(!j)throw new l("base intrinsic for "+te+" exists, but the property is not available.");return}if(y&&ge+1>=D.length){var Xe=y(ne,ue);ve=!!Xe,ve&&"get"in Xe&&!("originalValue"in Xe.get)?ne=Xe.get:ne=ne[ue]}else ve=z(ne,ue),ne=ne[ue];ve&&!fe&&(C[Z]=ne)}}return ne},zs}var Us,Cd;function T0(){if(Cd)return Us;Cd=1;var e=Bh();return Us=function(){return e()&&!!Symbol.toStringTag},Us}var Bs,Id;function O0(){if(Id)return Bs;Id=1;var e=P0(),t=e("%Object.defineProperty%",!0),i=T0()(),n=Nc(),r=Tc(),c=i?Symbol.toStringTag:null;return Bs=function(l,d){var p=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof p<"u"&&typeof p!="boolean"||typeof a<"u"&&typeof a!="boolean")throw new r("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");c&&(p||!n(l,c))&&(t?t(l,c,{configurable:!a,enumerable:!1,value:d,writable:!1}):l[c]=d)},Bs}var Vs,qd;function N0(){return qd||(qd=1,Vs=function(e,t){return Object.keys(t).forEach(function(i){e[i]=e[i]||t[i]}),e}),Vs}var Ks,Ld;function j0(){if(Ld)return Ks;Ld=1;var e=Qw(),t=zt,i=Hm,n=fc,r=mc,c=la.parse,s=Kv,l=Ce.Stream,d=Wm,p=t0(),a=r0(),o=O0(),u=Nc(),m=N0();function f(h){if(!(this instanceof f))return new f(h);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),h=h||{};for(var v in h)this[v]=h[v]}return t.inherits(f,e),f.LINE_BREAK=`\r
20
+ `,f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(h,v,g){g=g||{},typeof g=="string"&&(g={filename:g});var y=e.prototype.append.bind(this);if((typeof v=="number"||v==null)&&(v=String(v)),Array.isArray(v)){this._error(new Error("Arrays are not supported."));return}var b=this._multiPartHeader(h,v,g),x=this._multiPartFooter();y(b),y(v),y(x),this._trackLength(b,v,g)},f.prototype._trackLength=function(h,v,g){var y=0;g.knownLength!=null?y+=Number(g.knownLength):Buffer.isBuffer(v)?y=v.length:typeof v=="string"&&(y=Buffer.byteLength(v)),this._valueLength+=y,this._overheadLength+=Buffer.byteLength(h)+f.LINE_BREAK.length,!(!v||!v.path&&!(v.readable&&u(v,"httpVersion"))&&!(v instanceof l))&&(g.knownLength||this._valuesToMeasure.push(v))},f.prototype._lengthRetriever=function(h,v){u(h,"fd")?h.end!=null&&h.end!=1/0&&h.start!=null?v(null,h.end+1-(h.start?h.start:0)):s.stat(h.path,function(g,y){if(g){v(g);return}var b=y.size-(h.start?h.start:0);v(null,b)}):u(h,"httpVersion")?v(null,Number(h.headers["content-length"])):u(h,"httpModule")?(h.on("response",function(g){h.pause(),v(null,Number(g.headers["content-length"]))}),h.resume()):v("Unknown stream")},f.prototype._multiPartHeader=function(h,v,g){if(typeof g.header=="string")return g.header;var y=this._getContentDisposition(v,g),b=this._getContentType(v,g),x="",w={"Content-Disposition":["form-data",'name="'+h+'"'].concat(y||[]),"Content-Type":[].concat(b||[])};typeof g.header=="object"&&m(w,g.header);var S;for(var _ in w)if(u(w,_)){if(S=w[_],S==null)continue;Array.isArray(S)||(S=[S]),S.length&&(x+=_+": "+S.join("; ")+f.LINE_BREAK)}return"--"+this.getBoundary()+f.LINE_BREAK+x+f.LINE_BREAK},f.prototype._getContentDisposition=function(h,v){var g;if(typeof v.filepath=="string"?g=i.normalize(v.filepath).replace(/\\/g,"/"):v.filename||h&&(h.name||h.path)?g=i.basename(v.filename||h&&(h.name||h.path)):h&&h.readable&&u(h,"httpVersion")&&(g=i.basename(h.client._httpMessage.path||"")),g)return'filename="'+g+'"'},f.prototype._getContentType=function(h,v){var g=v.contentType;return!g&&h&&h.name&&(g=p.lookup(h.name)),!g&&h&&h.path&&(g=p.lookup(h.path)),!g&&h&&h.readable&&u(h,"httpVersion")&&(g=h.headers["content-type"]),!g&&(v.filepath||v.filename)&&(g=p.lookup(v.filepath||v.filename)),!g&&h&&typeof h=="object"&&(g=f.DEFAULT_CONTENT_TYPE),g},f.prototype._multiPartFooter=function(){return function(h){var v=f.LINE_BREAK,g=this._streams.length===0;g&&(v+=this._lastBoundary()),h(v)}.bind(this)},f.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+f.LINE_BREAK},f.prototype.getHeaders=function(h){var v,g={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(v in h)u(h,v)&&(g[v.toLowerCase()]=h[v]);return g},f.prototype.setBoundary=function(h){if(typeof h!="string")throw new TypeError("FormData boundary must be a string");this._boundary=h},f.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},f.prototype.getBuffer=function(){for(var h=new Buffer.alloc(0),v=this.getBoundary(),g=0,y=this._streams.length;g<y;g++)typeof this._streams[g]!="function"&&(Buffer.isBuffer(this._streams[g])?h=Buffer.concat([h,this._streams[g]]):h=Buffer.concat([h,Buffer.from(this._streams[g])]),(typeof this._streams[g]!="string"||this._streams[g].substring(2,v.length+2)!==v)&&(h=Buffer.concat([h,Buffer.from(f.LINE_BREAK)])));return Buffer.concat([h,Buffer.from(this._lastBoundary())])},f.prototype._generateBoundary=function(){this._boundary="--------------------------"+d.randomBytes(12).toString("hex")},f.prototype.getLengthSync=function(){var h=this._overheadLength+this._valueLength;return this._streams.length&&(h+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),h},f.prototype.hasKnownLength=function(){var h=!0;return this._valuesToMeasure.length&&(h=!1),h},f.prototype.getLength=function(h){var v=this._overheadLength+this._valueLength;if(this._streams.length&&(v+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(h.bind(this,null,v));return}a.parallel(this._valuesToMeasure,this._lengthRetriever,function(g,y){if(g){h(g);return}y.forEach(function(b){v+=b}),h(null,v)})},f.prototype.submit=function(h,v){var g,y,b={method:"post"};return typeof h=="string"?(h=c(h),y=m({port:h.port,path:h.pathname,host:h.hostname,protocol:h.protocol},b)):(y=m(h,b),y.port||(y.port=y.protocol==="https:"?443:80)),y.headers=this.getHeaders(h.headers),y.protocol==="https:"?g=r.request(y):g=n.request(y),this.getLength(function(x,w){if(x&&x!=="Unknown stream"){this._error(x);return}if(w&&g.setHeader("Content-Length",w),this.pipe(g),v){var S,_=function(E,O){return g.removeListener("error",_),g.removeListener("response",S),v.call(this,E,O)};S=_.bind(this,null),g.on("error",_),g.on("response",S)}}.bind(this)),g},f.prototype._error=function(h){this.error||(this.error=h,this.pause(),this.emit("error",h))},f.prototype.toString=function(){return"[object FormData]"},o(f,"FormData"),Ks=f,Ks}var C0=j0();const Hh=mn(C0);function ic(e){return L.isPlainObject(e)||L.isArray(e)}function Wh(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function Dd(e,t,i){return e?e.concat(t).map(function(r,c){return r=Wh(r),!i&&c?"["+r+"]":r}).join(i?".":""):t}function I0(e){return L.isArray(e)&&!e.some(ic)}const q0=L.toFlatObject(L,{},null,function(t){return/^is[A-Z]/.test(t)});function Ea(e,t,i){if(!L.isObject(e))throw new TypeError("target must be an object");t=t||new(Hh||FormData),i=L.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,v){return!L.isUndefined(v[h])});const n=i.metaTokens,r=i.visitor||a,c=i.dots,s=i.indexes,d=(i.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(t);if(!L.isFunction(r))throw new TypeError("visitor must be a function");function p(f){if(f===null)return"";if(L.isDate(f))return f.toISOString();if(L.isBoolean(f))return f.toString();if(!d&&L.isBlob(f))throw new J("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(f)||L.isTypedArray(f)?d&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function a(f,h,v){let g=f;if(f&&!v&&typeof f=="object"){if(L.endsWith(h,"{}"))h=n?h:h.slice(0,-2),f=JSON.stringify(f);else if(L.isArray(f)&&I0(f)||(L.isFileList(f)||L.endsWith(h,"[]"))&&(g=L.toArray(f)))return h=Wh(h),g.forEach(function(b,x){!(L.isUndefined(b)||b===null)&&t.append(s===!0?Dd([h],x,c):s===null?h:h+"[]",p(b))}),!1}return ic(f)?!0:(t.append(Dd(v,h,c),p(f)),!1)}const o=[],u=Object.assign(q0,{defaultVisitor:a,convertValue:p,isVisitable:ic});function m(f,h){if(!L.isUndefined(f)){if(o.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));o.push(f),L.forEach(f,function(g,y){(!(L.isUndefined(g)||g===null)&&r.call(t,g,L.isString(y)?y.trim():y,h,u))===!0&&m(g,h?h.concat(y):[y])}),o.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Md(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Yh(e,t){this._pairs=[],e&&Ea(e,this,t)}const Jh=Yh.prototype;Jh.append=function(t,i){this._pairs.push([t,i])};Jh.toString=function(t){const i=t?function(n){return t.call(this,n,Md)}:Md;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function L0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function jc(e,t,i){if(!t)return e;const n=i&&i.encode||L0;L.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let c;if(r?c=r(t,i):c=L.isURLSearchParams(t)?t.toString():new Yh(t,i).toString(n),c){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class Fd{constructor(){this.handlers=[]}use(t,i,n){return this.handlers.push({fulfilled:t,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Cc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},D0=la.URLSearchParams,Gs="abcdefghijklmnopqrstuvwxyz",zd="0123456789",Xh={DIGIT:zd,ALPHA:Gs,ALPHA_DIGIT:Gs+Gs.toUpperCase()+zd},M0=(e=16,t=Xh.ALPHA_DIGIT)=>{let i="";const{length:n}=t,r=new Uint32Array(e);Wm.randomFillSync(r);for(let c=0;c<e;c++)i+=t[r[c]%n];return i},F0={isNode:!0,classes:{URLSearchParams:D0,FormData:Hh,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Xh,generateString:M0,protocols:["http","https","file","data"]},Ic=typeof window<"u"&&typeof document<"u",ac=typeof navigator=="object"&&navigator||void 0,z0=Ic&&(!ac||["ReactNative","NativeScript","NS"].indexOf(ac.product)<0),U0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",B0=Ic&&window.location.href||"http://localhost",V0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ic,hasStandardBrowserEnv:z0,hasStandardBrowserWebWorkerEnv:U0,navigator:ac,origin:B0},Symbol.toStringTag,{value:"Module"})),me={...V0,...F0};function K0(e,t){return Ea(e,new me.classes.URLSearchParams,{visitor:function(i,n,r,c){return me.isNode&&L.isBuffer(i)?(this.append(n,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...t})}function G0(e){return L.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function H0(e){const t={},i=Object.keys(e);let n;const r=i.length;let c;for(n=0;n<r;n++)c=i[n],t[c]=e[c];return t}function Qh(e){function t(i,n,r,c){let s=i[c++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),d=c>=i.length;return s=!s&&L.isArray(r)?r.length:s,d?(L.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!l):((!r[s]||!L.isObject(r[s]))&&(r[s]=[]),t(i,n,r[s],c)&&L.isArray(r[s])&&(r[s]=H0(r[s])),!l)}if(L.isFormData(e)&&L.isFunction(e.entries)){const i={};return L.forEachEntry(e,(n,r)=>{t(G0(n),r,i,0)}),i}return null}function W0(e,t,i){if(L.isString(e))try{return(t||JSON.parse)(e),L.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(i||JSON.stringify)(e)}const wn={transitional:Cc,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,c=L.isObject(t);if(c&&L.isHTMLForm(t)&&(t=new FormData(t)),L.isFormData(t))return r?JSON.stringify(Qh(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t)||L.isReadableStream(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(c){if(n.indexOf("application/x-www-form-urlencoded")>-1)return K0(t,this.formSerializer).toString();if((l=L.isFileList(t))||n.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Ea(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return c||r?(i.setContentType("application/json",!1),W0(t)):t}],transformResponse:[function(t){const i=this.transitional||wn.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(L.isResponse(t)||L.isReadableStream(t))return t;if(t&&L.isString(t)&&(n&&!this.responseType||r)){const s=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(l){if(s)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],e=>{wn.headers[e]={}});const Y0=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),J0=e=>{const t={};let i,n,r;return e&&e.split(`
21
+ `).forEach(function(s){r=s.indexOf(":"),i=s.substring(0,r).trim().toLowerCase(),n=s.substring(r+1).trim(),!(!i||t[i]&&Y0[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Ud=Symbol("internals");function Zt(e){return e&&String(e).trim().toLowerCase()}function Wi(e){return e===!1||e==null?e:L.isArray(e)?e.map(Wi):String(e)}function X0(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}const Q0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hs(e,t,i,n,r){if(L.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!L.isString(t)){if(L.isString(n))return t.indexOf(n)!==-1;if(L.isRegExp(n))return n.test(t)}}function Z0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function eS(e,t){const i=L.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+i,{value:function(r,c,s){return this[n].call(this,t,r,c,s)},configurable:!0})})}let _e=class{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function c(l,d,p){const a=Zt(d);if(!a)throw new Error("header name must be a non-empty string");const o=L.findKey(r,a);(!o||r[o]===void 0||p===!0||p===void 0&&r[o]!==!1)&&(r[o||d]=Wi(l))}const s=(l,d)=>L.forEach(l,(p,a)=>c(p,a,d));if(L.isPlainObject(t)||t instanceof this.constructor)s(t,i);else if(L.isString(t)&&(t=t.trim())&&!Q0(t))s(J0(t),i);else if(L.isObject(t)&&L.isIterable(t)){let l={},d,p;for(const a of t){if(!L.isArray(a))throw TypeError("Object iterator must return a key-value pair");l[p=a[0]]=(d=l[p])?L.isArray(d)?[...d,a[1]]:[d,a[1]]:a[1]}s(l,i)}else t!=null&&c(i,t,n);return this}get(t,i){if(t=Zt(t),t){const n=L.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return X0(r);if(L.isFunction(i))return i.call(this,r,n);if(L.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=Zt(t),t){const n=L.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||Hs(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function c(s){if(s=Zt(s),s){const l=L.findKey(n,s);l&&(!i||Hs(n,n[l],l,i))&&(delete n[l],r=!0)}}return L.isArray(t)?t.forEach(c):c(t),r}clear(t){const i=Object.keys(this);let n=i.length,r=!1;for(;n--;){const c=i[n];(!t||Hs(this,this[c],c,t,!0))&&(delete this[c],r=!0)}return r}normalize(t){const i=this,n={};return L.forEach(this,(r,c)=>{const s=L.findKey(n,c);if(s){i[s]=Wi(r),delete i[c];return}const l=t?Z0(c):String(c).trim();l!==c&&delete i[c],i[l]=Wi(r),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return L.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&L.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
22
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const n=new this(t);return i.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[Ud]=this[Ud]={accessors:{}}).accessors,r=this.prototype;function c(s){const l=Zt(s);n[l]||(eS(r,s),n[l]=!0)}return L.isArray(t)?t.forEach(c):c(t),this}};_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);L.reduceDescriptors(_e.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}});L.freezeMethods(_e);function Ws(e,t){const i=this||wn,n=t||i,r=_e.from(n.headers);let c=n.data;return L.forEach(e,function(l){c=l.call(i,c,r.normalize(),t?t.status:void 0)}),r.normalize(),c}function Zh(e){return!!(e&&e.__CANCEL__)}function ot(e,t,i){J.call(this,e??"canceled",J.ERR_CANCELED,t,i),this.name="CanceledError"}L.inherits(ot,J,{__CANCEL__:!0});function Dt(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new J("Request failed with status code "+i.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function tS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function nS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function qc(e,t,i){let n=!tS(t);return e&&(n||i==!1)?nS(e,t):t}var Ys={},Bd;function iS(){if(Bd)return Ys;Bd=1;var e=la.parse,t={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},i=String.prototype.endsWith||function(s){return s.length<=this.length&&this.indexOf(s,this.length-s.length)!==-1};function n(s){var l=typeof s=="string"?e(s):s||{},d=l.protocol,p=l.host,a=l.port;if(typeof p!="string"||!p||typeof d!="string"||(d=d.split(":",1)[0],p=p.replace(/:\d*$/,""),a=parseInt(a)||t[d]||0,!r(p,a)))return"";var o=c("npm_config_"+d+"_proxy")||c(d+"_proxy")||c("npm_config_proxy")||c("all_proxy");return o&&o.indexOf("://")===-1&&(o=d+"://"+o),o}function r(s,l){var d=(c("npm_config_no_proxy")||c("no_proxy")).toLowerCase();return d?d==="*"?!1:d.split(/[,\s]/).every(function(p){if(!p)return!0;var a=p.match(/^(.+):(\d+)$/),o=a?a[1]:p,u=a?parseInt(a[2]):0;return u&&u!==l?!0:/^[.*]/.test(o)?(o.charAt(0)==="*"&&(o=o.slice(1)),!i.call(s,o)):s!==o}):!0}function c(s){return process.env[s.toLowerCase()]||process.env[s.toUpperCase()]||""}return Ys.getProxyForUrl=n,Ys}var aS=iS();const rS=mn(aS);var Ai={exports:{}},Pi={exports:{}},Ti={exports:{}},Js,Vd;function sS(){if(Vd)return Js;Vd=1;var e=1e3,t=e*60,i=t*60,n=i*24,r=n*7,c=n*365.25;Js=function(a,o){o=o||{};var u=typeof a;if(u==="string"&&a.length>0)return s(a);if(u==="number"&&isFinite(a))return o.long?d(a):l(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function s(a){if(a=String(a),!(a.length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(o){var u=parseFloat(o[1]),m=(o[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return u*c;case"weeks":case"week":case"w":return u*r;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*i;case"minutes":case"minute":case"mins":case"min":case"m":return u*t;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function l(a){var o=Math.abs(a);return o>=n?Math.round(a/n)+"d":o>=i?Math.round(a/i)+"h":o>=t?Math.round(a/t)+"m":o>=e?Math.round(a/e)+"s":a+"ms"}function d(a){var o=Math.abs(a);return o>=n?p(a,o,n,"day"):o>=i?p(a,o,i,"hour"):o>=t?p(a,o,t,"minute"):o>=e?p(a,o,e,"second"):a+" ms"}function p(a,o,u,m){var f=o>=u*1.5;return Math.round(a/u)+" "+m+(f?"s":"")}return Js}var Xs,Kd;function ev(){if(Kd)return Xs;Kd=1;function e(t){n.debug=n,n.default=n,n.coerce=p,n.disable=l,n.enable=c,n.enabled=d,n.humanize=sS(),n.destroy=a,Object.keys(t).forEach(o=>{n[o]=t[o]}),n.names=[],n.skips=[],n.formatters={};function i(o){let u=0;for(let m=0;m<o.length;m++)u=(u<<5)-u+o.charCodeAt(m),u|=0;return n.colors[Math.abs(u)%n.colors.length]}n.selectColor=i;function n(o){let u,m=null,f,h;function v(...g){if(!v.enabled)return;const y=v,b=Number(new Date),x=b-(u||b);y.diff=x,y.prev=u,y.curr=b,u=b,g[0]=n.coerce(g[0]),typeof g[0]!="string"&&g.unshift("%O");let w=0;g[0]=g[0].replace(/%([a-zA-Z%])/g,(_,E)=>{if(_==="%%")return"%";w++;const O=n.formatters[E];if(typeof O=="function"){const U=g[w];_=O.call(y,U),g.splice(w,1),w--}return _}),n.formatArgs.call(y,g),(y.log||n.log).apply(y,g)}return v.namespace=o,v.useColors=n.useColors(),v.color=n.selectColor(o),v.extend=r,v.destroy=n.destroy,Object.defineProperty(v,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(f!==n.namespaces&&(f=n.namespaces,h=n.enabled(o)),h),set:g=>{m=g}}),typeof n.init=="function"&&n.init(v),v}function r(o,u){const m=n(this.namespace+(typeof u>"u"?":":u)+o);return m.log=this.log,m}function c(o){n.save(o),n.namespaces=o,n.names=[],n.skips=[];const u=(typeof o=="string"?o:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const m of u)m[0]==="-"?n.skips.push(m.slice(1)):n.names.push(m)}function s(o,u){let m=0,f=0,h=-1,v=0;for(;m<o.length;)if(f<u.length&&(u[f]===o[m]||u[f]==="*"))u[f]==="*"?(h=f,v=m,f++):(m++,f++);else if(h!==-1)f=h+1,v++,m=v;else return!1;for(;f<u.length&&u[f]==="*";)f++;return f===u.length}function l(){const o=[...n.names,...n.skips.map(u=>"-"+u)].join(",");return n.enable(""),o}function d(o){for(const u of n.skips)if(s(o,u))return!1;for(const u of n.names)if(s(o,u))return!0;return!1}function p(o){return o instanceof Error?o.stack||o.message:o}function a(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Xs=e,Xs}var Gd;function oS(){return Gd||(Gd=1,(function(e,t){t.formatArgs=n,t.save=r,t.load=c,t.useColors=i,t.storage=s(),t.destroy=(()=>{let d=!1;return()=>{d||(d=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function i(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let d;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(d=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(d[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(d){if(d[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+d[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;d.splice(1,0,p,"color: inherit");let a=0,o=0;d[0].replace(/%[a-zA-Z%]/g,u=>{u!=="%%"&&(a++,u==="%c"&&(o=a))}),d.splice(o,0,p)}t.log=console.debug||console.log||(()=>{});function r(d){try{d?t.storage.setItem("debug",d):t.storage.removeItem("debug")}catch{}}function c(){let d;try{d=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!d&&typeof process<"u"&&"env"in process&&(d=process.env.DEBUG),d}function s(){try{return localStorage}catch{}}e.exports=ev()(t);const{formatters:l}=e.exports;l.j=function(d){try{return JSON.stringify(d)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(Ti,Ti.exports)),Ti.exports}var Oi={exports:{}},Qs,Hd;function cS(){return Hd||(Hd=1,Qs=(e,t)=>{t=t||process.argv;const i=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(i+e),r=t.indexOf("--");return n!==-1&&(r===-1?!0:n<r)}),Qs}var Zs,Wd;function lS(){if(Wd)return Zs;Wd=1;const e=Wv,t=cS(),i=process.env;let n;t("no-color")||t("no-colors")||t("color=false")?n=!1:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(n=!0),"FORCE_COLOR"in i&&(n=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0);function r(l){return l===0?!1:{level:l,hasBasic:!0,has256:l>=2,has16m:l>=3}}function c(l){if(n===!1)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(l&&!l.isTTY&&n!==!0)return 0;const d=n?1:0;if(process.platform==="win32"){const p=e.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(p[0])>=10&&Number(p[2])>=10586?Number(p[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(p=>p in i)||i.CI_NAME==="codeship"?1:d;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){const p=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return p>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM==="dumb",d)}function s(l){const d=c(l);return r(d)}return Zs={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)},Zs}var Yd;function uS(){return Yd||(Yd=1,(function(e,t){const i=Hv,n=zt;t.init=a,t.log=l,t.formatArgs=c,t.save=d,t.load=p,t.useColors=r,t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const u=lS();u&&(u.stderr||u).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}t.inspectOpts=Object.keys(process.env).filter(u=>/^debug_/i.test(u)).reduce((u,m)=>{const f=m.substring(6).toLowerCase().replace(/_([a-z])/g,(v,g)=>g.toUpperCase());let h=process.env[m];return/^(yes|on|true|enabled)$/i.test(h)?h=!0:/^(no|off|false|disabled)$/i.test(h)?h=!1:h==="null"?h=null:h=Number(h),u[f]=h,u},{});function r(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)}function c(u){const{namespace:m,useColors:f}=this;if(f){const h=this.color,v="\x1B[3"+(h<8?h:"8;5;"+h),g=` ${v};1m${m} \x1B[0m`;u[0]=g+u[0].split(`
23
23
  `).join(`
24
- `+g),u.push(v+"m+"+e.exports.humanize(this.diff)+"\x1B[0m")}else u[0]=o()+m+" "+u[0]}function o(){return t.inspectOpts.hideDate?"":new Date().toISOString()+" "}function l(...u){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...u)+`
25
- `)}function d(u){u?process.env.DEBUG=u:delete process.env.DEBUG}function p(){return process.env.DEBUG}function a(u){u.inspectOpts={};const m=Object.keys(t.inspectOpts);for(let f=0;f<m.length;f++)u.inspectOpts[m[f]]=t.inspectOpts[m[f]]}e.exports=Wh()(t);const{formatters:s}=e.exports;s.o=function(u){return this.inspectOpts.colors=this.useColors,n.inspect(u,this.inspectOpts).split(`
26
- `).map(m=>m.trim()).join(" ")},s.O=function(u){return this.inspectOpts.colors=this.useColors,n.inspect(u,this.inspectOpts)}})(Ri,Ri.exports)),Ri.exports}var Gd;function pS(){return Gd||(Gd=1,typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Ei.exports=oS():Ei.exports=uS()),Ei.exports}var Ws,Hd;function dS(){if(Hd)return Ws;Hd=1;var e;return Ws=function(){if(!e){try{e=pS()("follow-redirects")}catch{}typeof e!="function"&&(e=function(){})}e.apply(null,arguments)},Ws}var Wd;function fS(){if(Wd)return _i.exports;Wd=1;var e=sa,t=e.URL,i=oc,n=cc,r=Ce.Writable,c=zv,o=dS();(function(){var R=typeof process<"u",T=typeof window<"u"&&typeof document<"u",U=G(Error.captureStackTrace);!R&&(T||!U)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var l=!1;try{c(new t(""))}catch(O){l=O.code==="ERR_INVALID_URL"}var d=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],p=["abort","aborted","connect","error","socket","timeout"],a=Object.create(null);p.forEach(function(O){a[O]=function(R,T,U){this._redirectable.emit(O,R,T,U)}});var s=P("ERR_INVALID_URL","Invalid URL",TypeError),u=P("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),m=P("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",u),f=P("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=P("ERR_STREAM_WRITE_AFTER_END","write after end"),v=r.prototype.destroy||b;function g(O,R){r.call(this),this._sanitizeOptions(O),this._options=O,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],R&&this.on("response",R);var T=this;this._onNativeResponse=function(U){try{T._processResponse(U)}catch(C){T.emit("error",C instanceof u?C:new u({cause:C}))}},this._performRequest()}g.prototype=Object.create(r.prototype),g.prototype.abort=function(){B(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},g.prototype.destroy=function(O){return B(this._currentRequest,O),v.call(this,O),this},g.prototype.write=function(O,R,T){if(this._ending)throw new h;if(!V(O)&&!q(O))throw new TypeError("data should be a string, Buffer or Uint8Array");if(G(R)&&(T=R,R=null),O.length===0){T&&T();return}this._requestBodyLength+O.length<=this._options.maxBodyLength?(this._requestBodyLength+=O.length,this._requestBodyBuffers.push({data:O,encoding:R}),this._currentRequest.write(O,R,T)):(this.emit("error",new f),this.abort())},g.prototype.end=function(O,R,T){if(G(O)?(T=O,O=R=null):G(R)&&(T=R,R=null),!O)this._ended=this._ending=!0,this._currentRequest.end(null,null,T);else{var U=this,C=this._currentRequest;this.write(O,R,function(){U._ended=!0,C.end(null,null,T)}),this._ending=!0}},g.prototype.setHeader=function(O,R){this._options.headers[O]=R,this._currentRequest.setHeader(O,R)},g.prototype.removeHeader=function(O){delete this._options.headers[O],this._currentRequest.removeHeader(O)},g.prototype.setTimeout=function(O,R){var T=this;function U(I){I.setTimeout(O),I.removeListener("timeout",I.destroy),I.addListener("timeout",I.destroy)}function C(I){T._timeout&&clearTimeout(T._timeout),T._timeout=setTimeout(function(){T.emit("timeout"),A()},O),U(I)}function A(){T._timeout&&(clearTimeout(T._timeout),T._timeout=null),T.removeListener("abort",A),T.removeListener("error",A),T.removeListener("response",A),T.removeListener("close",A),R&&T.removeListener("timeout",R),T.socket||T._currentRequest.removeListener("socket",C)}return R&&this.on("timeout",R),this.socket?C(this.socket):this._currentRequest.once("socket",C),this.on("socket",U),this.on("abort",A),this.on("error",A),this.on("response",A),this.on("close",A),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(O){g.prototype[O]=function(R,T){return this._currentRequest[O](R,T)}}),["aborted","connection","socket"].forEach(function(O){Object.defineProperty(g.prototype,O,{get:function(){return this._currentRequest[O]}})}),g.prototype._sanitizeOptions=function(O){if(O.headers||(O.headers={}),O.host&&(O.hostname||(O.hostname=O.host),delete O.host),!O.pathname&&O.path){var R=O.path.indexOf("?");R<0?O.pathname=O.path:(O.pathname=O.path.substring(0,R),O.search=O.path.substring(R))}},g.prototype._performRequest=function(){var O=this._options.protocol,R=this._options.nativeProtocols[O];if(!R)throw new TypeError("Unsupported protocol "+O);if(this._options.agents){var T=O.slice(0,-1);this._options.agent=this._options.agents[T]}var U=this._currentRequest=R.request(this._options,this._onNativeResponse);U._redirectable=this;for(var C of p)U.on(C,a[C]);if(this._currentUrl=/^\//.test(this._options.path)?e.format(this._options):this._options.path,this._isRedirect){var A=0,I=this,N=this._requestBodyBuffers;(function _(k){if(U===I._currentRequest)if(k)I.emit("error",k);else if(A<N.length){var F=N[A++];U.finished||U.write(F.data,F.encoding,_)}else I._ended&&U.end()})()}},g.prototype._processResponse=function(O){var R=O.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:O.headers,statusCode:R});var T=O.headers.location;if(!T||this._options.followRedirects===!1||R<300||R>=400){O.responseUrl=this._currentUrl,O.redirects=this._redirects,this.emit("response",O),this._requestBodyBuffers=[];return}if(B(this._currentRequest),O.destroy(),++this._redirectCount>this._options.maxRedirects)throw new m;var U,C=this._options.beforeRedirect;C&&(U=Object.assign({Host:O.req.getHeader("host")},this._options.headers));var A=this._options.method;((R===301||R===302)&&this._options.method==="POST"||R===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var I=E(/^host$/i,this._options.headers),N=x(this._currentUrl),_=I||N.host,k=/^\w+:/.test(T)?this._currentUrl:e.format(Object.assign(N,{host:_})),F=w(T,k);if(o("redirecting to",F.href),this._isRedirect=!0,$(F,this._options),(F.protocol!==N.protocol&&F.protocol!=="https:"||F.host!==_&&!D(F.host,_))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),G(C)){var Y={headers:O.headers,statusCode:R},W={url:k,method:A,headers:U};C(this._options,Y,W),this._sanitizeOptions(this._options)}this._performRequest()};function y(O){var R={maxRedirects:21,maxBodyLength:10485760},T={};return Object.keys(O).forEach(function(U){var C=U+":",A=T[C]=O[U],I=R[U]=Object.create(A);function N(k,F,Y){return z(k)?k=$(k):V(k)?k=$(x(k)):(Y=F,F=S(k),k={protocol:C}),G(F)&&(Y=F,F=null),F=Object.assign({maxRedirects:R.maxRedirects,maxBodyLength:R.maxBodyLength},k,F),F.nativeProtocols=T,!V(F.host)&&!V(F.hostname)&&(F.hostname="::1"),c.equal(F.protocol,C,"protocol mismatch"),o("options",F),new g(F,Y)}function _(k,F,Y){var W=I.request(k,F,Y);return W.end(),W}Object.defineProperties(I,{request:{value:N,configurable:!0,enumerable:!0,writable:!0},get:{value:_,configurable:!0,enumerable:!0,writable:!0}})}),R}function b(){}function x(O){var R;if(l)R=new t(O);else if(R=S(e.parse(O)),!V(R.protocol))throw new s({input:O});return R}function w(O,R){return l?new t(O,R):x(e.resolve(R,O))}function S(O){if(/^\[/.test(O.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(O.hostname))throw new s({input:O.href||O});if(/^\[/.test(O.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(O.host))throw new s({input:O.href||O});return O}function $(O,R){var T=R||{};for(var U of d)T[U]=O[U];return T.hostname.startsWith("[")&&(T.hostname=T.hostname.slice(1,-1)),T.port!==""&&(T.port=Number(T.port)),T.path=T.search?T.pathname+T.search:T.pathname,T}function E(O,R){var T;for(var U in R)O.test(U)&&(T=R[U],delete R[U]);return T===null||typeof T>"u"?void 0:String(T).trim()}function P(O,R,T){function U(C){G(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,C||{}),this.code=O,this.message=this.cause?R+": "+this.cause.message:R}return U.prototype=new(T||Error),Object.defineProperties(U.prototype,{constructor:{value:U,enumerable:!1},name:{value:"Error ["+O+"]",enumerable:!1}}),U}function B(O,R){for(var T of p)O.removeListener(T,a[T]);O.on("error",b),O.destroy(R)}function D(O,R){c(V(O)&&V(R));var T=O.length-R.length-1;return T>0&&O[T]==="."&&O.endsWith(R)}function V(O){return typeof O=="string"||O instanceof String}function G(O){return typeof O=="function"}function q(O){return typeof O=="object"&&"length"in O}function z(O){return t&&O instanceof t}return _i.exports=y({http:i,https:n}),_i.exports.wrap=y,_i.exports}var mS=fS();const hS=fn(mS),Zi="1.12.0";function Yh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const vS=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function gS(e,t,i){const n=i&&i.Blob||me.classes.Blob,r=Yh(e);if(t===void 0&&n&&(t=!0),r==="data"){e=r.length?e.slice(r.length+1):e;const c=vS.exec(e);if(!c)throw new J("Invalid URL",J.ERR_INVALID_URL);const o=c[1],l=c[2],d=c[3],p=Buffer.from(decodeURIComponent(d),l?"base64":"utf8");if(t){if(!n)throw new J("Blob is not supported",J.ERR_NOT_SUPPORT);return new n([p],{type:o})}return p}throw new J("Unsupported protocol "+r,J.ERR_NOT_SUPPORT)}const Ys=Symbol("internals");class Yd extends Ce.Transform{constructor(t){t=L.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(n,r)=>!L.isUndefined(r[n])),super({readableHighWaterMark:t.chunkSize});const i=this[Ys]={timeWindow:t.timeWindow,chunkSize:t.chunkSize,maxRate:t.maxRate,minChunkSize:t.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",n=>{n==="progress"&&(i.isCaptured||(i.isCaptured=!0))})}_read(t){const i=this[Ys];return i.onReadCallback&&i.onReadCallback(),super._read(t)}_transform(t,i,n){const r=this[Ys],c=r.maxRate,o=this.readableHighWaterMark,l=r.timeWindow,d=1e3/l,p=c/d,a=r.minChunkSize!==!1?Math.max(r.minChunkSize,p*.01):0,s=(m,f)=>{const h=Buffer.byteLength(m);r.bytesSeen+=h,r.bytes+=h,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(m)?process.nextTick(f):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(f)}},u=(m,f)=>{const h=Buffer.byteLength(m);let v=null,g=o,y,b=0;if(c){const x=Date.now();(!r.ts||(b=x-r.ts)>=l)&&(r.ts=x,y=p-r.bytes,r.bytes=y<0?-y:0,b=0),y=p-r.bytes}if(c){if(y<=0)return setTimeout(()=>{f(null,m)},l-b);y<g&&(g=y)}g&&h>g&&h-g>a&&(v=m.subarray(g),m=m.subarray(0,g)),s(m,v?()=>{process.nextTick(f,null,v)}:f)};u(t,function m(f,h){if(f)return n(f);h?u(h,m):n(null)})}}const{asyncIterator:Jd}=Symbol,Jh=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Jd]?yield*e[Jd]():yield e},yS=me.ALPHABET.ALPHA_DIGIT+"-_",pn=typeof TextEncoder=="function"?new TextEncoder:new Dt.TextEncoder,ft=`\r
27
- `,bS=pn.encode(ft),xS=2;class wS{constructor(t,i){const{escapeName:n}=this.constructor,r=L.isString(i);let c=`Content-Disposition: form-data; name="${n(t)}"${!r&&i.name?`; filename="${n(i.name)}"`:""}${ft}`;r?i=pn.encode(String(i).replace(/\r?\n|\r\n?/g,ft)):c+=`Content-Type: ${i.type||"application/octet-stream"}${ft}`,this.headers=pn.encode(c+ft),this.contentLength=r?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+xS,this.name=t,this.value=i}async*encode(){yield this.headers;const{value:t}=this;L.isTypedArray(t)?yield t:yield*Jh(t),yield bS}static escapeName(t){return String(t).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}}const SS=(e,t,i)=>{const{tag:n="form-data-boundary",size:r=25,boundary:c=n+"-"+me.generateString(r,yS)}=i||{};if(!L.isFormData(e))throw TypeError("FormData instance required");if(c.length<1||c.length>70)throw Error("boundary must be 10-70 characters long");const o=pn.encode("--"+c+ft),l=pn.encode("--"+c+"--"+ft);let d=l.byteLength;const p=Array.from(e.entries()).map(([s,u])=>{const m=new wS(s,u);return d+=m.size,m});d+=o.byteLength*p.length,d=L.toFiniteNumber(d);const a={"Content-Type":`multipart/form-data; boundary=${c}`};return Number.isFinite(d)&&(a["Content-Length"]=d),t&&t(a),Ce.Readable.from((async function*(){for(const s of p)yield o,yield*s.encode();yield l})())};class $S extends Ce.Transform{__transform(t,i,n){this.push(t),n()}_transform(t,i,n){if(t.length!==0&&(this._transform=this.__transform,t[0]!==120)){const r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,i)}this.__transform(t,i,n)}}const _S=(e,t)=>L.isAsyncFn(e)?function(...i){const n=i.pop();e.apply(this,i).then(r=>{try{t?n(null,...t(r)):n(null,r)}catch(c){n(c)}},n)}:e;function ES(e,t){e=e||10;const i=new Array(e),n=new Array(e);let r=0,c=0,o;return t=t!==void 0?t:1e3,function(d){const p=Date.now(),a=n[c];o||(o=p),i[r]=d,n[r]=p;let s=c,u=0;for(;s!==r;)u+=i[s++],s=s%e;if(r=(r+1)%e,r===c&&(c=(c+1)%e),p-o<t)return;const m=a&&p-a;return m?Math.round(u*1e3/m):void 0}}function kS(e,t){let i=0,n=1e3/t,r,c;const o=(p,a=Date.now())=>{i=a,r=null,c&&(clearTimeout(c),c=null),e(...p)};return[(...p)=>{const a=Date.now(),s=a-i;s>=n?o(p,a):(r=p,c||(c=setTimeout(()=>{c=null,o(r)},n-s)))},()=>r&&o(r)]}const Mt=(e,t,i=3)=>{let n=0;const r=ES(50,250);return kS(c=>{const o=c.loaded,l=c.lengthComputable?c.total:void 0,d=o-n,p=r(d),a=o<=l;n=o;const s={loaded:o,total:l,progress:l?o/l:void 0,bytes:d,rate:p||void 0,estimated:p&&l&&a?(l-o)/p:void 0,event:c,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(s)},i)},ea=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},ta=e=>(...t)=>L.asap(()=>e(...t));function RS(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const i=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(i)){let c=n.length;const o=n.length;for(let u=0;u<o;u++)if(n.charCodeAt(u)===37&&u+2<o){const m=n.charCodeAt(u+1),f=n.charCodeAt(u+2);(m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102)&&(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102)&&(c-=2,u+=2)}let l=0,d=o-1;const p=u=>u>=2&&n.charCodeAt(u-2)===37&&n.charCodeAt(u-1)===51&&(n.charCodeAt(u)===68||n.charCodeAt(u)===100);d>=0&&(n.charCodeAt(d)===61?(l++,d--):p(d)&&(l++,d-=3)),l===1&&d>=0&&(n.charCodeAt(d)===61||p(d))&&l++;const s=Math.floor(c/4)*3-(l||0);return s>0?s:0}return Buffer.byteLength(n,"utf8")}const Xd={flush:at.constants.Z_SYNC_FLUSH,finishFlush:at.constants.Z_SYNC_FLUSH},AS={flush:at.constants.BROTLI_OPERATION_FLUSH,finishFlush:at.constants.BROTLI_OPERATION_FLUSH},Qd=L.isFunction(at.createBrotliDecompress),{http:PS,https:TS}=hS,OS=/https:?/,Zd=me.protocols.map(e=>e+":"),ef=(e,[t,i])=>(e.on("end",i).on("error",i),t);function NS(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Xh(e,t,i){let n=t;if(!n&&n!==!1){const r=rS.getProxyForUrl(i);r&&(n=new URL(r))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){(n.auth.username||n.auth.password)&&(n.auth=(n.auth.username||"")+":"+(n.auth.password||""));const c=Buffer.from(n.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+c}e.headers.host=e.hostname+(e.port?":"+e.port:"");const r=n.hostname||n.host;e.hostname=r,e.host=r,e.port=n.port,e.path=i,n.protocol&&(e.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}e.beforeRedirects.proxy=function(c){Xh(c,t,c.href)}}const jS=typeof process<"u"&&L.kindOf(process)==="process",CS=e=>new Promise((t,i)=>{let n,r;const c=(d,p)=>{r||(r=!0,n&&n(d,p))},o=d=>{c(d),t(d)},l=d=>{c(d,!0),i(d)};e(o,l,d=>n=d).catch(l)}),IS=({address:e,family:t})=>{if(!L.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},tf=(e,t)=>IS(L.isObject(e)?e:{address:e,family:t}),qS=jS&&function(t){return CS(async function(n,r,c){let{data:o,lookup:l,family:d}=t;const{responseType:p,responseEncoding:a}=t,s=t.method.toUpperCase();let u,m=!1,f;if(l){const R=_S(l,T=>L.isArray(T)?T:[T]);l=(T,U,C)=>{R(T,U,(A,I,N)=>{if(A)return C(A);const _=L.isArray(I)?I.map(k=>tf(k)):[tf(I,N)];U.all?C(A,_):C(A,_[0].address,_[0].family)})}}const h=new Kv.EventEmitter,v=()=>{t.cancelToken&&t.cancelToken.unsubscribe(g),t.signal&&t.signal.removeEventListener("abort",g),h.removeAllListeners()};c((R,T)=>{u=!0,T&&(m=!0,v())});function g(R){h.emit("abort",!R||R.type?new rt(null,t,f):R)}h.once("abort",r),(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(g),t.signal&&(t.signal.aborted?g():t.signal.addEventListener("abort",g)));const y=Oc(t.baseURL,t.url,t.allowAbsoluteUrls),b=new URL(y,me.hasBrowserEnv?me.origin:void 0),x=b.protocol||Zd[0];if(x==="data:"){if(t.maxContentLength>-1){const T=String(t.url||y||"");if(RS(T)>t.maxContentLength)return r(new J("maxContentLength size of "+t.maxContentLength+" exceeded",J.ERR_BAD_RESPONSE,t))}let R;if(s!=="GET")return qt(n,r,{status:405,statusText:"method not allowed",headers:{},config:t});try{R=gS(t.url,p==="blob",{Blob:t.env&&t.env.Blob})}catch(T){throw J.from(T,J.ERR_BAD_REQUEST,t)}return p==="text"?(R=R.toString(a),(!a||a==="utf8")&&(R=L.stripBOM(R))):p==="stream"&&(R=Ce.Readable.from(R)),qt(n,r,{data:R,status:200,statusText:"OK",headers:new $e,config:t})}if(Zd.indexOf(x)===-1)return r(new J("Unsupported protocol "+x,J.ERR_BAD_REQUEST,t));const w=$e.from(t.headers).normalize();w.set("User-Agent","axios/"+Zi,!1);const{onUploadProgress:S,onDownloadProgress:$}=t,E=t.maxRate;let P,B;if(L.isSpecCompliantForm(o)){const R=w.getContentType(/boundary=([-_\w\d]{10,70})/i);o=SS(o,T=>{w.set(T)},{tag:`axios-${Zi}-boundary`,boundary:R&&R[1]||void 0})}else if(L.isFormData(o)&&L.isFunction(o.getHeaders)){if(w.set(o.getHeaders()),!w.hasContentLength())try{const R=await Dt.promisify(o.getLength).call(o);Number.isFinite(R)&&R>=0&&w.setContentLength(R)}catch{}}else if(L.isBlob(o)||L.isFile(o))o.size&&w.setContentType(o.type||"application/octet-stream"),w.setContentLength(o.size||0),o=Ce.Readable.from(Jh(o));else if(o&&!L.isStream(o)){if(!Buffer.isBuffer(o))if(L.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else if(L.isString(o))o=Buffer.from(o,"utf-8");else return r(new J("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",J.ERR_BAD_REQUEST,t));if(w.setContentLength(o.length,!1),t.maxBodyLength>-1&&o.length>t.maxBodyLength)return r(new J("Request body larger than maxBodyLength limit",J.ERR_BAD_REQUEST,t))}const D=L.toFiniteNumber(w.getContentLength());L.isArray(E)?(P=E[0],B=E[1]):P=B=E,o&&(S||P)&&(L.isStream(o)||(o=Ce.Readable.from(o,{objectMode:!1})),o=Ce.pipeline([o,new Yd({maxRate:L.toFiniteNumber(P)})],L.noop),S&&o.on("progress",ef(o,ea(D,Mt(ta(S),!1,3)))));let V;if(t.auth){const R=t.auth.username||"",T=t.auth.password||"";V=R+":"+T}if(!V&&b.username){const R=b.username,T=b.password;V=R+":"+T}V&&w.delete("authorization");let G;try{G=Ac(b.pathname+b.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(R){const T=new Error(R.message);return T.config=t,T.url=t.url,T.exists=!0,r(T)}w.set("Accept-Encoding","gzip, compress, deflate"+(Qd?", br":""),!1);const q={path:G,method:s,headers:w.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:V,protocol:x,family:d,beforeRedirect:NS,beforeRedirects:{}};!L.isUndefined(l)&&(q.lookup=l),t.socketPath?q.socketPath=t.socketPath:(q.hostname=b.hostname.startsWith("[")?b.hostname.slice(1,-1):b.hostname,q.port=b.port,Xh(q,t.proxy,x+"//"+b.hostname+(b.port?":"+b.port:"")+q.path));let z;const O=OS.test(q.protocol);if(q.agent=O?t.httpsAgent:t.httpAgent,t.transport?z=t.transport:t.maxRedirects===0?z=O?cc:oc:(t.maxRedirects&&(q.maxRedirects=t.maxRedirects),t.beforeRedirect&&(q.beforeRedirects.config=t.beforeRedirect),z=O?TS:PS),t.maxBodyLength>-1?q.maxBodyLength=t.maxBodyLength:q.maxBodyLength=1/0,t.insecureHTTPParser&&(q.insecureHTTPParser=t.insecureHTTPParser),f=z.request(q,function(T){if(f.destroyed)return;const U=[T],C=+T.headers["content-length"];if($||B){const k=new Yd({maxRate:L.toFiniteNumber(B)});$&&k.on("progress",ef(k,ea(C,Mt(ta($),!0,3)))),U.push(k)}let A=T;const I=T.req||f;if(t.decompress!==!1&&T.headers["content-encoding"])switch((s==="HEAD"||T.statusCode===204)&&delete T.headers["content-encoding"],(T.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":U.push(at.createUnzip(Xd)),delete T.headers["content-encoding"];break;case"deflate":U.push(new $S),U.push(at.createUnzip(Xd)),delete T.headers["content-encoding"];break;case"br":Qd&&(U.push(at.createBrotliDecompress(AS)),delete T.headers["content-encoding"])}A=U.length>1?Ce.pipeline(U,L.noop):U[0];const N=Ce.finished(A,()=>{N(),v()}),_={status:T.statusCode,statusText:T.statusMessage,headers:new $e(T.headers),config:t,request:I};if(p==="stream")_.data=A,qt(n,r,_);else{const k=[];let F=0;A.on("data",function(W){k.push(W),F+=W.length,t.maxContentLength>-1&&F>t.maxContentLength&&(m=!0,A.destroy(),r(new J("maxContentLength size of "+t.maxContentLength+" exceeded",J.ERR_BAD_RESPONSE,t,I)))}),A.on("aborted",function(){if(m)return;const W=new J("stream has been aborted",J.ERR_BAD_RESPONSE,t,I);A.destroy(W),r(W)}),A.on("error",function(W){f.destroyed||r(J.from(W,null,t,I))}),A.on("end",function(){try{let W=k.length===1?k[0]:Buffer.concat(k);p!=="arraybuffer"&&(W=W.toString(a),(!a||a==="utf8")&&(W=L.stripBOM(W))),_.data=W}catch(W){return r(J.from(W,null,t,_.request,_))}qt(n,r,_)})}h.once("abort",k=>{A.destroyed||(A.emit("error",k),A.destroy())})}),h.once("abort",R=>{r(R),f.destroy(R)}),f.on("error",function(T){r(J.from(T,null,t,f))}),f.on("socket",function(T){T.setKeepAlive(!0,1e3*60)}),t.timeout){const R=parseInt(t.timeout,10);if(Number.isNaN(R)){r(new J("error trying to parse `config.timeout` to int",J.ERR_BAD_OPTION_VALUE,t,f));return}f.setTimeout(R,function(){if(u)return;let U=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const C=t.transitional||Pc;t.timeoutErrorMessage&&(U=t.timeoutErrorMessage),r(new J(U,C.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,f)),g()})}if(L.isStream(o)){let R=!1,T=!1;o.on("end",()=>{R=!0}),o.once("error",U=>{T=!0,f.destroy(U)}),o.on("close",()=>{!R&&!T&&g(new rt("Request stream has been aborted",t,f))}),o.pipe(f)}else f.end(o)})},LS=me.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,me.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(me.origin),me.navigator&&/(msie|trident)/i.test(me.navigator.userAgent)):()=>!0,MS=me.hasStandardBrowserEnv?{write(e,t,i,n,r,c){const o=[e+"="+encodeURIComponent(t)];L.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),L.isString(n)&&o.push("path="+n),L.isString(r)&&o.push("domain="+r),c===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}},nf=e=>e instanceof $e?{...e}:e;function vt(e,t){t=t||{};const i={};function n(p,a,s,u){return L.isPlainObject(p)&&L.isPlainObject(a)?L.merge.call({caseless:u},p,a):L.isPlainObject(a)?L.merge({},a):L.isArray(a)?a.slice():a}function r(p,a,s,u){if(L.isUndefined(a)){if(!L.isUndefined(p))return n(void 0,p,s,u)}else return n(p,a,s,u)}function c(p,a){if(!L.isUndefined(a))return n(void 0,a)}function o(p,a){if(L.isUndefined(a)){if(!L.isUndefined(p))return n(void 0,p)}else return n(void 0,a)}function l(p,a,s){if(s in t)return n(p,a);if(s in e)return n(void 0,p)}const d={url:c,method:c,data:c,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(p,a,s)=>r(nf(p),nf(a),s,!0)};return L.forEach(Object.keys({...e,...t}),function(a){const s=d[a]||r,u=s(e[a],t[a],a);L.isUndefined(u)&&s!==l||(i[a]=u)}),i}const Qh=e=>{const t=vt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:c,headers:o,auth:l}=t;if(t.headers=o=$e.from(o),t.url=Ac(Oc(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&o.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),L.isFormData(i)){if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(L.isFunction(i.getHeaders)){const d=i.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([a,s])=>{p.includes(a.toLowerCase())&&o.set(a,s)})}}if(me.hasStandardBrowserEnv&&(n&&L.isFunction(n)&&(n=n(t)),n||n!==!1&&LS(t.url))){const d=r&&c&&MS.read(c);d&&o.set(r,d)}return t},DS=typeof XMLHttpRequest<"u",FS=DS&&function(e){return new Promise(function(i,n){const r=Qh(e);let c=r.data;const o=$e.from(r.headers).normalize();let{responseType:l,onUploadProgress:d,onDownloadProgress:p}=r,a,s,u,m,f;function h(){m&&m(),f&&f(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function g(){if(!v)return;const b=$e.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:b,config:e,request:v};qt(function($){i($),h()},function($){n($),h()},w),v=null}"onloadend"in v?v.onloadend=g:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(g)},v.onabort=function(){v&&(n(new J("Request aborted",J.ECONNABORTED,e,v)),v=null)},v.onerror=function(x){const w=x&&x.message?x.message:"Network Error",S=new J(w,J.ERR_NETWORK,e,v);S.event=x||null,n(S),v=null},v.ontimeout=function(){let x=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||Pc;r.timeoutErrorMessage&&(x=r.timeoutErrorMessage),n(new J(x,w.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,v)),v=null},c===void 0&&o.setContentType(null),"setRequestHeader"in v&&L.forEach(o.toJSON(),function(x,w){v.setRequestHeader(w,x)}),L.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),p&&([u,f]=Mt(p,!0),v.addEventListener("progress",u)),d&&v.upload&&([s,m]=Mt(d),v.upload.addEventListener("progress",s),v.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=b=>{v&&(n(!b||b.type?new rt(null,e,v):b),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=Yh(r.url);if(y&&me.protocols.indexOf(y)===-1){n(new J("Unsupported protocol "+y+":",J.ERR_BAD_REQUEST,e));return}v.send(c||null)})},US=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let n=new AbortController,r;const c=function(p){if(!r){r=!0,l();const a=p instanceof Error?p:this.reason;n.abort(a instanceof J?a:new rt(a instanceof Error?a.message:a))}};let o=t&&setTimeout(()=>{o=null,c(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const l=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(c):p.removeEventListener("abort",c)}),e=null)};e.forEach(p=>p.addEventListener("abort",c));const{signal:d}=n;return d.unsubscribe=()=>L.asap(l),d}},zS=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let n=0,r;for(;n<i;)r=n+t,yield e.slice(n,r),n=r},BS=async function*(e,t){for await(const i of VS(e))yield*zS(i,t)},VS=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:n}=await t.read();if(i)break;yield n}}finally{await t.cancel()}},af=(e,t,i,n)=>{const r=BS(e,t);let c=0,o,l=d=>{o||(o=!0,n&&n(d))};return new ReadableStream({async pull(d){try{const{done:p,value:a}=await r.next();if(p){l(),d.close();return}let s=a.byteLength;if(i){let u=c+=s;i(u)}d.enqueue(new Uint8Array(a))}catch(p){throw l(p),p}},cancel(d){return l(d),r.return()}},{highWaterMark:2})},rf=64*1024,{isFunction:Ai}=L,Zh=(({fetch:e,Request:t,Response:i})=>({fetch:e,Request:t,Response:i}))(L.global),{ReadableStream:sf,TextEncoder:of}=L.global,cf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},KS=e=>{const{fetch:t,Request:i,Response:n}=Object.assign({},Zh,e),r=Ai(t),c=Ai(i),o=Ai(n);if(!r)return!1;const l=r&&Ai(sf),d=r&&(typeof of=="function"?(f=>h=>f.encode(h))(new of):async f=>new Uint8Array(await new i(f).arrayBuffer())),p=c&&l&&cf(()=>{let f=!1;const h=new i(me.origin,{body:new sf,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!h}),a=o&&l&&cf(()=>L.isReadableStream(new n("").body)),s={stream:a&&(f=>f.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!s[f]&&(s[f]=(h,v)=>{let g=h&&h[f];if(g)return g.call(h);throw new J(`Response type '${f}' is not supported`,J.ERR_NOT_SUPPORT,v)})});const u=async f=>{if(f==null)return 0;if(L.isBlob(f))return f.size;if(L.isSpecCompliantForm(f))return(await new i(me.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(L.isArrayBufferView(f)||L.isArrayBuffer(f))return f.byteLength;if(L.isURLSearchParams(f)&&(f=f+""),L.isString(f))return(await d(f)).byteLength},m=async(f,h)=>{const v=L.toFiniteNumber(f.getContentLength());return v??u(h)};return async f=>{let{url:h,method:v,data:g,signal:y,cancelToken:b,timeout:x,onDownloadProgress:w,onUploadProgress:S,responseType:$,headers:E,withCredentials:P="same-origin",fetchOptions:B}=Qh(f);$=$?($+"").toLowerCase():"text";let D=US([y,b&&b.toAbortSignal()],x),V=null;const G=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let q;try{if(S&&p&&v!=="get"&&v!=="head"&&(q=await m(E,g))!==0){let C=new i(h,{method:"POST",body:g,duplex:"half"}),A;if(L.isFormData(g)&&(A=C.headers.get("content-type"))&&E.setContentType(A),C.body){const[I,N]=ea(q,Mt(ta(S)));g=af(C.body,rf,I,N)}}L.isString(P)||(P=P?"include":"omit");const z=c&&"credentials"in i.prototype,O={...B,signal:D,method:v.toUpperCase(),headers:E.normalize().toJSON(),body:g,duplex:"half",credentials:z?P:void 0};V=c&&new i(h,O);let R=await(c?t(V,B):t(h,O));const T=a&&($==="stream"||$==="response");if(a&&(w||T&&G)){const C={};["status","statusText","headers"].forEach(_=>{C[_]=R[_]});const A=L.toFiniteNumber(R.headers.get("content-length")),[I,N]=w&&ea(A,Mt(ta(w),!0))||[];R=new n(af(R.body,rf,I,()=>{N&&N(),G&&G()}),C)}$=$||"text";let U=await s[L.findKey(s,$)||"text"](R,f);return!T&&G&&G(),await new Promise((C,A)=>{qt(C,A,{data:U,headers:$e.from(R.headers),status:R.status,statusText:R.statusText,config:f,request:V})})}catch(z){throw G&&G(),z&&z.name==="TypeError"&&/Load failed|fetch/i.test(z.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,f,V),{cause:z.cause||z}):J.from(z,z&&z.code,f,V)}}},GS=new Map,ev=e=>{let t=L.merge.call({skipUndefined:!0},Zh,e?e.env:null);const{fetch:i,Request:n,Response:r}=t,c=[n,r,i];let o=c.length,l=o,d,p,a=GS;for(;l--;)d=c[l],p=a.get(d),p===void 0&&a.set(d,p=l?new Map:KS(t)),a=p;return p};ev();const Zo={http:qS,xhr:FS,fetch:{get:ev}};L.forEach(Zo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const lf=e=>`- ${e}`,HS=e=>L.isFunction(e)||e===null||e===!1,tv={getAdapter:(e,t)=>{e=L.isArray(e)?e:[e];const{length:i}=e;let n,r;const c={};for(let o=0;o<i;o++){n=e[o];let l;if(r=n,!HS(n)&&(r=Zo[(l=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${l}'`);if(r&&(L.isFunction(r)||(r=r.get(t))))break;c[l||"#"+o]=r}if(!r){const o=Object.entries(c).map(([d,p])=>`adapter ${d} `+(p===!1?"is not supported by the environment":"is not available in the build"));let l=i?o.length>1?`since :
28
- `+o.map(lf).join(`
29
- `):" "+lf(o[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:Zo};function Js(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rt(null,e)}function uf(e){return Js(e),e.headers=$e.from(e.headers),e.data=zs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tv.getAdapter(e.adapter||xn.adapter,e)(e).then(function(n){return Js(e),n.data=zs.call(e,e.transformResponse,n),n.headers=$e.from(n.headers),n},function(n){return Hh(n)||(Js(e),n&&n.response&&(n.response.data=zs.call(e,e.transformResponse,n.response),n.response.headers=$e.from(n.response.headers))),Promise.reject(n)})}const $a={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const pf={};$a.transitional=function(t,i,n){function r(c,o){return"[Axios v"+Zi+"] Transitional option '"+c+"'"+o+(n?". "+n:"")}return(c,o,l)=>{if(t===!1)throw new J(r(o," has been removed"+(i?" in "+i:"")),J.ERR_DEPRECATED);return i&&!pf[o]&&(pf[o]=!0,console.warn(r(o," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(c,o,l):!0}};$a.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function WS(e,t,i){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const c=n[r],o=t[c];if(o){const l=e[c],d=l===void 0||o(l,c,e);if(d!==!0)throw new J("option "+c+" must be "+d,J.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new J("Unknown option "+c,J.ERR_BAD_OPTION)}}const Gi={assertOptions:WS,validators:$a},Ve=Gi.validators;let mt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new qd,response:new qd}}async request(t,i){try{return await this._request(t,i)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const c=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?c&&!String(n.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(n.stack+=`
30
- `+c):n.stack=c}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=vt(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:c}=i;n!==void 0&&Gi.assertOptions(n,{silentJSONParsing:Ve.transitional(Ve.boolean),forcedJSONParsing:Ve.transitional(Ve.boolean),clarifyTimeoutError:Ve.transitional(Ve.boolean)},!1),r!=null&&(L.isFunction(r)?i.paramsSerializer={serialize:r}:Gi.assertOptions(r,{encode:Ve.function,serialize:Ve.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Gi.assertOptions(i,{baseUrl:Ve.spelling("baseURL"),withXsrfToken:Ve.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let o=c&&L.merge(c.common,c[i.method]);c&&L.forEach(["delete","get","head","post","put","patch","common"],f=>{delete c[f]}),i.headers=$e.concat(o,c);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(i)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const p=[];this.interceptors.response.forEach(function(h){p.push(h.fulfilled,h.rejected)});let a,s=0,u;if(!d){const f=[uf.bind(this),void 0];for(f.unshift(...l),f.push(...p),u=f.length,a=Promise.resolve(i);s<u;)a=a.then(f[s++],f[s++]);return a}u=l.length;let m=i;for(s=0;s<u;){const f=l[s++],h=l[s++];try{m=f(m)}catch(v){h.call(this,v);break}}try{a=uf.call(this,m)}catch(f){return Promise.reject(f)}for(s=0,u=p.length;s<u;)a=a.then(p[s++],p[s++]);return a}getUri(t){t=vt(this.defaults,t);const i=Oc(t.baseURL,t.url,t.allowAbsoluteUrls);return Ac(i,t.params,t.paramsSerializer)}};L.forEach(["delete","get","head","options"],function(t){mt.prototype[t]=function(i,n){return this.request(vt(n||{},{method:t,url:i,data:(n||{}).data}))}});L.forEach(["post","put","patch"],function(t){function i(n){return function(c,o,l){return this.request(vt(l||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:c,data:o}))}}mt.prototype[t]=i(),mt.prototype[t+"Form"]=i(!0)});let YS=class nv{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(c){i=c});const n=this;this.promise.then(r=>{if(!n._listeners)return;let c=n._listeners.length;for(;c-- >0;)n._listeners[c](r);n._listeners=null}),this.promise.then=r=>{let c;const o=new Promise(l=>{n.subscribe(l),c=l}).then(r);return o.cancel=function(){n.unsubscribe(c)},o},t(function(c,o,l){n.reason||(n.reason=new rt(c,o,l),i(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=n=>{t.abort(n)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new nv(function(r){t=r}),cancel:t}}};function JS(e){return function(i){return e.apply(null,i)}}function XS(e){return L.isObject(e)&&e.isAxiosError===!0}const ec={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ec).forEach(([e,t])=>{ec[t]=e});function iv(e){const t=new mt(e),i=bh(mt.prototype.request,t);return L.extend(i,mt.prototype,t,{allOwnKeys:!0}),L.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return iv(vt(e,r))},i}const pe=iv(xn);pe.Axios=mt;pe.CanceledError=rt;pe.CancelToken=YS;pe.isCancel=Hh;pe.VERSION=Zi;pe.toFormData=Sa;pe.AxiosError=J;pe.Cancel=pe.CanceledError;pe.all=function(t){return Promise.all(t)};pe.spread=JS;pe.isAxiosError=XS;pe.mergeConfig=vt;pe.AxiosHeaders=$e;pe.formToJSON=e=>Gh(L.isHTMLForm(e)?new FormData(e):e);pe.getAdapter=tv.getAdapter;pe.HttpStatusCode=ec;pe.default=pe;const{Axios:O_,AxiosError:N_,CanceledError:j_,isCancel:C_,CancelToken:I_,VERSION:q_,all:L_,Cancel:M_,isAxiosError:D_,spread:F_,toFormData:U_,AxiosHeaders:z_,HttpStatusCode:B_,formToJSON:V_,getAdapter:K_,mergeConfig:G_}=pe;function QS(){return`${Wo()} ${Yo()}`}function ZS(e,t){X.ipcMain.handle("authentication:github:login",async(i,{baseUrl:n,deviceCode:r,interval:c,expiresIn:o})=>{const l=new URL(`${n}/device-verify`);l.searchParams.set("device_code",r);const d=parseInt(c)*1e3+500;let p=parseInt(o)*1e3;const a=setInterval(async()=>{const u=await(await fetch(l)).json();u.error?p<=0&&clearInterval(a):(lw(u.access_token),cw(u.token_type),clearInterval(a),t(e)),p-=d},d)}),X.ipcMain.handle("authentication:github:isLoggedIn",()=>{const i=Wo(),n=Yo();return i&&n}),X.ipcMain.handle("authentication:github:userDetails",async()=>{const i="https://api.github.com/user",n={headers:{Authorization:QS()}},{data:{login:r,html_url:c,name:o,avatar_url:l}}=await pe.get(i,n);return{profile:c,username:r,name:o,avatar:l}}),X.ipcMain.handle("authentication:github:authorizationValue",()=>({tokenType:Wo(),accessToken:Yo()})),X.ipcMain.handle("authentication:github:logout",()=>{pw(),uw()})}const Nc="tokenType",jc="accessToken",Cc="refreshToken",Ic="expiryDate",qc="userId",e$={tokenType:{type:"string"},accessToken:{type:"string"},refreshToken:{type:"string"},expiryDate:{type:"number"},userId:{type:"string"}},Te=new ga({name:"authentication-nextcloud-main",schema:e$});function tc(e,t){Te.set(`${Nc}-${t}`,e)}function Hi(e,t){Te.set(`${jc}-${t}`,e)}function av(e,t){Te.set(`${Cc}-${t}`,e)}function rv(e,t){Te.set(`${Ic}-${t}`,e)}function nc(e,t){Te.set(`${qc}-${t}`,e)}function df(e){return Te.get(`${Nc}-${e}`)}function ff(e){return Te.get(`${jc}-${e}`)}function t$(e){return Te.get(`${Cc}-${e}`)}function n$(e){return Te.get(`${Ic}-${e}`)}function i$(e){return Te.get(`${qc}-${e}`)}function a$(e){Te.delete(`${Nc}-${e}`)}function r$(e){Te.delete(`${jc}-${e}`)}function s$(e){Te.delete(`${Cc}-${e}`)}function o$(e){Te.delete(`${Ic}-${e}`)}function c$(e){Te.delete(`${qc}-${e}`)}const Lc="http://callback/";async function l$(e,t,i){const n=new URL(`${i}/token`);n.searchParams.set("base_url",t),n.searchParams.set("code",e),n.searchParams.set("redirect_uri",Lc);const r=await pe.get(n.toString());tc(r.data.token_type,"oauth2"),Hi(r.data.access_token,"oauth2"),av(r.data.refresh_token,"oauth2"),rv(Date.now()+(r.data.expires_in-10)*1e3,"oauth2"),nc(r.data.user_id,"oauth2")}function u$(e,t,i,n){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Lc}*`]},async({url:r},c)=>{if(r.startsWith(n))c({cancel:!1});else{const o=new URL(r);await l$(o.searchParams.get("code"),i,n),na.show(),t(na),e?.close()}})}async function p$(e){const t=new X.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let mf,na;function d$(e,t){X.ipcMain.handle("authentication:nextcloud:loginOauth2",async(i,{baseUrl:n,authenticationBaseUrl:r})=>{const c=new URL(`${r}/authorize`);c.searchParams.set("base_url",n),c.searchParams.set("redirect_uri",Lc),na=e,mf=await p$(c.toString()),u$(mf,t,n,r),na.hide()}),X.ipcMain.handle("authentication:nextcloud:loginBasic",async(i,{username:n,password:r})=>{Hi(btoa(`${n}:${r}`),"basic"),tc("Basic","basic"),nc(n,"basic"),t(e)}),X.ipcMain.handle("authentication:nextcloud:loginFlow",async(i,{baseUrl:n})=>{const r=`${n}/index.php/login/v2`,o=await(await fetch(r,{method:"POST"})).json();X.shell.openExternal(o.login);const l=setInterval(async()=>{const d=await fetch(o.poll.endpoint,{method:"POST",body:new URLSearchParams({token:o.poll.token}),headers:{"Content-Type":"application/x-www-form-urlencoded"}});if(d.ok){const p=await d.json();Hi(btoa(`${p.loginName}:${p.appPassword}`),"login-flow"),tc("Basic","login-flow"),nc(p.loginName,"login-flow"),clearInterval(l),t(e)}},3e3)}),X.ipcMain.handle("authentication:nextcloud:isLoggedIn",async(i,{mode:n})=>{const r=df(n),c=ff(n);return r&&c}),X.ipcMain.handle("authentication:nextcloud:userDetails",async(i,{baseUrl:n,mode:r})=>{const c=i$(r);return{profile:`${n}/u/${c}`,username:c,name:c,avatar:`${n}/avatar/${c}/64`}}),X.ipcMain.handle("authentication:nextcloud:authorizationValue",async(i,{mode:n})=>({tokenType:df(n),accessToken:ff(n)})),X.ipcMain.handle("authentication:nextcloud:logout",async(i,{mode:n})=>{r$(n),a$(n),s$(n),o$(n),c$(n)}),X.ipcMain.handle("authentication:nextcloud:refreshToken",async(i,{baseUrl:n,authenticationBaseUrl:r})=>{if(Date.now()>n$("oauth2")){const c=new URL(`${r}/refresh`);c.searchParams.set("base_url",n),c.searchParams.set("refresh_token",t$("oauth2"));const{data:{access_token:o,refresh_token:l,expires_in:d}}=await pe.get(c.toString());Hi(o,"oauth2"),av(l,"oauth2"),rv(Date.now()+(d-10)*1e3,"oauth2")}})}const Mc="tokenType",Dc="accessToken",f$={tokenType:{type:"string"},accessToken:{type:"string"}},Bt=new ga({name:"authentication-xwiki-main",schema:f$});function m$(e){Bt.set(Mc,e)}function h$(e){Bt.set(Dc,e)}function ic(){return Bt.get(Mc)}function ac(){return Bt.get(Dc)}function v$(){Bt.delete(Mc)}function g$(){Bt.delete(Dc)}const Fc="http://callback/",sv="abcd";async function y$(e,t){const i=`${t}/oidc/token`,n={grant_type:"authorization_code",code:e,redirect_uri:Fc,client_id:sv};return pe.post(i,n,{url:i,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function b$(e,t,i){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Fc}*`]},async({url:n},r)=>{if(n.startsWith(i))r({cancel:!1});else{const c=new URL(n),o=await y$(c.searchParams.get("code"),i);m$(o.data.token_type),h$(o.data.access_token),ia.show(),t(ia),e?.close()}})}async function x$(e){const t=new X.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let hf,ia;function w$(){return`${ic()} ${ac()}`}function S$(e,t){X.ipcMain.handle("authentication:xwiki:login",async(i,{oidcUrl:n})=>{const r=new URL(`${n}/oidc/authorization`);r.searchParams.set("response_type","code"),r.searchParams.set("client_id",sv),r.searchParams.set("redirect_uri",Fc),ia=e,hf=await x$(r.toString()),b$(hf,t,n),ia.hide()}),X.ipcMain.handle("authentication:xwiki:isLoggedIn",()=>{const i=ic(),n=ac();return i&&n}),X.ipcMain.handle("authentication:xwiki:userDetails",async(i,{baseURL:n})=>{const r=`${n}/oidc/userinfo`,c={headers:{Authorization:w$()}},{data:{profile:o,name:l,picture:d,preferred_username:p}}=await pe.get(r,c);return{profile:o,username:p,name:l,avatar:d}}),X.ipcMain.handle("authentication:xwiki:authorizationValue",()=>({tokenType:ic(),accessToken:ac()})),X.ipcMain.handle("authentication:xwiki:logout",()=>{g$(),v$()})}function Uc(e,t,i){return Reflect.getOwnMetadata(t,e,i)}function $$(e,t,i,n){Reflect.defineMetadata(t,i,e,n)}function un(e,t,i,n,r){const c=n(Uc(e,t,r)??i());Reflect.defineMetadata(t,c,e,r)}var vf,gf,yf;(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(vf||(vf={}));(function(e){e.id="id",e.moduleId="moduleId",e.serviceId="serviceId"})(gf||(gf={}));(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(yf||(yf={}));const Wi="@inversifyjs/core/classMetadataReflectKey";function Yi(){return{constructorArguments:[],lifecycle:{postConstructMethodName:void 0,preDestroyMethodName:void 0},properties:new Map,scope:void 0}}const _$="@inversifyjs/core/pendingClassMetadataCountReflectKey",Xs=Symbol.for("@inversifyjs/core/InversifyCoreError");class Ke extends Error{[Xs];kind;constructor(t,i,n){super(i,n),this[Xs]=!0,this.kind=t}static is(t){return typeof t=="object"&&t!==null&&t[Xs]===!0}static isErrorOfKind(t,i){return Ke.is(t)&&t.kind===i}}var Ge,aa,gt;function E$(){return 0}function k$(e){return t=>{t!==void 0&&t.kind===aa.unknown&&un(e,_$,E$,i=>i-1)}}function R$(e,t){return(...i)=>n=>{if(n===void 0)return e(...i);if(n.kind===gt.unmanaged)throw new Ke(Ge.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found");return t(n,...i)}}function A$(e){if(e.kind!==aa.unknown&&e.isFromTypescriptParamType!==!0)throw new Ke(Ge.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found")}(function(e){e[e.injectionDecoratorConflict=0]="injectionDecoratorConflict",e[e.missingInjectionDecorator=1]="missingInjectionDecorator",e[e.planning=2]="planning",e[e.resolution=3]="resolution",e[e.unknown=4]="unknown"})(Ge||(Ge={})),(function(e){e[e.unknown=32]="unknown"})(aa||(aa={})),(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection",e[e.unmanaged=2]="unmanaged"})(gt||(gt={}));const P$=R$(function(e,t,i){return e===gt.multipleInjection?{chained:i?.chained??!1,kind:e,name:void 0,optional:!1,tags:new Map,value:t}:{kind:e,name:void 0,optional:!1,tags:new Map,value:t}},function(e,t,i,n){return A$(e),t===gt.multipleInjection?{...e,chained:n?.chained??!1,kind:t,value:i}:{...e,kind:t,value:i}});function bf(e,t){return i=>{const n=i.properties.get(t);return i.properties.set(t,e(n)),i}}var nt;function T$(e,t,i,n){if(Ke.isErrorOfKind(n,Ge.injectionDecoratorConflict)){const r=(function(c,o,l){if(l===void 0){if(o===void 0)throw new Ke(Ge.unknown,"Unexpected undefined property and index values");return{kind:nt.property,property:o,targetClass:c.constructor}}return typeof l=="number"?{index:l,kind:nt.parameter,targetClass:c}:{kind:nt.method,method:o,targetClass:c}})(e,t,i);throw new Ke(Ge.injectionDecoratorConflict,`Unexpected injection error.
24
+ `+g),u.push(v+"m+"+e.exports.humanize(this.diff)+"\x1B[0m")}else u[0]=s()+m+" "+u[0]}function s(){return t.inspectOpts.hideDate?"":new Date().toISOString()+" "}function l(...u){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...u)+`
25
+ `)}function d(u){u?process.env.DEBUG=u:delete process.env.DEBUG}function p(){return process.env.DEBUG}function a(u){u.inspectOpts={};const m=Object.keys(t.inspectOpts);for(let f=0;f<m.length;f++)u.inspectOpts[m[f]]=t.inspectOpts[m[f]]}e.exports=ev()(t);const{formatters:o}=e.exports;o.o=function(u){return this.inspectOpts.colors=this.useColors,n.inspect(u,this.inspectOpts).split(`
26
+ `).map(m=>m.trim()).join(" ")},o.O=function(u){return this.inspectOpts.colors=this.useColors,n.inspect(u,this.inspectOpts)}})(Oi,Oi.exports)),Oi.exports}var Jd;function pS(){return Jd||(Jd=1,typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Pi.exports=oS():Pi.exports=uS()),Pi.exports}var eo,Xd;function dS(){if(Xd)return eo;Xd=1;var e;return eo=function(){if(!e){try{e=pS()("follow-redirects")}catch{}typeof e!="function"&&(e=function(){})}e.apply(null,arguments)},eo}var Qd;function fS(){if(Qd)return Ai.exports;Qd=1;var e=la,t=e.URL,i=fc,n=mc,r=Ce.Writable,c=Gv,s=dS();(function(){var A=typeof process<"u",P=typeof window<"u"&&typeof document<"u",z=G(Error.captureStackTrace);!A&&(P||!z)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var l=!1;try{c(new t(""))}catch(T){l=T.code==="ERR_INVALID_URL"}var d=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],p=["abort","aborted","connect","error","socket","timeout"],a=Object.create(null);p.forEach(function(T){a[T]=function(A,P,z){this._redirectable.emit(T,A,P,z)}});var o=O("ERR_INVALID_URL","Invalid URL",TypeError),u=O("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),m=O("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",u),f=O("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=O("ERR_STREAM_WRITE_AFTER_END","write after end"),v=r.prototype.destroy||b;function g(T,A){r.call(this),this._sanitizeOptions(T),this._options=T,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],A&&this.on("response",A);var P=this;this._onNativeResponse=function(z){try{P._processResponse(z)}catch(q){P.emit("error",q instanceof u?q:new u({cause:q}))}},this._performRequest()}g.prototype=Object.create(r.prototype),g.prototype.abort=function(){U(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},g.prototype.destroy=function(T){return U(this._currentRequest,T),v.call(this,T),this},g.prototype.write=function(T,A,P){if(this._ending)throw new h;if(!B(T)&&!C(T))throw new TypeError("data should be a string, Buffer or Uint8Array");if(G(A)&&(P=A,A=null),T.length===0){P&&P();return}this._requestBodyLength+T.length<=this._options.maxBodyLength?(this._requestBodyLength+=T.length,this._requestBodyBuffers.push({data:T,encoding:A}),this._currentRequest.write(T,A,P)):(this.emit("error",new f),this.abort())},g.prototype.end=function(T,A,P){if(G(T)?(P=T,T=A=null):G(A)&&(P=A,A=null),!T)this._ended=this._ending=!0,this._currentRequest.end(null,null,P);else{var z=this,q=this._currentRequest;this.write(T,A,function(){z._ended=!0,q.end(null,null,P)}),this._ending=!0}},g.prototype.setHeader=function(T,A){this._options.headers[T]=A,this._currentRequest.setHeader(T,A)},g.prototype.removeHeader=function(T){delete this._options.headers[T],this._currentRequest.removeHeader(T)},g.prototype.setTimeout=function(T,A){var P=this;function z(I){I.setTimeout(T),I.removeListener("timeout",I.destroy),I.addListener("timeout",I.destroy)}function q(I){P._timeout&&clearTimeout(P._timeout),P._timeout=setTimeout(function(){P.emit("timeout"),R()},T),z(I)}function R(){P._timeout&&(clearTimeout(P._timeout),P._timeout=null),P.removeListener("abort",R),P.removeListener("error",R),P.removeListener("response",R),P.removeListener("close",R),A&&P.removeListener("timeout",A),P.socket||P._currentRequest.removeListener("socket",q)}return A&&this.on("timeout",A),this.socket?q(this.socket):this._currentRequest.once("socket",q),this.on("socket",z),this.on("abort",R),this.on("error",R),this.on("response",R),this.on("close",R),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(T){g.prototype[T]=function(A,P){return this._currentRequest[T](A,P)}}),["aborted","connection","socket"].forEach(function(T){Object.defineProperty(g.prototype,T,{get:function(){return this._currentRequest[T]}})}),g.prototype._sanitizeOptions=function(T){if(T.headers||(T.headers={}),T.host&&(T.hostname||(T.hostname=T.host),delete T.host),!T.pathname&&T.path){var A=T.path.indexOf("?");A<0?T.pathname=T.path:(T.pathname=T.path.substring(0,A),T.search=T.path.substring(A))}},g.prototype._performRequest=function(){var T=this._options.protocol,A=this._options.nativeProtocols[T];if(!A)throw new TypeError("Unsupported protocol "+T);if(this._options.agents){var P=T.slice(0,-1);this._options.agent=this._options.agents[P]}var z=this._currentRequest=A.request(this._options,this._onNativeResponse);z._redirectable=this;for(var q of p)z.on(q,a[q]);if(this._currentUrl=/^\//.test(this._options.path)?e.format(this._options):this._options.path,this._isRedirect){var R=0,I=this,N=this._requestBodyBuffers;(function $(k){if(z===I._currentRequest)if(k)I.emit("error",k);else if(R<N.length){var F=N[R++];z.finished||z.write(F.data,F.encoding,$)}else I._ended&&z.end()})()}},g.prototype._processResponse=function(T){var A=T.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:T.headers,statusCode:A});var P=T.headers.location;if(!P||this._options.followRedirects===!1||A<300||A>=400){T.responseUrl=this._currentUrl,T.redirects=this._redirects,this.emit("response",T),this._requestBodyBuffers=[];return}if(U(this._currentRequest),T.destroy(),++this._redirectCount>this._options.maxRedirects)throw new m;var z,q=this._options.beforeRedirect;q&&(z=Object.assign({Host:T.req.getHeader("host")},this._options.headers));var R=this._options.method;((A===301||A===302)&&this._options.method==="POST"||A===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var I=E(/^host$/i,this._options.headers),N=x(this._currentUrl),$=I||N.host,k=/^\w+:/.test(P)?this._currentUrl:e.format(Object.assign(N,{host:$})),F=w(P,k);if(s("redirecting to",F.href),this._isRedirect=!0,_(F,this._options),(F.protocol!==N.protocol&&F.protocol!=="https:"||F.host!==$&&!M(F.host,$))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),G(q)){var Y={headers:T.headers,statusCode:A},W={url:k,method:R,headers:z};q(this._options,Y,W),this._sanitizeOptions(this._options)}this._performRequest()};function y(T){var A={maxRedirects:21,maxBodyLength:10485760},P={};return Object.keys(T).forEach(function(z){var q=z+":",R=P[q]=T[z],I=A[z]=Object.create(R);function N(k,F,Y){return V(k)?k=_(k):B(k)?k=_(x(k)):(Y=F,F=S(k),k={protocol:q}),G(F)&&(Y=F,F=null),F=Object.assign({maxRedirects:A.maxRedirects,maxBodyLength:A.maxBodyLength},k,F),F.nativeProtocols=P,!B(F.host)&&!B(F.hostname)&&(F.hostname="::1"),c.equal(F.protocol,q,"protocol mismatch"),s("options",F),new g(F,Y)}function $(k,F,Y){var W=I.request(k,F,Y);return W.end(),W}Object.defineProperties(I,{request:{value:N,configurable:!0,enumerable:!0,writable:!0},get:{value:$,configurable:!0,enumerable:!0,writable:!0}})}),A}function b(){}function x(T){var A;if(l)A=new t(T);else if(A=S(e.parse(T)),!B(A.protocol))throw new o({input:T});return A}function w(T,A){return l?new t(T,A):x(e.resolve(A,T))}function S(T){if(/^\[/.test(T.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(T.hostname))throw new o({input:T.href||T});if(/^\[/.test(T.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(T.host))throw new o({input:T.href||T});return T}function _(T,A){var P=A||{};for(var z of d)P[z]=T[z];return P.hostname.startsWith("[")&&(P.hostname=P.hostname.slice(1,-1)),P.port!==""&&(P.port=Number(P.port)),P.path=P.search?P.pathname+P.search:P.pathname,P}function E(T,A){var P;for(var z in A)T.test(z)&&(P=A[z],delete A[z]);return P===null||typeof P>"u"?void 0:String(P).trim()}function O(T,A,P){function z(q){G(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,q||{}),this.code=T,this.message=this.cause?A+": "+this.cause.message:A}return z.prototype=new(P||Error),Object.defineProperties(z.prototype,{constructor:{value:z,enumerable:!1},name:{value:"Error ["+T+"]",enumerable:!1}}),z}function U(T,A){for(var P of p)T.removeListener(P,a[P]);T.on("error",b),T.destroy(A)}function M(T,A){c(B(T)&&B(A));var P=T.length-A.length-1;return P>0&&T[P]==="."&&T.endsWith(A)}function B(T){return typeof T=="string"||T instanceof String}function G(T){return typeof T=="function"}function C(T){return typeof T=="object"&&"length"in T}function V(T){return t&&T instanceof t}return Ai.exports=y({http:i,https:n}),Ai.exports.wrap=y,Ai.exports}var mS=fS();const hS=mn(mS),na="1.12.2";function tv(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const vS=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function gS(e,t,i){const n=i&&i.Blob||me.classes.Blob,r=tv(e);if(t===void 0&&n&&(t=!0),r==="data"){e=r.length?e.slice(r.length+1):e;const c=vS.exec(e);if(!c)throw new J("Invalid URL",J.ERR_INVALID_URL);const s=c[1],l=c[2],d=c[3],p=Buffer.from(decodeURIComponent(d),l?"base64":"utf8");if(t){if(!n)throw new J("Blob is not supported",J.ERR_NOT_SUPPORT);return new n([p],{type:s})}return p}throw new J("Unsupported protocol "+r,J.ERR_NOT_SUPPORT)}const to=Symbol("internals");class Zd extends Ce.Transform{constructor(t){t=L.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(n,r)=>!L.isUndefined(r[n])),super({readableHighWaterMark:t.chunkSize});const i=this[to]={timeWindow:t.timeWindow,chunkSize:t.chunkSize,maxRate:t.maxRate,minChunkSize:t.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",n=>{n==="progress"&&(i.isCaptured||(i.isCaptured=!0))})}_read(t){const i=this[to];return i.onReadCallback&&i.onReadCallback(),super._read(t)}_transform(t,i,n){const r=this[to],c=r.maxRate,s=this.readableHighWaterMark,l=r.timeWindow,d=1e3/l,p=c/d,a=r.minChunkSize!==!1?Math.max(r.minChunkSize,p*.01):0,o=(m,f)=>{const h=Buffer.byteLength(m);r.bytesSeen+=h,r.bytes+=h,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(m)?process.nextTick(f):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(f)}},u=(m,f)=>{const h=Buffer.byteLength(m);let v=null,g=s,y,b=0;if(c){const x=Date.now();(!r.ts||(b=x-r.ts)>=l)&&(r.ts=x,y=p-r.bytes,r.bytes=y<0?-y:0,b=0),y=p-r.bytes}if(c){if(y<=0)return setTimeout(()=>{f(null,m)},l-b);y<g&&(g=y)}g&&h>g&&h-g>a&&(v=m.subarray(g),m=m.subarray(0,g)),o(m,v?()=>{process.nextTick(f,null,v)}:f)};u(t,function m(f,h){if(f)return n(f);h?u(h,m):n(null)})}}const{asyncIterator:ef}=Symbol,nv=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[ef]?yield*e[ef]():yield e},yS=me.ALPHABET.ALPHA_DIGIT+"-_",dn=typeof TextEncoder=="function"?new TextEncoder:new zt.TextEncoder,vt=`\r
27
+ `,bS=dn.encode(vt),xS=2;class wS{constructor(t,i){const{escapeName:n}=this.constructor,r=L.isString(i);let c=`Content-Disposition: form-data; name="${n(t)}"${!r&&i.name?`; filename="${n(i.name)}"`:""}${vt}`;r?i=dn.encode(String(i).replace(/\r?\n|\r\n?/g,vt)):c+=`Content-Type: ${i.type||"application/octet-stream"}${vt}`,this.headers=dn.encode(c+vt),this.contentLength=r?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+xS,this.name=t,this.value=i}async*encode(){yield this.headers;const{value:t}=this;L.isTypedArray(t)?yield t:yield*nv(t),yield bS}static escapeName(t){return String(t).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}}const SS=(e,t,i)=>{const{tag:n="form-data-boundary",size:r=25,boundary:c=n+"-"+me.generateString(r,yS)}=i||{};if(!L.isFormData(e))throw TypeError("FormData instance required");if(c.length<1||c.length>70)throw Error("boundary must be 10-70 characters long");const s=dn.encode("--"+c+vt),l=dn.encode("--"+c+"--"+vt);let d=l.byteLength;const p=Array.from(e.entries()).map(([o,u])=>{const m=new wS(o,u);return d+=m.size,m});d+=s.byteLength*p.length,d=L.toFiniteNumber(d);const a={"Content-Type":`multipart/form-data; boundary=${c}`};return Number.isFinite(d)&&(a["Content-Length"]=d),t&&t(a),Ce.Readable.from((async function*(){for(const o of p)yield s,yield*o.encode();yield l})())};class _S extends Ce.Transform{__transform(t,i,n){this.push(t),n()}_transform(t,i,n){if(t.length!==0&&(this._transform=this.__transform,t[0]!==120)){const r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,i)}this.__transform(t,i,n)}}const $S=(e,t)=>L.isAsyncFn(e)?function(...i){const n=i.pop();e.apply(this,i).then(r=>{try{t?n(null,...t(r)):n(null,r)}catch(c){n(c)}},n)}:e;function ES(e,t){e=e||10;const i=new Array(e),n=new Array(e);let r=0,c=0,s;return t=t!==void 0?t:1e3,function(d){const p=Date.now(),a=n[c];s||(s=p),i[r]=d,n[r]=p;let o=c,u=0;for(;o!==r;)u+=i[o++],o=o%e;if(r=(r+1)%e,r===c&&(c=(c+1)%e),p-s<t)return;const m=a&&p-a;return m?Math.round(u*1e3/m):void 0}}function kS(e,t){let i=0,n=1e3/t,r,c;const s=(p,a=Date.now())=>{i=a,r=null,c&&(clearTimeout(c),c=null),e(...p)};return[(...p)=>{const a=Date.now(),o=a-i;o>=n?s(p,a):(r=p,c||(c=setTimeout(()=>{c=null,s(r)},n-o)))},()=>r&&s(r)]}const Ft=(e,t,i=3)=>{let n=0;const r=ES(50,250);return kS(c=>{const s=c.loaded,l=c.lengthComputable?c.total:void 0,d=s-n,p=r(d),a=s<=l;n=s;const o={loaded:s,total:l,progress:l?s/l:void 0,bytes:d,rate:p||void 0,estimated:p&&l&&a?(l-s)/p:void 0,event:c,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(o)},i)},ia=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},aa=e=>(...t)=>L.asap(()=>e(...t));function RS(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const i=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(i)){let c=n.length;const s=n.length;for(let u=0;u<s;u++)if(n.charCodeAt(u)===37&&u+2<s){const m=n.charCodeAt(u+1),f=n.charCodeAt(u+2);(m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102)&&(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102)&&(c-=2,u+=2)}let l=0,d=s-1;const p=u=>u>=2&&n.charCodeAt(u-2)===37&&n.charCodeAt(u-1)===51&&(n.charCodeAt(u)===68||n.charCodeAt(u)===100);d>=0&&(n.charCodeAt(d)===61?(l++,d--):p(d)&&(l++,d-=3)),l===1&&d>=0&&(n.charCodeAt(d)===61||p(d))&&l++;const o=Math.floor(c/4)*3-(l||0);return o>0?o:0}return Buffer.byteLength(n,"utf8")}const tf={flush:st.constants.Z_SYNC_FLUSH,finishFlush:st.constants.Z_SYNC_FLUSH},AS={flush:st.constants.BROTLI_OPERATION_FLUSH,finishFlush:st.constants.BROTLI_OPERATION_FLUSH},nf=L.isFunction(st.createBrotliDecompress),{http:PS,https:TS}=hS,OS=/https:?/,af=me.protocols.map(e=>e+":"),rf=(e,[t,i])=>(e.on("end",i).on("error",i),t);function NS(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function iv(e,t,i){let n=t;if(!n&&n!==!1){const r=rS.getProxyForUrl(i);r&&(n=new URL(r))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){(n.auth.username||n.auth.password)&&(n.auth=(n.auth.username||"")+":"+(n.auth.password||""));const c=Buffer.from(n.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+c}e.headers.host=e.hostname+(e.port?":"+e.port:"");const r=n.hostname||n.host;e.hostname=r,e.host=r,e.port=n.port,e.path=i,n.protocol&&(e.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}e.beforeRedirects.proxy=function(c){iv(c,t,c.href)}}const jS=typeof process<"u"&&L.kindOf(process)==="process",CS=e=>new Promise((t,i)=>{let n,r;const c=(d,p)=>{r||(r=!0,n&&n(d,p))},s=d=>{c(d),t(d)},l=d=>{c(d,!0),i(d)};e(s,l,d=>n=d).catch(l)}),IS=({address:e,family:t})=>{if(!L.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},sf=(e,t)=>IS(L.isObject(e)?e:{address:e,family:t}),qS=jS&&function(t){return CS(async function(n,r,c){let{data:s,lookup:l,family:d}=t;const{responseType:p,responseEncoding:a}=t,o=t.method.toUpperCase();let u,m=!1,f;if(l){const A=$S(l,P=>L.isArray(P)?P:[P]);l=(P,z,q)=>{A(P,z,(R,I,N)=>{if(R)return q(R);const $=L.isArray(I)?I.map(k=>sf(k)):[sf(I,N)];z.all?q(R,$):q(R,$[0].address,$[0].family)})}}const h=new Yv.EventEmitter,v=()=>{t.cancelToken&&t.cancelToken.unsubscribe(g),t.signal&&t.signal.removeEventListener("abort",g),h.removeAllListeners()};c((A,P)=>{u=!0,P&&(m=!0,v())});function g(A){h.emit("abort",!A||A.type?new ot(null,t,f):A)}h.once("abort",r),(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(g),t.signal&&(t.signal.aborted?g():t.signal.addEventListener("abort",g)));const y=qc(t.baseURL,t.url,t.allowAbsoluteUrls),b=new URL(y,me.hasBrowserEnv?me.origin:void 0),x=b.protocol||af[0];if(x==="data:"){if(t.maxContentLength>-1){const P=String(t.url||y||"");if(RS(P)>t.maxContentLength)return r(new J("maxContentLength size of "+t.maxContentLength+" exceeded",J.ERR_BAD_RESPONSE,t))}let A;if(o!=="GET")return Dt(n,r,{status:405,statusText:"method not allowed",headers:{},config:t});try{A=gS(t.url,p==="blob",{Blob:t.env&&t.env.Blob})}catch(P){throw J.from(P,J.ERR_BAD_REQUEST,t)}return p==="text"?(A=A.toString(a),(!a||a==="utf8")&&(A=L.stripBOM(A))):p==="stream"&&(A=Ce.Readable.from(A)),Dt(n,r,{data:A,status:200,statusText:"OK",headers:new _e,config:t})}if(af.indexOf(x)===-1)return r(new J("Unsupported protocol "+x,J.ERR_BAD_REQUEST,t));const w=_e.from(t.headers).normalize();w.set("User-Agent","axios/"+na,!1);const{onUploadProgress:S,onDownloadProgress:_}=t,E=t.maxRate;let O,U;if(L.isSpecCompliantForm(s)){const A=w.getContentType(/boundary=([-_\w\d]{10,70})/i);s=SS(s,P=>{w.set(P)},{tag:`axios-${na}-boundary`,boundary:A&&A[1]||void 0})}else if(L.isFormData(s)&&L.isFunction(s.getHeaders)){if(w.set(s.getHeaders()),!w.hasContentLength())try{const A=await zt.promisify(s.getLength).call(s);Number.isFinite(A)&&A>=0&&w.setContentLength(A)}catch{}}else if(L.isBlob(s)||L.isFile(s))s.size&&w.setContentType(s.type||"application/octet-stream"),w.setContentLength(s.size||0),s=Ce.Readable.from(nv(s));else if(s&&!L.isStream(s)){if(!Buffer.isBuffer(s))if(L.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else if(L.isString(s))s=Buffer.from(s,"utf-8");else return r(new J("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",J.ERR_BAD_REQUEST,t));if(w.setContentLength(s.length,!1),t.maxBodyLength>-1&&s.length>t.maxBodyLength)return r(new J("Request body larger than maxBodyLength limit",J.ERR_BAD_REQUEST,t))}const M=L.toFiniteNumber(w.getContentLength());L.isArray(E)?(O=E[0],U=E[1]):O=U=E,s&&(S||O)&&(L.isStream(s)||(s=Ce.Readable.from(s,{objectMode:!1})),s=Ce.pipeline([s,new Zd({maxRate:L.toFiniteNumber(O)})],L.noop),S&&s.on("progress",rf(s,ia(M,Ft(aa(S),!1,3)))));let B;if(t.auth){const A=t.auth.username||"",P=t.auth.password||"";B=A+":"+P}if(!B&&b.username){const A=b.username,P=b.password;B=A+":"+P}B&&w.delete("authorization");let G;try{G=jc(b.pathname+b.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(A){const P=new Error(A.message);return P.config=t,P.url=t.url,P.exists=!0,r(P)}w.set("Accept-Encoding","gzip, compress, deflate"+(nf?", br":""),!1);const C={path:G,method:o,headers:w.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:B,protocol:x,family:d,beforeRedirect:NS,beforeRedirects:{}};!L.isUndefined(l)&&(C.lookup=l),t.socketPath?C.socketPath=t.socketPath:(C.hostname=b.hostname.startsWith("[")?b.hostname.slice(1,-1):b.hostname,C.port=b.port,iv(C,t.proxy,x+"//"+b.hostname+(b.port?":"+b.port:"")+C.path));let V;const T=OS.test(C.protocol);if(C.agent=T?t.httpsAgent:t.httpAgent,t.transport?V=t.transport:t.maxRedirects===0?V=T?mc:fc:(t.maxRedirects&&(C.maxRedirects=t.maxRedirects),t.beforeRedirect&&(C.beforeRedirects.config=t.beforeRedirect),V=T?TS:PS),t.maxBodyLength>-1?C.maxBodyLength=t.maxBodyLength:C.maxBodyLength=1/0,t.insecureHTTPParser&&(C.insecureHTTPParser=t.insecureHTTPParser),f=V.request(C,function(P){if(f.destroyed)return;const z=[P],q=+P.headers["content-length"];if(_||U){const k=new Zd({maxRate:L.toFiniteNumber(U)});_&&k.on("progress",rf(k,ia(q,Ft(aa(_),!0,3)))),z.push(k)}let R=P;const I=P.req||f;if(t.decompress!==!1&&P.headers["content-encoding"])switch((o==="HEAD"||P.statusCode===204)&&delete P.headers["content-encoding"],(P.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":z.push(st.createUnzip(tf)),delete P.headers["content-encoding"];break;case"deflate":z.push(new _S),z.push(st.createUnzip(tf)),delete P.headers["content-encoding"];break;case"br":nf&&(z.push(st.createBrotliDecompress(AS)),delete P.headers["content-encoding"])}R=z.length>1?Ce.pipeline(z,L.noop):z[0];const N=Ce.finished(R,()=>{N(),v()}),$={status:P.statusCode,statusText:P.statusMessage,headers:new _e(P.headers),config:t,request:I};if(p==="stream")$.data=R,Dt(n,r,$);else{const k=[];let F=0;R.on("data",function(W){k.push(W),F+=W.length,t.maxContentLength>-1&&F>t.maxContentLength&&(m=!0,R.destroy(),r(new J("maxContentLength size of "+t.maxContentLength+" exceeded",J.ERR_BAD_RESPONSE,t,I)))}),R.on("aborted",function(){if(m)return;const W=new J("stream has been aborted",J.ERR_BAD_RESPONSE,t,I);R.destroy(W),r(W)}),R.on("error",function(W){f.destroyed||r(J.from(W,null,t,I))}),R.on("end",function(){try{let W=k.length===1?k[0]:Buffer.concat(k);p!=="arraybuffer"&&(W=W.toString(a),(!a||a==="utf8")&&(W=L.stripBOM(W))),$.data=W}catch(W){return r(J.from(W,null,t,$.request,$))}Dt(n,r,$)})}h.once("abort",k=>{R.destroyed||(R.emit("error",k),R.destroy())})}),h.once("abort",A=>{r(A),f.destroy(A)}),f.on("error",function(P){r(J.from(P,null,t,f))}),f.on("socket",function(P){P.setKeepAlive(!0,1e3*60)}),t.timeout){const A=parseInt(t.timeout,10);if(Number.isNaN(A)){r(new J("error trying to parse `config.timeout` to int",J.ERR_BAD_OPTION_VALUE,t,f));return}f.setTimeout(A,function(){if(u)return;let z=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const q=t.transitional||Cc;t.timeoutErrorMessage&&(z=t.timeoutErrorMessage),r(new J(z,q.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,f)),g()})}if(L.isStream(s)){let A=!1,P=!1;s.on("end",()=>{A=!0}),s.once("error",z=>{P=!0,f.destroy(z)}),s.on("close",()=>{!A&&!P&&g(new ot("Request stream has been aborted",t,f))}),s.pipe(f)}else f.end(s)})},LS=me.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,me.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(me.origin),me.navigator&&/(msie|trident)/i.test(me.navigator.userAgent)):()=>!0,DS=me.hasStandardBrowserEnv?{write(e,t,i,n,r,c){const s=[e+"="+encodeURIComponent(t)];L.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),L.isString(n)&&s.push("path="+n),L.isString(r)&&s.push("domain="+r),c===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}},of=e=>e instanceof _e?{...e}:e;function bt(e,t){t=t||{};const i={};function n(p,a,o,u){return L.isPlainObject(p)&&L.isPlainObject(a)?L.merge.call({caseless:u},p,a):L.isPlainObject(a)?L.merge({},a):L.isArray(a)?a.slice():a}function r(p,a,o,u){if(L.isUndefined(a)){if(!L.isUndefined(p))return n(void 0,p,o,u)}else return n(p,a,o,u)}function c(p,a){if(!L.isUndefined(a))return n(void 0,a)}function s(p,a){if(L.isUndefined(a)){if(!L.isUndefined(p))return n(void 0,p)}else return n(void 0,a)}function l(p,a,o){if(o in t)return n(p,a);if(o in e)return n(void 0,p)}const d={url:c,method:c,data:c,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(p,a,o)=>r(of(p),of(a),o,!0)};return L.forEach(Object.keys({...e,...t}),function(a){const o=d[a]||r,u=o(e[a],t[a],a);L.isUndefined(u)&&o!==l||(i[a]=u)}),i}const av=e=>{const t=bt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:c,headers:s,auth:l}=t;if(t.headers=s=_e.from(s),t.url=jc(qc(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),L.isFormData(i)){if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(L.isFunction(i.getHeaders)){const d=i.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([a,o])=>{p.includes(a.toLowerCase())&&s.set(a,o)})}}if(me.hasStandardBrowserEnv&&(n&&L.isFunction(n)&&(n=n(t)),n||n!==!1&&LS(t.url))){const d=r&&c&&DS.read(c);d&&s.set(r,d)}return t},MS=typeof XMLHttpRequest<"u",FS=MS&&function(e){return new Promise(function(i,n){const r=av(e);let c=r.data;const s=_e.from(r.headers).normalize();let{responseType:l,onUploadProgress:d,onDownloadProgress:p}=r,a,o,u,m,f;function h(){m&&m(),f&&f(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function g(){if(!v)return;const b=_e.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:b,config:e,request:v};Dt(function(_){i(_),h()},function(_){n(_),h()},w),v=null}"onloadend"in v?v.onloadend=g:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(g)},v.onabort=function(){v&&(n(new J("Request aborted",J.ECONNABORTED,e,v)),v=null)},v.onerror=function(x){const w=x&&x.message?x.message:"Network Error",S=new J(w,J.ERR_NETWORK,e,v);S.event=x||null,n(S),v=null},v.ontimeout=function(){let x=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||Cc;r.timeoutErrorMessage&&(x=r.timeoutErrorMessage),n(new J(x,w.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,v)),v=null},c===void 0&&s.setContentType(null),"setRequestHeader"in v&&L.forEach(s.toJSON(),function(x,w){v.setRequestHeader(w,x)}),L.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),p&&([u,f]=Ft(p,!0),v.addEventListener("progress",u)),d&&v.upload&&([o,m]=Ft(d),v.upload.addEventListener("progress",o),v.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=b=>{v&&(n(!b||b.type?new ot(null,e,v):b),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=tv(r.url);if(y&&me.protocols.indexOf(y)===-1){n(new J("Unsupported protocol "+y+":",J.ERR_BAD_REQUEST,e));return}v.send(c||null)})},zS=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let n=new AbortController,r;const c=function(p){if(!r){r=!0,l();const a=p instanceof Error?p:this.reason;n.abort(a instanceof J?a:new ot(a instanceof Error?a.message:a))}};let s=t&&setTimeout(()=>{s=null,c(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(c):p.removeEventListener("abort",c)}),e=null)};e.forEach(p=>p.addEventListener("abort",c));const{signal:d}=n;return d.unsubscribe=()=>L.asap(l),d}},US=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let n=0,r;for(;n<i;)r=n+t,yield e.slice(n,r),n=r},BS=async function*(e,t){for await(const i of VS(e))yield*US(i,t)},VS=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:n}=await t.read();if(i)break;yield n}}finally{await t.cancel()}},cf=(e,t,i,n)=>{const r=BS(e,t);let c=0,s,l=d=>{s||(s=!0,n&&n(d))};return new ReadableStream({async pull(d){try{const{done:p,value:a}=await r.next();if(p){l(),d.close();return}let o=a.byteLength;if(i){let u=c+=o;i(u)}d.enqueue(new Uint8Array(a))}catch(p){throw l(p),p}},cancel(d){return l(d),r.return()}},{highWaterMark:2})},lf=64*1024,{isFunction:Ni}=L,KS=(({Request:e,Response:t})=>({Request:e,Response:t}))(L.global),{ReadableStream:uf,TextEncoder:pf}=L.global,df=(e,...t)=>{try{return!!e(...t)}catch{return!1}},GS=e=>{e=L.merge.call({skipUndefined:!0},KS,e);const{fetch:t,Request:i,Response:n}=e,r=t?Ni(t):typeof fetch=="function",c=Ni(i),s=Ni(n);if(!r)return!1;const l=r&&Ni(uf),d=r&&(typeof pf=="function"?(f=>h=>f.encode(h))(new pf):async f=>new Uint8Array(await new i(f).arrayBuffer())),p=c&&l&&df(()=>{let f=!1;const h=new i(me.origin,{body:new uf,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!h}),a=s&&l&&df(()=>L.isReadableStream(new n("").body)),o={stream:a&&(f=>f.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!o[f]&&(o[f]=(h,v)=>{let g=h&&h[f];if(g)return g.call(h);throw new J(`Response type '${f}' is not supported`,J.ERR_NOT_SUPPORT,v)})});const u=async f=>{if(f==null)return 0;if(L.isBlob(f))return f.size;if(L.isSpecCompliantForm(f))return(await new i(me.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(L.isArrayBufferView(f)||L.isArrayBuffer(f))return f.byteLength;if(L.isURLSearchParams(f)&&(f=f+""),L.isString(f))return(await d(f)).byteLength},m=async(f,h)=>{const v=L.toFiniteNumber(f.getContentLength());return v??u(h)};return async f=>{let{url:h,method:v,data:g,signal:y,cancelToken:b,timeout:x,onDownloadProgress:w,onUploadProgress:S,responseType:_,headers:E,withCredentials:O="same-origin",fetchOptions:U}=av(f),M=t||fetch;_=_?(_+"").toLowerCase():"text";let B=zS([y,b&&b.toAbortSignal()],x),G=null;const C=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let V;try{if(S&&p&&v!=="get"&&v!=="head"&&(V=await m(E,g))!==0){let R=new i(h,{method:"POST",body:g,duplex:"half"}),I;if(L.isFormData(g)&&(I=R.headers.get("content-type"))&&E.setContentType(I),R.body){const[N,$]=ia(V,Ft(aa(S)));g=cf(R.body,lf,N,$)}}L.isString(O)||(O=O?"include":"omit");const T=c&&"credentials"in i.prototype,A={...U,signal:B,method:v.toUpperCase(),headers:E.normalize().toJSON(),body:g,duplex:"half",credentials:T?O:void 0};G=c&&new i(h,A);let P=await(c?M(G,U):M(h,A));const z=a&&(_==="stream"||_==="response");if(a&&(w||z&&C)){const R={};["status","statusText","headers"].forEach(k=>{R[k]=P[k]});const I=L.toFiniteNumber(P.headers.get("content-length")),[N,$]=w&&ia(I,Ft(aa(w),!0))||[];P=new n(cf(P.body,lf,N,()=>{$&&$(),C&&C()}),R)}_=_||"text";let q=await o[L.findKey(o,_)||"text"](P,f);return!z&&C&&C(),await new Promise((R,I)=>{Dt(R,I,{data:q,headers:_e.from(P.headers),status:P.status,statusText:P.statusText,config:f,request:G})})}catch(T){throw C&&C(),T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,f,G),{cause:T.cause||T}):J.from(T,T&&T.code,f,G)}}},HS=new Map,rv=e=>{let t=e?e.env:{};const{fetch:i,Request:n,Response:r}=t,c=[n,r,i];let s=c.length,l=s,d,p,a=HS;for(;l--;)d=c[l],p=a.get(d),p===void 0&&a.set(d,p=l?new Map:GS(t)),a=p;return p};rv();const rc={http:qS,xhr:FS,fetch:{get:rv}};L.forEach(rc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ff=e=>`- ${e}`,WS=e=>L.isFunction(e)||e===null||e===!1,sv={getAdapter:(e,t)=>{e=L.isArray(e)?e:[e];const{length:i}=e;let n,r;const c={};for(let s=0;s<i;s++){n=e[s];let l;if(r=n,!WS(n)&&(r=rc[(l=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${l}'`);if(r&&(L.isFunction(r)||(r=r.get(t))))break;c[l||"#"+s]=r}if(!r){const s=Object.entries(c).map(([d,p])=>`adapter ${d} `+(p===!1?"is not supported by the environment":"is not available in the build"));let l=i?s.length>1?`since :
28
+ `+s.map(ff).join(`
29
+ `):" "+ff(s[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:rc};function no(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ot(null,e)}function mf(e){return no(e),e.headers=_e.from(e.headers),e.data=Ws.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),sv.getAdapter(e.adapter||wn.adapter,e)(e).then(function(n){return no(e),n.data=Ws.call(e,e.transformResponse,n),n.headers=_e.from(n.headers),n},function(n){return Zh(n)||(no(e),n&&n.response&&(n.response.data=Ws.call(e,e.transformResponse,n.response),n.response.headers=_e.from(n.response.headers))),Promise.reject(n)})}const ka={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ka[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const hf={};ka.transitional=function(t,i,n){function r(c,s){return"[Axios v"+na+"] Transitional option '"+c+"'"+s+(n?". "+n:"")}return(c,s,l)=>{if(t===!1)throw new J(r(s," has been removed"+(i?" in "+i:"")),J.ERR_DEPRECATED);return i&&!hf[s]&&(hf[s]=!0,console.warn(r(s," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(c,s,l):!0}};ka.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function YS(e,t,i){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const c=n[r],s=t[c];if(s){const l=e[c],d=l===void 0||s(l,c,e);if(d!==!0)throw new J("option "+c+" must be "+d,J.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new J("Unknown option "+c,J.ERR_BAD_OPTION)}}const Yi={assertOptions:YS,validators:ka},Ve=Yi.validators;let gt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Fd,response:new Fd}}async request(t,i){try{return await this._request(t,i)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const c=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?c&&!String(n.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(n.stack+=`
30
+ `+c):n.stack=c}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=bt(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:c}=i;n!==void 0&&Yi.assertOptions(n,{silentJSONParsing:Ve.transitional(Ve.boolean),forcedJSONParsing:Ve.transitional(Ve.boolean),clarifyTimeoutError:Ve.transitional(Ve.boolean)},!1),r!=null&&(L.isFunction(r)?i.paramsSerializer={serialize:r}:Yi.assertOptions(r,{encode:Ve.function,serialize:Ve.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Yi.assertOptions(i,{baseUrl:Ve.spelling("baseURL"),withXsrfToken:Ve.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let s=c&&L.merge(c.common,c[i.method]);c&&L.forEach(["delete","get","head","post","put","patch","common"],f=>{delete c[f]}),i.headers=_e.concat(s,c);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(i)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const p=[];this.interceptors.response.forEach(function(h){p.push(h.fulfilled,h.rejected)});let a,o=0,u;if(!d){const f=[mf.bind(this),void 0];for(f.unshift(...l),f.push(...p),u=f.length,a=Promise.resolve(i);o<u;)a=a.then(f[o++],f[o++]);return a}u=l.length;let m=i;for(;o<u;){const f=l[o++],h=l[o++];try{m=f(m)}catch(v){h.call(this,v);break}}try{a=mf.call(this,m)}catch(f){return Promise.reject(f)}for(o=0,u=p.length;o<u;)a=a.then(p[o++],p[o++]);return a}getUri(t){t=bt(this.defaults,t);const i=qc(t.baseURL,t.url,t.allowAbsoluteUrls);return jc(i,t.params,t.paramsSerializer)}};L.forEach(["delete","get","head","options"],function(t){gt.prototype[t]=function(i,n){return this.request(bt(n||{},{method:t,url:i,data:(n||{}).data}))}});L.forEach(["post","put","patch"],function(t){function i(n){return function(c,s,l){return this.request(bt(l||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:c,data:s}))}}gt.prototype[t]=i(),gt.prototype[t+"Form"]=i(!0)});let JS=class ov{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(c){i=c});const n=this;this.promise.then(r=>{if(!n._listeners)return;let c=n._listeners.length;for(;c-- >0;)n._listeners[c](r);n._listeners=null}),this.promise.then=r=>{let c;const s=new Promise(l=>{n.subscribe(l),c=l}).then(r);return s.cancel=function(){n.unsubscribe(c)},s},t(function(c,s,l){n.reason||(n.reason=new ot(c,s,l),i(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=n=>{t.abort(n)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new ov(function(r){t=r}),cancel:t}}};function XS(e){return function(i){return e.apply(null,i)}}function QS(e){return L.isObject(e)&&e.isAxiosError===!0}const sc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sc).forEach(([e,t])=>{sc[t]=e});function cv(e){const t=new gt(e),i=Eh(gt.prototype.request,t);return L.extend(i,gt.prototype,t,{allOwnKeys:!0}),L.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return cv(bt(e,r))},i}const pe=cv(wn);pe.Axios=gt;pe.CanceledError=ot;pe.CancelToken=JS;pe.isCancel=Zh;pe.VERSION=na;pe.toFormData=Ea;pe.AxiosError=J;pe.Cancel=pe.CanceledError;pe.all=function(t){return Promise.all(t)};pe.spread=XS;pe.isAxiosError=QS;pe.mergeConfig=bt;pe.AxiosHeaders=_e;pe.formToJSON=e=>Qh(L.isHTMLForm(e)?new FormData(e):e);pe.getAdapter=sv.getAdapter;pe.HttpStatusCode=sc;pe.default=pe;const{Axios:N$,AxiosError:j$,CanceledError:C$,isCancel:I$,CancelToken:q$,VERSION:L$,all:D$,Cancel:M$,isAxiosError:F$,spread:z$,toFormData:U$,AxiosHeaders:B$,HttpStatusCode:V$,formToJSON:K$,getAdapter:G$,mergeConfig:H$}=pe;function ZS(){return`${ec()} ${tc()}`}function e_(e,t){X.ipcMain.handle("authentication:github:login",async(i,{baseUrl:n,deviceCode:r,interval:c,expiresIn:s})=>{const l=new URL(`${n}/device-verify`);l.searchParams.set("device_code",r);const d=parseInt(c)*1e3+500;let p=parseInt(s)*1e3;const a=setInterval(async()=>{const u=await(await fetch(l)).json();u.error?p<=0&&clearInterval(a):(lw(u.access_token),cw(u.token_type),clearInterval(a),t(e)),p-=d},d)}),X.ipcMain.handle("authentication:github:isLoggedIn",()=>{const i=ec(),n=tc();return i&&n}),X.ipcMain.handle("authentication:github:userDetails",async()=>{const i="https://api.github.com/user",n={headers:{Authorization:ZS()}},{data:{login:r,html_url:c,name:s,avatar_url:l}}=await pe.get(i,n);return{profile:c,username:r,name:s,avatar:l}}),X.ipcMain.handle("authentication:github:authorizationValue",()=>({tokenType:ec(),accessToken:tc()})),X.ipcMain.handle("authentication:github:logout",()=>{pw(),uw()})}const Lc="tokenType",Dc="accessToken",Mc="refreshToken",Fc="expiryDate",zc="userId",t_={tokenType:{type:"string"},accessToken:{type:"string"},refreshToken:{type:"string"},expiryDate:{type:"number"},userId:{type:"string"}},Te=new xa({name:"authentication-nextcloud-main",schema:t_});function oc(e,t){Te.set(`${Lc}-${t}`,e)}function Ji(e,t){Te.set(`${Dc}-${t}`,e)}function lv(e,t){Te.set(`${Mc}-${t}`,e)}function uv(e,t){Te.set(`${Fc}-${t}`,e)}function cc(e,t){Te.set(`${zc}-${t}`,e)}function vf(e){return Te.get(`${Lc}-${e}`)}function gf(e){return Te.get(`${Dc}-${e}`)}function n_(e){return Te.get(`${Mc}-${e}`)}function i_(e){return Te.get(`${Fc}-${e}`)}function a_(e){return Te.get(`${zc}-${e}`)}function r_(e){Te.delete(`${Lc}-${e}`)}function s_(e){Te.delete(`${Dc}-${e}`)}function o_(e){Te.delete(`${Mc}-${e}`)}function c_(e){Te.delete(`${Fc}-${e}`)}function l_(e){Te.delete(`${zc}-${e}`)}const Uc="http://callback/";async function u_(e,t,i){const n=new URL(`${i}/token`);n.searchParams.set("base_url",t),n.searchParams.set("code",e),n.searchParams.set("redirect_uri",Uc);const r=await pe.get(n.toString());oc(r.data.token_type,"oauth2"),Ji(r.data.access_token,"oauth2"),lv(r.data.refresh_token,"oauth2"),uv(Date.now()+(r.data.expires_in-10)*1e3,"oauth2"),cc(r.data.user_id,"oauth2")}function p_(e,t,i,n){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Uc}*`]},async({url:r},c)=>{if(r.startsWith(n))c({cancel:!1});else{const s=new URL(r);await u_(s.searchParams.get("code"),i,n),ra.show(),t(ra),e?.close()}})}async function d_(e){const t=new X.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let yf,ra;function f_(e,t){X.ipcMain.handle("authentication:nextcloud:loginOauth2",async(i,{baseUrl:n,authenticationBaseUrl:r})=>{const c=new URL(`${r}/authorize`);c.searchParams.set("base_url",n),c.searchParams.set("redirect_uri",Uc),ra=e,yf=await d_(c.toString()),p_(yf,t,n,r),ra.hide()}),X.ipcMain.handle("authentication:nextcloud:loginBasic",async(i,{username:n,password:r})=>{Ji(btoa(`${n}:${r}`),"basic"),oc("Basic","basic"),cc(n,"basic"),t(e)}),X.ipcMain.handle("authentication:nextcloud:loginFlow",async(i,{baseUrl:n})=>{const r=`${n}/index.php/login/v2`,s=await(await fetch(r,{method:"POST"})).json();X.shell.openExternal(s.login);const l=setInterval(async()=>{const d=await fetch(s.poll.endpoint,{method:"POST",body:new URLSearchParams({token:s.poll.token}),headers:{"Content-Type":"application/x-www-form-urlencoded"}});if(d.ok){const p=await d.json();Ji(btoa(`${p.loginName}:${p.appPassword}`),"login-flow"),oc("Basic","login-flow"),cc(p.loginName,"login-flow"),clearInterval(l),t(e)}},3e3)}),X.ipcMain.handle("authentication:nextcloud:isLoggedIn",async(i,{mode:n})=>{const r=vf(n),c=gf(n);return r&&c}),X.ipcMain.handle("authentication:nextcloud:userDetails",async(i,{baseUrl:n,mode:r})=>{const c=a_(r);return{profile:`${n}/u/${c}`,username:c,name:c,avatar:`${n}/avatar/${c}/64`}}),X.ipcMain.handle("authentication:nextcloud:authorizationValue",async(i,{mode:n})=>({tokenType:vf(n),accessToken:gf(n)})),X.ipcMain.handle("authentication:nextcloud:logout",async(i,{mode:n})=>{s_(n),r_(n),o_(n),c_(n),l_(n)}),X.ipcMain.handle("authentication:nextcloud:refreshToken",async(i,{baseUrl:n,authenticationBaseUrl:r})=>{if(Date.now()>i_("oauth2")){const c=new URL(`${r}/refresh`);c.searchParams.set("base_url",n),c.searchParams.set("refresh_token",n_("oauth2"));const{data:{access_token:s,refresh_token:l,expires_in:d}}=await pe.get(c.toString());Ji(s,"oauth2"),lv(l,"oauth2"),uv(Date.now()+(d-10)*1e3,"oauth2")}})}const Bc="tokenType",Vc="accessToken",m_={tokenType:{type:"string"},accessToken:{type:"string"}},Kt=new xa({name:"authentication-xwiki-main",schema:m_});function h_(e){Kt.set(Bc,e)}function v_(e){Kt.set(Vc,e)}function lc(){return Kt.get(Bc)}function uc(){return Kt.get(Vc)}function g_(){Kt.delete(Bc)}function y_(){Kt.delete(Vc)}const Kc="http://callback/",pv="abcd";async function b_(e,t){const i=`${t}/oidc/token`,n={grant_type:"authorization_code",code:e,redirect_uri:Kc,client_id:pv};return pe.post(i,n,{url:i,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function x_(e,t,i){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Kc}*`]},async({url:n},r)=>{if(n.startsWith(i))r({cancel:!1});else{const c=new URL(n),s=await b_(c.searchParams.get("code"),i);h_(s.data.token_type),v_(s.data.access_token),sa.show(),t(sa),e?.close()}})}async function w_(e){const t=new X.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let bf,sa;function S_(){return`${lc()} ${uc()}`}function __(e,t){X.ipcMain.handle("authentication:xwiki:login",async(i,{oidcUrl:n})=>{const r=new URL(`${n}/oidc/authorization`);r.searchParams.set("response_type","code"),r.searchParams.set("client_id",pv),r.searchParams.set("redirect_uri",Kc),sa=e,bf=await w_(r.toString()),x_(bf,t,n),sa.hide()}),X.ipcMain.handle("authentication:xwiki:isLoggedIn",()=>{const i=lc(),n=uc();return i&&n}),X.ipcMain.handle("authentication:xwiki:userDetails",async(i,{baseURL:n})=>{const r=`${n}/oidc/userinfo`,c={headers:{Authorization:S_()}},{data:{profile:s,name:l,picture:d,preferred_username:p}}=await pe.get(r,c);return{profile:s,username:p,name:l,avatar:d}}),X.ipcMain.handle("authentication:xwiki:authorizationValue",()=>({tokenType:lc(),accessToken:uc()})),X.ipcMain.handle("authentication:xwiki:logout",()=>{y_(),g_()})}function Gc(e,t,i){return Reflect.getOwnMetadata(t,e,i)}function $_(e,t,i,n){Reflect.defineMetadata(t,i,e,n)}function pn(e,t,i,n,r){const c=n(Gc(e,t,r)??i());Reflect.defineMetadata(t,c,e,r)}var xf;(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(xf||(xf={}));const Xi="@inversifyjs/core/classMetadataReflectKey";function Qi(){return{constructorArguments:[],lifecycle:{postConstructMethodNames:new Set,preDestroyMethodNames:new Set},properties:new Map,scope:void 0}}const E_="@inversifyjs/core/pendingClassMetadataCountReflectKey",io=Symbol.for("@inversifyjs/core/InversifyCoreError");class Ke extends Error{[io];kind;constructor(t,i,n){super(i,n),this[io]=!0,this.kind=t}static is(t){return typeof t=="object"&&t!==null&&t[io]===!0}static isErrorOfKind(t,i){return Ke.is(t)&&t.kind===i}}var Ge,oa,wf,Sf,xt;(function(e){e[e.injectionDecoratorConflict=0]="injectionDecoratorConflict",e[e.missingInjectionDecorator=1]="missingInjectionDecorator",e[e.planning=2]="planning",e[e.resolution=3]="resolution",e[e.unknown=4]="unknown"})(Ge||(Ge={})),(function(e){e[e.unknown=32]="unknown"})(oa||(oa={})),(function(e){e.id="id",e.moduleId="moduleId",e.serviceId="serviceId"})(wf||(wf={}));(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(Sf||(Sf={}));function k_(){return 0}function R_(e){return t=>{t!==void 0&&t.kind===oa.unknown&&pn(e,E_,k_,i=>i-1)}}function A_(e,t){return(...i)=>n=>{if(n===void 0)return e(...i);if(n.kind===xt.unmanaged)throw new Ke(Ge.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found");return t(n,...i)}}function P_(e){if(e.kind!==oa.unknown&&e.isFromTypescriptParamType!==!0)throw new Ke(Ge.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found")}(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection",e[e.unmanaged=2]="unmanaged"})(xt||(xt={}));const T_=A_(function(e,t,i){return e===xt.multipleInjection?{chained:i?.chained??!1,kind:e,name:void 0,optional:!1,tags:new Map,value:t}:{kind:e,name:void 0,optional:!1,tags:new Map,value:t}},function(e,t,i,n){return P_(e),t===xt.multipleInjection?{...e,chained:n?.chained??!1,kind:t,value:i}:{...e,kind:t,value:i}});function _f(e,t){return i=>{const n=i.properties.get(t);return i.properties.set(t,e(n)),i}}var at;function O_(e,t,i,n){if(Ke.isErrorOfKind(n,Ge.injectionDecoratorConflict)){const r=(function(c,s,l){if(l===void 0){if(s===void 0)throw new Ke(Ge.unknown,"Unexpected undefined property and index values");return{kind:at.property,property:s,targetClass:c.constructor}}return typeof l=="number"?{index:l,kind:at.parameter,targetClass:c}:{kind:at.method,method:s,targetClass:c}})(e,t,i);throw new Ke(Ge.injectionDecoratorConflict,`Unexpected injection error.
31
31
 
32
32
  Cause:
33
33
 
@@ -35,79 +35,79 @@ ${n.message}
35
35
 
36
36
  Details
37
37
 
38
- ${(function(c){switch(c.kind){case nt.method:return`[class: "${c.targetClass.name}", method: "${c.method.toString()}"]`;case nt.parameter:return`[class: "${c.targetClass.name}", index: "${c.index.toString()}"]`;case nt.property:return`[class: "${c.targetClass.name}", property: "${c.property.toString()}"]`}})(r)}`,{cause:n})}throw n}function O$(e,t){return(i,n,r)=>{try{r===void 0?(function(c,o){const l=Qs(c,o);return(d,p)=>{un(d.constructor,Wi,Yi,bf(l(d),p))}})(e,t)(i,n):typeof r=="number"?(function(c,o){const l=Qs(c,o);return(d,p,a)=>{if(!(function(s,u){return typeof s=="function"&&u===void 0})(d,p))throw new Ke(Ge.injectionDecoratorConflict,`Found an @inject decorator in a non constructor parameter.
39
- Found @inject decorator at method "${p?.toString()??""}" at class "${d.constructor.name}"`);un(d,Wi,Yi,(function(s,u){return m=>{const f=m.constructorArguments[u];return m.constructorArguments[u]=s(f),m}})(l(d),a))}})(e,t)(i,n,r):(function(c,o){const l=Qs(c,o);return(d,p,a)=>{if(!(function(s){return s.set!==void 0})(a))throw new Ke(Ge.injectionDecoratorConflict,`Found an @inject decorator in a non setter property method.
40
- Found @inject decorator at method "${p.toString()}" at class "${d.constructor.name}"`);un(d.constructor,Wi,Yi,bf(l(d),p))}})(e,t)(i,n,r)}catch(c){T$(i,n,r,c)}}}function Qs(e,t){return i=>{const n=t(i);return r=>(n(r),e(r))}}function N$(e){return O$(P$(gt.singleInjection,e),k$)}(function(e){e[e.method=0]="method",e[e.parameter=1]="parameter",e[e.property=2]="property"})(nt||(nt={}));const xf="@inversifyjs/core/classIsInjectableFlagReflectKey",j$=[Array,BigInt,Boolean,Function,Number,Object,String];function C$(e){const t=Uc(e,"design:paramtypes");t!==void 0&&un(e,Wi,Yi,(function(i){return n=>(i.forEach((r,c)=>{var o;n.constructorArguments[c]!==void 0||(o=r,j$.includes(o))||(n.constructorArguments[c]=(function(l){return{isFromTypescriptParamType:!0,kind:gt.singleInjection,name:void 0,optional:!1,tags:new Map,value:l}})(r))}),n)})(t))}function I$(e){return t=>{(function(i){if(Uc(i,xf)!==void 0)throw new Ke(Ge.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${i.name}"`);$$(i,xf,!0)})(t),C$(t)}}var wf;(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection"})(wf||(wf={}));var Sf;(function(e){e.bindingAdded="bindingAdded",e.bindingRemoved="bindingRemoved"})(Sf||(Sf={}));var q$=Object.getOwnPropertyDescriptor,L$=(e,t,i,n)=>{for(var r=n>1?void 0:n?q$(t,i):t,c=e.length-1,o;c>=0;c--)(o=e[c])&&(r=o(r)||r);return r},M$=(e,t)=>(i,n)=>t(i,n,e);let $f=class{constructor(e){this.cristalApp=e}get(e){const t=e||this.cristalApp.getWikiConfig().getType();try{return this.cristalApp.getContainer().get("LinkSuggestService",{name:t})}catch(i){this.cristalApp.getLogger("link.suggest.api").warn(`Couldn't resolve LinkSuggestService for type=[${t}]`,i);return}}};$f=L$([I$(),M$(0,N$("CristalApp"))],$f);var rc=(e=>(e[e.PAGE=0]="PAGE",e[e.ATTACHMENT=1]="ATTACHMENT",e))(rc||{}),zc=(e=>(e[e.WIKI=0]="WIKI",e[e.SPACE=1]="SPACE",e[e.DOCUMENT=2]="DOCUMENT",e[e.ATTACHMENT=3]="ATTACHMENT",e))(zc||{});const sc="cristalfs";var ce={},Zs={},eo={},be={},_f;function oe(){if(_f)return be;_f=1;const e=Symbol.for("yaml.alias"),t=Symbol.for("yaml.document"),i=Symbol.for("yaml.map"),n=Symbol.for("yaml.pair"),r=Symbol.for("yaml.scalar"),c=Symbol.for("yaml.seq"),o=Symbol.for("yaml.node.type"),l=v=>!!v&&typeof v=="object"&&v[o]===e,d=v=>!!v&&typeof v=="object"&&v[o]===t,p=v=>!!v&&typeof v=="object"&&v[o]===i,a=v=>!!v&&typeof v=="object"&&v[o]===n,s=v=>!!v&&typeof v=="object"&&v[o]===r,u=v=>!!v&&typeof v=="object"&&v[o]===c;function m(v){if(v&&typeof v=="object")switch(v[o]){case i:case c:return!0}return!1}function f(v){if(v&&typeof v=="object")switch(v[o]){case e:case i:case r:case c:return!0}return!1}const h=v=>(s(v)||m(v))&&!!v.anchor;return be.ALIAS=e,be.DOC=t,be.MAP=i,be.NODE_TYPE=o,be.PAIR=n,be.SCALAR=r,be.SEQ=c,be.hasAnchor=h,be.isAlias=l,be.isCollection=m,be.isDocument=d,be.isMap=p,be.isNode=f,be.isPair=a,be.isScalar=s,be.isSeq=u,be}var Pi={},Ef;function _a(){if(Ef)return Pi;Ef=1;var e=oe();const t=Symbol("break visit"),i=Symbol("skip children"),n=Symbol("remove node");function r(s,u){const m=d(u);e.isDocument(s)?c(null,s.contents,m,Object.freeze([s]))===n&&(s.contents=null):c(null,s,m,Object.freeze([]))}r.BREAK=t,r.SKIP=i,r.REMOVE=n;function c(s,u,m,f){const h=p(s,u,m,f);if(e.isNode(h)||e.isPair(h))return a(s,f,h),c(s,h,m,f);if(typeof h!="symbol"){if(e.isCollection(u)){f=Object.freeze(f.concat(u));for(let v=0;v<u.items.length;++v){const g=c(v,u.items[v],m,f);if(typeof g=="number")v=g-1;else{if(g===t)return t;g===n&&(u.items.splice(v,1),v-=1)}}}else if(e.isPair(u)){f=Object.freeze(f.concat(u));const v=c("key",u.key,m,f);if(v===t)return t;v===n&&(u.key=null);const g=c("value",u.value,m,f);if(g===t)return t;g===n&&(u.value=null)}}return h}async function o(s,u){const m=d(u);e.isDocument(s)?await l(null,s.contents,m,Object.freeze([s]))===n&&(s.contents=null):await l(null,s,m,Object.freeze([]))}o.BREAK=t,o.SKIP=i,o.REMOVE=n;async function l(s,u,m,f){const h=await p(s,u,m,f);if(e.isNode(h)||e.isPair(h))return a(s,f,h),l(s,h,m,f);if(typeof h!="symbol"){if(e.isCollection(u)){f=Object.freeze(f.concat(u));for(let v=0;v<u.items.length;++v){const g=await l(v,u.items[v],m,f);if(typeof g=="number")v=g-1;else{if(g===t)return t;g===n&&(u.items.splice(v,1),v-=1)}}}else if(e.isPair(u)){f=Object.freeze(f.concat(u));const v=await l("key",u.key,m,f);if(v===t)return t;v===n&&(u.key=null);const g=await l("value",u.value,m,f);if(g===t)return t;g===n&&(u.value=null)}}return h}function d(s){return typeof s=="object"&&(s.Collection||s.Node||s.Value)?Object.assign({Alias:s.Node,Map:s.Node,Scalar:s.Node,Seq:s.Node},s.Value&&{Map:s.Value,Scalar:s.Value,Seq:s.Value},s.Collection&&{Map:s.Collection,Seq:s.Collection},s):s}function p(s,u,m,f){if(typeof m=="function")return m(s,u,f);if(e.isMap(u))return m.Map?.(s,u,f);if(e.isSeq(u))return m.Seq?.(s,u,f);if(e.isPair(u))return m.Pair?.(s,u,f);if(e.isScalar(u))return m.Scalar?.(s,u,f);if(e.isAlias(u))return m.Alias?.(s,u,f)}function a(s,u,m){const f=u[u.length-1];if(e.isCollection(f))f.items[s]=m;else if(e.isPair(f))s==="key"?f.key=m:f.value=m;else if(e.isDocument(f))f.contents=m;else{const h=e.isAlias(f)?"alias":"scalar";throw new Error(`Cannot replace node with ${h} parent`)}}return Pi.visit=r,Pi.visitAsync=o,Pi}var kf;function ov(){if(kf)return eo;kf=1;var e=oe(),t=_a();const i={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},n=c=>c.replace(/[!,[\]{}]/g,o=>i[o]);class r{constructor(o,l){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},r.defaultYaml,o),this.tags=Object.assign({},r.defaultTags,l)}clone(){const o=new r(this.yaml,this.tags);return o.docStart=this.docStart,o}atDocument(){const o=new r(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:r.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},r.defaultTags);break}return o}add(o,l){this.atNextDocument&&(this.yaml={explicit:r.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},r.defaultTags),this.atNextDocument=!1);const d=o.trim().split(/[ \t]+/),p=d.shift();switch(p){case"%TAG":{if(d.length!==2&&(l(0,"%TAG directive should contain exactly two parts"),d.length<2))return!1;const[a,s]=d;return this.tags[a]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,d.length!==1)return l(0,"%YAML directive should contain exactly one part"),!1;const[a]=d;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const s=/^\d+\.\d+$/.test(a);return l(6,`Unsupported YAML version ${a}`,s),!1}}default:return l(0,`Unknown directive ${p}`,!0),!1}}tagName(o,l){if(o==="!")return"!";if(o[0]!=="!")return l(`Not a valid tag: ${o}`),null;if(o[1]==="<"){const s=o.slice(2,-1);return s==="!"||s==="!!"?(l(`Verbatim tags aren't resolved, so ${o} is invalid.`),null):(o[o.length-1]!==">"&&l("Verbatim tags must end with a >"),s)}const[,d,p]=o.match(/^(.*!)([^!]*)$/s);p||l(`The ${o} tag has no suffix`);const a=this.tags[d];if(a)try{return a+decodeURIComponent(p)}catch(s){return l(String(s)),null}return d==="!"?o:(l(`Could not resolve tag: ${o}`),null)}tagString(o){for(const[l,d]of Object.entries(this.tags))if(o.startsWith(d))return l+n(o.substring(d.length));return o[0]==="!"?o:`!<${o}>`}toString(o){const l=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],d=Object.entries(this.tags);let p;if(o&&d.length>0&&e.isNode(o.contents)){const a={};t.visit(o.contents,(s,u)=>{e.isNode(u)&&u.tag&&(a[u.tag]=!0)}),p=Object.keys(a)}else p=[];for(const[a,s]of d)a==="!!"&&s==="tag:yaml.org,2002:"||(!o||p.some(u=>u.startsWith(s)))&&l.push(`%TAG ${a} ${s}`);return l.join(`
41
- `)}}return r.defaultYaml={explicit:!1,version:"1.2"},r.defaultTags={"!!":"tag:yaml.org,2002:"},eo.Directives=r,eo}var to={},no={},Pt={},Rf;function Bc(){if(Rf)return Pt;Rf=1;var e=oe(),t=_a();function i(o){if(/[\x00-\x19\s,[\]{}]/.test(o)){const d=`Anchor must not contain whitespace or control characters: ${JSON.stringify(o)}`;throw new Error(d)}return!0}function n(o){const l=new Set;return t.visit(o,{Value(d,p){p.anchor&&l.add(p.anchor)}}),l}function r(o,l){for(let d=1;;++d){const p=`${o}${d}`;if(!l.has(p))return p}}function c(o,l){const d=[],p=new Map;let a=null;return{onAnchor:s=>{d.push(s),a??(a=n(o));const u=r(l,a);return a.add(u),u},setAnchors:()=>{for(const s of d){const u=p.get(s);if(typeof u=="object"&&u.anchor&&(e.isScalar(u.node)||e.isCollection(u.node)))u.node.anchor=u.anchor;else{const m=new Error("Failed to resolve repeated object (this should not happen)");throw m.source=s,m}}},sourceObjects:p}}return Pt.anchorIsValid=i,Pt.anchorNames=n,Pt.createNodeAnchors=c,Pt.findNewAnchor=r,Pt}var io={},ao={},Af;function cv(){if(Af)return ao;Af=1;function e(t,i,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let c=0,o=r.length;c<o;++c){const l=r[c],d=e(t,r,String(c),l);d===void 0?delete r[c]:d!==l&&(r[c]=d)}else if(r instanceof Map)for(const c of Array.from(r.keys())){const o=r.get(c),l=e(t,r,c,o);l===void 0?r.delete(c):l!==o&&r.set(c,l)}else if(r instanceof Set)for(const c of Array.from(r)){const o=e(t,r,c,c);o===void 0?r.delete(c):o!==c&&(r.delete(c),r.add(o))}else for(const[c,o]of Object.entries(r)){const l=e(t,r,c,o);l===void 0?delete r[c]:l!==o&&(r[c]=l)}return t.call(i,n,r)}return ao.applyReviver=e,ao}var ro={},Pf;function yt(){if(Pf)return ro;Pf=1;var e=oe();function t(i,n,r){if(Array.isArray(i))return i.map((c,o)=>t(c,String(o),r));if(i&&typeof i.toJSON=="function"){if(!r||!e.hasAnchor(i))return i.toJSON(n,r);const c={aliasCount:0,count:1,res:void 0};r.anchors.set(i,c),r.onCreate=l=>{c.res=l,delete r.onCreate};const o=i.toJSON(n,r);return r.onCreate&&r.onCreate(o),o}return typeof i=="bigint"&&!r?.keep?Number(i):i}return ro.toJS=t,ro}var Tf;function Vc(){if(Tf)return io;Tf=1;var e=cv(),t=oe(),i=yt();class n{constructor(c){Object.defineProperty(this,t.NODE_TYPE,{value:c})}clone(){const c=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(c.range=this.range.slice()),c}toJS(c,{mapAsMap:o,maxAliasCount:l,onAnchor:d,reviver:p}={}){if(!t.isDocument(c))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:c,keep:!0,mapAsMap:o===!0,mapKeyWarned:!1,maxAliasCount:typeof l=="number"?l:100},s=i.toJS(this,"",a);if(typeof d=="function")for(const{count:u,res:m}of a.anchors.values())d(m,u);return typeof p=="function"?e.applyReviver(p,{"":s},"",s):s}}return io.NodeBase=n,io}var Of;function Ea(){if(Of)return no;Of=1;var e=Bc(),t=_a(),i=oe(),n=Vc(),r=yt();let c=class extends n.NodeBase{constructor(d){super(i.ALIAS),this.source=d,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(d,p){let a;p?.aliasResolveCache?a=p.aliasResolveCache:(a=[],t.visit(d,{Node:(u,m)=>{(i.isAlias(m)||i.hasAnchor(m))&&a.push(m)}}),p&&(p.aliasResolveCache=a));let s;for(const u of a){if(u===this)break;u.anchor===this.source&&(s=u)}return s}toJSON(d,p){if(!p)return{source:this.source};const{anchors:a,doc:s,maxAliasCount:u}=p,m=this.resolve(s,p);if(!m){const h=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(h)}let f=a.get(m);if(f||(r.toJS(m,null,p),f=a.get(m)),!f||f.res===void 0){const h="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(h)}if(u>=0&&(f.count+=1,f.aliasCount===0&&(f.aliasCount=o(s,m,a)),f.count*f.aliasCount>u)){const h="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(h)}return f.res}toString(d,p,a){const s=`*${this.source}`;if(d){if(e.anchorIsValid(this.source),d.options.verifyAliasOrder&&!d.anchors.has(this.source)){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(u)}if(d.implicitKey)return`${s} `}return s}};function o(l,d,p){if(i.isAlias(d)){const a=d.resolve(l),s=p&&a&&p.get(a);return s?s.count*s.aliasCount:0}else if(i.isCollection(d)){let a=0;for(const s of d.items){const u=o(l,s,p);u>a&&(a=u)}return a}else if(i.isPair(d)){const a=o(l,d.key,p),s=o(l,d.value,p);return Math.max(a,s)}return 1}return no.Alias=c,no}var Zt={},so={},Ti={},Nf;function ye(){if(Nf)return Ti;Nf=1;var e=oe(),t=Vc(),i=yt();const n=c=>!c||typeof c!="function"&&typeof c!="object";let r=class extends t.NodeBase{constructor(o){super(e.SCALAR),this.value=o}toJSON(o,l){return l?.keep?this.value:i.toJS(this.value,o,l)}toString(){return String(this.value)}};return r.BLOCK_FOLDED="BLOCK_FOLDED",r.BLOCK_LITERAL="BLOCK_LITERAL",r.PLAIN="PLAIN",r.QUOTE_DOUBLE="QUOTE_DOUBLE",r.QUOTE_SINGLE="QUOTE_SINGLE",Ti.Scalar=r,Ti.isScalarValue=n,Ti}var jf;function ka(){if(jf)return so;jf=1;var e=Ea(),t=oe(),i=ye();const n="tag:yaml.org,2002:";function r(o,l,d){if(l){const p=d.filter(s=>s.tag===l),a=p.find(s=>!s.format)??p[0];if(!a)throw new Error(`Tag ${l} not found`);return a}return d.find(p=>p.identify?.(o)&&!p.format)}function c(o,l,d){if(t.isDocument(o)&&(o=o.contents),t.isNode(o))return o;if(t.isPair(o)){const g=d.schema[t.MAP].createNode?.(d.schema,null,d);return g.items.push(o),g}(o instanceof String||o instanceof Number||o instanceof Boolean||typeof BigInt<"u"&&o instanceof BigInt)&&(o=o.valueOf());const{aliasDuplicateObjects:p,onAnchor:a,onTagObj:s,schema:u,sourceObjects:m}=d;let f;if(p&&o&&typeof o=="object"){if(f=m.get(o),f)return f.anchor??(f.anchor=a(o)),new e.Alias(f.anchor);f={anchor:null,node:null},m.set(o,f)}l?.startsWith("!!")&&(l=n+l.slice(2));let h=r(o,l,u.tags);if(!h){if(o&&typeof o.toJSON=="function"&&(o=o.toJSON()),!o||typeof o!="object"){const g=new i.Scalar(o);return f&&(f.node=g),g}h=o instanceof Map?u[t.MAP]:Symbol.iterator in Object(o)?u[t.SEQ]:u[t.MAP]}s&&(s(h),delete d.onTagObj);const v=h?.createNode?h.createNode(d.schema,o,d):typeof h?.nodeClass?.from=="function"?h.nodeClass.from(d.schema,o,d):new i.Scalar(o);return l?v.tag=l:h.default||(v.tag=h.tag),f&&(f.node=v),v}return so.createNode=c,so}var Cf;function Kc(){if(Cf)return Zt;Cf=1;var e=ka(),t=oe(),i=Vc();function n(o,l,d){let p=d;for(let a=l.length-1;a>=0;--a){const s=l[a];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){const u=[];u[s]=p,p=u}else p=new Map([[s,p]])}return e.createNode(p,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:o,sourceObjects:new Map})}const r=o=>o==null||typeof o=="object"&&!!o[Symbol.iterator]().next().done;let c=class extends i.NodeBase{constructor(l,d){super(l),Object.defineProperty(this,"schema",{value:d,configurable:!0,enumerable:!1,writable:!0})}clone(l){const d=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return l&&(d.schema=l),d.items=d.items.map(p=>t.isNode(p)||t.isPair(p)?p.clone(l):p),this.range&&(d.range=this.range.slice()),d}addIn(l,d){if(r(l))this.add(d);else{const[p,...a]=l,s=this.get(p,!0);if(t.isCollection(s))s.addIn(a,d);else if(s===void 0&&this.schema)this.set(p,n(this.schema,a,d));else throw new Error(`Expected YAML collection at ${p}. Remaining path: ${a}`)}}deleteIn(l){const[d,...p]=l;if(p.length===0)return this.delete(d);const a=this.get(d,!0);if(t.isCollection(a))return a.deleteIn(p);throw new Error(`Expected YAML collection at ${d}. Remaining path: ${p}`)}getIn(l,d){const[p,...a]=l,s=this.get(p,!0);return a.length===0?!d&&t.isScalar(s)?s.value:s:t.isCollection(s)?s.getIn(a,d):void 0}hasAllNullValues(l){return this.items.every(d=>{if(!t.isPair(d))return!1;const p=d.value;return p==null||l&&t.isScalar(p)&&p.value==null&&!p.commentBefore&&!p.comment&&!p.tag})}hasIn(l){const[d,...p]=l;if(p.length===0)return this.has(d);const a=this.get(d,!0);return t.isCollection(a)?a.hasIn(p):!1}setIn(l,d){const[p,...a]=l;if(a.length===0)this.set(p,d);else{const s=this.get(p,!0);if(t.isCollection(s))s.setIn(a,d);else if(s===void 0&&this.schema)this.set(p,n(this.schema,a,d));else throw new Error(`Expected YAML collection at ${p}. Remaining path: ${a}`)}}};return Zt.Collection=c,Zt.collectionFromPath=n,Zt.isEmptyPath=r,Zt}var Oi={},oo={},Ni={},en={},If;function Ra(){if(If)return en;If=1;const e=n=>n.replace(/^(?!$)(?: $)?/gm,"#");function t(n,r){return/^\n+$/.test(n)?n.substring(1):r?n.replace(/^(?! *$)/gm,r):n}const i=(n,r,c)=>n.endsWith(`
38
+ ${(function(c){switch(c.kind){case at.method:return`[class: "${c.targetClass.name}", method: "${c.method.toString()}"]`;case at.parameter:return`[class: "${c.targetClass.name}", index: "${c.index.toString()}"]`;case at.property:return`[class: "${c.targetClass.name}", property: "${c.property.toString()}"]`}})(r)}`,{cause:n})}throw n}function N_(e,t){return(i,n,r)=>{try{r===void 0?(function(c,s){const l=ao(c,s);return(d,p)=>{pn(d.constructor,Xi,Qi,_f(l(d),p))}})(e,t)(i,n):typeof r=="number"?(function(c,s){const l=ao(c,s);return(d,p,a)=>{if(!(function(o,u){return typeof o=="function"&&u===void 0})(d,p))throw new Ke(Ge.injectionDecoratorConflict,`Found an @inject decorator in a non constructor parameter.
39
+ Found @inject decorator at method "${p?.toString()??""}" at class "${d.constructor.name}"`);pn(d,Xi,Qi,(function(o,u){return m=>{const f=m.constructorArguments[u];return m.constructorArguments[u]=o(f),m}})(l(d),a))}})(e,t)(i,n,r):(function(c,s){const l=ao(c,s);return(d,p,a)=>{if(!(function(o){return o.set!==void 0})(a))throw new Ke(Ge.injectionDecoratorConflict,`Found an @inject decorator in a non setter property method.
40
+ Found @inject decorator at method "${p.toString()}" at class "${d.constructor.name}"`);pn(d.constructor,Xi,Qi,_f(l(d),p))}})(e,t)(i,n,r)}catch(c){O_(i,n,r,c)}}}function ao(e,t){return i=>{const n=t(i);return r=>(n(r),e(r))}}function j_(e){return N_(T_(xt.singleInjection,e),R_)}(function(e){e[e.method=0]="method",e[e.parameter=1]="parameter",e[e.property=2]="property"})(at||(at={}));const $f="@inversifyjs/core/classIsInjectableFlagReflectKey",C_=[Array,BigInt,Boolean,Function,Number,Object,String];function I_(e){const t=Gc(e,"design:paramtypes");t!==void 0&&pn(e,Xi,Qi,(function(i){return n=>(i.forEach((r,c)=>{var s;n.constructorArguments[c]!==void 0||(s=r,C_.includes(s))||(n.constructorArguments[c]=(function(l){return{isFromTypescriptParamType:!0,kind:xt.singleInjection,name:void 0,optional:!1,tags:new Map,value:l}})(r))}),n)})(t))}function q_(e){return t=>{(function(i){if(Gc(i,$f)!==void 0)throw new Ke(Ge.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${i.name}"`);$_(i,$f,!0)})(t),I_(t)}}var Ef;(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection"})(Ef||(Ef={}));var kf;(function(e){e.bindingAdded="bindingAdded",e.bindingRemoved="bindingRemoved"})(kf||(kf={}));var L_=Object.getOwnPropertyDescriptor,D_=(e,t,i,n)=>{for(var r=n>1?void 0:n?L_(t,i):t,c=e.length-1,s;c>=0;c--)(s=e[c])&&(r=s(r)||r);return r},M_=(e,t)=>(i,n)=>t(i,n,e);let Rf=class{constructor(e){this.cristalApp=e}get(e){const t=e||this.cristalApp.getWikiConfig().getType();try{return this.cristalApp.getContainer().get("LinkSuggestService",{name:t})}catch(i){this.cristalApp.getLogger("link.suggest.api").warn(`Couldn't resolve LinkSuggestService for type=[${t}]`,i);return}}};Rf=D_([q_(),M_(0,j_("CristalApp"))],Rf);var pc=(e=>(e[e.PAGE=0]="PAGE",e[e.ATTACHMENT=1]="ATTACHMENT",e))(pc||{}),Hc=(e=>(e[e.WIKI=0]="WIKI",e[e.SPACE=1]="SPACE",e[e.DOCUMENT=2]="DOCUMENT",e[e.ATTACHMENT=3]="ATTACHMENT",e))(Hc||{});const dc="cristalfs";var ce={},ro={},so={},be={},Af;function oe(){if(Af)return be;Af=1;const e=Symbol.for("yaml.alias"),t=Symbol.for("yaml.document"),i=Symbol.for("yaml.map"),n=Symbol.for("yaml.pair"),r=Symbol.for("yaml.scalar"),c=Symbol.for("yaml.seq"),s=Symbol.for("yaml.node.type"),l=v=>!!v&&typeof v=="object"&&v[s]===e,d=v=>!!v&&typeof v=="object"&&v[s]===t,p=v=>!!v&&typeof v=="object"&&v[s]===i,a=v=>!!v&&typeof v=="object"&&v[s]===n,o=v=>!!v&&typeof v=="object"&&v[s]===r,u=v=>!!v&&typeof v=="object"&&v[s]===c;function m(v){if(v&&typeof v=="object")switch(v[s]){case i:case c:return!0}return!1}function f(v){if(v&&typeof v=="object")switch(v[s]){case e:case i:case r:case c:return!0}return!1}const h=v=>(o(v)||m(v))&&!!v.anchor;return be.ALIAS=e,be.DOC=t,be.MAP=i,be.NODE_TYPE=s,be.PAIR=n,be.SCALAR=r,be.SEQ=c,be.hasAnchor=h,be.isAlias=l,be.isCollection=m,be.isDocument=d,be.isMap=p,be.isNode=f,be.isPair=a,be.isScalar=o,be.isSeq=u,be}var ji={},Pf;function Ra(){if(Pf)return ji;Pf=1;var e=oe();const t=Symbol("break visit"),i=Symbol("skip children"),n=Symbol("remove node");function r(o,u){const m=d(u);e.isDocument(o)?c(null,o.contents,m,Object.freeze([o]))===n&&(o.contents=null):c(null,o,m,Object.freeze([]))}r.BREAK=t,r.SKIP=i,r.REMOVE=n;function c(o,u,m,f){const h=p(o,u,m,f);if(e.isNode(h)||e.isPair(h))return a(o,f,h),c(o,h,m,f);if(typeof h!="symbol"){if(e.isCollection(u)){f=Object.freeze(f.concat(u));for(let v=0;v<u.items.length;++v){const g=c(v,u.items[v],m,f);if(typeof g=="number")v=g-1;else{if(g===t)return t;g===n&&(u.items.splice(v,1),v-=1)}}}else if(e.isPair(u)){f=Object.freeze(f.concat(u));const v=c("key",u.key,m,f);if(v===t)return t;v===n&&(u.key=null);const g=c("value",u.value,m,f);if(g===t)return t;g===n&&(u.value=null)}}return h}async function s(o,u){const m=d(u);e.isDocument(o)?await l(null,o.contents,m,Object.freeze([o]))===n&&(o.contents=null):await l(null,o,m,Object.freeze([]))}s.BREAK=t,s.SKIP=i,s.REMOVE=n;async function l(o,u,m,f){const h=await p(o,u,m,f);if(e.isNode(h)||e.isPair(h))return a(o,f,h),l(o,h,m,f);if(typeof h!="symbol"){if(e.isCollection(u)){f=Object.freeze(f.concat(u));for(let v=0;v<u.items.length;++v){const g=await l(v,u.items[v],m,f);if(typeof g=="number")v=g-1;else{if(g===t)return t;g===n&&(u.items.splice(v,1),v-=1)}}}else if(e.isPair(u)){f=Object.freeze(f.concat(u));const v=await l("key",u.key,m,f);if(v===t)return t;v===n&&(u.key=null);const g=await l("value",u.value,m,f);if(g===t)return t;g===n&&(u.value=null)}}return h}function d(o){return typeof o=="object"&&(o.Collection||o.Node||o.Value)?Object.assign({Alias:o.Node,Map:o.Node,Scalar:o.Node,Seq:o.Node},o.Value&&{Map:o.Value,Scalar:o.Value,Seq:o.Value},o.Collection&&{Map:o.Collection,Seq:o.Collection},o):o}function p(o,u,m,f){if(typeof m=="function")return m(o,u,f);if(e.isMap(u))return m.Map?.(o,u,f);if(e.isSeq(u))return m.Seq?.(o,u,f);if(e.isPair(u))return m.Pair?.(o,u,f);if(e.isScalar(u))return m.Scalar?.(o,u,f);if(e.isAlias(u))return m.Alias?.(o,u,f)}function a(o,u,m){const f=u[u.length-1];if(e.isCollection(f))f.items[o]=m;else if(e.isPair(f))o==="key"?f.key=m:f.value=m;else if(e.isDocument(f))f.contents=m;else{const h=e.isAlias(f)?"alias":"scalar";throw new Error(`Cannot replace node with ${h} parent`)}}return ji.visit=r,ji.visitAsync=s,ji}var Tf;function dv(){if(Tf)return so;Tf=1;var e=oe(),t=Ra();const i={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},n=c=>c.replace(/[!,[\]{}]/g,s=>i[s]);class r{constructor(s,l){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},r.defaultYaml,s),this.tags=Object.assign({},r.defaultTags,l)}clone(){const s=new r(this.yaml,this.tags);return s.docStart=this.docStart,s}atDocument(){const s=new r(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:r.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},r.defaultTags);break}return s}add(s,l){this.atNextDocument&&(this.yaml={explicit:r.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},r.defaultTags),this.atNextDocument=!1);const d=s.trim().split(/[ \t]+/),p=d.shift();switch(p){case"%TAG":{if(d.length!==2&&(l(0,"%TAG directive should contain exactly two parts"),d.length<2))return!1;const[a,o]=d;return this.tags[a]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,d.length!==1)return l(0,"%YAML directive should contain exactly one part"),!1;const[a]=d;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const o=/^\d+\.\d+$/.test(a);return l(6,`Unsupported YAML version ${a}`,o),!1}}default:return l(0,`Unknown directive ${p}`,!0),!1}}tagName(s,l){if(s==="!")return"!";if(s[0]!=="!")return l(`Not a valid tag: ${s}`),null;if(s[1]==="<"){const o=s.slice(2,-1);return o==="!"||o==="!!"?(l(`Verbatim tags aren't resolved, so ${s} is invalid.`),null):(s[s.length-1]!==">"&&l("Verbatim tags must end with a >"),o)}const[,d,p]=s.match(/^(.*!)([^!]*)$/s);p||l(`The ${s} tag has no suffix`);const a=this.tags[d];if(a)try{return a+decodeURIComponent(p)}catch(o){return l(String(o)),null}return d==="!"?s:(l(`Could not resolve tag: ${s}`),null)}tagString(s){for(const[l,d]of Object.entries(this.tags))if(s.startsWith(d))return l+n(s.substring(d.length));return s[0]==="!"?s:`!<${s}>`}toString(s){const l=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],d=Object.entries(this.tags);let p;if(s&&d.length>0&&e.isNode(s.contents)){const a={};t.visit(s.contents,(o,u)=>{e.isNode(u)&&u.tag&&(a[u.tag]=!0)}),p=Object.keys(a)}else p=[];for(const[a,o]of d)a==="!!"&&o==="tag:yaml.org,2002:"||(!s||p.some(u=>u.startsWith(o)))&&l.push(`%TAG ${a} ${o}`);return l.join(`
41
+ `)}}return r.defaultYaml={explicit:!1,version:"1.2"},r.defaultTags={"!!":"tag:yaml.org,2002:"},so.Directives=r,so}var oo={},co={},Ot={},Of;function Wc(){if(Of)return Ot;Of=1;var e=oe(),t=Ra();function i(s){if(/[\x00-\x19\s,[\]{}]/.test(s)){const d=`Anchor must not contain whitespace or control characters: ${JSON.stringify(s)}`;throw new Error(d)}return!0}function n(s){const l=new Set;return t.visit(s,{Value(d,p){p.anchor&&l.add(p.anchor)}}),l}function r(s,l){for(let d=1;;++d){const p=`${s}${d}`;if(!l.has(p))return p}}function c(s,l){const d=[],p=new Map;let a=null;return{onAnchor:o=>{d.push(o),a??(a=n(s));const u=r(l,a);return a.add(u),u},setAnchors:()=>{for(const o of d){const u=p.get(o);if(typeof u=="object"&&u.anchor&&(e.isScalar(u.node)||e.isCollection(u.node)))u.node.anchor=u.anchor;else{const m=new Error("Failed to resolve repeated object (this should not happen)");throw m.source=o,m}}},sourceObjects:p}}return Ot.anchorIsValid=i,Ot.anchorNames=n,Ot.createNodeAnchors=c,Ot.findNewAnchor=r,Ot}var lo={},uo={},Nf;function fv(){if(Nf)return uo;Nf=1;function e(t,i,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let c=0,s=r.length;c<s;++c){const l=r[c],d=e(t,r,String(c),l);d===void 0?delete r[c]:d!==l&&(r[c]=d)}else if(r instanceof Map)for(const c of Array.from(r.keys())){const s=r.get(c),l=e(t,r,c,s);l===void 0?r.delete(c):l!==s&&r.set(c,l)}else if(r instanceof Set)for(const c of Array.from(r)){const s=e(t,r,c,c);s===void 0?r.delete(c):s!==c&&(r.delete(c),r.add(s))}else for(const[c,s]of Object.entries(r)){const l=e(t,r,c,s);l===void 0?delete r[c]:l!==s&&(r[c]=l)}return t.call(i,n,r)}return uo.applyReviver=e,uo}var po={},jf;function wt(){if(jf)return po;jf=1;var e=oe();function t(i,n,r){if(Array.isArray(i))return i.map((c,s)=>t(c,String(s),r));if(i&&typeof i.toJSON=="function"){if(!r||!e.hasAnchor(i))return i.toJSON(n,r);const c={aliasCount:0,count:1,res:void 0};r.anchors.set(i,c),r.onCreate=l=>{c.res=l,delete r.onCreate};const s=i.toJSON(n,r);return r.onCreate&&r.onCreate(s),s}return typeof i=="bigint"&&!r?.keep?Number(i):i}return po.toJS=t,po}var Cf;function Yc(){if(Cf)return lo;Cf=1;var e=fv(),t=oe(),i=wt();class n{constructor(c){Object.defineProperty(this,t.NODE_TYPE,{value:c})}clone(){const c=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(c.range=this.range.slice()),c}toJS(c,{mapAsMap:s,maxAliasCount:l,onAnchor:d,reviver:p}={}){if(!t.isDocument(c))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:c,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof l=="number"?l:100},o=i.toJS(this,"",a);if(typeof d=="function")for(const{count:u,res:m}of a.anchors.values())d(m,u);return typeof p=="function"?e.applyReviver(p,{"":o},"",o):o}}return lo.NodeBase=n,lo}var If;function Aa(){if(If)return co;If=1;var e=Wc(),t=Ra(),i=oe(),n=Yc(),r=wt();let c=class extends n.NodeBase{constructor(d){super(i.ALIAS),this.source=d,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(d,p){let a;p?.aliasResolveCache?a=p.aliasResolveCache:(a=[],t.visit(d,{Node:(u,m)=>{(i.isAlias(m)||i.hasAnchor(m))&&a.push(m)}}),p&&(p.aliasResolveCache=a));let o;for(const u of a){if(u===this)break;u.anchor===this.source&&(o=u)}return o}toJSON(d,p){if(!p)return{source:this.source};const{anchors:a,doc:o,maxAliasCount:u}=p,m=this.resolve(o,p);if(!m){const h=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(h)}let f=a.get(m);if(f||(r.toJS(m,null,p),f=a.get(m)),!f||f.res===void 0){const h="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(h)}if(u>=0&&(f.count+=1,f.aliasCount===0&&(f.aliasCount=s(o,m,a)),f.count*f.aliasCount>u)){const h="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(h)}return f.res}toString(d,p,a){const o=`*${this.source}`;if(d){if(e.anchorIsValid(this.source),d.options.verifyAliasOrder&&!d.anchors.has(this.source)){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(u)}if(d.implicitKey)return`${o} `}return o}};function s(l,d,p){if(i.isAlias(d)){const a=d.resolve(l),o=p&&a&&p.get(a);return o?o.count*o.aliasCount:0}else if(i.isCollection(d)){let a=0;for(const o of d.items){const u=s(l,o,p);u>a&&(a=u)}return a}else if(i.isPair(d)){const a=s(l,d.key,p),o=s(l,d.value,p);return Math.max(a,o)}return 1}return co.Alias=c,co}var en={},fo={},Ci={},qf;function ye(){if(qf)return Ci;qf=1;var e=oe(),t=Yc(),i=wt();const n=c=>!c||typeof c!="function"&&typeof c!="object";let r=class extends t.NodeBase{constructor(s){super(e.SCALAR),this.value=s}toJSON(s,l){return l?.keep?this.value:i.toJS(this.value,s,l)}toString(){return String(this.value)}};return r.BLOCK_FOLDED="BLOCK_FOLDED",r.BLOCK_LITERAL="BLOCK_LITERAL",r.PLAIN="PLAIN",r.QUOTE_DOUBLE="QUOTE_DOUBLE",r.QUOTE_SINGLE="QUOTE_SINGLE",Ci.Scalar=r,Ci.isScalarValue=n,Ci}var Lf;function Pa(){if(Lf)return fo;Lf=1;var e=Aa(),t=oe(),i=ye();const n="tag:yaml.org,2002:";function r(s,l,d){if(l){const p=d.filter(o=>o.tag===l),a=p.find(o=>!o.format)??p[0];if(!a)throw new Error(`Tag ${l} not found`);return a}return d.find(p=>p.identify?.(s)&&!p.format)}function c(s,l,d){if(t.isDocument(s)&&(s=s.contents),t.isNode(s))return s;if(t.isPair(s)){const g=d.schema[t.MAP].createNode?.(d.schema,null,d);return g.items.push(s),g}(s instanceof String||s instanceof Number||s instanceof Boolean||typeof BigInt<"u"&&s instanceof BigInt)&&(s=s.valueOf());const{aliasDuplicateObjects:p,onAnchor:a,onTagObj:o,schema:u,sourceObjects:m}=d;let f;if(p&&s&&typeof s=="object"){if(f=m.get(s),f)return f.anchor??(f.anchor=a(s)),new e.Alias(f.anchor);f={anchor:null,node:null},m.set(s,f)}l?.startsWith("!!")&&(l=n+l.slice(2));let h=r(s,l,u.tags);if(!h){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){const g=new i.Scalar(s);return f&&(f.node=g),g}h=s instanceof Map?u[t.MAP]:Symbol.iterator in Object(s)?u[t.SEQ]:u[t.MAP]}o&&(o(h),delete d.onTagObj);const v=h?.createNode?h.createNode(d.schema,s,d):typeof h?.nodeClass?.from=="function"?h.nodeClass.from(d.schema,s,d):new i.Scalar(s);return l?v.tag=l:h.default||(v.tag=h.tag),f&&(f.node=v),v}return fo.createNode=c,fo}var Df;function Jc(){if(Df)return en;Df=1;var e=Pa(),t=oe(),i=Yc();function n(s,l,d){let p=d;for(let a=l.length-1;a>=0;--a){const o=l[a];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){const u=[];u[o]=p,p=u}else p=new Map([[o,p]])}return e.createNode(p,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:s,sourceObjects:new Map})}const r=s=>s==null||typeof s=="object"&&!!s[Symbol.iterator]().next().done;let c=class extends i.NodeBase{constructor(l,d){super(l),Object.defineProperty(this,"schema",{value:d,configurable:!0,enumerable:!1,writable:!0})}clone(l){const d=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return l&&(d.schema=l),d.items=d.items.map(p=>t.isNode(p)||t.isPair(p)?p.clone(l):p),this.range&&(d.range=this.range.slice()),d}addIn(l,d){if(r(l))this.add(d);else{const[p,...a]=l,o=this.get(p,!0);if(t.isCollection(o))o.addIn(a,d);else if(o===void 0&&this.schema)this.set(p,n(this.schema,a,d));else throw new Error(`Expected YAML collection at ${p}. Remaining path: ${a}`)}}deleteIn(l){const[d,...p]=l;if(p.length===0)return this.delete(d);const a=this.get(d,!0);if(t.isCollection(a))return a.deleteIn(p);throw new Error(`Expected YAML collection at ${d}. Remaining path: ${p}`)}getIn(l,d){const[p,...a]=l,o=this.get(p,!0);return a.length===0?!d&&t.isScalar(o)?o.value:o:t.isCollection(o)?o.getIn(a,d):void 0}hasAllNullValues(l){return this.items.every(d=>{if(!t.isPair(d))return!1;const p=d.value;return p==null||l&&t.isScalar(p)&&p.value==null&&!p.commentBefore&&!p.comment&&!p.tag})}hasIn(l){const[d,...p]=l;if(p.length===0)return this.has(d);const a=this.get(d,!0);return t.isCollection(a)?a.hasIn(p):!1}setIn(l,d){const[p,...a]=l;if(a.length===0)this.set(p,d);else{const o=this.get(p,!0);if(t.isCollection(o))o.setIn(a,d);else if(o===void 0&&this.schema)this.set(p,n(this.schema,a,d));else throw new Error(`Expected YAML collection at ${p}. Remaining path: ${a}`)}}};return en.Collection=c,en.collectionFromPath=n,en.isEmptyPath=r,en}var Ii={},mo={},qi={},tn={},Mf;function Ta(){if(Mf)return tn;Mf=1;const e=n=>n.replace(/^(?!$)(?: $)?/gm,"#");function t(n,r){return/^\n+$/.test(n)?n.substring(1):r?n.replace(/^(?! *$)/gm,r):n}const i=(n,r,c)=>n.endsWith(`
42
42
  `)?t(c,r):c.includes(`
43
43
  `)?`
44
- `+t(c,r):(n.endsWith(" ")?"":" ")+c;return en.indentComment=t,en.lineComment=i,en.stringifyComment=e,en}var co={},Tt={},qf;function D$(){if(qf)return Tt;qf=1;const e="flow",t="block",i="quoted";function n(c,o,l="flow",{indentAtStart:d,lineWidth:p=80,minContentWidth:a=20,onFold:s,onOverflow:u}={}){if(!p||p<0)return c;p<a&&(a=0);const m=Math.max(1+a,1+p-o.length);if(c.length<=m)return c;const f=[],h={};let v=p-o.length;typeof d=="number"&&(d>p-Math.max(2,a)?f.push(0):v=p-d);let g,y,b=!1,x=-1,w=-1,S=-1;l===t&&(x=r(c,x,o.length),x!==-1&&(v=x+m));for(let E;E=c[x+=1];){if(l===i&&E==="\\"){switch(w=x,c[x+1]){case"x":x+=3;break;case"u":x+=5;break;case"U":x+=9;break;default:x+=1}S=x}if(E===`
45
- `)l===t&&(x=r(c,x,o.length)),v=x+o.length+m,g=void 0;else{if(E===" "&&y&&y!==" "&&y!==`
46
- `&&y!==" "){const P=c[x+1];P&&P!==" "&&P!==`
47
- `&&P!==" "&&(g=x)}if(x>=v)if(g)f.push(g),v=g+m,g=void 0;else if(l===i){for(;y===" "||y===" ";)y=E,E=c[x+=1],b=!0;const P=x>S+1?x-2:w-1;if(h[P])return c;f.push(P),h[P]=!0,v=P+m,g=void 0}else b=!0}y=E}if(b&&u&&u(),f.length===0)return c;s&&s();let $=c.slice(0,f[0]);for(let E=0;E<f.length;++E){const P=f[E],B=f[E+1]||c.length;P===0?$=`
48
- ${o}${c.slice(0,B)}`:(l===i&&h[P]&&($+=`${c[P]}\\`),$+=`
49
- ${o}${c.slice(P+1,B)}`)}return $}function r(c,o,l){let d=o,p=o+1,a=c[p];for(;a===" "||a===" ";)if(o<p+l)a=c[++o];else{do a=c[++o];while(a&&a!==`
50
- `);d=o,p=o+1,a=c[p]}return d}return Tt.FOLD_BLOCK=t,Tt.FOLD_FLOW=e,Tt.FOLD_QUOTED=i,Tt.foldFlowLines=n,Tt}var Lf;function Aa(){if(Lf)return co;Lf=1;var e=ye(),t=D$();const i=(u,m)=>({indentAtStart:m?u.indent.length:u.indentAtStart,lineWidth:u.options.lineWidth,minContentWidth:u.options.minContentWidth}),n=u=>/^(%|---|\.\.\.)/m.test(u);function r(u,m,f){if(!m||m<0)return!1;const h=m-f,v=u.length;if(v<=h)return!1;for(let g=0,y=0;g<v;++g)if(u[g]===`
44
+ `+t(c,r):(n.endsWith(" ")?"":" ")+c;return tn.indentComment=t,tn.lineComment=i,tn.stringifyComment=e,tn}var ho={},Nt={},Ff;function F_(){if(Ff)return Nt;Ff=1;const e="flow",t="block",i="quoted";function n(c,s,l="flow",{indentAtStart:d,lineWidth:p=80,minContentWidth:a=20,onFold:o,onOverflow:u}={}){if(!p||p<0)return c;p<a&&(a=0);const m=Math.max(1+a,1+p-s.length);if(c.length<=m)return c;const f=[],h={};let v=p-s.length;typeof d=="number"&&(d>p-Math.max(2,a)?f.push(0):v=p-d);let g,y,b=!1,x=-1,w=-1,S=-1;l===t&&(x=r(c,x,s.length),x!==-1&&(v=x+m));for(let E;E=c[x+=1];){if(l===i&&E==="\\"){switch(w=x,c[x+1]){case"x":x+=3;break;case"u":x+=5;break;case"U":x+=9;break;default:x+=1}S=x}if(E===`
45
+ `)l===t&&(x=r(c,x,s.length)),v=x+s.length+m,g=void 0;else{if(E===" "&&y&&y!==" "&&y!==`
46
+ `&&y!==" "){const O=c[x+1];O&&O!==" "&&O!==`
47
+ `&&O!==" "&&(g=x)}if(x>=v)if(g)f.push(g),v=g+m,g=void 0;else if(l===i){for(;y===" "||y===" ";)y=E,E=c[x+=1],b=!0;const O=x>S+1?x-2:w-1;if(h[O])return c;f.push(O),h[O]=!0,v=O+m,g=void 0}else b=!0}y=E}if(b&&u&&u(),f.length===0)return c;o&&o();let _=c.slice(0,f[0]);for(let E=0;E<f.length;++E){const O=f[E],U=f[E+1]||c.length;O===0?_=`
48
+ ${s}${c.slice(0,U)}`:(l===i&&h[O]&&(_+=`${c[O]}\\`),_+=`
49
+ ${s}${c.slice(O+1,U)}`)}return _}function r(c,s,l){let d=s,p=s+1,a=c[p];for(;a===" "||a===" ";)if(s<p+l)a=c[++s];else{do a=c[++s];while(a&&a!==`
50
+ `);d=s,p=s+1,a=c[p]}return d}return Nt.FOLD_BLOCK=t,Nt.FOLD_FLOW=e,Nt.FOLD_QUOTED=i,Nt.foldFlowLines=n,Nt}var zf;function Oa(){if(zf)return ho;zf=1;var e=ye(),t=F_();const i=(u,m)=>({indentAtStart:m?u.indent.length:u.indentAtStart,lineWidth:u.options.lineWidth,minContentWidth:u.options.minContentWidth}),n=u=>/^(%|---|\.\.\.)/m.test(u);function r(u,m,f){if(!m||m<0)return!1;const h=m-f,v=u.length;if(v<=h)return!1;for(let g=0,y=0;g<v;++g)if(u[g]===`
51
51
  `){if(g-y>h)return!0;if(y=g+1,v-y<=h)return!1}return!0}function c(u,m){const f=JSON.stringify(u);if(m.options.doubleQuotedAsJSON)return f;const{implicitKey:h}=m,v=m.options.doubleQuotedMinMultiLineLength,g=m.indent||(n(u)?" ":"");let y="",b=0;for(let x=0,w=f[x];w;w=f[++x])if(w===" "&&f[x+1]==="\\"&&f[x+2]==="n"&&(y+=f.slice(b,x)+"\\ ",x+=1,b=x,w="\\"),w==="\\")switch(f[x+1]){case"u":{y+=f.slice(b,x);const S=f.substr(x+2,4);switch(S){case"0000":y+="\\0";break;case"0007":y+="\\a";break;case"000b":y+="\\v";break;case"001b":y+="\\e";break;case"0085":y+="\\N";break;case"00a0":y+="\\_";break;case"2028":y+="\\L";break;case"2029":y+="\\P";break;default:S.substr(0,2)==="00"?y+="\\x"+S.substr(2):y+=f.substr(x,6)}x+=5,b=x+1}break;case"n":if(h||f[x+2]==='"'||f.length<v)x+=1;else{for(y+=f.slice(b,x)+`
52
52
 
53
53
  `;f[x+2]==="\\"&&f[x+3]==="n"&&f[x+4]!=='"';)y+=`
54
- `,x+=2;y+=g,f[x+2]===" "&&(y+="\\"),x+=1,b=x+1}break;default:x+=1}return y=b?y+f.slice(b):f,h?y:t.foldFlowLines(y,g,t.FOLD_QUOTED,i(m,!1))}function o(u,m){if(m.options.singleQuote===!1||m.implicitKey&&u.includes(`
54
+ `,x+=2;y+=g,f[x+2]===" "&&(y+="\\"),x+=1,b=x+1}break;default:x+=1}return y=b?y+f.slice(b):f,h?y:t.foldFlowLines(y,g,t.FOLD_QUOTED,i(m,!1))}function s(u,m){if(m.options.singleQuote===!1||m.implicitKey&&u.includes(`
55
55
  `)||/[ \t]\n|\n[ \t]/.test(u))return c(u,m);const f=m.indent||(n(u)?" ":""),h="'"+u.replace(/'/g,"''").replace(/\n+/g,`$&
56
- ${f}`)+"'";return m.implicitKey?h:t.foldFlowLines(h,f,t.FOLD_FLOW,i(m,!1))}function l(u,m){const{singleQuote:f}=m.options;let h;if(f===!1)h=c;else{const v=u.includes('"'),g=u.includes("'");v&&!g?h=o:g&&!v?h=c:h=f?o:c}return h(u,m)}let d;try{d=new RegExp(`(^|(?<!
56
+ ${f}`)+"'";return m.implicitKey?h:t.foldFlowLines(h,f,t.FOLD_FLOW,i(m,!1))}function l(u,m){const{singleQuote:f}=m.options;let h;if(f===!1)h=c;else{const v=u.includes('"'),g=u.includes("'");v&&!g?h=s:g&&!v?h=c:h=f?s:c}return h(u,m)}let d;try{d=new RegExp(`(^|(?<!
57
57
  ))
58
58
  +(?!
59
- |$)`,"g")}catch{d=/\n+(?!\n|$)/g}function p({comment:u,type:m,value:f},h,v,g){const{blockQuote:y,commentString:b,lineWidth:x}=h.options;if(!y||/\n[\t ]+$/.test(f)||/^\s*$/.test(f))return l(f,h);const w=h.indent||(h.forceBlockIndent||n(f)?" ":""),S=y==="literal"?!0:y==="folded"||m===e.Scalar.BLOCK_FOLDED?!1:m===e.Scalar.BLOCK_LITERAL?!0:!r(f,x,w.length);if(!f)return S?`|
59
+ |$)`,"g")}catch{d=/\n+(?!\n|$)/g}function p({comment:u,type:m,value:f},h,v,g){const{blockQuote:y,commentString:b,lineWidth:x}=h.options;if(!y||/\n[\t ]+$/.test(f))return l(f,h);const w=h.indent||(h.forceBlockIndent||n(f)?" ":""),S=y==="literal"?!0:y==="folded"||m===e.Scalar.BLOCK_FOLDED?!1:m===e.Scalar.BLOCK_LITERAL?!0:!r(f,x,w.length);if(!f)return S?`|
60
60
  `:`>
61
- `;let $,E;for(E=f.length;E>0;--E){const R=f[E-1];if(R!==`
62
- `&&R!==" "&&R!==" ")break}let P=f.substring(E);const B=P.indexOf(`
63
- `);B===-1?$="-":f===P||B!==P.length-1?($="+",g&&g()):$="",P&&(f=f.slice(0,-P.length),P[P.length-1]===`
64
- `&&(P=P.slice(0,-1)),P=P.replace(d,`$&${w}`));let D=!1,V,G=-1;for(V=0;V<f.length;++V){const R=f[V];if(R===" ")D=!0;else if(R===`
65
- `)G=V;else break}let q=f.substring(0,G<V?G+1:V);q&&(f=f.substring(q.length),q=q.replace(/\n+/g,`$&${w}`));let O=(D?w?"2":"1":"")+$;if(u&&(O+=" "+b(u.replace(/ ?[\r\n]+/g," ")),v&&v()),!S){const R=f.replace(/\n+/g,`
66
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${w}`);let T=!1;const U=i(h,!0);y!=="folded"&&m!==e.Scalar.BLOCK_FOLDED&&(U.onOverflow=()=>{T=!0});const C=t.foldFlowLines(`${q}${R}${P}`,w,t.FOLD_BLOCK,U);if(!T)return`>${O}
67
- ${w}${C}`}return f=f.replace(/\n+/g,`$&${w}`),`|${O}
68
- ${w}${q}${f}${P}`}function a(u,m,f,h){const{type:v,value:g}=u,{actualString:y,implicitKey:b,indent:x,indentStep:w,inFlow:S}=m;if(b&&g.includes(`
61
+ `;let _,E;for(E=f.length;E>0;--E){const A=f[E-1];if(A!==`
62
+ `&&A!==" "&&A!==" ")break}let O=f.substring(E);const U=O.indexOf(`
63
+ `);U===-1?_="-":f===O||U!==O.length-1?(_="+",g&&g()):_="",O&&(f=f.slice(0,-O.length),O[O.length-1]===`
64
+ `&&(O=O.slice(0,-1)),O=O.replace(d,`$&${w}`));let M=!1,B,G=-1;for(B=0;B<f.length;++B){const A=f[B];if(A===" ")M=!0;else if(A===`
65
+ `)G=B;else break}let C=f.substring(0,G<B?G+1:B);C&&(f=f.substring(C.length),C=C.replace(/\n+/g,`$&${w}`));let T=(M?w?"2":"1":"")+_;if(u&&(T+=" "+b(u.replace(/ ?[\r\n]+/g," ")),v&&v()),!S){const A=f.replace(/\n+/g,`
66
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${w}`);let P=!1;const z=i(h,!0);y!=="folded"&&m!==e.Scalar.BLOCK_FOLDED&&(z.onOverflow=()=>{P=!0});const q=t.foldFlowLines(`${C}${A}${O}`,w,t.FOLD_BLOCK,z);if(!P)return`>${T}
67
+ ${w}${q}`}return f=f.replace(/\n+/g,`$&${w}`),`|${T}
68
+ ${w}${C}${f}${O}`}function a(u,m,f,h){const{type:v,value:g}=u,{actualString:y,implicitKey:b,indent:x,indentStep:w,inFlow:S}=m;if(b&&g.includes(`
69
69
  `)||S&&/[[\]{},]/.test(g))return l(g,m);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(g))return b||S||!g.includes(`
70
70
  `)?l(g,m):p(u,m,f,h);if(!b&&!S&&v!==e.Scalar.PLAIN&&g.includes(`
71
- `))return p(u,m,f,h);if(n(g)){if(x==="")return m.forceBlockIndent=!0,p(u,m,f,h);if(b&&x===w)return l(g,m)}const $=g.replace(/\n+/g,`$&
72
- ${x}`);if(y){const E=D=>D.default&&D.tag!=="tag:yaml.org,2002:str"&&D.test?.test($),{compat:P,tags:B}=m.doc.schema;if(B.some(E)||P?.some(E))return l(g,m)}return b?$:t.foldFlowLines($,x,t.FOLD_FLOW,i(m,!1))}function s(u,m,f,h){const{implicitKey:v,inFlow:g}=m,y=typeof u.value=="string"?u:Object.assign({},u,{value:String(u.value)});let{type:b}=u;b!==e.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(y.value)&&(b=e.Scalar.QUOTE_DOUBLE);const x=S=>{switch(S){case e.Scalar.BLOCK_FOLDED:case e.Scalar.BLOCK_LITERAL:return v||g?l(y.value,m):p(y,m,f,h);case e.Scalar.QUOTE_DOUBLE:return c(y.value,m);case e.Scalar.QUOTE_SINGLE:return o(y.value,m);case e.Scalar.PLAIN:return a(y,m,f,h);default:return null}};let w=x(b);if(w===null){const{defaultKeyType:S,defaultStringType:$}=m.options,E=v&&S||$;if(w=x(E),w===null)throw new Error(`Unsupported default string type ${E}`)}return w}return co.stringifyString=s,co}var Mf;function Pa(){if(Mf)return Ni;Mf=1;var e=Bc(),t=oe(),i=Ra(),n=Aa();function r(d,p){const a=Object.assign({blockQuote:!0,commentString:i.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},d.schema.toStringOptions,p);let s;switch(a.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:d,flowCollectionPadding:a.flowCollectionPadding?" ":"",indent:"",indentStep:typeof a.indent=="number"?" ".repeat(a.indent):" ",inFlow:s,options:a}}function c(d,p){if(p.tag){const u=d.filter(m=>m.tag===p.tag);if(u.length>0)return u.find(m=>m.format===p.format)??u[0]}let a,s;if(t.isScalar(p)){s=p.value;let u=d.filter(m=>m.identify?.(s));if(u.length>1){const m=u.filter(f=>f.test);m.length>0&&(u=m)}a=u.find(m=>m.format===p.format)??u.find(m=>!m.format)}else s=p,a=d.find(u=>u.nodeClass&&s instanceof u.nodeClass);if(!a){const u=s?.constructor?.name??(s===null?"null":typeof s);throw new Error(`Tag not resolved for ${u} value`)}return a}function o(d,p,{anchors:a,doc:s}){if(!s.directives)return"";const u=[],m=(t.isScalar(d)||t.isCollection(d))&&d.anchor;m&&e.anchorIsValid(m)&&(a.add(m),u.push(`&${m}`));const f=d.tag??(p.default?null:p.tag);return f&&u.push(s.directives.tagString(f)),u.join(" ")}function l(d,p,a,s){if(t.isPair(d))return d.toString(p,a,s);if(t.isAlias(d)){if(p.doc.directives)return d.toString(p);if(p.resolvedAliases?.has(d))throw new TypeError("Cannot stringify circular structure without alias nodes");p.resolvedAliases?p.resolvedAliases.add(d):p.resolvedAliases=new Set([d]),d=d.resolve(p.doc)}let u;const m=t.isNode(d)?d:p.doc.createNode(d,{onTagObj:v=>u=v});u??(u=c(p.doc.schema.tags,m));const f=o(m,u,p);f.length>0&&(p.indentAtStart=(p.indentAtStart??0)+f.length+1);const h=typeof u.stringify=="function"?u.stringify(m,p,a,s):t.isScalar(m)?n.stringifyString(m,p,a,s):m.toString(p,a,s);return f?t.isScalar(m)||h[0]==="{"||h[0]==="["?`${f} ${h}`:`${f}
73
- ${p.indent}${h}`:h}return Ni.createStringifyContext=r,Ni.stringify=l,Ni}var Df;function F$(){if(Df)return oo;Df=1;var e=oe(),t=ye(),i=Pa(),n=Ra();function r({key:c,value:o},l,d,p){const{allNullValues:a,doc:s,indent:u,indentStep:m,options:{commentString:f,indentSeq:h,simpleKeys:v}}=l;let g=e.isNode(c)&&c.comment||null;if(v){if(g)throw new Error("With simple keys, key nodes cannot have comments");if(e.isCollection(c)||!e.isNode(c)&&typeof c=="object"){const V="With simple keys, collection cannot be used as a key value";throw new Error(V)}}let y=!v&&(!c||g&&o==null&&!l.inFlow||e.isCollection(c)||(e.isScalar(c)?c.type===t.Scalar.BLOCK_FOLDED||c.type===t.Scalar.BLOCK_LITERAL:typeof c=="object"));l=Object.assign({},l,{allNullValues:!1,implicitKey:!y&&(v||!a),indent:u+m});let b=!1,x=!1,w=i.stringify(c,l,()=>b=!0,()=>x=!0);if(!y&&!l.inFlow&&w.length>1024){if(v)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");y=!0}if(l.inFlow){if(a||o==null)return b&&d&&d(),w===""?"?":y?`? ${w}`:w}else if(a&&!v||o==null&&y)return w=`? ${w}`,g&&!b?w+=n.lineComment(w,l.indent,f(g)):x&&p&&p(),w;b&&(g=null),y?(g&&(w+=n.lineComment(w,l.indent,f(g))),w=`? ${w}
74
- ${u}:`):(w=`${w}:`,g&&(w+=n.lineComment(w,l.indent,f(g))));let S,$,E;e.isNode(o)?(S=!!o.spaceBefore,$=o.commentBefore,E=o.comment):(S=!1,$=null,E=null,o&&typeof o=="object"&&(o=s.createNode(o))),l.implicitKey=!1,!y&&!g&&e.isScalar(o)&&(l.indentAtStart=w.length+1),x=!1,!h&&m.length>=2&&!l.inFlow&&!y&&e.isSeq(o)&&!o.flow&&!o.tag&&!o.anchor&&(l.indent=l.indent.substring(2));let P=!1;const B=i.stringify(o,l,()=>P=!0,()=>x=!0);let D=" ";if(g||S||$){if(D=S?`
75
- `:"",$){const V=f($);D+=`
76
- ${n.indentComment(V,l.indent)}`}B===""&&!l.inFlow?D===`
77
- `&&(D=`
71
+ `))return p(u,m,f,h);if(n(g)){if(x==="")return m.forceBlockIndent=!0,p(u,m,f,h);if(b&&x===w)return l(g,m)}const _=g.replace(/\n+/g,`$&
72
+ ${x}`);if(y){const E=M=>M.default&&M.tag!=="tag:yaml.org,2002:str"&&M.test?.test(_),{compat:O,tags:U}=m.doc.schema;if(U.some(E)||O?.some(E))return l(g,m)}return b?_:t.foldFlowLines(_,x,t.FOLD_FLOW,i(m,!1))}function o(u,m,f,h){const{implicitKey:v,inFlow:g}=m,y=typeof u.value=="string"?u:Object.assign({},u,{value:String(u.value)});let{type:b}=u;b!==e.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(y.value)&&(b=e.Scalar.QUOTE_DOUBLE);const x=S=>{switch(S){case e.Scalar.BLOCK_FOLDED:case e.Scalar.BLOCK_LITERAL:return v||g?l(y.value,m):p(y,m,f,h);case e.Scalar.QUOTE_DOUBLE:return c(y.value,m);case e.Scalar.QUOTE_SINGLE:return s(y.value,m);case e.Scalar.PLAIN:return a(y,m,f,h);default:return null}};let w=x(b);if(w===null){const{defaultKeyType:S,defaultStringType:_}=m.options,E=v&&S||_;if(w=x(E),w===null)throw new Error(`Unsupported default string type ${E}`)}return w}return ho.stringifyString=o,ho}var Uf;function Na(){if(Uf)return qi;Uf=1;var e=Wc(),t=oe(),i=Ta(),n=Oa();function r(d,p){const a=Object.assign({blockQuote:!0,commentString:i.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},d.schema.toStringOptions,p);let o;switch(a.collectionStyle){case"block":o=!1;break;case"flow":o=!0;break;default:o=null}return{anchors:new Set,doc:d,flowCollectionPadding:a.flowCollectionPadding?" ":"",indent:"",indentStep:typeof a.indent=="number"?" ".repeat(a.indent):" ",inFlow:o,options:a}}function c(d,p){if(p.tag){const u=d.filter(m=>m.tag===p.tag);if(u.length>0)return u.find(m=>m.format===p.format)??u[0]}let a,o;if(t.isScalar(p)){o=p.value;let u=d.filter(m=>m.identify?.(o));if(u.length>1){const m=u.filter(f=>f.test);m.length>0&&(u=m)}a=u.find(m=>m.format===p.format)??u.find(m=>!m.format)}else o=p,a=d.find(u=>u.nodeClass&&o instanceof u.nodeClass);if(!a){const u=o?.constructor?.name??(o===null?"null":typeof o);throw new Error(`Tag not resolved for ${u} value`)}return a}function s(d,p,{anchors:a,doc:o}){if(!o.directives)return"";const u=[],m=(t.isScalar(d)||t.isCollection(d))&&d.anchor;m&&e.anchorIsValid(m)&&(a.add(m),u.push(`&${m}`));const f=d.tag??(p.default?null:p.tag);return f&&u.push(o.directives.tagString(f)),u.join(" ")}function l(d,p,a,o){if(t.isPair(d))return d.toString(p,a,o);if(t.isAlias(d)){if(p.doc.directives)return d.toString(p);if(p.resolvedAliases?.has(d))throw new TypeError("Cannot stringify circular structure without alias nodes");p.resolvedAliases?p.resolvedAliases.add(d):p.resolvedAliases=new Set([d]),d=d.resolve(p.doc)}let u;const m=t.isNode(d)?d:p.doc.createNode(d,{onTagObj:v=>u=v});u??(u=c(p.doc.schema.tags,m));const f=s(m,u,p);f.length>0&&(p.indentAtStart=(p.indentAtStart??0)+f.length+1);const h=typeof u.stringify=="function"?u.stringify(m,p,a,o):t.isScalar(m)?n.stringifyString(m,p,a,o):m.toString(p,a,o);return f?t.isScalar(m)||h[0]==="{"||h[0]==="["?`${f} ${h}`:`${f}
73
+ ${p.indent}${h}`:h}return qi.createStringifyContext=r,qi.stringify=l,qi}var Bf;function z_(){if(Bf)return mo;Bf=1;var e=oe(),t=ye(),i=Na(),n=Ta();function r({key:c,value:s},l,d,p){const{allNullValues:a,doc:o,indent:u,indentStep:m,options:{commentString:f,indentSeq:h,simpleKeys:v}}=l;let g=e.isNode(c)&&c.comment||null;if(v){if(g)throw new Error("With simple keys, key nodes cannot have comments");if(e.isCollection(c)||!e.isNode(c)&&typeof c=="object"){const B="With simple keys, collection cannot be used as a key value";throw new Error(B)}}let y=!v&&(!c||g&&s==null&&!l.inFlow||e.isCollection(c)||(e.isScalar(c)?c.type===t.Scalar.BLOCK_FOLDED||c.type===t.Scalar.BLOCK_LITERAL:typeof c=="object"));l=Object.assign({},l,{allNullValues:!1,implicitKey:!y&&(v||!a),indent:u+m});let b=!1,x=!1,w=i.stringify(c,l,()=>b=!0,()=>x=!0);if(!y&&!l.inFlow&&w.length>1024){if(v)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");y=!0}if(l.inFlow){if(a||s==null)return b&&d&&d(),w===""?"?":y?`? ${w}`:w}else if(a&&!v||s==null&&y)return w=`? ${w}`,g&&!b?w+=n.lineComment(w,l.indent,f(g)):x&&p&&p(),w;b&&(g=null),y?(g&&(w+=n.lineComment(w,l.indent,f(g))),w=`? ${w}
74
+ ${u}:`):(w=`${w}:`,g&&(w+=n.lineComment(w,l.indent,f(g))));let S,_,E;e.isNode(s)?(S=!!s.spaceBefore,_=s.commentBefore,E=s.comment):(S=!1,_=null,E=null,s&&typeof s=="object"&&(s=o.createNode(s))),l.implicitKey=!1,!y&&!g&&e.isScalar(s)&&(l.indentAtStart=w.length+1),x=!1,!h&&m.length>=2&&!l.inFlow&&!y&&e.isSeq(s)&&!s.flow&&!s.tag&&!s.anchor&&(l.indent=l.indent.substring(2));let O=!1;const U=i.stringify(s,l,()=>O=!0,()=>x=!0);let M=" ";if(g||S||_){if(M=S?`
75
+ `:"",_){const B=f(_);M+=`
76
+ ${n.indentComment(B,l.indent)}`}U===""&&!l.inFlow?M===`
77
+ `&&(M=`
78
78
 
79
- `):D+=`
80
- ${l.indent}`}else if(!y&&e.isCollection(o)){const V=B[0],G=B.indexOf(`
81
- `),q=G!==-1,z=l.inFlow??o.flow??o.items.length===0;if(q||!z){let O=!1;if(q&&(V==="&"||V==="!")){let R=B.indexOf(" ");V==="&"&&R!==-1&&R<G&&B[R+1]==="!"&&(R=B.indexOf(" ",R+1)),(R===-1||G<R)&&(O=!0)}O||(D=`
82
- ${l.indent}`)}}else(B===""||B[0]===`
83
- `)&&(D="");return w+=D+B,l.inFlow?P&&d&&d():E&&!P?w+=n.lineComment(w,l.indent,f(E)):x&&p&&p(),w}return oo.stringifyPair=r,oo}var lo={},ji={},Ff;function lv(){if(Ff)return ji;Ff=1;var e=lc;function t(n,...r){n==="debug"&&console.log(...r)}function i(n,r){(n==="debug"||n==="warn")&&(typeof e.emitWarning=="function"?e.emitWarning(r):console.warn(r))}return ji.debug=t,ji.warn=i,ji}var tn={},Uf;function Gc(){if(Uf)return tn;Uf=1;var e=oe(),t=ye();const i="<<",n={identify:l=>l===i||typeof l=="symbol"&&l.description===i,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new t.Scalar(Symbol(i)),{addToJSMap:c}),stringify:()=>i},r=(l,d)=>(n.identify(d)||e.isScalar(d)&&(!d.type||d.type===t.Scalar.PLAIN)&&n.identify(d.value))&&l?.doc.schema.tags.some(p=>p.tag===n.tag&&p.default);function c(l,d,p){if(p=l&&e.isAlias(p)?p.resolve(l.doc):p,e.isSeq(p))for(const a of p.items)o(l,d,a);else if(Array.isArray(p))for(const a of p)o(l,d,a);else o(l,d,p)}function o(l,d,p){const a=l&&e.isAlias(p)?p.resolve(l.doc):p;if(!e.isMap(a))throw new Error("Merge sources must be maps or map aliases");const s=a.toJSON(null,l,Map);for(const[u,m]of s)d instanceof Map?d.has(u)||d.set(u,m):d instanceof Set?d.add(u):Object.prototype.hasOwnProperty.call(d,u)||Object.defineProperty(d,u,{value:m,writable:!0,enumerable:!0,configurable:!0});return d}return tn.addMergeToJSMap=c,tn.isMergeKey=r,tn.merge=n,tn}var zf;function uv(){if(zf)return lo;zf=1;var e=lv(),t=Gc(),i=Pa(),n=oe(),r=yt();function c(l,d,{key:p,value:a}){if(n.isNode(p)&&p.addToJSMap)p.addToJSMap(l,d,a);else if(t.isMergeKey(l,p))t.addMergeToJSMap(l,d,a);else{const s=r.toJS(p,"",l);if(d instanceof Map)d.set(s,r.toJS(a,s,l));else if(d instanceof Set)d.add(s);else{const u=o(p,s,l),m=r.toJS(a,u,l);u in d?Object.defineProperty(d,u,{value:m,writable:!0,enumerable:!0,configurable:!0}):d[u]=m}}return d}function o(l,d,p){if(d===null)return"";if(typeof d!="object")return String(d);if(n.isNode(l)&&p?.doc){const a=i.createStringifyContext(p.doc,{});a.anchors=new Set;for(const u of p.anchors.keys())a.anchors.add(u.anchor);a.inFlow=!0,a.inStringifyKey=!0;const s=l.toString(a);if(!p.mapKeyWarned){let u=JSON.stringify(s);u.length>40&&(u=u.substring(0,36)+'..."'),e.warn(p.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${u}. Set mapAsMap: true to use object keys.`),p.mapKeyWarned=!0}return s}return JSON.stringify(d)}return lo.addPairToJSMap=c,lo}var Bf;function bt(){if(Bf)return Oi;Bf=1;var e=ka(),t=F$(),i=uv(),n=oe();function r(o,l,d){const p=e.createNode(o,void 0,d),a=e.createNode(l,void 0,d);return new c(p,a)}let c=class pv{constructor(l,d=null){Object.defineProperty(this,n.NODE_TYPE,{value:n.PAIR}),this.key=l,this.value=d}clone(l){let{key:d,value:p}=this;return n.isNode(d)&&(d=d.clone(l)),n.isNode(p)&&(p=p.clone(l)),new pv(d,p)}toJSON(l,d){const p=d?.mapAsMap?new Map:{};return i.addPairToJSMap(d,p,this)}toString(l,d,p){return l?.doc?t.stringifyPair(this,l,d,p):JSON.stringify(this)}};return Oi.Pair=c,Oi.createPair=r,Oi}var uo={},po={},Ci={},fo={},Vf;function dv(){if(Vf)return fo;Vf=1;var e=oe(),t=Pa(),i=Ra();function n(l,d,p){return(d.inFlow??l.flow?c:r)(l,d,p)}function r({comment:l,items:d},p,{blockItemPrefix:a,flowChars:s,itemIndent:u,onChompKeep:m,onComment:f}){const{indent:h,options:{commentString:v}}=p,g=Object.assign({},p,{indent:u,type:null});let y=!1;const b=[];for(let w=0;w<d.length;++w){const S=d[w];let $=null;if(e.isNode(S))!y&&S.spaceBefore&&b.push(""),o(p,b,S.commentBefore,y),S.comment&&($=S.comment);else if(e.isPair(S)){const P=e.isNode(S.key)?S.key:null;P&&(!y&&P.spaceBefore&&b.push(""),o(p,b,P.commentBefore,y))}y=!1;let E=t.stringify(S,g,()=>$=null,()=>y=!0);$&&(E+=i.lineComment(E,u,v($))),y&&$&&(y=!1),b.push(a+E)}let x;if(b.length===0)x=s.start+s.end;else{x=b[0];for(let w=1;w<b.length;++w){const S=b[w];x+=S?`
79
+ `):M+=`
80
+ ${l.indent}`}else if(!y&&e.isCollection(s)){const B=U[0],G=U.indexOf(`
81
+ `),C=G!==-1,V=l.inFlow??s.flow??s.items.length===0;if(C||!V){let T=!1;if(C&&(B==="&"||B==="!")){let A=U.indexOf(" ");B==="&"&&A!==-1&&A<G&&U[A+1]==="!"&&(A=U.indexOf(" ",A+1)),(A===-1||G<A)&&(T=!0)}T||(M=`
82
+ ${l.indent}`)}}else(U===""||U[0]===`
83
+ `)&&(M="");return w+=M+U,l.inFlow?O&&d&&d():E&&!O?w+=n.lineComment(w,l.indent,f(E)):x&&p&&p(),w}return mo.stringifyPair=r,mo}var vo={},Li={},Vf;function mv(){if(Vf)return Li;Vf=1;var e=hc;function t(n,...r){n==="debug"&&console.log(...r)}function i(n,r){(n==="debug"||n==="warn")&&(typeof e.emitWarning=="function"?e.emitWarning(r):console.warn(r))}return Li.debug=t,Li.warn=i,Li}var nn={},Kf;function Xc(){if(Kf)return nn;Kf=1;var e=oe(),t=ye();const i="<<",n={identify:l=>l===i||typeof l=="symbol"&&l.description===i,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new t.Scalar(Symbol(i)),{addToJSMap:c}),stringify:()=>i},r=(l,d)=>(n.identify(d)||e.isScalar(d)&&(!d.type||d.type===t.Scalar.PLAIN)&&n.identify(d.value))&&l?.doc.schema.tags.some(p=>p.tag===n.tag&&p.default);function c(l,d,p){if(p=l&&e.isAlias(p)?p.resolve(l.doc):p,e.isSeq(p))for(const a of p.items)s(l,d,a);else if(Array.isArray(p))for(const a of p)s(l,d,a);else s(l,d,p)}function s(l,d,p){const a=l&&e.isAlias(p)?p.resolve(l.doc):p;if(!e.isMap(a))throw new Error("Merge sources must be maps or map aliases");const o=a.toJSON(null,l,Map);for(const[u,m]of o)d instanceof Map?d.has(u)||d.set(u,m):d instanceof Set?d.add(u):Object.prototype.hasOwnProperty.call(d,u)||Object.defineProperty(d,u,{value:m,writable:!0,enumerable:!0,configurable:!0});return d}return nn.addMergeToJSMap=c,nn.isMergeKey=r,nn.merge=n,nn}var Gf;function hv(){if(Gf)return vo;Gf=1;var e=mv(),t=Xc(),i=Na(),n=oe(),r=wt();function c(l,d,{key:p,value:a}){if(n.isNode(p)&&p.addToJSMap)p.addToJSMap(l,d,a);else if(t.isMergeKey(l,p))t.addMergeToJSMap(l,d,a);else{const o=r.toJS(p,"",l);if(d instanceof Map)d.set(o,r.toJS(a,o,l));else if(d instanceof Set)d.add(o);else{const u=s(p,o,l),m=r.toJS(a,u,l);u in d?Object.defineProperty(d,u,{value:m,writable:!0,enumerable:!0,configurable:!0}):d[u]=m}}return d}function s(l,d,p){if(d===null)return"";if(typeof d!="object")return String(d);if(n.isNode(l)&&p?.doc){const a=i.createStringifyContext(p.doc,{});a.anchors=new Set;for(const u of p.anchors.keys())a.anchors.add(u.anchor);a.inFlow=!0,a.inStringifyKey=!0;const o=l.toString(a);if(!p.mapKeyWarned){let u=JSON.stringify(o);u.length>40&&(u=u.substring(0,36)+'..."'),e.warn(p.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${u}. Set mapAsMap: true to use object keys.`),p.mapKeyWarned=!0}return o}return JSON.stringify(d)}return vo.addPairToJSMap=c,vo}var Hf;function St(){if(Hf)return Ii;Hf=1;var e=Pa(),t=z_(),i=hv(),n=oe();function r(s,l,d){const p=e.createNode(s,void 0,d),a=e.createNode(l,void 0,d);return new c(p,a)}let c=class vv{constructor(l,d=null){Object.defineProperty(this,n.NODE_TYPE,{value:n.PAIR}),this.key=l,this.value=d}clone(l){let{key:d,value:p}=this;return n.isNode(d)&&(d=d.clone(l)),n.isNode(p)&&(p=p.clone(l)),new vv(d,p)}toJSON(l,d){const p=d?.mapAsMap?new Map:{};return i.addPairToJSMap(d,p,this)}toString(l,d,p){return l?.doc?t.stringifyPair(this,l,d,p):JSON.stringify(this)}};return Ii.Pair=c,Ii.createPair=r,Ii}var go={},yo={},Di={},bo={},Wf;function gv(){if(Wf)return bo;Wf=1;var e=oe(),t=Na(),i=Ta();function n(l,d,p){return(d.inFlow??l.flow?c:r)(l,d,p)}function r({comment:l,items:d},p,{blockItemPrefix:a,flowChars:o,itemIndent:u,onChompKeep:m,onComment:f}){const{indent:h,options:{commentString:v}}=p,g=Object.assign({},p,{indent:u,type:null});let y=!1;const b=[];for(let w=0;w<d.length;++w){const S=d[w];let _=null;if(e.isNode(S))!y&&S.spaceBefore&&b.push(""),s(p,b,S.commentBefore,y),S.comment&&(_=S.comment);else if(e.isPair(S)){const O=e.isNode(S.key)?S.key:null;O&&(!y&&O.spaceBefore&&b.push(""),s(p,b,O.commentBefore,y))}y=!1;let E=t.stringify(S,g,()=>_=null,()=>y=!0);_&&(E+=i.lineComment(E,u,v(_))),y&&_&&(y=!1),b.push(a+E)}let x;if(b.length===0)x=o.start+o.end;else{x=b[0];for(let w=1;w<b.length;++w){const S=b[w];x+=S?`
84
84
  ${h}${S}`:`
85
85
  `}}return l?(x+=`
86
- `+i.indentComment(v(l),h),f&&f()):y&&m&&m(),x}function c({items:l},d,{flowChars:p,itemIndent:a}){const{indent:s,indentStep:u,flowCollectionPadding:m,options:{commentString:f}}=d;a+=u;const h=Object.assign({},d,{indent:a,inFlow:!0,type:null});let v=!1,g=0;const y=[];for(let w=0;w<l.length;++w){const S=l[w];let $=null;if(e.isNode(S))S.spaceBefore&&y.push(""),o(d,y,S.commentBefore,!1),S.comment&&($=S.comment);else if(e.isPair(S)){const P=e.isNode(S.key)?S.key:null;P&&(P.spaceBefore&&y.push(""),o(d,y,P.commentBefore,!1),P.comment&&(v=!0));const B=e.isNode(S.value)?S.value:null;B?(B.comment&&($=B.comment),B.commentBefore&&(v=!0)):S.value==null&&P?.comment&&($=P.comment)}$&&(v=!0);let E=t.stringify(S,h,()=>$=null);w<l.length-1&&(E+=","),$&&(E+=i.lineComment(E,a,f($))),!v&&(y.length>g||E.includes(`
87
- `))&&(v=!0),y.push(E),g=y.length}const{start:b,end:x}=p;if(y.length===0)return b+x;if(!v){const w=y.reduce((S,$)=>S+$.length+2,2);v=d.options.lineWidth>0&&w>d.options.lineWidth}if(v){let w=b;for(const S of y)w+=S?`
88
- ${u}${s}${S}`:`
86
+ `+i.indentComment(v(l),h),f&&f()):y&&m&&m(),x}function c({items:l},d,{flowChars:p,itemIndent:a}){const{indent:o,indentStep:u,flowCollectionPadding:m,options:{commentString:f}}=d;a+=u;const h=Object.assign({},d,{indent:a,inFlow:!0,type:null});let v=!1,g=0;const y=[];for(let w=0;w<l.length;++w){const S=l[w];let _=null;if(e.isNode(S))S.spaceBefore&&y.push(""),s(d,y,S.commentBefore,!1),S.comment&&(_=S.comment);else if(e.isPair(S)){const O=e.isNode(S.key)?S.key:null;O&&(O.spaceBefore&&y.push(""),s(d,y,O.commentBefore,!1),O.comment&&(v=!0));const U=e.isNode(S.value)?S.value:null;U?(U.comment&&(_=U.comment),U.commentBefore&&(v=!0)):S.value==null&&O?.comment&&(_=O.comment)}_&&(v=!0);let E=t.stringify(S,h,()=>_=null);w<l.length-1&&(E+=","),_&&(E+=i.lineComment(E,a,f(_))),!v&&(y.length>g||E.includes(`
87
+ `))&&(v=!0),y.push(E),g=y.length}const{start:b,end:x}=p;if(y.length===0)return b+x;if(!v){const w=y.reduce((S,_)=>S+_.length+2,2);v=d.options.lineWidth>0&&w>d.options.lineWidth}if(v){let w=b;for(const S of y)w+=S?`
88
+ ${u}${o}${S}`:`
89
89
  `;return`${w}
90
- ${s}${x}`}else return`${b}${m}${y.join(" ")}${m}${x}`}function o({indent:l,options:{commentString:d}},p,a,s){if(a&&s&&(a=a.replace(/^\n+/,"")),a){const u=i.indentComment(d(a),l);p.push(u.trimStart())}}return fo.stringifyCollection=n,fo}var Kf;function xt(){if(Kf)return Ci;Kf=1;var e=dv(),t=uv(),i=Kc(),n=oe(),r=bt(),c=ye();function o(d,p){const a=n.isScalar(p)?p.value:p;for(const s of d)if(n.isPair(s)&&(s.key===p||s.key===a||n.isScalar(s.key)&&s.key.value===a))return s}let l=class extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(p){super(n.MAP,p),this.items=[]}static from(p,a,s){const{keepUndefined:u,replacer:m}=s,f=new this(p),h=(v,g)=>{if(typeof m=="function")g=m.call(a,v,g);else if(Array.isArray(m)&&!m.includes(v))return;(g!==void 0||u)&&f.items.push(r.createPair(v,g,s))};if(a instanceof Map)for(const[v,g]of a)h(v,g);else if(a&&typeof a=="object")for(const v of Object.keys(a))h(v,a[v]);return typeof p.sortMapEntries=="function"&&f.items.sort(p.sortMapEntries),f}add(p,a){let s;n.isPair(p)?s=p:!p||typeof p!="object"||!("key"in p)?s=new r.Pair(p,p?.value):s=new r.Pair(p.key,p.value);const u=o(this.items,s.key),m=this.schema?.sortMapEntries;if(u){if(!a)throw new Error(`Key ${s.key} already set`);n.isScalar(u.value)&&c.isScalarValue(s.value)?u.value.value=s.value:u.value=s.value}else if(m){const f=this.items.findIndex(h=>m(s,h)<0);f===-1?this.items.push(s):this.items.splice(f,0,s)}else this.items.push(s)}delete(p){const a=o(this.items,p);return a?this.items.splice(this.items.indexOf(a),1).length>0:!1}get(p,a){const u=o(this.items,p)?.value;return(!a&&n.isScalar(u)?u.value:u)??void 0}has(p){return!!o(this.items,p)}set(p,a){this.add(new r.Pair(p,a),!0)}toJSON(p,a,s){const u=s?new s:a?.mapAsMap?new Map:{};a?.onCreate&&a.onCreate(u);for(const m of this.items)t.addPairToJSMap(a,u,m);return u}toString(p,a,s){if(!p)return JSON.stringify(this);for(const u of this.items)if(!n.isPair(u))throw new Error(`Map items must all be pairs; found ${JSON.stringify(u)} instead`);return!p.allNullValues&&this.hasAllNullValues(!1)&&(p=Object.assign({},p,{allNullValues:!0})),e.stringifyCollection(this,p,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:p.indent||"",onChompKeep:s,onComment:a})}};return Ci.YAMLMap=l,Ci.findPair=o,Ci}var Gf;function wn(){if(Gf)return po;Gf=1;var e=oe(),t=xt();const i={collection:"map",default:!0,nodeClass:t.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(n,r){return e.isMap(n)||r("Expected a mapping for this tag"),n},createNode:(n,r,c)=>t.YAMLMap.from(n,r,c)};return po.map=i,po}var mo={},ho={},Hf;function wt(){if(Hf)return ho;Hf=1;var e=ka(),t=dv(),i=Kc(),n=oe(),r=ye(),c=yt();let o=class extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(p){super(n.SEQ,p),this.items=[]}add(p){this.items.push(p)}delete(p){const a=l(p);return typeof a!="number"?!1:this.items.splice(a,1).length>0}get(p,a){const s=l(p);if(typeof s!="number")return;const u=this.items[s];return!a&&n.isScalar(u)?u.value:u}has(p){const a=l(p);return typeof a=="number"&&a<this.items.length}set(p,a){const s=l(p);if(typeof s!="number")throw new Error(`Expected a valid index, not ${p}.`);const u=this.items[s];n.isScalar(u)&&r.isScalarValue(a)?u.value=a:this.items[s]=a}toJSON(p,a){const s=[];a?.onCreate&&a.onCreate(s);let u=0;for(const m of this.items)s.push(c.toJS(m,String(u++),a));return s}toString(p,a,s){return p?t.stringifyCollection(this,p,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(p.indent||"")+" ",onChompKeep:s,onComment:a}):JSON.stringify(this)}static from(p,a,s){const{replacer:u}=s,m=new this(p);if(a&&Symbol.iterator in Object(a)){let f=0;for(let h of a){if(typeof u=="function"){const v=a instanceof Set?h:String(f++);h=u.call(a,v,h)}m.items.push(e.createNode(h,void 0,s))}}return m}};function l(d){let p=n.isScalar(d)?d.value:d;return p&&typeof p=="string"&&(p=Number(p)),typeof p=="number"&&Number.isInteger(p)&&p>=0?p:null}return ho.YAMLSeq=o,ho}var Wf;function Sn(){if(Wf)return mo;Wf=1;var e=oe(),t=wt();const i={collection:"seq",default:!0,nodeClass:t.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(n,r){return e.isSeq(n)||r("Expected a sequence for this tag"),n},createNode:(n,r,c)=>t.YAMLSeq.from(n,r,c)};return mo.seq=i,mo}var vo={},Yf;function Ta(){if(Yf)return vo;Yf=1;var e=Aa();const t={identify:i=>typeof i=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:i=>i,stringify(i,n,r,c){return n=Object.assign({actualString:!0},n),e.stringifyString(i,n,r,c)}};return vo.string=t,vo}var Ii={},go={},Jf;function Hc(){if(Jf)return go;Jf=1;var e=ye();const t={identify:i=>i==null,createNode:()=>new e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new e.Scalar(null),stringify:({source:i},n)=>typeof i=="string"&&t.test.test(i)?i:n.options.nullStr};return go.nullTag=t,go}var yo={},Xf;function fv(){if(Xf)return yo;Xf=1;var e=ye();const t={identify:i=>typeof i=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:i=>new e.Scalar(i[0]==="t"||i[0]==="T"),stringify({source:i,value:n},r){if(i&&t.test.test(i)){const c=i[0]==="t"||i[0]==="T";if(n===c)return i}return n?r.options.trueStr:r.options.falseStr}};return yo.boolTag=t,yo}var nn={},bo={},Qf;function $n(){if(Qf)return bo;Qf=1;function e({format:t,minFractionDigits:i,tag:n,value:r}){if(typeof r=="bigint")return String(r);const c=typeof r=="number"?r:Number(r);if(!isFinite(c))return isNaN(c)?".nan":c<0?"-.inf":".inf";let o=JSON.stringify(r);if(!t&&i&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(o)){let l=o.indexOf(".");l<0&&(l=o.length,o+=".");let d=i-(o.length-l-1);for(;d-- >0;)o+="0"}return o}return bo.stringifyNumber=e,bo}var Zf;function mv(){if(Zf)return nn;Zf=1;var e=ye(),t=$n();const i={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:c=>c.slice(-3).toLowerCase()==="nan"?NaN:c[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},n={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:c=>parseFloat(c),stringify(c){const o=Number(c.value);return isFinite(o)?o.toExponential():t.stringifyNumber(c)}},r={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(c){const o=new e.Scalar(parseFloat(c)),l=c.indexOf(".");return l!==-1&&c[c.length-1]==="0"&&(o.minFractionDigits=c.length-l-1),o},stringify:t.stringifyNumber};return nn.float=r,nn.floatExp=n,nn.floatNaN=i,nn}var an={},em;function hv(){if(em)return an;em=1;var e=$n();const t=l=>typeof l=="bigint"||Number.isInteger(l),i=(l,d,p,{intAsBigInt:a})=>a?BigInt(l):parseInt(l.substring(d),p);function n(l,d,p){const{value:a}=l;return t(a)&&a>=0?p+a.toString(d):e.stringifyNumber(l)}const r={identify:l=>t(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(l,d,p)=>i(l,2,8,p),stringify:l=>n(l,8,"0o")},c={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(l,d,p)=>i(l,0,10,p),stringify:e.stringifyNumber},o={identify:l=>t(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(l,d,p)=>i(l,2,16,p),stringify:l=>n(l,16,"0x")};return an.int=c,an.intHex=o,an.intOct=r,an}var xo={},tm;function U$(){if(tm)return xo;tm=1;var e=wn(),t=Hc(),i=Sn(),n=Ta(),r=fv(),c=mv(),o=hv();const l=[e.map,i.seq,n.string,t.nullTag,r.boolTag,o.intOct,o.int,o.intHex,c.floatNaN,c.floatExp,c.float];return xo.schema=l,xo}var wo={},nm;function z$(){if(nm)return wo;nm=1;var e=ye(),t=wn(),i=Sn();function n(d){return typeof d=="bigint"||Number.isInteger(d)}const r=({value:d})=>JSON.stringify(d),c=[{identify:d=>typeof d=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:d=>d,stringify:r},{identify:d=>d==null,createNode:()=>new e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:r},{identify:d=>typeof d=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:d=>d==="true",stringify:r},{identify:n,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(d,p,{intAsBigInt:a})=>a?BigInt(d):parseInt(d,10),stringify:({value:d})=>n(d)?d.toString():JSON.stringify(d)},{identify:d=>typeof d=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:d=>parseFloat(d),stringify:r}],o={default:!0,tag:"",test:/^/,resolve(d,p){return p(`Unresolved plain scalar ${JSON.stringify(d)}`),d}},l=[t.map,i.seq].concat(c,o);return wo.schema=l,wo}var So={},im;function vv(){if(im)return So;im=1;var e=Gv,t=ye(),i=Aa();const n={identify:r=>r instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(r,c){if(typeof e.Buffer=="function")return e.Buffer.from(r,"base64");if(typeof atob=="function"){const o=atob(r.replace(/[\n\r]/g,"")),l=new Uint8Array(o.length);for(let d=0;d<o.length;++d)l[d]=o.charCodeAt(d);return l}else return c("This environment does not support reading binary tags; either Buffer or atob is required"),r},stringify({comment:r,type:c,value:o},l,d,p){if(!o)return"";const a=o;let s;if(typeof e.Buffer=="function")s=a instanceof e.Buffer?a.toString("base64"):e.Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let m=0;m<a.length;++m)u+=String.fromCharCode(a[m]);s=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(c??(c=t.Scalar.BLOCK_LITERAL),c!==t.Scalar.QUOTE_DOUBLE){const u=Math.max(l.options.lineWidth-l.indent.length,l.options.minContentWidth),m=Math.ceil(s.length/u),f=new Array(m);for(let h=0,v=0;h<m;++h,v+=u)f[h]=s.substr(v,u);s=f.join(c===t.Scalar.BLOCK_LITERAL?`
91
- `:" ")}return i.stringifyString({comment:r,type:c,value:s},l,d,p)}};return So.binary=n,So}var qi={},rn={},am;function Wc(){if(am)return rn;am=1;var e=oe(),t=bt(),i=ye(),n=wt();function r(l,d){if(e.isSeq(l))for(let p=0;p<l.items.length;++p){let a=l.items[p];if(!e.isPair(a)){if(e.isMap(a)){a.items.length>1&&d("Each pair must have its own sequence indicator");const s=a.items[0]||new t.Pair(new i.Scalar(null));if(a.commentBefore&&(s.key.commentBefore=s.key.commentBefore?`${a.commentBefore}
92
- ${s.key.commentBefore}`:a.commentBefore),a.comment){const u=s.value??s.key;u.comment=u.comment?`${a.comment}
93
- ${u.comment}`:a.comment}a=s}l.items[p]=e.isPair(a)?a:new t.Pair(a)}}else d("Expected a sequence for this tag");return l}function c(l,d,p){const{replacer:a}=p,s=new n.YAMLSeq(l);s.tag="tag:yaml.org,2002:pairs";let u=0;if(d&&Symbol.iterator in Object(d))for(let m of d){typeof a=="function"&&(m=a.call(d,String(u++),m));let f,h;if(Array.isArray(m))if(m.length===2)f=m[0],h=m[1];else throw new TypeError(`Expected [key, value] tuple: ${m}`);else if(m&&m instanceof Object){const v=Object.keys(m);if(v.length===1)f=v[0],h=m[f];else throw new TypeError(`Expected tuple with one key, not ${v.length} keys`)}else f=m;s.items.push(t.createPair(f,h,p))}return s}const o={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:r,createNode:c};return rn.createPairs=c,rn.pairs=o,rn.resolvePairs=r,rn}var rm;function gv(){if(rm)return qi;rm=1;var e=oe(),t=yt(),i=xt(),n=wt(),r=Wc();class c extends n.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=c.tag}toJSON(d,p){if(!p)return super.toJSON(d);const a=new Map;p?.onCreate&&p.onCreate(a);for(const s of this.items){let u,m;if(e.isPair(s)?(u=t.toJS(s.key,"",p),m=t.toJS(s.value,u,p)):u=t.toJS(s,"",p),a.has(u))throw new Error("Ordered maps must not include duplicate keys");a.set(u,m)}return a}static from(d,p,a){const s=r.createPairs(d,p,a),u=new this;return u.items=s.items,u}}c.tag="tag:yaml.org,2002:omap";const o={collection:"seq",identify:l=>l instanceof Map,nodeClass:c,default:!1,tag:"tag:yaml.org,2002:omap",resolve(l,d){const p=r.resolvePairs(l,d),a=[];for(const{key:s}of p.items)e.isScalar(s)&&(a.includes(s.value)?d(`Ordered maps must not include duplicate keys: ${s.value}`):a.push(s.value));return Object.assign(new c,p)},createNode:(l,d,p)=>c.from(l,d,p)};return qi.YAMLOMap=c,qi.omap=o,qi}var $o={},Li={},sm;function B$(){if(sm)return Li;sm=1;var e=ye();function t({value:r,source:c},o){return c&&(r?i:n).test.test(c)?c:r?o.options.trueStr:o.options.falseStr}const i={identify:r=>r===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new e.Scalar(!0),stringify:t},n={identify:r=>r===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new e.Scalar(!1),stringify:t};return Li.falseTag=n,Li.trueTag=i,Li}var sn={},om;function V$(){if(om)return sn;om=1;var e=ye(),t=$n();const i={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:c=>c.slice(-3).toLowerCase()==="nan"?NaN:c[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},n={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:c=>parseFloat(c.replace(/_/g,"")),stringify(c){const o=Number(c.value);return isFinite(o)?o.toExponential():t.stringifyNumber(c)}},r={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(c){const o=new e.Scalar(parseFloat(c.replace(/_/g,""))),l=c.indexOf(".");if(l!==-1){const d=c.substring(l+1).replace(/_/g,"");d[d.length-1]==="0"&&(o.minFractionDigits=d.length)}return o},stringify:t.stringifyNumber};return sn.float=r,sn.floatExp=n,sn.floatNaN=i,sn}var Ot={},cm;function K$(){if(cm)return Ot;cm=1;var e=$n();const t=d=>typeof d=="bigint"||Number.isInteger(d);function i(d,p,a,{intAsBigInt:s}){const u=d[0];if((u==="-"||u==="+")&&(p+=1),d=d.substring(p).replace(/_/g,""),s){switch(a){case 2:d=`0b${d}`;break;case 8:d=`0o${d}`;break;case 16:d=`0x${d}`;break}const f=BigInt(d);return u==="-"?BigInt(-1)*f:f}const m=parseInt(d,a);return u==="-"?-1*m:m}function n(d,p,a){const{value:s}=d;if(t(s)){const u=s.toString(p);return s<0?"-"+a+u.substr(1):a+u}return e.stringifyNumber(d)}const r={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(d,p,a)=>i(d,2,2,a),stringify:d=>n(d,2,"0b")},c={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(d,p,a)=>i(d,1,8,a),stringify:d=>n(d,8,"0")},o={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(d,p,a)=>i(d,0,10,a),stringify:e.stringifyNumber},l={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(d,p,a)=>i(d,2,16,a),stringify:d=>n(d,16,"0x")};return Ot.int=o,Ot.intBin=r,Ot.intHex=l,Ot.intOct=c,Ot}var Mi={},lm;function yv(){if(lm)return Mi;lm=1;var e=oe(),t=bt(),i=xt();class n extends i.YAMLMap{constructor(o){super(o),this.tag=n.tag}add(o){let l;e.isPair(o)?l=o:o&&typeof o=="object"&&"key"in o&&"value"in o&&o.value===null?l=new t.Pair(o.key,null):l=new t.Pair(o,null),i.findPair(this.items,l.key)||this.items.push(l)}get(o,l){const d=i.findPair(this.items,o);return!l&&e.isPair(d)?e.isScalar(d.key)?d.key.value:d.key:d}set(o,l){if(typeof l!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof l}`);const d=i.findPair(this.items,o);d&&!l?this.items.splice(this.items.indexOf(d),1):!d&&l&&this.items.push(new t.Pair(o))}toJSON(o,l){return super.toJSON(o,l,Set)}toString(o,l,d){if(!o)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},o,{allNullValues:!0}),l,d);throw new Error("Set items must all have null values")}static from(o,l,d){const{replacer:p}=d,a=new this(o);if(l&&Symbol.iterator in Object(l))for(let s of l)typeof p=="function"&&(s=p.call(l,s,s)),a.items.push(t.createPair(s,null,d));return a}}n.tag="tag:yaml.org,2002:set";const r={collection:"map",identify:c=>c instanceof Set,nodeClass:n,default:!1,tag:"tag:yaml.org,2002:set",createNode:(c,o,l)=>n.from(c,o,l),resolve(c,o){if(e.isMap(c)){if(c.hasAllNullValues(!0))return Object.assign(new n,c);o("Set items must all have null values")}else o("Expected a mapping for this tag");return c}};return Mi.YAMLSet=n,Mi.set=r,Mi}var on={},um;function bv(){if(um)return on;um=1;var e=$n();function t(o,l){const d=o[0],p=d==="-"||d==="+"?o.substring(1):o,a=u=>l?BigInt(u):Number(u),s=p.replace(/_/g,"").split(":").reduce((u,m)=>u*a(60)+a(m),a(0));return d==="-"?a(-1)*s:s}function i(o){let{value:l}=o,d=u=>u;if(typeof l=="bigint")d=u=>BigInt(u);else if(isNaN(l)||!isFinite(l))return e.stringifyNumber(o);let p="";l<0&&(p="-",l*=d(-1));const a=d(60),s=[l%a];return l<60?s.unshift(0):(l=(l-s[0])/a,s.unshift(l%a),l>=60&&(l=(l-s[0])/a,s.unshift(l))),p+s.map(u=>String(u).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const n={identify:o=>typeof o=="bigint"||Number.isInteger(o),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(o,l,{intAsBigInt:d})=>t(o,d),stringify:i},r={identify:o=>typeof o=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:o=>t(o,!1),stringify:i},c={identify:o=>o instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(o){const l=o.match(c.test);if(!l)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,d,p,a,s,u,m]=l.map(Number),f=l[7]?Number((l[7]+"00").substr(1,3)):0;let h=Date.UTC(d,p-1,a,s||0,u||0,m||0,f);const v=l[8];if(v&&v!=="Z"){let g=t(v,!1);Math.abs(g)<30&&(g*=60),h-=6e4*g}return new Date(h)},stringify:({value:o})=>o?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};return on.floatTime=r,on.intTime=n,on.timestamp=c,on}var pm;function G$(){if(pm)return $o;pm=1;var e=wn(),t=Hc(),i=Sn(),n=Ta(),r=vv(),c=B$(),o=V$(),l=K$(),d=Gc(),p=gv(),a=Wc(),s=yv(),u=bv();const m=[e.map,i.seq,n.string,t.nullTag,c.trueTag,c.falseTag,l.intBin,l.intOct,l.int,l.intHex,o.floatNaN,o.floatExp,o.float,r.binary,d.merge,p.omap,a.pairs,s.set,u.intTime,u.floatTime,u.timestamp];return $o.schema=m,$o}var dm;function H$(){if(dm)return Ii;dm=1;var e=wn(),t=Hc(),i=Sn(),n=Ta(),r=fv(),c=mv(),o=hv(),l=U$(),d=z$(),p=vv(),a=Gc(),s=gv(),u=Wc(),m=G$(),f=yv(),h=bv();const v=new Map([["core",l.schema],["failsafe",[e.map,i.seq,n.string]],["json",d.schema],["yaml11",m.schema],["yaml-1.1",m.schema]]),g={binary:p.binary,bool:r.boolTag,float:c.float,floatExp:c.floatExp,floatNaN:c.floatNaN,floatTime:h.floatTime,int:o.int,intHex:o.intHex,intOct:o.intOct,intTime:h.intTime,map:e.map,merge:a.merge,null:t.nullTag,omap:s.omap,pairs:u.pairs,seq:i.seq,set:f.set,timestamp:h.timestamp},y={"tag:yaml.org,2002:binary":p.binary,"tag:yaml.org,2002:merge":a.merge,"tag:yaml.org,2002:omap":s.omap,"tag:yaml.org,2002:pairs":u.pairs,"tag:yaml.org,2002:set":f.set,"tag:yaml.org,2002:timestamp":h.timestamp};function b(x,w,S){const $=v.get(w);if($&&!x)return S&&!$.includes(a.merge)?$.concat(a.merge):$.slice();let E=$;if(!E)if(Array.isArray(x))E=[];else{const P=Array.from(v.keys()).filter(B=>B!=="yaml11").map(B=>JSON.stringify(B)).join(", ");throw new Error(`Unknown schema "${w}"; use one of ${P} or define customTags array`)}if(Array.isArray(x))for(const P of x)E=E.concat(P);else typeof x=="function"&&(E=x(E.slice()));return S&&(E=E.concat(a.merge)),E.reduce((P,B)=>{const D=typeof B=="string"?g[B]:B;if(!D){const V=JSON.stringify(B),G=Object.keys(g).map(q=>JSON.stringify(q)).join(", ");throw new Error(`Unknown custom tag ${V}; use one of ${G}`)}return P.includes(D)||P.push(D),P},[])}return Ii.coreKnownTags=y,Ii.getTags=b,Ii}var fm;function wv(){if(fm)return uo;fm=1;var e=oe(),t=wn(),i=Sn(),n=Ta(),r=H$();const c=(l,d)=>l.key<d.key?-1:l.key>d.key?1:0;let o=class xv{constructor({compat:d,customTags:p,merge:a,resolveKnownTags:s,schema:u,sortMapEntries:m,toStringDefaults:f}){this.compat=Array.isArray(d)?r.getTags(d,"compat"):d?r.getTags(null,d):null,this.name=typeof u=="string"&&u||"core",this.knownTags=s?r.coreKnownTags:{},this.tags=r.getTags(p,this.name,a),this.toStringOptions=f??null,Object.defineProperty(this,e.MAP,{value:t.map}),Object.defineProperty(this,e.SCALAR,{value:n.string}),Object.defineProperty(this,e.SEQ,{value:i.seq}),this.sortMapEntries=typeof m=="function"?m:m===!0?c:null}clone(){const d=Object.create(xv.prototype,Object.getOwnPropertyDescriptors(this));return d.tags=this.tags.slice(),d}};return uo.Schema=o,uo}var _o={},mm;function W$(){if(mm)return _o;mm=1;var e=oe(),t=Pa(),i=Ra();function n(r,c){const o=[];let l=c.directives===!0;if(c.directives!==!1&&r.directives){const u=r.directives.toString(r);u?(o.push(u),l=!0):r.directives.docStart&&(l=!0)}l&&o.push("---");const d=t.createStringifyContext(r,c),{commentString:p}=d.options;if(r.commentBefore){o.length!==1&&o.unshift("");const u=p(r.commentBefore);o.unshift(i.indentComment(u,""))}let a=!1,s=null;if(r.contents){if(e.isNode(r.contents)){if(r.contents.spaceBefore&&l&&o.push(""),r.contents.commentBefore){const f=p(r.contents.commentBefore);o.push(i.indentComment(f,""))}d.forceBlockIndent=!!r.comment,s=r.contents.comment}const u=s?void 0:()=>a=!0;let m=t.stringify(r.contents,d,()=>s=null,u);s&&(m+=i.lineComment(m,"",p(s))),(m[0]==="|"||m[0]===">")&&o[o.length-1]==="---"?o[o.length-1]=`--- ${m}`:o.push(m)}else o.push(t.stringify(r.contents,d));if(r.directives?.docEnd)if(r.comment){const u=p(r.comment);u.includes(`
94
- `)?(o.push("..."),o.push(i.indentComment(u,""))):o.push(`... ${u}`)}else o.push("...");else{let u=r.comment;u&&a&&(u=u.replace(/^\n+/,"")),u&&((!a||s)&&o[o.length-1]!==""&&o.push(""),o.push(i.indentComment(p(u),"")))}return o.join(`
90
+ ${o}${x}`}else return`${b}${m}${y.join(" ")}${m}${x}`}function s({indent:l,options:{commentString:d}},p,a,o){if(a&&o&&(a=a.replace(/^\n+/,"")),a){const u=i.indentComment(d(a),l);p.push(u.trimStart())}}return bo.stringifyCollection=n,bo}var Yf;function _t(){if(Yf)return Di;Yf=1;var e=gv(),t=hv(),i=Jc(),n=oe(),r=St(),c=ye();function s(d,p){const a=n.isScalar(p)?p.value:p;for(const o of d)if(n.isPair(o)&&(o.key===p||o.key===a||n.isScalar(o.key)&&o.key.value===a))return o}let l=class extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(p){super(n.MAP,p),this.items=[]}static from(p,a,o){const{keepUndefined:u,replacer:m}=o,f=new this(p),h=(v,g)=>{if(typeof m=="function")g=m.call(a,v,g);else if(Array.isArray(m)&&!m.includes(v))return;(g!==void 0||u)&&f.items.push(r.createPair(v,g,o))};if(a instanceof Map)for(const[v,g]of a)h(v,g);else if(a&&typeof a=="object")for(const v of Object.keys(a))h(v,a[v]);return typeof p.sortMapEntries=="function"&&f.items.sort(p.sortMapEntries),f}add(p,a){let o;n.isPair(p)?o=p:!p||typeof p!="object"||!("key"in p)?o=new r.Pair(p,p?.value):o=new r.Pair(p.key,p.value);const u=s(this.items,o.key),m=this.schema?.sortMapEntries;if(u){if(!a)throw new Error(`Key ${o.key} already set`);n.isScalar(u.value)&&c.isScalarValue(o.value)?u.value.value=o.value:u.value=o.value}else if(m){const f=this.items.findIndex(h=>m(o,h)<0);f===-1?this.items.push(o):this.items.splice(f,0,o)}else this.items.push(o)}delete(p){const a=s(this.items,p);return a?this.items.splice(this.items.indexOf(a),1).length>0:!1}get(p,a){const u=s(this.items,p)?.value;return(!a&&n.isScalar(u)?u.value:u)??void 0}has(p){return!!s(this.items,p)}set(p,a){this.add(new r.Pair(p,a),!0)}toJSON(p,a,o){const u=o?new o:a?.mapAsMap?new Map:{};a?.onCreate&&a.onCreate(u);for(const m of this.items)t.addPairToJSMap(a,u,m);return u}toString(p,a,o){if(!p)return JSON.stringify(this);for(const u of this.items)if(!n.isPair(u))throw new Error(`Map items must all be pairs; found ${JSON.stringify(u)} instead`);return!p.allNullValues&&this.hasAllNullValues(!1)&&(p=Object.assign({},p,{allNullValues:!0})),e.stringifyCollection(this,p,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:p.indent||"",onChompKeep:o,onComment:a})}};return Di.YAMLMap=l,Di.findPair=s,Di}var Jf;function Sn(){if(Jf)return yo;Jf=1;var e=oe(),t=_t();const i={collection:"map",default:!0,nodeClass:t.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(n,r){return e.isMap(n)||r("Expected a mapping for this tag"),n},createNode:(n,r,c)=>t.YAMLMap.from(n,r,c)};return yo.map=i,yo}var xo={},wo={},Xf;function $t(){if(Xf)return wo;Xf=1;var e=Pa(),t=gv(),i=Jc(),n=oe(),r=ye(),c=wt();let s=class extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(p){super(n.SEQ,p),this.items=[]}add(p){this.items.push(p)}delete(p){const a=l(p);return typeof a!="number"?!1:this.items.splice(a,1).length>0}get(p,a){const o=l(p);if(typeof o!="number")return;const u=this.items[o];return!a&&n.isScalar(u)?u.value:u}has(p){const a=l(p);return typeof a=="number"&&a<this.items.length}set(p,a){const o=l(p);if(typeof o!="number")throw new Error(`Expected a valid index, not ${p}.`);const u=this.items[o];n.isScalar(u)&&r.isScalarValue(a)?u.value=a:this.items[o]=a}toJSON(p,a){const o=[];a?.onCreate&&a.onCreate(o);let u=0;for(const m of this.items)o.push(c.toJS(m,String(u++),a));return o}toString(p,a,o){return p?t.stringifyCollection(this,p,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(p.indent||"")+" ",onChompKeep:o,onComment:a}):JSON.stringify(this)}static from(p,a,o){const{replacer:u}=o,m=new this(p);if(a&&Symbol.iterator in Object(a)){let f=0;for(let h of a){if(typeof u=="function"){const v=a instanceof Set?h:String(f++);h=u.call(a,v,h)}m.items.push(e.createNode(h,void 0,o))}}return m}};function l(d){let p=n.isScalar(d)?d.value:d;return p&&typeof p=="string"&&(p=Number(p)),typeof p=="number"&&Number.isInteger(p)&&p>=0?p:null}return wo.YAMLSeq=s,wo}var Qf;function _n(){if(Qf)return xo;Qf=1;var e=oe(),t=$t();const i={collection:"seq",default:!0,nodeClass:t.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(n,r){return e.isSeq(n)||r("Expected a sequence for this tag"),n},createNode:(n,r,c)=>t.YAMLSeq.from(n,r,c)};return xo.seq=i,xo}var So={},Zf;function ja(){if(Zf)return So;Zf=1;var e=Oa();const t={identify:i=>typeof i=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:i=>i,stringify(i,n,r,c){return n=Object.assign({actualString:!0},n),e.stringifyString(i,n,r,c)}};return So.string=t,So}var Mi={},_o={},em;function Qc(){if(em)return _o;em=1;var e=ye();const t={identify:i=>i==null,createNode:()=>new e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new e.Scalar(null),stringify:({source:i},n)=>typeof i=="string"&&t.test.test(i)?i:n.options.nullStr};return _o.nullTag=t,_o}var $o={},tm;function yv(){if(tm)return $o;tm=1;var e=ye();const t={identify:i=>typeof i=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:i=>new e.Scalar(i[0]==="t"||i[0]==="T"),stringify({source:i,value:n},r){if(i&&t.test.test(i)){const c=i[0]==="t"||i[0]==="T";if(n===c)return i}return n?r.options.trueStr:r.options.falseStr}};return $o.boolTag=t,$o}var an={},Eo={},nm;function $n(){if(nm)return Eo;nm=1;function e({format:t,minFractionDigits:i,tag:n,value:r}){if(typeof r=="bigint")return String(r);const c=typeof r=="number"?r:Number(r);if(!isFinite(c))return isNaN(c)?".nan":c<0?"-.inf":".inf";let s=JSON.stringify(r);if(!t&&i&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let l=s.indexOf(".");l<0&&(l=s.length,s+=".");let d=i-(s.length-l-1);for(;d-- >0;)s+="0"}return s}return Eo.stringifyNumber=e,Eo}var im;function bv(){if(im)return an;im=1;var e=ye(),t=$n();const i={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:c=>c.slice(-3).toLowerCase()==="nan"?NaN:c[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},n={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:c=>parseFloat(c),stringify(c){const s=Number(c.value);return isFinite(s)?s.toExponential():t.stringifyNumber(c)}},r={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(c){const s=new e.Scalar(parseFloat(c)),l=c.indexOf(".");return l!==-1&&c[c.length-1]==="0"&&(s.minFractionDigits=c.length-l-1),s},stringify:t.stringifyNumber};return an.float=r,an.floatExp=n,an.floatNaN=i,an}var rn={},am;function xv(){if(am)return rn;am=1;var e=$n();const t=l=>typeof l=="bigint"||Number.isInteger(l),i=(l,d,p,{intAsBigInt:a})=>a?BigInt(l):parseInt(l.substring(d),p);function n(l,d,p){const{value:a}=l;return t(a)&&a>=0?p+a.toString(d):e.stringifyNumber(l)}const r={identify:l=>t(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(l,d,p)=>i(l,2,8,p),stringify:l=>n(l,8,"0o")},c={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(l,d,p)=>i(l,0,10,p),stringify:e.stringifyNumber},s={identify:l=>t(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(l,d,p)=>i(l,2,16,p),stringify:l=>n(l,16,"0x")};return rn.int=c,rn.intHex=s,rn.intOct=r,rn}var ko={},rm;function U_(){if(rm)return ko;rm=1;var e=Sn(),t=Qc(),i=_n(),n=ja(),r=yv(),c=bv(),s=xv();const l=[e.map,i.seq,n.string,t.nullTag,r.boolTag,s.intOct,s.int,s.intHex,c.floatNaN,c.floatExp,c.float];return ko.schema=l,ko}var Ro={},sm;function B_(){if(sm)return Ro;sm=1;var e=ye(),t=Sn(),i=_n();function n(d){return typeof d=="bigint"||Number.isInteger(d)}const r=({value:d})=>JSON.stringify(d),c=[{identify:d=>typeof d=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:d=>d,stringify:r},{identify:d=>d==null,createNode:()=>new e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:r},{identify:d=>typeof d=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:d=>d==="true",stringify:r},{identify:n,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(d,p,{intAsBigInt:a})=>a?BigInt(d):parseInt(d,10),stringify:({value:d})=>n(d)?d.toString():JSON.stringify(d)},{identify:d=>typeof d=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:d=>parseFloat(d),stringify:r}],s={default:!0,tag:"",test:/^/,resolve(d,p){return p(`Unresolved plain scalar ${JSON.stringify(d)}`),d}},l=[t.map,i.seq].concat(c,s);return Ro.schema=l,Ro}var Ao={},om;function wv(){if(om)return Ao;om=1;var e=Jv,t=ye(),i=Oa();const n={identify:r=>r instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(r,c){if(typeof e.Buffer=="function")return e.Buffer.from(r,"base64");if(typeof atob=="function"){const s=atob(r.replace(/[\n\r]/g,"")),l=new Uint8Array(s.length);for(let d=0;d<s.length;++d)l[d]=s.charCodeAt(d);return l}else return c("This environment does not support reading binary tags; either Buffer or atob is required"),r},stringify({comment:r,type:c,value:s},l,d,p){if(!s)return"";const a=s;let o;if(typeof e.Buffer=="function")o=a instanceof e.Buffer?a.toString("base64"):e.Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let m=0;m<a.length;++m)u+=String.fromCharCode(a[m]);o=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(c??(c=t.Scalar.BLOCK_LITERAL),c!==t.Scalar.QUOTE_DOUBLE){const u=Math.max(l.options.lineWidth-l.indent.length,l.options.minContentWidth),m=Math.ceil(o.length/u),f=new Array(m);for(let h=0,v=0;h<m;++h,v+=u)f[h]=o.substr(v,u);o=f.join(c===t.Scalar.BLOCK_LITERAL?`
91
+ `:" ")}return i.stringifyString({comment:r,type:c,value:o},l,d,p)}};return Ao.binary=n,Ao}var Fi={},sn={},cm;function Zc(){if(cm)return sn;cm=1;var e=oe(),t=St(),i=ye(),n=$t();function r(l,d){if(e.isSeq(l))for(let p=0;p<l.items.length;++p){let a=l.items[p];if(!e.isPair(a)){if(e.isMap(a)){a.items.length>1&&d("Each pair must have its own sequence indicator");const o=a.items[0]||new t.Pair(new i.Scalar(null));if(a.commentBefore&&(o.key.commentBefore=o.key.commentBefore?`${a.commentBefore}
92
+ ${o.key.commentBefore}`:a.commentBefore),a.comment){const u=o.value??o.key;u.comment=u.comment?`${a.comment}
93
+ ${u.comment}`:a.comment}a=o}l.items[p]=e.isPair(a)?a:new t.Pair(a)}}else d("Expected a sequence for this tag");return l}function c(l,d,p){const{replacer:a}=p,o=new n.YAMLSeq(l);o.tag="tag:yaml.org,2002:pairs";let u=0;if(d&&Symbol.iterator in Object(d))for(let m of d){typeof a=="function"&&(m=a.call(d,String(u++),m));let f,h;if(Array.isArray(m))if(m.length===2)f=m[0],h=m[1];else throw new TypeError(`Expected [key, value] tuple: ${m}`);else if(m&&m instanceof Object){const v=Object.keys(m);if(v.length===1)f=v[0],h=m[f];else throw new TypeError(`Expected tuple with one key, not ${v.length} keys`)}else f=m;o.items.push(t.createPair(f,h,p))}return o}const s={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:r,createNode:c};return sn.createPairs=c,sn.pairs=s,sn.resolvePairs=r,sn}var lm;function Sv(){if(lm)return Fi;lm=1;var e=oe(),t=wt(),i=_t(),n=$t(),r=Zc();class c extends n.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=c.tag}toJSON(d,p){if(!p)return super.toJSON(d);const a=new Map;p?.onCreate&&p.onCreate(a);for(const o of this.items){let u,m;if(e.isPair(o)?(u=t.toJS(o.key,"",p),m=t.toJS(o.value,u,p)):u=t.toJS(o,"",p),a.has(u))throw new Error("Ordered maps must not include duplicate keys");a.set(u,m)}return a}static from(d,p,a){const o=r.createPairs(d,p,a),u=new this;return u.items=o.items,u}}c.tag="tag:yaml.org,2002:omap";const s={collection:"seq",identify:l=>l instanceof Map,nodeClass:c,default:!1,tag:"tag:yaml.org,2002:omap",resolve(l,d){const p=r.resolvePairs(l,d),a=[];for(const{key:o}of p.items)e.isScalar(o)&&(a.includes(o.value)?d(`Ordered maps must not include duplicate keys: ${o.value}`):a.push(o.value));return Object.assign(new c,p)},createNode:(l,d,p)=>c.from(l,d,p)};return Fi.YAMLOMap=c,Fi.omap=s,Fi}var Po={},zi={},um;function V_(){if(um)return zi;um=1;var e=ye();function t({value:r,source:c},s){return c&&(r?i:n).test.test(c)?c:r?s.options.trueStr:s.options.falseStr}const i={identify:r=>r===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new e.Scalar(!0),stringify:t},n={identify:r=>r===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new e.Scalar(!1),stringify:t};return zi.falseTag=n,zi.trueTag=i,zi}var on={},pm;function K_(){if(pm)return on;pm=1;var e=ye(),t=$n();const i={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:c=>c.slice(-3).toLowerCase()==="nan"?NaN:c[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},n={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:c=>parseFloat(c.replace(/_/g,"")),stringify(c){const s=Number(c.value);return isFinite(s)?s.toExponential():t.stringifyNumber(c)}},r={identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(c){const s=new e.Scalar(parseFloat(c.replace(/_/g,""))),l=c.indexOf(".");if(l!==-1){const d=c.substring(l+1).replace(/_/g,"");d[d.length-1]==="0"&&(s.minFractionDigits=d.length)}return s},stringify:t.stringifyNumber};return on.float=r,on.floatExp=n,on.floatNaN=i,on}var jt={},dm;function G_(){if(dm)return jt;dm=1;var e=$n();const t=d=>typeof d=="bigint"||Number.isInteger(d);function i(d,p,a,{intAsBigInt:o}){const u=d[0];if((u==="-"||u==="+")&&(p+=1),d=d.substring(p).replace(/_/g,""),o){switch(a){case 2:d=`0b${d}`;break;case 8:d=`0o${d}`;break;case 16:d=`0x${d}`;break}const f=BigInt(d);return u==="-"?BigInt(-1)*f:f}const m=parseInt(d,a);return u==="-"?-1*m:m}function n(d,p,a){const{value:o}=d;if(t(o)){const u=o.toString(p);return o<0?"-"+a+u.substr(1):a+u}return e.stringifyNumber(d)}const r={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(d,p,a)=>i(d,2,2,a),stringify:d=>n(d,2,"0b")},c={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(d,p,a)=>i(d,1,8,a),stringify:d=>n(d,8,"0")},s={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(d,p,a)=>i(d,0,10,a),stringify:e.stringifyNumber},l={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(d,p,a)=>i(d,2,16,a),stringify:d=>n(d,16,"0x")};return jt.int=s,jt.intBin=r,jt.intHex=l,jt.intOct=c,jt}var Ui={},fm;function _v(){if(fm)return Ui;fm=1;var e=oe(),t=St(),i=_t();class n extends i.YAMLMap{constructor(s){super(s),this.tag=n.tag}add(s){let l;e.isPair(s)?l=s:s&&typeof s=="object"&&"key"in s&&"value"in s&&s.value===null?l=new t.Pair(s.key,null):l=new t.Pair(s,null),i.findPair(this.items,l.key)||this.items.push(l)}get(s,l){const d=i.findPair(this.items,s);return!l&&e.isPair(d)?e.isScalar(d.key)?d.key.value:d.key:d}set(s,l){if(typeof l!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof l}`);const d=i.findPair(this.items,s);d&&!l?this.items.splice(this.items.indexOf(d),1):!d&&l&&this.items.push(new t.Pair(s))}toJSON(s,l){return super.toJSON(s,l,Set)}toString(s,l,d){if(!s)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},s,{allNullValues:!0}),l,d);throw new Error("Set items must all have null values")}static from(s,l,d){const{replacer:p}=d,a=new this(s);if(l&&Symbol.iterator in Object(l))for(let o of l)typeof p=="function"&&(o=p.call(l,o,o)),a.items.push(t.createPair(o,null,d));return a}}n.tag="tag:yaml.org,2002:set";const r={collection:"map",identify:c=>c instanceof Set,nodeClass:n,default:!1,tag:"tag:yaml.org,2002:set",createNode:(c,s,l)=>n.from(c,s,l),resolve(c,s){if(e.isMap(c)){if(c.hasAllNullValues(!0))return Object.assign(new n,c);s("Set items must all have null values")}else s("Expected a mapping for this tag");return c}};return Ui.YAMLSet=n,Ui.set=r,Ui}var cn={},mm;function $v(){if(mm)return cn;mm=1;var e=$n();function t(s,l){const d=s[0],p=d==="-"||d==="+"?s.substring(1):s,a=u=>l?BigInt(u):Number(u),o=p.replace(/_/g,"").split(":").reduce((u,m)=>u*a(60)+a(m),a(0));return d==="-"?a(-1)*o:o}function i(s){let{value:l}=s,d=u=>u;if(typeof l=="bigint")d=u=>BigInt(u);else if(isNaN(l)||!isFinite(l))return e.stringifyNumber(s);let p="";l<0&&(p="-",l*=d(-1));const a=d(60),o=[l%a];return l<60?o.unshift(0):(l=(l-o[0])/a,o.unshift(l%a),l>=60&&(l=(l-o[0])/a,o.unshift(l))),p+o.map(u=>String(u).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const n={identify:s=>typeof s=="bigint"||Number.isInteger(s),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(s,l,{intAsBigInt:d})=>t(s,d),stringify:i},r={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:s=>t(s,!1),stringify:i},c={identify:s=>s instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(s){const l=s.match(c.test);if(!l)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,d,p,a,o,u,m]=l.map(Number),f=l[7]?Number((l[7]+"00").substr(1,3)):0;let h=Date.UTC(d,p-1,a,o||0,u||0,m||0,f);const v=l[8];if(v&&v!=="Z"){let g=t(v,!1);Math.abs(g)<30&&(g*=60),h-=6e4*g}return new Date(h)},stringify:({value:s})=>s?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};return cn.floatTime=r,cn.intTime=n,cn.timestamp=c,cn}var hm;function H_(){if(hm)return Po;hm=1;var e=Sn(),t=Qc(),i=_n(),n=ja(),r=wv(),c=V_(),s=K_(),l=G_(),d=Xc(),p=Sv(),a=Zc(),o=_v(),u=$v();const m=[e.map,i.seq,n.string,t.nullTag,c.trueTag,c.falseTag,l.intBin,l.intOct,l.int,l.intHex,s.floatNaN,s.floatExp,s.float,r.binary,d.merge,p.omap,a.pairs,o.set,u.intTime,u.floatTime,u.timestamp];return Po.schema=m,Po}var vm;function W_(){if(vm)return Mi;vm=1;var e=Sn(),t=Qc(),i=_n(),n=ja(),r=yv(),c=bv(),s=xv(),l=U_(),d=B_(),p=wv(),a=Xc(),o=Sv(),u=Zc(),m=H_(),f=_v(),h=$v();const v=new Map([["core",l.schema],["failsafe",[e.map,i.seq,n.string]],["json",d.schema],["yaml11",m.schema],["yaml-1.1",m.schema]]),g={binary:p.binary,bool:r.boolTag,float:c.float,floatExp:c.floatExp,floatNaN:c.floatNaN,floatTime:h.floatTime,int:s.int,intHex:s.intHex,intOct:s.intOct,intTime:h.intTime,map:e.map,merge:a.merge,null:t.nullTag,omap:o.omap,pairs:u.pairs,seq:i.seq,set:f.set,timestamp:h.timestamp},y={"tag:yaml.org,2002:binary":p.binary,"tag:yaml.org,2002:merge":a.merge,"tag:yaml.org,2002:omap":o.omap,"tag:yaml.org,2002:pairs":u.pairs,"tag:yaml.org,2002:set":f.set,"tag:yaml.org,2002:timestamp":h.timestamp};function b(x,w,S){const _=v.get(w);if(_&&!x)return S&&!_.includes(a.merge)?_.concat(a.merge):_.slice();let E=_;if(!E)if(Array.isArray(x))E=[];else{const O=Array.from(v.keys()).filter(U=>U!=="yaml11").map(U=>JSON.stringify(U)).join(", ");throw new Error(`Unknown schema "${w}"; use one of ${O} or define customTags array`)}if(Array.isArray(x))for(const O of x)E=E.concat(O);else typeof x=="function"&&(E=x(E.slice()));return S&&(E=E.concat(a.merge)),E.reduce((O,U)=>{const M=typeof U=="string"?g[U]:U;if(!M){const B=JSON.stringify(U),G=Object.keys(g).map(C=>JSON.stringify(C)).join(", ");throw new Error(`Unknown custom tag ${B}; use one of ${G}`)}return O.includes(M)||O.push(M),O},[])}return Mi.coreKnownTags=y,Mi.getTags=b,Mi}var gm;function kv(){if(gm)return go;gm=1;var e=oe(),t=Sn(),i=_n(),n=ja(),r=W_();const c=(l,d)=>l.key<d.key?-1:l.key>d.key?1:0;let s=class Ev{constructor({compat:d,customTags:p,merge:a,resolveKnownTags:o,schema:u,sortMapEntries:m,toStringDefaults:f}){this.compat=Array.isArray(d)?r.getTags(d,"compat"):d?r.getTags(null,d):null,this.name=typeof u=="string"&&u||"core",this.knownTags=o?r.coreKnownTags:{},this.tags=r.getTags(p,this.name,a),this.toStringOptions=f??null,Object.defineProperty(this,e.MAP,{value:t.map}),Object.defineProperty(this,e.SCALAR,{value:n.string}),Object.defineProperty(this,e.SEQ,{value:i.seq}),this.sortMapEntries=typeof m=="function"?m:m===!0?c:null}clone(){const d=Object.create(Ev.prototype,Object.getOwnPropertyDescriptors(this));return d.tags=this.tags.slice(),d}};return go.Schema=s,go}var To={},ym;function Y_(){if(ym)return To;ym=1;var e=oe(),t=Na(),i=Ta();function n(r,c){const s=[];let l=c.directives===!0;if(c.directives!==!1&&r.directives){const u=r.directives.toString(r);u?(s.push(u),l=!0):r.directives.docStart&&(l=!0)}l&&s.push("---");const d=t.createStringifyContext(r,c),{commentString:p}=d.options;if(r.commentBefore){s.length!==1&&s.unshift("");const u=p(r.commentBefore);s.unshift(i.indentComment(u,""))}let a=!1,o=null;if(r.contents){if(e.isNode(r.contents)){if(r.contents.spaceBefore&&l&&s.push(""),r.contents.commentBefore){const f=p(r.contents.commentBefore);s.push(i.indentComment(f,""))}d.forceBlockIndent=!!r.comment,o=r.contents.comment}const u=o?void 0:()=>a=!0;let m=t.stringify(r.contents,d,()=>o=null,u);o&&(m+=i.lineComment(m,"",p(o))),(m[0]==="|"||m[0]===">")&&s[s.length-1]==="---"?s[s.length-1]=`--- ${m}`:s.push(m)}else s.push(t.stringify(r.contents,d));if(r.directives?.docEnd)if(r.comment){const u=p(r.comment);u.includes(`
94
+ `)?(s.push("..."),s.push(i.indentComment(u,""))):s.push(`... ${u}`)}else s.push("...");else{let u=r.comment;u&&a&&(u=u.replace(/^\n+/,"")),u&&((!a||o)&&s[s.length-1]!==""&&s.push(""),s.push(i.indentComment(p(u),"")))}return s.join(`
95
95
  `)+`
96
- `}return _o.stringifyDocument=n,_o}var hm;function Oa(){if(hm)return to;hm=1;var e=Ea(),t=Kc(),i=oe(),n=bt(),r=yt(),c=wv(),o=W$(),l=Bc(),d=cv(),p=ka(),a=ov();let s=class Sv{constructor(f,h,v){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,i.NODE_TYPE,{value:i.DOC});let g=null;typeof h=="function"||Array.isArray(h)?g=h:v===void 0&&h&&(v=h,h=void 0);const y=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},v);this.options=y;let{version:b}=y;v?._directives?(this.directives=v._directives.atDocument(),this.directives.yaml.explicit&&(b=this.directives.yaml.version)):this.directives=new a.Directives({version:b}),this.setSchema(b,v),this.contents=f===void 0?null:this.createNode(f,g,v)}clone(){const f=Object.create(Sv.prototype,{[i.NODE_TYPE]:{value:i.DOC}});return f.commentBefore=this.commentBefore,f.comment=this.comment,f.errors=this.errors.slice(),f.warnings=this.warnings.slice(),f.options=Object.assign({},this.options),this.directives&&(f.directives=this.directives.clone()),f.schema=this.schema.clone(),f.contents=i.isNode(this.contents)?this.contents.clone(f.schema):this.contents,this.range&&(f.range=this.range.slice()),f}add(f){u(this.contents)&&this.contents.add(f)}addIn(f,h){u(this.contents)&&this.contents.addIn(f,h)}createAlias(f,h){if(!f.anchor){const v=l.anchorNames(this);f.anchor=!h||v.has(h)?l.findNewAnchor(h||"a",v):h}return new e.Alias(f.anchor)}createNode(f,h,v){let g;if(typeof h=="function")f=h.call({"":f},"",f),g=h;else if(Array.isArray(h)){const G=z=>typeof z=="number"||z instanceof String||z instanceof Number,q=h.filter(G).map(String);q.length>0&&(h=h.concat(q)),g=h}else v===void 0&&h&&(v=h,h=void 0);const{aliasDuplicateObjects:y,anchorPrefix:b,flow:x,keepUndefined:w,onTagObj:S,tag:$}=v??{},{onAnchor:E,setAnchors:P,sourceObjects:B}=l.createNodeAnchors(this,b||"a"),D={aliasDuplicateObjects:y??!0,keepUndefined:w??!1,onAnchor:E,onTagObj:S,replacer:g,schema:this.schema,sourceObjects:B},V=p.createNode(f,$,D);return x&&i.isCollection(V)&&(V.flow=!0),P(),V}createPair(f,h,v={}){const g=this.createNode(f,null,v),y=this.createNode(h,null,v);return new n.Pair(g,y)}delete(f){return u(this.contents)?this.contents.delete(f):!1}deleteIn(f){return t.isEmptyPath(f)?this.contents==null?!1:(this.contents=null,!0):u(this.contents)?this.contents.deleteIn(f):!1}get(f,h){return i.isCollection(this.contents)?this.contents.get(f,h):void 0}getIn(f,h){return t.isEmptyPath(f)?!h&&i.isScalar(this.contents)?this.contents.value:this.contents:i.isCollection(this.contents)?this.contents.getIn(f,h):void 0}has(f){return i.isCollection(this.contents)?this.contents.has(f):!1}hasIn(f){return t.isEmptyPath(f)?this.contents!==void 0:i.isCollection(this.contents)?this.contents.hasIn(f):!1}set(f,h){this.contents==null?this.contents=t.collectionFromPath(this.schema,[f],h):u(this.contents)&&this.contents.set(f,h)}setIn(f,h){t.isEmptyPath(f)?this.contents=h:this.contents==null?this.contents=t.collectionFromPath(this.schema,Array.from(f),h):u(this.contents)&&this.contents.setIn(f,h)}setSchema(f,h={}){typeof f=="number"&&(f=String(f));let v;switch(f){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new a.Directives({version:"1.1"}),v={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=f:this.directives=new a.Directives({version:f}),v={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,v=null;break;default:{const g=JSON.stringify(f);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${g}`)}}if(h.schema instanceof Object)this.schema=h.schema;else if(v)this.schema=new c.Schema(Object.assign(v,h));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:f,jsonArg:h,mapAsMap:v,maxAliasCount:g,onAnchor:y,reviver:b}={}){const x={anchors:new Map,doc:this,keep:!f,mapAsMap:v===!0,mapKeyWarned:!1,maxAliasCount:typeof g=="number"?g:100},w=r.toJS(this.contents,h??"",x);if(typeof y=="function")for(const{count:S,res:$}of x.anchors.values())y($,S);return typeof b=="function"?d.applyReviver(b,{"":w},"",w):w}toJSON(f,h){return this.toJS({json:!0,jsonArg:f,mapAsMap:!1,onAnchor:h})}toString(f={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in f&&(!Number.isInteger(f.indent)||Number(f.indent)<=0)){const h=JSON.stringify(f.indent);throw new Error(`"indent" option must be a positive integer, not ${h}`)}return o.stringifyDocument(this,f)}};function u(m){if(i.isCollection(m))return!0;throw new Error("Expected a YAML collection as document contents")}return to.Document=s,to}var Nt={},vm;function Na(){if(vm)return Nt;vm=1;class e extends Error{constructor(c,o,l,d){super(),this.name=c,this.code=l,this.message=d,this.pos=o}}class t extends e{constructor(c,o,l){super("YAMLParseError",c,o,l)}}class i extends e{constructor(c,o,l){super("YAMLWarning",c,o,l)}}const n=(r,c)=>o=>{if(o.pos[0]===-1)return;o.linePos=o.pos.map(s=>c.linePos(s));const{line:l,col:d}=o.linePos[0];o.message+=` at line ${l}, column ${d}`;let p=d-1,a=r.substring(c.lineStarts[l-1],c.lineStarts[l]).replace(/[\n\r]+$/,"");if(p>=60&&a.length>80){const s=Math.min(p-39,a.length-79);a="…"+a.substring(s),p-=s-1}if(a.length>80&&(a=a.substring(0,79)+"…"),l>1&&/^ *$/.test(a.substring(0,p))){let s=r.substring(c.lineStarts[l-2],c.lineStarts[l-1]);s.length>80&&(s=s.substring(0,79)+`…
97
- `),a=s+a}if(/[^ ]/.test(a)){let s=1;const u=o.linePos[1];u&&u.line===l&&u.col>d&&(s=Math.max(1,Math.min(u.col-d,80-p)));const m=" ".repeat(p)+"^".repeat(s);o.message+=`:
96
+ `}return To.stringifyDocument=n,To}var bm;function Ca(){if(bm)return oo;bm=1;var e=Aa(),t=Jc(),i=oe(),n=St(),r=wt(),c=kv(),s=Y_(),l=Wc(),d=fv(),p=Pa(),a=dv();let o=class Rv{constructor(f,h,v){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,i.NODE_TYPE,{value:i.DOC});let g=null;typeof h=="function"||Array.isArray(h)?g=h:v===void 0&&h&&(v=h,h=void 0);const y=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},v);this.options=y;let{version:b}=y;v?._directives?(this.directives=v._directives.atDocument(),this.directives.yaml.explicit&&(b=this.directives.yaml.version)):this.directives=new a.Directives({version:b}),this.setSchema(b,v),this.contents=f===void 0?null:this.createNode(f,g,v)}clone(){const f=Object.create(Rv.prototype,{[i.NODE_TYPE]:{value:i.DOC}});return f.commentBefore=this.commentBefore,f.comment=this.comment,f.errors=this.errors.slice(),f.warnings=this.warnings.slice(),f.options=Object.assign({},this.options),this.directives&&(f.directives=this.directives.clone()),f.schema=this.schema.clone(),f.contents=i.isNode(this.contents)?this.contents.clone(f.schema):this.contents,this.range&&(f.range=this.range.slice()),f}add(f){u(this.contents)&&this.contents.add(f)}addIn(f,h){u(this.contents)&&this.contents.addIn(f,h)}createAlias(f,h){if(!f.anchor){const v=l.anchorNames(this);f.anchor=!h||v.has(h)?l.findNewAnchor(h||"a",v):h}return new e.Alias(f.anchor)}createNode(f,h,v){let g;if(typeof h=="function")f=h.call({"":f},"",f),g=h;else if(Array.isArray(h)){const G=V=>typeof V=="number"||V instanceof String||V instanceof Number,C=h.filter(G).map(String);C.length>0&&(h=h.concat(C)),g=h}else v===void 0&&h&&(v=h,h=void 0);const{aliasDuplicateObjects:y,anchorPrefix:b,flow:x,keepUndefined:w,onTagObj:S,tag:_}=v??{},{onAnchor:E,setAnchors:O,sourceObjects:U}=l.createNodeAnchors(this,b||"a"),M={aliasDuplicateObjects:y??!0,keepUndefined:w??!1,onAnchor:E,onTagObj:S,replacer:g,schema:this.schema,sourceObjects:U},B=p.createNode(f,_,M);return x&&i.isCollection(B)&&(B.flow=!0),O(),B}createPair(f,h,v={}){const g=this.createNode(f,null,v),y=this.createNode(h,null,v);return new n.Pair(g,y)}delete(f){return u(this.contents)?this.contents.delete(f):!1}deleteIn(f){return t.isEmptyPath(f)?this.contents==null?!1:(this.contents=null,!0):u(this.contents)?this.contents.deleteIn(f):!1}get(f,h){return i.isCollection(this.contents)?this.contents.get(f,h):void 0}getIn(f,h){return t.isEmptyPath(f)?!h&&i.isScalar(this.contents)?this.contents.value:this.contents:i.isCollection(this.contents)?this.contents.getIn(f,h):void 0}has(f){return i.isCollection(this.contents)?this.contents.has(f):!1}hasIn(f){return t.isEmptyPath(f)?this.contents!==void 0:i.isCollection(this.contents)?this.contents.hasIn(f):!1}set(f,h){this.contents==null?this.contents=t.collectionFromPath(this.schema,[f],h):u(this.contents)&&this.contents.set(f,h)}setIn(f,h){t.isEmptyPath(f)?this.contents=h:this.contents==null?this.contents=t.collectionFromPath(this.schema,Array.from(f),h):u(this.contents)&&this.contents.setIn(f,h)}setSchema(f,h={}){typeof f=="number"&&(f=String(f));let v;switch(f){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new a.Directives({version:"1.1"}),v={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=f:this.directives=new a.Directives({version:f}),v={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,v=null;break;default:{const g=JSON.stringify(f);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${g}`)}}if(h.schema instanceof Object)this.schema=h.schema;else if(v)this.schema=new c.Schema(Object.assign(v,h));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:f,jsonArg:h,mapAsMap:v,maxAliasCount:g,onAnchor:y,reviver:b}={}){const x={anchors:new Map,doc:this,keep:!f,mapAsMap:v===!0,mapKeyWarned:!1,maxAliasCount:typeof g=="number"?g:100},w=r.toJS(this.contents,h??"",x);if(typeof y=="function")for(const{count:S,res:_}of x.anchors.values())y(_,S);return typeof b=="function"?d.applyReviver(b,{"":w},"",w):w}toJSON(f,h){return this.toJS({json:!0,jsonArg:f,mapAsMap:!1,onAnchor:h})}toString(f={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in f&&(!Number.isInteger(f.indent)||Number(f.indent)<=0)){const h=JSON.stringify(f.indent);throw new Error(`"indent" option must be a positive integer, not ${h}`)}return s.stringifyDocument(this,f)}};function u(m){if(i.isCollection(m))return!0;throw new Error("Expected a YAML collection as document contents")}return oo.Document=o,oo}var Ct={},xm;function Ia(){if(xm)return Ct;xm=1;class e extends Error{constructor(c,s,l,d){super(),this.name=c,this.code=l,this.message=d,this.pos=s}}class t extends e{constructor(c,s,l){super("YAMLParseError",c,s,l)}}class i extends e{constructor(c,s,l){super("YAMLWarning",c,s,l)}}const n=(r,c)=>s=>{if(s.pos[0]===-1)return;s.linePos=s.pos.map(o=>c.linePos(o));const{line:l,col:d}=s.linePos[0];s.message+=` at line ${l}, column ${d}`;let p=d-1,a=r.substring(c.lineStarts[l-1],c.lineStarts[l]).replace(/[\n\r]+$/,"");if(p>=60&&a.length>80){const o=Math.min(p-39,a.length-79);a="…"+a.substring(o),p-=o-1}if(a.length>80&&(a=a.substring(0,79)+"…"),l>1&&/^ *$/.test(a.substring(0,p))){let o=r.substring(c.lineStarts[l-2],c.lineStarts[l-1]);o.length>80&&(o=o.substring(0,79)+`…
97
+ `),a=o+a}if(/[^ ]/.test(a)){let o=1;const u=s.linePos[1];u&&u.line===l&&u.col>d&&(o=Math.max(1,Math.min(u.col-d,80-p)));const m=" ".repeat(p)+"^".repeat(o);s.message+=`:
98
98
 
99
99
  ${a}
100
100
  ${m}
101
- `}};return Nt.YAMLError=e,Nt.YAMLParseError=t,Nt.YAMLWarning=i,Nt.prettifyError=n,Nt}var Eo={},Di={},ko={},Ro={},Ao={},gm;function ja(){if(gm)return Ao;gm=1;function e(t,{flow:i,indicator:n,next:r,offset:c,onError:o,parentIndent:l,startOnNewline:d}){let p=!1,a=d,s=d,u="",m="",f=!1,h=!1,v=null,g=null,y=null,b=null,x=null,w=null,S=null;for(const P of t)switch(h&&(P.type!=="space"&&P.type!=="newline"&&P.type!=="comma"&&o(P.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),v&&(a&&P.type!=="comment"&&P.type!=="newline"&&o(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),v=null),P.type){case"space":!i&&(n!=="doc-start"||r?.type!=="flow-collection")&&P.source.includes(" ")&&(v=P),s=!0;break;case"comment":{s||o(P,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const B=P.source.substring(1)||" ";u?u+=m+B:u=B,m="",a=!1;break}case"newline":a?u?u+=P.source:(!w||n!=="seq-item-ind")&&(p=!0):m+=P.source,a=!0,f=!0,(g||y)&&(b=P),s=!0;break;case"anchor":g&&o(P,"MULTIPLE_ANCHORS","A node can have at most one anchor"),P.source.endsWith(":")&&o(P.offset+P.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=P,S??(S=P.offset),a=!1,s=!1,h=!0;break;case"tag":{y&&o(P,"MULTIPLE_TAGS","A node can have at most one tag"),y=P,S??(S=P.offset),a=!1,s=!1,h=!0;break}case n:(g||y)&&o(P,"BAD_PROP_ORDER",`Anchors and tags must be after the ${P.source} indicator`),w&&o(P,"UNEXPECTED_TOKEN",`Unexpected ${P.source} in ${i??"collection"}`),w=P,a=n==="seq-item-ind"||n==="explicit-key-ind",s=!1;break;case"comma":if(i){x&&o(P,"UNEXPECTED_TOKEN",`Unexpected , in ${i}`),x=P,a=!1,s=!1;break}default:o(P,"UNEXPECTED_TOKEN",`Unexpected ${P.type} token`),a=!1,s=!1}const $=t[t.length-1],E=$?$.offset+$.source.length:c;return h&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&o(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v&&(a&&v.indent<=l||r?.type==="block-map"||r?.type==="block-seq")&&o(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:x,found:w,spaceBefore:p,comment:u,hasNewline:f,anchor:g,tag:y,newlineAfterProp:b,end:E,start:S??E}}return Ao.resolveProps=e,Ao}var Po={},ym;function Yc(){if(ym)return Po;ym=1;function e(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes(`
102
- `))return!0;if(t.end){for(const i of t.end)if(i.type==="newline")return!0}return!1;case"flow-collection":for(const i of t.items){for(const n of i.start)if(n.type==="newline")return!0;if(i.sep){for(const n of i.sep)if(n.type==="newline")return!0}if(e(i.key)||e(i.value))return!0}return!1;default:return!0}}return Po.containsNewline=e,Po}var To={},bm;function $v(){if(bm)return To;bm=1;var e=Yc();function t(i,n,r){if(n?.type==="flow-collection"){const c=n.end[0];c.indent===i&&(c.source==="]"||c.source==="}")&&e.containsNewline(n)&&r(c,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}return To.flowIndentCheck=t,To}var Oo={},xm;function _v(){if(xm)return Oo;xm=1;var e=oe();function t(i,n,r){const{uniqueKeys:c}=i.options;if(c===!1)return!1;const o=typeof c=="function"?c:(l,d)=>l===d||e.isScalar(l)&&e.isScalar(d)&&l.value===d.value;return n.some(l=>o(l.key,r))}return Oo.mapIncludes=t,Oo}var wm;function Y$(){if(wm)return Ro;wm=1;var e=bt(),t=xt(),i=ja(),n=Yc(),r=$v(),c=_v();const o="All mapping items must start at the same column";function l({composeNode:d,composeEmptyNode:p},a,s,u,m){const f=m?.nodeClass??t.YAMLMap,h=new f(a.schema);a.atRoot&&(a.atRoot=!1);let v=s.offset,g=null;for(const y of s.items){const{start:b,key:x,sep:w,value:S}=y,$=i.resolveProps(b,{indicator:"explicit-key-ind",next:x??w?.[0],offset:v,onError:u,parentIndent:s.indent,startOnNewline:!0}),E=!$.found;if(E){if(x&&(x.type==="block-seq"?u(v,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in x&&x.indent!==s.indent&&u(v,"BAD_INDENT",o)),!$.anchor&&!$.tag&&!w){g=$.end,$.comment&&(h.comment?h.comment+=`
103
- `+$.comment:h.comment=$.comment);continue}($.newlineAfterProp||n.containsNewline(x))&&u(x??b[b.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else $.found?.indent!==s.indent&&u(v,"BAD_INDENT",o);a.atKey=!0;const P=$.end,B=x?d(a,x,$,u):p(a,P,b,null,$,u);a.schema.compat&&r.flowIndentCheck(s.indent,x,u),a.atKey=!1,c.mapIncludes(a,h.items,B)&&u(P,"DUPLICATE_KEY","Map keys must be unique");const D=i.resolveProps(w??[],{indicator:"map-value-ind",next:S,offset:B.range[2],onError:u,parentIndent:s.indent,startOnNewline:!x||x.type==="block-scalar"});if(v=D.end,D.found){E&&(S?.type==="block-map"&&!D.hasNewline&&u(v,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),a.options.strict&&$.start<D.found.offset-1024&&u(B.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const V=S?d(a,S,D,u):p(a,v,w,null,D,u);a.schema.compat&&r.flowIndentCheck(s.indent,S,u),v=V.range[2];const G=new e.Pair(B,V);a.options.keepSourceTokens&&(G.srcToken=y),h.items.push(G)}else{E&&u(B.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),D.comment&&(B.comment?B.comment+=`
104
- `+D.comment:B.comment=D.comment);const V=new e.Pair(B);a.options.keepSourceTokens&&(V.srcToken=y),h.items.push(V)}}return g&&g<v&&u(g,"IMPOSSIBLE","Map comment with trailing content"),h.range=[s.offset,v,g??v],h}return Ro.resolveBlockMap=l,Ro}var No={},Sm;function J$(){if(Sm)return No;Sm=1;var e=wt(),t=ja(),i=$v();function n({composeNode:r,composeEmptyNode:c},o,l,d,p){const a=p?.nodeClass??e.YAMLSeq,s=new a(o.schema);o.atRoot&&(o.atRoot=!1),o.atKey&&(o.atKey=!1);let u=l.offset,m=null;for(const{start:f,value:h}of l.items){const v=t.resolveProps(f,{indicator:"seq-item-ind",next:h,offset:u,onError:d,parentIndent:l.indent,startOnNewline:!0});if(!v.found)if(v.anchor||v.tag||h)h&&h.type==="block-seq"?d(v.end,"BAD_INDENT","All sequence items must start at the same column"):d(u,"MISSING_CHAR","Sequence item without - indicator");else{m=v.end,v.comment&&(s.comment=v.comment);continue}const g=h?r(o,h,v,d):c(o,v.end,f,null,v,d);o.schema.compat&&i.flowIndentCheck(l.indent,h,d),u=g.range[2],s.items.push(g)}return s.range=[l.offset,u,m??u],s}return No.resolveBlockSeq=n,No}var jo={},Co={},$m;function _n(){if($m)return Co;$m=1;function e(t,i,n,r){let c="";if(t){let o=!1,l="";for(const d of t){const{source:p,type:a}=d;switch(a){case"space":o=!0;break;case"comment":{n&&!o&&r(d,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const s=p.substring(1)||" ";c?c+=l+s:c=s,l="";break}case"newline":c&&(l+=p),o=!0;break;default:r(d,"UNEXPECTED_TOKEN",`Unexpected ${a} at node end`)}i+=p.length}}return{comment:c,offset:i}}return Co.resolveEnd=e,Co}var _m;function X$(){if(_m)return jo;_m=1;var e=oe(),t=bt(),i=xt(),n=wt(),r=_n(),c=ja(),o=Yc(),l=_v();const d="Block collections are not allowed within flow collections",p=s=>s&&(s.type==="block-map"||s.type==="block-seq");function a({composeNode:s,composeEmptyNode:u},m,f,h,v){const g=f.start.source==="{",y=g?"flow map":"flow sequence",b=v?.nodeClass??(g?i.YAMLMap:n.YAMLSeq),x=new b(m.schema);x.flow=!0;const w=m.atRoot;w&&(m.atRoot=!1),m.atKey&&(m.atKey=!1);let S=f.offset+f.start.source.length;for(let D=0;D<f.items.length;++D){const V=f.items[D],{start:G,key:q,sep:z,value:O}=V,R=c.resolveProps(G,{flow:y,indicator:"explicit-key-ind",next:q??z?.[0],offset:S,onError:h,parentIndent:f.indent,startOnNewline:!1});if(!R.found){if(!R.anchor&&!R.tag&&!z&&!O){D===0&&R.comma?h(R.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`):D<f.items.length-1&&h(R.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${y}`),R.comment&&(x.comment?x.comment+=`
105
- `+R.comment:x.comment=R.comment),S=R.end;continue}!g&&m.options.strict&&o.containsNewline(q)&&h(q,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(D===0)R.comma&&h(R.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`);else if(R.comma||h(R.start,"MISSING_CHAR",`Missing , between ${y} items`),R.comment){let T="";e:for(const U of G)switch(U.type){case"comma":case"space":break;case"comment":T=U.source.substring(1);break e;default:break e}if(T){let U=x.items[x.items.length-1];e.isPair(U)&&(U=U.value??U.key),U.comment?U.comment+=`
106
- `+T:U.comment=T,R.comment=R.comment.substring(T.length+1)}}if(!g&&!z&&!R.found){const T=O?s(m,O,R,h):u(m,R.end,z,null,R,h);x.items.push(T),S=T.range[2],p(O)&&h(T.range,"BLOCK_IN_FLOW",d)}else{m.atKey=!0;const T=R.end,U=q?s(m,q,R,h):u(m,T,G,null,R,h);p(q)&&h(U.range,"BLOCK_IN_FLOW",d),m.atKey=!1;const C=c.resolveProps(z??[],{flow:y,indicator:"map-value-ind",next:O,offset:U.range[2],onError:h,parentIndent:f.indent,startOnNewline:!1});if(C.found){if(!g&&!R.found&&m.options.strict){if(z)for(const N of z){if(N===C.found)break;if(N.type==="newline"){h(N,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}R.start<C.found.offset-1024&&h(C.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else O&&("source"in O&&O.source&&O.source[0]===":"?h(O,"MISSING_CHAR",`Missing space after : in ${y}`):h(C.start,"MISSING_CHAR",`Missing , or : between ${y} items`));const A=O?s(m,O,C,h):C.found?u(m,C.end,z,null,C,h):null;A?p(O)&&h(A.range,"BLOCK_IN_FLOW",d):C.comment&&(U.comment?U.comment+=`
107
- `+C.comment:U.comment=C.comment);const I=new t.Pair(U,A);if(m.options.keepSourceTokens&&(I.srcToken=V),g){const N=x;l.mapIncludes(m,N.items,U)&&h(T,"DUPLICATE_KEY","Map keys must be unique"),N.items.push(I)}else{const N=new i.YAMLMap(m.schema);N.flow=!0,N.items.push(I);const _=(A??U).range;N.range=[U.range[0],_[1],_[2]],x.items.push(N)}S=A?A.range[2]:C.end}}const $=g?"}":"]",[E,...P]=f.end;let B=S;if(E&&E.source===$)B=E.offset+E.source.length;else{const D=y[0].toUpperCase()+y.substring(1),V=w?`${D} must end with a ${$}`:`${D} in block collection must be sufficiently indented and end with a ${$}`;h(S,w?"MISSING_CHAR":"BAD_INDENT",V),E&&E.source.length!==1&&P.unshift(E)}if(P.length>0){const D=r.resolveEnd(P,B,m.options.strict,h);D.comment&&(x.comment?x.comment+=`
108
- `+D.comment:x.comment=D.comment),x.range=[f.offset,B,D.offset]}else x.range=[f.offset,B,B];return x}return jo.resolveFlowCollection=a,jo}var Em;function Q$(){if(Em)return ko;Em=1;var e=oe(),t=ye(),i=xt(),n=wt(),r=Y$(),c=J$(),o=X$();function l(p,a,s,u,m,f){const h=s.type==="block-map"?r.resolveBlockMap(p,a,s,u,f):s.type==="block-seq"?c.resolveBlockSeq(p,a,s,u,f):o.resolveFlowCollection(p,a,s,u,f),v=h.constructor;return m==="!"||m===v.tagName?(h.tag=v.tagName,h):(m&&(h.tag=m),h)}function d(p,a,s,u,m){const f=u.tag,h=f?a.directives.tagName(f.source,w=>m(f,"TAG_RESOLVE_FAILED",w)):null;if(s.type==="block-seq"){const{anchor:w,newlineAfterProp:S}=u,$=w&&f?w.offset>f.offset?w:f:w??f;$&&(!S||S.offset<$.offset)&&m($,"MISSING_CHAR","Missing newline after block sequence props")}const v=s.type==="block-map"?"map":s.type==="block-seq"?"seq":s.start.source==="{"?"map":"seq";if(!f||!h||h==="!"||h===i.YAMLMap.tagName&&v==="map"||h===n.YAMLSeq.tagName&&v==="seq")return l(p,a,s,m,h);let g=a.schema.tags.find(w=>w.tag===h&&w.collection===v);if(!g){const w=a.schema.knownTags[h];if(w&&w.collection===v)a.schema.tags.push(Object.assign({},w,{default:!1})),g=w;else return w?m(f,"BAD_COLLECTION_TYPE",`${w.tag} used for ${v} collection, but expects ${w.collection??"scalar"}`,!0):m(f,"TAG_RESOLVE_FAILED",`Unresolved tag: ${h}`,!0),l(p,a,s,m,h)}const y=l(p,a,s,m,h,g),b=g.resolve?.(y,w=>m(f,"TAG_RESOLVE_FAILED",w),a.options)??y,x=e.isNode(b)?b:new t.Scalar(b);return x.range=y.range,x.tag=h,g?.format&&(x.format=g.format),x}return ko.composeCollection=d,ko}var Io={},qo={},km;function Ev(){if(km)return qo;km=1;var e=ye();function t(r,c,o){const l=c.offset,d=i(c,r.options.strict,o);if(!d)return{value:"",type:null,comment:"",range:[l,l,l]};const p=d.mode===">"?e.Scalar.BLOCK_FOLDED:e.Scalar.BLOCK_LITERAL,a=c.source?n(c.source):[];let s=a.length;for(let b=a.length-1;b>=0;--b){const x=a[b][1];if(x===""||x==="\r")s=b;else break}if(s===0){const b=d.chomp==="+"&&a.length>0?`
109
- `.repeat(Math.max(1,a.length-1)):"";let x=l+d.length;return c.source&&(x+=c.source.length),{value:b,type:p,comment:d.comment,range:[l,x,x]}}let u=c.indent+d.indent,m=c.offset+d.length,f=0;for(let b=0;b<s;++b){const[x,w]=a[b];if(w===""||w==="\r")d.indent===0&&x.length>u&&(u=x.length);else{x.length<u&&o(m+x.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),d.indent===0&&(u=x.length),f=b,u===0&&!r.atRoot&&o(m,"BAD_INDENT","Block scalar values in collections must be indented");break}m+=x.length+w.length+1}for(let b=a.length-1;b>=s;--b)a[b][0].length>u&&(s=b+1);let h="",v="",g=!1;for(let b=0;b<f;++b)h+=a[b][0].slice(u)+`
110
- `;for(let b=f;b<s;++b){let[x,w]=a[b];m+=x.length+w.length+1;const S=w[w.length-1]==="\r";if(S&&(w=w.slice(0,-1)),w&&x.length<u){const E=`Block scalar lines must not be less indented than their ${d.indent?"explicit indentation indicator":"first line"}`;o(m-w.length-(S?2:1),"BAD_INDENT",E),x=""}p===e.Scalar.BLOCK_LITERAL?(h+=v+x.slice(u)+w,v=`
101
+ `}};return Ct.YAMLError=e,Ct.YAMLParseError=t,Ct.YAMLWarning=i,Ct.prettifyError=n,Ct}var Oo={},Bi={},No={},jo={},Co={},wm;function qa(){if(wm)return Co;wm=1;function e(t,{flow:i,indicator:n,next:r,offset:c,onError:s,parentIndent:l,startOnNewline:d}){let p=!1,a=d,o=d,u="",m="",f=!1,h=!1,v=null,g=null,y=null,b=null,x=null,w=null,S=null;for(const O of t)switch(h&&(O.type!=="space"&&O.type!=="newline"&&O.type!=="comma"&&s(O.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),v&&(a&&O.type!=="comment"&&O.type!=="newline"&&s(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),v=null),O.type){case"space":!i&&(n!=="doc-start"||r?.type!=="flow-collection")&&O.source.includes(" ")&&(v=O),o=!0;break;case"comment":{o||s(O,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const U=O.source.substring(1)||" ";u?u+=m+U:u=U,m="",a=!1;break}case"newline":a?u?u+=O.source:(!w||n!=="seq-item-ind")&&(p=!0):m+=O.source,a=!0,f=!0,(g||y)&&(b=O),o=!0;break;case"anchor":g&&s(O,"MULTIPLE_ANCHORS","A node can have at most one anchor"),O.source.endsWith(":")&&s(O.offset+O.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=O,S??(S=O.offset),a=!1,o=!1,h=!0;break;case"tag":{y&&s(O,"MULTIPLE_TAGS","A node can have at most one tag"),y=O,S??(S=O.offset),a=!1,o=!1,h=!0;break}case n:(g||y)&&s(O,"BAD_PROP_ORDER",`Anchors and tags must be after the ${O.source} indicator`),w&&s(O,"UNEXPECTED_TOKEN",`Unexpected ${O.source} in ${i??"collection"}`),w=O,a=n==="seq-item-ind"||n==="explicit-key-ind",o=!1;break;case"comma":if(i){x&&s(O,"UNEXPECTED_TOKEN",`Unexpected , in ${i}`),x=O,a=!1,o=!1;break}default:s(O,"UNEXPECTED_TOKEN",`Unexpected ${O.type} token`),a=!1,o=!1}const _=t[t.length-1],E=_?_.offset+_.source.length:c;return h&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v&&(a&&v.indent<=l||r?.type==="block-map"||r?.type==="block-seq")&&s(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:x,found:w,spaceBefore:p,comment:u,hasNewline:f,anchor:g,tag:y,newlineAfterProp:b,end:E,start:S??E}}return Co.resolveProps=e,Co}var Io={},Sm;function el(){if(Sm)return Io;Sm=1;function e(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes(`
102
+ `))return!0;if(t.end){for(const i of t.end)if(i.type==="newline")return!0}return!1;case"flow-collection":for(const i of t.items){for(const n of i.start)if(n.type==="newline")return!0;if(i.sep){for(const n of i.sep)if(n.type==="newline")return!0}if(e(i.key)||e(i.value))return!0}return!1;default:return!0}}return Io.containsNewline=e,Io}var qo={},_m;function Av(){if(_m)return qo;_m=1;var e=el();function t(i,n,r){if(n?.type==="flow-collection"){const c=n.end[0];c.indent===i&&(c.source==="]"||c.source==="}")&&e.containsNewline(n)&&r(c,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}return qo.flowIndentCheck=t,qo}var Lo={},$m;function Pv(){if($m)return Lo;$m=1;var e=oe();function t(i,n,r){const{uniqueKeys:c}=i.options;if(c===!1)return!1;const s=typeof c=="function"?c:(l,d)=>l===d||e.isScalar(l)&&e.isScalar(d)&&l.value===d.value;return n.some(l=>s(l.key,r))}return Lo.mapIncludes=t,Lo}var Em;function J_(){if(Em)return jo;Em=1;var e=St(),t=_t(),i=qa(),n=el(),r=Av(),c=Pv();const s="All mapping items must start at the same column";function l({composeNode:d,composeEmptyNode:p},a,o,u,m){const f=m?.nodeClass??t.YAMLMap,h=new f(a.schema);a.atRoot&&(a.atRoot=!1);let v=o.offset,g=null;for(const y of o.items){const{start:b,key:x,sep:w,value:S}=y,_=i.resolveProps(b,{indicator:"explicit-key-ind",next:x??w?.[0],offset:v,onError:u,parentIndent:o.indent,startOnNewline:!0}),E=!_.found;if(E){if(x&&(x.type==="block-seq"?u(v,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in x&&x.indent!==o.indent&&u(v,"BAD_INDENT",s)),!_.anchor&&!_.tag&&!w){g=_.end,_.comment&&(h.comment?h.comment+=`
103
+ `+_.comment:h.comment=_.comment);continue}(_.newlineAfterProp||n.containsNewline(x))&&u(x??b[b.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else _.found?.indent!==o.indent&&u(v,"BAD_INDENT",s);a.atKey=!0;const O=_.end,U=x?d(a,x,_,u):p(a,O,b,null,_,u);a.schema.compat&&r.flowIndentCheck(o.indent,x,u),a.atKey=!1,c.mapIncludes(a,h.items,U)&&u(O,"DUPLICATE_KEY","Map keys must be unique");const M=i.resolveProps(w??[],{indicator:"map-value-ind",next:S,offset:U.range[2],onError:u,parentIndent:o.indent,startOnNewline:!x||x.type==="block-scalar"});if(v=M.end,M.found){E&&(S?.type==="block-map"&&!M.hasNewline&&u(v,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),a.options.strict&&_.start<M.found.offset-1024&&u(U.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const B=S?d(a,S,M,u):p(a,v,w,null,M,u);a.schema.compat&&r.flowIndentCheck(o.indent,S,u),v=B.range[2];const G=new e.Pair(U,B);a.options.keepSourceTokens&&(G.srcToken=y),h.items.push(G)}else{E&&u(U.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),M.comment&&(U.comment?U.comment+=`
104
+ `+M.comment:U.comment=M.comment);const B=new e.Pair(U);a.options.keepSourceTokens&&(B.srcToken=y),h.items.push(B)}}return g&&g<v&&u(g,"IMPOSSIBLE","Map comment with trailing content"),h.range=[o.offset,v,g??v],h}return jo.resolveBlockMap=l,jo}var Do={},km;function X_(){if(km)return Do;km=1;var e=$t(),t=qa(),i=Av();function n({composeNode:r,composeEmptyNode:c},s,l,d,p){const a=p?.nodeClass??e.YAMLSeq,o=new a(s.schema);s.atRoot&&(s.atRoot=!1),s.atKey&&(s.atKey=!1);let u=l.offset,m=null;for(const{start:f,value:h}of l.items){const v=t.resolveProps(f,{indicator:"seq-item-ind",next:h,offset:u,onError:d,parentIndent:l.indent,startOnNewline:!0});if(!v.found)if(v.anchor||v.tag||h)h&&h.type==="block-seq"?d(v.end,"BAD_INDENT","All sequence items must start at the same column"):d(u,"MISSING_CHAR","Sequence item without - indicator");else{m=v.end,v.comment&&(o.comment=v.comment);continue}const g=h?r(s,h,v,d):c(s,v.end,f,null,v,d);s.schema.compat&&i.flowIndentCheck(l.indent,h,d),u=g.range[2],o.items.push(g)}return o.range=[l.offset,u,m??u],o}return Do.resolveBlockSeq=n,Do}var Mo={},Fo={},Rm;function En(){if(Rm)return Fo;Rm=1;function e(t,i,n,r){let c="";if(t){let s=!1,l="";for(const d of t){const{source:p,type:a}=d;switch(a){case"space":s=!0;break;case"comment":{n&&!s&&r(d,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const o=p.substring(1)||" ";c?c+=l+o:c=o,l="";break}case"newline":c&&(l+=p),s=!0;break;default:r(d,"UNEXPECTED_TOKEN",`Unexpected ${a} at node end`)}i+=p.length}}return{comment:c,offset:i}}return Fo.resolveEnd=e,Fo}var Am;function Q_(){if(Am)return Mo;Am=1;var e=oe(),t=St(),i=_t(),n=$t(),r=En(),c=qa(),s=el(),l=Pv();const d="Block collections are not allowed within flow collections",p=o=>o&&(o.type==="block-map"||o.type==="block-seq");function a({composeNode:o,composeEmptyNode:u},m,f,h,v){const g=f.start.source==="{",y=g?"flow map":"flow sequence",b=v?.nodeClass??(g?i.YAMLMap:n.YAMLSeq),x=new b(m.schema);x.flow=!0;const w=m.atRoot;w&&(m.atRoot=!1),m.atKey&&(m.atKey=!1);let S=f.offset+f.start.source.length;for(let M=0;M<f.items.length;++M){const B=f.items[M],{start:G,key:C,sep:V,value:T}=B,A=c.resolveProps(G,{flow:y,indicator:"explicit-key-ind",next:C??V?.[0],offset:S,onError:h,parentIndent:f.indent,startOnNewline:!1});if(!A.found){if(!A.anchor&&!A.tag&&!V&&!T){M===0&&A.comma?h(A.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`):M<f.items.length-1&&h(A.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${y}`),A.comment&&(x.comment?x.comment+=`
105
+ `+A.comment:x.comment=A.comment),S=A.end;continue}!g&&m.options.strict&&s.containsNewline(C)&&h(C,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(M===0)A.comma&&h(A.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`);else if(A.comma||h(A.start,"MISSING_CHAR",`Missing , between ${y} items`),A.comment){let P="";e:for(const z of G)switch(z.type){case"comma":case"space":break;case"comment":P=z.source.substring(1);break e;default:break e}if(P){let z=x.items[x.items.length-1];e.isPair(z)&&(z=z.value??z.key),z.comment?z.comment+=`
106
+ `+P:z.comment=P,A.comment=A.comment.substring(P.length+1)}}if(!g&&!V&&!A.found){const P=T?o(m,T,A,h):u(m,A.end,V,null,A,h);x.items.push(P),S=P.range[2],p(T)&&h(P.range,"BLOCK_IN_FLOW",d)}else{m.atKey=!0;const P=A.end,z=C?o(m,C,A,h):u(m,P,G,null,A,h);p(C)&&h(z.range,"BLOCK_IN_FLOW",d),m.atKey=!1;const q=c.resolveProps(V??[],{flow:y,indicator:"map-value-ind",next:T,offset:z.range[2],onError:h,parentIndent:f.indent,startOnNewline:!1});if(q.found){if(!g&&!A.found&&m.options.strict){if(V)for(const N of V){if(N===q.found)break;if(N.type==="newline"){h(N,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}A.start<q.found.offset-1024&&h(q.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else T&&("source"in T&&T.source&&T.source[0]===":"?h(T,"MISSING_CHAR",`Missing space after : in ${y}`):h(q.start,"MISSING_CHAR",`Missing , or : between ${y} items`));const R=T?o(m,T,q,h):q.found?u(m,q.end,V,null,q,h):null;R?p(T)&&h(R.range,"BLOCK_IN_FLOW",d):q.comment&&(z.comment?z.comment+=`
107
+ `+q.comment:z.comment=q.comment);const I=new t.Pair(z,R);if(m.options.keepSourceTokens&&(I.srcToken=B),g){const N=x;l.mapIncludes(m,N.items,z)&&h(P,"DUPLICATE_KEY","Map keys must be unique"),N.items.push(I)}else{const N=new i.YAMLMap(m.schema);N.flow=!0,N.items.push(I);const $=(R??z).range;N.range=[z.range[0],$[1],$[2]],x.items.push(N)}S=R?R.range[2]:q.end}}const _=g?"}":"]",[E,...O]=f.end;let U=S;if(E&&E.source===_)U=E.offset+E.source.length;else{const M=y[0].toUpperCase()+y.substring(1),B=w?`${M} must end with a ${_}`:`${M} in block collection must be sufficiently indented and end with a ${_}`;h(S,w?"MISSING_CHAR":"BAD_INDENT",B),E&&E.source.length!==1&&O.unshift(E)}if(O.length>0){const M=r.resolveEnd(O,U,m.options.strict,h);M.comment&&(x.comment?x.comment+=`
108
+ `+M.comment:x.comment=M.comment),x.range=[f.offset,U,M.offset]}else x.range=[f.offset,U,U];return x}return Mo.resolveFlowCollection=a,Mo}var Pm;function Z_(){if(Pm)return No;Pm=1;var e=oe(),t=ye(),i=_t(),n=$t(),r=J_(),c=X_(),s=Q_();function l(p,a,o,u,m,f){const h=o.type==="block-map"?r.resolveBlockMap(p,a,o,u,f):o.type==="block-seq"?c.resolveBlockSeq(p,a,o,u,f):s.resolveFlowCollection(p,a,o,u,f),v=h.constructor;return m==="!"||m===v.tagName?(h.tag=v.tagName,h):(m&&(h.tag=m),h)}function d(p,a,o,u,m){const f=u.tag,h=f?a.directives.tagName(f.source,w=>m(f,"TAG_RESOLVE_FAILED",w)):null;if(o.type==="block-seq"){const{anchor:w,newlineAfterProp:S}=u,_=w&&f?w.offset>f.offset?w:f:w??f;_&&(!S||S.offset<_.offset)&&m(_,"MISSING_CHAR","Missing newline after block sequence props")}const v=o.type==="block-map"?"map":o.type==="block-seq"?"seq":o.start.source==="{"?"map":"seq";if(!f||!h||h==="!"||h===i.YAMLMap.tagName&&v==="map"||h===n.YAMLSeq.tagName&&v==="seq")return l(p,a,o,m,h);let g=a.schema.tags.find(w=>w.tag===h&&w.collection===v);if(!g){const w=a.schema.knownTags[h];if(w&&w.collection===v)a.schema.tags.push(Object.assign({},w,{default:!1})),g=w;else return w?m(f,"BAD_COLLECTION_TYPE",`${w.tag} used for ${v} collection, but expects ${w.collection??"scalar"}`,!0):m(f,"TAG_RESOLVE_FAILED",`Unresolved tag: ${h}`,!0),l(p,a,o,m,h)}const y=l(p,a,o,m,h,g),b=g.resolve?.(y,w=>m(f,"TAG_RESOLVE_FAILED",w),a.options)??y,x=e.isNode(b)?b:new t.Scalar(b);return x.range=y.range,x.tag=h,g?.format&&(x.format=g.format),x}return No.composeCollection=d,No}var zo={},Uo={},Tm;function Tv(){if(Tm)return Uo;Tm=1;var e=ye();function t(r,c,s){const l=c.offset,d=i(c,r.options.strict,s);if(!d)return{value:"",type:null,comment:"",range:[l,l,l]};const p=d.mode===">"?e.Scalar.BLOCK_FOLDED:e.Scalar.BLOCK_LITERAL,a=c.source?n(c.source):[];let o=a.length;for(let b=a.length-1;b>=0;--b){const x=a[b][1];if(x===""||x==="\r")o=b;else break}if(o===0){const b=d.chomp==="+"&&a.length>0?`
109
+ `.repeat(Math.max(1,a.length-1)):"";let x=l+d.length;return c.source&&(x+=c.source.length),{value:b,type:p,comment:d.comment,range:[l,x,x]}}let u=c.indent+d.indent,m=c.offset+d.length,f=0;for(let b=0;b<o;++b){const[x,w]=a[b];if(w===""||w==="\r")d.indent===0&&x.length>u&&(u=x.length);else{x.length<u&&s(m+x.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),d.indent===0&&(u=x.length),f=b,u===0&&!r.atRoot&&s(m,"BAD_INDENT","Block scalar values in collections must be indented");break}m+=x.length+w.length+1}for(let b=a.length-1;b>=o;--b)a[b][0].length>u&&(o=b+1);let h="",v="",g=!1;for(let b=0;b<f;++b)h+=a[b][0].slice(u)+`
110
+ `;for(let b=f;b<o;++b){let[x,w]=a[b];m+=x.length+w.length+1;const S=w[w.length-1]==="\r";if(S&&(w=w.slice(0,-1)),w&&x.length<u){const E=`Block scalar lines must not be less indented than their ${d.indent?"explicit indentation indicator":"first line"}`;s(m-w.length-(S?2:1),"BAD_INDENT",E),x=""}p===e.Scalar.BLOCK_LITERAL?(h+=v+x.slice(u)+w,v=`
111
111
  `):x.length>u||w[0]===" "?(v===" "?v=`
112
112
  `:!g&&v===`
113
113
  `&&(v=`
@@ -116,71 +116,71 @@ ${m}
116
116
  `,g=!0):w===""?v===`
117
117
  `?h+=`
118
118
  `:v=`
119
- `:(h+=v+w,v=" ",g=!1)}switch(d.chomp){case"-":break;case"+":for(let b=s;b<a.length;++b)h+=`
119
+ `:(h+=v+w,v=" ",g=!1)}switch(d.chomp){case"-":break;case"+":for(let b=o;b<a.length;++b)h+=`
120
120
  `+a[b][0].slice(u);h[h.length-1]!==`
121
121
  `&&(h+=`
122
122
  `);break;default:h+=`
123
- `}const y=l+d.length+c.source.length;return{value:h,type:p,comment:d.comment,range:[l,y,y]}}function i({offset:r,props:c},o,l){if(c[0].type!=="block-scalar-header")return l(c[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:d}=c[0],p=d[0];let a=0,s="",u=-1;for(let v=1;v<d.length;++v){const g=d[v];if(!s&&(g==="-"||g==="+"))s=g;else{const y=Number(g);!a&&y?a=y:u===-1&&(u=r+v)}}u!==-1&&l(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${d}`);let m=!1,f="",h=d.length;for(let v=1;v<c.length;++v){const g=c[v];switch(g.type){case"space":m=!0;case"newline":h+=g.source.length;break;case"comment":o&&!m&&l(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),h+=g.source.length,f=g.source.substring(1);break;case"error":l(g,"UNEXPECTED_TOKEN",g.message),h+=g.source.length;break;default:{const y=`Unexpected token in block scalar header: ${g.type}`;l(g,"UNEXPECTED_TOKEN",y);const b=g.source;b&&typeof b=="string"&&(h+=b.length)}}}return{mode:p,indent:a,chomp:s,comment:f,length:h}}function n(r){const c=r.split(/\n( *)/),o=c[0],l=o.match(/^( *)/),p=[l?.[1]?[l[1],o.slice(l[1].length)]:["",o]];for(let a=1;a<c.length;a+=2)p.push([c[a],c[a+1]]);return p}return qo.resolveBlockScalar=t,qo}var Lo={},Rm;function kv(){if(Rm)return Lo;Rm=1;var e=ye(),t=_n();function i(a,s,u){const{offset:m,type:f,source:h,end:v}=a;let g,y;const b=(S,$,E)=>u(m+S,$,E);switch(f){case"scalar":g=e.Scalar.PLAIN,y=n(h,b);break;case"single-quoted-scalar":g=e.Scalar.QUOTE_SINGLE,y=r(h,b);break;case"double-quoted-scalar":g=e.Scalar.QUOTE_DOUBLE,y=o(h,b);break;default:return u(a,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${f}`),{value:"",type:null,comment:"",range:[m,m+h.length,m+h.length]}}const x=m+h.length,w=t.resolveEnd(v,x,s,u);return{value:y,type:g,comment:w.comment,range:[m,x,w.offset]}}function n(a,s){let u="";switch(a[0]){case" ":u="a tab character";break;case",":u="flow indicator character ,";break;case"%":u="directive indicator character %";break;case"|":case">":{u=`block scalar indicator ${a[0]}`;break}case"@":case"`":{u=`reserved character ${a[0]}`;break}}return u&&s(0,"BAD_SCALAR_START",`Plain value cannot start with ${u}`),c(a)}function r(a,s){return(a[a.length-1]!=="'"||a.length===1)&&s(a.length,"MISSING_CHAR","Missing closing 'quote"),c(a.slice(1,-1)).replace(/''/g,"'")}function c(a){let s,u;try{s=new RegExp(`(.*?)(?<![ ])[ ]*\r?
123
+ `}const y=l+d.length+c.source.length;return{value:h,type:p,comment:d.comment,range:[l,y,y]}}function i({offset:r,props:c},s,l){if(c[0].type!=="block-scalar-header")return l(c[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:d}=c[0],p=d[0];let a=0,o="",u=-1;for(let v=1;v<d.length;++v){const g=d[v];if(!o&&(g==="-"||g==="+"))o=g;else{const y=Number(g);!a&&y?a=y:u===-1&&(u=r+v)}}u!==-1&&l(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${d}`);let m=!1,f="",h=d.length;for(let v=1;v<c.length;++v){const g=c[v];switch(g.type){case"space":m=!0;case"newline":h+=g.source.length;break;case"comment":s&&!m&&l(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),h+=g.source.length,f=g.source.substring(1);break;case"error":l(g,"UNEXPECTED_TOKEN",g.message),h+=g.source.length;break;default:{const y=`Unexpected token in block scalar header: ${g.type}`;l(g,"UNEXPECTED_TOKEN",y);const b=g.source;b&&typeof b=="string"&&(h+=b.length)}}}return{mode:p,indent:a,chomp:o,comment:f,length:h}}function n(r){const c=r.split(/\n( *)/),s=c[0],l=s.match(/^( *)/),p=[l?.[1]?[l[1],s.slice(l[1].length)]:["",s]];for(let a=1;a<c.length;a+=2)p.push([c[a],c[a+1]]);return p}return Uo.resolveBlockScalar=t,Uo}var Bo={},Om;function Ov(){if(Om)return Bo;Om=1;var e=ye(),t=En();function i(a,o,u){const{offset:m,type:f,source:h,end:v}=a;let g,y;const b=(S,_,E)=>u(m+S,_,E);switch(f){case"scalar":g=e.Scalar.PLAIN,y=n(h,b);break;case"single-quoted-scalar":g=e.Scalar.QUOTE_SINGLE,y=r(h,b);break;case"double-quoted-scalar":g=e.Scalar.QUOTE_DOUBLE,y=s(h,b);break;default:return u(a,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${f}`),{value:"",type:null,comment:"",range:[m,m+h.length,m+h.length]}}const x=m+h.length,w=t.resolveEnd(v,x,o,u);return{value:y,type:g,comment:w.comment,range:[m,x,w.offset]}}function n(a,o){let u="";switch(a[0]){case" ":u="a tab character";break;case",":u="flow indicator character ,";break;case"%":u="directive indicator character %";break;case"|":case">":{u=`block scalar indicator ${a[0]}`;break}case"@":case"`":{u=`reserved character ${a[0]}`;break}}return u&&o(0,"BAD_SCALAR_START",`Plain value cannot start with ${u}`),c(a)}function r(a,o){return(a[a.length-1]!=="'"||a.length===1)&&o(a.length,"MISSING_CHAR","Missing closing 'quote"),c(a.slice(1,-1)).replace(/''/g,"'")}function c(a){let o,u;try{o=new RegExp(`(.*?)(?<![ ])[ ]*\r?
124
124
  `,"sy"),u=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
125
- `,"sy")}catch{s=/(.*?)[ \t]*\r?\n/sy,u=/[ \t]*(.*?)[ \t]*\r?\n/sy}let m=s.exec(a);if(!m)return a;let f=m[1],h=" ",v=s.lastIndex;for(u.lastIndex=v;m=u.exec(a);)m[1]===""?h===`
125
+ `,"sy")}catch{o=/(.*?)[ \t]*\r?\n/sy,u=/[ \t]*(.*?)[ \t]*\r?\n/sy}let m=o.exec(a);if(!m)return a;let f=m[1],h=" ",v=o.lastIndex;for(u.lastIndex=v;m=u.exec(a);)m[1]===""?h===`
126
126
  `?f+=h:h=`
127
- `:(f+=h+m[1],h=" "),v=u.lastIndex;const g=/[ \t]*(.*)/sy;return g.lastIndex=v,m=g.exec(a),f+h+(m?.[1]??"")}function o(a,s){let u="";for(let m=1;m<a.length-1;++m){const f=a[m];if(!(f==="\r"&&a[m+1]===`
127
+ `:(f+=h+m[1],h=" "),v=u.lastIndex;const g=/[ \t]*(.*)/sy;return g.lastIndex=v,m=g.exec(a),f+h+(m?.[1]??"")}function s(a,o){let u="";for(let m=1;m<a.length-1;++m){const f=a[m];if(!(f==="\r"&&a[m+1]===`
128
128
  `))if(f===`
129
129
  `){const{fold:h,offset:v}=l(a,m);u+=h,m=v}else if(f==="\\"){let h=a[++m];const v=d[h];if(v)u+=v;else if(h===`
130
130
  `)for(h=a[m+1];h===" "||h===" ";)h=a[++m+1];else if(h==="\r"&&a[m+1]===`
131
- `)for(h=a[++m+1];h===" "||h===" ";)h=a[++m+1];else if(h==="x"||h==="u"||h==="U"){const g={x:2,u:4,U:8}[h];u+=p(a,m+1,g,s),m+=g}else{const g=a.substr(m-1,2);s(m-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),u+=g}}else if(f===" "||f===" "){const h=m;let v=a[m+1];for(;v===" "||v===" ";)v=a[++m+1];v!==`
131
+ `)for(h=a[++m+1];h===" "||h===" ";)h=a[++m+1];else if(h==="x"||h==="u"||h==="U"){const g={x:2,u:4,U:8}[h];u+=p(a,m+1,g,o),m+=g}else{const g=a.substr(m-1,2);o(m-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),u+=g}}else if(f===" "||f===" "){const h=m;let v=a[m+1];for(;v===" "||v===" ";)v=a[++m+1];v!==`
132
132
  `&&!(v==="\r"&&a[m+2]===`
133
- `)&&(u+=m>h?a.slice(h,m+1):f)}else u+=f}return(a[a.length-1]!=='"'||a.length===1)&&s(a.length,"MISSING_CHAR",'Missing closing "quote'),u}function l(a,s){let u="",m=a[s+1];for(;(m===" "||m===" "||m===`
134
- `||m==="\r")&&!(m==="\r"&&a[s+2]!==`
133
+ `)&&(u+=m>h?a.slice(h,m+1):f)}else u+=f}return(a[a.length-1]!=='"'||a.length===1)&&o(a.length,"MISSING_CHAR",'Missing closing "quote'),u}function l(a,o){let u="",m=a[o+1];for(;(m===" "||m===" "||m===`
134
+ `||m==="\r")&&!(m==="\r"&&a[o+2]!==`
135
135
  `);)m===`
136
136
  `&&(u+=`
137
- `),s+=1,m=a[s+1];return u||(u=" "),{fold:u,offset:s}}const d={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
138
- `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function p(a,s,u,m){const f=a.substr(s,u),v=f.length===u&&/^[0-9a-fA-F]+$/.test(f)?parseInt(f,16):NaN;if(isNaN(v)){const g=a.substr(s-2,u+2);return m(s-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),g}return String.fromCodePoint(v)}return Lo.resolveFlowScalar=i,Lo}var Am;function Z$(){if(Am)return Io;Am=1;var e=oe(),t=ye(),i=Ev(),n=kv();function r(l,d,p,a){const{value:s,type:u,comment:m,range:f}=d.type==="block-scalar"?i.resolveBlockScalar(l,d,a):n.resolveFlowScalar(d,l.options.strict,a),h=p?l.directives.tagName(p.source,y=>a(p,"TAG_RESOLVE_FAILED",y)):null;let v;l.options.stringKeys&&l.atKey?v=l.schema[e.SCALAR]:h?v=c(l.schema,s,h,p,a):d.type==="scalar"?v=o(l,s,d,a):v=l.schema[e.SCALAR];let g;try{const y=v.resolve(s,b=>a(p??d,"TAG_RESOLVE_FAILED",b),l.options);g=e.isScalar(y)?y:new t.Scalar(y)}catch(y){const b=y instanceof Error?y.message:String(y);a(p??d,"TAG_RESOLVE_FAILED",b),g=new t.Scalar(s)}return g.range=f,g.source=s,u&&(g.type=u),h&&(g.tag=h),v.format&&(g.format=v.format),m&&(g.comment=m),g}function c(l,d,p,a,s){if(p==="!")return l[e.SCALAR];const u=[];for(const f of l.tags)if(!f.collection&&f.tag===p)if(f.default&&f.test)u.push(f);else return f;for(const f of u)if(f.test?.test(d))return f;const m=l.knownTags[p];return m&&!m.collection?(l.tags.push(Object.assign({},m,{default:!1,test:void 0})),m):(s(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${p}`,p!=="tag:yaml.org,2002:str"),l[e.SCALAR])}function o({atKey:l,directives:d,schema:p},a,s,u){const m=p.tags.find(f=>(f.default===!0||l&&f.default==="key")&&f.test?.test(a))||p[e.SCALAR];if(p.compat){const f=p.compat.find(h=>h.default&&h.test?.test(a))??p[e.SCALAR];if(m.tag!==f.tag){const h=d.tagString(m.tag),v=d.tagString(f.tag),g=`Value may be parsed as either ${h} or ${v}`;u(s,"TAG_RESOLVE_FAILED",g,!0)}}return m}return Io.composeScalar=r,Io}var Mo={},Pm;function e_(){if(Pm)return Mo;Pm=1;function e(t,i,n){if(i){n??(n=i.length);for(let r=n-1;r>=0;--r){let c=i[r];switch(c.type){case"space":case"comment":case"newline":t-=c.source.length;continue}for(c=i[++r];c?.type==="space";)t+=c.source.length,c=i[++r];break}}return t}return Mo.emptyScalarPosition=e,Mo}var Tm;function t_(){if(Tm)return Di;Tm=1;var e=Ea(),t=oe(),i=Q$(),n=Z$(),r=_n(),c=e_();const o={composeNode:l,composeEmptyNode:d};function l(a,s,u,m){const f=a.atKey,{spaceBefore:h,comment:v,anchor:g,tag:y}=u;let b,x=!0;switch(s.type){case"alias":b=p(a,s,m),(g||y)&&m(s,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":b=n.composeScalar(a,s,y,m),g&&(b.anchor=g.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":b=i.composeCollection(o,a,s,u,m),g&&(b.anchor=g.source.substring(1));break;default:{const w=s.type==="error"?s.message:`Unsupported token (type: ${s.type})`;m(s,"UNEXPECTED_TOKEN",w),b=d(a,s.offset,void 0,null,u,m),x=!1}}return g&&b.anchor===""&&m(g,"BAD_ALIAS","Anchor cannot be an empty string"),f&&a.options.stringKeys&&(!t.isScalar(b)||typeof b.value!="string"||b.tag&&b.tag!=="tag:yaml.org,2002:str")&&m(y??s,"NON_STRING_KEY","With stringKeys, all keys must be strings"),h&&(b.spaceBefore=!0),v&&(s.type==="scalar"&&s.source===""?b.comment=v:b.commentBefore=v),a.options.keepSourceTokens&&x&&(b.srcToken=s),b}function d(a,s,u,m,{spaceBefore:f,comment:h,anchor:v,tag:g,end:y},b){const x={type:"scalar",offset:c.emptyScalarPosition(s,u,m),indent:-1,source:""},w=n.composeScalar(a,x,g,b);return v&&(w.anchor=v.source.substring(1),w.anchor===""&&b(v,"BAD_ALIAS","Anchor cannot be an empty string")),f&&(w.spaceBefore=!0),h&&(w.comment=h,w.range[2]=y),w}function p({options:a},{offset:s,source:u,end:m},f){const h=new e.Alias(u.substring(1));h.source===""&&f(s,"BAD_ALIAS","Alias cannot be an empty string"),h.source.endsWith(":")&&f(s+u.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const v=s+u.length,g=r.resolveEnd(m,v,a.strict,f);return h.range=[s,v,g.offset],g.comment&&(h.comment=g.comment),h}return Di.composeEmptyNode=d,Di.composeNode=l,Di}var Om;function n_(){if(Om)return Eo;Om=1;var e=Oa(),t=t_(),i=_n(),n=ja();function r(c,o,{offset:l,start:d,value:p,end:a},s){const u=Object.assign({_directives:o},c),m=new e.Document(void 0,u),f={atKey:!1,atRoot:!0,directives:m.directives,options:m.options,schema:m.schema},h=n.resolveProps(d,{indicator:"doc-start",next:p??a?.[0],offset:l,onError:s,parentIndent:0,startOnNewline:!0});h.found&&(m.directives.docStart=!0,p&&(p.type==="block-map"||p.type==="block-seq")&&!h.hasNewline&&s(h.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),m.contents=p?t.composeNode(f,p,h,s):t.composeEmptyNode(f,h.end,d,null,h,s);const v=m.contents.range[2],g=i.resolveEnd(a,v,!1,s);return g.comment&&(m.comment=g.comment),m.range=[l,v,g.offset],m}return Eo.composeDoc=r,Eo}var Nm;function Rv(){if(Nm)return Zs;Nm=1;var e=lc,t=ov(),i=Oa(),n=Na(),r=oe(),c=n_(),o=_n();function l(a){if(typeof a=="number")return[a,a+1];if(Array.isArray(a))return a.length===2?a:[a[0],a[1]];const{offset:s,source:u}=a;return[s,s+(typeof u=="string"?u.length:1)]}function d(a){let s="",u=!1,m=!1;for(let f=0;f<a.length;++f){const h=a[f];switch(h[0]){case"#":s+=(s===""?"":m?`
137
+ `),o+=1,m=a[o+1];return u||(u=" "),{fold:u,offset:o}}const d={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
138
+ `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function p(a,o,u,m){const f=a.substr(o,u),v=f.length===u&&/^[0-9a-fA-F]+$/.test(f)?parseInt(f,16):NaN;if(isNaN(v)){const g=a.substr(o-2,u+2);return m(o-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),g}return String.fromCodePoint(v)}return Bo.resolveFlowScalar=i,Bo}var Nm;function e$(){if(Nm)return zo;Nm=1;var e=oe(),t=ye(),i=Tv(),n=Ov();function r(l,d,p,a){const{value:o,type:u,comment:m,range:f}=d.type==="block-scalar"?i.resolveBlockScalar(l,d,a):n.resolveFlowScalar(d,l.options.strict,a),h=p?l.directives.tagName(p.source,y=>a(p,"TAG_RESOLVE_FAILED",y)):null;let v;l.options.stringKeys&&l.atKey?v=l.schema[e.SCALAR]:h?v=c(l.schema,o,h,p,a):d.type==="scalar"?v=s(l,o,d,a):v=l.schema[e.SCALAR];let g;try{const y=v.resolve(o,b=>a(p??d,"TAG_RESOLVE_FAILED",b),l.options);g=e.isScalar(y)?y:new t.Scalar(y)}catch(y){const b=y instanceof Error?y.message:String(y);a(p??d,"TAG_RESOLVE_FAILED",b),g=new t.Scalar(o)}return g.range=f,g.source=o,u&&(g.type=u),h&&(g.tag=h),v.format&&(g.format=v.format),m&&(g.comment=m),g}function c(l,d,p,a,o){if(p==="!")return l[e.SCALAR];const u=[];for(const f of l.tags)if(!f.collection&&f.tag===p)if(f.default&&f.test)u.push(f);else return f;for(const f of u)if(f.test?.test(d))return f;const m=l.knownTags[p];return m&&!m.collection?(l.tags.push(Object.assign({},m,{default:!1,test:void 0})),m):(o(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${p}`,p!=="tag:yaml.org,2002:str"),l[e.SCALAR])}function s({atKey:l,directives:d,schema:p},a,o,u){const m=p.tags.find(f=>(f.default===!0||l&&f.default==="key")&&f.test?.test(a))||p[e.SCALAR];if(p.compat){const f=p.compat.find(h=>h.default&&h.test?.test(a))??p[e.SCALAR];if(m.tag!==f.tag){const h=d.tagString(m.tag),v=d.tagString(f.tag),g=`Value may be parsed as either ${h} or ${v}`;u(o,"TAG_RESOLVE_FAILED",g,!0)}}return m}return zo.composeScalar=r,zo}var Vo={},jm;function t$(){if(jm)return Vo;jm=1;function e(t,i,n){if(i){n??(n=i.length);for(let r=n-1;r>=0;--r){let c=i[r];switch(c.type){case"space":case"comment":case"newline":t-=c.source.length;continue}for(c=i[++r];c?.type==="space";)t+=c.source.length,c=i[++r];break}}return t}return Vo.emptyScalarPosition=e,Vo}var Cm;function n$(){if(Cm)return Bi;Cm=1;var e=Aa(),t=oe(),i=Z_(),n=e$(),r=En(),c=t$();const s={composeNode:l,composeEmptyNode:d};function l(a,o,u,m){const f=a.atKey,{spaceBefore:h,comment:v,anchor:g,tag:y}=u;let b,x=!0;switch(o.type){case"alias":b=p(a,o,m),(g||y)&&m(o,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":b=n.composeScalar(a,o,y,m),g&&(b.anchor=g.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":b=i.composeCollection(s,a,o,u,m),g&&(b.anchor=g.source.substring(1));break;default:{const w=o.type==="error"?o.message:`Unsupported token (type: ${o.type})`;m(o,"UNEXPECTED_TOKEN",w),b=d(a,o.offset,void 0,null,u,m),x=!1}}return g&&b.anchor===""&&m(g,"BAD_ALIAS","Anchor cannot be an empty string"),f&&a.options.stringKeys&&(!t.isScalar(b)||typeof b.value!="string"||b.tag&&b.tag!=="tag:yaml.org,2002:str")&&m(y??o,"NON_STRING_KEY","With stringKeys, all keys must be strings"),h&&(b.spaceBefore=!0),v&&(o.type==="scalar"&&o.source===""?b.comment=v:b.commentBefore=v),a.options.keepSourceTokens&&x&&(b.srcToken=o),b}function d(a,o,u,m,{spaceBefore:f,comment:h,anchor:v,tag:g,end:y},b){const x={type:"scalar",offset:c.emptyScalarPosition(o,u,m),indent:-1,source:""},w=n.composeScalar(a,x,g,b);return v&&(w.anchor=v.source.substring(1),w.anchor===""&&b(v,"BAD_ALIAS","Anchor cannot be an empty string")),f&&(w.spaceBefore=!0),h&&(w.comment=h,w.range[2]=y),w}function p({options:a},{offset:o,source:u,end:m},f){const h=new e.Alias(u.substring(1));h.source===""&&f(o,"BAD_ALIAS","Alias cannot be an empty string"),h.source.endsWith(":")&&f(o+u.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const v=o+u.length,g=r.resolveEnd(m,v,a.strict,f);return h.range=[o,v,g.offset],g.comment&&(h.comment=g.comment),h}return Bi.composeEmptyNode=d,Bi.composeNode=l,Bi}var Im;function i$(){if(Im)return Oo;Im=1;var e=Ca(),t=n$(),i=En(),n=qa();function r(c,s,{offset:l,start:d,value:p,end:a},o){const u=Object.assign({_directives:s},c),m=new e.Document(void 0,u),f={atKey:!1,atRoot:!0,directives:m.directives,options:m.options,schema:m.schema},h=n.resolveProps(d,{indicator:"doc-start",next:p??a?.[0],offset:l,onError:o,parentIndent:0,startOnNewline:!0});h.found&&(m.directives.docStart=!0,p&&(p.type==="block-map"||p.type==="block-seq")&&!h.hasNewline&&o(h.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),m.contents=p?t.composeNode(f,p,h,o):t.composeEmptyNode(f,h.end,d,null,h,o);const v=m.contents.range[2],g=i.resolveEnd(a,v,!1,o);return g.comment&&(m.comment=g.comment),m.range=[l,v,g.offset],m}return Oo.composeDoc=r,Oo}var qm;function Nv(){if(qm)return ro;qm=1;var e=hc,t=dv(),i=Ca(),n=Ia(),r=oe(),c=i$(),s=En();function l(a){if(typeof a=="number")return[a,a+1];if(Array.isArray(a))return a.length===2?a:[a[0],a[1]];const{offset:o,source:u}=a;return[o,o+(typeof u=="string"?u.length:1)]}function d(a){let o="",u=!1,m=!1;for(let f=0;f<a.length;++f){const h=a[f];switch(h[0]){case"#":o+=(o===""?"":m?`
139
139
 
140
140
  `:`
141
- `)+(h.substring(1)||" "),u=!0,m=!1;break;case"%":a[f+1]?.[0]!=="#"&&(f+=1),u=!1;break;default:u||(m=!0),u=!1}}return{comment:s,afterEmptyLine:m}}class p{constructor(s={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(u,m,f,h)=>{const v=l(u);h?this.warnings.push(new n.YAMLWarning(v,m,f)):this.errors.push(new n.YAMLParseError(v,m,f))},this.directives=new t.Directives({version:s.version||"1.2"}),this.options=s}decorate(s,u){const{comment:m,afterEmptyLine:f}=d(this.prelude);if(m){const h=s.contents;if(u)s.comment=s.comment?`${s.comment}
142
- ${m}`:m;else if(f||s.directives.docStart||!h)s.commentBefore=m;else if(r.isCollection(h)&&!h.flow&&h.items.length>0){let v=h.items[0];r.isPair(v)&&(v=v.key);const g=v.commentBefore;v.commentBefore=g?`${m}
141
+ `)+(h.substring(1)||" "),u=!0,m=!1;break;case"%":a[f+1]?.[0]!=="#"&&(f+=1),u=!1;break;default:u||(m=!0),u=!1}}return{comment:o,afterEmptyLine:m}}class p{constructor(o={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(u,m,f,h)=>{const v=l(u);h?this.warnings.push(new n.YAMLWarning(v,m,f)):this.errors.push(new n.YAMLParseError(v,m,f))},this.directives=new t.Directives({version:o.version||"1.2"}),this.options=o}decorate(o,u){const{comment:m,afterEmptyLine:f}=d(this.prelude);if(m){const h=o.contents;if(u)o.comment=o.comment?`${o.comment}
142
+ ${m}`:m;else if(f||o.directives.docStart||!h)o.commentBefore=m;else if(r.isCollection(h)&&!h.flow&&h.items.length>0){let v=h.items[0];r.isPair(v)&&(v=v.key);const g=v.commentBefore;v.commentBefore=g?`${m}
143
143
  ${g}`:m}else{const v=h.commentBefore;h.commentBefore=v?`${m}
144
- ${v}`:m}}u?(Array.prototype.push.apply(s.errors,this.errors),Array.prototype.push.apply(s.warnings,this.warnings)):(s.errors=this.errors,s.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:d(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(s,u=!1,m=-1){for(const f of s)yield*this.next(f);yield*this.end(u,m)}*next(s){switch(e.env.LOG_STREAM&&console.dir(s,{depth:null}),s.type){case"directive":this.directives.add(s.source,(u,m,f)=>{const h=l(s);h[0]+=u,this.onError(h,"BAD_DIRECTIVE",m,f)}),this.prelude.push(s.source),this.atDirectives=!0;break;case"document":{const u=c.composeDoc(this.options,this.directives,s,this.onError);this.atDirectives&&!u.directives.docStart&&this.onError(s,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(u,!1),this.doc&&(yield this.doc),this.doc=u,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(s.source);break;case"error":{const u=s.source?`${s.message}: ${JSON.stringify(s.source)}`:s.message,m=new n.YAMLParseError(l(s),"UNEXPECTED_TOKEN",u);this.atDirectives||!this.doc?this.errors.push(m):this.doc.errors.push(m);break}case"doc-end":{if(!this.doc){const m="Unexpected doc-end without preceding document";this.errors.push(new n.YAMLParseError(l(s),"UNEXPECTED_TOKEN",m));break}this.doc.directives.docEnd=!0;const u=o.resolveEnd(s.end,s.offset+s.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),u.comment){const m=this.doc.comment;this.doc.comment=m?`${m}
145
- ${u.comment}`:u.comment}this.doc.range[2]=u.offset;break}default:this.errors.push(new n.YAMLParseError(l(s),"UNEXPECTED_TOKEN",`Unsupported token ${s.type}`))}}*end(s=!1,u=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(s){const m=Object.assign({_directives:this.directives},this.options),f=new i.Document(void 0,m);this.atDirectives&&this.onError(u,"MISSING_CHAR","Missing directives-end indicator line"),f.range=[0,u,u],this.decorate(f,!1),yield f}}}return Zs.Composer=p,Zs}var Ae={},cn={},jm;function i_(){if(jm)return cn;jm=1;var e=Ev(),t=kv(),i=Na(),n=Aa();function r(a,s=!0,u){if(a){const m=(f,h,v)=>{const g=typeof f=="number"?f:Array.isArray(f)?f[0]:f.offset;if(u)u(g,h,v);else throw new i.YAMLParseError([g,g+1],h,v)};switch(a.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return t.resolveFlowScalar(a,s,m);case"block-scalar":return e.resolveBlockScalar({options:{strict:s}},a,m)}}return null}function c(a,s){const{implicitKey:u=!1,indent:m,inFlow:f=!1,offset:h=-1,type:v="PLAIN"}=s,g=n.stringifyString({type:v,value:a},{implicitKey:u,indent:m>0?" ".repeat(m):"",inFlow:f,options:{blockQuote:!0,lineWidth:-1}}),y=s.end??[{type:"newline",offset:-1,indent:m,source:`
144
+ ${v}`:m}}u?(Array.prototype.push.apply(o.errors,this.errors),Array.prototype.push.apply(o.warnings,this.warnings)):(o.errors=this.errors,o.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:d(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(o,u=!1,m=-1){for(const f of o)yield*this.next(f);yield*this.end(u,m)}*next(o){switch(e.env.LOG_STREAM&&console.dir(o,{depth:null}),o.type){case"directive":this.directives.add(o.source,(u,m,f)=>{const h=l(o);h[0]+=u,this.onError(h,"BAD_DIRECTIVE",m,f)}),this.prelude.push(o.source),this.atDirectives=!0;break;case"document":{const u=c.composeDoc(this.options,this.directives,o,this.onError);this.atDirectives&&!u.directives.docStart&&this.onError(o,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(u,!1),this.doc&&(yield this.doc),this.doc=u,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(o.source);break;case"error":{const u=o.source?`${o.message}: ${JSON.stringify(o.source)}`:o.message,m=new n.YAMLParseError(l(o),"UNEXPECTED_TOKEN",u);this.atDirectives||!this.doc?this.errors.push(m):this.doc.errors.push(m);break}case"doc-end":{if(!this.doc){const m="Unexpected doc-end without preceding document";this.errors.push(new n.YAMLParseError(l(o),"UNEXPECTED_TOKEN",m));break}this.doc.directives.docEnd=!0;const u=s.resolveEnd(o.end,o.offset+o.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),u.comment){const m=this.doc.comment;this.doc.comment=m?`${m}
145
+ ${u.comment}`:u.comment}this.doc.range[2]=u.offset;break}default:this.errors.push(new n.YAMLParseError(l(o),"UNEXPECTED_TOKEN",`Unsupported token ${o.type}`))}}*end(o=!1,u=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(o){const m=Object.assign({_directives:this.directives},this.options),f=new i.Document(void 0,m);this.atDirectives&&this.onError(u,"MISSING_CHAR","Missing directives-end indicator line"),f.range=[0,u,u],this.decorate(f,!1),yield f}}}return ro.Composer=p,ro}var Ae={},ln={},Lm;function a$(){if(Lm)return ln;Lm=1;var e=Tv(),t=Ov(),i=Ia(),n=Oa();function r(a,o=!0,u){if(a){const m=(f,h,v)=>{const g=typeof f=="number"?f:Array.isArray(f)?f[0]:f.offset;if(u)u(g,h,v);else throw new i.YAMLParseError([g,g+1],h,v)};switch(a.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return t.resolveFlowScalar(a,o,m);case"block-scalar":return e.resolveBlockScalar({options:{strict:o}},a,m)}}return null}function c(a,o){const{implicitKey:u=!1,indent:m,inFlow:f=!1,offset:h=-1,type:v="PLAIN"}=o,g=n.stringifyString({type:v,value:a},{implicitKey:u,indent:m>0?" ".repeat(m):"",inFlow:f,options:{blockQuote:!0,lineWidth:-1}}),y=o.end??[{type:"newline",offset:-1,indent:m,source:`
146
146
  `}];switch(g[0]){case"|":case">":{const b=g.indexOf(`
147
147
  `),x=g.substring(0,b),w=g.substring(b+1)+`
148
148
  `,S=[{type:"block-scalar-header",offset:h,indent:m,source:x}];return d(S,y)||S.push({type:"newline",offset:-1,indent:m,source:`
149
- `}),{type:"block-scalar",offset:h,indent:m,props:S,source:w}}case'"':return{type:"double-quoted-scalar",offset:h,indent:m,source:g,end:y};case"'":return{type:"single-quoted-scalar",offset:h,indent:m,source:g,end:y};default:return{type:"scalar",offset:h,indent:m,source:g,end:y}}}function o(a,s,u={}){let{afterKey:m=!1,implicitKey:f=!1,inFlow:h=!1,type:v}=u,g="indent"in a?a.indent:null;if(m&&typeof g=="number"&&(g+=2),!v)switch(a.type){case"single-quoted-scalar":v="QUOTE_SINGLE";break;case"double-quoted-scalar":v="QUOTE_DOUBLE";break;case"block-scalar":{const b=a.props[0];if(b.type!=="block-scalar-header")throw new Error("Invalid block scalar header");v=b.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:v="PLAIN"}const y=n.stringifyString({type:v,value:s},{implicitKey:f||g===null,indent:g!==null&&g>0?" ".repeat(g):"",inFlow:h,options:{blockQuote:!0,lineWidth:-1}});switch(y[0]){case"|":case">":l(a,y);break;case'"':p(a,y,"double-quoted-scalar");break;case"'":p(a,y,"single-quoted-scalar");break;default:p(a,y,"scalar")}}function l(a,s){const u=s.indexOf(`
150
- `),m=s.substring(0,u),f=s.substring(u+1)+`
149
+ `}),{type:"block-scalar",offset:h,indent:m,props:S,source:w}}case'"':return{type:"double-quoted-scalar",offset:h,indent:m,source:g,end:y};case"'":return{type:"single-quoted-scalar",offset:h,indent:m,source:g,end:y};default:return{type:"scalar",offset:h,indent:m,source:g,end:y}}}function s(a,o,u={}){let{afterKey:m=!1,implicitKey:f=!1,inFlow:h=!1,type:v}=u,g="indent"in a?a.indent:null;if(m&&typeof g=="number"&&(g+=2),!v)switch(a.type){case"single-quoted-scalar":v="QUOTE_SINGLE";break;case"double-quoted-scalar":v="QUOTE_DOUBLE";break;case"block-scalar":{const b=a.props[0];if(b.type!=="block-scalar-header")throw new Error("Invalid block scalar header");v=b.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:v="PLAIN"}const y=n.stringifyString({type:v,value:o},{implicitKey:f||g===null,indent:g!==null&&g>0?" ".repeat(g):"",inFlow:h,options:{blockQuote:!0,lineWidth:-1}});switch(y[0]){case"|":case">":l(a,y);break;case'"':p(a,y,"double-quoted-scalar");break;case"'":p(a,y,"single-quoted-scalar");break;default:p(a,y,"scalar")}}function l(a,o){const u=o.indexOf(`
150
+ `),m=o.substring(0,u),f=o.substring(u+1)+`
151
151
  `;if(a.type==="block-scalar"){const h=a.props[0];if(h.type!=="block-scalar-header")throw new Error("Invalid block scalar header");h.source=m,a.source=f}else{const{offset:h}=a,v="indent"in a?a.indent:-1,g=[{type:"block-scalar-header",offset:h,indent:v,source:m}];d(g,"end"in a?a.end:void 0)||g.push({type:"newline",offset:-1,indent:v,source:`
152
- `});for(const y of Object.keys(a))y!=="type"&&y!=="offset"&&delete a[y];Object.assign(a,{type:"block-scalar",indent:v,props:g,source:f})}}function d(a,s){if(s)for(const u of s)switch(u.type){case"space":case"comment":a.push(u);break;case"newline":return a.push(u),!0}return!1}function p(a,s,u){switch(a.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":a.type=u,a.source=s;break;case"block-scalar":{const m=a.props.slice(1);let f=s.length;a.props[0].type==="block-scalar-header"&&(f-=a.props[0].source.length);for(const h of m)h.offset+=f;delete a.props,Object.assign(a,{type:u,source:s,end:m});break}case"block-map":case"block-seq":{const f={type:"newline",offset:a.offset+s.length,indent:a.indent,source:`
153
- `};delete a.items,Object.assign(a,{type:u,source:s,end:[f]});break}default:{const m="indent"in a?a.indent:-1,f="end"in a&&Array.isArray(a.end)?a.end.filter(h=>h.type==="space"||h.type==="comment"||h.type==="newline"):[];for(const h of Object.keys(a))h!=="type"&&h!=="offset"&&delete a[h];Object.assign(a,{type:u,indent:m,source:s,end:f})}}}return cn.createScalarToken=c,cn.resolveAsScalar=r,cn.setScalarValue=o,cn}var Do={},Cm;function a_(){if(Cm)return Do;Cm=1;const e=n=>"type"in n?t(n):i(n);function t(n){switch(n.type){case"block-scalar":{let r="";for(const c of n.props)r+=t(c);return r+n.source}case"block-map":case"block-seq":{let r="";for(const c of n.items)r+=i(c);return r}case"flow-collection":{let r=n.start.source;for(const c of n.items)r+=i(c);for(const c of n.end)r+=c.source;return r}case"document":{let r=i(n);if(n.end)for(const c of n.end)r+=c.source;return r}default:{let r=n.source;if("end"in n&&n.end)for(const c of n.end)r+=c.source;return r}}}function i({start:n,key:r,sep:c,value:o}){let l="";for(const d of n)l+=d.source;if(r&&(l+=t(r)),c)for(const d of c)l+=d.source;return o&&(l+=t(o)),l}return Do.stringify=e,Do}var Fo={},Im;function r_(){if(Im)return Fo;Im=1;const e=Symbol("break visit"),t=Symbol("skip children"),i=Symbol("remove item");function n(c,o){"type"in c&&c.type==="document"&&(c={start:c.start,value:c.value}),r(Object.freeze([]),c,o)}n.BREAK=e,n.SKIP=t,n.REMOVE=i,n.itemAtPath=(c,o)=>{let l=c;for(const[d,p]of o){const a=l?.[d];if(a&&"items"in a)l=a.items[p];else return}return l},n.parentCollection=(c,o)=>{const l=n.itemAtPath(c,o.slice(0,-1)),d=o[o.length-1][0],p=l?.[d];if(p&&"items"in p)return p;throw new Error("Parent collection not found")};function r(c,o,l){let d=l(o,c);if(typeof d=="symbol")return d;for(const p of["key","value"]){const a=o[p];if(a&&"items"in a){for(let s=0;s<a.items.length;++s){const u=r(Object.freeze(c.concat([[p,s]])),a.items[s],l);if(typeof u=="number")s=u-1;else{if(u===e)return e;u===i&&(a.items.splice(s,1),s-=1)}}typeof d=="function"&&p==="key"&&(d=d(o,c))}}return typeof d=="function"?d(o,c):d}return Fo.visit=n,Fo}var qm;function Jc(){if(qm)return Ae;qm=1;var e=i_(),t=a_(),i=r_();const n="\uFEFF",r="",c="",o="",l=s=>!!s&&"items"in s,d=s=>!!s&&(s.type==="scalar"||s.type==="single-quoted-scalar"||s.type==="double-quoted-scalar"||s.type==="block-scalar");function p(s){switch(s){case n:return"<BOM>";case r:return"<DOC>";case c:return"<FLOW_END>";case o:return"<SCALAR>";default:return JSON.stringify(s)}}function a(s){switch(s){case n:return"byte-order-mark";case r:return"doc-mode";case c:return"flow-error-end";case o:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
152
+ `});for(const y of Object.keys(a))y!=="type"&&y!=="offset"&&delete a[y];Object.assign(a,{type:"block-scalar",indent:v,props:g,source:f})}}function d(a,o){if(o)for(const u of o)switch(u.type){case"space":case"comment":a.push(u);break;case"newline":return a.push(u),!0}return!1}function p(a,o,u){switch(a.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":a.type=u,a.source=o;break;case"block-scalar":{const m=a.props.slice(1);let f=o.length;a.props[0].type==="block-scalar-header"&&(f-=a.props[0].source.length);for(const h of m)h.offset+=f;delete a.props,Object.assign(a,{type:u,source:o,end:m});break}case"block-map":case"block-seq":{const f={type:"newline",offset:a.offset+o.length,indent:a.indent,source:`
153
+ `};delete a.items,Object.assign(a,{type:u,source:o,end:[f]});break}default:{const m="indent"in a?a.indent:-1,f="end"in a&&Array.isArray(a.end)?a.end.filter(h=>h.type==="space"||h.type==="comment"||h.type==="newline"):[];for(const h of Object.keys(a))h!=="type"&&h!=="offset"&&delete a[h];Object.assign(a,{type:u,indent:m,source:o,end:f})}}}return ln.createScalarToken=c,ln.resolveAsScalar=r,ln.setScalarValue=s,ln}var Ko={},Dm;function r$(){if(Dm)return Ko;Dm=1;const e=n=>"type"in n?t(n):i(n);function t(n){switch(n.type){case"block-scalar":{let r="";for(const c of n.props)r+=t(c);return r+n.source}case"block-map":case"block-seq":{let r="";for(const c of n.items)r+=i(c);return r}case"flow-collection":{let r=n.start.source;for(const c of n.items)r+=i(c);for(const c of n.end)r+=c.source;return r}case"document":{let r=i(n);if(n.end)for(const c of n.end)r+=c.source;return r}default:{let r=n.source;if("end"in n&&n.end)for(const c of n.end)r+=c.source;return r}}}function i({start:n,key:r,sep:c,value:s}){let l="";for(const d of n)l+=d.source;if(r&&(l+=t(r)),c)for(const d of c)l+=d.source;return s&&(l+=t(s)),l}return Ko.stringify=e,Ko}var Go={},Mm;function s$(){if(Mm)return Go;Mm=1;const e=Symbol("break visit"),t=Symbol("skip children"),i=Symbol("remove item");function n(c,s){"type"in c&&c.type==="document"&&(c={start:c.start,value:c.value}),r(Object.freeze([]),c,s)}n.BREAK=e,n.SKIP=t,n.REMOVE=i,n.itemAtPath=(c,s)=>{let l=c;for(const[d,p]of s){const a=l?.[d];if(a&&"items"in a)l=a.items[p];else return}return l},n.parentCollection=(c,s)=>{const l=n.itemAtPath(c,s.slice(0,-1)),d=s[s.length-1][0],p=l?.[d];if(p&&"items"in p)return p;throw new Error("Parent collection not found")};function r(c,s,l){let d=l(s,c);if(typeof d=="symbol")return d;for(const p of["key","value"]){const a=s[p];if(a&&"items"in a){for(let o=0;o<a.items.length;++o){const u=r(Object.freeze(c.concat([[p,o]])),a.items[o],l);if(typeof u=="number")o=u-1;else{if(u===e)return e;u===i&&(a.items.splice(o,1),o-=1)}}typeof d=="function"&&p==="key"&&(d=d(s,c))}}return typeof d=="function"?d(s,c):d}return Go.visit=n,Go}var Fm;function tl(){if(Fm)return Ae;Fm=1;var e=a$(),t=r$(),i=s$();const n="\uFEFF",r="",c="",s="",l=o=>!!o&&"items"in o,d=o=>!!o&&(o.type==="scalar"||o.type==="single-quoted-scalar"||o.type==="double-quoted-scalar"||o.type==="block-scalar");function p(o){switch(o){case n:return"<BOM>";case r:return"<DOC>";case c:return"<FLOW_END>";case s:return"<SCALAR>";default:return JSON.stringify(o)}}function a(o){switch(o){case n:return"byte-order-mark";case r:return"doc-mode";case c:return"flow-error-end";case s:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
154
154
  `:case`\r
155
- `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(s[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}return Ae.createScalarToken=e.createScalarToken,Ae.resolveAsScalar=e.resolveAsScalar,Ae.setScalarValue=e.setScalarValue,Ae.stringify=t.stringify,Ae.visit=i.visit,Ae.BOM=n,Ae.DOCUMENT=r,Ae.FLOW_END=c,Ae.SCALAR=o,Ae.isCollection=l,Ae.isScalar=d,Ae.prettyToken=p,Ae.tokenType=a,Ae}var Uo={},Lm;function Av(){if(Lm)return Uo;Lm=1;var e=Jc();function t(d){switch(d){case void 0:case" ":case`
155
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(o[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}return Ae.createScalarToken=e.createScalarToken,Ae.resolveAsScalar=e.resolveAsScalar,Ae.setScalarValue=e.setScalarValue,Ae.stringify=t.stringify,Ae.visit=i.visit,Ae.BOM=n,Ae.DOCUMENT=r,Ae.FLOW_END=c,Ae.SCALAR=s,Ae.isCollection=l,Ae.isScalar=d,Ae.prettyToken=p,Ae.tokenType=a,Ae}var Ho={},zm;function jv(){if(zm)return Ho;zm=1;var e=tl();function t(d){switch(d){case void 0:case" ":case`
156
156
  `:case"\r":case" ":return!0;default:return!1}}const i=new Set("0123456789ABCDEFabcdef"),n=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),r=new Set(",[]{}"),c=new Set(` ,[]{}
157
- \r `),o=d=>!d||c.has(d);class l{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(p,a=!1){if(p){if(typeof p!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+p:p,this.lineEndPos=null}this.atEnd=!a;let s=this.next??"stream";for(;s&&(a||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let p=this.pos,a=this.buffer[p];for(;a===" "||a===" ";)a=this.buffer[++p];return!a||a==="#"||a===`
157
+ \r `),s=d=>!d||c.has(d);class l{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(p,a=!1){if(p){if(typeof p!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+p:p,this.lineEndPos=null}this.atEnd=!a;let o=this.next??"stream";for(;o&&(a||this.hasChars(1));)o=yield*this.parseNext(o)}atLineEnd(){let p=this.pos,a=this.buffer[p];for(;a===" "||a===" ";)a=this.buffer[++p];return!a||a==="#"||a===`
158
158
  `?!0:a==="\r"?this.buffer[p+1]===`
159
- `:!1}charAt(p){return this.buffer[this.pos+p]}continueScalar(p){let a=this.buffer[p];if(this.indentNext>0){let s=0;for(;a===" ";)a=this.buffer[++s+p];if(a==="\r"){const u=this.buffer[s+p+1];if(u===`
160
- `||!u&&!this.atEnd)return p+s+1}return a===`
161
- `||s>=this.indentNext||!a&&!this.atEnd?p+s:-1}if(a==="-"||a==="."){const s=this.buffer.substr(p,3);if((s==="---"||s==="...")&&t(this.buffer[p+3]))return-1}return p}getLine(){let p=this.lineEndPos;return(typeof p!="number"||p!==-1&&p<this.pos)&&(p=this.buffer.indexOf(`
162
- `,this.pos),this.lineEndPos=p),p===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[p-1]==="\r"&&(p-=1),this.buffer.substring(this.pos,p))}hasChars(p){return this.pos+p<=this.buffer.length}setNext(p){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=p,null}peek(p){return this.buffer.substr(this.pos,p)}*parseNext(p){switch(p){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let p=this.getLine();if(p===null)return this.setNext("stream");if(p[0]===e.BOM&&(yield*this.pushCount(1),p=p.substring(1)),p[0]==="%"){let a=p.length,s=p.indexOf("#");for(;s!==-1;){const m=p[s-1];if(m===" "||m===" "){a=s-1;break}else s=p.indexOf("#",s+1)}for(;;){const m=p[a-1];if(m===" "||m===" ")a-=1;else break}const u=(yield*this.pushCount(a))+(yield*this.pushSpaces(!0));return yield*this.pushCount(p.length-u),this.pushNewline(),"stream"}if(this.atLineEnd()){const a=yield*this.pushSpaces(!0);return yield*this.pushCount(p.length-a),yield*this.pushNewline(),"stream"}return yield e.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const p=this.charAt(0);if(!p&&!this.atEnd)return this.setNext("line-start");if(p==="-"||p==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const a=this.peek(3);if((a==="---"||a==="...")&&t(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,a==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!t(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[p,a]=this.peek(2);if(!a&&!this.atEnd)return this.setNext("block-start");if((p==="-"||p==="?"||p===":")&&t(a)){const s=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=s,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const p=this.getLine();if(p===null)return this.setNext("doc");let a=yield*this.pushIndicators();switch(p[a]){case"#":yield*this.pushCount(p.length-a);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(o),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return a+=yield*this.parseBlockScalarHeader(),a+=yield*this.pushSpaces(!0),yield*this.pushCount(p.length-a),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let p,a,s=-1;do p=yield*this.pushNewline(),p>0?(a=yield*this.pushSpaces(!1),this.indentValue=s=a):a=0,a+=yield*this.pushSpaces(!0);while(p+a>0);const u=this.getLine();if(u===null)return this.setNext("flow");if((s!==-1&&s<this.indentNext&&u[0]!=="#"||s===0&&(u.startsWith("---")||u.startsWith("..."))&&t(u[3]))&&!(s===this.indentNext-1&&this.flowLevel===1&&(u[0]==="]"||u[0]==="}")))return this.flowLevel=0,yield e.FLOW_END,yield*this.parseLineStart();let m=0;for(;u[m]===",";)m+=yield*this.pushCount(1),m+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(m+=yield*this.pushIndicators(),u[m]){case void 0:return"flow";case"#":return yield*this.pushCount(u.length-m),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(o),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const f=this.charAt(1);if(this.flowKey||t(f)||f===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const p=this.charAt(0);let a=this.buffer.indexOf(p,this.pos+1);if(p==="'")for(;a!==-1&&this.buffer[a+1]==="'";)a=this.buffer.indexOf("'",a+2);else for(;a!==-1;){let m=0;for(;this.buffer[a-1-m]==="\\";)m+=1;if(m%2===0)break;a=this.buffer.indexOf('"',a+1)}const s=this.buffer.substring(0,a);let u=s.indexOf(`
163
- `,this.pos);if(u!==-1){for(;u!==-1;){const m=this.continueScalar(u+1);if(m===-1)break;u=s.indexOf(`
164
- `,m)}u!==-1&&(a=u-(s[u-1]==="\r"?2:1))}if(a===-1){if(!this.atEnd)return this.setNext("quoted-scalar");a=this.buffer.length}return yield*this.pushToIndex(a+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let p=this.pos;for(;;){const a=this.buffer[++p];if(a==="+")this.blockScalarKeep=!0;else if(a>"0"&&a<="9")this.blockScalarIndent=Number(a)-1;else if(a!=="-")break}return yield*this.pushUntil(a=>t(a)||a==="#")}*parseBlockScalar(){let p=this.pos-1,a=0,s;e:for(let m=this.pos;s=this.buffer[m];++m)switch(s){case" ":a+=1;break;case`
159
+ `:!1}charAt(p){return this.buffer[this.pos+p]}continueScalar(p){let a=this.buffer[p];if(this.indentNext>0){let o=0;for(;a===" ";)a=this.buffer[++o+p];if(a==="\r"){const u=this.buffer[o+p+1];if(u===`
160
+ `||!u&&!this.atEnd)return p+o+1}return a===`
161
+ `||o>=this.indentNext||!a&&!this.atEnd?p+o:-1}if(a==="-"||a==="."){const o=this.buffer.substr(p,3);if((o==="---"||o==="...")&&t(this.buffer[p+3]))return-1}return p}getLine(){let p=this.lineEndPos;return(typeof p!="number"||p!==-1&&p<this.pos)&&(p=this.buffer.indexOf(`
162
+ `,this.pos),this.lineEndPos=p),p===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[p-1]==="\r"&&(p-=1),this.buffer.substring(this.pos,p))}hasChars(p){return this.pos+p<=this.buffer.length}setNext(p){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=p,null}peek(p){return this.buffer.substr(this.pos,p)}*parseNext(p){switch(p){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let p=this.getLine();if(p===null)return this.setNext("stream");if(p[0]===e.BOM&&(yield*this.pushCount(1),p=p.substring(1)),p[0]==="%"){let a=p.length,o=p.indexOf("#");for(;o!==-1;){const m=p[o-1];if(m===" "||m===" "){a=o-1;break}else o=p.indexOf("#",o+1)}for(;;){const m=p[a-1];if(m===" "||m===" ")a-=1;else break}const u=(yield*this.pushCount(a))+(yield*this.pushSpaces(!0));return yield*this.pushCount(p.length-u),this.pushNewline(),"stream"}if(this.atLineEnd()){const a=yield*this.pushSpaces(!0);return yield*this.pushCount(p.length-a),yield*this.pushNewline(),"stream"}return yield e.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const p=this.charAt(0);if(!p&&!this.atEnd)return this.setNext("line-start");if(p==="-"||p==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const a=this.peek(3);if((a==="---"||a==="...")&&t(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,a==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!t(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[p,a]=this.peek(2);if(!a&&!this.atEnd)return this.setNext("block-start");if((p==="-"||p==="?"||p===":")&&t(a)){const o=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=o,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const p=this.getLine();if(p===null)return this.setNext("doc");let a=yield*this.pushIndicators();switch(p[a]){case"#":yield*this.pushCount(p.length-a);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(s),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return a+=yield*this.parseBlockScalarHeader(),a+=yield*this.pushSpaces(!0),yield*this.pushCount(p.length-a),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let p,a,o=-1;do p=yield*this.pushNewline(),p>0?(a=yield*this.pushSpaces(!1),this.indentValue=o=a):a=0,a+=yield*this.pushSpaces(!0);while(p+a>0);const u=this.getLine();if(u===null)return this.setNext("flow");if((o!==-1&&o<this.indentNext&&u[0]!=="#"||o===0&&(u.startsWith("---")||u.startsWith("..."))&&t(u[3]))&&!(o===this.indentNext-1&&this.flowLevel===1&&(u[0]==="]"||u[0]==="}")))return this.flowLevel=0,yield e.FLOW_END,yield*this.parseLineStart();let m=0;for(;u[m]===",";)m+=yield*this.pushCount(1),m+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(m+=yield*this.pushIndicators(),u[m]){case void 0:return"flow";case"#":return yield*this.pushCount(u.length-m),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(s),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const f=this.charAt(1);if(this.flowKey||t(f)||f===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const p=this.charAt(0);let a=this.buffer.indexOf(p,this.pos+1);if(p==="'")for(;a!==-1&&this.buffer[a+1]==="'";)a=this.buffer.indexOf("'",a+2);else for(;a!==-1;){let m=0;for(;this.buffer[a-1-m]==="\\";)m+=1;if(m%2===0)break;a=this.buffer.indexOf('"',a+1)}const o=this.buffer.substring(0,a);let u=o.indexOf(`
163
+ `,this.pos);if(u!==-1){for(;u!==-1;){const m=this.continueScalar(u+1);if(m===-1)break;u=o.indexOf(`
164
+ `,m)}u!==-1&&(a=u-(o[u-1]==="\r"?2:1))}if(a===-1){if(!this.atEnd)return this.setNext("quoted-scalar");a=this.buffer.length}return yield*this.pushToIndex(a+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let p=this.pos;for(;;){const a=this.buffer[++p];if(a==="+")this.blockScalarKeep=!0;else if(a>"0"&&a<="9")this.blockScalarIndent=Number(a)-1;else if(a!=="-")break}return yield*this.pushUntil(a=>t(a)||a==="#")}*parseBlockScalar(){let p=this.pos-1,a=0,o;e:for(let m=this.pos;o=this.buffer[m];++m)switch(o){case" ":a+=1;break;case`
165
165
  `:p=m,a=0;break;case"\r":{const f=this.buffer[m+1];if(!f&&!this.atEnd)return this.setNext("block-scalar");if(f===`
166
- `)break}default:break e}if(!s&&!this.atEnd)return this.setNext("block-scalar");if(a>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=a:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const m=this.continueScalar(p+1);if(m===-1)break;p=this.buffer.indexOf(`
167
- `,m)}while(p!==-1);if(p===-1){if(!this.atEnd)return this.setNext("block-scalar");p=this.buffer.length}}let u=p+1;for(s=this.buffer[u];s===" ";)s=this.buffer[++u];if(s===" "){for(;s===" "||s===" "||s==="\r"||s===`
168
- `;)s=this.buffer[++u];p=u-1}else if(!this.blockScalarKeep)do{let m=p-1,f=this.buffer[m];f==="\r"&&(f=this.buffer[--m]);const h=m;for(;f===" ";)f=this.buffer[--m];if(f===`
169
- `&&m>=this.pos&&m+1+a>h)p=m;else break}while(!0);return yield e.SCALAR,yield*this.pushToIndex(p+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const p=this.flowLevel>0;let a=this.pos-1,s=this.pos-1,u;for(;u=this.buffer[++s];)if(u===":"){const m=this.buffer[s+1];if(t(m)||p&&r.has(m))break;a=s}else if(t(u)){let m=this.buffer[s+1];if(u==="\r"&&(m===`
170
- `?(s+=1,u=`
171
- `,m=this.buffer[s+1]):a=s),m==="#"||p&&r.has(m))break;if(u===`
172
- `){const f=this.continueScalar(s+1);if(f===-1)break;s=Math.max(s,f-2)}}else{if(p&&r.has(u))break;a=s}return!u&&!this.atEnd?this.setNext("plain-scalar"):(yield e.SCALAR,yield*this.pushToIndex(a+1,!0),p?"flow":"doc")}*pushCount(p){return p>0?(yield this.buffer.substr(this.pos,p),this.pos+=p,p):0}*pushToIndex(p,a){const s=this.buffer.slice(this.pos,p);return s?(yield s,this.pos+=s.length,s.length):(a&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(o))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const p=this.flowLevel>0,a=this.charAt(1);if(t(a)||p&&r.has(a))return p?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let p=this.pos+2,a=this.buffer[p];for(;!t(a)&&a!==">";)a=this.buffer[++p];return yield*this.pushToIndex(a===">"?p+1:p,!1)}else{let p=this.pos+1,a=this.buffer[p];for(;a;)if(n.has(a))a=this.buffer[++p];else if(a==="%"&&i.has(this.buffer[p+1])&&i.has(this.buffer[p+2]))a=this.buffer[p+=3];else break;return yield*this.pushToIndex(p,!1)}}*pushNewline(){const p=this.buffer[this.pos];return p===`
166
+ `)break}default:break e}if(!o&&!this.atEnd)return this.setNext("block-scalar");if(a>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=a:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const m=this.continueScalar(p+1);if(m===-1)break;p=this.buffer.indexOf(`
167
+ `,m)}while(p!==-1);if(p===-1){if(!this.atEnd)return this.setNext("block-scalar");p=this.buffer.length}}let u=p+1;for(o=this.buffer[u];o===" ";)o=this.buffer[++u];if(o===" "){for(;o===" "||o===" "||o==="\r"||o===`
168
+ `;)o=this.buffer[++u];p=u-1}else if(!this.blockScalarKeep)do{let m=p-1,f=this.buffer[m];f==="\r"&&(f=this.buffer[--m]);const h=m;for(;f===" ";)f=this.buffer[--m];if(f===`
169
+ `&&m>=this.pos&&m+1+a>h)p=m;else break}while(!0);return yield e.SCALAR,yield*this.pushToIndex(p+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const p=this.flowLevel>0;let a=this.pos-1,o=this.pos-1,u;for(;u=this.buffer[++o];)if(u===":"){const m=this.buffer[o+1];if(t(m)||p&&r.has(m))break;a=o}else if(t(u)){let m=this.buffer[o+1];if(u==="\r"&&(m===`
170
+ `?(o+=1,u=`
171
+ `,m=this.buffer[o+1]):a=o),m==="#"||p&&r.has(m))break;if(u===`
172
+ `){const f=this.continueScalar(o+1);if(f===-1)break;o=Math.max(o,f-2)}}else{if(p&&r.has(u))break;a=o}return!u&&!this.atEnd?this.setNext("plain-scalar"):(yield e.SCALAR,yield*this.pushToIndex(a+1,!0),p?"flow":"doc")}*pushCount(p){return p>0?(yield this.buffer.substr(this.pos,p),this.pos+=p,p):0}*pushToIndex(p,a){const o=this.buffer.slice(this.pos,p);return o?(yield o,this.pos+=o.length,o.length):(a&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(s))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const p=this.flowLevel>0,a=this.charAt(1);if(t(a)||p&&r.has(a))return p?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let p=this.pos+2,a=this.buffer[p];for(;!t(a)&&a!==">";)a=this.buffer[++p];return yield*this.pushToIndex(a===">"?p+1:p,!1)}else{let p=this.pos+1,a=this.buffer[p];for(;a;)if(n.has(a))a=this.buffer[++p];else if(a==="%"&&i.has(this.buffer[p+1])&&i.has(this.buffer[p+2]))a=this.buffer[p+=3];else break;return yield*this.pushToIndex(p,!1)}}*pushNewline(){const p=this.buffer[this.pos];return p===`
173
173
  `?yield*this.pushCount(1):p==="\r"&&this.charAt(1)===`
174
- `?yield*this.pushCount(2):0}*pushSpaces(p){let a=this.pos-1,s;do s=this.buffer[++a];while(s===" "||p&&s===" ");const u=a-this.pos;return u>0&&(yield this.buffer.substr(this.pos,u),this.pos=a),u}*pushUntil(p){let a=this.pos,s=this.buffer[a];for(;!p(s);)s=this.buffer[++a];return yield*this.pushToIndex(a,!1)}}return Uo.Lexer=l,Uo}var zo={},Mm;function Pv(){if(Mm)return zo;Mm=1;class e{constructor(){this.lineStarts=[],this.addNewLine=i=>this.lineStarts.push(i),this.linePos=i=>{let n=0,r=this.lineStarts.length;for(;n<r;){const o=n+r>>1;this.lineStarts[o]<i?n=o+1:r=o}if(this.lineStarts[n]===i)return{line:n+1,col:1};if(n===0)return{line:0,col:i};const c=this.lineStarts[n-1];return{line:n,col:i-c+1}}}}return zo.LineCounter=e,zo}var Bo={},Dm;function Tv(){if(Dm)return Bo;Dm=1;var e=lc,t=Jc(),i=Av();function n(a,s){for(let u=0;u<a.length;++u)if(a[u].type===s)return!0;return!1}function r(a){for(let s=0;s<a.length;++s)switch(a[s].type){case"space":case"comment":case"newline":break;default:return s}return-1}function c(a){switch(a?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function o(a){switch(a.type){case"document":return a.start;case"block-map":{const s=a.items[a.items.length-1];return s.sep??s.start}case"block-seq":return a.items[a.items.length-1].start;default:return[]}}function l(a){if(a.length===0)return[];let s=a.length;e:for(;--s>=0;)switch(a[s].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;a[++s]?.type==="space";);return a.splice(s,a.length)}function d(a){if(a.start.type==="flow-seq-start")for(const s of a.items)s.sep&&!s.value&&!n(s.start,"explicit-key-ind")&&!n(s.sep,"map-value-ind")&&(s.key&&(s.value=s.key),delete s.key,c(s.value)?s.value.end?Array.prototype.push.apply(s.value.end,s.sep):s.value.end=s.sep:Array.prototype.push.apply(s.start,s.sep),delete s.sep)}class p{constructor(s){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=s}*parse(s,u=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const m of this.lexer.lex(s,u))yield*this.next(m);u||(yield*this.end())}*next(s){if(this.source=s,e.env.LOG_TOKENS&&console.log("|",t.prettyToken(s)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=s.length;return}const u=t.tokenType(s);if(u)if(u==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=u,yield*this.step(),u){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+s.length);break;case"space":this.atNewLine&&s[0]===" "&&(this.indent+=s.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=s.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=s.length}else{const m=`Not a YAML token: ${s}`;yield*this.pop({type:"error",offset:this.offset,message:m,source:s}),this.offset+=s.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const s=this.peek(1);if(this.type==="doc-end"&&(!s||s.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!s)return yield*this.stream();switch(s.type){case"document":return yield*this.document(s);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(s);case"block-scalar":return yield*this.blockScalar(s);case"block-map":return yield*this.blockMap(s);case"block-seq":return yield*this.blockSequence(s);case"flow-collection":return yield*this.flowCollection(s);case"doc-end":return yield*this.documentEnd(s)}yield*this.pop()}peek(s){return this.stack[this.stack.length-s]}*pop(s){const u=s??this.stack.pop();if(!u)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield u;else{const m=this.peek(1);switch(u.type==="block-scalar"?u.indent="indent"in m?m.indent:0:u.type==="flow-collection"&&m.type==="document"&&(u.indent=0),u.type==="flow-collection"&&d(u),m.type){case"document":m.value=u;break;case"block-scalar":m.props.push(u);break;case"block-map":{const f=m.items[m.items.length-1];if(f.value){m.items.push({start:[],key:u,sep:[]}),this.onKeyLine=!0;return}else if(f.sep)f.value=u;else{Object.assign(f,{key:u,sep:[]}),this.onKeyLine=!f.explicitKey;return}break}case"block-seq":{const f=m.items[m.items.length-1];f.value?m.items.push({start:[],value:u}):f.value=u;break}case"flow-collection":{const f=m.items[m.items.length-1];!f||f.value?m.items.push({start:[],key:u,sep:[]}):f.sep?f.value=u:Object.assign(f,{key:u,sep:[]});return}default:yield*this.pop(),yield*this.pop(u)}if((m.type==="document"||m.type==="block-map"||m.type==="block-seq")&&(u.type==="block-map"||u.type==="block-seq")){const f=u.items[u.items.length-1];f&&!f.sep&&!f.value&&f.start.length>0&&r(f.start)===-1&&(u.indent===0||f.start.every(h=>h.type!=="comment"||h.indent<u.indent))&&(m.type==="document"?m.end=f.start:m.items.push({start:f.start}),u.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const s={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&s.start.push(this.sourceToken),this.stack.push(s);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(s){if(s.value)return yield*this.lineEnd(s);switch(this.type){case"doc-start":{r(s.start)!==-1?(yield*this.pop(),yield*this.step()):s.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":s.start.push(this.sourceToken);return}const u=this.startBlockValue(s);u?this.stack.push(u):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(s){if(this.type==="map-value-ind"){const u=o(this.peek(2)),m=l(u);let f;s.end?(f=s.end,f.push(this.sourceToken),delete s.end):f=[this.sourceToken];const h={type:"block-map",offset:s.offset,indent:s.indent,items:[{start:m,key:s,sep:f}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=h}else yield*this.lineEnd(s)}*blockScalar(s){switch(this.type){case"space":case"comment":case"newline":s.props.push(this.sourceToken);return;case"scalar":if(s.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let u=this.source.indexOf(`
174
+ `?yield*this.pushCount(2):0}*pushSpaces(p){let a=this.pos-1,o;do o=this.buffer[++a];while(o===" "||p&&o===" ");const u=a-this.pos;return u>0&&(yield this.buffer.substr(this.pos,u),this.pos=a),u}*pushUntil(p){let a=this.pos,o=this.buffer[a];for(;!p(o);)o=this.buffer[++a];return yield*this.pushToIndex(a,!1)}}return Ho.Lexer=l,Ho}var Wo={},Um;function Cv(){if(Um)return Wo;Um=1;class e{constructor(){this.lineStarts=[],this.addNewLine=i=>this.lineStarts.push(i),this.linePos=i=>{let n=0,r=this.lineStarts.length;for(;n<r;){const s=n+r>>1;this.lineStarts[s]<i?n=s+1:r=s}if(this.lineStarts[n]===i)return{line:n+1,col:1};if(n===0)return{line:0,col:i};const c=this.lineStarts[n-1];return{line:n,col:i-c+1}}}}return Wo.LineCounter=e,Wo}var Yo={},Bm;function Iv(){if(Bm)return Yo;Bm=1;var e=hc,t=tl(),i=jv();function n(a,o){for(let u=0;u<a.length;++u)if(a[u].type===o)return!0;return!1}function r(a){for(let o=0;o<a.length;++o)switch(a[o].type){case"space":case"comment":case"newline":break;default:return o}return-1}function c(a){switch(a?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function s(a){switch(a.type){case"document":return a.start;case"block-map":{const o=a.items[a.items.length-1];return o.sep??o.start}case"block-seq":return a.items[a.items.length-1].start;default:return[]}}function l(a){if(a.length===0)return[];let o=a.length;e:for(;--o>=0;)switch(a[o].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;a[++o]?.type==="space";);return a.splice(o,a.length)}function d(a){if(a.start.type==="flow-seq-start")for(const o of a.items)o.sep&&!o.value&&!n(o.start,"explicit-key-ind")&&!n(o.sep,"map-value-ind")&&(o.key&&(o.value=o.key),delete o.key,c(o.value)?o.value.end?Array.prototype.push.apply(o.value.end,o.sep):o.value.end=o.sep:Array.prototype.push.apply(o.start,o.sep),delete o.sep)}class p{constructor(o){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=o}*parse(o,u=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const m of this.lexer.lex(o,u))yield*this.next(m);u||(yield*this.end())}*next(o){if(this.source=o,e.env.LOG_TOKENS&&console.log("|",t.prettyToken(o)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=o.length;return}const u=t.tokenType(o);if(u)if(u==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=u,yield*this.step(),u){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+o.length);break;case"space":this.atNewLine&&o[0]===" "&&(this.indent+=o.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=o.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=o.length}else{const m=`Not a YAML token: ${o}`;yield*this.pop({type:"error",offset:this.offset,message:m,source:o}),this.offset+=o.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const o=this.peek(1);if(this.type==="doc-end"&&(!o||o.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!o)return yield*this.stream();switch(o.type){case"document":return yield*this.document(o);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(o);case"block-scalar":return yield*this.blockScalar(o);case"block-map":return yield*this.blockMap(o);case"block-seq":return yield*this.blockSequence(o);case"flow-collection":return yield*this.flowCollection(o);case"doc-end":return yield*this.documentEnd(o)}yield*this.pop()}peek(o){return this.stack[this.stack.length-o]}*pop(o){const u=o??this.stack.pop();if(!u)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield u;else{const m=this.peek(1);switch(u.type==="block-scalar"?u.indent="indent"in m?m.indent:0:u.type==="flow-collection"&&m.type==="document"&&(u.indent=0),u.type==="flow-collection"&&d(u),m.type){case"document":m.value=u;break;case"block-scalar":m.props.push(u);break;case"block-map":{const f=m.items[m.items.length-1];if(f.value){m.items.push({start:[],key:u,sep:[]}),this.onKeyLine=!0;return}else if(f.sep)f.value=u;else{Object.assign(f,{key:u,sep:[]}),this.onKeyLine=!f.explicitKey;return}break}case"block-seq":{const f=m.items[m.items.length-1];f.value?m.items.push({start:[],value:u}):f.value=u;break}case"flow-collection":{const f=m.items[m.items.length-1];!f||f.value?m.items.push({start:[],key:u,sep:[]}):f.sep?f.value=u:Object.assign(f,{key:u,sep:[]});return}default:yield*this.pop(),yield*this.pop(u)}if((m.type==="document"||m.type==="block-map"||m.type==="block-seq")&&(u.type==="block-map"||u.type==="block-seq")){const f=u.items[u.items.length-1];f&&!f.sep&&!f.value&&f.start.length>0&&r(f.start)===-1&&(u.indent===0||f.start.every(h=>h.type!=="comment"||h.indent<u.indent))&&(m.type==="document"?m.end=f.start:m.items.push({start:f.start}),u.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const o={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&o.start.push(this.sourceToken),this.stack.push(o);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(o){if(o.value)return yield*this.lineEnd(o);switch(this.type){case"doc-start":{r(o.start)!==-1?(yield*this.pop(),yield*this.step()):o.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":o.start.push(this.sourceToken);return}const u=this.startBlockValue(o);u?this.stack.push(u):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(o){if(this.type==="map-value-ind"){const u=s(this.peek(2)),m=l(u);let f;o.end?(f=o.end,f.push(this.sourceToken),delete o.end):f=[this.sourceToken];const h={type:"block-map",offset:o.offset,indent:o.indent,items:[{start:m,key:o,sep:f}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=h}else yield*this.lineEnd(o)}*blockScalar(o){switch(this.type){case"space":case"comment":case"newline":o.props.push(this.sourceToken);return;case"scalar":if(o.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let u=this.source.indexOf(`
175
175
  `)+1;for(;u!==0;)this.onNewLine(this.offset+u),u=this.source.indexOf(`
176
- `,u)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(s){const u=s.items[s.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,u.value){const m="end"in u.value?u.value.end:void 0;(Array.isArray(m)?m[m.length-1]:void 0)?.type==="comment"?m?.push(this.sourceToken):s.items.push({start:[this.sourceToken]})}else u.sep?u.sep.push(this.sourceToken):u.start.push(this.sourceToken);return;case"space":case"comment":if(u.value)s.items.push({start:[this.sourceToken]});else if(u.sep)u.sep.push(this.sourceToken);else{if(this.atIndentedComment(u.start,s.indent)){const f=s.items[s.items.length-2]?.value?.end;if(Array.isArray(f)){Array.prototype.push.apply(f,u.start),f.push(this.sourceToken),s.items.pop();return}}u.start.push(this.sourceToken)}return}if(this.indent>=s.indent){const m=!this.onKeyLine&&this.indent===s.indent,f=m&&(u.sep||u.explicitKey)&&this.type!=="seq-item-ind";let h=[];if(f&&u.sep&&!u.value){const v=[];for(let g=0;g<u.sep.length;++g){const y=u.sep[g];switch(y.type){case"newline":v.push(g);break;case"space":break;case"comment":y.indent>s.indent&&(v.length=0);break;default:v.length=0}}v.length>=2&&(h=u.sep.splice(v[1]))}switch(this.type){case"anchor":case"tag":f||u.value?(h.push(this.sourceToken),s.items.push({start:h}),this.onKeyLine=!0):u.sep?u.sep.push(this.sourceToken):u.start.push(this.sourceToken);return;case"explicit-key-ind":!u.sep&&!u.explicitKey?(u.start.push(this.sourceToken),u.explicitKey=!0):f||u.value?(h.push(this.sourceToken),s.items.push({start:h,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(u.explicitKey)if(u.sep)if(u.value)s.items.push({start:[],key:null,sep:[this.sourceToken]});else if(n(u.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:h,key:null,sep:[this.sourceToken]}]});else if(c(u.key)&&!n(u.sep,"newline")){const v=l(u.start),g=u.key,y=u.sep;y.push(this.sourceToken),delete u.key,delete u.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:v,key:g,sep:y}]})}else h.length>0?u.sep=u.sep.concat(h,this.sourceToken):u.sep.push(this.sourceToken);else if(n(u.start,"newline"))Object.assign(u,{key:null,sep:[this.sourceToken]});else{const v=l(u.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:v,key:null,sep:[this.sourceToken]}]})}else u.sep?u.value||f?s.items.push({start:h,key:null,sep:[this.sourceToken]}):n(u.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):u.sep.push(this.sourceToken):Object.assign(u,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const v=this.flowScalar(this.type);f||u.value?(s.items.push({start:h,key:v,sep:[]}),this.onKeyLine=!0):u.sep?this.stack.push(v):(Object.assign(u,{key:v,sep:[]}),this.onKeyLine=!0);return}default:{const v=this.startBlockValue(s);if(v){if(v.type==="block-seq"){if(!u.explicitKey&&u.sep&&!n(u.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else m&&s.items.push({start:h});this.stack.push(v);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(s){const u=s.items[s.items.length-1];switch(this.type){case"newline":if(u.value){const m="end"in u.value?u.value.end:void 0;(Array.isArray(m)?m[m.length-1]:void 0)?.type==="comment"?m?.push(this.sourceToken):s.items.push({start:[this.sourceToken]})}else u.start.push(this.sourceToken);return;case"space":case"comment":if(u.value)s.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(u.start,s.indent)){const f=s.items[s.items.length-2]?.value?.end;if(Array.isArray(f)){Array.prototype.push.apply(f,u.start),f.push(this.sourceToken),s.items.pop();return}}u.start.push(this.sourceToken)}return;case"anchor":case"tag":if(u.value||this.indent<=s.indent)break;u.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==s.indent)break;u.value||n(u.start,"seq-item-ind")?s.items.push({start:[this.sourceToken]}):u.start.push(this.sourceToken);return}if(this.indent>s.indent){const m=this.startBlockValue(s);if(m){this.stack.push(m);return}}yield*this.pop(),yield*this.step()}*flowCollection(s){const u=s.items[s.items.length-1];if(this.type==="flow-error-end"){let m;do yield*this.pop(),m=this.peek(1);while(m&&m.type==="flow-collection")}else if(s.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!u||u.sep?s.items.push({start:[this.sourceToken]}):u.start.push(this.sourceToken);return;case"map-value-ind":!u||u.value?s.items.push({start:[],key:null,sep:[this.sourceToken]}):u.sep?u.sep.push(this.sourceToken):Object.assign(u,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!u||u.value?s.items.push({start:[this.sourceToken]}):u.sep?u.sep.push(this.sourceToken):u.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const f=this.flowScalar(this.type);!u||u.value?s.items.push({start:[],key:f,sep:[]}):u.sep?this.stack.push(f):Object.assign(u,{key:f,sep:[]});return}case"flow-map-end":case"flow-seq-end":s.end.push(this.sourceToken);return}const m=this.startBlockValue(s);m?this.stack.push(m):(yield*this.pop(),yield*this.step())}else{const m=this.peek(2);if(m.type==="block-map"&&(this.type==="map-value-ind"&&m.indent===s.indent||this.type==="newline"&&!m.items[m.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&m.type!=="flow-collection"){const f=o(m),h=l(f);d(s);const v=s.end.splice(1,s.end.length);v.push(this.sourceToken);const g={type:"block-map",offset:s.offset,indent:s.indent,items:[{start:h,key:s,sep:v}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=g}else yield*this.lineEnd(s)}}flowScalar(s){if(this.onNewLine){let u=this.source.indexOf(`
176
+ `,u)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(o){const u=o.items[o.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,u.value){const m="end"in u.value?u.value.end:void 0;(Array.isArray(m)?m[m.length-1]:void 0)?.type==="comment"?m?.push(this.sourceToken):o.items.push({start:[this.sourceToken]})}else u.sep?u.sep.push(this.sourceToken):u.start.push(this.sourceToken);return;case"space":case"comment":if(u.value)o.items.push({start:[this.sourceToken]});else if(u.sep)u.sep.push(this.sourceToken);else{if(this.atIndentedComment(u.start,o.indent)){const f=o.items[o.items.length-2]?.value?.end;if(Array.isArray(f)){Array.prototype.push.apply(f,u.start),f.push(this.sourceToken),o.items.pop();return}}u.start.push(this.sourceToken)}return}if(this.indent>=o.indent){const m=!this.onKeyLine&&this.indent===o.indent,f=m&&(u.sep||u.explicitKey)&&this.type!=="seq-item-ind";let h=[];if(f&&u.sep&&!u.value){const v=[];for(let g=0;g<u.sep.length;++g){const y=u.sep[g];switch(y.type){case"newline":v.push(g);break;case"space":break;case"comment":y.indent>o.indent&&(v.length=0);break;default:v.length=0}}v.length>=2&&(h=u.sep.splice(v[1]))}switch(this.type){case"anchor":case"tag":f||u.value?(h.push(this.sourceToken),o.items.push({start:h}),this.onKeyLine=!0):u.sep?u.sep.push(this.sourceToken):u.start.push(this.sourceToken);return;case"explicit-key-ind":!u.sep&&!u.explicitKey?(u.start.push(this.sourceToken),u.explicitKey=!0):f||u.value?(h.push(this.sourceToken),o.items.push({start:h,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(u.explicitKey)if(u.sep)if(u.value)o.items.push({start:[],key:null,sep:[this.sourceToken]});else if(n(u.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:h,key:null,sep:[this.sourceToken]}]});else if(c(u.key)&&!n(u.sep,"newline")){const v=l(u.start),g=u.key,y=u.sep;y.push(this.sourceToken),delete u.key,delete u.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:v,key:g,sep:y}]})}else h.length>0?u.sep=u.sep.concat(h,this.sourceToken):u.sep.push(this.sourceToken);else if(n(u.start,"newline"))Object.assign(u,{key:null,sep:[this.sourceToken]});else{const v=l(u.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:v,key:null,sep:[this.sourceToken]}]})}else u.sep?u.value||f?o.items.push({start:h,key:null,sep:[this.sourceToken]}):n(u.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):u.sep.push(this.sourceToken):Object.assign(u,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const v=this.flowScalar(this.type);f||u.value?(o.items.push({start:h,key:v,sep:[]}),this.onKeyLine=!0):u.sep?this.stack.push(v):(Object.assign(u,{key:v,sep:[]}),this.onKeyLine=!0);return}default:{const v=this.startBlockValue(o);if(v){if(v.type==="block-seq"){if(!u.explicitKey&&u.sep&&!n(u.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else m&&o.items.push({start:h});this.stack.push(v);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(o){const u=o.items[o.items.length-1];switch(this.type){case"newline":if(u.value){const m="end"in u.value?u.value.end:void 0;(Array.isArray(m)?m[m.length-1]:void 0)?.type==="comment"?m?.push(this.sourceToken):o.items.push({start:[this.sourceToken]})}else u.start.push(this.sourceToken);return;case"space":case"comment":if(u.value)o.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(u.start,o.indent)){const f=o.items[o.items.length-2]?.value?.end;if(Array.isArray(f)){Array.prototype.push.apply(f,u.start),f.push(this.sourceToken),o.items.pop();return}}u.start.push(this.sourceToken)}return;case"anchor":case"tag":if(u.value||this.indent<=o.indent)break;u.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==o.indent)break;u.value||n(u.start,"seq-item-ind")?o.items.push({start:[this.sourceToken]}):u.start.push(this.sourceToken);return}if(this.indent>o.indent){const m=this.startBlockValue(o);if(m){this.stack.push(m);return}}yield*this.pop(),yield*this.step()}*flowCollection(o){const u=o.items[o.items.length-1];if(this.type==="flow-error-end"){let m;do yield*this.pop(),m=this.peek(1);while(m&&m.type==="flow-collection")}else if(o.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!u||u.sep?o.items.push({start:[this.sourceToken]}):u.start.push(this.sourceToken);return;case"map-value-ind":!u||u.value?o.items.push({start:[],key:null,sep:[this.sourceToken]}):u.sep?u.sep.push(this.sourceToken):Object.assign(u,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!u||u.value?o.items.push({start:[this.sourceToken]}):u.sep?u.sep.push(this.sourceToken):u.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const f=this.flowScalar(this.type);!u||u.value?o.items.push({start:[],key:f,sep:[]}):u.sep?this.stack.push(f):Object.assign(u,{key:f,sep:[]});return}case"flow-map-end":case"flow-seq-end":o.end.push(this.sourceToken);return}const m=this.startBlockValue(o);m?this.stack.push(m):(yield*this.pop(),yield*this.step())}else{const m=this.peek(2);if(m.type==="block-map"&&(this.type==="map-value-ind"&&m.indent===o.indent||this.type==="newline"&&!m.items[m.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&m.type!=="flow-collection"){const f=s(m),h=l(f);d(o);const v=o.end.splice(1,o.end.length);v.push(this.sourceToken);const g={type:"block-map",offset:o.offset,indent:o.indent,items:[{start:h,key:o,sep:v}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=g}else yield*this.lineEnd(o)}}flowScalar(o){if(this.onNewLine){let u=this.source.indexOf(`
177
177
  `)+1;for(;u!==0;)this.onNewLine(this.offset+u),u=this.source.indexOf(`
178
- `,u)+1}return{type:s,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(s){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const u=o(s),m=l(u);return m.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:m,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const u=o(s),m=l(u);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:m,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(s,u){return this.type!=="comment"||this.indent<=u?!1:s.every(m=>m.type==="newline"||m.type==="space")}*documentEnd(s){this.type!=="doc-mode"&&(s.end?s.end.push(this.sourceToken):s.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(s){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:s.end?s.end.push(this.sourceToken):s.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}return Bo.Parser=p,Bo}var jt={},Fm;function s_(){if(Fm)return jt;Fm=1;var e=Rv(),t=Oa(),i=Na(),n=lv(),r=oe(),c=Pv(),o=Tv();function l(u){const m=u.prettyErrors!==!1;return{lineCounter:u.lineCounter||m&&new c.LineCounter||null,prettyErrors:m}}function d(u,m={}){const{lineCounter:f,prettyErrors:h}=l(m),v=new o.Parser(f?.addNewLine),g=new e.Composer(m),y=Array.from(g.compose(v.parse(u)));if(h&&f)for(const b of y)b.errors.forEach(i.prettifyError(u,f)),b.warnings.forEach(i.prettifyError(u,f));return y.length>0?y:Object.assign([],{empty:!0},g.streamInfo())}function p(u,m={}){const{lineCounter:f,prettyErrors:h}=l(m),v=new o.Parser(f?.addNewLine),g=new e.Composer(m);let y=null;for(const b of g.compose(v.parse(u),!0,u.length))if(!y)y=b;else if(y.options.logLevel!=="silent"){y.errors.push(new i.YAMLParseError(b.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return h&&f&&(y.errors.forEach(i.prettifyError(u,f)),y.warnings.forEach(i.prettifyError(u,f))),y}function a(u,m,f){let h;typeof m=="function"?h=m:f===void 0&&m&&typeof m=="object"&&(f=m);const v=p(u,f);if(!v)return null;if(v.warnings.forEach(g=>n.warn(v.options.logLevel,g)),v.errors.length>0){if(v.options.logLevel!=="silent")throw v.errors[0];v.errors=[]}return v.toJS(Object.assign({reviver:h},f))}function s(u,m,f){let h=null;if(typeof m=="function"||Array.isArray(m)?h=m:f===void 0&&m&&(f=m),typeof f=="string"&&(f=f.length),typeof f=="number"){const v=Math.round(f);f=v<1?void 0:v>8?{indent:8}:{indent:v}}if(u===void 0){const{keepUndefined:v}=f??m??{};if(!v)return}return r.isDocument(u)&&!h?u.toString(f):new t.Document(u,h,f).toString(f)}return jt.parse=a,jt.parseAllDocuments=d,jt.parseDocument=p,jt.stringify=s,jt}var Um;function o_(){if(Um)return ce;Um=1;var e=Rv(),t=Oa(),i=wv(),n=Na(),r=Ea(),c=oe(),o=bt(),l=ye(),d=xt(),p=wt(),a=Jc(),s=Av(),u=Pv(),m=Tv(),f=s_(),h=_a();return ce.Composer=e.Composer,ce.Document=t.Document,ce.Schema=i.Schema,ce.YAMLError=n.YAMLError,ce.YAMLParseError=n.YAMLParseError,ce.YAMLWarning=n.YAMLWarning,ce.Alias=r.Alias,ce.isAlias=c.isAlias,ce.isCollection=c.isCollection,ce.isDocument=c.isDocument,ce.isMap=c.isMap,ce.isNode=c.isNode,ce.isPair=c.isPair,ce.isScalar=c.isScalar,ce.isSeq=c.isSeq,ce.Pair=o.Pair,ce.Scalar=l.Scalar,ce.YAMLMap=d.YAMLMap,ce.YAMLSeq=p.YAMLSeq,ce.CST=a,ce.Lexer=s.Lexer,ce.LineCounter=u.LineCounter,ce.Parser=m.Parser,ce.parse=f.parse,ce.parseAllDocuments=f.parseAllDocuments,ce.parseDocument=f.parseDocument,ce.stringify=f.stringify,ce.visit=h.visit,ce.visitAsync=h.visitAsync,ce}var Ov=o_();class Nv{readPage(t){const i=t.split(`
178
+ `,u)+1}return{type:o,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(o){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const u=s(o),m=l(u);return m.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:m,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const u=s(o),m=l(u);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:m,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(o,u){return this.type!=="comment"||this.indent<=u?!1:o.every(m=>m.type==="newline"||m.type==="space")}*documentEnd(o){this.type!=="doc-mode"&&(o.end?o.end.push(this.sourceToken):o.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(o){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:o.end?o.end.push(this.sourceToken):o.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}return Yo.Parser=p,Yo}var It={},Vm;function o$(){if(Vm)return It;Vm=1;var e=Nv(),t=Ca(),i=Ia(),n=mv(),r=oe(),c=Cv(),s=Iv();function l(u){const m=u.prettyErrors!==!1;return{lineCounter:u.lineCounter||m&&new c.LineCounter||null,prettyErrors:m}}function d(u,m={}){const{lineCounter:f,prettyErrors:h}=l(m),v=new s.Parser(f?.addNewLine),g=new e.Composer(m),y=Array.from(g.compose(v.parse(u)));if(h&&f)for(const b of y)b.errors.forEach(i.prettifyError(u,f)),b.warnings.forEach(i.prettifyError(u,f));return y.length>0?y:Object.assign([],{empty:!0},g.streamInfo())}function p(u,m={}){const{lineCounter:f,prettyErrors:h}=l(m),v=new s.Parser(f?.addNewLine),g=new e.Composer(m);let y=null;for(const b of g.compose(v.parse(u),!0,u.length))if(!y)y=b;else if(y.options.logLevel!=="silent"){y.errors.push(new i.YAMLParseError(b.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return h&&f&&(y.errors.forEach(i.prettifyError(u,f)),y.warnings.forEach(i.prettifyError(u,f))),y}function a(u,m,f){let h;typeof m=="function"?h=m:f===void 0&&m&&typeof m=="object"&&(f=m);const v=p(u,f);if(!v)return null;if(v.warnings.forEach(g=>n.warn(v.options.logLevel,g)),v.errors.length>0){if(v.options.logLevel!=="silent")throw v.errors[0];v.errors=[]}return v.toJS(Object.assign({reviver:h},f))}function o(u,m,f){let h=null;if(typeof m=="function"||Array.isArray(m)?h=m:f===void 0&&m&&(f=m),typeof f=="string"&&(f=f.length),typeof f=="number"){const v=Math.round(f);f=v<1?void 0:v>8?{indent:8}:{indent:v}}if(u===void 0){const{keepUndefined:v}=f??m??{};if(!v)return}return r.isDocument(u)&&!h?u.toString(f):new t.Document(u,h,f).toString(f)}return It.parse=a,It.parseAllDocuments=d,It.parseDocument=p,It.stringify=o,It}var Km;function c$(){if(Km)return ce;Km=1;var e=Nv(),t=Ca(),i=kv(),n=Ia(),r=Aa(),c=oe(),s=St(),l=ye(),d=_t(),p=$t(),a=tl(),o=jv(),u=Cv(),m=Iv(),f=o$(),h=Ra();return ce.Composer=e.Composer,ce.Document=t.Document,ce.Schema=i.Schema,ce.YAMLError=n.YAMLError,ce.YAMLParseError=n.YAMLParseError,ce.YAMLWarning=n.YAMLWarning,ce.Alias=r.Alias,ce.isAlias=c.isAlias,ce.isCollection=c.isCollection,ce.isDocument=c.isDocument,ce.isMap=c.isMap,ce.isNode=c.isNode,ce.isPair=c.isPair,ce.isScalar=c.isScalar,ce.isSeq=c.isSeq,ce.Pair=s.Pair,ce.Scalar=l.Scalar,ce.YAMLMap=d.YAMLMap,ce.YAMLSeq=p.YAMLSeq,ce.CST=a,ce.Lexer=o.Lexer,ce.LineCounter=u.LineCounter,ce.Parser=m.Parser,ce.parse=f.parse,ce.parseAllDocuments=f.parseAllDocuments,ce.parseDocument=f.parseDocument,ce.stringify=f.stringify,ce.visit=h.visit,ce.visitAsync=h.visitAsync,ce}var qv=c$();class Lv{readPage(t){const i=t.split(`
179
179
  `);if(i[0]=="---"){i.shift();const n=i.findIndex(r=>r=="---");if(n>=0){const r=i.slice(0,n).join(`
180
- `);return{...Ov.parse(r),content:i.slice(n+1).join(`
181
- `)}}else return{content:t}}else return{content:t}}}class c_{writePage(t){const{content:i,...n}=t;return n&&Object.keys(n).length>0?`---
182
- ${Ov.stringify(n)}---
183
- ${i??""}`:i??""}}const jv={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(jv);const Cv={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(Cv);var Ie=function(e,t,i,n){if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?n:i==="a"?n.call(e):n?n.value:t.get(e)},Ct,ln,pt;class l_{constructor(...t){Ct.set(this,new Map),ln.set(this,new Map),pt.set(this,new Map);for(const i of t)this.define(i)}define(t,i=!1){for(let[n,r]of Object.entries(t)){n=n.toLowerCase(),r=r.map(l=>l.toLowerCase()),Ie(this,pt,"f").has(n)||Ie(this,pt,"f").set(n,new Set);const c=Ie(this,pt,"f").get(n);let o=!0;for(let l of r){const d=l.startsWith("*");if(l=d?l.slice(1):l,c?.add(l),o&&Ie(this,ln,"f").set(n,l),o=!1,d)continue;const p=Ie(this,Ct,"f").get(l);if(p&&p!=n&&!i)throw new Error(`"${n} -> ${l}" conflicts with "${p} -> ${l}". Pass \`force=true\` to override this definition.`);Ie(this,Ct,"f").set(l,n)}}return this}getType(t){if(typeof t!="string")return null;const i=t.replace(/^.*[/\\]/s,"").toLowerCase(),n=i.replace(/^.*\./s,"").toLowerCase(),r=i.length<t.length;return!(n.length<i.length-1)&&r?null:Ie(this,Ct,"f").get(n)??null}getExtension(t){return typeof t!="string"?null:(t=t?.split?.(";")[0],(t&&Ie(this,ln,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){return typeof t!="string"?null:Ie(this,pt,"f").get(t.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const t of Ie(this,pt,"f").values())Object.freeze(t);return this}_getTestState(){return{types:Ie(this,Ct,"f"),extensions:Ie(this,ln,"f")}}}Ct=new WeakMap,ln=new WeakMap,pt=new WeakMap;const Iv=new l_(Cv,jv)._freeze(),u_=".cristal",p_=Z.join(X.app.getPath("home"),u_);function Me(){return iw()??p_}function st(e,...t){return Z.join(Me(),e,...t)}function d_(e){return st(`${e}.md`)}function f_(e){const t=e.split("/");return t.length==1?`.${e}`:`${t.slice(0,t.length-1).join("/")}/.${t[t.length-1]}`}function ra(e){return st(f_(e))}function qv(e){return Z.join(ra(e),"attachments")}function m_(e,t){return Z.join(qv(e),t)}async function ot(e){let t;try{t=await te.promises.lstat(e)}catch(i){console.debug(i)}return t?.isFile()}function h_(e,t){const i=Iv.getType(e);if(!i)return!1;const[n,r]=i.split("/"),[c,o]=t.split("/");return(c=="*"||c==n)&&(o=="*"||o==r)}async function Vo(e,t){if(!await ot(e))return!1;const i=Z.basename(Z.dirname(e))=="attachments";return i&&t?h_(e,t):i}async function Fi(e){if(!await ot(e))return!1;const t=Me(),i=Z.relative(t,e),n=Z.dirname(i),r=Z.dirname(n),c=Z.basename(n),o=Z.basename(r);return c!="attachments"&&(!o.startsWith(".")||c==="."||o===".")}async function St(e){let t;try{t=await te.promises.lstat(e)}catch(i){console.debug(i)}return t?.isDirectory()}async function v_(e){return(await te.promises.readdir(e)).length==0}async function Lv(e){try{await te.promises.lstat(e)}catch{return!1}return!0}async function Xc(e){const t=Me();if(!await Vt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await ot(e)){const i=await te.promises.readFile(e),n=await te.promises.stat(e),r=i.toString("utf8"),c=new Nv().readPage(r),o=Z.relative(t,e).replace(/.md$/,"");return{type:zc.DOCUMENT,value:{...c,source:c.content,syntax:"markdown/1.2",lastAuthor:{name:dn.userInfo().username},lastModificationDate:new Date(n.mtimeMs),id:o,canEdit:!0}}}else return}async function g_(e){const t=Me();if(!await Vt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await St(e)){const i=await te.promises.readdir(e);return(await Promise.all(i.map(n=>Qc(Z.join(e,n))))).filter(n=>n!==void 0).map(n=>n.value)}else return}async function Qc(e){const t=Me();if(!await Vt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await ot(e)){const i=await te.promises.stat(e),n=Iv.getType(e)??"",r=Z.dirname(Z.dirname(e)),c=Z.basename(r),o=Z.dirname(r),l=Z.basename(e);return{type:zc.ATTACHMENT,value:{id:l,mimetype:n,reference:Z.relative(t,Z.join(o,c,"attachments",l)),href:`${sc}://${Z.relative(t,Z.join(o,c,"attachments",l))}`,date:i.mtime,size:i.size,author:void 0}}}else return}async function Vt(e,t){const i=Z.relative(e,t);return!i.startsWith("../")&&i!==".."}async function Mv(e,t,i){const n=Me();if(!await Vt(n,e))throw new Error(`[${e}] is not in in [${n}]`);let r;if(await Lv(e)&&await ot(e)){const l=await te.promises.readFile(e),d=new TextDecoder("utf-8");r=new Nv().readPage(d.decode(l)),r.content=t,r.name=i}else r={name:i,content:t};const c=new c_().writePage(r),o=Z.dirname(e);return await te.promises.mkdir(o,{recursive:!0}),await te.promises.writeFile(e,c,{flag:"w+"}),(await Xc(e))?.value}async function y_(e,t){const i=Me();if(!await Vt(i,e))throw new Error(`[${e}] is not in in [${i}]`);const n=Z.dirname(e);await te.promises.mkdir(n,{recursive:!0}),await te.promises.copyFile(t,e)}function b_(e){return e.includes(".")?e.slice(0,e.lastIndexOf(".")):e}async function x_(e,t){const i=await te.promises.readdir(e);for(const n of i){if(n.startsWith("."))continue;const r=Z.join(e,n);await ot(r)?t.add(b_(n)):await St(r)&&t.add(n)}}async function w_(e){const t=st(e),i=new Set;return await St(t)&&await x_(t,i),Array.from(i)}async function S_(e){const t=[],i=`${st(e)}.md`;await ot(i)&&t.push(X.shell.trashItem(i));const n=ra(e);await St(n)&&t.push(X.shell.trashItem(n)),await Promise.all(t)}async function zm(e,t){const i=await Promise.all(e.map(t));return e.filter((n,r)=>i[r])}async function $_(e,t,i){const n=Me(),r=(await Hv.readdir(n,{recursive:!0})).map(l=>Z.join(n,l)),c=await zm(r,async l=>t==rc.ATTACHMENT?Vo(l,i):t==rc.PAGE?Fi(l):await Vo(l,i)||await Fi(l)),o=await zm(c,async l=>await Vo(l)?Z.basename(l).includes(e):await Fi(l)?Z.basename(Z.dirname(l)).includes(e):!1);return(await Promise.all(o.map(async l=>await Fi(l)?Xc(l):Qc(l)))).filter(l=>l!==void 0)}async function __(){await Mv(Z.join(Me(),"index.md"),`# Welcome
180
+ `);return{...qv.parse(r),content:i.slice(n+1).join(`
181
+ `)}}else return{content:t}}else return{content:t}}}class l${writePage(t){const{content:i,...n}=t;return n&&Object.keys(n).length>0?`---
182
+ ${qv.stringify(n)}---
183
+ ${i??""}`:i??""}}const Dv={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(Dv);const Mv={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(Mv);var Ie=function(e,t,i,n){if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?n:i==="a"?n.call(e):n?n.value:t.get(e)},qt,un,mt;class u${constructor(...t){qt.set(this,new Map),un.set(this,new Map),mt.set(this,new Map);for(const i of t)this.define(i)}define(t,i=!1){for(let[n,r]of Object.entries(t)){n=n.toLowerCase(),r=r.map(l=>l.toLowerCase()),Ie(this,mt,"f").has(n)||Ie(this,mt,"f").set(n,new Set);const c=Ie(this,mt,"f").get(n);let s=!0;for(let l of r){const d=l.startsWith("*");if(l=d?l.slice(1):l,c?.add(l),s&&Ie(this,un,"f").set(n,l),s=!1,d)continue;const p=Ie(this,qt,"f").get(l);if(p&&p!=n&&!i)throw new Error(`"${n} -> ${l}" conflicts with "${p} -> ${l}". Pass \`force=true\` to override this definition.`);Ie(this,qt,"f").set(l,n)}}return this}getType(t){if(typeof t!="string")return null;const i=t.replace(/^.*[/\\]/s,"").toLowerCase(),n=i.replace(/^.*\./s,"").toLowerCase(),r=i.length<t.length;return!(n.length<i.length-1)&&r?null:Ie(this,qt,"f").get(n)??null}getExtension(t){return typeof t!="string"?null:(t=t?.split?.(";")[0],(t&&Ie(this,un,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){return typeof t!="string"?null:Ie(this,mt,"f").get(t.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const t of Ie(this,mt,"f").values())Object.freeze(t);return this}_getTestState(){return{types:Ie(this,qt,"f"),extensions:Ie(this,un,"f")}}}qt=new WeakMap,un=new WeakMap,mt=new WeakMap;const Fv=new u$(Mv,Dv)._freeze(),p$=".cristal",d$=Q.join(X.app.getPath("home"),p$);function De(){return iw()??d$}function ct(e,...t){return Q.join(De(),e,...t)}function f$(e){return ct(`${e}.md`)}function m$(e){const t=e.split("/");return t.length==1?`.${e}`:`${t.slice(0,t.length-1).join("/")}/.${t[t.length-1]}`}function ca(e){return ct(m$(e))}function zv(e){return Q.join(ca(e),"attachments")}function h$(e,t){return Q.join(zv(e),t)}async function lt(e){let t;try{t=await ee.promises.lstat(e)}catch(i){console.debug(i)}return t?.isFile()}function v$(e,t){const i=Fv.getType(e);if(!i)return!1;const[n,r]=i.split("/"),[c,s]=t.split("/");return(c=="*"||c==n)&&(s=="*"||s==r)}async function Jo(e,t){if(!await lt(e))return!1;const i=Q.basename(Q.dirname(e))=="attachments";return i&&t?v$(e,t):i}async function Vi(e){if(!await lt(e))return!1;const t=De(),i=Q.relative(t,e),n=Q.dirname(i),r=Q.dirname(n),c=Q.basename(n),s=Q.basename(r);return c!="attachments"&&(!s.startsWith(".")||c==="."||s===".")}async function Et(e){let t;try{t=await ee.promises.lstat(e)}catch(i){console.debug(i)}return t?.isDirectory()}async function g$(e){return(await ee.promises.readdir(e)).length==0}async function Uv(e){try{await ee.promises.lstat(e)}catch{return!1}return!0}async function nl(e){const t=De();if(!await Gt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await lt(e)){const i=await ee.promises.readFile(e),n=await ee.promises.stat(e),r=i.toString("utf8"),c=new Lv().readPage(r),s=Q.relative(t,e).replace(/.md$/,"");return{type:Hc.DOCUMENT,value:{...c,source:c.content,syntax:"markdown/1.2",lastAuthor:{name:fn.userInfo().username},lastModificationDate:new Date(n.mtimeMs),id:s,canEdit:!0}}}else return}async function y$(e){const t=De();if(!await Gt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await Et(e)){const i=await ee.promises.readdir(e);return(await Promise.all(i.map(n=>il(Q.join(e,n))))).filter(n=>n!==void 0).map(n=>n.value)}else return}async function il(e){const t=De();if(!await Gt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await lt(e)){const i=await ee.promises.stat(e),n=Fv.getType(e)??"",r=Q.dirname(Q.dirname(e)),c=Q.basename(r),s=Q.dirname(r),l=Q.basename(e);return{type:Hc.ATTACHMENT,value:{id:l,mimetype:n,reference:Q.relative(t,Q.join(s,c,"attachments",l)),href:`${dc}://${Q.relative(t,Q.join(s,c,"attachments",l))}`,date:i.mtime,size:i.size,author:void 0}}}else return}async function Gt(e,t){const i=Q.relative(e,t);return!i.startsWith("../")&&i!==".."}async function Bv(e,t,i){const n=De();if(!await Gt(n,e))throw new Error(`[${e}] is not in in [${n}]`);let r;if(await Uv(e)&&await lt(e)){const l=await ee.promises.readFile(e),d=new TextDecoder("utf-8");r=new Lv().readPage(d.decode(l)),r.content=t,r.name=i}else r={name:i,content:t};const c=new l$().writePage(r),s=Q.dirname(e);return await ee.promises.mkdir(s,{recursive:!0}),await ee.promises.writeFile(e,c,{flag:"w+"}),(await nl(e))?.value}async function b$(e,t){const i=De();if(!await Gt(i,e))throw new Error(`[${e}] is not in in [${i}]`);const n=Q.dirname(e);await ee.promises.mkdir(n,{recursive:!0}),await ee.promises.copyFile(t,e)}function x$(e){return e.includes(".")?e.slice(0,e.lastIndexOf(".")):e}async function w$(e,t){const i=await ee.promises.readdir(e);for(const n of i){if(n.startsWith("."))continue;const r=Q.join(e,n);await lt(r)?t.add(x$(n)):await Et(r)&&t.add(n)}}async function S$(e){const t=ct(e),i=new Set;return await Et(t)&&await w$(t,i),Array.from(i)}async function _$(e){const t=[],i=`${ct(e)}.md`;await lt(i)&&t.push(X.shell.trashItem(i));const n=ca(e);await Et(n)&&t.push(X.shell.trashItem(n)),await Promise.all(t)}async function Gm(e,t){const i=await Promise.all(e.map(t));return e.filter((n,r)=>i[r])}async function $$(e,t,i){const n=De(),r=(await Xv.readdir(n,{recursive:!0})).map(l=>Q.join(n,l)),c=await Gm(r,async l=>t==pc.ATTACHMENT?Jo(l,i):t==pc.PAGE?Vi(l):await Jo(l,i)||await Vi(l)),s=await Gm(c,async l=>await Jo(l)?Q.basename(l).includes(e):await Vi(l)?Q.basename(Q.dirname(l)).includes(e):!1);return(await Promise.all(s.map(async l=>await Vi(l)?nl(l):il(l)))).filter(l=>l!==void 0)}async function E$(){await Bv(Q.join(De(),"index.md"),`# Welcome
184
184
 
185
185
  This is a new **Cristal** wiki.
186
186
 
@@ -188,4 +188,4 @@ You can use it to take your *own* notes.
188
188
 
189
189
  You can also create new [pages](index/newpage).
190
190
 
191
- Enjoy!`,"")}async function E_(e,t,i){const n=`${st(e)}`,r=`${st(t)}`;await St(n)&&i.push(te.promises.rename(n,r))}async function k_(e,t,i){const n=`${st(e)}.md`,r=ra(e),c=`${st(t)}.md`,o=ra(t),l=[];await ot(n)&&l.push(te.promises.rename(n,c)),await St(r)&&l.push(te.promises.rename(r,o)),i&&await E_(e,t,l),await Promise.all(l)}async function R_(){X.ipcMain.on("initRootDirectory",async()=>{const e=Me();(!await Lv(e)||await St(e)&&await v_(e))&&await __()}),X.protocol.handle(sc,async e=>{const t=Me(),i=Z.join(t,e.url.substring(`${sc}://`.length));if(!await Vt(t,i))throw new Error(`[${i}] is not in in [${t}]`);return X.net.fetch(`file://${decodeURIComponent(i)}`)}),X.ipcMain.handle("resolvePath",(e,{page:t})=>d_(t)),X.ipcMain.handle("resolveAttachmentsPath",(e,{page:t})=>qv(t)),X.ipcMain.handle("readPage",async(e,{path:t})=>(await Xc(t))?.value),X.ipcMain.handle("readAttachments",(e,{path:t})=>g_(t)),X.ipcMain.handle("readAttachment",async(e,{path:t})=>(await Qc(t))?.value),X.ipcMain.handle("savePage",(e,{path:t,content:i,title:n})=>Mv(t,i,n)),X.ipcMain.handle("resolveAttachmentPath",(e,{page:t,filename:i})=>m_(t,i)),X.ipcMain.handle("saveAttachment",(e,{path:t,filePath:i})=>y_(t,i)),X.ipcMain.handle("listChildren",(e,{page:t})=>w_(t)),X.ipcMain.handle("deletePage",(e,{path:t})=>S_(t)),X.ipcMain.handle("search",(e,{query:t,type:i,mimetype:n})=>$_(t,i,n)),X.ipcMain.handle("movePage",(e,{reference:t,newReference:i,preserveChildren:n})=>k_(t,i,n))}const A_=X.app.requestSingleInstanceLock();A_||(X.app.quit(),process.exit(0));X.app.on("second-instance",Ko);X.app.disableHardwareAcceleration();X.app.on("window-all-closed",()=>{ve.platform!=="darwin"&&X.app.quit()});process.env.NODE_ENV!=="development"&&(console.debug=()=>{});X.app.whenReady().then(async()=>{await R_();const e=await Ko();sw(e),ZS(e,Ui),d$(e,Ui),S$(e,Ui),ew(),X.app.on("activate",()=>{X.BrowserWindow.getAllWindows().length===0&&Ko()})}).catch(e=>console.error("Failed create window:",e));X.app.whenReady().then(()=>require("electron-updater").autoUpdater.checkForUpdatesAndNotify()).catch(e=>console.error("Failed check and install updates:",e));
191
+ Enjoy!`,"")}async function k$(e,t,i){const n=`${ct(e)}`,r=`${ct(t)}`;await Et(n)&&i.push(ee.promises.rename(n,r))}async function R$(e,t,i){const n=`${ct(e)}.md`,r=ca(e),c=`${ct(t)}.md`,s=ca(t),l=[];await lt(n)&&l.push(ee.promises.rename(n,c)),await Et(r)&&l.push(ee.promises.rename(r,s)),i&&await k$(e,t,l),await Promise.all(l)}async function A$(){X.ipcMain.on("initRootDirectory",async()=>{const e=De();(!await Uv(e)||await Et(e)&&await g$(e))&&await E$()}),X.protocol.handle(dc,async e=>{const t=De(),i=Q.join(t,e.url.substring(`${dc}://`.length));if(!await Gt(t,i))throw new Error(`[${i}] is not in in [${t}]`);return X.net.fetch(`file://${decodeURIComponent(i)}`)}),X.ipcMain.handle("resolvePath",(e,{page:t})=>f$(t)),X.ipcMain.handle("resolveAttachmentsPath",(e,{page:t})=>zv(t)),X.ipcMain.handle("readPage",async(e,{path:t})=>(await nl(t))?.value),X.ipcMain.handle("readAttachments",(e,{path:t})=>y$(t)),X.ipcMain.handle("readAttachment",async(e,{path:t})=>(await il(t))?.value),X.ipcMain.handle("savePage",(e,{path:t,content:i,title:n})=>Bv(t,i,n)),X.ipcMain.handle("resolveAttachmentPath",(e,{page:t,filename:i})=>h$(t,i)),X.ipcMain.handle("saveAttachment",(e,{path:t,filePath:i})=>b$(t,i)),X.ipcMain.handle("listChildren",(e,{page:t})=>S$(t)),X.ipcMain.handle("deletePage",(e,{path:t})=>_$(t)),X.ipcMain.handle("search",(e,{query:t,type:i,mimetype:n})=>$$(t,i,n)),X.ipcMain.handle("movePage",(e,{reference:t,newReference:i,preserveChildren:n})=>R$(t,i,n))}const P$=X.app.requestSingleInstanceLock();P$||(X.app.quit(),process.exit(0));X.app.on("second-instance",Xo);X.app.disableHardwareAcceleration();X.app.on("window-all-closed",()=>{he.platform!=="darwin"&&X.app.quit()});process.env.NODE_ENV!=="development"&&(console.debug=()=>{});X.app.whenReady().then(async()=>{await A$();const e=await Xo();sw(e),e_(e,Ki),f_(e,Ki),__(e,Ki),ew(),X.app.on("activate",()=>{X.BrowserWindow.getAllWindows().length===0&&Xo()})}).catch(e=>console.error("Failed create window:",e));X.app.whenReady().then(()=>require("electron-updater").autoUpdater.checkForUpdatesAndNotify()).catch(e=>console.error("Failed check and install updates:",e));